# GlobalGrid2050 Explore Code — every file (text) Attribution: Ventus Ltd — GlobalGrid2050. Cut 2026-12-06T03:07:51+00:00. Generated deterministically from the public Ventusltd repositories by tools/explore/build.py (rules explore-agent-rules-v1); every statement is evidence-keyed and links to the exact commit and lines. Fields per file: Source (GitHub commit URL with line range), Page (Explore Code section), Synopsis, What it achieves (provenance), the four-part block, Signatures, VEDIC, domain_stage, commercial_user, canonical_status, data_contracts, Edges. Rules: https://code.globalgrid2050.com/explore-code/llms.txt (Agent Navigation Protocol) and GRAPH-CONTRACT.md. Ordered by topic, repository and path. ### Calculations - File: cable-trench-or-drill/releases/202609051921/solar-bess-topology-v7/cable-geometry-visualiser/calculations.js (JavaScript, 166 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/releases/202609051921/solar-bess-topology-v7/cable-geometry-visualiser/calculations.js#L1-L166 - Page: https://code.globalgrid2050.com/explore-code/s/0001.html#f1 - Synopsis: A JavaScript file in the cable geometry visualiser folder of Cable Trench or Drill that clamps integer (`clampInteger`), formats mm (`formatMm`) and gets burial depth computation (`getBurialDepthForComputation`), covering cables. - What it achieves (name): It clamps integer (`clampInteger`), formats mm (`formatMm`) and gets burial depth computation (`getBurialDepthForComputation`). Defines `byId`, `clampInteger`, `formatMm` and 8 more. Its code works with 33 kV. - What it does: Defines 11 functions or classes, including byId, clampInteger, formatMm, effectiveGap, getBurialDepthForComputation. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 2 files: Solar Battery Energy Storage System (BESS) Topology V7 — Cable Geometry Visualiser Page (cable-trench-or-drill); Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/). Reached from 144 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). - Signatures: `byId(id)`; `clampInteger(value, fallback, minValue)`; `formatMm(v)`; `effectiveGap(basis, spacing, od)`; `getBurialDepthForComputation()`; `normaliseBurialDepthFieldOnBlur()`; `normaliseIntegerFields()`; `getInputs()`; `getGroupGeometry(inputs)`; `computeLayout(inputs)`; `formationWidth(maxRowCount * geom.width)`; `formationDepth(rows * geom.depth)`; `buildReview(inputs, layout)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Solar Battery Energy Storage System (BESS) Topology V7 — Cable Geometry Visualiser - File: cable-trench-or-drill/releases/202609051921/solar-bess-topology-v7/cable-geometry-visualiser/data.js (JavaScript, 428 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/releases/202609051921/solar-bess-topology-v7/cable-geometry-visualiser/data.js#L1-L428 - Page: https://code.globalgrid2050.com/explore-code/s/0001.html#f2 - Synopsis: A JavaScript file in Cable Trench or Drill that works with cables, 33kV, 66kV and 110kV, using IEC 60502-2 and BS EN 60502-1. It looks up od (`lookupOD`). - What it achieves (comment): Model coefficients (single core, fitted to Utility/Manufacturer data). Its code works with 1 kV, 33 kV and 66 kV. - What it does: It calculates cables, 33kV, 66kV and 110kV. Defines lookupOD. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, 66kV, 110kV, 132kV, 20kV. - Inputs & outputs: Voltage levels named: 132kV, 110kV, 66kV, 33kV, 20kV, 15kV, 10kV, 6kV. - Downstream impact: Used directly by 2 files: Solar Battery Energy Storage System (BESS) Topology V7 — Cable Geometry Visualiser Page (cable-trench-or-drill); Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/). Reached from 144 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). - Signatures: `lookupOD(voltageKey, csaMm2, isThreeCore)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [132kV, 110kV, 66kV, 33kV, 20kV, 15kV, 10kV, 6kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Export - File: cable-trench-or-drill/releases/202609051921/solar-bess-topology-v7/cable-geometry-visualiser/export.js (JavaScript, 28 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/releases/202609051921/solar-bess-topology-v7/cable-geometry-visualiser/export.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0001.html#f3 - Synopsis: A JavaScript file in the cable geometry visualiser folder of Cable Trench or Drill that works with copy snapshot (`copySnapshot`). It exports JSON (`exportJson`) and copies snapshot (`copySnapshot`). - What it achieves (name): Defines `exportJson` and `copySnapshot`. - What it does: It draws its content. Defines exportJson, copySnapshot. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Solar Battery Energy Storage System (BESS) Topology V7 — Cable Geometry Visualiser Page (cable-trench-or-drill); Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/). Reached from 144 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). - Signatures: `exportJson()`; `base(byId("route_name").value.trim() || "geometry_capture")`; `copySnapshot()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Rendering - File: cable-trench-or-drill/releases/202609051921/solar-bess-topology-v7/cable-geometry-visualiser/rendering.js (JavaScript, 416 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/releases/202609051921/solar-bess-topology-v7/cable-geometry-visualiser/rendering.js#L1-L416 - Page: https://code.globalgrid2050.com/explore-code/s/0002.html#f1 - Synopsis: A JavaScript file in the cable geometry visualiser folder of Cable Trench or Drill that renders status (`renderStatus`) and issues (`renderIssues`) and renders stats (`renderStats`), covering cables. - What it achieves (name): It renders status (`renderStatus`), renders issues (`renderIssues`) and renders stats (`renderStats`). Defines `renderStatus`, `renderIssues`, `renderStats` and 7 more. - What it does: It draws cables. Defines 10 functions or classes, including renderStatus, renderIssues, renderStats, getServiceColours, drawGroup. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 2 files: Solar Battery Energy Storage System (BESS) Topology V7 — Cable Geometry Visualiser Page (cable-trench-or-drill); Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/). Reached from 144 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). - Signatures: `renderStatus(review)`; `renderIssues(review)`; `renderStats(layout, review, inputs)`; `getServiceColours(serviceType)`; `drawGroup(ctx, x, y, d, drawType, serviceType, scale)`; `circle(cx, cy, fill, stroke)`; `ang(2 * Math.PI * k / coreCount)`; `drawFormation(inputs, layout, review)`; `drawTrench(inputs, layout)`; `trenchX(W - trenchW)`; `drawBend(inputs, layout)`; `buildSnapshot(inputs, layout, review)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Solar Battery Energy Storage System (BESS) Topology V7 — Cable Geometry Visualiser Style Sheet - File: cable-trench-or-drill/releases/202609051921/solar-bess-topology-v7/cable-geometry-visualiser/style.css (CSS, 830 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/releases/202609051921/solar-bess-topology-v7/cable-geometry-visualiser/style.css#L1-L830 - Page: https://code.globalgrid2050.com/explore-code/s/0003.html#f1 - Synopsis: A style sheet in Cable Trench or Drill. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Solar Battery Energy Storage System (BESS) Topology V7 — Cable Geometry Visualiser Page (cable-trench-or-drill); Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/). Reached from 144 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### UI - File: cable-trench-or-drill/releases/202609051921/solar-bess-topology-v7/cable-geometry-visualiser/ui.js (JavaScript, 404 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/releases/202609051921/solar-bess-topology-v7/cable-geometry-visualiser/ui.js#L1-L404 - Page: https://code.globalgrid2050.com/explore-code/s/0004.html#f2 - Synopsis: A JavaScript file in the cable geometry visualiser folder of Cable Trench or Drill that syncs spacing inputs and burial depth note and applies lookup, covering cables. - What it achieves (name): It syncs spacing inputs (`syncSpacingInputs`), syncs burial depth note (`syncBurialDepthNote`) and applies lookup (`applyLookup`). Defines `populateFormationOptions`, `syncSpacingInputs`, `syncBurialDepthNote` and 14 more. Its code works with 33 kV, 1 kV and 132 kV. It responds to focus, click and touchend events. - What it does: It draws cables, 33kV and solar. Defines 17 functions or classes, including populateFormationOptions, syncSpacingInputs, syncBurialDepthNote, populateLookupCSA, applyLookup. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, solar, 132kV, 66kV, 1500V. - Inputs & outputs: Voltage levels named: 132kV, 66kV, 33kV, 1500V, 1000V, 1kV. - Downstream impact: Used directly by 2 files: Solar Battery Energy Storage System (BESS) Topology V7 — Cable Geometry Visualiser Page (cable-trench-or-drill); Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/). Reached from 144 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). - Signatures: `populateFormationOptions(serviceType, preferredValue)`; `syncSpacingInputs()`; `syncBurialDepthNote(force = false)`; `populateLookupCSA()`; `applyLookup()`; `armour(vk === "lv_cu_sc" || vk === "lv_al_sc")`; `updateFromLookup()`; `renderAll()`; `debounce(fn, delay)`; `handleInput(event)`; `handleChange(event)`; `handleBlur(event)`; `updateViewportMode()`; `toggleDrawingView()`; `bindNumericFieldUX()`; `sel()`; `bindEvents()`; `init()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [132kV, 66kV, 33kV, 1500V, 1000V, 1kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Solar Battery Energy Storage System (BESS) Topology V7 — Cable Geometry Visualiser Page - File: cable-trench-or-drill/releases/202609052001/solar-bess-topology-v7/cable-geometry-visualiser/index.html (HTML, 280 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/releases/202609052001/solar-bess-topology-v7/cable-geometry-visualiser/index.html#L1-L280 - Page: https://code.globalgrid2050.com/explore-code/s/0005.html#f1 - Synopsis: A web page in Cable Trench or Drill covering cables, 132kV, 33kV and solar, using BS EN 50618 and BS 7671, and uses data from UK Power Networks open data. - What it achieves (name): Its code works with 1 kV, 132 kV and 33 kV. - What it does: It draws cables, 132kV, 33kV and solar. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 132kV, 33kV, solar, 110kV, 66kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 132kV, 110kV, 66kV, 33kV, 20kV, 15kV, 10kV, 6kV. - Downstream impact: Used directly by 4 files: GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V7 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/); Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/module-layout/); Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/); Spider Maya — V1 Page (spiders, https://ventusltd.github.io/spiders/spider_maya/v1/). Reached from 137 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [132kV, 110kV, 66kV, 33kV, 20kV, 15kV, 10kV, 6kV] - Edges: uses 7 estate files (script-src 6, stylesheet 1); used by 4; mentioned by 0 ### Render Readiness - File: cable-trench-or-drill/releases/202609052001/solar-bess-topology-v7/cable-geometry-visualiser/render-readiness.js (JavaScript, 32 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/releases/202609052001/solar-bess-topology-v7/cable-geometry-visualiser/render-readiness.js#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/0005.html#f2 - Synopsis: A JavaScript file in the cable geometry visualiser folder of Cable Trench or Drill covering cables, using SHA-256. - What it achieves (comment): It is built from the publish step (`publish`), the pending step (`pending`) and the on input helper (`onInput`). Observe completed original render snapshots; never invoke or replace calculations. It responds to input, change and resize events. - What it does: Defines publish, pending, onInput, onChange, completed. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. README: "`src/cable-geometry/render-readiness.js` observes the original snapshot after the three geometry canvases are drawn." - Downstream impact: Used directly by 2 files: Solar Battery Energy Storage System (BESS) Topology V7 — Cable Geometry Visualiser Page (cable-trench-or-drill); Render Readiness Test (cable-trench-or-drill). Reached from 142 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). - Signatures: `publish(value)`; `pending()`; `onInput(event)`; `onChange(event)`; `completed()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Route Constraints - File: cable-trench-or-drill/src/route-constraints/route-constraints.js (JavaScript, 190 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/src/route-constraints/route-constraints.js#L1-L190 - Page: https://code.globalgrid2050.com/explore-code/s/0005.html#f3 - Synopsis: A JavaScript module in Cable Trench or Drill that works with sha256 hex (`sha256Hex`) and direct first pass (`directFirstPass`), covering engine pin, using SHA-256. - What it achieves (comment): It is built from the sha256 hex helper (`sha256Hex`), the load step (`load`) and the reset step (`reset`). The constraint-aware SECOND result. - What it does: Defines sha256Hex, load, reset, directFirstPass, assess. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file engine-pin.json. - Downstream impact: Used directly by 1 file: Route Constraints Test (cable-trench-or-drill). Reached from 1 other entry point, including Verify Route Constraints Workflow (cable-trench-or-drill). - Signatures: `export load({ fetchImpl = fetch, importImpl } = {})`; `export reset()`; `export directFirstPass({ straightLineKm })`; `export assess({ straightLineKm, crossings = [], corridorFactor, loaded = null })`; `sha256Hex(text)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file engine-pin.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Derive Cable - File: cable-trench-or-drill/tools/derive_cable.py (Python, 47 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/tools/derive_cable.py#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/0005.html#f4 - Synopsis: A Python command-line tool in the tools folder of Cable Trench or Drill covering cables, using SHA-256. It is built from the blob step (`blob`) and the sha step (`sha`). - What it achieves (comment): Compose one immutable Cable render-readiness release from committed original bytes. It accepts `--generation`. - What it does: Defines blob, sha, main. Uses libraries pathlib, argparse, datetime, hashlib, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. README: "`tools/derive_cable.py` composes a fresh, unique UTC-minute release from the committed baseline" - Inputs & outputs: In: command-line arguments. Out: JSON file derived-latest.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `blob(path)`; `sha(raw)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file derived-latest.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Import Original - File: cable-trench-or-drill/tools/import_original.py (Python, 83 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/tools/import_original.py#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/0005.html#f5 - Synopsis: A Python command-line tool in the tools folder of Cable Trench or Drill covering grid substations, Renewable Energy Planning Database (REPD) master, cables and solar, using SHA-256. - What it achieves (comment): It is built from the git step (`git`). Import an immutable original runtime from an explicit GlobalGrid Git revision. It accepts `--source`, `--commit` and `--generation`. - What it does: Defines git, main. Uses libraries argparse, datetime, hashlib, json, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar. - Inputs & outputs: In: GeoJSON file grid_substations.geojson; JSON file repd_master.json; command-line arguments. Out: JSON file latest.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `git(repo, *args)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_substations.geojson; JSON file repd_master.json; command-line arguments]; out [JSON file latest.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Render Readiness Test - File: cable-trench-or-drill/tools/render-readiness.test.mjs (JavaScript, 62 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/tools/render-readiness.test.mjs#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/0005.html#f6 - Synopsis: A test in the tools folder of Cable Trench or Drill that checks Render Readiness. - What it achieves (readme): It is built from the settle step (`settle`), the fixture step (`fixture`) and the target class (`Target`). The README says: `src/cable-geometry/render-readiness.js` observes the original snapshot after the three geometry canvases are drawn. - What it does: It tests its inputs. Defines settle, fixture, Target, Observer, event. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. README: "`src/cable-geometry/render-readiness.js` observes the original snapshot after the three geometry canvases are drawn." - Downstream impact: Used directly by 1 file: Verify Derived Workflow (cable-trench-or-drill). - Signatures: `settle()`; `fixture()`; `class Target`; `addEventListener(type,listener,options)`; `removeEventListener(type,listener,options)`; `class Observer`; `event(type,id)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Route Constraints Test - File: cable-trench-or-drill/tools/route-constraints.test.mjs (JavaScript, 180 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/tools/route-constraints.test.mjs#L1-L180 - Page: https://code.globalgrid2050.com/explore-code/s/0006.html#f1 - Synopsis: A test in the tools folder of Cable Trench or Drill that checks Route Constraints, using SHA-256. - What it achieves (comment): It is built from the check step (`check`), the stub engine helper (`stubEngine`) and the fetch for helper (`fetchFor`). The second result must never become the first. - What it does: It tests its inputs. Defines check, stubEngine, fetchFor. Uses libraries node:fs, node:url, node:path, node:crypto. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file engine-pin.json. - Downstream impact: Used directly by 1 file: Verify Route Constraints Workflow (cable-trench-or-drill). - Signatures: `check(n, c)`; `stubEngine({ blocked = false } = {})`; `routeEstimate({ straightLineKm, crossings, corridorFactor })`; `fetchFor({ source = STUB_SOURCE, sha = STUB_SHA, status = 200 } = {})` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file engine-pin.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Test Verify - File: cable-trench-or-drill/tools/test_verify.py (Python, 62 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/tools/test_verify.py#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/0006.html#f2 - Synopsis: A test in the tools folder of Cable Trench or Drill that uses SHA-256. It sets up (`setUp`) and is built from the original runtime class (`OriginalRuntime`). - What it achieves (name): Defines `OriginalRuntime`, `setUp`, `test_original_and_query_resource_pass` and 4 more. - What it does: It tests its inputs. Defines 7 functions or classes, including OriginalRuntime, setUp, test_original_and_query_resource_pass, test_changed_formula_bytes_fail, test_missing_dependency_fails. Uses libraries hashlib, importlib.util, tempfile, unittest, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Verify Original Workflow (cable-trench-or-drill). - Signatures: `class OriginalRuntime`; `setUp(self)`; `test_original_and_query_resource_pass(self)`; `test_changed_formula_bytes_fail(self)`; `test_missing_dependency_fails(self)`; `test_invalid_javascript_is_not_excused_by_matching_digest(self)`; `test_cross_owner_navigation_requires_explicit_pin(self)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Verify Derived - File: cable-trench-or-drill/tools/test_verify_derived.py (Python, 101 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/tools/test_verify_derived.py#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/0006.html#f3 - Synopsis: A test in the tools folder of Cable Trench or Drill that checks Verify Derived, using SHA-256. - What it achieves (name): It sets up (`setUp`) and is built from the derived release class (`DerivedRelease`) and the encode step (`encode`). Defines `DerivedRelease`, `setUp`, `git` and 16 more. It writes `latest.json`. - What it does: It tests its inputs. Defines 19 functions or classes, including DerivedRelease, setUp, git, encode, sha. Uses libraries copy, hashlib, json, subprocess, tempfile. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file latest.json; JSON file derived-latest.json. - Downstream impact: Used directly by 1 file: Verify Derived Workflow (cable-trench-or-drill). - Signatures: `class DerivedRelease`; `setUp(self)`; `git(*args)`; `encode(value)`; `sha(raw)`; `write(self, path, raw)`; `record(self, path, raw)`; `pin(self)`; `replace(self, path, raw)`; `refused(self, text)`; `test_valid_release_passes_despite_dirty_unrelated_baseline_worktree(self)`; `test_formula_change_fails_even_with_rehashed_manifest(self)`; `test_extra_entry_change_fails_even_with_rehashed_manifest(self)`; `test_cartridge_must_match_maintained_source(self)`; `test_unknown_role_traversal_duplicate_and_missing_member_fail(self)`; `test_missing_or_unpinned_sibling_fails(self)`; `test_github_repository_url_is_supported_but_other_host_is_not(self)`; `test_baseline_and_pointer_hashes_are_checked(self)`; `test_syntax_is_checked_even_when_cartridge_matches_source(self)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file latest.json; JSON file derived-latest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Verify - File: cable-trench-or-drill/tools/verify.py (Python, 127 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/tools/verify.py#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/0006.html#f4 - Synopsis: A Python command-line tool in the tools folder of Cable Trench or Drill that verifies original bytes, JavaScript syntax and local HTML dependency paths, using SHA-256. - What it achieves (name): It is built from the resources class (`Resources`), the handle endtag helper (`handle_endtag`) and the verify step (`verify`). Defines `Resources`, `handle_starttag`, `handle_data` and 2 more. It accepts `--root`, `--source` and `--expected-origin`. - What it does: Defines 7 functions or classes, including Resources, __init__, handle_starttag, handle_data, handle_endtag. Uses libraries argparse, hashlib, json, subprocess, tempfile. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file latest.json; command-line arguments. - Downstream impact: Used directly by 2 files: Verify Derived (cable-trench-or-drill); Verify Original Workflow (cable-trench-or-drill). Reached from 2 other entry points, including Verify Derived Workflow (cable-trench-or-drill); Test Verify Derived (cable-trench-or-drill). - Signatures: `class Resources`; `__init__(self)`; `handle_starttag(self, tag, attrs)`; `handle_data(self, data)`; `handle_endtag(self, tag)`; `verify(root, manifest, source=None)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file latest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Verify Derived - File: cable-trench-or-drill/tools/verify_derived.py (Python, 127 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/tools/verify_derived.py#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/0006.html#f5 - Synopsis: A Python command-line tool in the tools folder of Cable Trench or Drill that works with git bytes (`git_bytes`), covering cables, using SHA-256. - What it achieves (comment): It is built from the digest step (`digest`), the safe step (`safe`) and the verify step (`verify`). Verify an explicit Cable derived release without weakening the original baseline gate. It accepts `--root` and `--out`. - What it does: Defines digest, safe, git_bytes, verify, require. Uses libraries argparse, hashlib, json, re, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: JSON file derived-latest.json; JSON file latest.json; command-line arguments. - Downstream impact: Used directly by 2 files: Test Verify Derived (cable-trench-or-drill); Verify Derived Workflow (cable-trench-or-drill). - Signatures: `digest(raw)`; `safe(root, name)`; `git_bytes(repo, commit, path)`; `verify(repo)`; `require(ok, text)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file derived-latest.json; JSON file latest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### AC Trenches - File: energy-transition-simulator/prototype/mod/ac-trenches.js (JavaScript, 450 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/ac-trenches.js#L1-L450 - Page: https://code.globalgrid2050.com/explore-code/s/0007.html#f1 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that maps single-line diagram (SLD), cables and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It picks duct (`pickDuct`), adds plan (`addPlan`) and removes plan (`removePlan`). Ac-trenches v2: every LV AC trench at REPD 6502, drawn to scale from `mod/ac-trenches-6502.json`, for two illustrative scenarios at the same stations (author's reference design: 28 three-phase inverters per 10MVA station, 84 phase cables). Its code works with 10 MVA. - What it does: It maps SLD, cables and the REPD register. Defines 58 functions or classes, including jamBand, clearance, ductCheck, pickDuct, over. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, the REPD register. - Inputs & outputs: In: JSON file ac-trenches-6502.json; JSON file sld-layer.json. Out: interactive map; SVG drawing. Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `BASE(document.currentScript && document.currentScript.src.replace(/[^/]*$/, ''))`; `jamBand(J)`; `clearance(D, d)`; `ductCheck(D, d)`; `pickDuct(table, od)`; `over(t, key)`; `params(d, which)`; `width(pp, n, L = 1)`; `layersFor(pp, n, avail)`; `llOf(d)`; `ll(e, n)`; `caseOf(d, i, s)`; `edgesOf(d, c)`; `hull(pts)`; `cr(o, a, b)`; `evaluate(d, i, s)`; `holesOf(d, c)`; `planGeo(d, i, s)`; `fc(features)`; `addPlan(map)`; `L(spec)`; `removePlan(map)`; `clearMarks()`; `labelView()`; `onAdd(m, gl)` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file ac-trenches-6502.json; JSON file sld-layer.json]; out [interactive map; SVG drawing]; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Block Trenches - File: energy-transition-simulator/prototype/mod/engine/block-trenches.mjs (JavaScript, 161 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/block-trenches.mjs#L1-L161 - Page: https://code.globalgrid2050.com/explore-code/s/0007.html#f2 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with 33kV, transformers and cables. - What it achieves (comment): It is built from the sum step (`sum`), the stretches step (`stretches`) and the HV section helper (`hvSection`). The solar block's trenches, laid out from what each stretch of route really carries, then sized by rating (`trench-plan.mjs`). Its code works with 33 kV. - What it does: It calculates 33kV, transformers and cables. Defines 10 functions or classes, including sum, f2, stretches, hvSection, blockTrenches. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 33kV, transformers, cables. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 2 files: Cmd Trench (energy-transition-simulator); Block Build (energy-transition-simulator). - Signatures: `export stretches(iv, minM = BLOCK_TRENCH.minStretchM)`; `export hvSection(kv)`; `export blockTrenches(st, mv, E, N, odMv, env = {}, s = SD)`; `sum(a)`; `f2(x)`; `envFor(g)`; `mvaOf(id)`; `whole(r)`; `half(r)`; `toEn(w)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/block-trenches.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 1 ### Cable IEC - File: energy-transition-simulator/prototype/mod/engine/cable-iec.mjs (JavaScript, 259 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/cable-iec.mjs#L1-L259 - Page: https://code.globalgrid2050.com/explore-code/s/0008.html#f1 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables, solar and 33kV, using IEC 60287 and IEC 60287-1-1. - What it achieves (comment): It makes cable (`makeCable`) and is built from the rdc at helper (`rdcAt`) and the skin y helper (`skinY`). One buried single-core cable by the IEC 60287 thermal method: its build, losses and thermal resistances. Its code works with 33 kV, 1 kV and 1.5 kV. - What it does: It calculates cables, solar and 33kV. Defines 16 functions or classes, including makeCable, rdcAt, skinY, acResistance, dielectricLoss. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, solar, 33kV, 1.5kV, 1kV. - Inputs & outputs: Voltage levels named: 33kV, 1.5kV, 1kV. - Downstream impact: Used directly by 2 files: Cmd Trench (energy-transition-simulator); Trench Plan (energy-transition-simulator). - Signatures: `export makeCable(spec)`; `export rdcAt(cable, theta)`; `export acResistance(cable, theta, sMm, freq = 50)`; `export dielectricLoss(cable, freq = 50)`; `export screenLossFactors(cable, { R, sMm, formation = 'trefoil', bonding = 'solid', thetaS = 70, freq = 50 })`; `export internalThermal(cable)`; `export selfG(Lm, DeMm)`; `export mutualG(a, b)`; `export trefoilTouchingG(Lm, DeMm)`; `export cyclicSelfG(Lm, DeMm, mu, diffusivityM2h)`; `export airGapT4(DeMm, DbMm, W, thetaM, uvy = null, eps = 0.9)`; `export bundleDiameter(n, d)`; `export solarDayProfile({ sunrise = 6, sunset = 18, clip = 1, stepH = 0.25 } = {})`; `export lossLoadFactor(profile)`; `skinY(x2)`; `tail(beta1 * ts)`; `eddy(l0, d1, d2)`; `x(t + stepH / 2 - sunrise)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/cable-iec.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV, 1.5kV, 1kV] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Cable Rating - File: energy-transition-simulator/prototype/mod/engine/cable-rating.mjs (JavaScript, 96 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/cable-rating.mjs#L1-L96 - Page: https://code.globalgrid2050.com/explore-code/s/0008.html#f2 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables and 33kV, using IEC 60287-1-1 and IEC 60287-2-1. - What it achieves (comment): It is built from the al r20 helper (`alR20`), the cu r20 helper (`cuR20`) and the build step (`build`). Continuous current rating of a 33kV single-core aluminium XLPE cable laid direct in trefoil, by the steady-state method of IEC 60287-1-1 (losses) and IEC 60287-2-1 (thermal resistances), and the size a feeder segment needs for the load it carries. Its code works with 33 kV. - What it does: It calculates cables and 33kV. Defines 7 functions or classes, including alR20, cuR20, build, rating, impedance. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 7 files: Cmd Trench (energy-transition-simulator); Plant Feeders (energy-transition-simulator); Single-Line Diagram (SLD) Rules (energy-transition-simulator); Block Build (energy-transition-simulator); and 3 more. - Signatures: `export alR20(area)`; `export cuR20(area)`; `export build(area, p = RATING_DEFAULTS, odMm = null)`; `export rating(area, opts = {})`; `export impedance(area, opts = {})`; `export dropPercent(area, lengthM, mva, { pf = 0.95, ...opts } = {})`; `export sizeFor(mva, opts = {})`; `rdc(opts.r20OhmKm || alR20(area))`; `xs4(8 * PI * p.freq / rdc * 1e-7)`; `dMean(b.di + b.ds)` - VEDIC: PERCENT (GG2050-VEDIC-000025): Ventus Grid Engine / voltage-drop · Electrical engineering / Applied mathematics. drop_volts, nominal_volts -> drop_percent - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/cable-rating.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### Cable Route - File: energy-transition-simulator/prototype/mod/engine/cable-route.mjs (JavaScript, 209 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/cable-route.mjs#L1-L209 - Page: https://code.globalgrid2050.com/explore-code/s/0008.html#f3 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables. It routes cable (`routeCable`) and draws lines (`drawLines`). - What it achieves (comment): A buried cable laid along a plan polyline. - What it does: It calculates cables. Defines 13 functions or classes, including sub, norm, unit, turn, planSegments. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Downstream impact: Used directly by 1 file: Connect Here (energy-transition-simulator). - Signatures: `export routeCable({ points, minBendRadius = 0, depthBelowGround = 0, groundAt = () => 0, formation = 'flat', spacing = 0, step = 1, } = {})`; `sub(a, b)`; `norm(v)`; `unit(v)`; `turn(d1, d2)`; `planSegments(pts, R)`; `line(a, b)`; `at(seg, u)`; `coreOffsets(formation, spacing)`; `zAt(x, y)`; `walk(lat, vert)`; `ds(q.s - prev.s)`; `bendRadiusAt(chainage)`; `drawLines({ includeCores = true, includeCentreline = true } = {})` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/cable-route.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Cmd Grammar Trench - File: energy-transition-simulator/prototype/mod/engine/cmd-grammar-trench.mjs (JavaScript, 87 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/cmd-grammar-trench.mjs#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/0008.html#f4 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator covering cables, solar and 33kV. It parses trench (`parseTrench`) and is built from the is num helper (`isNum`). - What it achieves (comment): The trench and cable words of the command line (trench, cable, load, xray), split out of `cmd-grammar.mjs` to keep each cartridge under 400 lines. Its code works with 33 kV. - What it does: It lists and searches cables, solar and 33kV. Defines isNum, parseTrench. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, solar, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Cmd Grammar (energy-transition-simulator). - Signatures: `export parseTrench(v, rest, out, { has, after, num, put, bad, guard })`; `isNum(t)` - domain_stage: experimental · commercial_user: EPC_contractor · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/cmd-grammar-trench.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Cmd Trench - File: energy-transition-simulator/prototype/mod/engine/cmd-trench.mjs (JavaScript, 121 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/cmd-trench.mjs#L1-L121 - Page: https://code.globalgrid2050.com/explore-code/s/0009.html#f1 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables, solar and 33kV, using BS 7671 and IEC 60287. - What it achieves (comment): It rates text (`rateText`) and is built from the trench env helper (`trenchEnv`) and the env for helper (`envFor`). The command line's trench and cable words, as text. Its code works with 33 kV and 132 kV. - What it does: It calculates cables, solar and 33kV. Defines 12 functions or classes, including trenchEnv, envFor, f, pct, tight. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, solar, 33kV, 132kV. - Inputs & outputs: Voltage levels named: 132kV, 33kV. - Downstream impact: Used directly by 1 file: Cmd Model (energy-transition-simulator). - Signatures: `export trenchEnv(st)`; `export specOf(kind, size, metal, loadA)`; `export rateText({ size, metal = 'al', circuits = 1, pitchM = null, kind = 'lv' }, st)`; `export designText(st, rows = null)`; `envFor(st, kind)`; `f(v, d = 2)`; `pct(v)`; `tight(z)`; `basis(st)`; `blockPlan(st)`; `line([k, v, cls])`; `busiest(g)` - domain_stage: experimental · commercial_user: EPC_contractor · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/cmd-trench.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [132kV, 33kV] - Edges: uses 9 estate files (import 9); used by 1; mentioned by 0 ### Trench Design - File: energy-transition-simulator/prototype/mod/engine/trench-design.mjs (JavaScript, 400 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/trench-design.mjs#L1-L400 - Page: https://code.globalgrid2050.com/explore-code/s/0009.html#f2 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables, using IEC 60287-1-1 and IEC 60287-2-1. It solves gap (`solveGap`) and checks drawn (`checkDrawn`). - What it achieves (comment): A trench cross-section designed from the cables it has to carry. - What it does: It calculates cables. Defines 22 functions or classes, including cable, ductAirT, footprint, place, rowW. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Downstream impact: Used directly by 1 file: Trench Plan (energy-transition-simulator). - Signatures: `export cable(c)`; `export ductAirT(DeM, p = DEFAULTS, meanC = 60)`; `export footprint(ct)`; `export place(circuits, g)`; `export temperatures(layout, env = {})`; `export solveGap(circuits, g, env = {}, { maxGapM = 3 } = {})`; `export section(solved, circuits, env = {})`; `export designOptions({ circuits, landUse = 'farmland', env = {}, upsize = null, maxTrenches = 6, coverM = null })`; `export checkDrawn(circuits, { cover, pitchM }, env = {})`; `export pullPlan(route, ct, { ducted = true, pull = PULL } = {})`; `radial(od - dc)`; `T1(c.insulationKmW || 3.5)`; `T3(c.sheathKmW || 5.0)`; `side(g.sideClearM ?? p.sideClearMm / 1000)`; `rowW(row)`; `hMax(row)`; `cyclicSelf(self, z, De, p)`; `at(gap)`; `worstClass(circuits)`; `round(x, q)`; `r3(x)`; `add(name, cs, g, extra = {})`; `sumPerMetre(sec)`; `r1(x)`; `turn(i)` (and 1 more) - domain_stage: experimental · commercial_user: EPC_contractor · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/trench-design.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Trench Plan - File: energy-transition-simulator/prototype/mod/engine/trench-plan.mjs (JavaScript, 265 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/trench-plan.mjs#L1-L265 - Page: https://code.globalgrid2050.com/explore-code/s/0010.html#f1 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables, solar and 33kV, using IEC 60287. - What it achieves (comment): It sizes trench (`sizeTrench`), checks as drawn (`checkAsDrawn`) and turns deg (`turnDeg`). Loss-load factor by load profile: continuous (the default, conservative) or a clear solar day, unclipped. Its code works with 33 kV. - What it does: It calculates cables, solar and 33kV. Defines 14 functions or classes, including splitOf, coverOf, r2, sizeTrench, optionFor. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, solar, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 3 files: Block Trenches (energy-transition-simulator); Cmd Trench (energy-transition-simulator); Plant Feeders (energy-transition-simulator). - Signatures: `export sizeTrench(kind, n, spec, env = {})`; `export checkAsDrawn(kind, n, spec, pitchM, env = {})`; `export corridorCheck(parts, env = {})`; `export offsetPath(pts, d)`; `export planTrenches(runs, env = {}, { hops = [] } = {})`; `export planRows(plan, extra = {})`; `splitOf(split, group)`; `coverOf(e, kind)`; `r2(x)`; `optionFor(circuits, trenches, cover, tenv)`; `foot(kind === 'dc' ? spec.ductOdMm ?? 90 : 2 * (spec.odMm ?? 37.4))`; `worst(pi)`; `turnDeg(a, b, c)`; `at(pts, s)`; `pctOf(v)` - domain_stage: experimental · commercial_user: EPC_contractor · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/trench-plan.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 2 estate files (import 2); used by 3; mentioned by 1 ### Trench Measure - File: energy-transition-simulator/prototype/mod/trench-measure.js (JavaScript, 361 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/trench-measure.js#L1-L361 - Page: https://code.globalgrid2050.com/explore-code/s/0010.html#f2 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that maps trench sections, cables, 132kV and 33kV, using OSTN15. - What it achieves (comment): It adds layer (`addLayer`), measures rib (`measureRib`) and draws panel (`drawPanel`). The connect-here cable route drawn as a real trench at TRUE SCALE, below the ground, with its cables or ducts in their formation, the protection tile, and a cross-section panel (the X-ray). Its code works with 132 kV and 33 kV. It responds to keydown events. - What it does: It maps trench sections, cables, 132kV and 33kV. Defines 31 functions or classes, including ready, init, sections, WIDTH_TAG, fromSection. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, 132kV, 33kV. - Inputs & outputs: In: JSON file trench-sections.json; form fields (user input). Out: SVG drawing. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 132kV, 33kV. - Signatures: `ready()`; `init()`; `sections()`; `WIDTH_TAG(src)`; `fromSection(s)`; `od(s.duct_od_mm || s.phase_spacing_mm)`; `typed(line)`; `validate(s)`; `formation(s)`; `oc(c - (s.circuits - 1) / 2)`; `connectRoute()`; `planar(a, b)`; `groundAt(lon, lat)`; `circle(L, cx, cy, gz, nx, ny, f, r)`; `build(route, s)`; `grp(L)`; `withAnchor(m, o)`; `onAdd(m, gl)`; `sh(t, src)`; `render(gl, args)`; `addLayer()`; `vtx(b, grp, li, v)`; `measureRib(rb, s)`; `bngWidth(rb, m)`; `E(t[0].e + t[1].e)` (and 11 more) - domain_stage: experimental · commercial_user: EPC_contractor · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file trench-sections.json; form fields (user input)]; out [SVG drawing]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [132kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### AC Trenches Smoke - File: energy-transition-simulator/tests/ac-trenches-smoke.cjs (JavaScript, 150 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/tests/ac-trenches-smoke.cjs#L1-L150 - Page: https://code.globalgrid2050.com/explore-code/s/0011.html#f1 - Synopsis: A JavaScript module in the tests folder of Energy Transition Simulator that tests AC trenches fixture, cables and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It is built from the near step (`near`) and the mper step (`mper`). Smoke check for `prototype/mod/ac-trenches.js` v2, with a synthetic fixture (no network, no browser). - What it does: It tests AC trenches fixture, cables and the REPD register. Defines el, near, mper. Uses libraries fs, path, vm. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'ac'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, the REPD register. - Inputs & outputs: In: JSON file ac-trenches-6502.json; JSON file ac-trenches-fixture.json. Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `addControl()`; `el()`; `near(a, b, t)`; `mper(lat)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file ac-trenches-6502.json; JSON file ac-trenches-fixture.json]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Trench Measure - File: energy-transition-simulator/tests/trench-measure.cjs (JavaScript, 110 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/tests/trench-measure.cjs#L1-L110 - Page: https://code.globalgrid2050.com/explore-code/s/0011.html#f2 - Synopsis: A JavaScript module in the tests folder of Energy Transition Simulator that tests 132kV and 33kV. It is built from the launch step (`launch`). - What it achieves (comment): Trench-measure test: serves `prototype/` with a scratch module list (the page's own `index.json` plus trench-measure), opens `overlay.html`, runs connect-here (straight route, so no road router is called), draws the trench with the cited section. Its code works with 132 kV and 33 kV. - What it does: It tests 132kV and 33kV. Defines launch. Uses libraries http, fs, path, playwright. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'trench'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 132kV, 33kV. - Inputs & outputs: In: JSON file index.json. Out: JSON file results.json. Voltage levels named: 132kV, 33kV. - Signatures: `launch()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json]; out [JSON file results.json]; crs []; voltages [132kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Cable Cases - File: faraday/bench/cable_cases.py (Python, 71 lines) · role electrical · stage transform · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/cable_cases.py#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/0011.html#f3 - Synopsis: A Python module in the bench folder of Faraday that works with cables, using IEC 60228. - What it achieves (comment): It is built from the t withstand helper (`t_withstand`), the t run helper (`t_run`) and the t selfcheck helper (`t_selfcheck`). CABLE CHECK: the four questions every cable sizing study asks, as cases that can fail. Its code works with 17.39 kA. - What it does: It calculates cables. Defines t_withstand, t_run, t_selfcheck, registry. Uses libraries json, math. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 1 file: Tests (faraday). Reached from 1 other entry point, including One (faraday). - Signatures: `t_withstand(metal, size, seconds, fault_ka)`; `t_run(metal, size, amps, metres, kv, derate)`; `t_selfcheck()`; `registry()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Data Core - File: globalgrid2050/cable_geometry/data-core.js (JavaScript, 316 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cable_geometry/data-core.js#L1-L316 - Page: https://code.globalgrid2050.com/explore-code/s/0011.html#f4 - Published at: https://globalgrid2050.com/cable_geometry/ - Synopsis: A JavaScript file in the cable geometry folder of GlobalGrid2050 covering 11kV, 33kV, cables and 110kV, using BS 7870-4 and IEC 60840. Served with the page at https://globalgrid2050.com/cable_geometry/. - What it achieves (comment): Core reference data: burial depths, conductor labels, voltage class definitions, CSA ranges, dropdown groups, and formation library. Its code works with 11 kV, 33 kV and 1 kV. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 11kV, 33kV, cables, 110kV, 1kV. - Inputs & outputs: Voltage levels named: 110kV, 33kV, 11kV, 1kV. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Cable Geometry Page (globalgrid2050, https://globalgrid2050.com/cable_geometry/). Reached from 95 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/cable_geometry/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [110kV, 33kV, 11kV, 1kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Data LV - File: globalgrid2050/cable_geometry/data-lv.js (JavaScript, 39 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cable_geometry/data-lv.js#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0011.html#f5 - Published at: https://globalgrid2050.com/cable_geometry/ - Synopsis: A JavaScript file in the cable geometry folder of GlobalGrid2050 covering cables, using BS 5467 and BS 6724. Served with the page at https://globalgrid2050.com/cable_geometry/. - What it achieves (comment): `OD_LV` — Low Voltage Cable OD and MBR Schedule 0.6/1kV Cu XLPE — single core and 3 core Source: Generic UK LV schedule (BS 5467 / BS 6724 basis). Its code works with 1 kV. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 1kV. - Inputs & outputs: Voltage levels named: 1kV. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Cable Geometry Page (globalgrid2050, https://globalgrid2050.com/cable_geometry/). Reached from 95 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/cable_geometry/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [1kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Data MV HV - File: globalgrid2050/cable_geometry/data-mv-hv.js (JavaScript, 55 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cable_geometry/data-mv-hv.js#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/0012.html#f1 - Published at: https://globalgrid2050.com/cable_geometry/ - Synopsis: A JavaScript file in the cable geometry folder of GlobalGrid2050 covering 11kV, 33kV and 110kV, using IEC 60840. Served with the page at https://globalgrid2050.com/cable_geometry/. - What it achieves (name): Its code works with 11 kV, 110 kV and 33 kV. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 11kV, 33kV, 110kV. - Inputs & outputs: Voltage levels named: 110kV, 33kV, 11kV. - Downstream impact: Used directly by 2 files: GlobalGrid2050 — Cable Geometry Page (globalgrid2050, https://globalgrid2050.com/cable_geometry/); Testcode — Cable Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060432/cable/). Reached from 95 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/cable_geometry/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [110kV, 33kV, 11kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Data Solar - File: globalgrid2050/cable_geometry/data-solar.js (JavaScript, 65 lines) · role energy-data · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cable_geometry/data-solar.js#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/0012.html#f2 - Published at: https://globalgrid2050.com/cable_geometry/ - Synopsis: A JavaScript file in the cable geometry folder of GlobalGrid2050. Served with the page at https://globalgrid2050.com/cable_geometry/. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: GlobalGrid2050 — Cable Geometry Page (globalgrid2050, https://globalgrid2050.com/cable_geometry/); Testcode — Cable Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060432/cable/). Reached from 95 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/cable_geometry/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 — Cable Geometry Page - File: globalgrid2050/cable_geometry/index.html (HTML, 554 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cable_geometry/index.html#L1-L554 - Page: https://code.globalgrid2050.com/explore-code/s/0012.html#f3 - Published at: https://globalgrid2050.com/cable_geometry/ - Synopsis: A web page that reads inputs for route name, section length and installation condition, covering cables. Published at https://globalgrid2050.com/cable_geometry/. - What it achieves (comment): Cable Geometry Visualiser v1.6.0. Its code works with 11 kV, 110 kV and 33 kV. - What it does: It draws cables. Uses libraries app.js. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 110kV, 33kV, 11kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 110kV, 33kV, 11kV. - Downstream impact: Used directly by 12 files: Kuiper Tests (globalgrid2050); Kuiper Tests (globalgrid2050); Kuiper Tests (globalgrid2050); Kuiper Tests (globalgrid2050); and 8 more. Reached from 90 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/cable_geometry/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [110kV, 33kV, 11kV] - Edges: uses 4 estate files (script-src 4); used by 12; mentioned by 0 ### Block Trenches - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/block-trenches.mjs (JavaScript, 161 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/block-trenches.mjs#L1-L161 - Page: https://code.globalgrid2050.com/explore-code/s/0013.html#f1 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with 33kV, transformers and cables. - What it achieves (comment): It is built from the sum step (`sum`), the stretches step (`stretches`) and the HV section helper (`hvSection`). The solar block's trenches, laid out from what each stretch of route really carries, then sized by rating (`trench-plan.mjs`). Its code works with 33 kV. - What it does: It calculates 33kV, transformers and cables. Defines 10 functions or classes, including sum, f2, stretches, hvSection, blockTrenches. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV, transformers, cables. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 2 files: Cmd Trench (globalgrid2050); Block Build (globalgrid2050). - Signatures: `export stretches(iv, minM = BLOCK_TRENCH.minStretchM)`; `export hvSection(kv)`; `export blockTrenches(st, mv, E, N, odMv, env = {}, s = SD)`; `sum(a)`; `f2(x)`; `envFor(g)`; `mvaOf(id)`; `whole(r)`; `half(r)`; `toEn(w)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/block-trenches.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Cable IEC - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/cable-iec.mjs (JavaScript, 259 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/cable-iec.mjs#L1-L259 - Page: https://code.globalgrid2050.com/explore-code/s/0013.html#f2 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables, solar and 33kV, using IEC 60287 and IEC 60287-1-1. - What it achieves (comment): It makes cable (`makeCable`) and is built from the rdc at helper (`rdcAt`) and the skin y helper (`skinY`). One buried single-core cable by the IEC 60287 thermal method: its build, losses and thermal resistances. Its code works with 33 kV, 1 kV and 1.5 kV. - What it does: It calculates cables, solar and 33kV. Defines 16 functions or classes, including makeCable, rdcAt, skinY, acResistance, dielectricLoss. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, 33kV, 1.5kV, 1kV. - Inputs & outputs: Voltage levels named: 33kV, 1.5kV, 1kV. - Downstream impact: Used directly by 2 files: Cmd Trench (globalgrid2050); Trench Plan (globalgrid2050). - Signatures: `export makeCable(spec)`; `export rdcAt(cable, theta)`; `export acResistance(cable, theta, sMm, freq = 50)`; `export dielectricLoss(cable, freq = 50)`; `export screenLossFactors(cable, { R, sMm, formation = 'trefoil', bonding = 'solid', thetaS = 70, freq = 50 })`; `export internalThermal(cable)`; `export selfG(Lm, DeMm)`; `export mutualG(a, b)`; `export trefoilTouchingG(Lm, DeMm)`; `export cyclicSelfG(Lm, DeMm, mu, diffusivityM2h)`; `export airGapT4(DeMm, DbMm, W, thetaM, uvy = null, eps = 0.9)`; `export bundleDiameter(n, d)`; `export solarDayProfile({ sunrise = 6, sunset = 18, clip = 1, stepH = 0.25 } = {})`; `export lossLoadFactor(profile)`; `skinY(x2)`; `tail(beta1 * ts)`; `eddy(l0, d1, d2)`; `x(t + stepH / 2 - sunrise)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/cable-iec.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV, 1.5kV, 1kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Cable Rating - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/cable-rating.mjs (JavaScript, 96 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/cable-rating.mjs#L1-L96 - Page: https://code.globalgrid2050.com/explore-code/s/0013.html#f3 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables and 33kV, using IEC 60287-1-1 and IEC 60287-2-1. - What it achieves (comment): It is built from the al r20 helper (`alR20`), the cu r20 helper (`cuR20`) and the build step (`build`). Continuous current rating of a 33kV single-core aluminium XLPE cable laid direct in trefoil, by the steady-state method of IEC 60287-1-1 (losses) and IEC 60287-2-1 (thermal resistances), and the size a feeder segment needs for the load it carries. Its code works with 33 kV. - What it does: It calculates cables and 33kV. Defines 7 functions or classes, including alR20, cuR20, build, rating, impedance. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 7 files: Cmd Trench (globalgrid2050); Plant Feeders (globalgrid2050); Single-Line Diagram (SLD) Rules (globalgrid2050); Block Build (globalgrid2050); and 3 more. - Signatures: `export alR20(area)`; `export cuR20(area)`; `export build(area, p = RATING_DEFAULTS, odMm = null)`; `export rating(area, opts = {})`; `export impedance(area, opts = {})`; `export dropPercent(area, lengthM, mva, { pf = 0.95, ...opts } = {})`; `export sizeFor(mva, opts = {})`; `rdc(opts.r20OhmKm || alR20(area))`; `xs4(8 * PI * p.freq / rdc * 1e-7)`; `dMean(b.di + b.ds)` - VEDIC: PERCENT (GG2050-VEDIC-000025): Ventus Grid Engine / voltage-drop · Electrical engineering / Applied mathematics. drop_volts, nominal_volts -> drop_percent - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/cable-rating.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### Cable Route - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/cable-route.mjs (JavaScript, 209 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/cable-route.mjs#L1-L209 - Page: https://code.globalgrid2050.com/explore-code/s/0014.html#f1 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables. It routes cable (`routeCable`) and draws lines (`drawLines`). - What it achieves (comment): A buried cable laid along a plan polyline. - What it does: It calculates cables. Defines 13 functions or classes, including sub, norm, unit, turn, planSegments. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: cables. - Downstream impact: Used directly by 1 file: Connect Here (globalgrid2050). - Signatures: `export routeCable({ points, minBendRadius = 0, depthBelowGround = 0, groundAt = () => 0, formation = 'flat', spacing = 0, step = 1, } = {})`; `sub(a, b)`; `norm(v)`; `unit(v)`; `turn(d1, d2)`; `planSegments(pts, R)`; `line(a, b)`; `at(seg, u)`; `coreOffsets(formation, spacing)`; `zAt(x, y)`; `walk(lat, vert)`; `ds(q.s - prev.s)`; `bendRadiusAt(chainage)`; `drawLines({ includeCores = true, includeCentreline = true } = {})` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/cable-route.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Cmd Grammar Trench - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/cmd-grammar-trench.mjs (JavaScript, 87 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/cmd-grammar-trench.mjs#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/0014.html#f2 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 covering cables, solar and 33kV. It parses trench (`parseTrench`) and is built from the is num helper (`isNum`). - What it achieves (comment): The trench and cable words of the command line (trench, cable, load, xray), split out of `cmd-grammar.mjs` to keep each cartridge under 400 lines. Its code works with 33 kV. - What it does: It lists and searches cables, solar and 33kV. Defines isNum, parseTrench. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'trench'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Cmd Grammar (globalgrid2050). - Signatures: `export parseTrench(v, rest, out, { has, after, num, put, bad, guard })`; `isNum(t)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/cmd-grammar-trench.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Cmd Trench - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/cmd-trench.mjs (JavaScript, 121 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/cmd-trench.mjs#L1-L121 - Page: https://code.globalgrid2050.com/explore-code/s/0014.html#f3 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables, solar and 33kV, using BS 7671 and IEC 60287. - What it achieves (comment): It rates text (`rateText`) and is built from the trench env helper (`trenchEnv`) and the env for helper (`envFor`). The command line's trench and cable words, as text. Its code works with 33 kV and 132 kV. - What it does: It calculates cables, solar and 33kV. Defines 12 functions or classes, including trenchEnv, envFor, f, pct, tight. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'trench'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, 33kV, 132kV. - Inputs & outputs: Voltage levels named: 132kV, 33kV. - Downstream impact: Used directly by 1 file: Cmd Model (globalgrid2050). - Signatures: `export trenchEnv(st)`; `export specOf(kind, size, metal, loadA)`; `export rateText({ size, metal = 'al', circuits = 1, pitchM = null, kind = 'lv' }, st)`; `export designText(st, rows = null)`; `envFor(st, kind)`; `f(v, d = 2)`; `pct(v)`; `tight(z)`; `basis(st)`; `blockPlan(st)`; `line([k, v, cls])`; `busiest(g)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/cmd-trench.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [132kV, 33kV] - Edges: uses 9 estate files (import 9); used by 1; mentioned by 0 ### Trench Design - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/trench-design.mjs (JavaScript, 400 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/trench-design.mjs#L1-L400 - Page: https://code.globalgrid2050.com/explore-code/s/0015.html#f1 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables, using IEC 60287-1-1 and IEC 60287-2-1. It solves gap (`solveGap`) and checks drawn (`checkDrawn`). - What it achieves (comment): A trench cross-section designed from the cables it has to carry. - What it does: It calculates cables. Defines 22 functions or classes, including cable, ductAirT, footprint, place, rowW. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 1 file: Trench Plan (globalgrid2050). - Signatures: `export cable(c)`; `export ductAirT(DeM, p = DEFAULTS, meanC = 60)`; `export footprint(ct)`; `export place(circuits, g)`; `export temperatures(layout, env = {})`; `export solveGap(circuits, g, env = {}, { maxGapM = 3 } = {})`; `export section(solved, circuits, env = {})`; `export designOptions({ circuits, landUse = 'farmland', env = {}, upsize = null, maxTrenches = 6, coverM = null })`; `export checkDrawn(circuits, { cover, pitchM }, env = {})`; `export pullPlan(route, ct, { ducted = true, pull = PULL } = {})`; `radial(od - dc)`; `T1(c.insulationKmW || 3.5)`; `T3(c.sheathKmW || 5.0)`; `side(g.sideClearM ?? p.sideClearMm / 1000)`; `rowW(row)`; `hMax(row)`; `cyclicSelf(self, z, De, p)`; `at(gap)`; `worstClass(circuits)`; `round(x, q)`; `r3(x)`; `add(name, cs, g, extra = {})`; `sumPerMetre(sec)`; `r1(x)`; `turn(i)` (and 1 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/trench-design.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Trench Plan - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/trench-plan.mjs (JavaScript, 265 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/trench-plan.mjs#L1-L265 - Page: https://code.globalgrid2050.com/explore-code/s/0015.html#f2 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables, solar and 33kV, using IEC 60287. - What it achieves (comment): It sizes trench (`sizeTrench`), checks as drawn (`checkAsDrawn`) and turns deg (`turnDeg`). Loss-load factor by load profile: continuous (the default, conservative) or a clear solar day, unclipped. Its code works with 33 kV. - What it does: It calculates cables, solar and 33kV. Defines 14 functions or classes, including splitOf, coverOf, r2, sizeTrench, optionFor. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'trench'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 3 files: Block Trenches (globalgrid2050); Cmd Trench (globalgrid2050); Plant Feeders (globalgrid2050). - Signatures: `export sizeTrench(kind, n, spec, env = {})`; `export checkAsDrawn(kind, n, spec, pitchM, env = {})`; `export corridorCheck(parts, env = {})`; `export offsetPath(pts, d)`; `export planTrenches(runs, env = {}, { hops = [] } = {})`; `export planRows(plan, extra = {})`; `splitOf(split, group)`; `coverOf(e, kind)`; `r2(x)`; `optionFor(circuits, trenches, cover, tenv)`; `foot(kind === 'dc' ? spec.ductOdMm ?? 90 : 2 * (spec.odMm ?? 37.4))`; `worst(pi)`; `turnDeg(a, b, c)`; `at(pts, s)`; `pctOf(v)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/trench-plan.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 2 estate files (import 2); used by 3; mentioned by 0 ### Conductor Round - File: globalgrid2050/kuiper-grid/i0073/releases/003100000000-kuiper-shell/conductor-round.html (HTML, 259 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/releases/003100000000-kuiper-shell/conductor-round.html#L1-L259 - Page: https://code.globalgrid2050.com/explore-code/s/0016.html#f1 - Published at: https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/conductor-round.html - Synopsis: A web page in the kuiper grid folder of GlobalGrid2050 that measures bundle, calculates planar distances and draws on a canvas, covering cables. Published at https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/conductor-round.html. - What it achieves (name): It measures bundle (`measureBundle`) and is built from the compacted step (`compacted`) and the keystone step (`keystone`). Defines `settle`, `measureBundle`, `geometry` and 6 more. It responds to resize events. - What it does: It draws cables. Defines 9 functions or classes, including settle, measureBundle, geometry, compacted, keystone. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables. - Inputs & outputs: Out: web page; canvas drawing. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/conductor-round.html. - Signatures: `settle(n, d, D, iters)`; `measureBundle(w, d, D)`; `geometry(c)`; `compacted(c, o)`; `keystone(cx, cy, S, k)`; `hatchShape(px, py, r, metal)`; `hatch(x, y, r, metal)`; `dim(x1, x2, y, label, colour)`; `draw()`; `insideBand(cy - R)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Conductor - File: globalgrid2050/kuiper-grid/i0073/releases/003100000000-kuiper-shell/conductor.html (HTML, 406 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/releases/003100000000-kuiper-shell/conductor.html#L1-L406 - Page: https://code.globalgrid2050.com/explore-code/s/0016.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/conductor.html - Synopsis: A web page in the kuiper grid folder of GlobalGrid2050 that measures bundle, draws settled and calculates planar distances, covering cables, using IEC 60228 and ISO 128. Published at https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/conductor.html. - What it achieves (name): It measures bundle (`measureBundle`) and draws settled (`drawSettled`). Defines `FOOTSRC`, `settle`, `measureBundle` and 9 more. It responds to resize events. - What it does: It draws cables. Defines 12 functions or classes, including FOOTSRC, settle, measureBundle, geometry, compacted. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, 1500V. - Inputs & outputs: Out: web page; canvas drawing. Voltage levels named: 1500V. - Downstream impact: Used directly by 1 file: Phone (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/phone.html). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/conductor.html. - Signatures: `FOOTSRC(c)`; `settle(n, d, D, iters)`; `measureBundle(w, d, D)`; `geometry(c)`; `compacted(c, o)`; `keystone(cx, cy, S, k)`; `hatchShape(px, py, r, metal)`; `hatch(x, y, r, metal)`; `dim(x1, x2, y, label, colour)`; `draw()`; `fold(t)`; `insideBand(cy - R)`; `drawSettled()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; canvas drawing]; crs []; voltages [1500V] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Fetch Subsea Data Cables v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/fetch_subsea_data_cablesv6.yml (YAML, 49 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/fetch_subsea_data_cablesv6.yml#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/0017.html#f1 - Synopsis: A configuration file in GlobalGrid2050 covering cables. Runs on a schedule and by hand. - What it achieves (comment): Runs `scripts/fetch_subsea_data_cables.py`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Update 11kV UKPN v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/update_11kv_ukpnv6.yml (YAML, 46 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/update_11kv_ukpnv6.yml#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/0017.html#f2 - Synopsis: A configuration file in GlobalGrid2050 covering 11kV and substations. Runs on a schedule and by hand. - What it achieves (comment): Runs `scripts/fetch_11kv_ukpn.py`. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word '11kv'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 11kV, substations. - Inputs & outputs: Voltage levels named: 11kV. - domain_stage: sub33kv_design · commercial_user: IPP_developer, EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch 11kV UKPN v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_11kv_ukpnv6.py (Python, 96 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_11kv_ukpnv6.py#L1-L96 - Page: https://code.globalgrid2050.com/explore-code/s/0017.html#f3 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches grid 11kV UKPN and substations from OpenStreetMap (Overpass). - What it achieves (name): Its name says it fetches 11kV UKPN. Defines `fetch_11kv_substations`. Its code works with 11 kV. - What it does: It fetches grid 11kV UKPN and substations. Defines fetch_11kv_substations. Uses libraries requests, json, time. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word '11kv'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, 11kV. - Inputs & outputs: In: data source: OpenStreetMap (Overpass); GeoJSON file grid_11kv_ukpn.geojson. Out: JSON file. Voltage levels named: 11kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `fetch_11kv_substations()` - domain_stage: sub33kv_design · commercial_user: IPP_developer, EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass); GeoJSON file grid_11kv_ukpn.geojson]; out [JSON file]; crs []; voltages [11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch 33kV Data v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_33kv_datav6.py (Python, 87 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_33kv_datav6.py#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/0017.html#f4 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches 33kV from OpenStreetMap (Overpass). It fetches region (`fetch_region`). - What it achieves (comment): Define the UK regions using Bounding Boxes [`min_lat`, `min_lon`, `max_lat`, `max_lon`]. Its code works with 33 kV. - What it does: It fetches 33kV. Defines fetch_region. Uses libraries requests, json, time, os. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word '33kv'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV. - Inputs & outputs: In: data source: OpenStreetMap (Overpass). Out: JSON file. Voltage levels named: 33kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `fetch_region(name, bbox)` - domain_stage: sub33kv_design · commercial_user: IPP_developer, EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass)]; out [JSON file]; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Subsea Data Cables v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_subsea_data_cablesv6.py (Python, 109 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_subsea_data_cablesv6.py#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/0017.html#f5 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches subsea cables from OpenStreetMap (Overpass). - What it achieves (name): Its name says it fetches subsea data cables. Defines `build_query` and `process_data`. It writes `subsea_data_cables.geojson`. - What it does: It fetches subsea cables. Defines build_query, process_data, main. Uses libraries requests, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass). Out: GeoJSON file subsea_data_cables.geojson; JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `build_query()`; `process_data(data: dict)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass)]; out [GeoJSON file subsea_data_cables.geojson; JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Modularise V6 Cable Geometry - File: globalgrid2050/scripts/modularise_v6_cable_geometry.py (Python, 231 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/modularise_v6_cable_geometry.py#L1-L231 - Page: https://code.globalgrid2050.com/explore-code/s/0017.html#f6 - Synopsis: A Python command-line tool in the scripts folder that reads cables, solar and battery storage (BESS), using SHA-256. - What it achieves (name): It extracts style (`extract_style`), extracts inline scripts (`extract_inline_scripts`) and extracts main script (`extract_main_script`). Defines `sha256`, `read`, `write` and 8 more. - What it does: It loads cables, solar and battery storage (BESS). Defines 12 functions or classes, including sha256, read, write, extract_style, extract_inline_scripts. Uses libraries pathlib, hashlib, re, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: GlobalGrid2050 V6 Cable Geometry Modularise Workflow (globalgrid2050). - Signatures: `sha256(text: str)`; `read(path: Path)`; `write(path: Path, text: str)`; `extract_style(html: str)`; `extract_inline_scripts(html: str)`; `extract_main_script(html: str)`; `find_anchor(js: str, anchor: str)`; `split_js(js: str)`; `replace_block(text: str, match: re.Match, replacement: str)`; `normalise_for_compare(text: str)`; `make_report(css_v6: str, js_v6: str, parts: dict[str, str], rebuilt_css: str, rebuilt_js: str, v5_css: str | None, v5_js: str | N...)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Cable Geometry Visualiser V5 - File: globalgrid2050/solar-bess-topology-v5/cable-geometry-visualiser-v5.html (HTML, 2051 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/cable-geometry-visualiser-v5.html#L1-L2051 - Page: https://code.globalgrid2050.com/explore-code/s/0018.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html - Synopsis: A web page in GlobalGrid2050 covering cables, 33kV, 132kV and solar, using BS EN 50618 and BS 7671, and uses data from UK Power Networks open data. Published at https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html. - What it achieves (name): It looks up od (`lookupOD`), clamps integer (`clampInteger`) and formats mm (`formatMm`). Defines `lookupOD`, `byId`, `clampInteger` and 38 more. Its code works with 1 kV, 33 kV and 132 kV. It responds to focus, click and touchend events. - What it does: It draws cables, 33kV, 132kV and solar. Defines 41 functions or classes, including lookupOD, byId, clampInteger, formatMm, effectiveGap. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, 132kV, solar, 110kV, 66kV. - Inputs & outputs: In: form fields (user input). Out: web page; canvas drawing. Voltage levels named: 132kV, 110kV, 66kV, 33kV, 20kV, 15kV, 10kV, 6kV. - Downstream impact: Used directly by 13 files: Module Layout V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/module-layout-v5.html); Kuiper Tests (globalgrid2050); Kuiper Tests (globalgrid2050); Kuiper Tests (globalgrid2050); and 9 more. Reached from 94 other entry points, including DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html. - Signatures: `lookupOD(voltageKey, csaMm2, isThreeCore)`; `byId(id)`; `clampInteger(value, fallback, minValue)`; `formatMm(v)`; `effectiveGap(basis, spacing, od)`; `getBurialDepthForComputation()`; `normaliseBurialDepthFieldOnBlur()`; `normaliseIntegerFields()`; `getInputs()`; `getGroupGeometry(inputs)`; `computeLayout(inputs)`; `formationWidth(maxRowCount * geom.width)`; `formationDepth(rows * geom.depth)`; `buildReview(inputs, layout)`; `renderStatus(review)`; `renderIssues(review)`; `renderStats(layout, review, inputs)`; `getServiceColours(serviceType)`; `drawGroup(ctx, x, y, d, drawType, serviceType, scale)`; `circle(cx, cy, fill, stroke)`; `ang(2 * Math.PI * k / coreCount)`; `drawFormation(inputs, layout, review)`; `drawTrench(inputs, layout)`; `trenchX(W - trenchW)`; `drawBend(inputs, layout)` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; canvas drawing]; crs []; voltages [132kV, 110kV, 66kV, 33kV, 20kV, 15kV, 10kV, 6kV] - Edges: uses 2 estate files (link 2); used by 13; mentioned by 0 ### Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page - File: globalgrid2050/solar-bess-topology-v6/cable-geometry-visualiser/index.html (HTML, 279 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/cable-geometry-visualiser/index.html#L1-L279 - Page: https://code.globalgrid2050.com/explore-code/s/0021.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/ - Synopsis: A web page in GlobalGrid2050 covering cables, 132kV, 33kV and solar, using BS EN 50618 and BS 7671, and uses data from UK Power Networks open data. Published at https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/. - What it achieves (name): Its code works with 1 kV, 132 kV and 33 kV. - What it does: It draws cables, 132kV, 33kV and solar. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 132kV, 33kV, solar, 110kV, 66kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 132kV, 110kV, 66kV, 33kV, 20kV, 15kV, 10kV, 6kV. - Downstream impact: Used directly by 2 files: GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/); Solar Battery Energy Storage System (BESS) Topology V6 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/module-layout/). Reached from 1 other entry point, including Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [132kV, 110kV, 66kV, 33kV, 20kV, 15kV, 10kV, 6kV] - Edges: uses 8 estate files (script-src 5, link 2, stylesheet 1); used by 2; mentioned by 0 ### Cable Route - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/cable-route.mjs (JavaScript, 207 lines) · role electrical · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/cable-route.mjs#L1-L207 - Page: https://code.globalgrid2050.com/explore-code/s/0021.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables. It routes cable (`routeCable`) and draws lines (`drawLines`). - What it achieves (comment): A buried cable laid along a plan polyline. - What it does: It calculates cables. Defines 13 functions or classes, including sub, norm, unit, turn, planSegments. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: cables. - Downstream impact: Used directly by 6 files: Design UI (globalgrid2050); Layers (globalgrid2050); Layers (globalgrid2050); Design UI (globalgrid2050); and 2 more. Reached from 7 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/). - Signatures: `export routeCable({ points, minBendRadius = 0, depthBelowGround = 0, groundAt = () => 0, formation = 'flat', spacing = 0, step = 1, } = {})`; `sub(a, b)`; `norm(v)`; `unit(v)`; `turn(d1, d2)`; `planSegments(pts, R)`; `line(a, b)`; `at(seg, u)`; `coreOffsets(formation, spacing)`; `zAt(x, y)`; `walk(lat, vert)`; `ds(q.s - prev.s)`; `bendRadiusAt(chainage)`; `drawLines({ includeCores = true, includeCentreline = true } = {})` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 1 ### Cable Rating - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/cable-rating.mjs (JavaScript, 87 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/cable-rating.mjs#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/0021.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables and 33kV, using IEC 60287-1-1 and IEC 60287-2-1. - What it achieves (comment): It is built from the build step (`build`), the rating step (`rating`) and the impedance step (`impedance`). Continuous current rating of a 33kV single-core aluminium XLPE cable laid direct in trefoil, by the steady-state method of IEC 60287-1-1 (losses) and IEC 60287-2-1 (thermal resistances), and the size a feeder segment needs for the load it carries. Its code works with 33 kV. - What it does: It calculates cables and 33kV. Defines build, rating, impedance, dropPercent, sizeFor. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 4 files: Block Build (globalgrid2050); Block MV (globalgrid2050); Plant Feeders (globalgrid2050); Plant Template (globalgrid2050). - Signatures: `export build(area, p = RATING_DEFAULTS, odMm = null)`; `export rating(area, opts = {})`; `export impedance(area, opts = {})`; `export dropPercent(area, lengthM, mva, { pf = 0.95, ...opts } = {})`; `export sizeFor(mva, opts = {})`; `xs4(8 * PI * p.freq / rdc * 1e-7)`; `dMean(b.di + b.ds)` - VEDIC: PERCENT (GG2050-VEDIC-000025): Ventus Grid Engine / voltage-drop · Electrical engineering / Applied mathematics. drop_volts, nominal_volts -> drop_percent - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Trench Section - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/trench-section.mjs (JavaScript, 148 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/trench-section.mjs#L1-L148 - Page: https://code.globalgrid2050.com/explore-code/s/0022.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables. - What it achieves (comment): It is built from the formation of helper (`formationOf`), the cross section helper (`crossSection`) and the half at helper (`halfAt`). A trench drawn as a true cross-section, and cables drawn at their real outside diameter. - What it does: It calculates cables. Defines 9 functions or classes, including formationOf, crossSection, halfAt, sectionLines, push. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 3 files: Design Sections (globalgrid2050); Xray (globalgrid2050); Design Sections (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export formationOf(section)`; `export crossSection(section, eff, { cableOdMm = null, tapeAboveM = 0.25 } = {})`; `export sectionLines({ trench, groundAt, cs, eye, near = 25, spacing = 2, ringSides = 16 })`; `export tubeLines(polyline, od, { eye = null, near = 20, every = 1, sides = 8 } = {})`; `halfAt(z)`; `bed((section.bedding && section.bedding.thickness_mm) || 75)`; `circuitGap(Number(section.circuit_spacing_mm) || 0)`; `push(a, b)`; `rail(key, uz)`; `frame(i)`; `off(p, [nx, ny], du, dz)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 1 ### Trench - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/trench.mjs (JavaScript, 301 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/trench.mjs#L1-L301 - Page: https://code.globalgrid2050.com/explore-code/s/0022.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cut height (`cutHeight`) and offset line (`offsetLine`) and calculates planar distances. - What it achieves (comment): It is built from the point at helper (`pointAt`), the candidates step (`candidates`) and the floor at helper (`floorAt`). A trench is a function laid over the ground, never a stored mesh. - What it does: It calculates its inputs. Defines 20 functions or classes, including createTrench, pointAt, candidates, floorAt, inside. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 8 files: Hdd (globalgrid2050); Design UI (globalgrid2050); Design Sections (globalgrid2050); Layers (globalgrid2050); and 4 more. Reached from 4 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Substrate (globalgrid2050). - Signatures: `export createTrench({ path, width, depth, benchSlope = 0, groundAt = null })`; `export composeGround(groundAt, trenches)`; `export floorGround(trench, groundAt)`; `dx(bx - ax)`; `pointAt(s)`; `candidates(x, y, limit)`; `floorAt(s, g = groundAt)`; `inside(x, y)`; `cutHeight(x, y, g = groundAt)`; `chainage(x, y)`; `length3dOn(g)`; `spoilVolumeOn(g)`; `dig(x, y)`; `straddles(x, y, i, j)`; `offsetLine(h)`; `mitredOutline(h)`; `pad(p, g, sign)`; `wallLines(g = groundAt)`; `push(a, b)`; `topAt(x, y, floor)`; `get()`; `bisector(a, b)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 8; mentioned by 0 ### Cable Checks UI - File: globalgrid2050/solar-design-studio/202609270402-site-world-v3/world/cable-checks-ui.mjs (JavaScript, 90 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270402-site-world-v3/world/cable-checks-ui.mjs#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/0022.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that loads staged (`loadStaged`) and line (`loadLine`) (units: mm²), covering cables and solar, using IEC 60364-5-52 and IEC 60287-1-1. - What it achieves (comment): It loads staged (`loadStaged`) and loads line (`loadLine`). The Cable checks fold under Design > Plant > Solar block. It responds to change events. - What it does: It draws cables and solar. Defines 10 functions or classes, including loadStaged, mountCableChecks, el, note, n. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar. - Downstream impact: Used directly by 3 files: Design Sections (globalgrid2050); Block UI (globalgrid2050); Design Sections (globalgrid2050). - Signatures: `export loadStaged({ manifestUrl = './world/manifest.json', fetchImpl } = {})`; `export mountCableChecks({ doc, box, load = () => loadStaged() })`; `pin(await res.json())`; `el(tag, props = {}, ...kids)`; `note(t)`; `n(x, d)`; `table(heads, rows)`; `dl(target, rows)`; `range(s)`; `loadLine(s)`; `render()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 3; mentioned by 0 ### Cable Checks - File: globalgrid2050/solar-design-studio/202609270402-site-world-v3/world/cable-checks.mjs (JavaScript, 104 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270402-site-world-v3/world/cable-checks.mjs#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/0022.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables and solar. - What it achieves (comment): It parses checks (`parseChecks`) and is built from the value words helper (`valueWords`) and the loading words helper (`loadingWords`). The Solar block's cable schedule as illustrative checks (Design > Plant > Solar block > Cable checks). - What it does: It calculates cables and solar. Defines 14 functions or classes, including valueWords, loadingWords, num, rTheta, round. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar. - Downstream impact: Used directly by 1 file: Cable Checks UI (globalgrid2050). - Signatures: `export valueWords(v)`; `export loadingWords(pct)`; `export parseChecks(doc)`; `export defaultChoice(checks)`; `export caseFor(cases, choice)`; `export acChecks(checks, choice)`; `export dcChecks(checks)`; `export summarise(circuits)`; `export tableRow(c)`; `num(v)`; `rTheta(r20, alpha, theta)`; `round(x, d)`; `rows(k)`; `stat(k)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Cable Checks - File: globalgrid2050/solar-design-studio/202609271552-site-world/world/cable-checks.mjs (JavaScript, 113 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271552-site-world/world/cable-checks.mjs#L1-L113 - Page: https://code.globalgrid2050.com/explore-code/s/0023.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables and solar. It parses checks (`parseChecks`) and checks line (`checkLine`). - What it achieves (comment): The Solar block's cable schedule as illustrative checks (Design > Plant > Solar block > Cable checks). - What it does: It calculates cables and solar. Defines 16 functions or classes, including valueWords, loadingWords, num, rTheta, round. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar. - Downstream impact: Used directly by 1 file: Block UI (globalgrid2050). - Signatures: `export valueWords(v)`; `export loadingWords(pct)`; `export parseChecks(doc)`; `export defaultChoice(checks)`; `export caseFor(cases, choice)`; `export acChecks(checks, choice)`; `export dcChecks(checks)`; `export summarise(circuits)`; `export tableRow(c)`; `export checkLine(checks, choice = defaultChoice(checks))`; `num(v)`; `rTheta(r20, alpha, theta)`; `round(x, d)`; `rows(k)`; `stat(k)`; `part(what, s)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Cable Group IEC - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/cable-group-iec.mjs (JavaScript, 214 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/cable-group-iec.mjs#L1-L214 - Page: https://code.globalgrid2050.com/explore-code/s/0023.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, using IEC 60287 and IEC 60287-2-1. It builds model (`buildModel`) and groups rating (`groupRating`). - What it achieves (comment): Continuous and cyclic current rating of buried single-core cables in groups (AC LV, AC MV, DC), laid direct or in ducts, by the steady-state thermal method of the IEC 60287 family. - What it does: It calculates cables. Defines 12 functions or classes, including expand, buildModel, temperatures, trefoilCentreOffset, cyclicTrefoilG. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Signatures: `export buildModel(circuits, opts = {})`; `export temperatures(model, scale)`; `export groupRating(circuits, opts = {})`; `export circuitRating(circuit, opts = {})`; `export rowLayout({ n, pitchM, depth, rows = 1, rowGapM = 0.3, ...circuit })`; `export pitchForLoad({ n, load, maxPitchM = 2, edgeM = 0.1, ...rest }, opts = {})`; `export soilProblem(result)`; `expand(c, k)`; `s(c.spacingMm || unit)`; `a(c.spacingMm || unit)`; `dT3(w.Wc * (1 + w.lam) + c.Wd)`; `trefoilCentreOffset(e, cables)`; `cyclicTrefoilG(e, cables, o)`; `excess(s)`; `ok(p)`; `unit(rest.duct ? rest.duct.odMm : rest.cable.od)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Cable IEC - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/cable-iec.mjs (JavaScript, 257 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/cable-iec.mjs#L1-L257 - Page: https://code.globalgrid2050.com/explore-code/s/0023.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, solar and 33kV, using IEC 60287 and IEC 60287-1-1. - What it achieves (comment): It makes cable (`makeCable`) and is built from the rdc at helper (`rdcAt`) and the skin y helper (`skinY`). One buried single-core cable by the IEC 60287 thermal method: its build, losses and thermal resistances. Its code works with 33 kV, 1 kV and 1.5 kV. - What it does: It calculates cables, solar and 33kV. Defines 16 functions or classes, including makeCable, rdcAt, skinY, acResistance, dielectricLoss. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, 33kV, 1.5kV, 1kV. - Inputs & outputs: Voltage levels named: 33kV, 1.5kV, 1kV. - Downstream impact: Used directly by 3 files: Cable Group IEC (globalgrid2050); Cmd Trench (globalgrid2050); Trench Plan (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export makeCable(spec)`; `export rdcAt(cable, theta)`; `export acResistance(cable, theta, sMm, freq = 50)`; `export dielectricLoss(cable, freq = 50)`; `export screenLossFactors(cable, { R, sMm, formation = 'trefoil', bonding = 'solid', thetaS = 70, freq = 50 })`; `export internalThermal(cable)`; `export selfG(Lm, DeMm)`; `export mutualG(a, b)`; `export trefoilTouchingG(Lm, DeMm)`; `export cyclicSelfG(Lm, DeMm, mu, diffusivityM2h)`; `export airGapT4(DeMm, DbMm, W, thetaM, uvy = null, eps = 0.9)`; `export bundleDiameter(n, d)`; `export solarDayProfile({ sunrise = 6, sunset = 18, clip = 1, stepH = 0.25 } = {})`; `export lossLoadFactor(profile)`; `skinY(x2)`; `tail(beta1 * ts)`; `eddy(l0, d1, d2)`; `x(t + stepH / 2 - sunrise)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV, 1.5kV, 1kV] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Cable Rating - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/cable-rating.mjs (JavaScript, 94 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/cable-rating.mjs#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/0023.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables and 33kV, using IEC 60287-1-1 and IEC 60287-2-1. - What it achieves (comment): It is built from the al r20 helper (`alR20`), the cu r20 helper (`cuR20`) and the build step (`build`). Continuous current rating of a 33kV single-core aluminium XLPE cable laid direct in trefoil, by the steady-state method of IEC 60287-1-1 (losses) and IEC 60287-2-1 (thermal resistances), and the size a feeder segment needs for the load it carries. Its code works with 33 kV. - What it does: It calculates cables and 33kV. Defines 7 functions or classes, including alR20, cuR20, build, rating, impedance. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 9 files: Cmd Trench (globalgrid2050); Block MV (globalgrid2050); Single-Line Diagram (SLD) Graph (globalgrid2050); Single-Line Diagram (SLD) Plant (globalgrid2050); and 5 more. Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export alR20(area)`; `export cuR20(area)`; `export build(area, p = RATING_DEFAULTS, odMm = null)`; `export rating(area, opts = {})`; `export impedance(area, opts = {})`; `export dropPercent(area, lengthM, mva, { pf = 0.95, ...opts } = {})`; `export sizeFor(mva, opts = {})`; `rdc(opts.r20OhmKm || alR20(area))`; `xs4(8 * PI * p.freq / rdc * 1e-7)`; `dMean(b.di + b.ds)` - VEDIC: PERCENT (GG2050-VEDIC-000025): Ventus Grid Engine / voltage-drop · Electrical engineering / Applied mathematics. drop_volts, nominal_volts -> drop_percent - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 9; mentioned by 0 ### Cmd Grammar Trench - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/cmd-grammar-trench.mjs (JavaScript, 85 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/cmd-grammar-trench.mjs#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/0024.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 covering cables, solar and 33kV. It parses trench (`parseTrench`) and is built from the is num helper (`isNum`). - What it achieves (comment): The trench and cable words of the command line (trench, cable, load, xray), split out of `cmd-grammar.mjs` to keep each cartridge under 400 lines. Its code works with 33 kV. - What it does: It lists and searches cables, solar and 33kV. Defines isNum, parseTrench. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Cmd Grammar (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export parseTrench(v, rest, out, { has, after, num, put, bad, guard })`; `isNum(t)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Cmd Trench - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/cmd-trench.mjs (JavaScript, 119 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/cmd-trench.mjs#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/0024.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, solar and 33kV, using BS 7671 and IEC 60287. - What it achieves (comment): It rates text (`rateText`) and is built from the trench env helper (`trenchEnv`) and the env for helper (`envFor`). The command line's trench and cable words, as text. Its code works with 33 kV and 132 kV. - What it does: It calculates cables, solar and 33kV. Defines 12 functions or classes, including trenchEnv, envFor, f, pct, tight. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, 33kV, 132kV. - Inputs & outputs: Voltage levels named: 132kV, 33kV. - Downstream impact: Used directly by 1 file: Cmd Model (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export trenchEnv(st)`; `export specOf(kind, size, metal, loadA)`; `export rateText({ size, metal = 'al', circuits = 1, pitchM = null, kind = 'lv' }, st)`; `export designText(st, rows = null)`; `envFor(st, kind)`; `f(v, d = 2)`; `pct(v)`; `tight(z)`; `basis(st)`; `blockPlan(st)`; `line([k, v, cls])`; `busiest(g)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [132kV, 33kV] - Edges: uses 9 estate files (import 9); used by 1; mentioned by 0 ### Trench Plan - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/trench-plan.mjs (JavaScript, 263 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/trench-plan.mjs#L1-L263 - Page: https://code.globalgrid2050.com/explore-code/s/0024.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, solar and 33kV, using IEC 60287. - What it achieves (comment): It sizes trench (`sizeTrench`), checks as drawn (`checkAsDrawn`) and turns deg (`turnDeg`). Loss-load factor by load profile: continuous (the default, conservative) or a clear solar day, unclipped. Its code works with 33 kV. - What it does: It calculates cables, solar and 33kV. Defines 14 functions or classes, including splitOf, coverOf, r2, sizeTrench, optionFor. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 3 files: Cmd Trench (globalgrid2050); Block Trenches (globalgrid2050); Plant Feeders (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export sizeTrench(kind, n, spec, env = {})`; `export checkAsDrawn(kind, n, spec, pitchM, env = {})`; `export corridorCheck(parts, env = {})`; `export offsetPath(pts, d)`; `export planTrenches(runs, env = {}, { hops = [] } = {})`; `export planRows(plan, extra = {})`; `splitOf(split, group)`; `coverOf(e, kind)`; `r2(x)`; `optionFor(circuits, trenches, cover, tenv)`; `foot(kind === 'dc' ? spec.ductOdMm ?? 90 : 2 * (spec.odMm ?? 37.4))`; `worst(pi)`; `turnDeg(a, b, c)`; `at(pts, s)`; `pctOf(v)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 2 estate files (import 2); used by 3; mentioned by 0 ### Block Trenches - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/block-trenches.mjs (JavaScript, 159 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/block-trenches.mjs#L1-L159 - Page: https://code.globalgrid2050.com/explore-code/s/0024.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with 33kV, transformers, cables and solar. - What it achieves (comment): It is built from the sum step (`sum`), the stretches step (`stretches`) and the HV section helper (`hvSection`). The solar block's trenches, laid out from what each stretch of route really carries, then sized by rating (`trench-plan.mjs`). Its code works with 33 kV. - What it does: It calculates 33kV, transformers, cables and solar. Defines 10 functions or classes, including sum, f2, stretches, hvSection, blockTrenches. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV, transformers, cables, solar. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 2 files: Cmd Trench (globalgrid2050); Block Build (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export stretches(iv, minM = BLOCK_TRENCH.minStretchM)`; `export hvSection(kv)`; `export blockTrenches(st, mv, E, N, odMv, env = {}, s = SD)`; `sum(a)`; `f2(x)`; `envFor(g)`; `mvaOf(id)`; `whole(r)`; `half(r)`; `toEn(w)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Trench Design - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/trench-design.mjs (JavaScript, 398 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/trench-design.mjs#L1-L398 - Page: https://code.globalgrid2050.com/explore-code/s/0025.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables and solar, using IEC 60287-1-1 and IEC 60287-2-1. It solves gap (`solveGap`) and checks drawn (`checkDrawn`). - What it achieves (comment): A trench cross-section designed from the cables it has to carry. - What it does: It calculates cables and solar. Defines 22 functions or classes, including cable, ductAirT, footprint, place, rowW. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar. - Downstream impact: Used directly by 1 file: Trench Plan (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export cable(c)`; `export ductAirT(DeM, p = DEFAULTS, meanC = 60)`; `export footprint(ct)`; `export place(circuits, g)`; `export temperatures(layout, env = {})`; `export solveGap(circuits, g, env = {}, { maxGapM = 3 } = {})`; `export section(solved, circuits, env = {})`; `export designOptions({ circuits, landUse = 'farmland', env = {}, upsize = null, maxTrenches = 6, coverM = null })`; `export checkDrawn(circuits, { cover, pitchM }, env = {})`; `export pullPlan(route, ct, { ducted = true, pull = PULL } = {})`; `radial(od - dc)`; `T1(c.insulationKmW || 3.5)`; `T3(c.sheathKmW || 5.0)`; `side(g.sideClearM ?? p.sideClearMm / 1000)`; `rowW(row)`; `hMax(row)`; `cyclicSelf(self, z, De, p)`; `at(gap)`; `worstClass(circuits)`; `round(x, q)`; `r3(x)`; `add(name, cs, g, extra = {})`; `sumPerMetre(sec)`; `r1(x)`; `turn(i)` (and 1 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Data Core - File: globalgrid2050/testcode/202609060432/cable/data-core.js (JavaScript, 308 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060432/cable/data-core.js#L1-L308 - Page: https://code.globalgrid2050.com/explore-code/s/0026.html#f1 - Published at: https://globalgrid2050.com/testcode/202609060432/cable/ - Synopsis: A JavaScript file in the cable folder of GlobalGrid2050 covering 11kV, 33kV, cables and 110kV, using BS 7870-4 and IEC 60840. Served with the page at https://globalgrid2050.com/testcode/202609060432/cable/. - What it achieves (comment): Core reference data: burial depths, conductor labels, voltage class definitions, CSA ranges, dropdown groups, and formation library. Its code works with 11 kV, 33 kV and 1 kV. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 11kV, 33kV, cables, 110kV, 1kV. - Inputs & outputs: Voltage levels named: 110kV, 33kV, 11kV, 1kV. - Downstream impact: Used directly by 1 file: Testcode — Cable Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060432/cable/). Reached from 16 other entry points, including Homepage V077 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v077.html); Homepage V078 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v078.html); Homepage V079 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v079.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609060432/cable/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [110kV, 33kV, 11kV, 1kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Data LV - File: globalgrid2050/testcode/202609060432/cable/data-lv.js (JavaScript, 37 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060432/cable/data-lv.js#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0026.html#f2 - Published at: https://globalgrid2050.com/testcode/202609060432/cable/ - Synopsis: A JavaScript file in the cable folder of GlobalGrid2050 covering cables, using BS 5467 and BS 6724. Served with the page at https://globalgrid2050.com/testcode/202609060432/cable/. - What it achieves (comment): `OD_LV` — Low Voltage Cable OD and MBR Schedule 0.6/1kV Cu XLPE — single core and 3 core Source: Generic UK LV schedule (BS 5467 / BS 6724 basis). Its code works with 1 kV. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, 1kV. - Inputs & outputs: Voltage levels named: 1kV. - Downstream impact: Used directly by 1 file: Testcode — Cable Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060432/cable/). Reached from 16 other entry points, including Homepage V077 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v077.html); Homepage V078 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v078.html); Homepage V079 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v079.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609060432/cable/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [1kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Drawing View Exit - File: globalgrid2050/testcode/202609060432/cable/drawing-view-exit.js (JavaScript, 16 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060432/cable/drawing-view-exit.js#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/0026.html#f3 - Published at: https://globalgrid2050.com/testcode/202609060432/cable/ - Synopsis: A JavaScript file in the cable folder of GlobalGrid2050 that keeps the existing Drawing View toggle reachable while its parent panel is hidden. Served with the page at https://globalgrid2050.com/testcode/202609060432/cable/. - What it achieves (name): Defines `sync` and `leave`. It responds to click and keydown events. - What it does: It draws its content. Defines sync, leave. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Testcode — Cable Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060432/cable/). Reached from 16 other entry points, including Homepage V077 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v077.html); Homepage V078 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v078.html); Homepage V079 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v079.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609060432/cable/. - Signatures: `sync()`; `leave()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Testcode — Cable Page - File: globalgrid2050/testcode/202609060432/cable/index.html (HTML, 555 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060432/cable/index.html#L1-L555 - Page: https://code.globalgrid2050.com/explore-code/s/0027.html#f1 - Published at: https://globalgrid2050.com/testcode/202609060432/cable/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for route name, section length and installation condition, covering cables. Published at https://globalgrid2050.com/testcode/202609060432/cable/. - What it achieves (comment): Cable Geometry Visualiser v1.6.0. Its code works with 11 kV, 110 kV and 33 kV. - What it does: It draws cables. Uses libraries app.js. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, 110kV, 33kV, 11kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 110kV, 33kV, 11kV. - Downstream impact: Used directly by 16 files: Homepage V077 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v077.html); Homepage V078 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v078.html); Homepage V079 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v079.html); Homepage V080 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v080.html); and 12 more. It is itself an entry point, published at https://globalgrid2050.com/testcode/202609060432/cable/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [110kV, 33kV, 11kV] - Edges: uses 5 estate files (script-src 5); used by 16; mentioned by 0 ### Testcode — V01 Spider Drill Page - File: globalgrid2050/testcode/202609141522/v01-spider-drill/index.html (HTML, 69 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141522/v01-spider-drill/index.html#L1-L69 - Page: https://code.globalgrid2050.com/explore-code/s/0027.html#f2 - Published at: https://globalgrid2050.com/testcode/202609141522/v01-spider-drill/ - Synopsis: A web page in GlobalGrid2050 that shows cat (`showCat`) and block (`showBlock`) and opens family (`openFamily`). Published at https://globalgrid2050.com/testcode/202609141522/v01-spider-drill/. It shows cat (`showCat`), shows block (`showBlock`) and opens family (`openFamily`). - What it achieves (name): Defines `card`, `clear`, `showCat` and 2 more. - What it does: It draws its content. Defines card, clear, showCat, showBlock, openFamily. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141522/v01-spider-drill/. - Signatures: `card(label, sub, colour, arrow, onClick)`; `clear()`; `showCat(id)`; `showBlock(sym)`; `openFamily(n)` - domain_stage: experimental · commercial_user: EPC_contractor · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 0; mentioned by 0 ### Code Map — V01 Dependency Drill Page - File: globalgrid2050/testcode/202609141754/code-map/v01-dependency-drill/index.html (HTML, 70 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/code-map/v01-dependency-drill/index.html#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/0027.html#f3 - Published at: https://globalgrid2050.com/testcode/202609141754/code-map/v01-dependency-drill/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that shows cat (`showCat`) and block (`showBlock`) and opens family (`openFamily`). Published at https://globalgrid2050.com/testcode/202609141754/code-map/v01-dependency-drill/. - What it achieves (name): It shows cat (`showCat`), shows block (`showBlock`) and opens family (`openFamily`). Defines `card`, `clear`, `showCat` and 2 more. - What it does: It draws its content. Defines card, clear, showCat, showBlock, openFamily. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Testcode — Code Map Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/). Reached from 1 other entry point, including Testcode — Code Navigation Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-navigation/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/code-map/v01-dependency-drill/. - Signatures: `card(label, sub, colour, arrow, onClick)`; `clear()`; `showCat(id)`; `showBlock(sym)`; `openFamily(n)` - domain_stage: experimental · commercial_user: EPC_contractor · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (script-src 2); used by 1; mentioned by 0 ### Wafer Development Environment — Cable Cross Sections - File: globalgrid2050/testcode/wafer-development-environment/202609190330-cable-cross-sections/app.mjs (JavaScript, 980 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609190330-cable-cross-sections/app.mjs#L1-L980 - Page: https://code.globalgrid2050.com/explore-code/s/0028.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/ - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that draws lines meta and families, using SHA-256. Served with the page at https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/. - What it achieves (comment): It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). WHAT THIS IS. Every line of code in the estate that has been given a permanent number is one point on one surface. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws lines meta and families. Defines 63 functions or classes, including $, indexOfKey, bin, tier1, tier2. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json; JSON file line-index.json. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Wafer Development Environment — Cable Cross Sections Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/). Reached from 88 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/. - Signatures: `$(id)`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm, usage)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `render()`; `x(U.posB[i * 2] - view.x)`; `draw()`; `home()`; `flyTo(key, zoom)`; `waferR()`; `clearPupil(buf)`; `rimStart()`; `partition(keys)`; `fullTargets(scopeTargets)`; `lawTargets()` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json; JSON file line-index.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Wafer Development Environment — Cable Cross Sections Page - File: globalgrid2050/testcode/wafer-development-environment/202609190330-cable-cross-sections/index.html (HTML, 160 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609190330-cable-cross-sections/index.html#L1-L160 - Page: https://code.globalgrid2050.com/explore-code/s/0029.html#f2 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 covering cables, substations, 400kV and 132kV, using IEC 60909. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/. It is built from the close all helper (`closeAll`). - What it achieves (name): Defines `closeAll`. Its code works with 132 kV and 400 kV. It responds to click and keydown events. - What it does: It draws cables, substations, 400kV and 132kV. Defines closeAll. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, substations, 400kV, 132kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/. - Signatures: `closeAll(except)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV] - Edges: uses 4 estate files (script-src 3, stylesheet 1); used by 5; mentioned by 0 ### Kuiper Weigh - File: globalgrid2050/testcode/wafer-development-environment/202609190330-cable-cross-sections/kuiper-weigh.mjs (JavaScript, 73 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609190330-cable-cross-sections/kuiper-weigh.mjs#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/0029.html#f3 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/ - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that reads estate bodies and Kuiper network, using SHA-256. Served with the page at https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/. - What it achieves (comment): Join the measured copy count onto every station of `kuiper-network.json`. - What it does: It loads estate bodies and Kuiper network. Uses libraries node:fs, node:path, node:crypto, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file estate-bodies.json; JSON file bodies.json; JSON file kuiper-network.json; command-line arguments. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file estate-bodies.json; JSON file bodies.json; JSON file kuiper-network.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Pilot - File: globalgrid2050/testcode/wafer-development-environment/202609190330-cable-cross-sections/pilot.mjs (JavaScript, 499 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609190330-cable-cross-sections/pilot.mjs#L1-L499 - Page: https://code.globalgrid2050.com/explore-code/s/0030.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/ - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that draws electron, using IEC 60909 and uses data from the ventus-grid-engine repository. Served with the page at https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/. - What it achieves (comment): It describes line (`describeLine`) and loads net (`loadNet`). Quantum Twin — primary key to actual code flights. Its code works with 132 kV, 400 kV and 33 kV. It responds to click, pointerdown and pointermove events. - What it does: It draws electron, qubit and entangle. Defines 36 functions or classes, including $, here, hash32, mulberry32, atomOf. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV, 132kV, 33kV. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: gridatlas data; data source: pipelinenews data; data source: grid-dictionary data; data source: spiders data; data source: star-solar-star data; data source: code-generator data; data source: testcode data. Out: browser storage (setItem); canvas drawing. Voltage levels named: 400kV, 132kV, 33kV. - Downstream impact: Used directly by 1 file: Wafer Development Environment — Cable Cross Sections Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/). Reached from 88 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/. - Signatures: `$(id)`; `here(() => { const m = document.querySelector('meta[name="wafer-data"]'); return m ? new URL(m.content, location.href).hre...)`; `hash32(str)`; `mulberry32(a)`; `atomOf(k)`; `twinOf(k)`; `log(s)`; `say(html)`; `esc(s)`; `fly(a, b)`; `gh(t)`; `signal(o)`; `plainLabel(mod, fn, args)`; `describeLine(line)`; `help()`; `block(k)`; `twin(k)`; `read(k)`; `showCode(k, t, verb)`; `state(k)`; `qubit(k)`; `measure(rest)`; `connect(ab)`; `apps()`; `app(name)` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: gridatlas data; data source: pipelinenews data; data source: grid-dictionary data; data source: spiders data; data source: star-solar-star data; data source: code-generator data; data source: testcode data]; out [browser storage (setItem); canvas drawing]; crs []; voltages [400kV, 132kV, 33kV] - Edges: uses 6 estate files (estate-url 6); used by 1; mentioned by 0 ### Kuiper Pulse Check - File: globalgrid2050/testcode/wafer-development-environment/202609190330-cable-cross-sections/proof/kuiper-pulse.check.mjs (JavaScript, 110 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609190330-cable-cross-sections/proof/kuiper-pulse.check.mjs#L1-L110 - Page: https://code.globalgrid2050.com/explore-code/s/0030.html#f2 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that reads Kuiper network. It is built from the cut step (`cut`) and the load step (`load`). - What it achieves (comment): `proof/kuiper-pulse.check`.mjs — the Kuiper belt's pulse, checked without a browser. - What it does: It loads Kuiper network. Defines cut, load, ok, no. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file -network.json; JSON file kuiper-network.json; command-line arguments. - Signatures: `cut(name, kind)`; `load(f)`; `ok(c, m)`; `no(m)`; `u(d[q] - Rf)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file -network.json; JSON file kuiper-network.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Wafer Development Environment — Cable Cross Sections Style Sheet - File: globalgrid2050/testcode/wafer-development-environment/202609190330-cable-cross-sections/style.css (CSS, 182 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609190330-cable-cross-sections/style.css#L1-L182 - Page: https://code.globalgrid2050.com/explore-code/s/0031.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/ - Synopsis: A style sheet in the testcode folder of GlobalGrid2050. Served with the page at https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/. - What it achieves (comment): Designed at 430 px first; the desktop is the same layout with more room. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Wafer Development Environment — Cable Cross Sections Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/). Reached from 88 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Conductor - File: globalgrid2050/testcode/wafer-development-environment/202609191315-proof-4/conductor.html (HTML, 110 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191315-proof-4/conductor.html#L1-L110 - Page: https://code.globalgrid2050.com/explore-code/s/0031.html#f2 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609191315-proof-4/conductor.html - Synopsis: A web page in the testcode folder of GlobalGrid2050 that draws on a canvas (units: mm²), covering cables, using IEC 60228 and ISO 128. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191315-proof-4/conductor.html. - What it achieves (name): It is built from the draw step (`draw`). Defines `geometry`, `hatch`, `dim` and 1 more. It responds to resize events. - What it does: It draws cables. Defines geometry, hatch, dim, draw. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: Out: web page; canvas drawing. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191315-proof-4/conductor.html. - Signatures: `geometry(c)`; `hatch(x, y, r, metal)`; `dim(x1, x2, y, label, colour)`; `draw()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Conductor - File: globalgrid2050/testcode/wafer-development-environment/202609191335-proof-6/conductor.html (HTML, 151 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191335-proof-6/conductor.html#L1-L151 - Page: https://code.globalgrid2050.com/explore-code/s/0031.html#f3 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609191335-proof-6/conductor.html - Synopsis: A web page in the testcode folder of GlobalGrid2050 that draws on a canvas (units: mm²), covering cables, using IEC 60228 and ISO 128. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191335-proof-6/conductor.html. - What it achieves (name): It is built from the draw step (`draw`). Defines `geometry`, `hatch`, `dim` and 1 more. It responds to resize events. - What it does: It draws cables. Defines geometry, hatch, dim, draw. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: Out: web page; canvas drawing. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191335-proof-6/conductor.html. - Signatures: `geometry(c)`; `hatch(x, y, r, metal)`; `dim(x1, x2, y, label, colour)`; `draw()`; `insideBand(cy - R)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Conductor - File: globalgrid2050/testcode/wafer-development-environment/202609191345-proof-7/conductor.html (HTML, 183 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191345-proof-7/conductor.html#L1-L183 - Page: https://code.globalgrid2050.com/explore-code/s/0031.html#f4 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609191345-proof-7/conductor.html - Synopsis: A web page in the testcode folder of GlobalGrid2050 that draws on a canvas (units: mm², °C, Ω), covering cables, using IEC 60228 and ISO 128. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191345-proof-7/conductor.html. - What it achieves (name): It is built from the draw step (`draw`). Defines `geometry`, `hatch`, `dim` and 1 more. It responds to resize events. - What it does: It draws cables. Defines geometry, hatch, dim, draw. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: Out: web page; canvas drawing. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191345-proof-7/conductor.html. - Signatures: `geometry(c)`; `hatch(x, y, r, metal)`; `dim(x1, x2, y, label, colour)`; `draw()`; `insideBand(cy - R)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Conductor - File: globalgrid2050/testcode/wafer-development-environment/202609191547-proof-k0003/conductor.html (HTML, 297 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191547-proof-k0003/conductor.html#L1-L297 - Page: https://code.globalgrid2050.com/explore-code/s/0032.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609191547-proof-k0003/conductor.html - Synopsis: A web page in the testcode folder of GlobalGrid2050 that measures bundle, calculates planar distances and draws on a canvas, covering cables. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191547-proof-k0003/conductor.html. - What it achieves (name): It measures bundle (`measureBundle`) and is built from the compacted step (`compacted`) and the keystone step (`keystone`). Defines `settle`, `measureBundle`, `geometry` and 6 more. It responds to resize events. - What it does: It draws cables. Defines 9 functions or classes, including settle, measureBundle, geometry, compacted, keystone. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, 1500V. - Inputs & outputs: Out: web page; canvas drawing. Voltage levels named: 1500V. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191547-proof-k0003/conductor.html. - Signatures: `settle(n, d, D, iters)`; `measureBundle(w, d, D)`; `geometry(c)`; `compacted(c, o)`; `keystone(cx, cy, S, k)`; `hatchShape(px, py, r, metal)`; `hatch(x, y, r, metal)`; `dim(x1, x2, y, label, colour)`; `draw()`; `insideBand(cy - R)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; canvas drawing]; crs []; voltages [1500V] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Conductor - File: globalgrid2050/testcode/wafer-development-environment/202609191608-proof-k0005/conductor.html (HTML, 315 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191608-proof-k0005/conductor.html#L1-L315 - Page: https://code.globalgrid2050.com/explore-code/s/0032.html#f2 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609191608-proof-k0005/conductor.html - Synopsis: A web page in the testcode folder of GlobalGrid2050 that measures bundle, calculates planar distances and draws on a canvas, covering cables. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191608-proof-k0005/conductor.html. - What it achieves (name): It measures bundle (`measureBundle`) and is built from the compacted step (`compacted`) and the keystone step (`keystone`). Defines `settle`, `measureBundle`, `geometry` and 6 more. It responds to resize events. - What it does: It draws cables. Defines 9 functions or classes, including settle, measureBundle, geometry, compacted, keystone. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, 1500V. - Inputs & outputs: Out: web page; canvas drawing. Voltage levels named: 1500V. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191608-proof-k0005/conductor.html. - Signatures: `settle(n, d, D, iters)`; `measureBundle(w, d, D)`; `geometry(c)`; `compacted(c, o)`; `keystone(cx, cy, S, k)`; `hatchShape(px, py, r, metal)`; `hatch(x, y, r, metal)`; `dim(x1, x2, y, label, colour)`; `draw()`; `insideBand(cy - R)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; canvas drawing]; crs []; voltages [1500V] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Conductor - File: globalgrid2050/testcode/wafer-development-environment/202609191739-proof-k0009/conductor.html (HTML, 380 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191739-proof-k0009/conductor.html#L1-L380 - Page: https://code.globalgrid2050.com/explore-code/s/0033.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609191739-proof-k0009/conductor.html - Synopsis: A web page in the testcode folder of GlobalGrid2050 that measures bundle, calculates planar distances and draws on a canvas, covering cables. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191739-proof-k0009/conductor.html. - What it achieves (name): It measures bundle (`measureBundle`) and is built from the geometry step (`geometry`) and the compacted step (`compacted`). Defines `FOOTSRC`, `settle`, `measureBundle` and 8 more. It responds to resize events. - What it does: It draws cables. Defines 11 functions or classes, including FOOTSRC, settle, measureBundle, geometry, compacted. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, 1500V. - Inputs & outputs: Out: web page; canvas drawing. Voltage levels named: 1500V. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191739-proof-k0009/conductor.html. - Signatures: `FOOTSRC(c)`; `settle(n, d, D, iters)`; `measureBundle(w, d, D)`; `geometry(c)`; `compacted(c, o)`; `keystone(cx, cy, S, k)`; `hatchShape(px, py, r, metal)`; `hatch(x, y, r, metal)`; `dim(x1, x2, y, label, colour)`; `draw()`; `fold(t)`; `insideBand(cy - R)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; canvas drawing]; crs []; voltages [1500V] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Trench - File: graphics-engines-open-source/web/versions/202609262227-site-world/world/trench.mjs (JavaScript, 343 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/versions/202609262227-site-world/world/trench.mjs#L1-L343 - Page: https://code.globalgrid2050.com/explore-code/s/0034.html#f1 - Synopsis: A JavaScript module in the world folder of Graphics Engines Open Source that works with cut height (`cutHeight`) and offset line (`offsetLine`) and calculates planar distances. - What it achieves (comment): It is built from the point at helper (`pointAt`), the candidates step (`candidates`) and the floor at helper (`floorAt`). A trench is a function laid over the ground, never a stored mesh. - What it does: It calculates its inputs. Defines 20 functions or classes, including createTrench, pointAt, candidates, floorAt, inside. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'trench'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Design UI (graphics-engines-open-source); Layers (graphics-engines-open-source). Reached from 3 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/); Substrate (graphics-engines-open-source). - Signatures: `export createTrench({ path, width, depth, benchSlope = 0, groundAt = null })`; `export composeGround(groundAt, trenches)`; `dx(bx - ax)`; `pointAt(s)`; `candidates(x, y, limit)`; `floorAt(s, g = groundAt)`; `inside(x, y)`; `cutHeight(x, y, g = groundAt)`; `chainage(x, y)`; `length3dOn(g)`; `spoilVolumeOn(g)`; `dig(x, y)`; `offsetLine(h)`; `mitredOutline(h)`; `pad(p, g, sign)`; `wallLines(g = groundAt)`; `push(a, b)`; `topAt(x, y, floor)`; `get()`; `bisector(a, b)`; `spoilStrips(path, width, depth, g, { nt = 6, du = 0.25 } = {})`; `bis(s, t)`; `t((k + 0.5) / nt - 0.5)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### LiDAR Cable Sweep - File: lidar/src/cable_sweep.py (Python, 454 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/lidar/blob/2ddf7257e4847e5f387e03aaecbc1cc425c4e387/src/cable_sweep.py#L1-L454 - Page: https://code.globalgrid2050.com/explore-code/s/0034.html#f2 - Synopsis: A Python command-line tool that reads cable sweep receipt, cables and 132kV, using SHA-256. It loads cables (`load_cables`), routes meta (`route_meta`) and writes receipt (`write_receipt`). - What it achieves (comment): How long is a buried cable over real ground, counted two ways? Its code works with 132 kV and 33 kV. It accepts `--tiles`, `--seed` and `--routes`. - What it does: It loads cable sweep receipt, cables and 132kV. Defines 21 functions or classes, including to_host, Ground, __init__, h, ground_from. Uses libraries argparse, hashlib, json, math, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 132kV, 33kV. - Inputs & outputs: In: JSON file cable_sweep_receipt.json; JSON file cables.json; JSON file source.json; command-line arguments. Voltage levels named: 132kV, 33kV. - Downstream impact: Used directly by 1 file: Test Cable Sweep (lidar). - Signatures: `to_host(a)`; `class Ground`; `__init__(self, grid, oe, on, sp, xp)`; `h(self, x, y)`; `ground_from(tiles_dir, xp)`; `min_radius(cables, kv, csa=CSA, when="installation")`; `plan(x0, y0, h0, legs, turns, R)`; `arc_point(x, y, h, kap, u, xp)`; `ragged(xp, counts)`; `electron(P, depth, G, ds=DS_E)`; `_F(u, xp)`; `crossings(P, G)`; `_stable_argsort_int(a, xp)`; `positron(P, G)`; `draw(rng, n, G, rule, margin=3.0, leg=(3.0, 300.0))`; `pair(D, G)`; `load_cables(path)`; `sweep(tiles_dir, seed=SEED, routes=40000, seconds=60.0, batch=2000, use_gpu=True, witness=32, cables=None, cables_path=CABLES)`; `route_meta(D, R, i, G)`; `write_receipt(tiles_dir, r)`; `main(argv=None)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file cable_sweep_receipt.json; JSON file cables.json; JSON file source.json; command-line arguments]; out []; crs []; voltages [132kV, 33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Cable Sweep - File: lidar/tests/test_cable_sweep.py (Python, 174 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lidar/blob/2ddf7257e4847e5f387e03aaecbc1cc425c4e387/tests/test_cable_sweep.py#L1-L174 - Page: https://code.globalgrid2050.com/explore-code/s/0035.html#f2 - Synopsis: A test in the tests folder of LiDAR that checks LiDAR Cable Sweep. It is built from the ground step (`ground`), the grid step (`grid`) and the routes step (`routes`). - What it achieves (comment): Tests for `src/cable_sweep.py` on synthetic ground with known lengths. Its code works with 132 kV and 33 kV. It writes `source.json`. - What it does: It tests cables. Defines 12 functions or classes, including ground, grid, routes, close, test_min_radius_rule. Uses libraries inspect, json, math, os, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 132kV, 33kV. - Inputs & outputs: Out: JSON file source.json. Voltage levels named: 132kV, 33kV. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `ground(xp, z)`; `grid(n=401)`; `routes(rows, R=3.0, depth=1.0)`; `close(v, want, rel=1e-6)`; `test_min_radius_rule()`; `test_flat_plan_lengths()`; `test_plane_straight_and_arc()`; `test_ridge_kink_on_grid_line()`; `test_short_legs_shrink_fillet()`; `hilly(tmp_path, n=601, seed=5)`; `test_sweep_hilly(tmp_path)`; `test_bounded_by_seconds(tmp_path)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [JSON file source.json]; crs []; voltages [132kV, 33kV] - Edges: uses 1 estate file (sys-path 1); used by 0; mentioned by 0 ### Baseline - File: seed-data/experiments/economical-seeds/next-invention/cable-screen/baseline.mjs (JavaScript, 124 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-invention/cable-screen/baseline.mjs#L1-L124 - Page: https://code.globalgrid2050.com/explore-code/s/0035.html#f3 - Synopsis: A JavaScript module in the cable screen folder of Seed Data that adds count (`addCount`) and calculates planar distances (units: Ω). - What it achieves (name): It adds count (`addCount`) and is built from the require record helper (`requireRecord`) and the finite output helper (`finiteOutput`). Defines `requireRecord`, `positive`, `nonnegative` and 5 more. - What it does: It calculates its inputs. Defines 8 functions or classes, including requireRecord, positive, nonnegative, finiteOutput, addCount. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 4 files: Baseline Test (seed-data); Benchmark (seed-data); Route Screen Test (seed-data); Parity (seed-data). Reached from 1 other entry point, including Seed Regressions Workflow (seed-data). - Signatures: `export screen(input)`; `requireRecord(value, name)`; `positive(value, name)`; `nonnegative(value, name)`; `finiteOutput(value, name)`; `addCount(value, count)`; `crossingsReport(crossings)`; `electricalModel(electrical)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Baseline Test - File: seed-data/experiments/economical-seeds/next-invention/cable-screen/baseline.test.mjs (JavaScript, 97 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-invention/cable-screen/baseline.test.mjs#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/0035.html#f4 - Synopsis: A test in the cable screen folder of Seed Data that checks Baseline. - What it achieves (name): Defines `input` and `option`. - What it does: It tests its inputs. Defines input, option. Uses libraries node:assert/strict, node:test. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Seed Regressions Workflow (seed-data). - Signatures: `input(options, electrical = {})`; `option(id = "A", extra = {})` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Benchmark - File: seed-data/experiments/economical-seeds/next-invention/cable-screen/benchmark.mjs (JavaScript, 98 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-invention/cable-screen/benchmark.mjs#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/0035.html#f5 - Synopsis: A JavaScript module in the cable screen folder of Seed Data that reads fixture and cables, using SHA-256. - What it achieves (name): Defines `normalized` and `sample`. - What it does: It loads fixture and cables. Defines normalized, sample. Uses libraries node:assert/strict, node:child_process, node:crypto, node:fs, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: In: JSON file fixture.json; command-line arguments. - Signatures: `normalized(value)`; `sample(mode, repo)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file fixture.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 0; mentioned by 0 ### Route Screen - File: seed-data/experiments/economical-seeds/next-invention/cable-screen/route-screen.mjs (JavaScript, 128 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-invention/cable-screen/route-screen.mjs#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/0036.html#f1 - Synopsis: A JavaScript module in the cable screen folder of Seed Data that reads cables. - What it achieves (name): It loads instruments (`loadInstruments`) and is built from the has step (`has`) and the screen step (`screen`). Defines `loadInstruments`, `positive`, `nonnegative` and 2 more. - What it does: It loads cables. Defines loadInstruments, positive, nonnegative, has, screen. Uses libraries node:child_process, node:crypto, node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 6 files: Benchmark (seed-data); Route Screen Test (seed-data); Invoke (seed-data); Measure (seed-data); and 2 more. Reached from 1 other entry point, including Seed Regressions Workflow (seed-data). - Signatures: `export loadInstruments(repo)`; `export screen(input, { obstacles, corridor, voltage })`; `positive(value)`; `nonnegative(value)`; `has(row, key)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### Route Screen Test - File: seed-data/experiments/economical-seeds/next-invention/cable-screen/route-screen.test.mjs (JavaScript, 86 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-invention/cable-screen/route-screen.test.mjs#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/0036.html#f2 - Synopsis: A test in the cable screen folder of Seed Data that checks Route Screen and Baseline. - What it achieves (name): Defines `composed` and `equivalent`. It reads `./fixture.json`. - What it does: It tests its inputs. Defines composed, equivalent. Uses libraries node:fs, node:test. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file fixture.json. - Downstream impact: Used directly by 1 file: Seed Regressions Workflow (seed-data). - Signatures: `composed(input)`; `equivalent(actual, expected, at = 'result')` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file fixture.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Explain - File: seed-data/experiments/explain-cable-screen-change/followup/explain.mjs (JavaScript, 87 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/explain-cable-screen-change/followup/explain.mjs#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/0036.html#f3 - Synopsis: A JavaScript module in the followup folder of Seed Data that reads cables, using SHA-256. - What it achieves (name): It is built from the result step (`result`), the describe step (`describe`) and the exact step (`exact`). Defines `num`, `bounds`, `validate` and 5 more. - What it does: It loads cables. Defines 8 functions or classes, including num, bounds, validate, result, describe. Uses libraries node:crypto, node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Downstream impact: Used directly by 1 file: Trial (seed-data). - Signatures: `export explain(input, session, version = 'v1')`; `num(v)`; `bounds(n, low, high)`; `validate(input)`; `result(side)`; `describe(r)`; `exact(a,b)`; `metres(v)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 1 ### Session - File: seed-data/experiments/explain-cable-screen-change/followup/session.mjs (JavaScript, 57 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/explain-cable-screen-change/followup/session.mjs#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0036.html#f4 - Synopsis: A JavaScript module in the followup folder of Seed Data that reads cables, using SHA-256. It is built from the open step (`open`) and the next step (`next`). - What it achieves (name): Defines `here`, `hash`, `packet` and 2 more. - What it does: It loads cables. Defines here, hash, packet, open, next. Uses libraries node:child_process, node:crypto, node:events, node:readline, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Downstream impact: Used directly by 2 files: Explain (seed-data); Trial (seed-data). - Signatures: `export packet(flags, version = 'v1', scope = '')`; `export open(mode)`; `here(rel)`; `hash(value)`; `next()`; `exchange(value)`; `close()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 2; mentioned by 0 ### Trial - File: seed-data/experiments/explain-cable-screen-change/followup/trial.mjs (JavaScript, 104 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/explain-cable-screen-change/followup/trial.mjs#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/0036.html#f5 - Synopsis: A JavaScript module in the followup folder of Seed Data that reads acceptance and after length, using SHA-256. - What it achieves (name): Defines `acceptance`, `work` and `measurement`. It reads `../original/acceptance.json`. - What it does: It loads acceptance and after length. Defines acceptance, work, measurement. Uses libraries node:child_process, node:crypto, node:fs, node:url, node:perf_hooks. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file acceptance.json; JSON file after_length.json; command-line arguments. - Signatures: `acceptance(mode)`; `work(rows)`; `measurement(mode)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file acceptance.json; JSON file after_length.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 0; mentioned by 0 ### Worker - File: seed-data/experiments/explain-cable-screen-change/followup/worker.py (Python, 110 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/explain-cable-screen-change/followup/worker.py#L1-L110 - Page: https://code.globalgrid2050.com/explore-code/s/0036.html#f6 - Synopsis: A Python command-line tool in the followup folder of Seed Data covering cables, using SHA-256. It is built from the adapter class (`Adapter`) and the reply step (`reply`). - What it achieves (name): Defines `sha`, `emit`, `Adapter` and 1 more. - What it does: Defines 6 functions or classes, including sha, emit, Adapter, __init__, reply. Uses libraries collections, hashlib, json, pathlib, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha(data)`; `emit(data)`; `class Adapter`; `__init__(self, source, reuse)`; `reply(self, packet)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check - File: seed-data/experiments/explain-cable-screen-change/original/check.mjs (JavaScript, 38 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/explain-cable-screen-change/original/check.mjs#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0036.html#f7 - Synopsis: A JavaScript module in the original folder of Seed Data that reads acceptance and request, using SHA-256. - What it achieves (name): It reads `acceptance.json`. - What it does: It loads acceptance and request. Uses libraries node:child_process, node:crypto, node:fs, node:os, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file acceptance.json; JSON file request.json; command-line arguments. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file acceptance.json; JSON file request.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Evidence Adapter - File: seed-data/experiments/explain-cable-screen-change/original/evidence_adapter.py (Python, 51 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/explain-cable-screen-change/original/evidence_adapter.py#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/0036.html#f8 - Synopsis: A Python module in the original folder of Seed Data covering cables, using SHA-256. - What it achieves (name): Defines `encode` and `sha`. - What it does: Defines encode, sha. Uses libraries hashlib, json, pathlib, sys, tempfile. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Reuse (seed-data). - Signatures: `encode(value)`; `sha(raw)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Measure - File: seed-data/experiments/explain-cable-screen-change/original/measure.mjs (JavaScript, 42 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/explain-cable-screen-change/original/measure.mjs#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/0037.html#f1 - Synopsis: A JavaScript module in the original folder of Seed Data that reads acceptance. - What it achieves (name): It reads `acceptance.json`. - What it does: It loads acceptance. Uses libraries node:child_process, node:fs, node:url, node:perf_hooks. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file acceptance.json; command-line arguments. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file acceptance.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Reuse - File: seed-data/experiments/explain-cable-screen-change/original/reuse.mjs (JavaScript, 97 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/explain-cable-screen-change/original/reuse.mjs#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/0037.html#f2 - Synopsis: A JavaScript module in the original folder of Seed Data that reads cables, using SHA-256. - What it achieves (name): It is built from the result step (`result`), the describe step (`describe`) and the exact step (`exact`). Defines `num`, `bounds`, `validate` and 5 more. - What it does: It loads cables. Defines 8 functions or classes, including num, bounds, validate, result, describe. Uses libraries node:crypto, node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: In: command-line arguments. - Signatures: `export explain(input)`; `num(v)`; `bounds(n, low, high)`; `validate(input)`; `result(side)`; `describe(r)`; `exact(a,b)`; `metres(v)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of seed-data/experiments/explain-cable-screen-change/followup/explain.mjs) · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Standalone - File: seed-data/experiments/explain-cable-screen-change/original/standalone.mjs (JavaScript, 115 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/explain-cable-screen-change/original/standalone.mjs#L1-L115 - Page: https://code.globalgrid2050.com/explore-code/s/0037.html#f3 - Synopsis: A JavaScript module in the original folder of Seed Data that checks object (`checkObject`) (units: Ω). It checks object (`checkObject`) and checks case (`checkCase`). - What it achieves (name): Defines `checkObject`, `numberInRange`, `checkCase` and 4 more. - What it does: It loads data. Defines 7 functions or classes, including checkObject, numberInRange, checkCase, model, format. Uses libraries node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Signatures: `export explain(input)`; `checkObject(value, fields)`; `numberInRange(value, lower, upper, field)`; `checkCase(value)`; `model({ currentA, lengthM })`; `format(value, unit)`; `amount(result)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Sandbox — Cable - File: testcode/sandbox/202609060432/cable/app.js (JavaScript, 1213 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609060432/cable/app.js#L1-L1213 - Page: https://code.globalgrid2050.com/explore-code/s/0037.html#f4 - Synopsis: A JavaScript file in Testcode that clamps integer (`clampInteger`), formats mm (`formatMm`), gets min burial depth (`getMinBurialDepth`) and draws on a canvas (units: mm², kV). - What it achieves (name): It clamps integer (`clampInteger`), formats mm (`formatMm`) and gets min burial depth (`getMinBurialDepth`). Defines `byId`, `clampInteger`, `formatMm` and 47 more. It responds to focus, click and touchend events. - What it does: It draws cables. Defines 50 functions or classes, including byId, clampInteger, formatMm, effectiveGap, getMinBurialDepth. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, 1500V. - Inputs & outputs: Out: canvas drawing. Voltage levels named: 1500V. - Signatures: `byId(id)`; `clampInteger(value, fallback, minValue)`; `formatMm(v)`; `effectiveGap(basis, spacing, od)`; `getMinBurialDepth(serviceType)`; `getVoltageRuntimeMeta(voltageKey)`; `getSelectedCore()`; `getBurialDepthForComputation()`; `normaliseBurialDepthFieldOnBlur()`; `normaliseIntegerFields()`; `getInputs()`; `populateFormationOptions(serviceType, preferredValue)`; `syncFormationToLookupCore()`; `populateVoltageOptions()`; `getLookupKey(voltageKey, csaMm2, selectedCore)`; `lookupOD(voltageKey, csaMm2, selectedCore)`; `getVoltageDisplayName(voltageKey)`; `getConductorShapeText(voltageKey)`; `populateLookupCSA()`; `applyLookup()`; `updateFromLookup()`; `getGroupGeometry(inputs)`; `computeLayout(inputs)`; `formationWidth(maxRowCount * geom.width)`; `formationDepth(rows * geom.depth)` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [1500V] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Cable Candidate - File: testcode/sandbox/tools/build-cable-candidate.py (Python, 47 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/build-cable-candidate.py#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/0039.html#f2 - Synopsis: A Python module in the tools folder of Testcode covering publication and cables, using SHA-256. - What it achieves (name): Its name says it builds cable candidate. Defines `blob`, `sha` and `write`. It writes `source-manifest.json`. It accepts `--owner`, `--commit` and `--generation`. - What it does: Defines blob, sha, write. Uses libraries argparse, hashlib, html, json, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: In: JSON file source-manifest.json; JSON file publication.json; command-line arguments. - Signatures: `blob(name)`; `sha(data)`; `write(name, data)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file source-manifest.json; JSON file publication.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Layers Panel - File: galaxies-wafers/iterations/01-route-alpha/layers-panel.mjs (JavaScript, 442 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/01-route-alpha/layers-panel.mjs#L1-L442 - Page: https://code.globalgrid2050.com/explore-code/s/0039.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers using data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/. - What it achieves (comment): It routes alpha (`routeAlpha`), renders panel (`renderPanel`) and renders elements (`renderElements`). Layers over the inherited wafer, in Grid Atlas's grammar. It responds to click, change and pointerdown events. - What it does: It draws its content. Defines 26 functions or classes, including alphaScale, routeAlpha, $, esc, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: data source: ventus-grid-engine data; form fields (user input). Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 01 Route Alpha Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/. - Signatures: `alphaScale(() => { const raw = new URL(location.href).searchParams.get('alpha'); const v = raw === null ? NaN : Number(raw); ret...)`; `routeAlpha(n)`; `$(id)`; `esc(s)`; `row(l)`; `densityLegend()`; `renderPanel()`; `renderElements(manifest, state)`; `el(tag, cls, text)`; `link(href, text)`; `kv(k, v, cls)`; `toggle(l, on)`; `hydrateTiles(l, s)`; `writeLayersToURL()`; `readLayersFromURL()`; `liveView()`; `toScreen(v, [x, y])`; `visibleLayers()`; `drawOverlay()`; `S(p)`; `segDist2(px, py, [ax, ay], [bx, by])`; `pickAt(cx, cy)`; `node(tag, text, cls)`; `inspect(hit)`; `onStage(e)` (and 1 more) - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; form fields (user input)]; out [canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 1 ### Layers Panel - File: galaxies-wafers/iterations/02-tunnels/layers-panel.mjs (JavaScript, 447 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/02-tunnels/layers-panel.mjs#L1-L447 - Page: https://code.globalgrid2050.com/explore-code/s/0040.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers using data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/. - What it achieves (comment): It renders panel (`renderPanel`), renders elements (`renderElements`) and writes layers URL (`writeLayersToURL`). Layers over the inherited wafer, in Grid Atlas's grammar. It responds to click, change and pointerdown events. - What it does: It draws its content. Defines 25 functions or classes, including fromRoot, arcControl, $, esc, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: ventus-grid-engine data; form fields (user input). Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 02 Tunnels Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/. - Signatures: `fromRoot(path)`; `arcControl([ax, ay], [bx, by])`; `$(id)`; `esc(s)`; `row(l)`; `renderPanel()`; `renderElements(manifest, state)`; `el(tag, cls, text)`; `link(href, text)`; `kv(k, v, cls)`; `toggle(l, on)`; `hydrateTiles(l, s)`; `writeLayersToURL()`; `readLayersFromURL()`; `liveView()`; `toScreen(v, [x, y])`; `visibleLayers()`; `drawOverlay()`; `S(p)`; `segDist2(px, py, [ax, ay], [bx, by])`; `pickAt(cx, cy)`; `node(tag, text, cls)`; `inspect(hit)`; `onStage(e)`; `end(e)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; form fields (user input)]; out [canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 1, url-import-meta 1); used by 1; mentioned by 0 ### Layers Panel - File: galaxies-wafers/iterations/04-400kv-engine/layers-panel.mjs (JavaScript, 1075 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/04-400kv-engine/layers-panel.mjs#L1-L1075 - Page: https://code.globalgrid2050.com/explore-code/s/0041.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that draws blocks, 400kV, substations and 66kV, and uses data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/. - What it achieves (comment): It reads atlas topology (`readAtlasTopology`), computes bands (`computeBands`) and sets text (`setText`). Layers over the inherited wafer, in Grid Atlas's grammar. Its code works with 400 kV and 66 kV. It responds to click, resize and change events. - What it does: It draws blocks, 400kV, substations and 66kV. Defines 60 functions or classes, including evalExpr, readAtlasTopology, get, isModule, moduleStats. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 400kV, substations, 66kV. - Inputs & outputs: In: data source: ventus-grid-engine data; JSON file blocks.json. Out: canvas drawing. Voltage levels named: 400kV, 66kV. - Downstream impact: Used directly by 2 files: Iterations — 04 400kV Engine Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/); Questions (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/). Reached from 88 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/. - Signatures: `evalExpr(e, z)`; `readAtlasTopology()`; `get(t, k)`; `isModule(l)`; `moduleStats(doc)`; `computeBands()`; `q(B - 1 - i)`; `bandOf(count)`; `$(id)`; `fmt(n)`; `esc(s)`; `node(tag, text, cls)`; `schedule(what)`; `flush()`; `setText(el, t)`; `paintEngine()`; `all(manifest?.layers || [])`; `paintLoadState()`; `makeOverlay()`; `bodyOpened()`; `unCover()`; `buildRows()`; `paintRow(l)`; `renderElements()`; `el(tag, cls, text)` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; JSON file blocks.json]; out [canvas drawing]; crs []; voltages [400kV, 66kV] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 1 ### Layers Panel - File: galaxies-wafers/iterations/05-periodic-table/layers-panel.mjs (JavaScript, 433 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/05-periodic-table/layers-panel.mjs#L1-L433 - Page: https://code.globalgrid2050.com/explore-code/s/0043.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers using data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/. - What it achieves (comment): It renders panel (`renderPanel`), renders elements (`renderElements`) and writes layers URL (`writeLayersToURL`). Layers over the inherited wafer, in Grid Atlas's grammar. It responds to click, change and pointerdown events. - What it does: It draws its content. Defines 24 functions or classes, including at, $, esc, row, renderPanel. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: ventus-grid-engine data; form fields (user input). Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 05 Periodic Table Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/. - Signatures: `at(path)`; `$(id)`; `esc(s)`; `row(l)`; `renderPanel()`; `renderElements(manifest, state)`; `el(tag, cls, text)`; `link(href, text)`; `kv(k, v, cls)`; `toggle(l, on)`; `hydrateTiles(l, s)`; `writeLayersToURL()`; `readLayersFromURL()`; `liveView()`; `toScreen(v, [x, y])`; `visibleLayers()`; `drawOverlay()`; `S(p)`; `segDist2(px, py, [ax, ay], [bx, by])`; `pickAt(cx, cy)`; `node(tag, text, cls)`; `inspect(hit)`; `onStage(e)`; `end(e)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; form fields (user input)]; out [canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 1, url-import-meta 1); used by 1; mentioned by 0 ### Layers Panel - File: galaxies-wafers/iterations/06-stars-as-engines/layers-panel.mjs (JavaScript, 423 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/06-stars-as-engines/layers-panel.mjs#L1-L423 - Page: https://code.globalgrid2050.com/explore-code/s/0044.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers using data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/. - What it achieves (comment): It renders panel (`renderPanel`), renders elements (`renderElements`) and writes layers URL (`writeLayersToURL`). Layers over the inherited wafer, in Grid Atlas's grammar. It responds to click, change and pointerdown events. - What it does: It draws its content. Defines 24 functions or classes, including atRoot, $, esc, row, renderPanel. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: ventus-grid-engine data; form fields (user input). Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 06 Stars As Engines Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/. - Signatures: `atRoot(p)`; `$(id)`; `esc(s)`; `row(l)`; `renderPanel()`; `renderElements(manifest, state)`; `el(tag, cls, text)`; `link(href, text)`; `kv(k, v, cls)`; `toggle(l, on)`; `hydrateTiles(l, s)`; `writeLayersToURL()`; `readLayersFromURL()`; `liveView()`; `toScreen(v, [x, y])`; `visibleLayers()`; `drawOverlay()`; `S(p)`; `segDist2(px, py, [ax, ay], [bx, by])`; `pickAt(cx, cy)`; `node(tag, text, cls)`; `inspect(hit)`; `onStage(e)`; `end(e)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of galaxies-wafers/iterations/08-space-and-time/layers-panel.mjs) · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; form fields (user input)]; out [canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 1, url-import-meta 1); used by 1; mentioned by 0 ### Layers Panel - File: galaxies-wafers/iterations/07-code-card/layers-panel.mjs (JavaScript, 421 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/07-code-card/layers-panel.mjs#L1-L421 - Page: https://code.globalgrid2050.com/explore-code/s/0045.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers using data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/. - What it achieves (comment): It renders panel (`renderPanel`), renders elements (`renderElements`) and writes layers URL (`writeLayersToURL`). Layers over the inherited wafer, in Grid Atlas's grammar. It responds to click, change and pointerdown events. - What it does: It draws its content. Defines 23 functions or classes, including $, esc, row, renderPanel, renderElements. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: ventus-grid-engine data; form fields (user input). Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 07 Code Card Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/. - Signatures: `$(id)`; `esc(s)`; `row(l)`; `renderPanel()`; `renderElements(manifest, state)`; `el(tag, cls, text)`; `link(href, text)`; `kv(k, v, cls)`; `toggle(l, on)`; `hydrateTiles(l, s)`; `writeLayersToURL()`; `readLayersFromURL()`; `liveView()`; `toScreen(v, [x, y])`; `visibleLayers()`; `drawOverlay()`; `S(p)`; `segDist2(px, py, [ax, ay], [bx, by])`; `pickAt(cx, cy)`; `node(tag, text, cls)`; `inspect(hit)`; `onStage(e)`; `end(e)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of galaxies-wafers/iterations/10-ground-bridge/layers-panel.mjs) · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; form fields (user input)]; out [canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Layers Panel - File: galaxies-wafers/iterations/08-space-and-time/layers-panel.mjs (JavaScript, 437 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/08-space-and-time/layers-panel.mjs#L1-L437 - Page: https://code.globalgrid2050.com/explore-code/s/0046.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers using data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/. - What it achieves (comment): It renders panel (`renderPanel`), renders elements (`renderElements`) and writes layers URL (`writeLayersToURL`). Layers over the inherited wafer, in Grid Atlas's grammar. It responds to click, change and pointerdown events. - What it does: It draws its content. Defines 24 functions or classes, including atRoot, $, esc, row, renderPanel. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: ventus-grid-engine data; form fields (user input). Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 08 Space and Time Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/. - Signatures: `atRoot(p)`; `$(id)`; `esc(s)`; `row(l)`; `renderPanel()`; `renderElements(manifest, state)`; `el(tag, cls, text)`; `link(href, text)`; `kv(k, v, cls)`; `toggle(l, on)`; `hydrateTiles(l, s)`; `writeLayersToURL()`; `readLayersFromURL()`; `liveView()`; `toScreen(v, [x, y])`; `visibleLayers()`; `drawOverlay()`; `S(p)`; `segDist2(px, py, [ax, ay], [bx, by])`; `pickAt(cx, cy)`; `node(tag, text, cls)`; `inspect(hit)`; `onStage(e)`; `end(e)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; form fields (user input)]; out [canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Layers Panel - File: galaxies-wafers/iterations/09-deeplink-receiver/layers-panel.mjs (JavaScript, 537 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/09-deeplink-receiver/layers-panel.mjs#L1-L537 - Page: https://code.globalgrid2050.com/explore-code/s/0047.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers using data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/. - What it achieves (comment): It renders panel (`renderPanel`), renders elements (`renderElements`) and writes layers URL (`writeLayersToURL`). Layers over the inherited wafer, in Grid Atlas's grammar. It responds to click, change and pointerdown events. - What it does: It draws its content. Defines 25 functions or classes, including $, esc, row, renderPanel, renderElements. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: ventus-grid-engine data; form fields (user input). Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 09 Deeplink Receiver Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/). Reached from 1 other entry point, including Iterations — 45 Deeplink Round Trip Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/. - Signatures: `$(id)`; `esc(s)`; `row(l)`; `renderPanel()`; `renderElements(manifest, state)`; `el(tag, cls, text)`; `link(href, text)`; `kv(k, v, cls)`; `toggle(l, on)`; `hydrateTiles(l, s)`; `writeLayersToURL()`; `requestedLayers()`; `readLayersFromURL()`; `liveView()`; `buildCache(doc)`; `visibleLayers()`; `placeOverlay(v)`; `carry(v, cw, ch)`; `dx(anchor.x - v.x)`; `drawOverlay(snap)`; `wx0(-2 - ox)`; `segDist2(px, py, ax, ay, bx, by)`; `pickAt(cx, cy)`; `d(X - cx)`; `node(tag, text, cls)` (and 3 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; form fields (user input)]; out [canvas drawing]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Layers Panel - File: galaxies-wafers/iterations/10-ground-bridge/layers-panel.mjs (JavaScript, 457 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/10-ground-bridge/layers-panel.mjs#L1-L457 - Page: https://code.globalgrid2050.com/explore-code/s/0048.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/10-ground-bridge/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers using data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/10-ground-bridge/. - What it achieves (comment): It renders panel (`renderPanel`), renders elements (`renderElements`) and writes layers URL (`writeLayersToURL`). Layers over the inherited wafer, in Grid Atlas's grammar. It responds to click, change and pointerdown events. - What it does: It draws its content. Defines 23 functions or classes, including $, esc, row, renderPanel, renderElements. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: ventus-grid-engine data; form fields (user input). Out: canvas drawing. - Downstream impact: Used directly by 1 file: Wafer (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/10-ground-bridge/wafer.html). Reached from 1 other entry point, including Iterations — 10 Ground Bridge Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/10-ground-bridge/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/10-ground-bridge/. - Signatures: `$(id)`; `esc(s)`; `row(l)`; `renderPanel()`; `renderElements(manifest, state)`; `el(tag, cls, text)`; `link(href, text)`; `kv(k, v, cls)`; `toggle(l, on)`; `hydrateTiles(l, s)`; `writeLayersToURL()`; `readLayersFromURL()`; `liveView()`; `toScreen(v, [x, y])`; `visibleLayers()`; `drawOverlay()`; `S(p)`; `segDist2(px, py, [ax, ay], [bx, by])`; `pickAt(cx, cy)`; `node(tag, text, cls)`; `inspect(hit)`; `onStage(e)`; `end(e)`; `light(ids)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; form fields (user input)]; out [canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Layers Panel - File: galaxies-wafers/iterations/21-dark-pixels/layers-panel.mjs (JavaScript, 608 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/21-dark-pixels/layers-panel.mjs#L1-L608 - Page: https://code.globalgrid2050.com/explore-code/s/0049.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/21-dark-pixels/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers covering 11kV and uses data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/21-dark-pixels/. - What it achieves (comment): It renders panel (`renderPanel`), renders elements (`renderElements`) and gets JSON (`getJSON`). The root's layers panel, copied, with its drawing replaced: the ground is dark and a ticked layer wakes only the keys it charts (see "dark pixels" below). Its code works with 11 kV and 400 kV. It responds to click, change and pointerdown events. - What it does: It draws 11kV. Defines 28 functions or classes, including $, esc, emptyReason, row, renderPanel. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 11kV, 400kV. - Inputs & outputs: In: data source: ventus-grid-engine data; form fields (user input). Out: canvas drawing. Voltage levels named: 400kV, 11kV. - Downstream impact: Used directly by 1 file: Iterations — 21 Dark Pixels Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/21-dark-pixels/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/21-dark-pixels/. - Signatures: `$(id)`; `esc(s)`; `emptyReason(st)`; `row(l)`; `renderPanel()`; `renderElements(manifest, state)`; `el(tag, cls, text)`; `link(href, text)`; `kv(k, v, cls)`; `getJSON(url, failPrefix)`; `toggle(l, on)`; `hydrateTiles(l, s)`; `writeLayersToURL()`; `readLayersFromURL()`; `liveView()`; `toScreen(v, [x, y])`; `visibleLayers()`; `atlasZoom(z)`; `interp(stops, x)`; `precompute(doc)`; `drawOverlay()`; `wakeLine(az)`; `pickAt(cx, cy)`; `node(tag, text, cls)`; `valueNode(val)` (and 3 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; form fields (user input)]; out [canvas drawing]; crs []; voltages [400kV, 11kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 1 ### Layers Panel - File: galaxies-wafers/iterations/22-fast-zoom/layers-panel.mjs (JavaScript, 770 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/22-fast-zoom/layers-panel.mjs#L1-L770 - Page: https://code.globalgrid2050.com/explore-code/s/0050.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers using data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/. - What it achieves (comment): It builds rows (`buildRows`), paints row (`paintRow`) and paints meter (`paintMeter`). Iteration 22, FAST ZOOM. Layers over the wafer, loaded the way Grid Atlas loads them, and drawn so that zooming stays cheap. It responds to click, change and pointerdown events. - What it does: It draws its content. Defines 39 functions or classes, including $, fmt, freshState, node, emptyReason. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: ventus-grid-engine data; JSON file index.json. Out: canvas drawing. - Downstream impact: Used directly by 2 files: Iterations — 22 Fast Zoom Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/); Questions (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/. - Signatures: `$(id)`; `fmt(n)`; `freshState()`; `node(tag, text, cls)`; `emptyReason(st)`; `buildRows()`; `paintRow(l)`; `paintMeter()`; `class FetchQueue`; `constructor(n)`; `add(task)`; `fetchJSON(url)`; `heldFeatures()`; `makeRoom(need, keep)`; `sc(s.on ? 0 : 1e9 - s.used)`; `releaseWhole(l, s)`; `releaseBand(l, s, b)`; `hydrateWhole(l, s)`; `refuse(l, s, want)`; `hydrateTiled(l, s)`; `minZoomOf(s, v)`; `bandsInView(s, v)`; `updateTiles()`; `loadBand(l, s, b)`; `toggle(l, on)` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; JSON file index.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 1 ### Layers Panel - File: galaxies-wafers/iterations/26-apps-layers-substrate/layers-panel.mjs (JavaScript, 736 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/26-apps-layers-substrate/layers-panel.mjs#L1-L736 - Page: https://code.globalgrid2050.com/explore-code/s/0051.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers covering 11kV and uses data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/. - What it achieves (comment): It renders panel (`renderPanel`), updates row (`updateRow`) and renders elements (`renderElements`). Apps, Layers, Substrate (iteration 26). Its code works with 11 kV and 400 kV. It responds to click, change and pointerdown events. - What it does: It draws 11kV. Defines 38 functions or classes, including $, esc, wanted, emptyReason, tagText. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 11kV, 400kV. - Inputs & outputs: In: data source: ventus-grid-engine data; form fields (user input). Out: canvas drawing. Voltage levels named: 400kV, 11kV. - Downstream impact: Used directly by 1 file: Iterations — 26 Apps Layers Substrate Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/. - Signatures: `$(id)`; `esc(s)`; `wanted(s)`; `emptyReason(st)`; `tagText(s)`; `noteText(l, s)`; `renderPanel()`; `updateRow(l)`; `changedLayer(l)`; `renderElements(manifest, state)`; `el(tag, cls, text)`; `link(href, text)`; `kv(k, v, cls)`; `getJSON(url, failPrefix, stillWanted)`; `enforceCap()`; `keptBytes()`; `toggle(l, on)`; `settle(l)`; `hydrateTiles(l, s)`; `stillWanted()`; `writeLayersToURL()`; `readLayersFromURL()`; `setApp(ids)`; `liveView()`; `toScreen(v, [x, y])` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; form fields (user input)]; out [canvas drawing]; crs []; voltages [400kV, 11kV] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Layers Panel - File: galaxies-wafers/iterations/31-code-card-everywhere/layers-panel.mjs (JavaScript, 579 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/31-code-card-everywhere/layers-panel.mjs#L1-L579 - Page: https://code.globalgrid2050.com/explore-code/s/0052.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers covering 11kV and uses data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/. - What it achieves (comment): It renders panel (`renderPanel`), renders elements (`renderElements`) and gets JSON (`getJSON`). Code Card Everywhere (iteration 31): iteration 21's panel, with its own tap-to-inspect listener removed. Its code works with 11 kV and 400 kV. It responds to click and change events. - What it does: It draws 11kV. Defines 26 functions or classes, including $, esc, emptyReason, row, renderPanel. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 11kV, 400kV. - Inputs & outputs: In: data source: ventus-grid-engine data; form fields (user input). Out: canvas drawing. Voltage levels named: 400kV, 11kV. - Downstream impact: Used directly by 1 file: Iterations — 31 Code Card Everywhere Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/). Reached from 90 other entry points, including Iterations — 39 Decisions and Permission Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/); Iterations — 41 Golden Angle Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/. - Signatures: `$(id)`; `esc(s)`; `emptyReason(st)`; `row(l)`; `renderPanel()`; `renderElements(manifest, state)`; `el(tag, cls, text)`; `link(href, text)`; `kv(k, v, cls)`; `getJSON(url, failPrefix)`; `toggle(l, on)`; `hydrateTiles(l, s)`; `writeLayersToURL()`; `readLayersFromURL()`; `liveView()`; `toScreen(v, [x, y])`; `visibleLayers()`; `atlasZoom(z)`; `interp(stops, x)`; `precompute(doc)`; `drawOverlay()`; `wakeLine(az)`; `pickAt(cx, cy)`; `node(tag, text, cls)`; `valueNode(val)` (and 1 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; form fields (user input)]; out [canvas drawing]; crs []; voltages [400kV, 11kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Layers Panel - File: galaxies-wafers/layers-panel.mjs (JavaScript, 914 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/layers-panel.mjs#L1-L914 - Page: https://code.globalgrid2050.com/explore-code/s/0053.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/ - Synopsis: A JavaScript module in Galaxies Wafers covering cables and uses data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/. - What it achieves (comment): It builds rows (`buildRows`), paints row (`paintRow`) and paints meter (`paintMeter`). Layers over the wafer, in Grid Atlas's grammar. Its code works with 11 kV. It responds to click and change events. - What it does: It draws cables. Defines 46 functions or classes, including tileIndexPath, $, fmt, freshState, node. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 11kV. - Inputs & outputs: In: data source: ventus-grid-engine data; JSON file index.json. Out: canvas drawing. Voltage levels named: 11kV. - Downstream impact: Used directly by 1 file: Galaxies Wafers — Index Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/). Reached from 242 other entry points, including 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html); Galaxies Wafers — Iterations Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/); Galaxies Wafers — Proof Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/proof/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/. - Signatures: `tileIndexPath(id)`; `$(id)`; `fmt(n)`; `freshState()`; `node(tag, text, cls)`; `emptyReason(st)`; `buildRows()`; `paintRow(l)`; `paintMeter()`; `class FetchQueue`; `constructor(n)`; `add(task)`; `fetchJSON(url)`; `heldFeatures()`; `makeRoom(need, keep)`; `sc(s.on ? 0 : 1e9 - s.used)`; `releaseWhole(l, s)`; `releaseBand(l, s, b)`; `hydrateWhole(l, s)`; `refuse(l, s, want)`; `hydrateTiled(l, s)`; `minZoomOf(s, v)`; `bandsInView(s, v)`; `updateTiles()`; `loadBand(l, s, b)` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; JSON file index.json]; out [canvas drawing]; crs []; voltages [11kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Solar - File: globalgrid2050/automation/news/dc_context/solar.py (Python, 251 lines) · role energy-data · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/dc_context/solar.py#L1-L251 - Page: https://code.globalgrid2050.com/explore-code/s/0054.html#f2 - Synopsis: A Python command-line tool in the dc context folder of GlobalGrid2050 that reads solar, using SHA-256. - What it achieves (comment): It verifies source bytes (`verify_source_bytes`) and is built from the dumps step (`dumps`) and the build step (`build`). Offline `solar/storage/procurement` context, preserving source scope and bounds. It accepts `--input`, `--as-of` and `--output`. - What it does: It loads solar. Defines 12 functions or classes, including _require, _object, _text, _id, _time. Uses libraries __future__, argparse, copy, datetime, hashlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 3 files: Test Solar DC Context (globalgrid2050); Build Transition Context (globalgrid2050); Test Transition Context (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `_require(ok, message)`; `_object(value, keys, field)`; `_text(value, field, limit=500)`; `_id(value, field)`; `_time(value)`; `_day(value)`; `dumps(value)`; `verify_source_bytes(source, raw)`; `_source(source, clock)`; `_context(context, source, clock)`; `build(bundle, *, as_of, source_bytes=None)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Test Solar DC Context - File: globalgrid2050/automation/news/tests/test_solar_dc_context.py (Python, 173 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_solar_dc_context.py#L1-L173 - Page: https://code.globalgrid2050.com/explore-code/s/0054.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Solar, using SHA-256. It is built from the bundle step (`bundle`) and the claim step (`claim`). - What it achieves (comment): Offline primary-source fixture and adversarial solar/DC scope tests. - What it does: It tests its inputs. Defines 10 functions or classes, including bundle, claim, test_real_receipt_slice_preserves_forecast_bounds_and_source_scope, test_deterministic_order_and_json, test_rejects_scope_unit_proximity_source_and_verification_tampering. Uses libraries copy, hashlib, json, pathlib, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file solar-context.json; JSON file context.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `bundle()`; `claim(bundle, index=0)`; `test_real_receipt_slice_preserves_forecast_bounds_and_source_scope(bundle)`; `test_deterministic_order_and_json(bundle)`; `test_rejects_scope_unit_proximity_source_and_verification_tampering(bundle, mutation)`; `test_all_supplied_source_bytes_required_and_checked(bundle)`; `test_source_receipt_rejects_wrong_bytes(bundle)`; `test_empty_coverage_is_not_success(bundle)`; `test_parent_finance_stays_exact_and_stage_specific(bundle)`; `test_cli_writes_new_artifact_and_refuses_overwrite(tmp_path)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file solar-context.json; JSON file context.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Model - File: globalgrid2050/cartridges/202609052155-solar-radiation/model.mjs (JavaScript, 2 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052155-solar-radiation/model.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0054.html#f4 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 that works with solar energy (`solarEnergy`). It is built from the solar energy helper (`solarEnergy`). - What it achieves (name): Defines `solarEnergy`. - What it does: It calculates its inputs. Defines solarEnergy. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Model (globalgrid2050). Reached from 33 other entry points, including Homepage V062 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v062.html); Homepage V063 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v063.html); Homepage V064 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v064.html). - Signatures: `export solarEnergy(seconds)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Model Test - File: globalgrid2050/cartridges/202609052155-solar-radiation/model.test.mjs (JavaScript, 2 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052155-solar-radiation/model.test.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0054.html#f5 - Synopsis: A test in the cartridges folder of GlobalGrid2050 covering solar. - What it does: It tests solar. Uses libraries node:test. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Open Energy Cartridge Workflow (globalgrid2050). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Solar - File: globalgrid2050/cartridges/202609052155-solar-radiation/solar.mjs (JavaScript, 3 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052155-solar-radiation/solar.mjs#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0054.html#f6 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering solar. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Homepage V061 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v061.html). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Model - File: globalgrid2050/cartridges/202609052157-solar-scenario/model.mjs (JavaScript, 2 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052157-solar-scenario/model.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0054.html#f7 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050. It is built from the scenario m wh helper (`scenarioMWh`). - What it achieves (name): Defines `scenarioMWh`. - What it does: It calculates its inputs. Defines scenarioMWh. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `export scenarioMWh(seconds,capacityFactor)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Model Test - File: globalgrid2050/cartridges/202609052157-solar-scenario/model.test.mjs (JavaScript, 1 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052157-solar-scenario/model.test.mjs#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/0054.html#f8 - Synopsis: A test in the cartridges folder of GlobalGrid2050. - What it does: It tests its inputs. Uses libraries node:test. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Open Energy Cartridge Workflow (globalgrid2050). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Scenario - File: globalgrid2050/cartridges/202609052157-solar-scenario/scenario.mjs (JavaScript, 2 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052157-solar-scenario/scenario.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0054.html#f9 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering solar. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 33 files: Homepage V061 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v061.html); Homepage V062 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v062.html); Homepage V063 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v063.html); Homepage V064 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v064.html); and 29 more. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 33; mentioned by 0 ### Model - File: globalgrid2050/cartridges/202609052200-solar-periods/model.mjs (JavaScript, 2 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052200-solar-periods/model.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0054.html#f10 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 that works with solar. - What it achieves (name): Defines `periods`. - What it does: It calculates solar. Defines periods. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Solar (globalgrid2050). Reached from 32 other entry points, including Homepage V062 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v062.html); Homepage V063 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v063.html); Homepage V064 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v064.html). - Signatures: `export periods(now)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Model Test - File: globalgrid2050/cartridges/202609052200-solar-periods/model.test.mjs (JavaScript, 2 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052200-solar-periods/model.test.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0054.html#f11 - Synopsis: A test in the cartridges folder of GlobalGrid2050 covering solar. - What it does: It tests solar. Uses libraries node:test. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Open Energy Cartridge Workflow (globalgrid2050). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Retro - File: globalgrid2050/cartridges/202609052200-solar-periods/retro.css (CSS, 10 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052200-solar-periods/retro.css#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/0054.html#f12 - Synopsis: A style sheet in the cartridges folder of GlobalGrid2050 covering solar. - What it achieves (comment): Original terminal palette. Typography and solid grey progress fills remain inherited. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 32 files: Homepage V062 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v062.html); Homepage V063 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v063.html); Homepage V064 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v064.html); Homepage V065 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v065.html); and 28 more. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 32; mentioned by 0 ### Solar - File: globalgrid2050/cartridges/202609052200-solar-periods/solar.mjs (JavaScript, 4 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052200-solar-periods/solar.mjs#L1-L4 - Page: https://code.globalgrid2050.com/explore-code/s/0054.html#f13 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering solar. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 32 files: Homepage V062 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v062.html); Homepage V063 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v063.html); Homepage V064 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v064.html); Homepage V065 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v065.html); and 28 more. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 32; mentioned by 0 ### Employers' Requirements, Large-Scale Solar — Print Page - File: globalgrid2050/employers_requirments_large_scale_solar/print/index.html (HTML, 453 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/employers_requirments_large_scale_solar/print/index.html#L1-L453 - Page: https://code.globalgrid2050.com/explore-code/s/0055.html#f1 - Published at: https://globalgrid2050.com/employers_requirments_large_scale_solar/print/ - Synopsis: A web page in GlobalGrid2050 that applies selection (`applySelection`), covering cables, transformers, solar and substations, using IEC 61439 and IEC 60287. Published at https://globalgrid2050.com/employers_requirments_large_scale_solar/print/. - What it achieves (name): It applies selection (`applySelection`) and is built from the select all helper (`selectAll`). Defines `selectAll` and `applySelection`. - What it does: It draws cables, transformers, solar and substations. Defines selectAll, applySelection. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, transformers, solar, substations. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/employers_requirments_large_scale_solar/print/. - Signatures: `selectAll(value)`; `applySelection()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GIS Single-Line Diagram (SLD) V2 - File: globalgrid2050/feature_requests/001_extract_v2_css/files/solar-bess-topology-v2/gis-sld-v2.css (CSS, 531 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/001_extract_v2_css/files/solar-bess-topology-v2/gis-sld-v2.css#L1-L531 - Page: https://code.globalgrid2050.com/explore-code/s/0056.html#f1 - Synopsis: A style sheet in the feature requests folder of GlobalGrid2050 covering battery storage (BESS). - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GIS Single-Line Diagram (SLD) V2 Config - File: globalgrid2050/feature_requests/002_extract_v2_config/files/solar-bess-topology-v2/gis-sld-v2-config.js (JavaScript, 24 lines) · role electrical · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/002_extract_v2_config/files/solar-bess-topology-v2/gis-sld-v2-config.js#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0056.html#f2 - Synopsis: A JavaScript file in the feature requests folder of GlobalGrid2050 covering grid substations. - What it achieves (comment): GIS SLD Financial Sandbox V2. Config extracted by GridBot feature 002. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V2 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v2/indexforgis-sld-v2.html). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V2 Helpers - File: globalgrid2050/feature_requests/003_extract_v2_helpers/files/solar-bess-topology-v2/gis-sld-v2-helpers.js (JavaScript, 75 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/003_extract_v2_helpers/files/solar-bess-topology-v2/gis-sld-v2-helpers.js#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0056.html#f3 - Synopsis: A JavaScript file in the feature requests folder of GlobalGrid2050 that sets class (`setClass`), picks prop (`pickProp`) and sets fetch status (`setFetchStatus`). - What it achieves (comment): It sets text (`setText`), sets class (`setClass`) and picks prop (`pickProp`). GIS SLD Financial Sandbox V2. Helpers extracted by GridBot feature 003. - What it does: Defines 11 functions or classes, including $, num, intVal, checked, setText. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V2 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v2/indexforgis-sld-v2.html). - Signatures: `$(id)`; `num(id)`; `intVal(id, fallback = 0)`; `checked(id)`; `setText(id, val)`; `setClass(id, cls)`; `money(v)`; `debounce(fn, ms)`; `isValidLngLat(c)`; `pickProp(obj, keys, fallback = null)`; `setFetchStatus(msg, isError)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V2 State - File: globalgrid2050/feature_requests/004_extract_v2_state/files/solar-bess-topology-v2/gis-sld-v2-state.js (JavaScript, 17 lines) · role electrical · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/004_extract_v2_state/files/solar-bess-topology-v2/gis-sld-v2-state.js#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/0056.html#f4 - Synopsis: A JavaScript file in the feature requests folder of GlobalGrid2050. - What it achieves (comment): GIS SLD Financial Sandbox V2. State extracted by GridBot feature 004. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V2 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v2/indexforgis-sld-v2.html). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V2 Substations - File: globalgrid2050/feature_requests/005_extract_v2_substation_data/files/solar-bess-topology-v2/gis-sld-v2-substations.js (JavaScript, 83 lines) · role electrical · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/005_extract_v2_substation_data/files/solar-bess-topology-v2/gis-sld-v2-substations.js#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/0057.html#f1 - Synopsis: A JavaScript file in the feature requests folder of GlobalGrid2050 that fetches substations. It normalises substations (`normaliseSubstations`) and loads substations (`loadSubstations`). - What it achieves (comment): GIS SLD Financial Sandbox V2. Substation data loading extracted by GridBot feature 005. - What it does: It fetches substations. Defines normaliseSubstations, loadSubstations. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations. - Downstream impact: Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V2 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v2/indexforgis-sld-v2.html). - Signatures: `normaliseSubstations(raw)`; `loadSubstations()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Grid Engine — Solar Battery Energy Storage System (BESS) Export Page - File: globalgrid2050/grid_engine/202609060217-solar-bess-export/index.html (HTML, 240 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060217-solar-bess-export/index.html#L1-L240 - Page: https://code.globalgrid2050.com/explore-code/s/0057.html#f2 - Published at: https://globalgrid2050.com/grid_engine/202609060217-solar-bess-export/ - Synopsis: A web page in GlobalGrid2050 covering battery storage (BESS) and uses data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060217-solar-bess-export/. - What it achieves (comment): It is built from the num step (`num`), the fig step (`fig`) and the refuse step (`refuse`). Solar and BESS Export Workbench — Ventus Grid Engine. It responds to input events. - What it does: It draws battery storage (BESS). Defines 7 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060217-solar-bess-export/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `parse(raw)`; `render()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 3; mentioned by 0 ### Grid Engine — Solar Farm Page - File: globalgrid2050/grid_engine/202609060318-solar-farm/index.html (HTML, 329 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060318-solar-farm/index.html#L1-L329 - Page: https://code.globalgrid2050.com/explore-code/s/0057.html#f3 - Published at: https://globalgrid2050.com/grid_engine/202609060318-solar-farm/ - Synopsis: A web page in GlobalGrid2050 covering cables and uses data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060318-solar-farm/. - What it achieves (comment): It parses poly (`parsePoly`) and is built from the num step (`num`) and the fig step (`fig`). Solar Farm Workbench — Ventus Grid Engine. It responds to input events. - What it does: It draws cables. Defines 7 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'farm'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: cables. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060318-solar-farm/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `parsePoly(raw)`; `render()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 6 estate files (link 6); used by 3; mentioned by 0 ### 002 Solar Daily MWh Standalone - File: globalgrid2050/gridbot_manifests/002_solar_daily_mwh_standalone.yml (YAML, 48 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/gridbot_manifests/002_solar_daily_mwh_standalone.yml#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0057.html#f4 - Synopsis: A configuration file in the gridbot manifests folder of GlobalGrid2050 covering solar. - What it achieves (comment): Lift the proven Solar daily MWh chart out of the existing MW generation chart section and convert it into a standalone daily energy module with its own Solar-only controls. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 010 Generation History Solar UI - File: globalgrid2050/gridbot_manifests/010_generation_history_solar_ui.yml (YAML, 52 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/gridbot_manifests/010_generation_history_solar_ui.yml#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/0058.html#f1 - Synopsis: A configuration file in the gridbot manifests folder of GlobalGrid2050 covering solar. - What it achieves (comment): GridBot manifest for Generation History V6 Solar UI integration Audit first, apply second. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 011 Generation History Solar Recent - File: globalgrid2050/gridbot_manifests/011_generation_history_solar_recent.yml (YAML, 51 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/gridbot_manifests/011_generation_history_solar_recent.yml#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/0058.html#f2 - Synopsis: A configuration file in the gridbot manifests folder of GlobalGrid2050 covering solar. - What it achieves (comment): GridBot manifest for Generation History V6 Solar recent 30 minute heartbeat Audit first, apply second. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Array Lab - File: globalgrid2050/kuiper-grid/drawing/array-lab.js (JavaScript, 438 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/drawing/array-lab.js#L1-L438 - Page: https://code.globalgrid2050.com/explore-code/s/0058.html#f3 - Published at: https://globalgrid2050.com/kuiper-grid/drawing/ - Synopsis: A JavaScript file in the drawing folder of GlobalGrid2050 that draws generic models, Kuiper table recipe and cables. Served with the page at https://globalgrid2050.com/kuiper-grid/drawing/. - What it achieves (name): It sets camera (`setCamera`), restores camera (`restoreCamera`) and syncs engine (`syncEngine`). Defines `error`, `historyButtons`, `cameraSnapshot` and 45 more. It reads `./generic-models.json`. It responds to wheel, pointerdown and pointermove events. - What it does: It draws generic models, Kuiper table recipe and cables. Defines 51 functions or classes, including $, error, historyButtons, cameraSnapshot, setCamera. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables. - Inputs & outputs: In: JSON file generic-models.json; form fields (user input). Out: JSON file kuiper-table-recipe.json; downloaded file kuiper-table-recipe.json; canvas drawing. - Downstream impact: Used directly by 1 file: Kuiper Grid — Drawing Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/). Reached from 109 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/drawing/. - Signatures: `$(id)`; `error(message)`; `historyButtons()`; `cameraSnapshot()`; `setCamera(x,y,z)`; `restoreCamera(saved)`; `engineInput(r)`; `engineResult(r)`; `syncEngine(savedCamera=null)`; `id(n)`; `dist(a,b)`; `length(pts)`; `finite(v,name,min,max)`; `eq(a,b)`; `clone(x)`; `readControls()`; `validate(r)`; `point(p,name)`; `baseCorners(r)`; `build(r)`; `world(x,y)`; `oriented(x,y)`; `posePoint(origin,tilt,azimuth,rotation,u,v)`; `fromUV(u,v)`; `transform(a,b)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generic-models.json; form fields (user input)]; out [JSON file kuiper-table-recipe.json; downloaded file kuiper-table-recipe.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Array Visibility and Mwp Sizing - File: globalgrid2050/scripts/add_v7_gis_sld_array_visibility_and_mwp_sizing.py (Python, 454 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/add_v7_gis_sld_array_visibility_and_mwp_sizing.py#L1-L454 - Page: https://code.globalgrid2050.com/explore-code/s/0059.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads solar and battery storage (BESS). - What it achieves (comment): It replaces once (`replace_once`) and is built from the string sizing helper (`string_sizing`) and the central sizing helper (`central_sizing`). Add V7 GIS SLD array visibility toggle and target MWp DC sizing control. Its code works with 33 kV. - What it does: It loads solar and battery storage (BESS). Defines 7 functions or classes, including string_sizing, central_sizing, main, read, write. Uses libraries __future__, datetime, pathlib, math. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), 33kV. - Inputs & outputs: In: form fields (user input). Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Array Visibility and Mwp Sizing Workflow (globalgrid2050). - Signatures: `string_sizing(target_mwp, mod_wp, x_mods, z_strings, y_invs, current_skids_per_ring)`; `central_sizing(target_mwp, inv_dc_mwp, inv_per_skid, current_skids_per_ring)`; `main()`; `read(path: Path)`; `write(path: Path, text: str)`; `replace_once(text: str, old: str, new: str, label: str)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [33kV] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Site Intelligence Panel - File: globalgrid2050/scripts/add_v7_gis_sld_site_intelligence_panel.py (Python, 571 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/add_v7_gis_sld_site_intelligence_panel.py#L1-L571 - Page: https://code.globalgrid2050.com/explore-code/s/0060.html#f1 - Synopsis: A Python command-line tool in the scripts folder covering grid 66kV, grid 132kV, grid 275kV and grid 400kV. - What it achieves (comment): It is built from the read step (`read`) and the write step (`write`). Turn a map click into structured site context. - Show nearest operating solar, battery energy storage system (BESS), onshore wind, offshore wind, substation and voltage corridors. - Keep this as screening intelligence only, not formal design or grid capacity confirmation. Its code works with 132 kV, 275 kV and 400 kV. It reads `/dist/repd_master.json`. - What it does: It draws grid 66kV, grid 132kV, grid 275kV and grid 400kV. Defines read, write, main. Uses libraries __future__, datetime, pathlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 400kV, 275kV, 132kV, 66kV. - Inputs & outputs: In: GeoJSON file grid_66kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_400kv.geojson; JSON file repd_master.json. Voltage levels named: 400kV, 275kV, 132kV, 66kV. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Site Intelligence Panel Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_66kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_400kv.geojson; JSON file repd_master.json]; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### GlobalGrid2050 Add V8 Battery Energy Storage System (BESS) Geospatial Layout Drawing - File: globalgrid2050/scripts/add_v8_bess_geospatial_layout_drawing.py (Python, 366 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/add_v8_bess_geospatial_layout_drawing.py#L1-L366 - Page: https://code.globalgrid2050.com/explore-code/s/0061.html#f1 - Synopsis: A Python command-line tool in the scripts folder that maps BESS layout, BESS geo layout, BESS path line and BESS grid point. - What it achieves (comment): It patches index (`patch_index`), patches CSS (`patch_css`) and patches js (`patch_js`). Add geospatial BESS layout drawing to the V8 BESS GIS single-line diagram (SLD) sandbox. - What it does: It maps BESS layout, BESS geo layout, BESS path line and BESS grid point. Defines patch_index, patch_css, patch_js, write_report, main. Uses libraries __future__, datetime, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: form fields (user input). Out: downloaded file v8-bess-layout.geojson; interactive map. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Add V8 Battery Energy Storage System (BESS) Geospatial Layout Drawing Workflow (globalgrid2050). - Signatures: `patch_index()`; `patch_css()`; `patch_js()`; `write_report()`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [downloaded file v8-bess-layout.geojson; interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Build Pvlive Solar Browser V6 - File: globalgrid2050/scripts/build_pvlive_solar_browser_v6.py (Python, 96 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/build_pvlive_solar_browser_v6.py#L1-L96 - Page: https://code.globalgrid2050.com/explore-code/s/0061.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads pvlive solar daily candidate and pvlive solar daily browser, using SHA-256. - What it achieves (name): Defines `write_text` and `load_rows`. It accepts `--max-bytes`. - What it does: It loads pvlive solar daily candidate and pvlive solar daily browser. Defines write_text, load_rows, main. Uses libraries __future__, argparse, hashlib, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file pvlive_solar_daily_candidate.json; JSON file pvlive_solar_daily_browser.json; JSON file pvlive_solar_daily_browser.manifest.json; JSON file PVLIVE_SOLAR_BROWSER_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Step2 Build Pvlive Solar Browser V6 Workflow (globalgrid2050). - Signatures: `write_text(path: Path, text: str)`; `load_rows()`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pvlive_solar_daily_candidate.json; JSON file pvlive_solar_daily_browser.json; JSON file pvlive_solar_daily_browser.manifest.json; JSON file PVLIVE_SOLAR_BROWSER_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Build V8 Battery Energy Storage System (BESS) GIS Single-Line Diagram (SLD) Financial Sandbox - File: globalgrid2050/scripts/build_v8_bess_gis_sld_financial_sandbox.py (Python, 633 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/build_v8_bess_gis_sld_financial_sandbox.py#L1-L633 - Page: https://code.globalgrid2050.com/explore-code/s/0062.html#f1 - Synopsis: A Python command-line tool in the scripts folder that maps battery storage (BESS), cables, transformers and solar. It is built from the write step (`write`). - What it achieves (comment): Leave V7 stable. - Create a BESS only main frame app for V8. - Keep the GIS, SLD and finance concept. - Remove PV specific logic from the BESS layout app. - Keep cable sizing and protection coordination out… Its code works with 50 MW and 150 MWh. It writes `index.html`. - What it does: It maps battery storage (BESS), cables, transformers and solar. Defines write, main. Uses libraries __future__, datetime, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), cables, transformers, solar. - Inputs & outputs: In: JSON file style.json; form fields (user input). Out: interactive map; SVG drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Build V8 Battery Energy Storage System (BESS) GIS Single-Line Diagram (SLD) Financial… (globalgrid2050). - Signatures: `write(path: Path, text: str)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file style.json; form fields (user input)]; out [interactive map; SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Create V8 Battery Energy Storage System (BESS) Electrical Topology Review - File: globalgrid2050/scripts/create_v8_bess_electrical_topology_review.py (Python, 453 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/create_v8_bess_electrical_topology_review.py#L1-L453 - Page: https://code.globalgrid2050.com/explore-code/s/0063.html#f1 - Synopsis: A Python command-line tool in the scripts folder covering battery storage (BESS), cables, transformers and solar. It is built from the write step (`write`). - What it achieves (comment): This is the BESS equivalent of the V7 DC AC LV topology review, but it is created under V8 so V7 can remain stable. Its code works with 0 MW. It writes `index.html`. - What it does: It draws battery storage (BESS), cables, transformers and solar. Defines write, main. Uses libraries __future__, datetime, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), cables, transformers, solar. - Inputs & outputs: In: form fields (user input). Out: SVG drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Create V8 Battery Energy Storage System (BESS) Electrical Topology Review Workflow (globalgrid2050). - Signatures: `write(path: Path, text: str)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Create V8 Battery Energy Storage System (BESS) Pcs Standalone - File: globalgrid2050/scripts/create_v8_bess_pcs_standalone.py (Python, 267 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/create_v8_bess_pcs_standalone.py#L1-L267 - Page: https://code.globalgrid2050.com/explore-code/s/0064.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads battery storage (BESS), solar and cables, using IEC 60287. - What it achieves (comment): It copies app (`copy_app`), patches index (`patch_index`) and writes v8 launcher (`write_v8_launcher`). Create V8 BESS PCS standalone study app from stable V7 GIS single-line diagram (SLD) sandbox. - What it does: It loads battery storage (BESS), solar and cables. Defines 6 functions or classes, including ensure_source, copy_app, patch_index, write_v8_launcher, write_report. Uses libraries __future__, datetime, shutil, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar, cables. - Inputs & outputs: In: form fields (user input). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Create V8 Battery Energy Storage System (BESS) Pcs Standalone Workflow (globalgrid2050). - Signatures: `ensure_source()`; `copy_app()`; `patch_index()`; `write_v8_launcher()`; `write_report()`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Download Pvlive Solar History - File: globalgrid2050/scripts/download_pvlive_solar_history.py (Python, 200 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/download_pvlive_solar_history.py#L1-L200 - Page: https://code.globalgrid2050.com/explore-code/s/0064.html#f2 - Synopsis: A Python command-line tool in the scripts folder that fetches Elexon generation sources half hourly and solar. It loads existing (`load_existing`) and writes CSV (`write_csv`). - What it achieves (name): Defines `utc_now`, `iso_z`, `normalise_mw` and 8 more. - What it does: It fetches Elexon generation sources half hourly and solar. Defines 12 functions or classes, including utc_now, iso_z, normalise_mw, load_existing, write_csv. Uses libraries csv, datetime, json, os, urllib.parse. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: In: CSV file elexon_generation_sources_half_hourly.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Elexon Generation Sources Weekly Workflow (globalgrid2050). - Signatures: `utc_now()`; `iso_z(value)`; `normalise_mw(value)`; `load_existing()`; `write_csv(rows_by_key)`; `http_json(url)`; `extract_rows(payload)`; `parse_row(row, fetched_at)`; `candidate_urls(start_dt, end_dt)`; `fetch_window(start_dt, end_dt)`; `write_report(status, days, fetched_rows, total_rows, working_url, detail)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file elexon_generation_sources_half_hourly.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Fetch Pvlive Solar Candidate V6 - File: globalgrid2050/scripts/fetch_pvlive_solar_candidate_v6.py (Python, 214 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/fetch_pvlive_solar_candidate_v6.py#L1-L214 - Page: https://code.globalgrid2050.com/explore-code/s/0064.html#f3 - Synopsis: A Python command-line tool in the scripts folder that fetches pvlive solar daily candidate, using SHA-256. It extracts rows (`extract_rows`), parses power (`parse_power`) and parses pvlive row (`parse_pvlive_row`). - What it achieves (name): Defines `utc_now`, `iso_z`, `http_json` and 8 more. It accepts `--days`. - What it does: It fetches pvlive solar daily candidate. Defines 12 functions or classes, including utc_now, iso_z, http_json, extract_rows, parse_power. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file pvlive_solar_daily_candidate.json; JSON file PVLIVE_SOLAR_CANDIDATE_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Step1 Fetch Pvlive Solar Candidate V6 Workflow (globalgrid2050). - Signatures: `utc_now()`; `iso_z(value: Any)`; `http_json(url: str)`; `extract_rows(payload: Any)`; `parse_power(value: Any)`; `parse_pvlive_row(row: Any)`; `candidate_urls(start: dt.datetime, end: dt.datetime)`; `fetch_day(day: dt.date)`; `load_existing()`; `write_json(path: Path, payload: Any)`; `write_report(report: dict[str, Any])`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pvlive_solar_daily_candidate.json; JSON file PVLIVE_SOLAR_CANDIDATE_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Array Toggle Visibility - File: globalgrid2050/scripts/fix_v7_gis_sld_mobile_array_toggle_visibility.py (Python, 141 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/fix_v7_gis_sld_mobile_array_toggle_visibility.py#L1-L141 - Page: https://code.globalgrid2050.com/explore-code/s/0065.html#f1 - Synopsis: A Python command-line tool in the scripts folder. - What it achieves (comment): Fix V7 GIS SLD mobile map control wrapping so ARRAY ON/OFF remains visible. - What it does: It loads data. Defines main. Uses libraries __future__, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Array Toggle Visibility Workflow (globalgrid2050). - Signatures: `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Generation History Solar - File: globalgrid2050/scripts/gridbot_generation_history_solar.py (Python, 441 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_generation_history_solar.py#L1-L441 - Page: https://code.globalgrid2050.com/explore-code/s/0065.html#f2 - Synopsis: A Python command-line tool in the scripts folder that fetches generation daily mw spine fuelhh candidate and Elexon generation sources, using SHA-256. - What it achieves (comment): It reads text (`read_text`), reads JSON (`read_json`) and writes JSON (`write_json`). Audit first, apply second. This script follows the GridBot Mega Upgrade pattern: manifest driven phases, audit mode by default, apply only where a phase declares `applyByDefault` true. It accepts `--manifest`, `--apply` and `--phase`. - What it does: It fetches generation daily mw spine fuelhh candidate and Elexon generation sources. Defines 21 functions or classes, including utc_now, stamp, rel, read_text, read_json. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file generation_daily_mw_spine_fuelhh_candidate.json; JSON file elexon_generation_sources_2016.json; JSON file GENERATION_HISTORY_SOLAR_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Generation History Solar Workflow (globalgrid2050). - Signatures: `utc_now()`; `stamp()`; `rel(path: Path)`; `read_text(path: Path)`; `read_json(path: Path)`; `write_json(path: Path, payload: Any, compact: bool = False)`; `load_manifest(path: Path)`; `iso_z(value: Any)`; `parse_float(value: Any)`; `http_json(url: str)`; `extract_rows(payload: Any)`; `parse_pvlive_row(row: Any)`; `candidate_urls(day: dt.date)`; `fetch_day(day: dt.date)`; `pvlive_endpoint_audit(days: int)`; `fetch_candidate(output_path: str, days: int, apply: bool)`; `build_browser(input_path: str, output_path: str, max_bytes: int, apply: bool)`; `ui_wire_audit(config_path: str, loader_path: str, index_path: str, solar_path: str)`; `wire_ui(config_path: str, loader_path: str, index_path: str, solar_path: str, apply: bool)`; `render_report(payload: dict[str, Any])`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generation_daily_mw_spine_fuelhh_candidate.json; JSON file elexon_generation_sources_2016.json; JSON file GENERATION_HISTORY_SOLAR_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Generation History Solar Recent - File: globalgrid2050/scripts/gridbot_generation_history_solar_recent.py (Python, 375 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_generation_history_solar_recent.py#L1-L375 - Page: https://code.globalgrid2050.com/explore-code/s/0066.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches generation daily mw spine fuelhh candidate and pvlive solar daily browser, using SHA-256. - What it achieves (comment): It reads text (`read_text`), reads JSON (`read_json`) and loads manifest (`load_manifest`). GridBot Generation History Solar recent heartbeat orchestrator. It accepts `--manifest`, `--apply` and `--phase`. - What it does: It fetches generation daily mw spine fuelhh candidate and pvlive solar daily browser. Defines 19 functions or classes, including utc_now, stamp, read_text, read_json, load_manifest. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file generation_daily_mw_spine_fuelhh_candidate.json; JSON file pvlive_solar_daily_browser.json; JSON file GENERATION_HISTORY_SOLAR_RECENT_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Generation History Solar Recent Workflow (globalgrid2050). - Signatures: `utc_now()`; `stamp()`; `read_text(path: Path)`; `read_json(path: Path)`; `load_manifest(path: Path)`; `iso_z(value: Any)`; `parse_float(value: Any)`; `http_json(url: str)`; `extract_rows(payload: Any)`; `parse_pvlive_row(row: Any)`; `candidate_urls(start: dt.datetime, end: dt.datetime)`; `fetch_range(days: int)`; `existing_recent_audit(config_path: str, loader_path: str, recent_path: str)`; `pvlive_recent_audit(days: int)`; `build_recent_browser(output_path: str, days: int, max_bytes: int, apply: bool)`; `solar_recent_ui_audit(config_path: str, loader_path: str, solar_recent_path: str)`; `wire_solar_recent(config_path: str, loader_path: str, solar_recent_path: str, apply: bool)`; `render_report(payload: dict[str, Any])`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generation_daily_mw_spine_fuelhh_candidate.json; JSON file pvlive_solar_daily_browser.json; JSON file GENERATION_HISTORY_SOLAR_RECENT_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot London Solar Daylight Geometry - File: globalgrid2050/scripts/gridbot_london_solar_daylight_geometry.py (Python, 428 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_london_solar_daylight_geometry.py#L1-L428 - Page: https://code.globalgrid2050.com/explore-code/s/0067.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads sunrise sunset time bands reference. It reads JSON if exists (`read_json_if_exists`), compares previous sunrise API (`compare_with_previous_sunrise_api`) and writes report (`write_report`). - What it achieves (comment): `/uk_energy_tracking_v6/generation_history/`. It accepts `--year` and `--apply`. - What it does: It loads sunrise sunset time bands reference. Defines 17 functions or classes, including now, rel, write, is_leap_year, days_in_year. Uses libraries __future__, argparse, datetime, json, math. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file LONDON_SOLAR_DAYLIGHT_GEOMETRY_LATEST.json; JSON file sunrise_sunset_time_bands_reference.json; command-line arguments. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Gridbot London Solar Daylight Geometry Workflow (globalgrid2050); Concept Compute (globalgrid2050). Reached from 3 other entry points, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Testcode Dual Compute Workflow (globalgrid2050); Test Dual Compute (globalgrid2050). - Signatures: `now()`; `rel(path: Path)`; `write(path: Path, text: str)`; `is_leap_year(year: int)`; `days_in_year(year: int)`; `hhmm(value: dt.datetime)`; `iso_minute(value: dt.datetime)`; `minutes_to_utc(day: dt.date, minutes: float)`; `time_to_minutes(value: str)`; `solar_geometry_for_day(day: dt.date)`; `read_json_if_exists(path: Path)`; `compare_with_previous_sunrise_api(rows: list[dict])`; `build(year: int)`; `checks(payload: dict, meta: dict)`; `report_lines(report: dict)`; `write_report(report: dict)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file LONDON_SOLAR_DAYLIGHT_GEOMETRY_LATEST.json; JSON file sunrise_sunset_time_bands_reference.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Daily MWh Index Upgrade - File: globalgrid2050/scripts/gridbot_solar_daily_mwh_index_upgrade.py (Python, 85 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_solar_daily_mwh_index_upgrade.py#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/0067.html#f2 - Synopsis: A Python command-line tool in the scripts folder that works with solar peak MWh (`solar_peak_mwh`), covering pvlive solar daily browser and solar daily mwh chart upgrade, using SHA-256. - What it achieves (name): Defines `sha`, `solar_peak_mwh` and `patch`. It accepts `--apply`. - What it does: It draws pvlive solar daily browser and solar daily mwh chart upgrade. Defines sha, solar_peak_mwh, patch, main. Uses libraries __future__, argparse, hashlib, json, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file pvlive_solar_daily_browser.json; JSON file SOLAR_DAILY_MWH_CHART_UPGRADE_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Solar Daily MWh Chart Upgrade Workflow (globalgrid2050). - Signatures: `sha(text)`; `solar_peak_mwh()`; `patch(text)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pvlive_solar_daily_browser.json; JSON file SOLAR_DAILY_MWH_CHART_UPGRADE_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Daily MWh Interaction Upgrade - File: globalgrid2050/scripts/gridbot_solar_daily_mwh_interaction_upgrade.py (Python, 222 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_solar_daily_mwh_interaction_upgrade.py#L1-L222 - Page: https://code.globalgrid2050.com/explore-code/s/0068.html#f1 - Synopsis: A Python command-line tool in the scripts folder that patches index (`patch_index`) and control (`patch_control`) and renders report (`render_report`) (units: MWh, MW), covering pvlive solar daily browser. - What it achieves (name): It is built from the solar audit helper (`solar_audit`) and the branch exists helper (`branch_exists`). Defines `utc_now`, `git_head`, `read` and 5 more. It accepts `--apply`. - What it does: It draws pvlive solar daily browser. Defines 9 functions or classes, including utc_now, git_head, read, patch_index, patch_control. Uses libraries __future__, argparse, json, re, subprocess. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file pvlive_solar_daily_browser.json; JSON file SOLAR_DAILY_MWH_INTERACTION_LATEST.json; form fields (user input); command-line arguments. Out: canvas drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Solar Daily MWh Interaction Upgrade Workflow (globalgrid2050). - Signatures: `utc_now()`; `git_head()`; `read(path: Path)`; `patch_index(text: str)`; `patch_control(text: str)`; `solar_audit()`; `branch_exists(name: str)`; `render_report(payload: dict[str, Any])`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pvlive_solar_daily_browser.json; JSON file SOLAR_DAILY_MWH_INTERACTION_LATEST.json; form fields (user input); command-line arguments]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Daily MWh Readability Upgrade - File: globalgrid2050/scripts/gridbot_solar_daily_mwh_readability_upgrade.py (Python, 135 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_solar_daily_mwh_readability_upgrade.py#L1-L135 - Page: https://code.globalgrid2050.com/explore-code/s/0068.html#f2 - Synopsis: A Python command-line tool in the scripts folder that patches index (`patch_index`) and renders report (`render_report`) (units: MWh, MW), covering pvlive solar daily browser. - What it achieves (name): It is built from the solar audit helper (`solar_audit`) and the slim step (`slim`). Defines `utc_now`, `git_head`, `read` and 4 more. It accepts `--apply`. - What it does: It draws pvlive solar daily browser. Defines 8 functions or classes, including utc_now, git_head, read, patch_index, solar_audit. Uses libraries __future__, argparse, json, re, subprocess. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file pvlive_solar_daily_browser.json; JSON file SOLAR_DAILY_MWH_READABILITY_LATEST.json; command-line arguments. Out: canvas drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Solar Daily MWh Readability Upgrade Workflow (globalgrid2050). - Signatures: `utc_now()`; `git_head()`; `read(p: Path)`; `patch_index(text: str)`; `solar_audit()`; `slim(r)`; `render_report(payload: dict[str, Any])`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pvlive_solar_daily_browser.json; JSON file SOLAR_DAILY_MWH_READABILITY_LATEST.json; command-line arguments]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Daily MWh Standalone Upgrade - File: globalgrid2050/scripts/gridbot_solar_daily_mwh_standalone_upgrade.py (Python, 221 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_solar_daily_mwh_standalone_upgrade.py#L1-L221 - Page: https://code.globalgrid2050.com/explore-code/s/0068.html#f3 - Synopsis: A Python command-line tool in the scripts folder that patches index (`patch_index`) and renderer (`patch_renderer`) and renders report (`render_report`) (units: MWh, MW), covering pvlive solar daily browser, using SHA-256. - What it achieves (name): It is built from the read step (`read`), the solar audit helper (`solar_audit`) and the positions step (`positions`). Defines `utc_now`, `sha`, `git_head` and 7 more. It accepts `--apply`. - What it does: It draws pvlive solar daily browser. Defines 11 functions or classes, including utc_now, sha, git_head, read, solar_audit. Uses libraries __future__, argparse, hashlib, json, subprocess. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file pvlive_solar_daily_browser.json; JSON file SOLAR_DAILY_MWH_STANDALONE_LATEST.json; form fields (user input); command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Solar Daily MWh Standalone Upgrade Workflow (globalgrid2050). - Signatures: `utc_now()`; `sha(text: str)`; `git_head()`; `read(path: Path)`; `solar_audit()`; `patch_index(text: str)`; `patch_renderer(text: str)`; `positions(text: str)`; `raw_temp_audit()`; `render_report(payload: dict[str, Any])`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pvlive_solar_daily_browser.json; JSON file SOLAR_DAILY_MWH_STANDALONE_LATEST.json; form fields (user input); command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Historic Backfill - File: globalgrid2050/scripts/gridbot_solar_historic_backfill.py (Python, 181 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_solar_historic_backfill.py#L1-L181 - Page: https://code.globalgrid2050.com/explore-code/s/0069.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches pvlive solar daily candidate and pvlive solar daily browser, using SHA-256. It parses float (`parse_float`) and parses MW (`parse_mw`). - What it achieves (name): Defines `utc_now`, `fetch_json`, `rows_from` and 5 more. It accepts `--start-date`, `--end-date` and `--max-days`. - What it does: It fetches pvlive solar daily candidate and pvlive solar daily browser. Defines 9 functions or classes, including utc_now, fetch_json, rows_from, parse_float, parse_mw. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file pvlive_solar_daily_candidate.json; JSON file pvlive_solar_daily_browser.json; JSON file SOLAR_HISTORIC_BACKFILL_LATEST.json; command-line arguments. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Gridbot Solar 10 Year Backfill Workflow (globalgrid2050); GlobalGrid2050 Gridbot Solar Historic Backfill Workflow (globalgrid2050). - Signatures: `utc_now()`; `fetch_json(url: str)`; `rows_from(payload)`; `parse_float(value)`; `parse_mw(row)`; `fetch_day(day: dt.date)`; `load_existing(path: Path)`; `write_report(payload)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pvlive_solar_daily_candidate.json; JSON file pvlive_solar_daily_browser.json; JSON file SOLAR_HISTORIC_BACKFILL_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Immediate Data - File: globalgrid2050/scripts/gridbot_solar_immediate_data.py (Python, 142 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_solar_immediate_data.py#L1-L142 - Page: https://code.globalgrid2050.com/explore-code/s/0069.html#f2 - Synopsis: A Python command-line tool in the scripts folder that fetches pvlive solar recent 30d 30min browser, using SHA-256. It parses row (`parse_row`) and writes report (`write_report`). - What it achieves (name): Defines `now_utc`, `fetch_json`, `rows_from` and 4 more. It accepts `--days` and `--apply`. - What it does: It fetches pvlive solar recent 30d 30min browser. Defines 8 functions or classes, including now_utc, fetch_json, rows_from, iso_z, parse_row. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file pvlive_solar_recent_30d_30min_browser.json; JSON file SOLAR_IMMEDIATE_DATA_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Solar Immediate Data Workflow (globalgrid2050). - Signatures: `now_utc()`; `fetch_json(url: str)`; `rows_from(payload)`; `iso_z(value)`; `parse_row(row)`; `build(days: int)`; `write_report(payload)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pvlive_solar_recent_30d_30min_browser.json; JSON file SOLAR_IMMEDIATE_DATA_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Monthly Backfill - File: globalgrid2050/scripts/gridbot_solar_monthly_backfill.py (Python, 119 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_solar_monthly_backfill.py#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/0069.html#f3 - Synopsis: A Python command-line tool in the scripts folder that fetches pvlive solar daily candidate, pvlive solar daily browser and pvlive solar daily backfill progress, using SHA-256. - What it achieves (name): It gets JSON (`get_json`), parses row (`parse_row`) and fetches month (`fetch_month`). Defines `utc_now`, `month_key`, `month_start` and 11 more. It accepts `--start-month`, `--end-month` and `--max-months`. - What it does: It fetches pvlive solar daily candidate, pvlive solar daily browser and pvlive solar daily backfill progress. Defines 15 functions or classes, including utc_now, month_key, month_start, next_month, month_end. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file pvlive_solar_daily_candidate.json; JSON file pvlive_solar_daily_browser.json; JSON file pvlive_solar_daily_BACKFILL_PROGRESS.json; JSON file SOLAR_MONTHLY_BACKFILL_LATEST.json; command-line arguments. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Gridbot Solar Monthly Backfill Workflow (globalgrid2050); GlobalGrid2050 Gridbot Solar Monthly Backfill Auto Workflow (globalgrid2050). - Signatures: `utc_now()`; `month_key(d)`; `month_start(s)`; `next_month(d)`; `month_end(d)`; `iso_z(v)`; `get_json(url)`; `rows_from(p)`; `parse_row(r)`; `fetch_month(mstart)`; `load_rows(path)`; `load_progress()`; `write_json(path,payload)`; `write_report(payload)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pvlive_solar_daily_candidate.json; JSON file pvlive_solar_daily_browser.json; JSON file pvlive_solar_daily_BACKFILL_PROGRESS.json; JSON file SOLAR_MONTHLY_BACKFILL_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Peak Integrity Audit - File: globalgrid2050/scripts/gridbot_solar_peak_integrity_audit.py (Python, 335 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_solar_peak_integrity_audit.py#L1-L335 - Page: https://code.globalgrid2050.com/explore-code/s/0070.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches pvlive solar daily browser, pvlive solar daily candidate and pvlive solar recent 30d 30min browser, using SHA-256. - What it achieves (name): It parses time (`parse_time`) and compares day (`compare_day`). Defines `utc_now`, `load_json`, `sha256_file` and 17 more. It accepts `--start-month`, `--end-month` and `--dates`. - What it does: It fetches pvlive solar daily browser, pvlive solar daily candidate, pvlive solar recent 30d 30min browser and pvlive solar daily backfill progress. Defines 21 functions or classes, including utc_now, load_json, sha256_file, payload_rows, as_float. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file pvlive_solar_daily_browser.json; JSON file pvlive_solar_daily_candidate.json; JSON file pvlive_solar_recent_30d_30min_browser.json; JSON file pvlive_solar_daily_BACKFILL_PROGRESS.json; JSON file SOLAR_PEAK_INTEGRITY_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Solar Peak Integrity Audit Workflow (globalgrid2050). - Signatures: `utc_now()`; `load_json(path: Path)`; `sha256_file(path: Path)`; `payload_rows(payload: dict)`; `as_float(value)`; `month_start(value: str)`; `next_month(value: dt.date)`; `month_key(value: dt.date)`; `expected_months(start_month: str, end_month: str)`; `month_expected_days(month: str)`; `parse_time(value)`; `row_time(row)`; `row_mw(row)`; `api_fetch_day(day: str)`; `daily_index(daily_rows: list)`; `coverage(daily_rows: list, start_month: str, end_month: str)`; `top_daily_highs(daily_rows: list, limit: int)`; `recent_peak(recent_rows: list)`; `field_integrity(daily_rows: list)`; `compare_day(stored, fetched)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pvlive_solar_daily_browser.json; JSON file pvlive_solar_daily_candidate.json; JSON file pvlive_solar_recent_30d_30min_browser.json; JSON file pvlive_solar_daily_BACKFILL_PROGRESS.json; JSON file SOLAR_PEAK_INTEGRITY_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Patch V8 Battery Energy Storage System (BESS) Tabs Small Step - File: globalgrid2050/scripts/patch_v8_bess_tabs_small_step.py (Python, 187 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v8_bess_tabs_small_step.py#L1-L187 - Page: https://code.globalgrid2050.com/explore-code/s/0070.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads battery storage (BESS), cables and transformers. - What it achieves (name): Defines `replace_panel` and `append_once`. Its code works with 50 MW. - What it does: It loads battery storage (BESS), cables and transformers. Defines replace_panel, append_once, main. Uses libraries pathlib, datetime. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), cables, transformers. - Inputs & outputs: In: form fields (user input). - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `replace_panel(text: str)`; `append_once(text: str, marker: str, block: str)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Rebuild V8 Battery Energy Storage System (BESS) from V7 GIS Frame - File: globalgrid2050/scripts/rebuild_v8_bess_from_v7_gis_frame.py (Python, 470 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/rebuild_v8_bess_from_v7_gis_frame.py#L1-L470 - Page: https://code.globalgrid2050.com/explore-code/s/0071.html#f1 - Synopsis: A Python command-line tool in the scripts folder that maps BESS layout, BESS path, battery storage (BESS) and cables. - What it achieves (comment): It copies v7 frame (`copy_v7_frame`), patches index (`patch_index`) and patches CSS (`patch_css`). Rebuild V8 BESS GIS single-line diagram (SLD) app from the working V7 GIS SLD frame. Its code works with 50 MW. - What it does: It maps BESS layout, BESS path, battery storage (BESS) and cables. Defines 7 functions or classes, including ensure_sources, copy_v7_frame, patch_index, patch_css, patch_js. Uses libraries __future__, datetime, shutil, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), cables. - Inputs & outputs: In: form fields (user input). Out: downloaded file v8-bess-layout.geojson. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Rebuild V8 Battery Energy Storage System (BESS) from V7 GIS Frame Workflow (globalgrid2050). - Signatures: `ensure_sources()`; `copy_v7_frame()`; `patch_index()`; `patch_css()`; `patch_js()`; `write_docs()`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [downloaded file v8-bess-layout.geojson]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Restore V5 Panels - File: globalgrid2050/scripts/repair_v6_restore_v5_panels.py (Python, 268 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_restore_v5_panels.py#L1-L268 - Page: https://code.globalgrid2050.com/explore-code/s/0072.html#f1 - Synopsis: A Python module in the scripts folder that draws live grid energy, live grid price, live oil prices and electricity price history daily decade. - What it does: It draws live grid energy, live grid price, live oil prices and electricity price history daily decade. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panels'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; JSON file electricity_price_history.json; JSON file electricity_price_history_daily_decade.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json. Out: canvas drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Restore V5 Panels Workflow (globalgrid2050). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; JSON file electricity_price_history.json; JSON file electricity_price_history_daily_decade.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Test Add V8 Battery Energy Storage System (BESS) Geospatial Layout Drawing - File: globalgrid2050/scripts/test_add_v8_bess_geospatial_layout_drawing.py (Python, 52 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_add_v8_bess_geospatial_layout_drawing.py#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/0072.html#f2 - Synopsis: A test in the scripts folder covering battery storage (BESS) and cables. - What it does: It tests battery storage (BESS) and cables. Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), cables. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Add V8 Battery Energy Storage System (BESS) Geospatial Layout Drawing Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Test Build V8 Battery Energy Storage System (BESS) GIS Single-Line Diagram (SLD) Financial… - File: globalgrid2050/scripts/test_build_v8_bess_gis_sld_financial_sandbox.py (Python, 73 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_build_v8_bess_gis_sld_financial_sandbox.py#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/0072.html#f3 - Synopsis: A test in the scripts folder covering battery storage (BESS), solar and cables. - What it does: It tests battery storage (BESS), solar and cables. Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), solar, cables. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Build V8 Battery Energy Storage System (BESS) GIS Single-Line Diagram (SLD) Financial… (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Test Create V8 Battery Energy Storage System (BESS) Electrical Topology Review - File: globalgrid2050/scripts/test_create_v8_bess_electrical_topology_review.py (Python, 50 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_create_v8_bess_electrical_topology_review.py#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0072.html#f4 - Synopsis: A test in the scripts folder covering battery storage (BESS) and solar. - What it does: It tests battery storage (BESS) and solar. Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Create V8 Battery Energy Storage System (BESS) Electrical Topology Review Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Test Create V8 Battery Energy Storage System (BESS) Pcs Standalone - File: globalgrid2050/scripts/test_create_v8_bess_pcs_standalone.py (Python, 45 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_create_v8_bess_pcs_standalone.py#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0072.html#f5 - Synopsis: A test in the scripts folder covering battery storage (BESS) and solar. - What it does: It tests battery storage (BESS) and solar. Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Create V8 Battery Energy Storage System (BESS) Pcs Standalone Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Test Patch V8 Battery Energy Storage System (BESS) Tabs Small Step - File: globalgrid2050/scripts/test_patch_v8_bess_tabs_small_step.py (Python, 58 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_patch_v8_bess_tabs_small_step.py#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/0072.html#f6 - Synopsis: A test in the scripts folder covering battery storage (BESS). - What it does: It tests battery storage (BESS). Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Test Rebuild V8 Battery Energy Storage System (BESS) from V7 GIS Frame - File: globalgrid2050/scripts/test_rebuild_v8_bess_from_v7_gis_frame.py (Python, 74 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_rebuild_v8_bess_from_v7_gis_frame.py#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/0072.html#f7 - Synopsis: A test in the scripts folder covering battery storage (BESS) and solar. - What it does: It tests battery storage (BESS) and solar. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar. - Inputs & outputs: Out: interactive map. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Rebuild V8 Battery Energy Storage System (BESS) from V7 GIS Frame Workflow (globalgrid2050). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Test Restore V8 Battery Energy Storage System (BESS) MapLibre Standalone - File: globalgrid2050/scripts/test_restore_v8_bess_maplibre_standalone.py (Python, 70 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_restore_v8_bess_maplibre_standalone.py#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/0072.html#f8 - Synopsis: A test in the scripts folder covering battery storage (BESS) and solar. - What it does: It tests battery storage (BESS) and solar. Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Restore V8 Battery Energy Storage System (BESS) MapLibre Standalone Workflow (globalgrid2050). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Test V7 GIS Single-Line Diagram (SLD) Array Sizing Math - File: globalgrid2050/scripts/test_v7_gis_sld_array_sizing_math.py (Python, 66 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_v7_gis_sld_array_sizing_math.py#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/0073.html#f1 - Synopsis: A test in the scripts folder. It is built from the string sizing helper (`string_sizing`) and the central sizing helper (`central_sizing`). - What it achieves (comment): Static and maths checks for V7 GIS SLD array MWp sizing. - What it does: It tests its inputs. Defines string_sizing, central_sizing, main. Uses libraries __future__, math, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Array Visibility and Mwp Sizing (globalgrid2050); GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Array Visibility and Mwp Sizing Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `string_sizing(target_mwp, mod_wp, x_mods, z_strings, y_invs, current_skids_per_ring)`; `central_sizing(target_mwp, inv_dc_mwp, inv_per_skid, current_skids_per_ring)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GlobalGrid2050 Test V7 GIS Single-Line Diagram (SLD) Site Intelligence Panel - File: globalgrid2050/scripts/test_v7_gis_sld_site_intelligence_panel.py (Python, 21 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_v7_gis_sld_site_intelligence_panel.py#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0073.html#f2 - Synopsis: A test in the scripts folder. - What it achieves (comment): Static checks for V7 GIS SLD Site Intelligence Panel. Its code works with 132 kV, 275 kV and 400 kV. - What it does: It tests its inputs. Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 400kV, 275kV, 132kV, 66kV. - Inputs & outputs: In: JSON file repd_master.json. Voltage levels named: 400kV, 275kV, 132kV, 66kV. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Site Intelligence Panel (globalgrid2050); GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Site Intelligence Panel Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file repd_master.json]; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GlobalGrid2050 Wire Pvlive Solar UI V6 - File: globalgrid2050/scripts/wire_pvlive_solar_ui_v6.py (Python, 93 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/wire_pvlive_solar_ui_v6.py#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/0073.html#f3 - Synopsis: A Python command-line tool in the scripts folder that reads pvlive solar daily browser and Elexon generation sources. It patches loader (`patch_loader`). - What it achieves (name): Defines `utc_now`, `replace_once`, `patch_config` and 3 more. - What it does: It loads pvlive solar daily browser and Elexon generation sources. Defines 7 functions or classes, including utc_now, replace_once, patch_config, patch_loader, patch_index_note. Uses libraries __future__, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file pvlive_solar_daily_browser.json; JSON file elexon_generation_sources_2016.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Step3 Wire Pvlive Solar UI V6 Workflow (globalgrid2050). - Signatures: `utc_now()`; `replace_once(text: str, old: str, new: str, label: str)`; `patch_config()`; `patch_loader()`; `patch_index_note()`; `write_report(changes: dict[str, bool])`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pvlive_solar_daily_browser.json; JSON file elexon_generation_sources_2016.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V2 - File: globalgrid2050/solar-bess-topology-v2/gis-sld-v2.css (CSS, 543 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v2/gis-sld-v2.css#L1-L543 - Page: https://code.globalgrid2050.com/explore-code/s/0073.html#f4 - Synopsis: A style sheet in GlobalGrid2050 covering battery storage (BESS). - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS). - Downstream impact: Used directly by 3 files: Indexforgis Single-Line Diagram (SLD) V2 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v2/indexforgis-sld-v2.html); Indexforgis Single-Line Diagram (SLD) V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/indexforgis-sld-v3.html); Module Layout V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html). Reached from 1 other entry point, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V3 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Indexforgis Single-Line Diagram (SLD) V2 - File: globalgrid2050/solar-bess-topology-v2/indexforgis-sld-v2.html (HTML, 1406 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v2/indexforgis-sld-v2.html#L1-L1406 - Page: https://code.globalgrid2050.com/explore-code/s/0074.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v2/indexforgis-sld-v2.html - Synopsis: A map page in GlobalGrid2050 that maps sat s, l sat, l subs and topology, and uses data from OpenStreetMap Nominatim. Published at https://globalgrid2050.com/solar-bess-topology-v2/indexforgis-sld-v2.html. - What it achieves (comment): It shows popup (`showPopup`), reads physical inputs (`readPhysicalInputs`) and builds stats (`buildStats`). GIS SLD Financial Sandbox V2. Its code works with 33 kV. It responds to click, keydown and change events. - What it does: It maps sat s, l sat, l subs and topology. Defines 35 functions or classes, including initMap, onMapLoad, showPopup, onSubstationClick, onInverterClick. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV. - Inputs & outputs: In: data source: OpenStreetMap Nominatim; JSON file style.json; form fields (user input). Out: web page; interactive map. Voltage levels named: 33kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v2/indexforgis-sld-v2.html. - Signatures: `initMap()`; `onMapLoad()`; `showPopup(coords, html)`; `onSubstationClick(e)`; `onInverterClick(e)`; `onPoiClick(e)`; `readPhysicalInputs(suffix)`; `zeroStats(dc_ac_ratio, mods_pallet, mods_container)`; `buildStats(opts)`; `dc_mwp(module_count * mod_wp)`; `computeStringStats()`; `computeCentralStats()`; `str_dc_kwp(x_mods * physical.mod_wp)`; `computeStats()`; `applyDevelopmentStageDefaults(prefix)`; `computeFinance(prefix, stats)`; `renderFinance(prefix, fin)`; `renderFinanceWarnings(prefix, fin, stats)`; `renderTechSummary(stats)`; `renderBenchmark()`; `updateSelectedSubstationDisplay()`; `recalcAll()`; `updateLegend()`; `getRectPolygon(centerCoord, width_km, length_km, propType)`; `getBlockAspect()` (and 13 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap Nominatim; JSON file style.json; form fields (user input)]; out [web page; interactive map]; crs []; voltages [33kV] - Edges: uses 5 estate files (script-src 4, stylesheet 1); used by 0; mentioned by 1 ### GIS Single-Line Diagram (SLD) V3 Calculations - File: globalgrid2050/solar-bess-topology-v3/gis-sld-v3-calculations.js (JavaScript, 105 lines) · role electrical · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v3/gis-sld-v3-calculations.js#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/0076.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v3/ - Synopsis: A JavaScript file in GlobalGrid2050 that reads physical inputs (`readPhysicalInputs`), builds stats (`buildStats`) and computes stats (`computeStringStats`) (units: MW). Served with the page at https://globalgrid2050.com/solar-bess-topology-v3/. - What it achieves (comment): It reads physical inputs (`readPhysicalInputs`), builds stats (`buildStats`) and computes string stats (`computeStringStats`). AGGREGATE STATS (single unified function). - What it does: It calculates its inputs. Defines 6 functions or classes, including readPhysicalInputs, zeroStats, buildStats, computeStringStats, computeCentralStats. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Indexforgis Single-Line Diagram (SLD) V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/indexforgis-sld-v3.html); Indexforgis Single-Line Diagram (SLD) V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/indexforgis-sld-v4.html). Reached from 6 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V3 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/); GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V4 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/); Module Layout V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v3/. - Signatures: `readPhysicalInputs(suffix)`; `zeroStats(dc_ac_ratio, mods_pallet, mods_container)`; `buildStats(opts)`; `dc_mwp(module_count * mod_wp)`; `computeStringStats()`; `computeCentralStats()`; `str_dc_kwp(x_mods * physical.mod_wp)`; `computeStats()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GIS Single-Line Diagram (SLD) V3 Config - File: globalgrid2050/solar-bess-topology-v3/gis-sld-v3-config.js (JavaScript, 24 lines) · role electrical · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v3/gis-sld-v3-config.js#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0076.html#f3 - Published at: https://globalgrid2050.com/solar-bess-topology-v3/ - Synopsis: A JavaScript file in GlobalGrid2050 covering grid substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v3/. - What it achieves (comment): GIS SLD Financial Sandbox V3. Config extracted by GridBot feature 002. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Indexforgis Single-Line Diagram (SLD) V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/indexforgis-sld-v3.html); Module Layout V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html). Reached from 1 other entry point, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V3 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v3/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GIS Single-Line Diagram (SLD) V3 Drawing - File: globalgrid2050/solar-bess-topology-v3/gis-sld-v3-drawing.js (JavaScript, 203 lines) · role geodesy · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v3/gis-sld-v3-drawing.js#L1-L203 - Page: https://code.globalgrid2050.com/explore-code/s/0076.html#f4 - Published at: https://globalgrid2050.com/solar-bess-topology-v3/ - Synopsis: A JavaScript file in GlobalGrid2050 that works with battery storage (BESS) and substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v3/. - What it achieves (name): It gets array axis deg (`getArrayAxisDeg`), gets rect polygon (`getRectPolygon`) and gets block aspect (`getBlockAspect`). Defines `normBearing`, `getArrayAxisDeg`, `getRectPolygon` and 5 more. Its code works with 33 kV. - What it does: It calculates battery storage (BESS) and substations. Defines 8 functions or classes, including normBearing, getArrayAxisDeg, getRectPolygon, getBlockAspect, getExportCableExtraKm. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), substations, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/indexforgis-sld-v3.html). Reached from 2 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V3 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/); Module Layout V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v3/. - Signatures: `normBearing(deg)`; `getArrayAxisDeg()`; `getRectPolygon(centerCoord, width_km, length_km, propType, rotationDeg = 0)`; `getBlockAspect()`; `getExportCableExtraKm()`; `buildExportCableLine(privateSubCoord, publicSubCoord, safeExtraOffsetKm)`; `addCableRouteWaypointMarkers(features)`; `computeAndDraw()`; `bess_area_km2(bess_mwh * CONSTANTS.BESS_M2_PER_MWH)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V3 Export - File: globalgrid2050/solar-bess-topology-v3/gis-sld-v3-export.js (JavaScript, 148 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v3/gis-sld-v3-export.js#L1-L148 - Page: https://code.globalgrid2050.com/explore-code/s/0076.html#f5 - Published at: https://globalgrid2050.com/solar-bess-topology-v3/ - Synopsis: A JavaScript file in GlobalGrid2050 that exports geo (`exportGeoJSON`) (units: MW, MWh, kV). Served with the page at https://globalgrid2050.com/solar-bess-topology-v3/. - What it achieves (name): It exports geo JSON (`exportGeoJSON`) and is built from the trigger download helper (`triggerDownload`). Defines `exportGeoJSON` and `triggerDownload`. - What it does: It draws its content. Defines exportGeoJSON, triggerDownload. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 7 files: Indexforgis Single-Line Diagram (SLD) V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/indexforgis-sld-v3.html); Indexforgis Single-Line Diagram (SLD) V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/indexforgis-sld-v4.html); Indexforgis Single-Line Diagram (SLD) V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html); Solar Battery Energy Storage System (BESS) Topology V6 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/); and 3 more. Reached from 170 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v3/. - Signatures: `exportGeoJSON()`; `triggerDownload(data)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### GIS Single-Line Diagram (SLD) V3 Finance - File: globalgrid2050/solar-bess-topology-v3/gis-sld-v3-finance.js (JavaScript, 192 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v3/gis-sld-v3-finance.js#L1-L192 - Page: https://code.globalgrid2050.com/explore-code/s/0077.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v3/ - Synopsis: A JavaScript file in GlobalGrid2050 that applies development stage defaults (`applyDevelopmentStageDefaults`) and renders finance warnings (`renderFinanceWarnings`) (units: MW, MWh), covering battery storage (BESS). Served with the page at https://globalgrid2050.com/solar-bess-topology-v3/. - What it achieves (name): It applies development stage defaults (`applyDevelopmentStageDefaults`), computes finance (`computeFinance`) and renders finance (`renderFinance`). Defines `applyDevelopmentStageDefaults`, `computeFinance`, `renderFinance` and 1 more. - What it does: It draws battery storage (BESS). Defines applyDevelopmentStageDefaults, computeFinance, renderFinance, renderFinanceWarnings. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS). - Downstream impact: Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/indexforgis-sld-v3.html). Reached from 2 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V3 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/); Module Layout V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v3/. - Signatures: `applyDevelopmentStageDefaults(prefix)`; `computeFinance(prefix, stats)`; `renderFinance(prefix, fin)`; `renderFinanceWarnings(prefix, fin, stats)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V3 Helpers - File: globalgrid2050/solar-bess-topology-v3/gis-sld-v3-helpers.js (JavaScript, 75 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v3/gis-sld-v3-helpers.js#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0077.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v3/ - Synopsis: A JavaScript file in GlobalGrid2050 that sets class (`setClass`), picks prop (`pickProp`) and sets fetch status (`setFetchStatus`). Served with the page at https://globalgrid2050.com/solar-bess-topology-v3/. - What it achieves (comment): It sets text (`setText`), sets class (`setClass`) and picks prop (`pickProp`). GIS SLD Financial Sandbox V3. Helpers extracted by GridBot feature 003. - What it does: Defines 11 functions or classes, including $, num, intVal, checked, setText. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Indexforgis Single-Line Diagram (SLD) V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/indexforgis-sld-v3.html); Module Layout V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html). Reached from 1 other entry point, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V3 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v3/. - Signatures: `$(id)`; `num(id)`; `intVal(id, fallback = 0)`; `checked(id)`; `setText(id, val)`; `setClass(id, cls)`; `money(v)`; `debounce(fn, ms)`; `isValidLngLat(c)`; `pickProp(obj, keys, fallback = null)`; `setFetchStatus(msg, isError)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GIS Single-Line Diagram (SLD) V3 Map - File: globalgrid2050/solar-bess-topology-v3/gis-sld-v3-map.js (JavaScript, 188 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v3/gis-sld-v3-map.js#L1-L188 - Page: https://code.globalgrid2050.com/explore-code/s/0077.html#f3 - Published at: https://globalgrid2050.com/solar-bess-topology-v3/ - Synopsis: A JavaScript file in GlobalGrid2050 that maps sat s, l sat, l subs and topology. Served with the page at https://globalgrid2050.com/solar-bess-topology-v3/. - What it achieves (name): It shows popup (`showPopup`) and is built from the init map helper (`initMap`) and the on map load helper (`onMapLoad`). Defines `initMap`, `onMapLoad`, `showPopup` and 3 more. - What it does: It maps sat s, l sat, l subs and topology. Defines 6 functions or classes, including initMap, onMapLoad, showPopup, onSubstationClick, onInverterClick. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV. - Inputs & outputs: In: JSON file style.json. Out: interactive map. Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/indexforgis-sld-v3.html). Reached from 2 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V3 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/); Module Layout V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v3/. - Signatures: `initMap()`; `onMapLoad()`; `showPopup(coords, html)`; `onSubstationClick(e)`; `onInverterClick(e)`; `onPoiClick(e)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file style.json]; out [interactive map]; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V3 State - File: globalgrid2050/solar-bess-topology-v3/gis-sld-v3-state.js (JavaScript, 23 lines) · role electrical · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v3/gis-sld-v3-state.js#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/0077.html#f4 - Published at: https://globalgrid2050.com/solar-bess-topology-v3/ - Synopsis: A JavaScript file in GlobalGrid2050. Served with the page at https://globalgrid2050.com/solar-bess-topology-v3/. - What it achieves (comment): GIS SLD Financial Sandbox V3. State extracted by GridBot feature 004. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/indexforgis-sld-v3.html). Reached from 2 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V3 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/); Module Layout V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v3/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V3 Substations - File: globalgrid2050/solar-bess-topology-v3/gis-sld-v3-substations.js (JavaScript, 83 lines) · role electrical · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v3/gis-sld-v3-substations.js#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/0077.html#f5 - Published at: https://globalgrid2050.com/solar-bess-topology-v3/ - Synopsis: A JavaScript file in GlobalGrid2050 that fetches substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v3/. It normalises substations (`normaliseSubstations`) and loads substations (`loadSubstations`). - What it achieves (comment): GIS SLD Financial Sandbox V3. Substation data loading extracted by GridBot feature 005. - What it does: It fetches substations. Defines normaliseSubstations, loadSubstations. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations. - Downstream impact: Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/indexforgis-sld-v3.html). Reached from 2 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V3 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/); Module Layout V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v3/. - Signatures: `normaliseSubstations(raw)`; `loadSubstations()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V3 UI Core - File: globalgrid2050/solar-bess-topology-v3/gis-sld-v3-ui-core.js (JavaScript, 95 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v3/gis-sld-v3-ui-core.js#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/0077.html#f6 - Published at: https://globalgrid2050.com/solar-bess-topology-v3/ - Synopsis: A JavaScript file in GlobalGrid2050 that renders tech summary (`renderTechSummary`) and benchmark (`renderBenchmark`) and updates selected substation display (`updateSelectedSubstationDisplay`) (units: MW). Served with the page at https://globalgrid2050.com/solar-bess-topology-v3/. - What it achieves (name): It renders tech summary (`renderTechSummary`), renders benchmark (`renderBenchmark`) and updates selected substation display (`updateSelectedSubstationDisplay`). Defines `renderTechSummary`, `renderBenchmark`, `updateSelectedSubstationDisplay` and 2 more. Its code works with 33 kV. - What it does: It draws substations, battery storage (BESS) and 33kV. Defines renderTechSummary, renderBenchmark, updateSelectedSubstationDisplay, recalcAll, updateLegend. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, battery storage (BESS), 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 2 files: Indexforgis Single-Line Diagram (SLD) V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/indexforgis-sld-v3.html); Indexforgis Single-Line Diagram (SLD) V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/indexforgis-sld-v4.html). Reached from 6 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V3 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/); GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V4 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/); Module Layout V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v3/. - Signatures: `renderTechSummary(stats)`; `renderBenchmark()`; `updateSelectedSubstationDisplay()`; `recalcAll()`; `updateLegend()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GIS Single-Line Diagram (SLD) V3 UI - File: globalgrid2050/solar-bess-topology-v3/gis-sld-v3-ui.js (JavaScript, 384 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v3/gis-sld-v3-ui.js#L1-L384 - Page: https://code.globalgrid2050.com/explore-code/s/0078.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v3/ - Synopsis: A JavaScript file in GlobalGrid2050 covering cables and uses data from OpenStreetMap Nominatim. Served with the page at https://globalgrid2050.com/solar-bess-topology-v3/. - What it achieves (name): It applies logistics preset (`applyLogisticsPreset`), updates export cable length display (`updateExportCableLengthDisplay`) and updates array rotation display (`updateArrayRotationDisplay`). Defines `switchTab`, `applyLogisticsPreset`, `autoFillBifacial` and 22 more. It responds to click, keydown and change events. - What it does: It draws cables. Defines 25 functions or classes, including switchTab, applyLogisticsPreset, autoFillBifacial, updateExportCableLengthDisplay, updateArrayRotationDisplay. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: data source: OpenStreetMap Nominatim; form fields (user input). - Downstream impact: Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/indexforgis-sld-v3.html). Reached from 2 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V3 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/); Module Layout V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v3/. - Signatures: `switchTab(tab)`; `applyLogisticsPreset(val, suffix)`; `autoFillBifacial(gcrVal, targetId)`; `updateExportCableLengthDisplay()`; `updateArrayRotationDisplay()`; `rotateArrayBy(deltaDeg)`; `resetArrayRotation()`; `updateCableRouteStatus()`; `injectExportCableLengthControl()`; `redrawIfTopologyExists()`; `setArrayMoveStatus(text, active = false)`; `toggleArrayMoveMode()`; `resetArrayLocation()`; `placeArrayAtMapPoint(e)`; `startCableRouteMode()`; `finishCableRouteMode()`; `clearCableRoute()`; `addCableRouteWaypoint(e)`; `searchLocation()`; `triggerDrawAtCenter()`; `toggleBasemap()`; `toggleSubs()`; `wireEvents()`; `wireMapMoveEvents()`; `boot()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap Nominatim; form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V3 Page - File: globalgrid2050/solar-bess-topology-v3/index.html (HTML, 12 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v3/index.html#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0078.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v3/ - Synopsis: A web page. Published at https://globalgrid2050.com/solar-bess-topology-v3/. - What it achieves (comment): GIS single-line diagram (SLD) Financial Sandbox V3. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v3/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 0; mentioned by 0 ### Indexforgis Single-Line Diagram (SLD) V3 - File: globalgrid2050/solar-bess-topology-v3/indexforgis-sld-v3.html (HTML, 408 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v3/indexforgis-sld-v3.html#L1-L408 - Page: https://code.globalgrid2050.com/explore-code/s/0079.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v3/indexforgis-sld-v3.html - Synopsis: A web page in GlobalGrid2050 that reads inputs for loc, mod wp and mod (units: MW, MWh), covering battery storage (BESS), solar, substations and cables. Published at https://globalgrid2050.com/solar-bess-topology-v3/indexforgis-sld-v3.html. - What it achieves (comment): GIS SLD Financial Sandbox V3. Its code works with 33 kV. - What it does: It draws battery storage (BESS), solar, substations and cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar, substations, cables, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 33kV. - Downstream impact: Used directly by 2 files: GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V3 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/); Module Layout V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v3/indexforgis-sld-v3.html. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [33kV] - Edges: uses 12 estate files (script-src 11, stylesheet 1); used by 2; mentioned by 0 ### Module Layout V3 - File: globalgrid2050/solar-bess-topology-v3/module-layout-v3.css (CSS, 222 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v3/module-layout-v3.css#L1-L222 - Page: https://code.globalgrid2050.com/explore-code/s/0079.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v3/ - Synopsis: A style sheet in GlobalGrid2050. Served with the page at https://globalgrid2050.com/solar-bess-topology-v3/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Module Layout V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html); Module Layout V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/module-layout-v4.html). Reached from 2 other entry points, including GlobalGrid2050 Clone V3 to V4 Once Workflow (globalgrid2050); GlobalGrid2050 Clone V3 to V4 (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v3/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Module Layout V3 - File: globalgrid2050/solar-bess-topology-v3/module-layout-v3.html (HTML, 90 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v3/module-layout-v3.html#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/0080.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html - Synopsis: A web page in GlobalGrid2050 that reads inputs for ml total modules, ml module width and ml module height. Published at https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 6 estate files (script-src 3, stylesheet 2, link 1); used by 0; mentioned by 0 ### Module Layout V3 - File: globalgrid2050/solar-bess-topology-v3/module-layout-v3.js (JavaScript, 296 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v3/module-layout-v3.js#L1-L296 - Page: https://code.globalgrid2050.com/explore-code/s/0080.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v3/ - Synopsis: A JavaScript file in GlobalGrid2050 that maps ml sat, ml boundary fill and ml boundary line. Served with the page at https://globalgrid2050.com/solar-bess-topology-v3/. - What it achieves (name): It is built from the ml num helper (`mlNum`), the ml int helper (`mlInt`) and the ml set status helper (`mlSetStatus`). Defines `mlNum`, `mlInt`, `mlSetStatus` and 14 more. It responds to input, change and click events. - What it does: It maps ml sat, ml boundary fill and ml boundary line. Defines 18 functions or classes, including ml, mlNum, mlInt, mlSetStatus, mlSetText. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file style.json. Out: interactive map. - Downstream impact: Used directly by 6 files: Module Layout V3 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v3/module-layout-v3.html); Module Layout V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/module-layout-v4.html); Module Layout V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/module-layout-v5.html); Solar Battery Energy Storage System (BESS) Topology V6 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/module-layout/); and 2 more. Reached from 157 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v3/. - Signatures: `ml(id)`; `mlNum(id, fallback = 0)`; `mlInt(id, fallback = 0)`; `mlSetStatus(text)`; `mlSetText(id, text)`; `mlGetInputs()`; `mlPointFromOffset(centerCoord, acrossM, alongM, axisDeg)`; `mlRect(centerCoord, widthM, lengthM, type, axisDeg, props = {})`; `mlUpdateResults(inputs, renderedCount)`; `mlBuildLayout(centerCoord)`; `mlDrawAtMapCentre()`; `mlClear()`; `mlZoomToLayout()`; `mlToggleSatellite()`; `mlTogglePickMode()`; `mlWireInputs()`; `mlInitMap()`; `mlBoot()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file style.json]; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### GIS Single-Line Diagram (SLD) V4 Config - File: globalgrid2050/solar-bess-topology-v4/gis-sld-v4-config.js (JavaScript, 24 lines) · role electrical · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v4/gis-sld-v4-config.js#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0080.html#f3 - Published at: https://globalgrid2050.com/solar-bess-topology-v4/ - Synopsis: A JavaScript file in GlobalGrid2050 covering grid substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v4/. - What it achieves (comment): GIS SLD Financial Sandbox V4. Config extracted by GridBot feature 002. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Indexforgis Single-Line Diagram (SLD) V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/indexforgis-sld-v4.html); Module Layout V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/module-layout-v4.html). Reached from 3 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V4 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/); GlobalGrid2050 Clone V3 to V4 Once Workflow (globalgrid2050); GlobalGrid2050 Clone V3 to V4 (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v4/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GIS Single-Line Diagram (SLD) V4 Drawing - File: globalgrid2050/solar-bess-topology-v4/gis-sld-v4-drawing.js (JavaScript, 234 lines) · role geodesy · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v4/gis-sld-v4-drawing.js#L1-L234 - Page: https://code.globalgrid2050.com/explore-code/s/0080.html#f4 - Published at: https://globalgrid2050.com/solar-bess-topology-v4/ - Synopsis: A JavaScript file in GlobalGrid2050 that works with battery storage (BESS) and substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v4/. - What it achieves (name): It gets array axis deg (`getArrayAxisDeg`), gets rect polygon (`getRectPolygon`) and routes length km (`routeLengthKm`). Defines `normBearing`, `getArrayAxisDeg`, `getRectPolygon` and 9 more. Its code works with 33 kV. - What it does: It calculates battery storage (BESS) and substations. Defines 12 functions or classes, including normBearing, getArrayAxisDeg, getRectPolygon, atlasHaversineKm, routeLengthKm. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), substations, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 3 files: Indexforgis Single-Line Diagram (SLD) V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/indexforgis-sld-v4.html); Indexforgis Single-Line Diagram (SLD) V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html); Solar Battery Energy Storage System (BESS) Topology V6 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/). Reached from 111 other entry points, including Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html); DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v4/. - Signatures: `normBearing(deg)`; `getArrayAxisDeg()`; `getRectPolygon(centerCoord, width_km, length_km, propType, rotationDeg = 0)`; `atlasHaversineKm(a, b)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `routeLengthKm(coords)`; `getBlockAspect()`; `getExportCableExtraKm()`; `getCommittedCablePins()`; `shouldShowExportCable()`; `buildExportCableLine(privateSubCoord, publicSubCoord, safeExtraOffsetKm)`; `addCableRoutePinMarkers(features)`; `computeAndDraw()`; `bess_area_km2(bess_mwh * CONSTANTS.BESS_M2_PER_MWH)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GIS Single-Line Diagram (SLD) V4 Finance - File: globalgrid2050/solar-bess-topology-v4/gis-sld-v4-finance.js (JavaScript, 262 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v4/gis-sld-v4-finance.js#L1-L262 - Page: https://code.globalgrid2050.com/explore-code/s/0081.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v4/ - Synopsis: A JavaScript file in GlobalGrid2050 that sets finance label (`setFinanceLabel`), applies development stage defaults (`applyDevelopmentStageDefaults`) and renders finance warnings (`renderFinanceWarnings`) (units: MW, MWh). Served with the page at https://globalgrid2050.com/solar-bess-topology-v4/. - What it achieves (name): It sets finance label (`setFinanceLabel`), converts large default wp (`convertLargeDefaultToWp`) and sets finance input defaults wp (`setFinanceInputDefaultsForWp`). Defines `setFinanceLabel`, `convertLargeDefaultToWp`, `setFinanceInputDefaultsForWp` and 5 more. It responds to DOMContentLoaded events. - What it does: It draws battery storage (BESS). Defines 8 functions or classes, including setFinanceLabel, convertLargeDefaultToWp, setFinanceInputDefaultsForWp, migrateFinanceUnitsToWp, applyDevelopmentStageDefaults. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS). - Downstream impact: Used directly by 6 files: Indexforgis Single-Line Diagram (SLD) V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/indexforgis-sld-v4.html); Indexforgis Single-Line Diagram (SLD) V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html); Solar Battery Energy Storage System (BESS) Topology V6 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/); and 2 more. Reached from 168 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v4/. - Signatures: `setFinanceLabel(inputId, labelText)`; `convertLargeDefaultToWp(inputId)`; `setFinanceInputDefaultsForWp(prefix)`; `migrateFinanceUnitsToWp()`; `applyDevelopmentStageDefaults(prefix)`; `computeFinance(prefix, stats)`; `renderFinance(prefix, fin)`; `renderFinanceWarnings(prefix, fin, stats)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### GIS Single-Line Diagram (SLD) V4 Helpers - File: globalgrid2050/solar-bess-topology-v4/gis-sld-v4-helpers.js (JavaScript, 75 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v4/gis-sld-v4-helpers.js#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0081.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v4/ - Synopsis: A JavaScript file in GlobalGrid2050 that sets class (`setClass`), picks prop (`pickProp`) and sets fetch status (`setFetchStatus`). Served with the page at https://globalgrid2050.com/solar-bess-topology-v4/. - What it achieves (comment): It sets text (`setText`), sets class (`setClass`) and picks prop (`pickProp`). GIS SLD Financial Sandbox V4. Helpers extracted by GridBot feature 003. - What it does: Defines 11 functions or classes, including $, num, intVal, checked, setText. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Indexforgis Single-Line Diagram (SLD) V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/indexforgis-sld-v4.html); Module Layout V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/module-layout-v4.html). Reached from 3 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V4 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/); GlobalGrid2050 Clone V3 to V4 Once Workflow (globalgrid2050); GlobalGrid2050 Clone V3 to V4 (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v4/. - Signatures: `$(id)`; `num(id)`; `intVal(id, fallback = 0)`; `checked(id)`; `setText(id, val)`; `setClass(id, cls)`; `money(v)`; `debounce(fn, ms)`; `isValidLngLat(c)`; `pickProp(obj, keys, fallback = null)`; `setFetchStatus(msg, isError)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GIS Single-Line Diagram (SLD) V4 Map - File: globalgrid2050/solar-bess-topology-v4/gis-sld-v4-map.js (JavaScript, 216 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v4/gis-sld-v4-map.js#L1-L216 - Page: https://code.globalgrid2050.com/explore-code/s/0081.html#f3 - Published at: https://globalgrid2050.com/solar-bess-topology-v4/ - Synopsis: A JavaScript file in GlobalGrid2050 that maps sat s, l sat, l subs and topology. Served with the page at https://globalgrid2050.com/solar-bess-topology-v4/. - What it achieves (name): It shows popup (`showPopup`) and is built from the init map helper (`initMap`) and the on map load helper (`onMapLoad`). Defines `initMap`, `onMapLoad`, `showPopup` and 4 more. - What it does: It maps sat s, l sat, l subs and topology. Defines 7 functions or classes, including initMap, onMapLoad, showPopup, onSubstationClick, onInverterClick. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV. - Inputs & outputs: In: JSON file style.json. Out: interactive map. Voltage levels named: 33kV. - Downstream impact: Used directly by 2 files: Indexforgis Single-Line Diagram (SLD) V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/indexforgis-sld-v4.html); Indexforgis Single-Line Diagram (SLD) V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html). Reached from 107 other entry points, including Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html); DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v4/. - Signatures: `initMap()`; `onMapLoad()`; `showPopup(coords, html)`; `onSubstationClick(e)`; `onInverterClick(e)`; `onCableRoutePinClick(e)`; `onPoiClick(e)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file style.json]; out [interactive map]; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GIS Single-Line Diagram (SLD) V4 State - File: globalgrid2050/solar-bess-topology-v4/gis-sld-v4-state.js (JavaScript, 28 lines) · role electrical · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v4/gis-sld-v4-state.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0081.html#f4 - Published at: https://globalgrid2050.com/solar-bess-topology-v4/ - Synopsis: A JavaScript file in GlobalGrid2050. Served with the page at https://globalgrid2050.com/solar-bess-topology-v4/. - What it achieves (comment): GIS SLD Financial Sandbox V4. State extracted by GridBot feature 004. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/indexforgis-sld-v4.html). Reached from 4 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V4 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/); Module Layout V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/module-layout-v4.html); GlobalGrid2050 Clone V3 to V4 Once Workflow (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v4/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V4 Substations - File: globalgrid2050/solar-bess-topology-v4/gis-sld-v4-substations.js (JavaScript, 83 lines) · role electrical · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v4/gis-sld-v4-substations.js#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/0081.html#f5 - Published at: https://globalgrid2050.com/solar-bess-topology-v4/ - Synopsis: A JavaScript file in GlobalGrid2050 that fetches substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v4/. It normalises substations (`normaliseSubstations`) and loads substations (`loadSubstations`). - What it achieves (comment): GIS SLD Financial Sandbox V4. Substation data loading extracted by GridBot feature 005. - What it does: It fetches substations. Defines normaliseSubstations, loadSubstations. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations. - Downstream impact: Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/indexforgis-sld-v4.html). Reached from 4 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V4 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/); Module Layout V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/module-layout-v4.html); GlobalGrid2050 Clone V3 to V4 Once Workflow (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v4/. - Signatures: `normaliseSubstations(raw)`; `loadSubstations()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V4 UI - File: globalgrid2050/solar-bess-topology-v4/gis-sld-v4-ui.js (JavaScript, 475 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v4/gis-sld-v4-ui.js#L1-L475 - Page: https://code.globalgrid2050.com/explore-code/s/0082.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v4/ - Synopsis: A JavaScript file in GlobalGrid2050 covering cables, using haversine and uses data from OpenStreetMap Nominatim. Served with the page at https://globalgrid2050.com/solar-bess-topology-v4/. - What it achieves (name): It applies logistics preset (`applyLogisticsPreset`), updates export cable length display (`updateExportCableLengthDisplay`) and updates array rotation display (`updateArrayRotationDisplay`). Defines `switchTab`, `applyLogisticsPreset`, `autoFillBifacial` and 30 more. It responds to click, keydown and change events. - What it does: It draws cables. Defines 33 functions or classes, including switchTab, applyLogisticsPreset, autoFillBifacial, updateExportCableLengthDisplay, updateArrayRotationDisplay. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: data source: OpenStreetMap Nominatim; form fields (user input). - Downstream impact: Used directly by 2 files: Indexforgis Single-Line Diagram (SLD) V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/indexforgis-sld-v4.html); Indexforgis Single-Line Diagram (SLD) V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html). Reached from 107 other entry points, including Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html); DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v4/. - Signatures: `switchTab(tab)`; `applyLogisticsPreset(val, suffix)`; `autoFillBifacial(gcrVal, targetId)`; `updateExportCableLengthDisplay()`; `updateArrayRotationDisplay()`; `rotateArrayBy(deltaDeg)`; `resetArrayRotation()`; `getCurrentArrayCenter()`; `getArrayNudgeStepKm()`; `clearRouteAfterArrayShift()`; `nudgeArray(bearingDeg)`; `updateCableRouteStatus()`; `injectExportCableLengthControl()`; `redrawIfTopologyExists()`; `setArrayMoveStatus(text, active = false)`; `toggleArrayMoveMode()`; `resetArrayLocation()`; `placeArrayAtMapPoint(e)`; `toggleCablePinMode()`; `commitCablePinRoute()`; `undoCablePin()`; `clearCableRoute()`; `addCableRoutePin(e)`; `startCableRouteMode()`; `finishCableRouteMode()` (and 8 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap Nominatim; form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GIS Single-Line Diagram (SLD) V4 - File: globalgrid2050/solar-bess-topology-v4/gis-sld-v4.css (CSS, 548 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v4/gis-sld-v4.css#L1-L548 - Page: https://code.globalgrid2050.com/explore-code/s/0083.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v4/ - Synopsis: A style sheet in GlobalGrid2050 covering battery storage (BESS). Served with the page at https://globalgrid2050.com/solar-bess-topology-v4/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS). - Downstream impact: Used directly by 10 files: Indexforgis Single-Line Diagram (SLD) V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/indexforgis-sld-v4.html); Module Layout V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/module-layout-v4.html); DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html); Indexforgis Single-Line Diagram (SLD) V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html); and 6 more. Reached from 156 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v4/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 10; mentioned by 0 ### GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V4 Page - File: globalgrid2050/solar-bess-topology-v4/index.html (HTML, 12 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v4/index.html#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0083.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v4/ - Synopsis: A web page. Published at https://globalgrid2050.com/solar-bess-topology-v4/. - What it achieves (comment): GIS single-line diagram (SLD) Financial Sandbox V4. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Clone V3 to V4 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Clone V3 to V4 Once Workflow (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v4/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 1; mentioned by 0 ### Indexforgis Single-Line Diagram (SLD) V4 - File: globalgrid2050/solar-bess-topology-v4/indexforgis-sld-v4.html (HTML, 421 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v4/indexforgis-sld-v4.html#L1-L421 - Page: https://code.globalgrid2050.com/explore-code/s/0084.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v4/indexforgis-sld-v4.html - Synopsis: A web page in GlobalGrid2050 that reads inputs for loc, mod wp and mod (units: MW, MWh), covering battery storage (BESS), cables, solar and substations. Published at https://globalgrid2050.com/solar-bess-topology-v4/indexforgis-sld-v4.html. - What it achieves (comment): GIS SLD Financial Sandbox V4. Its code works with 33 kV. - What it does: It draws battery storage (BESS), cables, solar and substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), cables, solar, substations, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 33kV. - Downstream impact: Used directly by 3 files: GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V4 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/); Module Layout V4 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v4/module-layout-v4.html); GlobalGrid2050 Clone V3 to V4 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Clone V3 to V4 Once Workflow (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v4/indexforgis-sld-v4.html. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [33kV] - Edges: uses 12 estate files (script-src 11, stylesheet 1); used by 3; mentioned by 0 ### Module Layout V4 - File: globalgrid2050/solar-bess-topology-v4/module-layout-v4.html (HTML, 90 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v4/module-layout-v4.html#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/0084.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v4/module-layout-v4.html - Synopsis: A web page in GlobalGrid2050 that reads inputs for ml total modules, ml module width and ml module height. Published at https://globalgrid2050.com/solar-bess-topology-v4/module-layout-v4.html. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Clone V3 to V4 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Clone V3 to V4 Once Workflow (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v4/module-layout-v4.html. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 6 estate files (script-src 3, stylesheet 2, link 1); used by 1; mentioned by 0 ### DC AC LV Topology Review V5 - File: globalgrid2050/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.css (CSS, 100 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.css#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/0084.html#f3 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/ - Synopsis: A style sheet in GlobalGrid2050. Served with the page at https://globalgrid2050.com/solar-bess-topology-v5/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'ac'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html). Reached from 101 other entry points, including Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### DC AC LV Topology Review V5 - File: globalgrid2050/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html (HTML, 117 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html#L1-L117 - Page: https://code.globalgrid2050.com/explore-code/s/0085.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html - Synopsis: A web page in GlobalGrid2050 that draws SVG graphics and reads inputs for mod wp, voc and vmp (units: MVA, °C, MW). Published at https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html. - What it achieves (name): Its code works with 33 kV and 0 MVA. - What it does: It draws cables, 33kV, solar and transformers. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'ac'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, solar, transformers. - Inputs & outputs: In: form fields (user input). Out: web page; SVG drawing. Voltage levels named: 33kV. - Downstream impact: Used directly by 2 files: Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html); Module Layout V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/module-layout-v5.html). Reached from 99 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; SVG drawing]; crs []; voltages [33kV] - Edges: uses 6 estate files (stylesheet 3, link 2, script-src 1); used by 2; mentioned by 0 ### DC AC LV Topology Review V5 - File: globalgrid2050/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.js (JavaScript, 162 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.js#L1-L162 - Page: https://code.globalgrid2050.com/explore-code/s/0085.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/ - Synopsis: A JavaScript file in GlobalGrid2050 that calculates central (`calcCentral`) and renders stats (`renderStats`) and scada (`renderScada`) (units: MVA, MW, kW). Served with the page at https://globalgrid2050.com/solar-bess-topology-v5/. - What it achieves (name): It renders stats (`renderStats`), renders scada (`renderScada`) and sets mode (`setMode`). Defines `txt`, `fmt`, `read` and 12 more. Its code works with 33 kV. It responds to input, change and click events. - What it does: It draws transformers and cables. Defines 18 functions or classes, including t, n, i, txt, fmt. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'ac'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, cables, 33kV. - Inputs & outputs: Out: SVG drawing. Voltage levels named: 33kV. - Downstream impact: Used directly by 3 files: DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html); Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/); Solar Battery Energy Storage System (BESS) Topology V7 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/dc-ac-lv-topology-review/). Reached from 156 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/. - Signatures: `t(id)`; `n(id, fallback = 0)`; `i(id, fallback = 0)`; `txt(id, value)`; `fmt(v, d = 2)`; `read(prefix)`; `baseCalc(v)`; `calcString()`; `calcCentral()`; `currentCalc()`; `renderStats(r)`; `svgEl(name, attrs = {}, text = null)`; `box(svg, x, y, w, h, title, lines = [], tone = "")`; `line(svg, x1, y1, x2, y2, tone = "")`; `renderScada(r)`; `update()`; `setMode(mode)`; `boot()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GIS Single-Line Diagram (SLD) V4 Config - File: globalgrid2050/solar-bess-topology-v5/gis-sld-v4-config.js (JavaScript, 24 lines) · role electrical · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/gis-sld-v4-config.js#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0085.html#f3 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/ - Synopsis: A JavaScript file in GlobalGrid2050 covering grid substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v5/. - What it achieves (comment): GIS SLD Financial Sandbox V5. Config extracted by GridBot feature 002. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Indexforgis Single-Line Diagram (SLD) V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html); Module Layout V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/module-layout-v5.html). Reached from 102 other entry points, including Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html); DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GIS Single-Line Diagram (SLD) V4 Helpers - File: globalgrid2050/solar-bess-topology-v5/gis-sld-v4-helpers.js (JavaScript, 75 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/gis-sld-v4-helpers.js#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0085.html#f4 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/ - Synopsis: A JavaScript file in GlobalGrid2050 that sets class (`setClass`), picks prop (`pickProp`) and sets fetch status (`setFetchStatus`). Served with the page at https://globalgrid2050.com/solar-bess-topology-v5/. - What it achieves (comment): It sets text (`setText`), sets class (`setClass`) and picks prop (`pickProp`). GIS SLD Financial Sandbox V5. Helpers extracted by GridBot feature 003. - What it does: Defines 11 functions or classes, including $, num, intVal, checked, setText. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Indexforgis Single-Line Diagram (SLD) V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html); Module Layout V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/module-layout-v5.html). Reached from 102 other entry points, including Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html); DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/. - Signatures: `$(id)`; `num(id)`; `intVal(id, fallback = 0)`; `checked(id)`; `setText(id, val)`; `setClass(id, cls)`; `money(v)`; `debounce(fn, ms)`; `isValidLngLat(c)`; `pickProp(obj, keys, fallback = null)`; `setFetchStatus(msg, isError)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GIS Single-Line Diagram (SLD) V4 State - File: globalgrid2050/solar-bess-topology-v5/gis-sld-v4-state.js (JavaScript, 28 lines) · role electrical · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/gis-sld-v4-state.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0085.html#f5 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/ - Synopsis: A JavaScript file in GlobalGrid2050. Served with the page at https://globalgrid2050.com/solar-bess-topology-v5/. - What it achieves (comment): GIS SLD Financial Sandbox V5. State extracted by GridBot feature 004. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html). Reached from 103 other entry points, including Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html); DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V4 Substations - File: globalgrid2050/solar-bess-topology-v5/gis-sld-v4-substations.js (JavaScript, 83 lines) · role electrical · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/gis-sld-v4-substations.js#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/0085.html#f6 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/ - Synopsis: A JavaScript file in GlobalGrid2050 that fetches substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v5/. It normalises substations (`normaliseSubstations`) and loads substations (`loadSubstations`). - What it achieves (comment): GIS SLD Financial Sandbox V5. Substation data loading extracted by GridBot feature 005. - What it does: It fetches substations. Defines normaliseSubstations, loadSubstations. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations. - Downstream impact: Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html). Reached from 103 other entry points, including Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html); DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/. - Signatures: `normaliseSubstations(raw)`; `loadSubstations()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V5 Calculations - File: globalgrid2050/solar-bess-topology-v5/gis-sld-v5-calculations.js (JavaScript, 170 lines) · role electrical · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/gis-sld-v5-calculations.js#L1-L170 - Page: https://code.globalgrid2050.com/explore-code/s/0085.html#f7 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/ - Synopsis: A JavaScript file in GlobalGrid2050 that works with transformers and cables. Served with the page at https://globalgrid2050.com/solar-bess-topology-v5/. - What it achieves (comment): It reads physical inputs (`readPhysicalInputs`), builds stats (`buildStats`) and gets central inverter mwac (`getCentralInverterMwac`). AGGREGATE STATS (single unified function). - What it does: It calculates transformers and cables. Defines 9 functions or classes, including readPhysicalInputs, zeroStats, buildStats, getCentralInverterMwac, getCentralInverterDcMwdc. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, cables. - Downstream impact: Used directly by 7 files: Indexforgis Single-Line Diagram (SLD) V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html); Solar Battery Energy Storage System (BESS) Topology V6 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/); and 3 more. Reached from 165 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/. - Signatures: `readPhysicalInputs(suffix)`; `zeroStats(dc_ac_ratio, mods_pallet, mods_container)`; `buildStats(opts)`; `dc_mwp(module_count * mod_wp)`; `getCentralInverterMwac()`; `getCentralInverterDcMwdc()`; `getCentralSkidMva()`; `computeStringStats()`; `inverter_acmax_mva(y * string_inverter_kva)`; `computeCentralStats()`; `str_dc_kwp(x_mods * physical.mod_wp)`; `computeStats()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 1 ### GIS Single-Line Diagram (SLD) V5 UI Core - File: globalgrid2050/solar-bess-topology-v5/gis-sld-v5-ui-core.js (JavaScript, 103 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/gis-sld-v5-ui-core.js#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/0086.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/ - Synopsis: A JavaScript file in GlobalGrid2050 that renders tech summary (`renderTechSummary`) and benchmark (`renderBenchmark`) and updates selected substation display (`updateSelectedSubstationDisplay`) (units: MVA, MW, kVA). Served with the page at https://globalgrid2050.com/solar-bess-topology-v5/. - What it achieves (name): It renders tech summary (`renderTechSummary`), renders benchmark (`renderBenchmark`) and updates selected substation display (`updateSelectedSubstationDisplay`). Defines `renderTechSummary`, `renderBenchmark`, `updateSelectedSubstationDisplay` and 2 more. Its code works with 33 kV. - What it does: It draws substations, battery storage (BESS) and 33kV. Defines renderTechSummary, renderBenchmark, updateSelectedSubstationDisplay, recalcAll, updateLegend. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, battery storage (BESS), 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html). Reached from 103 other entry points, including Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html); DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/. - Signatures: `renderTechSummary(stats)`; `renderBenchmark()`; `updateSelectedSubstationDisplay()`; `recalcAll()`; `updateLegend()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V5 Page - File: globalgrid2050/solar-bess-topology-v5/index.html (HTML, 12 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/index.html#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0086.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/ - Synopsis: A web page. Published at https://globalgrid2050.com/solar-bess-topology-v5/. - What it achieves (comment): GIS single-line diagram (SLD) Financial Sandbox V5. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Clone V4 to V5 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Clone V4 to V5 Workflow (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 1; mentioned by 0 ### Indexforgis Single-Line Diagram (SLD) V5 - File: globalgrid2050/solar-bess-topology-v5/indexforgis-sld-v5.html (HTML, 433 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/indexforgis-sld-v5.html#L1-L433 - Page: https://code.globalgrid2050.com/explore-code/s/0086.html#f3 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html - Synopsis: A web page in GlobalGrid2050 that reads inputs for loc, mod wp and mod (units: MW, MVA, MWh), covering battery storage (BESS), cables, 33kV and substations. Published at https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html. - What it achieves (comment): GIS SLD Financial Sandbox V5. Its code works with 33 kV, 0.00 MVA and 352 kVA. - What it does: It draws battery storage (BESS), cables, 33kV and substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), cables, 33kV, substations. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 33kV. - Downstream impact: Used directly by 4 files: DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html); GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V5 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/); Module Layout V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/module-layout-v5.html); GlobalGrid2050 Clone V4 to V5 (globalgrid2050). Reached from 99 other entry points, including Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [33kV] - Edges: uses 12 estate files (script-src 11, stylesheet 1); used by 4; mentioned by 0 ### Install DC AC LV 01 HTML - File: globalgrid2050/solar-bess-topology-v5/install_dc_ac_lv_01_html.py (Python, 126 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/install_dc_ac_lv_01_html.py#L1-L126 - Page: https://code.globalgrid2050.com/explore-code/s/0086.html#f4 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/ - Synopsis: A Python module in GlobalGrid2050 covering cables, 33kV, solar and transformers. - What it achieves (name): Its code works with 33 kV and 0 MVA. - What it does: It draws cables, 33kV, solar and transformers. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'ac'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, solar, transformers. - Inputs & outputs: In: form fields (user input). Out: SVG drawing. Voltage levels named: 33kV. - Downstream impact: Used directly by 2 files: GlobalGrid2050 V5 DC AC LV 01 HTML Workflow (globalgrid2050); GlobalGrid2050 V5 DC AC LV Topology Trigger Workflow (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [SVG drawing]; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Install DC AC LV 02 CSS - File: globalgrid2050/solar-bess-topology-v5/install_dc_ac_lv_02_css.py (Python, 109 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/install_dc_ac_lv_02_css.py#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/0087.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/ - Synopsis: A Python module in GlobalGrid2050. - What it does: Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'ac'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: GlobalGrid2050 V5 DC AC LV 02 CSS Workflow (globalgrid2050); GlobalGrid2050 V5 DC AC LV Topology Trigger Workflow (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Install DC AC LV 03 JS - File: globalgrid2050/solar-bess-topology-v5/install_dc_ac_lv_03_js.py (Python, 171 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/install_dc_ac_lv_03_js.py#L1-L171 - Page: https://code.globalgrid2050.com/explore-code/s/0087.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/ - Synopsis: A Python module in GlobalGrid2050 covering transformers and cables. - What it achieves (name): Its code works with 33 kV. - What it does: It draws transformers and cables. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'ac'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, cables, 33kV. - Inputs & outputs: Out: SVG drawing. Voltage levels named: 33kV. - Downstream impact: Used directly by 2 files: GlobalGrid2050 V5 DC AC LV 03 JS Workflow (globalgrid2050); GlobalGrid2050 V5 DC AC LV Topology Trigger Workflow (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Install DC AC LV 04 Link - File: globalgrid2050/solar-bess-topology-v5/install_dc_ac_lv_04_link.py (Python, 18 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/install_dc_ac_lv_04_link.py#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/0087.html#f3 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/ - Synopsis: A Python module in GlobalGrid2050. - What it does: It loads data. Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'ac'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: GlobalGrid2050 V5 DC AC LV 04 Link Workflow (globalgrid2050); GlobalGrid2050 V5 DC AC LV Topology Trigger Workflow (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Install Geometry Visualiser Migration V5 - File: globalgrid2050/solar-bess-topology-v5/install_geometry_visualiser_migration_v5.py (Python, 107 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/install_geometry_visualiser_migration_v5.py#L1-L107 - Page: https://code.globalgrid2050.com/explore-code/s/0087.html#f4 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/ - Synopsis: A Python command-line tool in GlobalGrid2050 that reads cables, solar and battery storage (BESS). It writes report (`write_report`). - What it achieves (name): Defines `replace_once`, `migrate_geometry_app`, `patch_module_layout_link` and 1 more. - What it does: It loads cables, solar and battery storage (BESS). Defines replace_once, migrate_geometry_app, patch_module_layout_link, write_report, main. Uses libraries pathlib, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: GlobalGrid2050 V5 Geometry Visualiser Migration Workflow (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/. - Signatures: `replace_once(text, old, new, label, actions)`; `migrate_geometry_app(actions)`; `patch_module_layout_link(actions)`; `write_report(actions)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Module Layout V5 - File: globalgrid2050/solar-bess-topology-v5/module-layout-v5.css (CSS, 287 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/module-layout-v5.css#L1-L287 - Page: https://code.globalgrid2050.com/explore-code/s/0087.html#f5 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/ - Synopsis: A style sheet in GlobalGrid2050. Served with the page at https://globalgrid2050.com/solar-bess-topology-v5/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 4 files: DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html); Module Layout V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/module-layout-v5.html); Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/); Solar Battery Energy Storage System (BESS) Topology V7 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/dc-ac-lv-topology-review/). Reached from 155 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Module Layout V5 - File: globalgrid2050/solar-bess-topology-v5/module-layout-v5.html (HTML, 90 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v5/module-layout-v5.html#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/0088.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v5/module-layout-v5.html - Synopsis: A web page in GlobalGrid2050 that reads inputs for ml total modules, ml module width and ml module height, covering cables. Published at https://globalgrid2050.com/solar-bess-topology-v5/module-layout-v5.html. - What it does: It draws cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html); DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html); GlobalGrid2050 Clone V4 to V5 (globalgrid2050). Reached from 98 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/module-layout-v5.html. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 8 estate files (link 3, script-src 3, stylesheet 2); used by 3; mentioned by 0 ### DC AC LV Topology Review V5 - File: globalgrid2050/solar-bess-topology-v6/dc-ac-lv-topology-review/dc-ac-lv-topology-review-v5.css (CSS, 594 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/dc-ac-lv-topology-review/dc-ac-lv-topology-review-v5.css#L1-L594 - Page: https://code.globalgrid2050.com/explore-code/s/0088.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/ - Synopsis: A style sheet in GlobalGrid2050. Served with the page at https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'ac'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/); Solar Battery Energy Storage System (BESS) Topology V7 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/dc-ac-lv-topology-review/). Reached from 143 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page - File: globalgrid2050/solar-bess-topology-v6/dc-ac-lv-topology-review/index.html (HTML, 118 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/dc-ac-lv-topology-review/index.html#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/0089.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/ - Synopsis: A web page in GlobalGrid2050 that draws SVG graphics and reads inputs for mod wp, voc and vmp (units: MVA, °C, MW). Published at https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/. - What it achieves (name): Its code works with 33 kV and 0 MVA. - What it does: It draws cables, 33kV, solar and transformers. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'ac'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, solar, transformers. - Inputs & outputs: In: form fields (user input). Out: web page; SVG drawing. Voltage levels named: 33kV. - Downstream impact: Used directly by 3 files: Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/); GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/); Solar Battery Energy Storage System (BESS) Topology V6 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/module-layout/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; SVG drawing]; crs []; voltages [33kV] - Edges: uses 6 estate files (stylesheet 3, link 2, script-src 1); used by 3; mentioned by 0 ### 05 V6 Module Relevance - File: globalgrid2050/solar-bess-topology-v6/docs/training/05_v6_module_relevance.yml (YAML, 80 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/docs/training/05_v6_module_relevance.yml#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/0089.html#f2 - Synopsis: A configuration file in the training folder of GlobalGrid2050 covering battery storage (BESS), solar and cables. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar, cables. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GIS Single-Line Diagram (SLD) V5 Config - File: globalgrid2050/solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-config.js (JavaScript, 24 lines) · role electrical · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-config.js#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0089.html#f3 - Published at: https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in the GIS SLD financial sandbox folder of GlobalGrid2050 covering grid substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - What it achieves (comment): GIS SLD Financial Sandbox V6. Config extracted by GridBot feature 002. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Solar Battery Energy Storage System (BESS) Topology V6 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/). Reached from 4 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/); Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/); Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V5 Helpers - File: globalgrid2050/solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-helpers.js (JavaScript, 75 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-helpers.js#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0089.html#f4 - Published at: https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in the GIS SLD financial sandbox folder of GlobalGrid2050 that sets class (`setClass`), picks prop (`pickProp`) and sets fetch status (`setFetchStatus`). Served with the page at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - What it achieves (comment): It sets text (`setText`), sets class (`setClass`) and picks prop (`pickProp`). GIS SLD Financial Sandbox V6. Helpers extracted by GridBot feature 003. - What it does: Defines 11 functions or classes, including $, num, intVal, checked, setText. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Solar Battery Energy Storage System (BESS) Topology V6 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V6 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/module-layout/). Reached from 3 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/); Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/); Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - Signatures: `$(id)`; `num(id)`; `intVal(id, fallback = 0)`; `checked(id)`; `setText(id, val)`; `setClass(id, cls)`; `money(v)`; `debounce(fn, ms)`; `isValidLngLat(c)`; `pickProp(obj, keys, fallback = null)`; `setFetchStatus(msg, isError)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GIS Single-Line Diagram (SLD) V5 Map - File: globalgrid2050/solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-map.js (JavaScript, 427 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-map.js#L1-L427 - Page: https://code.globalgrid2050.com/explore-code/s/0089.html#f5 - Published at: https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in the GIS SLD financial sandbox folder of GlobalGrid2050 that maps atlas grid 66kV line and atlas grid 132kV line. Served with the page at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - What it achieves (name): It toggles atlas v8 grid layer (`toggleAtlasV8GridLayer`) and shows popup (`showPopup`). Defines `toggleAtlasV8OperatingAssetLayer`, `toggleAtlasV8GridLayer`, `initMap` and 7 more. - What it does: It maps atlas grid 66kV line, atlas grid 132kV line, atlas grid 275kV line and atlas grid 400kV line. Defines 10 functions or classes, including toggleAtlasV8OperatingAssetLayer, toggleAtlasV8GridLayer, initMap, onMapLoad, showPopup. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV, 275kV, 132kV, 66kV, 33kV. - Inputs & outputs: In: JSON file style.json; GeoJSON file grid_66kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_400kv.geojson; JSON file repd_master.json. Out: interactive map. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV. - Downstream impact: Used directly by 1 file: Solar Battery Energy Storage System (BESS) Topology V6 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/). Reached from 4 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/); Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/); Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - Signatures: `toggleAtlasV8OperatingAssetLayer(assetKey)`; `toggleAtlasV8GridLayer(voltageKey)`; `initMap()`; `onMapLoad()`; `showPopup(coords, html)`; `onSubstationClick(e)`; `onInverterClick(e)`; `onCableRoutePinClick(e)`; `onOperatingAssetClick(e)`; `onPoiClick(e)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file style.json; GeoJSON file grid_66kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_400kv.geojson; JSON file repd_master.json]; out [interactive map]; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V5 State - File: globalgrid2050/solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-state.js (JavaScript, 28 lines) · role electrical · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-state.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0090.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in the GIS SLD financial sandbox folder of GlobalGrid2050. Served with the page at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - What it achieves (comment): GIS SLD Financial Sandbox V6. State extracted by GridBot feature 004. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Solar Battery Energy Storage System (BESS) Topology V6 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/). Reached from 4 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/); Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/); Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V5 Substations - File: globalgrid2050/solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-substations.js (JavaScript, 83 lines) · role electrical · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-substations.js#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/0090.html#f3 - Published at: https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in the GIS SLD financial sandbox folder of GlobalGrid2050 that fetches substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. It normalises substations (`normaliseSubstations`) and loads substations (`loadSubstations`). - What it achieves (comment): GIS SLD Financial Sandbox V6. Substation data loading extracted by GridBot feature 005. - What it does: It fetches substations. Defines normaliseSubstations, loadSubstations. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations. - Downstream impact: Used directly by 1 file: Solar Battery Energy Storage System (BESS) Topology V6 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/). Reached from 4 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/); Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/); Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - Signatures: `normaliseSubstations(raw)`; `loadSubstations()` - domain_stage: experimental · commercial_user: ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V5 UI Core - File: globalgrid2050/solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-ui-core.js (JavaScript, 127 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-ui-core.js#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/0090.html#f4 - Published at: https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in GlobalGrid2050 that renders tech summary and benchmark and updates selected substation display, covering substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - What it achieves (name): It renders tech summary (`renderTechSummary`), renders benchmark (`renderBenchmark`) and updates selected substation display (`updateSelectedSubstationDisplay`). Defines `renderTechSummary`, `renderBenchmark`, `updateSelectedSubstationDisplay` and 4 more. Its code works with 33 kV, 132 kV and 275 kV. - What it does: It draws substations, battery storage (BESS), 66kV and 132kV. Defines 7 functions or classes, including renderTechSummary, renderBenchmark, updateSelectedSubstationDisplay, recalcAll, atlasV8LegendItem. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations, battery storage (BESS), 66kV, 132kV, 400kV, 275kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV. - Downstream impact: Used directly by 4 files: Solar Battery Energy Storage System (BESS) Topology V6 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (testcode). Reached from 149 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - Signatures: `renderTechSummary(stats)`; `renderBenchmark()`; `updateSelectedSubstationDisplay()`; `recalcAll()`; `atlasV8LegendItem(voltageKey, label, colour, widthPx)`; `atlasV8AssetLegendItem(assetKey, label, colour)`; `updateLegend()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### GIS Single-Line Diagram (SLD) V5 UI - File: globalgrid2050/solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-ui.js (JavaScript, 808 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-ui.js#L1-L808 - Page: https://code.globalgrid2050.com/explore-code/s/0090.html#f5 - Published at: https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in the GIS SLD financial sandbox folder of GlobalGrid2050 covering cables and 66kV, using haversine, and uses data from OpenStreetMap Nominatim. Served with the page at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - What it achieves (name): It applies logistics preset (`applyLogisticsPreset`), updates export cable length display (`updateExportCableLengthDisplay`) and updates array rotation display (`updateArrayRotationDisplay`). Defines `switchTab`, `applyLogisticsPreset`, `autoFillBifacial` and 52 more. Its code works with 132 kV, 275 kV and 400 kV. It responds to click, keydown and change events. - What it does: It draws cables, 66kV, 132kV and 275kV. Defines 55 functions or classes, including switchTab, applyLogisticsPreset, autoFillBifacial, updateExportCableLengthDisplay, updateArrayRotationDisplay. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, 66kV, 132kV, 275kV, 400kV. - Inputs & outputs: In: data source: OpenStreetMap Nominatim; form fields (user input). Voltage levels named: 400kV, 275kV, 132kV, 66kV. - Downstream impact: Used directly by 1 file: Solar Battery Energy Storage System (BESS) Topology V6 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/). Reached from 4 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/); Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/); Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - Signatures: `switchTab(tab)`; `applyLogisticsPreset(val, suffix)`; `autoFillBifacial(gcrVal, targetId)`; `updateExportCableLengthDisplay()`; `updateArrayRotationDisplay()`; `rotateArrayBy(deltaDeg)`; `resetArrayRotation()`; `getCurrentArrayCenter()`; `getArrayNudgeStepKm()`; `clearRouteAfterArrayShift()`; `nudgeArray(bearingDeg)`; `updateCableRouteStatus()`; `injectExportCableLengthControl()`; `redrawIfTopologyExists()`; `setArrayMoveStatus(text, active = false)`; `toggleArrayMoveMode()`; `resetArrayLocation()`; `placeArrayAtMapPoint(e)`; `toggleCablePinMode()`; `commitCablePinRoute()`; `undoCablePin()`; `clearCableRoute()`; `addCableRoutePin(e)`; `startCableRouteMode()`; `finishCableRouteMode()` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap Nominatim; form fields (user input)]; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V5 - File: globalgrid2050/solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5.css (CSS, 1512 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5.css#L1-L1512 - Page: https://code.globalgrid2050.com/explore-code/s/0092.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/ - Synopsis: A style sheet in the GIS SLD financial sandbox folder of GlobalGrid2050 covering battery storage (BESS), solar and wind. Served with the page at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - What it achieves (readme): The README says: It remains close to the V5 GIS SLD app and still uses legacy `gis-sld-v5` file names inside the V6 folder. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), solar, wind, 400kV, 275kV, 132kV. README: "It remains close to the V5 GIS SLD app and still uses legacy `gis-sld-v5` file names inside the V6 folder." - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV. - Downstream impact: Used directly by 1 file: Solar Battery Energy Storage System (BESS) Topology V6 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/). Reached from 4 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/); Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/); Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Solar Battery Energy Storage System (BESS) Topology V6 — GIS Single-Line Diagram (SLD) Financial Sandbox Page - File: globalgrid2050/solar-bess-topology-v6/gis-sld-financial-sandbox/index.html (HTML, 466 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/gis-sld-financial-sandbox/index.html#L1-L466 - Page: https://code.globalgrid2050.com/explore-code/s/0094.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for loc, mod wp and mod (units: MW, kV, MVA), covering battery storage (BESS), cables, solar and 33kV. Published at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - What it achieves (name): Its code works with 33 kV, 0.00 MVA and 132 kV. - What it does: It draws battery storage (BESS), cables, solar and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), cables, solar, 33kV, 400kV, 275kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV. - Downstream impact: Used directly by 3 files: Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/); GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/); Solar Battery Energy Storage System (BESS) Topology V6 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/module-layout/). Reached from 1 other entry point, including Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/gis-sld-financial-sandbox/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV] - Edges: uses 12 estate files (script-src 11, stylesheet 1); used by 3; mentioned by 0 ### GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page - File: globalgrid2050/solar-bess-topology-v6/index.html (HTML, 137 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/index.html#L1-L137 - Page: https://code.globalgrid2050.com/explore-code/s/0095.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v6/ - Synopsis: A web page covering cables, solar, battery storage (BESS) and 33kV. Published at https://globalgrid2050.com/solar-bess-topology-v6/. - What it achieves (name): Its code works with 33 kV. - What it does: It draws cables, solar, battery storage (BESS) and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, battery storage (BESS), 33kV. - Inputs & outputs: Out: web page. Voltage levels named: 33kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [33kV] - Edges: uses 6 estate files (link 6); used by 0; mentioned by 0 ### GIS Single-Line Diagram (SLD) V5 Config - File: globalgrid2050/solar-bess-topology-v6/module-layout/gis-sld-v5-config.js (JavaScript, 24 lines) · role electrical · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/module-layout/gis-sld-v5-config.js#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0095.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v6/module-layout/ - Synopsis: A JavaScript file in the module layout folder of GlobalGrid2050 covering grid substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v6/module-layout/. - What it achieves (comment): GIS SLD Financial Sandbox V6. Config extracted by GridBot feature 002. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Solar Battery Energy Storage System (BESS) Topology V6 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/module-layout/). Reached from 3 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/); Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/); Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/module-layout/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Solar Battery Energy Storage System (BESS) Topology V6 — Module Layout Page - File: globalgrid2050/solar-bess-topology-v6/module-layout/index.html (HTML, 91 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/module-layout/index.html#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/0095.html#f3 - Published at: https://globalgrid2050.com/solar-bess-topology-v6/module-layout/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for ml total modules, ml module width and ml module height, covering cables. Published at https://globalgrid2050.com/solar-bess-topology-v6/module-layout/. - What it does: It draws cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/); Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/); GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/module-layout/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 8 estate files (link 3, script-src 3, stylesheet 2); used by 3; mentioned by 0 ### Module Layout V5 - File: globalgrid2050/solar-bess-topology-v6/module-layout/module-layout-v5.css (CSS, 781 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/module-layout/module-layout-v5.css#L1-L781 - Page: https://code.globalgrid2050.com/explore-code/s/0095.html#f4 - Published at: https://globalgrid2050.com/solar-bess-topology-v6/module-layout/ - Synopsis: A style sheet in GlobalGrid2050. Served with the page at https://globalgrid2050.com/solar-bess-topology-v6/module-layout/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 3 files: Solar Battery Energy Storage System (BESS) Topology V6 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/module-layout/); Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/module-layout/); Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/). Reached from 142 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/module-layout/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v6/upgrades/000_validation_test/manifest.yml (YAML, 11 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/upgrades/000_validation_test/manifest.yml#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/0096.html#f2 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 that tests solar and battery storage (BESS). - What it achieves (comment): Validation only manifest for the V6 Complex Upgrade Install workflow. - What it does: It tests solar and battery storage (BESS). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v6/upgrades/001_gis_sld_validation_test/manifest.yml (YAML, 11 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/upgrades/001_gis_sld_validation_test/manifest.yml#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/0096.html#f3 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 that tests solar and battery storage (BESS). - What it achieves (comment): Validation only manifest for the V6 GIS single-line diagram (SLD) Financial Sandbox. - What it does: It tests solar and battery storage (BESS). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v6/upgrades/002_gis_sld_atlas_v8_132_400kv_layers/manifest.yml (YAML, 66 lines) · role docs-config · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/upgrades/002_gis_sld_atlas_v8_132_400kv_layers/manifest.yml#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/0096.html#f4 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 that maps atlas grid 132kV line, atlas grid 400kV line, l sat and solar. - What it achieves (comment): Add Atlas V8 132kV and 400kV grid line visibility to the V6 GIS single-line diagram (SLD) Financial Sandbox map. - What it does: It maps atlas grid 132kV line, atlas grid 400kV line, l sat and solar. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, 400kV, 132kV. - Inputs & outputs: Voltage levels named: 400kV, 132kV. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 132kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v6/upgrades/003_gis_sld_atlas_v8_voltage_layer_toggles/manifest.yml (YAML, 143 lines) · role docs-config · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/upgrades/003_gis_sld_atlas_v8_voltage_layer_toggles/manifest.yml#L1-L143 - Page: https://code.globalgrid2050.com/explore-code/s/0096.html#f5 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 that maps atlas grid 66kV line, atlas grid 132kV line, atlas grid 275kV line and atlas grid 400kV line. - What it achieves (comment): Add Atlas V8 66kV and 275kV grid line layers and allow Atlas voltage layers to be toggled from the V6 GIS single-line diagram (SLD) map legend. - What it does: It maps atlas grid 66kV line, atlas grid 132kV line, atlas grid 275kV line and atlas grid 400kV line. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 400kV, 275kV, 132kV, 66kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v6/upgrades/004_gis_sld_atlas_v8_voltage_buttons/manifest.yml (YAML, 153 lines) · role docs-config · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/upgrades/004_gis_sld_atlas_v8_voltage_buttons/manifest.yml#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/0097.html#f1 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 covering solar, battery storage (BESS), 400kV and 66kV. - What it achieves (comment): Replace legend based Atlas V8 voltage toggles with real map buttons using the same interaction pattern as SUBS and SATELLITE VIEW. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), 400kV, 66kV, 275kV, 132kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v6/upgrades/004b_gis_sld_atlas_v8_voltage_buttons_safe/manifest.yml (YAML, 82 lines) · role docs-config · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/upgrades/004b_gis_sld_atlas_v8_voltage_buttons_safe/manifest.yml#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/0097.html#f2 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 covering solar, battery storage (BESS), 66kV and 132kV. - What it achieves (comment): Add real Atlas voltage toggle buttons using the same event listener pattern as existing map buttons. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), 66kV, 132kV, 400kV, 275kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v6/upgrades/004c_gis_sld_atlas_v8_voltage_buttons_no_map_patch/manifest.yml (YAML, 109 lines) · role docs-config · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/upgrades/004c_gis_sld_atlas_v8_voltage_buttons_no_map_patch/manifest.yml#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/0097.html#f3 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 covering solar, battery storage (BESS), 400kV and 66kV. - What it achieves (comment): Add real Atlas voltage toggle buttons without patching the map layer function. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), 400kV, 66kV, 275kV, 132kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v6/upgrades/005_gis_sld_map_expand_and_key_collapse/manifest.yml (YAML, 83 lines) · role docs-config · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/upgrades/005_gis_sld_map_expand_and_key_collapse/manifest.yml#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/0097.html#f4 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 covering solar and battery storage (BESS). - What it achieves (comment): Add map expand mode and key collapse controls. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v6/upgrades/006_gis_sld_map_tool_overlay/manifest.yml (YAML, 130 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/upgrades/006_gis_sld_map_tool_overlay/manifest.yml#L1-L130 - Page: https://code.globalgrid2050.com/explore-code/s/0097.html#f5 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 covering solar and battery storage (BESS). - What it achieves (comment): Add collapsible map overlay tools for draw, cable route pins, array movement and rotation using existing functions. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Active Upgrade - File: globalgrid2050/solar-bess-topology-v6/upgrades/ACTIVE_UPGRADE.yml (YAML, 3 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v6/upgrades/ACTIVE_UPGRADE.yml#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0097.html#f6 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Solar Battery Energy Storage System (BESS) Topology V7 — DC AC LV Topology Review Page - File: globalgrid2050/solar-bess-topology-v7/dc-ac-lv-topology-review/index.html (HTML, 118 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/dc-ac-lv-topology-review/index.html#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/0097.html#f7 - Published at: https://globalgrid2050.com/solar-bess-topology-v7/dc-ac-lv-topology-review/ - Synopsis: A web page in GlobalGrid2050 that draws SVG graphics and reads inputs for mod wp, voc and vmp (units: MVA, °C, MW). Published at https://globalgrid2050.com/solar-bess-topology-v7/dc-ac-lv-topology-review/. - What it achieves (name): Its code works with 33 kV and 0 MVA. - What it does: It draws cables, 33kV, solar and transformers. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'ac'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, solar, transformers. - Inputs & outputs: In: form fields (user input). Out: web page; SVG drawing. Voltage levels named: 33kV. - Downstream impact: Used directly by 4 files: GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V7 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/); Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/module-layout/); Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/); Spider Maya — V1 Page (spiders, https://ventusltd.github.io/spiders/spider_maya/v1/). Reached from 136 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v7/dc-ac-lv-topology-review/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; SVG drawing]; crs []; voltages [33kV] - Edges: uses 6 estate files (stylesheet 3, link 2, script-src 1); used by 4; mentioned by 0 ### Demonstration Videos - File: globalgrid2050/solar-bess-topology-v7/docs/demonstration-videos.html (HTML, 119 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/docs/demonstration-videos.html#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/0098.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html - Synopsis: A web page in GlobalGrid2050 covering solar and battery storage (BESS). Published at https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html. - What it does: It draws solar and battery storage (BESS). Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 2 files: GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V7 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/); Spider Maya — V1 Page (spiders, https://ventusltd.github.io/spiders/spider_maya/v1/). Reached from 135 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 2; mentioned by 0 ### 05 V6 Module Relevance - File: globalgrid2050/solar-bess-topology-v7/docs/training/05_v6_module_relevance.yml (YAML, 80 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/docs/training/05_v6_module_relevance.yml#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/0098.html#f2 - Synopsis: A configuration file in the training folder of GlobalGrid2050 covering battery storage (BESS), solar and cables. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar, cables. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GIS Single-Line Diagram (SLD) V5 Config - File: globalgrid2050/solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-config.js (JavaScript, 24 lines) · role electrical · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-config.js#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0098.html#f3 - Published at: https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in the GIS SLD financial sandbox folder of GlobalGrid2050 covering grid substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - What it achieves (comment): GIS SLD Financial Sandbox V7. Config extracted by GridBot feature 002. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 3 files: Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (testcode). Reached from 145 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GIS Single-Line Diagram (SLD) V5 Drawing - File: globalgrid2050/solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-drawing.js (JavaScript, 236 lines) · role geodesy · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-drawing.js#L1-L236 - Page: https://code.globalgrid2050.com/explore-code/s/0098.html#f4 - Published at: https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in the GIS SLD financial sandbox folder of GlobalGrid2050 that works with battery storage (BESS) and substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - What it achieves (name): It gets array axis deg (`getArrayAxisDeg`), gets rect polygon (`getRectPolygon`) and routes length km (`routeLengthKm`). Defines `normBearing`, `getArrayAxisDeg`, `getRectPolygon` and 9 more. Its code works with 33 kV. - What it does: It calculates battery storage (BESS) and substations. Defines 12 functions or classes, including normBearing, getArrayAxisDeg, getRectPolygon, atlasHaversineKm, routeLengthKm. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), substations, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 3 files: Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (testcode). Reached from 145 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - Signatures: `normBearing(deg)`; `getArrayAxisDeg()`; `getRectPolygon(centerCoord, width_km, length_km, propType, rotationDeg = 0)`; `atlasHaversineKm(a, b)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `routeLengthKm(coords)`; `getBlockAspect()`; `getExportCableExtraKm()`; `getCommittedCablePins()`; `shouldShowExportCable()`; `buildExportCableLine(privateSubCoord, publicSubCoord, safeExtraOffsetKm)`; `addCableRoutePinMarkers(features)`; `computeAndDraw()`; `bess_area_km2(bess_mwh * CONSTANTS.BESS_M2_PER_MWH)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 3; mentioned by 1 ### GIS Single-Line Diagram (SLD) V5 Helpers - File: globalgrid2050/solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-helpers.js (JavaScript, 75 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-helpers.js#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0098.html#f5 - Published at: https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in the GIS SLD financial sandbox folder of GlobalGrid2050 that sets class (`setClass`), picks prop (`pickProp`) and sets fetch status (`setFetchStatus`). Served with the page at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - What it achieves (comment): It sets text (`setText`), sets class (`setClass`) and picks prop (`pickProp`). GIS SLD Financial Sandbox V7. Helpers extracted by GridBot feature 003. - What it does: Defines 11 functions or classes, including $, num, intVal, checked, setText. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 5 files: Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/module-layout/); Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/); and 1 more. Reached from 143 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - Signatures: `$(id)`; `num(id)`; `intVal(id, fallback = 0)`; `checked(id)`; `setText(id, val)`; `setClass(id, cls)`; `money(v)`; `debounce(fn, ms)`; `isValidLngLat(c)`; `pickProp(obj, keys, fallback = null)`; `setFetchStatus(msg, isError)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 1 ### GIS Single-Line Diagram (SLD) V5 Map - File: globalgrid2050/solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-map.js (JavaScript, 476 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-map.js#L1-L476 - Page: https://code.globalgrid2050.com/explore-code/s/0099.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in the GIS SLD financial sandbox folder of GlobalGrid2050 that maps atlas grid 66kV line and atlas grid 132kV line. Served with the page at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - What it achieves (name): It toggles atlas v8 grid layer (`toggleAtlasV8GridLayer`) and shows popup (`showPopup`). Defines `atlasV8CapacityExpression`, `atlasV8AssetBaseFilter`, `atlasV8StatusExpression` and 12 more. - What it does: It maps atlas grid 66kV line, atlas grid 132kV line, atlas grid 275kV line and atlas grid 400kV line. Defines 15 functions or classes, including atlasV8CapacityExpression, atlasV8AssetBaseFilter, atlasV8StatusExpression, atlasV8AssetFilter, applyAtlasV8AssetDropdownFilter. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV, 275kV, 132kV, 66kV, 33kV. - Inputs & outputs: In: JSON file style.json; GeoJSON file grid_66kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_400kv.geojson; JSON file repd_master.json. Out: interactive map. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV. - Downstream impact: Used directly by 3 files: Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (testcode). Reached from 145 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - Signatures: `atlasV8CapacityExpression()`; `atlasV8AssetBaseFilter(assetKey)`; `atlasV8StatusExpression()`; `atlasV8AssetFilter(assetKey)`; `applyAtlasV8AssetDropdownFilter(selected = atlasV8AssetFilterState.selected, status = atlasV8AssetFilterState.status, minMw = atlasV8AssetFilterState...)`; `toggleAtlasV8OperatingAssetLayer(assetKey)`; `toggleAtlasV8GridLayer(voltageKey)`; `initMap()`; `onMapLoad()`; `showPopup(coords, html)`; `onSubstationClick(e)`; `onInverterClick(e)`; `onCableRoutePinClick(e)`; `onOperatingAssetClick(e)`; `onPoiClick(e)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file style.json; GeoJSON file grid_66kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_400kv.geojson; JSON file repd_master.json]; out [interactive map]; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV] - Edges: uses 0 estate files; used by 3; mentioned by 1 ### GIS Single-Line Diagram (SLD) V5 State - File: globalgrid2050/solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-state.js (JavaScript, 29 lines) · role electrical · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-state.js#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/0099.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in the GIS SLD financial sandbox folder of GlobalGrid2050. Served with the page at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - What it achieves (comment): GIS SLD Financial Sandbox V7. State extracted by GridBot feature 004. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 3 files: Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (testcode). Reached from 145 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GIS Single-Line Diagram (SLD) V5 Substations - File: globalgrid2050/solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-substations.js (JavaScript, 83 lines) · role electrical · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-substations.js#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/0099.html#f3 - Published at: https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in the GIS SLD financial sandbox folder of GlobalGrid2050 that fetches substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. It normalises substations (`normaliseSubstations`) and loads substations (`loadSubstations`). - What it achieves (comment): GIS SLD Financial Sandbox V7. Substation data loading extracted by GridBot feature 005. - What it does: It fetches substations. Defines normaliseSubstations, loadSubstations. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations. - Downstream impact: Used directly by 3 files: Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (testcode). Reached from 145 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - Signatures: `normaliseSubstations(raw)`; `loadSubstations()` - domain_stage: experimental · commercial_user: ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 1 ### GIS Single-Line Diagram (SLD) V5 UI - File: globalgrid2050/solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-ui.js (JavaScript, 1484 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-ui.js#L1-L1484 - Page: https://code.globalgrid2050.com/explore-code/s/0100.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in GlobalGrid2050 covering Renewable Energy Planning Database (REPD) master and uses data from OpenStreetMap Nominatim. Served with the page at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - What it achieves (name): It applies logistics preset (`applyLogisticsPreset`), updates export cable length display (`updateExportCableLengthDisplay`) and updates array rotation display (`updateArrayRotationDisplay`). Defines `switchTab`, `applyLogisticsPreset`, `autoFillBifacial` and 95 more. Its code works with 132 kV, 275 kV and 400 kV. It reads `/dist/repd_master.json`. It responds to click, focus and input events. - What it does: It draws REPD master, grid 66kV, grid 132kV and grid 275kV. Defines 98 functions or classes, including switchTab, applyLogisticsPreset, autoFillBifacial, updateExportCableLengthDisplay, updateArrayRotationDisplay. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV, 275kV, 132kV, 66kV. - Inputs & outputs: In: data source: OpenStreetMap Nominatim; JSON file repd_master.json; GeoJSON file grid_66kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_400kv.geojson; form fields (user input). Voltage levels named: 400kV, 275kV, 132kV, 66kV. - Downstream impact: Used directly by 3 files: Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (testcode). Reached from 145 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - Signatures: `switchTab(tab)`; `applyLogisticsPreset(val, suffix)`; `autoFillBifacial(gcrVal, targetId)`; `updateExportCableLengthDisplay()`; `updateArrayRotationDisplay()`; `rotateArrayBy(deltaDeg)`; `resetArrayRotation()`; `getCurrentArrayCenter()`; `getArrayNudgeStepKm()`; `clearRouteAfterArrayShift()`; `nudgeArray(bearingDeg)`; `updateCableRouteStatus()`; `injectExportCableLengthControl()`; `redrawIfTopologyExists()`; `setArrayMoveStatus(text, active = false)`; `toggleArrayMoveMode()`; `resetArrayLocation()`; `placeArrayAtMapPoint(e)`; `toggleCablePinMode()`; `commitCablePinRoute()`; `undoCablePin()`; `clearCableRoute()`; `addCableRoutePin(e)`; `startCableRouteMode()`; `finishCableRouteMode()` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap Nominatim; JSON file repd_master.json; GeoJSON file grid_66kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_400kv.geojson; form fields (user input)]; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 3; mentioned by 1 ### GIS Single-Line Diagram (SLD) V5 - File: globalgrid2050/solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5.css (CSS, 1937 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5.css#L1-L1937 - Page: https://code.globalgrid2050.com/explore-code/s/0102.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/ - Synopsis: A style sheet in the GIS SLD financial sandbox folder of GlobalGrid2050 covering battery storage (BESS), solar, substations and wind. Served with the page at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - What it achieves (readme): The README says: It remains close to the V5 GIS SLD app and still uses legacy `gis-sld-v5` file names inside the V7 folder. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), solar, substations, wind, 400kV, 275kV. README: "It remains close to the V5 GIS SLD app and still uses legacy `gis-sld-v5` file names inside the V7 folder." - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV. - Downstream impact: Used directly by 3 files: Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (testcode). Reached from 145 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page - File: globalgrid2050/solar-bess-topology-v7/gis-sld-financial-sandbox/index.html (HTML, 507 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/gis-sld-financial-sandbox/index.html#L1-L507 - Page: https://code.globalgrid2050.com/explore-code/s/0105.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for loc, mod wp and mod (units: MW, kV, MVA), covering battery storage (BESS), cables, substations and 33kV. Published at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - What it achieves (name): Its code works with 33 kV, 0.00 MVA and 132 kV. - What it does: It draws battery storage (BESS), cables, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), cables, substations, 33kV, 400kV, 275kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV. - Downstream impact: Used directly by 9 files: Solar Battery Energy Storage System (BESS) Topology V7 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/dc-ac-lv-topology-review/); GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V7 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/); Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/module-layout/); Spider Maya — V1 Page (spiders, https://ventusltd.github.io/spiders/spider_maya/v1/); and 5 more. Reached from 137 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v7/gis-sld-financial-sandbox/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV] - Edges: uses 12 estate files (script-src 11, stylesheet 1); used by 9; mentioned by 0 ### GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V7 Page - File: globalgrid2050/solar-bess-topology-v7/index.html (HTML, 154 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/index.html#L1-L154 - Page: https://code.globalgrid2050.com/explore-code/s/0105.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v7/ - Synopsis: A web page covering cables, solar, battery storage (BESS) and 33kV. Published at https://globalgrid2050.com/solar-bess-topology-v7/. - What it achieves (name): Its code works with 33 kV. - What it does: It draws cables, solar, battery storage (BESS) and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, battery storage (BESS), 33kV. - Inputs & outputs: Out: web page. Voltage levels named: 33kV. - Downstream impact: Used directly by 4 files: Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html); Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Electrical… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/); Registry of All Content in Repos and Dependencies — Index Page (registry_of_all_content_in_repos_and_dependencies, https://ventusltd.github.io/registry_of_all_content_in_repos_and_dependencies/); Spider Maya — V1 Page (spiders, https://ventusltd.github.io/spiders/spider_maya/v1/). Reached from 133 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v7/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [33kV] - Edges: uses 7 estate files (link 7); used by 4; mentioned by 0 ### GIS Single-Line Diagram (SLD) V5 Config - File: globalgrid2050/solar-bess-topology-v7/module-layout/gis-sld-v5-config.js (JavaScript, 24 lines) · role electrical · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/module-layout/gis-sld-v5-config.js#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0105.html#f3 - Published at: https://globalgrid2050.com/solar-bess-topology-v7/module-layout/ - Synopsis: A JavaScript file in the module layout folder of GlobalGrid2050 covering grid substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v7/module-layout/. - What it achieves (comment): GIS SLD Financial Sandbox V7. Config extracted by GridBot feature 002. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/module-layout/); Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/). Reached from 139 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v7/module-layout/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page - File: globalgrid2050/solar-bess-topology-v7/module-layout/index.html (HTML, 91 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/module-layout/index.html#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/0106.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v7/module-layout/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for ml total modules, ml module width and ml module height, covering cables. Published at https://globalgrid2050.com/solar-bess-topology-v7/module-layout/. - What it does: It draws cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 2 files: Solar Battery Energy Storage System (BESS) Topology V7 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/dc-ac-lv-topology-review/); GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V7 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/). Reached from 138 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v7/module-layout/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 8 estate files (link 3, script-src 3, stylesheet 2); used by 2; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v7/upgrades/000_validation_test/manifest.yml (YAML, 11 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/upgrades/000_validation_test/manifest.yml#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/0106.html#f2 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 that tests solar and battery storage (BESS). - What it achieves (comment): Validation only manifest for the V7 Complex Upgrade Install workflow. - What it does: It tests solar and battery storage (BESS). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v7/upgrades/001_gis_sld_validation_test/manifest.yml (YAML, 11 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/upgrades/001_gis_sld_validation_test/manifest.yml#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/0106.html#f3 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 that tests solar and battery storage (BESS). - What it achieves (comment): Validation only manifest for the V7 GIS single-line diagram (SLD) Financial Sandbox. - What it does: It tests solar and battery storage (BESS). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v7/upgrades/002_gis_sld_atlas_v8_132_400kv_layers/manifest.yml (YAML, 66 lines) · role docs-config · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/upgrades/002_gis_sld_atlas_v8_132_400kv_layers/manifest.yml#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/0106.html#f4 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 that maps atlas grid 132kV line, atlas grid 400kV line, l sat and solar. - What it achieves (comment): Add Atlas V8 132kV and 400kV grid line visibility to the V7 GIS single-line diagram (SLD) Financial Sandbox map. - What it does: It maps atlas grid 132kV line, atlas grid 400kV line, l sat and solar. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, 400kV, 132kV. - Inputs & outputs: Voltage levels named: 400kV, 132kV. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 132kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v7/upgrades/003_gis_sld_atlas_v8_voltage_layer_toggles/manifest.yml (YAML, 143 lines) · role docs-config · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/upgrades/003_gis_sld_atlas_v8_voltage_layer_toggles/manifest.yml#L1-L143 - Page: https://code.globalgrid2050.com/explore-code/s/0106.html#f5 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 that maps atlas grid 66kV line, atlas grid 132kV line, atlas grid 275kV line and atlas grid 400kV line. - What it achieves (comment): Add Atlas V8 66kV and 275kV grid line layers and allow Atlas voltage layers to be toggled from the V7 GIS single-line diagram (SLD) map legend. - What it does: It maps atlas grid 66kV line, atlas grid 132kV line, atlas grid 275kV line and atlas grid 400kV line. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 400kV, 275kV, 132kV, 66kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v7/upgrades/004_gis_sld_atlas_v8_voltage_buttons/manifest.yml (YAML, 153 lines) · role docs-config · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/upgrades/004_gis_sld_atlas_v8_voltage_buttons/manifest.yml#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/0106.html#f6 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 covering solar, battery storage (BESS), 400kV and 66kV. - What it achieves (comment): Replace legend based Atlas V8 voltage toggles with real map buttons using the same interaction pattern as SUBS and SATELLITE VIEW. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), 400kV, 66kV, 275kV, 132kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v7/upgrades/004b_gis_sld_atlas_v8_voltage_buttons_safe/manifest.yml (YAML, 82 lines) · role docs-config · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/upgrades/004b_gis_sld_atlas_v8_voltage_buttons_safe/manifest.yml#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/0106.html#f7 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 covering solar, battery storage (BESS), 66kV and 132kV. - What it achieves (comment): Add real Atlas voltage toggle buttons using the same event listener pattern as existing map buttons. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), 66kV, 132kV, 400kV, 275kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v7/upgrades/004c_gis_sld_atlas_v8_voltage_buttons_no_map_patch/manifest.yml (YAML, 109 lines) · role docs-config · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/upgrades/004c_gis_sld_atlas_v8_voltage_buttons_no_map_patch/manifest.yml#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/0106.html#f8 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 covering solar, battery storage (BESS), 400kV and 66kV. - What it achieves (comment): Add real Atlas voltage toggle buttons without patching the map layer function. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), 400kV, 66kV, 275kV, 132kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v7/upgrades/005_gis_sld_map_expand_and_key_collapse/manifest.yml (YAML, 83 lines) · role docs-config · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/upgrades/005_gis_sld_map_expand_and_key_collapse/manifest.yml#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/0107.html#f1 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 covering solar and battery storage (BESS). - What it achieves (comment): Add map expand mode and key collapse controls. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/solar-bess-topology-v7/upgrades/006_gis_sld_map_tool_overlay/manifest.yml (YAML, 130 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v7/upgrades/006_gis_sld_map_tool_overlay/manifest.yml#L1-L130 - Page: https://code.globalgrid2050.com/explore-code/s/0107.html#f2 - Synopsis: A configuration file in the upgrades folder of GlobalGrid2050 covering solar and battery storage (BESS). - What it achieves (comment): Add collapsible map overlay tools for draw, cable route pins, array movement and rotation using existing functions. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Battery Energy Storage System (BESS) Electrical Topology Review - File: globalgrid2050/solar-bess-topology-v8/bess-electrical-topology-review/bess-electrical-topology-review.css (CSS, 36 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v8/bess-electrical-topology-review/bess-electrical-topology-review.css#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0107.html#f3 - Published at: https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/ - Synopsis: A style sheet in GlobalGrid2050 covering battery storage (BESS). Served with the page at https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/. - What it achieves (readme): The README says: The BESS Electrical Topology Review handles cable, impedance, leakage, reverse current, transformer impedance, fault level and formal study flags. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS). README: "The BESS Electrical Topology Review handles cable, impedance, leakage, reverse current, transformer impedance, fault level and formal study flags." - Downstream impact: Used directly by 1 file: Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Electrical… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/). Reached from 4 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V8 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/); Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) GIS… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Pcs… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-pcs-standalone/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Battery Energy Storage System (BESS) Electrical Topology Review - File: globalgrid2050/solar-bess-topology-v8/bess-electrical-topology-review/bess-electrical-topology-review.js (JavaScript, 143 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v8/bess-electrical-topology-review/bess-electrical-topology-review.js#L1-L143 - Page: https://code.globalgrid2050.com/explore-code/s/0107.html#f4 - Published at: https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/ - Synopsis: A JavaScript file in GlobalGrid2050 that updates BESS topology (`updateBessTopology`) and draws scada (`drawScada`), covering battery storage (BESS), cables and transformers. Served with the page at https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/. - What it achieves (readme): It sets text (`setText`), updates BESS topology (`updateBessTopology`) and draws scada (`drawScada`). The README says: The BESS Electrical Topology Review handles cable, impedance, leakage, reverse current, transformer impedance, fault level and formal study flags. It responds to input, change and DOMContentLoaded events. - What it does: It draws battery storage (BESS), cables and transformers. Defines 6 functions or classes, including num, val, setText, fmt, updateBessTopology. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), cables, transformers. README: "The BESS Electrical Topology Review handles cable, impedance, leakage, reverse current, transformer impedance, fault level and formal study flags." - Downstream impact: Used directly by 1 file: Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Electrical… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/). Reached from 4 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V8 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/); Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) GIS… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Pcs… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-pcs-standalone/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/. - Signatures: `num(id, fallback = 0)`; `val(id)`; `setText(id, text)`; `fmt(value, digits = 2)`; `updateBessTopology()`; `drawScada(data)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Electrical… - File: globalgrid2050/solar-bess-topology-v8/bess-electrical-topology-review/index.html (HTML, 87 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v8/bess-electrical-topology-review/index.html#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/0107.html#f5 - Published at: https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/ - Synopsis: A web page in GlobalGrid2050 that draws SVG graphics and reads inputs for BESS power MW, BESS energy MWh and dc voltage (units: MW, Ω, mm²). Published at https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/. - What it achieves (name): Its code works with 0 MW. - What it does: It draws battery storage (BESS), transformers, cables and solar. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), transformers, cables, solar. - Inputs & outputs: In: form fields (user input). Out: web page; SVG drawing. - Downstream impact: Used directly by 2 files: Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) GIS… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/); GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V8 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/). Reached from 2 other entry points, including Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Pcs… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-pcs-standalone/); Spider Maya — V1 Page (spiders, https://ventusltd.github.io/spiders/spider_maya/v1/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 4 estate files (link 2, stylesheet 1, script-src 1); used by 2; mentioned by 0 ### Battery Energy Storage System (BESS) GIS Single-Line Diagram (SLD) Financial Sandbox - File: globalgrid2050/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/bess-gis-sld-financial-sandbox.css (CSS, 49 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/bess-gis-sld-financial-sandbox.css#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/0107.html#f6 - Published at: https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/ - Synopsis: A style sheet in GlobalGrid2050 covering battery storage (BESS). Served with the page at https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS). README: "The BESS GIS SLD Financial Sandbox handles:" - Downstream impact: Used directly by 1 file: Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) GIS… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/). Reached from 4 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V8 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/); Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Electrical… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/); Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Pcs… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-pcs-standalone/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Battery Energy Storage System (BESS) GIS Single-Line Diagram (SLD) Financial Sandbox - File: globalgrid2050/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/bess-gis-sld-financial-sandbox.js (JavaScript, 465 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/bess-gis-sld-financial-sandbox.js#L1-L465 - Page: https://code.globalgrid2050.com/explore-code/s/0108.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in GlobalGrid2050 that maps BESS layout, BESS geo layout, BESS path line and BESS grid point. Served with the page at https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/. - What it achieves (name): It sets text (`setText`), applies container preset (`applyContainerPreset`) and syncs energy (`syncEnergy`). Defines `setText`, `fmt`, `gbp` and 23 more. It responds to input, change and click events. - What it does: It maps BESS layout, BESS geo layout, BESS path line and BESS grid point. Defines 28 functions or classes, including n, v, setText, fmt, gbp. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "The BESS GIS SLD Financial Sandbox handles:" - Inputs & outputs: In: JSON file style.json. Out: GeoJSON file v8-bess-layout.geojson; downloaded file v8-bess-layout.geojson; interactive map; SVG drawing. - Downstream impact: Used directly by 1 file: Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) GIS… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/). Reached from 4 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V8 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/); Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Electrical… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/); Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Pcs… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-pcs-standalone/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/. - Signatures: `n(id, fallback = 0)`; `v(id, fallback = '')`; `setText(id, text)`; `fmt(value, digits = 2)`; `gbp(value)`; `initMap()`; `switchStyle(style)`; `applyContainerPreset()`; `syncEnergy()`; `calc()`; `updateSummary(c)`; `svgEl(tag, attrs = {})`; `svgText(svg, x, y, text, cls = 'svg-small', anchor = 'start')`; `drawLayout(c)`; `updateAll()`; `bindEvents()`; `metresToLngLat(origin, eastM, northM)`; `rotatePoint(x, y, deg)`; `rectFeature(origin, cx, cy, w, h, rotationDeg, props)`; `pointFeature(origin, eastM, northM, rotationDeg, props)`; `lineFeature(origin, points, rotationDeg, props)`; `buildBessGeoJsonAt(origin)`; `ensureBessGeoLayers()`; `refreshBessGeoLayout()`; `drawBessGeoLayoutAtMapCenter()` (and 3 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file style.json]; out [GeoJSON file v8-bess-layout.geojson; downloaded file v8-bess-layout.geojson; interactive map; SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GIS Single-Line Diagram (SLD) V5 UI - File: globalgrid2050/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/gis-sld-v5-ui.js (JavaScript, 1667 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/gis-sld-v5-ui.js#L1-L1667 - Page: https://code.globalgrid2050.com/explore-code/s/0109.html#f1 - Published at: https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in GlobalGrid2050 that maps Renewable Energy Planning Database (REPD) master and grid 66kV, using haversine, and uses data from OpenStreetMap Nominatim. Served with the page at https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/. - What it achieves (name): It applies logistics preset (`applyLogisticsPreset`), updates export cable length display (`updateExportCableLengthDisplay`) and updates array rotation display (`updateArrayRotationDisplay`). Defines `switchTab`, `applyLogisticsPreset`, `autoFillBifacial` and 113 more. Its code works with 132 kV, 275 kV and 400 kV. It reads `/dist/repd_master.json`. It responds to click, focus and input events. - What it does: It maps REPD master, grid 66kV, grid 132kV and grid 275kV. Defines 116 functions or classes, including switchTab, applyLogisticsPreset, autoFillBifacial, updateExportCableLengthDisplay, updateArrayRotationDisplay. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV, 275kV, 132kV, 66kV. - Inputs & outputs: In: data source: OpenStreetMap Nominatim; JSON file repd_master.json; GeoJSON file grid_66kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_400kv.geojson; form fields (user input). Out: GeoJSON file v8-bess-layout.geojson; downloaded file v8-bess-layout.geojson. Voltage levels named: 400kV, 275kV, 132kV, 66kV. - Signatures: `switchTab(tab)`; `applyLogisticsPreset(val, suffix)`; `autoFillBifacial(gcrVal, targetId)`; `updateExportCableLengthDisplay()`; `updateArrayRotationDisplay()`; `rotateArrayBy(deltaDeg)`; `resetArrayRotation()`; `getCurrentArrayCenter()`; `getArrayNudgeStepKm()`; `clearRouteAfterArrayShift()`; `nudgeArray(bearingDeg)`; `updateCableRouteStatus()`; `injectExportCableLengthControl()`; `redrawIfTopologyExists()`; `setArrayMoveStatus(text, active = false)`; `toggleArrayMoveMode()`; `resetArrayLocation()`; `placeArrayAtMapPoint(e)`; `toggleCablePinMode()`; `commitCablePinRoute()`; `undoCablePin()`; `clearCableRoute()`; `addCableRoutePin(e)`; `startCableRouteMode()`; `finishCableRouteMode()` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap Nominatim; JSON file repd_master.json; GeoJSON file grid_66kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_400kv.geojson; form fields (user input)]; out [GeoJSON file v8-bess-layout.geojson; downloaded file v8-bess-layout.geojson]; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GIS Single-Line Diagram (SLD) V5 - File: globalgrid2050/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/gis-sld-v5.css (CSS, 1967 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/gis-sld-v5.css#L1-L1967 - Page: https://code.globalgrid2050.com/explore-code/s/0111.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/ - Synopsis: A style sheet in GlobalGrid2050 covering battery storage (BESS), solar, substations and wind. Served with the page at https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), solar, substations, wind, 400kV, 275kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) GIS… - File: globalgrid2050/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/index.html (HTML, 153 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/index.html#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/0114.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/ - Synopsis: A web page in GlobalGrid2050 that draws SVG graphics and reads inputs for grid export MW, duration hours and energy MWh (units: MW, MWh). Published at https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/. - What it achieves (comment): BESS GIS single-line diagram (SLD) Financial Sandbox V8. Its code works with 50 MW and 150 MWh. - What it does: It draws battery storage (BESS), transformers and cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), transformers, cables. - Inputs & outputs: In: form fields (user input). Out: web page; SVG drawing. - Downstream impact: Used directly by 3 files: Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Pcs… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-pcs-standalone/); GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V8 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/); Spider Maya — V1 Page (spiders, https://ventusltd.github.io/spiders/spider_maya/v1/). Reached from 1 other entry point, including Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Electrical… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 4 estate files (link 2, stylesheet 1, script-src 1); used by 3; mentioned by 0 ### Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Pcs… - File: globalgrid2050/solar-bess-topology-v8/bess-pcs-standalone/index.html (HTML, 13 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v8/bess-pcs-standalone/index.html#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/0114.html#f3 - Published at: https://globalgrid2050.com/solar-bess-topology-v8/bess-pcs-standalone/ - Synopsis: A web page in the BESS pcs standalone folder of GlobalGrid2050 covering battery storage (BESS). Published at https://globalgrid2050.com/solar-bess-topology-v8/bess-pcs-standalone/. - What it achieves (comment): BESS PCS Standalone Redirect. - What it does: It draws battery storage (BESS). Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS). - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v8/bess-pcs-standalone/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 0; mentioned by 0 ### GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V8 Page - File: globalgrid2050/solar-bess-topology-v8/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology-v8/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/0114.html#f4 - Published at: https://globalgrid2050.com/solar-bess-topology-v8/ - Synopsis: A web page covering battery storage (BESS), solar and cables. Published at https://globalgrid2050.com/solar-bess-topology-v8/. - What it does: It draws battery storage (BESS), solar and cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar, cables. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 2 files: Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Electrical… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/); Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) GIS… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/). Reached from 2 other entry points, including Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Pcs… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-pcs-standalone/); Spider Maya — V1 Page (spiders, https://ventusltd.github.io/spiders/spider_maya/v1/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v8/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 2; mentioned by 0 ### GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology Page - File: globalgrid2050/solar-bess-topology/index.html (HTML, 2028 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology/index.html#L1-L2028 - Page: https://code.globalgrid2050.com/explore-code/s/0114.html#f5 - Published at: https://globalgrid2050.com/solar-bess-topology/ - Synopsis: A web page covering cables, 33kV, 132kV and solar, using BS EN 50618 and BS 7671, and uses data from UK Power Networks open data. Published at https://globalgrid2050.com/solar-bess-topology/. - What it achieves (name): It looks up od (`lookupOD`), clamps integer (`clampInteger`) and formats mm (`formatMm`). Defines `lookupOD`, `byId`, `clampInteger` and 38 more. Its code works with 1 kV, 33 kV and 132 kV. It responds to focus, click and touchend events. - What it does: It draws cables, 33kV, 132kV and solar. Defines 41 functions or classes, including lookupOD, byId, clampInteger, formatMm, effectiveGap. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, 132kV, solar, 110kV, 66kV. - Inputs & outputs: In: form fields (user input). Out: web page; canvas drawing. Voltage levels named: 132kV, 110kV, 66kV, 33kV, 20kV, 15kV, 10kV, 6kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology/. - Signatures: `lookupOD(voltageKey, csaMm2, isThreeCore)`; `byId(id)`; `clampInteger(value, fallback, minValue)`; `formatMm(v)`; `effectiveGap(basis, spacing, od)`; `getBurialDepthForComputation()`; `normaliseBurialDepthFieldOnBlur()`; `normaliseIntegerFields()`; `getInputs()`; `getGroupGeometry(inputs)`; `computeLayout(inputs)`; `formationWidth(maxRowCount * geom.width)`; `formationDepth(rows * geom.depth)`; `buildReview(inputs, layout)`; `renderStatus(review)`; `renderIssues(review)`; `renderStats(layout, review, inputs)`; `getServiceColours(serviceType)`; `drawGroup(ctx, x, y, d, drawType, serviceType, scale)`; `circle(cx, cy, fill, stroke)`; `ang(2 * Math.PI * k / coreCount)`; `drawFormation(inputs, layout, review)`; `drawTrench(inputs, layout)`; `trenchX(W - trenchW)`; `drawBend(inputs, layout)` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; canvas drawing]; crs []; voltages [132kV, 110kV, 66kV, 33kV, 20kV, 15kV, 10kV, 6kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Indexforgis Single-Line Diagram (SLD) - File: globalgrid2050/solar-bess-topology/indexforgis-sld.html (HTML, 1454 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-bess-topology/indexforgis-sld.html#L1-L1454 - Page: https://code.globalgrid2050.com/explore-code/s/0117.html#f2 - Published at: https://globalgrid2050.com/solar-bess-topology/indexforgis-sld.html - Synopsis: A map page in the solar BESS topology folder of GlobalGrid2050 that maps grid substations, sat s and l sat, and uses data from OpenStreetMap Nominatim. Published at https://globalgrid2050.com/solar-bess-topology/indexforgis-sld.html. - What it achieves (comment): It sets text (`setText`), sets class (`setClass`) and picks prop (`pickProp`). GIS-SLD and Financial Sandbox. Its code works with 33 kV. It responds to click, keydown and change events. - What it does: It maps grid substations, sat s, l sat and l subs. Defines 47 functions or classes, including $, num, intVal, checked, setText. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV. - Inputs & outputs: In: data source: OpenStreetMap Nominatim; GeoJSON file grid_substations.geojson; JSON file style.json; form fields (user input). Out: web page; interactive map. Voltage levels named: 33kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology/indexforgis-sld.html. - Signatures: `$(id)`; `num(id)`; `intVal(id, fallback = 0)`; `checked(id)`; `setText(id, val)`; `setClass(id, cls)`; `money(v)`; `debounce(fn, ms)`; `isValidLngLat(c)`; `pickProp(obj, keys, fallback = null)`; `setFetchStatus(msg, isError)`; `initMap()`; `onMapLoad()`; `showPopup(coords, html)`; `normaliseSubstations(raw)`; `loadSubstations()`; `onSubstationClick(e)`; `onInverterClick(e)`; `onPoiClick(e)`; `readPhysicalInputs(suffix)`; `zeroStats(dc_ac_ratio, mods_pallet, mods_container)`; `buildStats(opts)`; `dc_mwp(module_count * mod_wp)`; `computeStringStats()`; `computeCentralStats()` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap Nominatim; GeoJSON file grid_substations.geojson; JSON file style.json; form fields (user input)]; out [web page; interactive map]; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Camera - File: globalgrid2050/solar-design-studio/202609262041-site-world/world/camera.mjs (JavaScript, 37 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609262041-site-world/world/camera.mjs#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0119.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050. It is built from the direction step (`direction`), the perspective step (`perspective`) and the view step (`view`). - What it achieves (comment): Pure: no DOM, no WebGL. Local east (x), north (y), up (z), metres. - What it does: It calculates its inputs. Defines direction, perspective, view, dot, multiply. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 8 files: Print SVG (globalgrid2050); Xr Pose (globalgrid2050); Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Substrate (globalgrid2050); and 4 more. Reached from 2 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/). - Signatures: `export direction(yaw, pitch)`; `export perspective(fovy, aspect, near, far)`; `export view(pos, yaw, pitch)`; `export multiply(a, b)`; `dot(a, b)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 8; mentioned by 1 ### Device Budget - File: globalgrid2050/solar-design-studio/202609262041-site-world/world/device-budget.mjs (JavaScript, 27 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609262041-site-world/world/device-budget.mjs#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0119.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with initial budget (`initialBudget`). - What it achieves (comment): It is built from the initial budget helper (`initialBudget`), the adjust step (`adjust`) and the round step (`round`). Measure, never guess the device. Starts at the screen's pixel ratio (capped at 2), lowers the drawing resolution when frames arrive late, and raises it again when they keep up. - What it does: It calculates its inputs. Defines initialBudget, adjust, round. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 6 files: Xr Pose (globalgrid2050); Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Substrate (globalgrid2050); Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); and 2 more. Reached from 2 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/). - Signatures: `export initialBudget(devicePixelRatio = 1)`; `export adjust(b, intervalMs, targetMs)`; `round(v)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### Frame Gate - File: globalgrid2050/solar-design-studio/202609262041-site-world/world/frame-gate.mjs (JavaScript, 40 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609262041-site-world/world/frame-gate.mjs#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/0119.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that draws only when something changed, and while moving no faster than the mode's target. - What it achieves (name): It is built from the schedule step (`schedule`). Defines `due`, `createFrameGate`, `tick` and 1 more. Its code works with 120 Hz. - What it does: It calculates its inputs. Defines due, createFrameGate, tick, schedule. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 5 files: Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Substrate (globalgrid2050); Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050); and 1 more. Reached from 2 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/). - Signatures: `export due(now, last, fps)`; `export createFrameGate(draw, { raf = requestAnimationFrame, clock = () => performance.now() } = {})`; `tick(now)`; `schedule()`; `invalidate()`; `setMoving(on, targetFps)`; `fps()`; `target()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Terrain - File: globalgrid2050/solar-design-studio/202609262041-site-world/world/layers/terrain.mjs (JavaScript, 176 lines) · role geodesy · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609262041-site-world/world/layers/terrain.mjs#L1-L176 - Page: https://code.globalgrid2050.com/explore-code/s/0119.html#f5 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that works with tiles and LiDAR terrain, using SHA-256. It sets index sha (`setIndexSha`), decodes tile (`decodeTile`) and loads index (`loadIndex`). - What it achieves (comment): Ground heights from LiDAR tiles (.ght, written by the LiDAR pipeline). - What it does: It calculates tiles and LiDAR terrain. Defines 12 functions or classes, including setIndexSha, decodeTile, sampleTile, rectDist, createTerrain. - Why it exists in the grid workflow: Domain stage site_feasibility (path word 'terrain'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file tiles.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 2 files: Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Plant Ground (globalgrid2050). - Signatures: `export setIndexSha(sha)`; `export decodeTile(buffer)`; `export sampleTile(t, u, v)`; `export createTerrain()`; `rectDist(x, y, x0, y0, x1, y1)`; `now()`; `place(o)`; `loadIndex()`; `wanted(x, y)`; `request(entry)`; `size(tile.samples - 1)`; `pump()`; `evict()`; `init(a)`; `heightAt(x, y)`; `lines(ctx)` - VEDIC: DECODE (GG2050-VEDIC-000009): Solar Design Studio / 3D terrain · Computer science / Binary decoding. terrain_tile_bytes -> terrain_grid - VEDIC: SAMPLE (GG2050-VEDIC-000010): Solar Design Studio / 3D terrain · Mathematics / Bilinear interpolation. terrain_grid, local_x_m, local_y_m -> height_m_or_nan - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file tiles.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Input - File: globalgrid2050/solar-design-studio/202609262200-site-world/world/input.mjs (JavaScript, 66 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609262200-site-world/world/input.mjs#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/0119.html#f6 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050. It is built from the set step (`set`), the any step (`any`) and the axis step (`axis`). - What it achieves (comment): Keyboard, mouse and touch turned into one small state. It responds to keydown, keyup and blur events. - What it does: It calculates its inputs. Defines 6 functions or classes, including attachInput, set, up, any, axis. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export attachInput(canvas, { onChange, onLook, onView })`; `set(k, down)`; `up(e)`; `any(list)`; `axis(plus, minus)`; `get()`; `active()`; `clamp(v)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Arrival - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/arrival.mjs (JavaScript, 38 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/arrival.mjs#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0120.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050. It is built from the ease step (`ease`), the turn step (`turn`) and the arrive step (`arrive`). - What it achieves (comment): Fly the camera from where it is now to hover above a target, looking down on it. - What it does: It calculates its inputs. Defines ease, turn, arrive, finished, pose. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 5 files: Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Substrate (globalgrid2050); Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050); and 1 more. Reached from 2 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/). - Signatures: `export arrive(state, target, { height = 120, seconds = 3, yaw = state.yaw, pitch = DOWN } = {})`; `ease(u)`; `turn(from, to)`; `d(to - from)`; `finished(t)`; `pose(t)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 1 ### Attribution - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/attribution.mjs (JavaScript, 75 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/attribution.mjs#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0120.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with unknown layers (`unknownLayers`) and fill year (`fillYear`). - What it achieves (comment): It is built from the sources for helper (`sourcesFor`), the unknown layers helper (`unknownLayers`) and the fill year helper (`fillYear`). Attribution small print, GridAtlas style: credit exactly the data that is on screen. - What it does: It calculates its inputs. Defines 7 functions or classes, including sourcesFor, unknownLayers, fillYear, licenceOf, footerEntry. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 9 files: Print Sheet (globalgrid2050); Layers UI (globalgrid2050); Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Substrate (globalgrid2050); and 5 more. Reached from 2 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/). - Signatures: `export sourcesFor(loadedLayerIds, attribution)`; `export unknownLayers(loadedLayerIds, attribution)`; `export footerEntry(src, attribution, year)`; `export footerText(loadedLayerIds, attribution, { year } = {})`; `export aboutList(loadedLayerIds, attribution, { year } = {})`; `fillYear(text, src, year)`; `licenceOf(src, attribution)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 9; mentioned by 1 ### Buffers UI - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/buffers-ui.mjs (JavaScript, 58 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/buffers-ui.mjs#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/0120.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that fetches cables, using SHA-256. - What it achieves (comment): It loads world files (`loadWorldFiles`) and is built from the world from helper (`worldFrom`) and the drawn items helper (`drawnItems`). Page wiring for the Buffers layer. - What it does: It fetches cables. Defines 8 functions or classes, including worldFrom, drawnItems, local, loadWorldFiles, cfg. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Signatures: `export worldFrom({ grid, rivers, roads, hedges } = {})`; `export drawnItems(design, origin)`; `export loadWorldFiles(manifestUrl, api = null)`; `export mountBuffers({ layer, origin, design, load = () => loadWorldFiles('./world/manifest.json') } = {})`; `local(path)`; `cfg(id)`; `get(c)`; `refresh(on)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/buffers-ui.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 1 ### Clash - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/clash.mjs (JavaScript, 149 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/clash.mjs#L1-L149 - Page: https://code.globalgrid2050.com/explore-code/s/0120.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with segs cross (`segsCross`) and dist to geometry (`distToGeometry`) and calculates planar distances. - What it achieves (comment): It checks clashes (`checkClashes`) and is built from the closest on seg helper (`closestOnSeg`) and the segs cross helper (`segsCross`). Clash check: where a drawn trench, road, pad or table enters a buffer zone, with the rule and its sources. - What it does: It calculates its inputs. Defines 17 functions or classes, including closestOnSeg, segsCross, o, segsOf, distToGeometry. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 3 files: Buffers (globalgrid2050); Overhead Line (OHL) Zones (globalgrid2050); Cmd Run (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export distToGeometry(g, x, y)`; `export geometryDistance(g, h)`; `export itemGeometry(item)`; `export insideStretches(pts, g, reach, step = STEP_M)`; `export checkClashes(items, zones, { step = STEP_M } = {})`; `closestOnSeg(px, py, a, b)`; `segsCross(a, b, c, d)`; `o(p, q, r)`; `segsOf(g)`; `take(dd, at)`; `crossing(a, b, c, d)`; `t((c[0] - a[0]) * sy - (c[1] - a[1]) * sx)`; `chainage(pts)`; `pointAt(pts, cum, s)`; `f(s)`; `at(q)`; `edge(lo, hi)`; `r2(v)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 1 ### Design Store - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/design-store.mjs (JavaScript, 377 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/design-store.mjs#L1-L377 - Page: https://code.globalgrid2050.com/explore-code/s/0120.html#f5 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that hashes doc (`hashDoc`), creates doc (`createDoc`) and checks params (`checkParams`), using SHA-256. - What it achieves (comment): It hashes doc (`hashDoc`), creates doc (`createDoc`) and checks params (`checkParams`). The versioned design document for everything drawn in the world. - What it does: It draws its content. Defines 33 functions or classes, including mm, isObj, canonicalJson, sha256Hex, hashDoc. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 2 files: Project UI (globalgrid2050); Project UI (globalgrid2050). - Signatures: `export canonicalJson(value)`; `export sha256Hex(text)`; `export hashDoc(doc)`; `export createDoc({ name = 'untitled', origin_e, origin_n } = {})`; `export validateDoc(doc)`; `export normaliseDoc(doc)`; `export pointsFromLocal(origin, pts)`; `export pointsToLocal(origin, pts)`; `export itemsToLocal(doc, origin)`; `export itemFromLocal(origin, { id, kind, params = {}, points })`; `export applyOp(doc, op)`; `export createHistory(doc, { limit = LIMITS.history } = {})`; `export exportFile(doc)`; `export downloadFile(doc, { document = globalThis.document, URL = globalThis.URL, Blob = globalThis.Blob } = {})`; `export importText(text, { maxBytes = LIMITS.fileBytes, unsigned = false } = {})`; `export makeShareLink(doc, { maxChars = LIMITS.linkChars } = {})`; `export readShareLink(link, { maxChars = LIMITS.linkChars, maxBytes = LIMITS.linkInflatedBytes } = {})`; `export storageKey(site)`; `export autosave(doc, { storage, key = storageKey(doc?.site) } = {})`; `export loadAutosave(site, { storage, key = storageKey(site) } = {})`; `export clearAutosave(site, { storage, key = storageKey(site) } = {})`; `mm(v)`; `isObj(v)`; `checkParams(p, depth, path, errors)`; `checkPoints(pts, path, errors)` (and 12 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Drums - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/drums.mjs (JavaScript, 288 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/drums.mjs#L1-L288 - Page: https://code.globalgrid2050.com/explore-code/s/0121.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, 33kV and 66kV. - What it achieves (comment): It draws joint bays (`drawJointBays`) and is built from the val step (`val`) and the mass per metre helper (`massPerMetre`). Split a cable route into drum lengths, place joint bays, and produce a drum schedule. Its code works with 33 kV, 66 kV and 2 kV. - What it does: It calculates cables, 33kV and 66kV. Defines 16 functions or classes, including val, massPerMetre, barrelRule, drumCapacity, chooseDrum. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, 66kV, 2kV. - Inputs & outputs: Voltage levels named: 66kV, 33kV, 2kV. - Downstream impact: Used directly by 1 file: Design Earthworks (globalgrid2050). - Signatures: `export massPerMetre(cable, opts = {})`; `export barrelRule(cable, rules = [])`; `export drumCapacity(drum, odM, freeboard)`; `export chooseDrum(cable, rules, opts = {})`; `export planDrums({ route, cable, rules = [], crossings = [], groundAt = null, options = {} } = {})`; `export drawJointBays(bays, cfg = {}, groundAt = null)`; `val(opts, k)`; `profile(route)`; `cores(route.cores && route.cores.length ? route.cores : [{ polyline: cl }])`; `interp(pr, arr, t)`; `u(t - d3[lo])`; `pointAt(pr, t)`; `bayProblems(pr, route, t, cfg, crossings)`; `lo(c.from !== undefined ? c.from : c.at)`; `hi(c.to !== undefined ? c.to : c.at)`; `coreLen(t0, t1)`; `need(t0, t1)`; `ends(t0 <= 0 ? cfg.terminationAllowance : cfg.jointAllowance)`; `fits(t0, t1)`; `reach(t0)`; `seg(a, b)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609270439-site-world/world/drums.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [66kV, 33kV, 2kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 1 ### Fence - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/fence.mjs (JavaScript, 271 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/fence.mjs#L1-L271 - Page: https://code.globalgrid2050.com/explore-code/s/0121.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with box over (`boxOver`) and calculates planar distances, using BS 1722-12 and BS 1722-14. - What it achieves (comment): It is built from the wrap step (`wrap`), the point at helper (`pointAt`) and the z at helper (`zAt`). Perimeter and compound fences laid over the ground. - What it does: It calculates its inputs. Defines 14 functions or classes, including createFence, wrap, pointAt, zAt, profile. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Design Earthworks (globalgrid2050); Design Earthworks (globalgrid2050). - Signatures: `export createFence({ polygon, type = 'mesh', height, postSpacing, strainerMaxM, gates = [], groundAt, chunk = 1 })`; `wrap(s)`; `pointAt(s)`; `zAt(s)`; `profile(sa, sb)`; `at3d(pr, d)`; `f(d - pr.c[k - 1])`; `count(k)`; `boxOver(sa, sb)`; `chunksOf(sa, sb, out, extra)`; `solids()`; `lines(o = [0, 0, 0])`; `P3(s, up)`; `L(a, b)`; `inside(x, y)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Input - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/input.mjs (JavaScript, 93 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/input.mjs#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/0121.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that clamps px (`clampPx`) and calculates planar distances. - What it achieves (comment): It clamps px (`clampPx`) and is built from the set step (`set`) and the move knob helper (`moveKnob`). Keyboard, mouse and touch turned into one small state. It responds to keydown, keyup and blur events. - What it does: It calculates its inputs. Defines 10 functions or classes, including attachInput, set, moveKnob, release, up. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 3 files: Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Substrate (globalgrid2050); Substrate (graphics-engines-open-source). Reached from 2 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/). - Signatures: `export attachInput(canvas, pad, { onChange, onLook, onView, onClick = () => {} })`; `set(k, down)`; `moveKnob()`; `release(e)`; `up(e)`; `any(list)`; `axis(plus, minus)`; `get()`; `active()`; `setLift(v)`; `clamp(v)`; `capture(el, e)`; `clampPx(v)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Buffers - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/layers/buffers.mjs (JavaScript, 115 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/layers/buffers.mjs#L1-L115 - Page: https://code.globalgrid2050.com/explore-code/s/0122.html#f1 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that works with dash ring (`dashRing`) and drape pieces (`drapePieces`) and calculates planar distances. - What it achieves (comment): It is built from the finite step (`finite`), the dash ring helper (`dashRing`) and the drape pieces helper (`drapePieces`). Offset zones around features (overhead lines, watercourses, roads, trees, hedges, drawn items) drawn as dashed outlines on the ground, and a small cross wherever a drawn item enters a zone. - What it does: It calculates its inputs. Defines 6 functions or classes, including finite, dashRing, drapePieces, createBuffers, say. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Overhead Line (OHL) UI (globalgrid2050); Overhead Line (OHL) UI (globalgrid2050). - Signatures: `export dashRing(ring, { dash = DASH_M, gap = GAP_M, step = STEP_M } = {})`; `export drapePieces(pieces, heightAt, lift = LIFT_M, o = [0, 0, 0], known = () => true)`; `export createBuffers()`; `finite(h)`; `ph(s + t)`; `say(s)`; `describe()`; `init(a)`; `setEnabled(on)`; `setZones(list)`; `setClashes(list)`; `lines(ctx)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Ground - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/layers/ground.mjs (JavaScript, 261 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/layers/ground.mjs#L1-L261 - Page: https://code.globalgrid2050.com/explore-code/s/0122.html#f2 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that works with dist to line (`distToLine`) and along route (`alongRoute`) and calculates planar distances, using SHA-256 and point in polygon. - What it achieves (comment): It parses ground file (`parseGroundFile`) and is built from the is pt helper (`isPt`) and the rings of helper (`ringsOf`). A desktop study of what lies under the site, from a per-site file (`ground.json`) written by the LiDAR pipeline from public geological, mining and groundwater sources. - What it does: It lists and searches its content. Defines 30 functions or classes, including isPt, ringsOf, inside, bbox, areaItem. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Cmd Run (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export ringsOf(poly)`; `export inside(rings, e, n)`; `export sourcesOf(j)`; `export parseGroundFile(j)`; `export at(model, e, n)`; `export distToLine(path, e, n)`; `export crossings(areas, path, gap = 'not mapped')`; `export alongRoute(model, path, near = 250)`; `export drapeRings(rings, local, heightAt, o, dash = null)`; `export buildGround(model, origin, heightAt)`; `export groundStatus(model)`; `export createGround()`; `isPt(p)`; `bbox(rings)`; `areaItem(it, label)`; `text(...v)`; `list(k, f)`; `unit(it)`; `point(it)`; `hit(a, e, n)`; `pick(k)`; `cuts(rings, a, b)`; `t((px - a[0]) * sy - (py - a[1]) * sx)`; `add(k, d)`; `d(ts[i + 1] - ts[i])` (and 11 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Links - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/links.mjs (JavaScript, 100 lines) · role ingest · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/links.mjs#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/0122.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that uses Helmert using data from the GridAtlas repository. - What it achieves (comment): It parses world URL (`parseWorldUrl`) and is built from the round step (`round`) and the on grid helper (`onGrid`). Links out of the world and back in. - What it does: Defines 8 functions or classes, including round, onGrid, inBritain, strip, gridAtlasUrl. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 6 files: Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Substrate (globalgrid2050); Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Build Mount (globalgrid2050); and 2 more. Reached from 2 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/). - Signatures: `export gridAtlasUrl({ origin, pos, zoom = DEFAULT_ZOOM, base = GRIDATLAS_RECEIVER } = {})`; `export worldUrl(base, { lat, lon, view, yaw, alt, gen } = {})`; `export parseWorldUrl(search)`; `round(v, dp)`; `onGrid(e, n)`; `inBritain(lat, lon)`; `strip(s)`; `deg((yaw * 180 / Math.PI) % 360 + 360)`; `num(k)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 4 estate files (import 2, estate-url 2); used by 6; mentioned by 0 ### Measure Format - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/measure-format.mjs (JavaScript, 86 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/measure-format.mjs#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/0122.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables. It formats number (`formatNumber`), formats length (`formatLength`) and formats area (`formatArea`). - What it achieves (comment): Plain British English lines from the numbers `measure.mjs` returns. - What it does: It calculates cables. Defines 11 functions or classes, including formatNumber, formatLength, formatArea, formatVolume, formatGradient. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 9 files: Cable Checks UI (globalgrid2050); Ground Readout (globalgrid2050); Design Earthworks (globalgrid2050); Design Ground (globalgrid2050); and 5 more. Reached from 3 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/); Substrate (graphics-engines-open-source). - Signatures: `export formatNumber(x, dp = 1)`; `export formatLength(m, dp = 1)`; `export formatArea(m2, dp = 1)`; `export formatVolume(m3, dp = 1)`; `export formatGradient(g, dp = 1)`; `export formatTrenchLine(ts, cs = null)`; `export formatCableLine(cs)`; `export formatPlatformLine(cf)`; `export formatProfileLine(p)`; `plural(n, one, many)`; `belowPhrase(cs)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 9; mentioned by 1 ### Offset - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/offset.mjs (JavaScript, 224 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/offset.mjs#L1-L224 - Page: https://code.globalgrid2050.com/explore-code/s/0123.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that cleans path (`cleanPath`), makes grid (`makeGrid`) and calculates planar distances. It cleans path (`cleanPath`) and makes grid (`makeGrid`). - What it achieves (comment): Offsetting of points, polylines and polygons: the zone of all ground within d metres of a feature. - What it does: It calculates its inputs. Defines 18 functions or classes, including cross, isPt, ringArea, pointInRing, cleanPath. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 3 files: Clash (globalgrid2050); Buffers (globalgrid2050); Overhead Line (OHL) Zones (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export ringArea(ring)`; `export pointInRing(ring, x, y)`; `export cleanPath(pts, closed = false)`; `export pieces(parts, { segments = ARC_SEGMENTS } = {})`; `export unionRings({ pieces: pcs, areas = [] }, { inside = null } = {})`; `export offset(pts, d, { closed = false, area = false, segments = ARC_SEGMENTS } = {})`; `export offsetUnion(parts, { segments = ARC_SEGMENTS } = {})`; `cross(ax, ay, bx, by)`; `isPt(p)`; `p(Array.isArray(pts) ? pts : [])`; `piece(pts, id)`; `disc(c, d, n)`; `rect(a, b, d)`; `locate(pc, x, y)`; `makeGrid(h)`; `range(lo, hi)`; `add(box, v)`; `at(x, y)`; `cellOf(x, y)`; `segHit(e, f)`; `mx(p[0] + q[0])`; `k(p)`; `chain(segs)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 1 ### Origin - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/origin.mjs (JavaScript, 31 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/origin.mjs#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/0123.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that converts to local (`toLocal`) and bng (`toBng`). - What it achieves (comment): It is built from the to local helper (`toLocal`), the to bng helper (`toBng`) and the rebase if needed helper (`rebaseIfNeeded`). The world is drawn in local `east/north/up` metres around an origin held in float64 British National Grid metres ({ e, n, id }). - What it does: It calculates its inputs. Defines toLocal, toBng, rebaseIfNeeded. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 24 files: Links (globalgrid2050); Plan Wire (globalgrid2050); Tour (globalgrid2050); Design Earthworks (globalgrid2050); and 20 more. Reached from 2 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/). - Signatures: `export toLocal(origin, e, n)`; `export toBng(origin, x, y)`; `export rebaseIfNeeded(origin, pos, { limit = 600, tile = 1000 } = {})` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 24; mentioned by 1 ### Phases Slider - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/phases-slider.mjs (JavaScript, 46 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/phases-slider.mjs#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/0123.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that creates phase slider (`createPhaseSlider`). - What it achieves (comment): It creates phase slider (`createPhaseSlider`) and is built from the slider model helper (`sliderModel`) and the set step (`set`). A small range slider over a `phases.mjs` timeline. It responds to input events. - What it does: It draws its content. Defines sliderModel, createPhaseSlider, set. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Project UI (globalgrid2050); Project UI (globalgrid2050). - Signatures: `export sliderModel(timeline, step)`; `export createPhaseSlider(container, timeline, onStep = () => {})`; `set(step)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Phases - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/phases.mjs (JavaScript, 213 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/phases.mjs#L1-L213 - Page: https://code.globalgrid2050.com/explore-code/s/0123.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that compiles plan (`compilePlan`), validates plan (`validatePlan`) and creates timeline (`createTimeline`), covering cables. - What it achieves (comment): It compiles plan (`compilePlan`), validates plan (`validatePlan`) and creates timeline (`createTimeline`). Construction sequence over the design document. - What it does: It lists and searches cables. Defines 20 functions or classes, including rank, list, issue, readItems, ref. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 1 file: Project UI (globalgrid2050). - Signatures: `export compilePlan(items, phases = DEFAULT_PHASES)`; `export validatePlan(items, phases = DEFAULT_PHASES)`; `export createTimeline(items, phases = DEFAULT_PHASES)`; `rank(kind, state)`; `list(v)`; `issue(severity, code, message, extra = {})`; `readItems(items, issues)`; `ref(it, key, kind)`; `wholeSteps(p, idx, issues)`; `expand(phases, byId, issues)`; `rules(op, it, byId, state, allRoads)`; `at(id)`; `kindOf(id)`; `reached(id, s)`; `need(id, s, code, why)`; `roadsFor(x)`; `clamp(s)`; `phaseAt(step)`; `stateAt(step)`; `label(step)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Pick - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/pick.mjs (JavaScript, 52 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/pick.mjs#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/0123.html#f5 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that snaps to grid (`snapToGrid`) and calculates planar distances. It picks ground (`pickGround`) and snaps grid (`snapToGrid`). - What it achieves (comment): Picking: which point on the ground is under a pixel. - What it does: It calculates its inputs. Defines rayFromScreen, pickGround, below, snapToGrid, snap. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Design UI (globalgrid2050); Design UI (graphics-engines-open-source). Reached from 3 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/); Substrate (graphics-engines-open-source). - Signatures: `export rayFromScreen(px, py, width, height, eye, yaw, pitch, fovy)`; `export pickGround(ray, groundAt, { maxDistance = 2000, step = 0.5 } = {})`; `export snapToGrid(point, spacing)`; `nx(2 * px)`; `below(t)`; `mid(lo + hi)`; `t(lo + hi)`; `snap(v)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Piles - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/piles.mjs (JavaScript, 225 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/piles.mjs#L1-L225 - Page: https://code.globalgrid2050.com/explore-code/s/0124.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with solar. - What it achieves (comment): It fits top line (`fitTopLine`) and is built from the pile stations helper (`pileStations`) and the spread at helper (`spreadAt`). Where the piles of a row of solar tables go, how far each stands out of the ground, how deep it goes in, and what grading a row needs where the ground is too uneven for a straight table. - What it does: It calculates solar. Defines 7 functions or classes, including pileStations, spreadAt, fitTopLine, clip, slopeAt. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Design Earthworks (globalgrid2050). - Signatures: `export pileStations(len, tableLength, pileSpacing, tableGap = 0)`; `export fitTopLine(s, g, reveal, maxSlope = Infinity)`; `export planPiles(opts)`; `export revealPercentiles(piles)`; `off(len - used)`; `over(tableLength - (np - 1) * pileSpacing)`; `spreadAt(s, g, b)`; `clip(b)`; `slopeAt(groundAt, x, y, h)`; `gx(groundAt(x + h, y) - groundAt(x - h, y))`; `gy(groundAt(x, y + h) - groundAt(x, y - h))`; `ux(x1 - x0)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Plan Wire - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/plan-wire.mjs (JavaScript, 45 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/plan-wire.mjs#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0124.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables. - What it achieves (comment): It is built from the mount plan helper (`mountPlan`), the local step (`local`) and the drawn step (`drawn`). Wires the plan inset (`plan-inset.mjs`) to the world: it is redrawn after each drawn frame, and only when what it shows has changed. - What it does: It calculates cables. Defines mountPlan, local, drawn, update. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export mountPlan(api, doc = document)`; `local(o, it)`; `drawn()`; `update()`; `setItems(key, items)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Print Layout - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/print-layout.mjs (JavaScript, 191 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/print-layout.mjs#L1-L191 - Page: https://code.globalgrid2050.com/explore-code/s/0124.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that scales bar (`scaleBar`), fits credit (`fitCredit`) and calculates angles. It wraps text (`wrapText`) and fits credit (`fitCredit`). - What it achieves (comment): Print sheet layout: the pure parts. - What it does: It calculates its inputs. Defines 16 functions or classes, including rect, sheetLayout, niceBelow, chooseScale, batchBounds. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 4 files: Print Sheet (globalgrid2050); Print SVG (globalgrid2050); Print (globalgrid2050); Print Sheet (globalgrid2050). - Signatures: `export sheetLayout(paperName = 'A3', { aspect = 10 / 16 } = {})`; `export niceBelow(v)`; `export chooseScale(extentM, drawMM)`; `export batchBounds(batches)`; `export planFrame(layout, { batches = [], extent = null, centre = null, maxHalf = 250, minHalf = 10 } = {})`; `export planToPaper(frame, layout, x, y)`; `export scaleBar(frame, layout, { fraction = 0.3 } = {})`; `export digitsFor(spacing)`; `export gridTicks(frame, layout, origin, { target = 5 } = {})`; `export refAt(origin, x, y, digits = 10)`; `export trueNorthOffset(e, n)`; `export bearingText(yaw)`; `export wrapText(text, widthMM, sizeMM)`; `export fitCredit(text, widthMM, maxHeightMM, { size = 2.4, minSize = 1.6, lead = 1.3 } = {})`; `rect(x, y, w, h)`; `safeRef(e, n, digits)`; `dx(b.lon - a.lon)`; `deg((yaw * 180 / Math.PI) % 360 + 360)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 1 ### Print Sheet - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/print-sheet.mjs (JavaScript, 198 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/print-sheet.mjs#L1-L198 - Page: https://code.globalgrid2050.com/explore-code/s/0124.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that clips def (`clipDef`) and draws SVG graphics, using Helmert. - What it achieves (comment): It builds sheet (`buildSheet`) and is built from the sheet date helper (`sheetDate`) and the rect step (`rect`). The whole print sheet as one SVG string: plan, current view, north arrow, scale bar, National Grid references, title block and the credit for exactly the loaded layers. - What it does: It draws its content. Defines 12 functions or classes, including sheetDate, f, t, rect, clipDef. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: SVG drawing. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Print (globalgrid2050). - Signatures: `export sheetDate(date)`; `export buildSheet(opts)`; `export legendOf(batches)`; `f(v)`; `t(x, y, s, size, extra = '')`; `rect(r, extra = '')`; `clipDef(id, r)`; `stroke(p, w)`; `tag(x, y, s, size = 2.1, extra = '')`; `dateYear(date)`; `viewerMark(x, y, yaw)`; `titleBlock(L, { name, dateText, frame, centreRef, eyeRef, generation, tn, legend })`; `colW(r.w - 5)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 1 ### Print SVG - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/print-svg.mjs (JavaScript, 146 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/print-svg.mjs#L1-L146 - Page: https://code.globalgrid2050.com/explore-code/s/0125.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that clips segment (`clipSegment`), converts to paper (`toPaper`), scales bar SVG (`scaleBarSvg`) and calculates planar distances. - What it achieves (comment): It is built from the esc step (`esc`), the ink for helper (`inkFor`) and the clip segment helper (`clipSegment`). Print sheet drawing: builds the sheet as one SVG string, in millimetres. - What it does: It calculates its inputs. Defines 14 functions or classes, including esc, f, inkFor, clipSegment, planPaths. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 2 files: Print Sheet (globalgrid2050); Print Sheet (globalgrid2050). - Signatures: `export esc(s)`; `export inkFor(color)`; `export clipSegment(x0, y0, x1, y1, r)`; `export planPaths(batches, frame, layout)`; `export viewPaths(batches, cam, r, { fade = 450, near = 0.05, far = 5000 } = {})`; `export northArrow(x, y, size, tn)`; `export scaleBarSvg(bar, x, y, scale)`; `export gridSvg(ticks, layout)`; `f(v)`; `clip(x, y, z)`; `toPaper([cx, cy, w])`; `t(near - pa[2])`; `text(x, y, s, size, extra = '')`; `box(r, extra = '')`; `path(p, w)`; `sq(ticks.squares || [...new Set([...ticks.eastings, ...ticks.northings].map(t => t.square))])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 1 ### Print - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/print.mjs (JavaScript, 155 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/print.mjs#L1-L155 - Page: https://code.globalgrid2050.com/explore-code/s/0125.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that downloads SVG (`downloadSvg`) and png (`downloadPng`), opens sheet (`openSheet`) and draws on a canvas. - What it achieves (comment): It downloads SVG (`downloadSvg`), downloads png (`downloadPng`) and opens sheet (`openSheet`). A sheet of the world on A3 or A4 landscape, as SVG, PNG or through the browser's own print. It responds to afterprint, click and keydown events. - What it does: It draws its content. Defines 15 functions or classes, including captureView, sheetFileName, p, save, downloadSvg. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 2 files: Project UI (globalgrid2050); Project UI (globalgrid2050). - Signatures: `export captureView(canvas, redraw)`; `export sheetFileName(paper, ext, date = new Date())`; `export downloadSvg(svg, name)`; `export sheetPng(svg, paper = 'A3', dpi = 150)`; `export downloadPng(svg, paper, name, dpi)`; `export printCss(paper = 'A3')`; `export printSheet(svg, paper = 'A3')`; `export openSheet(make, { paper = 'A3' } = {})`; `p(n)`; `save(blob, name)`; `clean()`; `button(label, fn, extra = {})`; `show(p)`; `close()`; `onKey(e)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 1 ### Road Lines - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/road-lines.mjs (JavaScript, 136 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/road-lines.mjs#L1-L136 - Page: https://code.globalgrid2050.com/explore-code/s/0125.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with offset line (`offsetLine`) and edge lines (`edgeLines`) and calculates planar distances. - What it achieves (comment): It is built from the frame step (`frame`), the offset line helper (`offsetLine`) and the densify step (`densify`). Lines for drawing a road made by `createRoad` (`road.mjs`). - What it does: It calculates its inputs. Defines 11 functions or classes, including frame, offsetLine, densify, finishedAtPoint, edgeLines. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Design Earthworks (globalgrid2050); Design Earthworks (globalgrid2050). - Signatures: `export offsetLine(road, h)`; `export edgeLines(road)`; `export batterLines(road, g = road.groundAt, { tick = 5 } = {})`; `export sectionLines(road, sections, { lift = 0.05, every = 1 } = {})`; `frame(road)`; `densify(line, every)`; `finishedAtPoint(road, x, y)`; `run(line)`; `daylight(road, x, y, ux, uy, zE, g)`; `raw(d)`; `ux(x - p.fx)`; `at(s, off)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Search - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/search.mjs (JavaScript, 96 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/search.mjs#L1-L96 - Page: https://code.globalgrid2050.com/explore-code/s/0125.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that parses coords (`parseCoords`) and query (`parseQuery`) (units: MW), covering postcodes. It parses coords (`parseCoords`) and parses query (`parseQuery`). - What it achieves (comment): Project search over `web/world/data/projects.json`. Pure: no imports, no DOM. - What it does: It lists and searches postcodes. Defines 8 functions or classes, including norm, compact, parseCoords, parseQuery, prepare. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: postcodes. - Downstream impact: Used directly by 2 files: Search UI (globalgrid2050); Search UI (globalgrid2050). Reached from 3 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/); Substrate (graphics-engines-open-source). - Signatures: `export parseCoords(text)`; `export parseQuery(text)`; `export search(index, query, limit = 12)`; `norm(s)`; `compact(s)`; `prepare(index)`; `rows(index.records ?? [])`; `altMatches(row, alt)`; `score(row, whole)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Sun UI - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/sun-ui.mjs (JavaScript, 50 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/sun-ui.mjs#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0125.html#f5 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that mounts sun control (`mountSunControl`), covering solar. - What it achieves (comment): It starts state (`startState`) and is built from the grid sun helper (`gridSun`) and the mount sun control helper (`mountSunControl`). Date and time for the Terrain shadow layer: a date field and a time-of-day slider under the Layers panel, shown only while the layer is on. It responds to change and input events. - What it does: It draws solar. Defines startState, gridSun, mountSunControl, apply. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: In: form fields (user input). Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export startState(lat, lon, nowMs = Date.now())`; `export gridSun(lat, lon, state)`; `export mountSunControl(host, { layer, site, nowMs } = {})`; `apply()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Sun - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/sun.mjs (JavaScript, 156 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/sun.mjs#L1-L156 - Page: https://code.globalgrid2050.com/explore-code/s/0126.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with solar. It clamps ms (`clampMs`) and applies time (`applyTime`). - What it achieves (comment): Sun position for a place and a moment, the sun's direction in the world's axes, and a date/time model. - What it does: It calculates solar. Defines 14 functions or classes, including fix360, julianDay, sunPlace, refraction, solarPosition. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 3 files: Sun UI (globalgrid2050); Sun Day (globalgrid2050); Sun Mode (globalgrid2050). - Signatures: `export julianDay(ms)`; `export sunPlace(ms)`; `export refraction(elevation, { pressure = 1010, temperature = 10 } = {})`; `export solarPosition(lat, lon, ms, opts = {})`; `export sunDirection({ azimuth, elevation })`; `export solarNoon(lon, ms)`; `export gridConvergence(lat, lon, lon0 = -2)`; `export timeState(utcMs, stepMinutes = 15)`; `export applyTime(state, action = {})`; `export timeView(state)`; `export sunAt(lat, lon, state, opts = {})`; `fix360(a)`; `T(julianDay(ms) - 2451545)`; `omega(125.04 - 1934.136 * T)`; `lambda(L0 + C - 0.00569 - 0.00478 * Math.sin(omega))`; `eps(eps0 + 0.00256 * Math.cos(omega))`; `minutes(((ms % DAY_MS) + DAY_MS) % DAY_MS)`; `tst((minutes + equationOfTime + 4 * lon) % 1440 + 1440)`; `clampMs(ms)`; `num(v, what)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Tour - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/tour.mjs (JavaScript, 281 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/tour.mjs#L1-L281 - Page: https://code.globalgrid2050.com/explore-code/s/0126.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that creates recorder (`createRecorder`) and player (`createPlayer`), using SHA-256. It creates recorder (`createRecorder`) and creates player (`createPlayer`). - What it achieves (comment): Tours: record a walk or a drone flight, play it back smoothly, save it, and present it. - What it does: It calculates its inputs. Defines 23 functions or classes, including mm, rad, ms, turn, keyframe. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Project UI (globalgrid2050). - Signatures: `export keyframe(t, origin, pose, { caption = '', hold = 0 } = {})`; `export createRecorder({ kind = 'walk', name = '', every = 0.25 } = {})`; `export makeTour({ kind = 'walk', name = '', keyframes })`; `export sha256(text)`; `export exportTour(tour)`; `export importTour(text)`; `export compile(tour)`; `export gridPoseAt(line, t)`; `export poseAt(line, t, origin)`; `export captionAt(line, t, { showFor = 6 } = {})`; `export createPlayer(tour, { gate, getOrigin, apply = () => {}, onCaption = () => {}, onEnd = () => {}, clock = () => performance.now(), s...)`; `export present(text, { captionEl, onCaption, onExit = () => {}, autoplay = true, ...opts } = {})`; `mm(x)`; `rad(x)`; `ms(x)`; `turn(from, to)`; `d(to - from)`; `push(k)`; `sample(t, origin, pose)`; `mark(caption, hold = 0)`; `stop()`; `pick(o, keys)`; `body(tour)`; `hermite(a, b, u, h, j)`; `at(v)` (and 9 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 1 ### Xr Pose - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/xr-pose.mjs (JavaScript, 160 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/xr-pose.mjs#L1-L160 - Page: https://code.globalgrid2050.com/explore-code/s/0126.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that converts to world (`toWorld`), snaps turn (`snapTurn`) and reads controllers (`readControllers`). - What it achieves (comment): It turns about (`turnAbout`), snaps turn (`snapTurn`) and reads controllers (`readControllers`). Headset view pose maths. Pure: no DOM, no WebXR objects, only plain numbers and arrays. Its code works with 72 Hz. - What it does: It lists and searches its content. Defines 21 functions or classes, including xrToWorld, rotYaw, rotate, dirToWorld, toWorld. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Xr (globalgrid2050). - Signatures: `export xrToWorld([x, y, z])`; `export rotYaw(yaw, [x, y, z])`; `export rotate([qx, qy, qz, qw], [vx, vy, vz])`; `export dirToWorld(rig, v)`; `export toWorld(rig, p)`; `export eyeMatrix(projection, rig, orientation)`; `export headLook(rig, orientation)`; `export turnAbout(rig, head, dYaw)`; `export snapTurn(armed, x, { step: size = SNAP, on = SNAP_ON, off = SNAP_OFF } = {})`; `export deadzone(v, dz = DEADZONE)`; `export readControllers(sources)`; `export movementInput(c, view)`; `export settle(rig, head, view, heightAt, lift)`; `export locomote(rig, head, orientation, input, dt, view, heightAt, solids = [], lift = 0)`; `export enterRig(state, head, orientation, heightAt, lift)`; `export leaveRig(rig, head, orientation, view)`; `export chooseFrameRate(supported, floor = MIN_FRAME_RATE)`; `export headsetBudget()`; `export adjustHeadset(b, intervalMs, frameRate)`; `pressed(n)`; `wrap(a)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 1 ### Xr - File: globalgrid2050/solar-design-studio/202609270005-site-world-v3/world/xr.mjs (JavaScript, 109 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270005-site-world-v3/world/xr.mjs#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/0127.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that attaches headset (`attachHeadset`). It attaches headset (`attachHeadset`) and is built from the label step (`label`) and the start step (`start`). - What it achieves (comment): Headset view: an optional WebXR immersive-vr session for the same line world. It responds to click and end events. - What it does: It calculates its inputs. Defines 10 functions or classes, including attachHeadset, label, start, run, layerFor. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `export attachHeadset(button, api, { xr = globalThis.navigator && navigator.xr } = {})`; `label()`; `start()`; `run(s, gl, space, lift)`; `layerFor(k)`; `resize()`; `frame(t, f)`; `switchView(current, r, h, o)`; `xyz(p)`; `quat(q)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Boq Assumptions - File: globalgrid2050/solar-design-studio/202609270056-site-world-v3/world/boq-assumptions.mjs (JavaScript, 68 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270056-site-world-v3/world/boq-assumptions.mjs#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/0127.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables. It is built from the road build up helper (`roadBuildUp`) and the from road helper (`fromRoad`). - What it achieves (comment): The default values the bill of quantities falls back on when a design item does not say. - What it does: It calculates cables. Defines roadBuildUp, fromRoad. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'boq'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 10 files: Drums (globalgrid2050); Boq (globalgrid2050); Design Earthworks (globalgrid2050); Design Ground (globalgrid2050); and 6 more. - Signatures: `export roadBuildUp(layers)`; `fromRoad(surface)` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 10; mentioned by 1 ### Design Import - File: globalgrid2050/solar-design-studio/202609270056-site-world-v3/world/design-import.mjs (JavaScript, 239 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270056-site-world-v3/world/design-import.mjs#L1-L239 - Page: https://code.globalgrid2050.com/explore-code/s/0127.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables and solar. - What it achieves (comment): It imports design (`importDesign`) and is built from the num step (`num`) and the deg step (`deg`). Turns the GIS, single-line diagram (SLD) & Financial Sandbox GeoJSON export (WGS84 lon/lat) into local-metre geometry for the world viewer. - What it does: It calculates cables and solar. Defines 14 functions or classes, including num, deg, frame, box, closed. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, 33kV. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 33kV. - Signatures: `export importDesign(geojson, toLocal)`; `num(v, d)`; `deg(r)`; `frame(bearingDeg)`; `box(f, cu, cv, len, wid, z0, z1, extra)`; `closed(quad)`; `intervalsAt(ringsUV, v)`; `intersect(a, b)`; `pack(ringsLocal, f, len, depth, pitch, gap, margin, onSlot)`; `mountingFor(gcr)`; `ringsOf(geom, toLocal)`; `conv(ring)`; `polyLength(pts)`; `blocked(cu, cv)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [33kV] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Ground Readout - File: globalgrid2050/solar-design-studio/202609270056-site-world-v3/world/ground-readout.mjs (JavaScript, 133 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270056-site-world-v3/world/ground-readout.mjs#L1-L133 - Page: https://code.globalgrid2050.com/explore-code/s/0127.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that joins names (`joinNames`) and routes rows (`routeRows`). It joins names (`joinNames`) and routes rows (`routeRows`). - What it achieves (comment): Words for what the ground layer (`layers/ground.mjs`) finds under the walker and along a finished trench or cable route. - What it does: It draws its content. Defines 11 functions or classes, including srcName, joinNames, underfootText, mayLink, lengths. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `export underfootText(u)`; `export mayLink(source, url)`; `export thermalText(records)`; `export routeRows(r)`; `export mountGroundReadout({ doc, layer, on, feet, box, finished, here, walking })`; `srcName(sources, key)`; `joinNames(items)`; `lengths(list)`; `listed(label, list, key, none)`; `el(tag, cls, t)`; `update()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 1 ### Hdd - File: globalgrid2050/solar-design-studio/202609270056-site-world-v3/world/hdd.mjs (JavaScript, 384 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270056-site-world-v3/world/hdd.mjs#L1-L384 - Page: https://code.globalgrid2050.com/explore-code/s/0128.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, 33kV and 132kV, using BS 7870-4. - What it achieves (comment): It compares crossing (`compareCrossing`) and is built from the cable bend multiple helper (`cableBendMultiple`) and the duct for cable helper (`ductForCable`). A horizontal directional drill (HDD) crossing under a road, watercourse or hedge. Its code works with 33 kV and 132 kV. - What it does: It calculates cables, 33kV and 132kV. Defines 16 functions or classes, including cableBendMultiple, ductForCable, clamp, lineOf, side. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, 132kV. - Inputs & outputs: Voltage levels named: 132kV, 33kV. - Downstream impact: Used directly by 1 file: Design Earthworks (globalgrid2050). - Signatures: `export cableBendMultiple(voltageKv = 33, method = 'duct')`; `export ductForCable({ odMm, voltageKv = 33, cores = 3, circuits = 1 } = {})`; `export designBore(opts)`; `export cablePull(samples, cable = CABLE_ASSUMED)`; `export compareCrossing(opts)`; `clamp(v, a, b)`; `lineOf(from, to)`; `side(zg, zb, a, R)`; `tangent(drop - arcDrop)`; `aE(opts.entryAngleDeg ?? 12)`; `zAt(s)`; `pointAt(s)`; `inRange(a, [lo, hi])`; `pitOf(s, name)`; `noLayout(base, note)`; `rootOut(f, start, end, valid = () => true)`; `h(s)`; `run(pts)`; `allowable(PULL_STRESS[c.material] ?? PULL_STRESS.al)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271552-site-world/world/hdd.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [132kV, 33kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 1 ### Land - File: globalgrid2050/solar-design-studio/202609270056-site-world-v3/world/land.mjs (JavaScript, 298 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270056-site-world-v3/world/land.mjs#L1-L298 - Page: https://code.globalgrid2050.com/explore-code/s/0128.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with solar. - What it achieves (comment): It is built from the is grade helper (`isGrade`), the ring area helper (`ringArea`) and the prepare step (`prepare`). The land-use lens for farmers and planners. - What it does: It calculates solar. Defines 19 functions or classes, including isGrade, ringArea, prepare, intervalsAt, intersect. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export isGrade(g)`; `export ringArea(ring)`; `export prepare(rings)`; `export intervalsAt(poly, y)`; `export intersect(A, B)`; `export subtract(A, B)`; `export span(I)`; `export pointInRings(rings, x, y)`; `export areaByGrade(fieldRings, land, { step = STEP_M } = {})`; `export planWidth(slopeLengthM, tiltDeg)`; `export panelSplit(areaM2, { pitch, tableWidth, excludedFraction = 0 } = {})`; `export grazingNote(grazedM2)`; `export cellRing(e, n, { side, area, orientation = 'flat' } = {})`; `export cropMix(fieldRings, crops, { step = STEP_M } = {})`; `export landReport(fields, land, { panels = null, step = STEP_M } = {})`; `export reportLines(r)`; `ewes(lu)`; `add(into, from)`; `ha(m2)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Flow - File: globalgrid2050/solar-design-studio/202609270056-site-world-v3/world/layers/flow.mjs (JavaScript, 352 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270056-site-world-v3/world/layers/flow.mjs#L1-L352 - Page: https://code.globalgrid2050.com/explore-code/s/0129.html#f1 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that sets index sha (`setIndexSha`), decodes hollow tile (`decodeHollowTile`), loads index (`loadIndex`) and calculates planar distances, using SHA-256. - What it achieves (comment): It sets index sha (`setIndexSha`), decodes flow tile (`decodeFlowTile`) and decodes hollow tile (`decodeHollowTile`). The natural drainage lines: every cell whose log-accumulation class is at or above a chosen class, drawn as a short downhill segment to the cell it drains into (D8), draped just above the ground, brighter as the flow grows. - What it does: It lists and searches flow tiles and LiDAR terrain. Defines 24 functions or classes, including setIndexSha, decodeFlowTile, fits, looksEsri, colorFor. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file flow-tiles.json. - Signatures: `export setIndexSha(sha)`; `export decodeFlowTile(buffer, { encoding } = {})`; `export colorFor(c, minClass, maxClass)`; `export segments(t, x0, y0, minClass, heightAt, { lift = LIFT_M, origin = [0, 0, 0] } = {})`; `export decodeHollowTile(buffer)`; `export hollowMask(t, minCells = MIN_HOLLOW_CELLS)`; `export hollowOutline(t, x0, y0, heightAt, { minCells = MIN_HOLLOW_CELLS, lift = HOLLOW_LIFT_M, origin = [0, 0, 0], openEdges = false } = {})`; `export createFlow()`; `fits(s, h)`; `looksEsri(raw)`; `inside(i, j)`; `seg(ax, ay, bx, by)`; `finite(h)`; `rectDist(x, y, x0, y0, x1, y1)`; `now()`; `say(s)`; `loadIndex()`; `loadHollows()`; `ready()`; `empty(t)`; `wanted(x, y)`; `request(entry)`; `pump()`; `evict()`; `init(a)` (and 3 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609270439-site-world/world/layers/flow.mjs) · essay_status: readme_derived - data_contracts: in [JSON file flow-tiles.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Measure - File: globalgrid2050/solar-design-studio/202609270056-site-world-v3/world/measure.mjs (JavaScript, 369 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270056-site-world-v3/world/measure.mjs#L1-L369 - Page: https://code.globalgrid2050.com/explore-code/s/0130.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, 33kV, solar and LiDAR terrain, using point in polygon. - What it achieves (comment): It opens ring (`openRing`) and is built from the distance2d step (`distance2d`) and the distance3d step (`distance3d`). What the design tools and panels say about the real ground. Its code works with 33 kV. - What it does: It calculates cables, 33kV, solar and LiDAR terrain. Defines 15 functions or classes, including distance2d, distance3d, polylineLength2d, signedArea, areaOfPolygon. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, solar, LiDAR terrain. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 5 files: Design Earthworks (globalgrid2050); Design UI (globalgrid2050); Design Earthworks (globalgrid2050); Design UI (globalgrid2050); and 1 more. Reached from 3 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/); Substrate (graphics-engines-open-source). - Signatures: `export distance2d(a, b)`; `export distance3d(a, b)`; `export polylineLength2d(points)`; `export signedArea(polygon)`; `export areaOfPolygon(polygon)`; `export profile(groundAt, points, step = 1)`; `export slopeAlong(groundAt, at, direction, h = 0.5)`; `export cutFillForPlatform(groundAt, polygon, level, cell = 0.5)`; `export trenchSummary(trench, groundAt = null)`; `export bendRule(cables, { voltageKv, construction = null, when, odMm })`; `export cableSummary(route, opts = {})`; `export coverAchieved(section, odMm = null)`; `openRing(polygon)`; `insidePoly(x, y, vx, vy)`; `j(i - 1 + n)`; `pathBends(path)`; `rules(cables && cables.rules)`; `required(voltageKv != null && odMm > 0)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 5; mentioned by 1 ### Phases Design - File: globalgrid2050/solar-design-studio/202609270056-site-world-v3/world/phases-design.mjs (JavaScript, 83 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270056-site-world-v3/world/phases-design.mjs#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/0130.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables and solar. - What it achieves (comment): It is built from the items from store helper (`itemsFromStore`) and the items from design helper (`itemsFromDesign`). Derive construction items from a design. - What it does: It calculates cables and solar. Defines itemsFromStore, itemsFromDesign. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar. - Downstream impact: Used directly by 1 file: Project UI (globalgrid2050). - Signatures: `export itemsFromStore(doc, opts = {})`; `export itemsFromDesign(design, opts = {})`; `roads(opts.roads || [])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609270439-site-world/world/phases-design.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Plan Inset - File: globalgrid2050/solar-design-studio/202609270056-site-world-v3/world/plan-inset.mjs (JavaScript, 248 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270056-site-world-v3/world/plan-inset.mjs#L1-L248 - Page: https://code.globalgrid2050.com/explore-code/s/0130.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that converts to world (`toWorld`), scales bar (`scaleBar`), formats distance (`formatDistance`) and calculates planar distances. - What it achieves (comment): It formats distance (`formatDistance`) and starts collapsed (`startCollapsed`). A small top-down plan in a corner, drawn on a 2D canvas (not WebGL). It responds to click, pointerdown and pointercancel events. - What it does: It draws its content. Defines 18 functions or classes, including finite2, extentOf, add, fit, toPlan. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 1 file: Plan Wire (globalgrid2050). - Signatures: `export extentOf({ viewer, boundary, tiles, items } = {})`; `export fit(extent, w, h, { pad = PAD_PX, minSpan = MIN_SPAN_M } = {})`; `export toPlan(f, x, y)`; `export toWorld(f, px, py)`; `export headingOnPlan(yaw)`; `export scaleBar(scale, maxPx)`; `export formatDistance(m)`; `export signature(data, w, h)`; `export planSize(vw, vh, coarse)`; `export startCollapsed(vw, vh)`; `export createPlanInset(doc, { onFly = () => {}, coarse, win = doc.defaultView } = {})`; `finite2(p)`; `add(x, y)`; `tiles(data?.tiles || [])`; `bound(data?.boundary || [])`; `items(data?.items || [])`; `isCoarse()`; `layout()`; `draw()`; `set(next)`; `refresh()`; `setCollapsed(on)`; `paint(ctx, f, data, side)`; `P(x, y)`; `ring(data.boundary || [])` (and 1 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Postcodes - File: globalgrid2050/solar-design-studio/202609270056-site-world-v3/world/postcodes.mjs (JavaScript, 77 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270056-site-world-v3/world/postcodes.mjs#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/0131.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that fetches postcodes from postcodes.io. It normalises postcode (`normalisePostcode`) and creates postcode lookup (`createPostcodeLookup`). - What it achieves (comment): Postcode search through postcodes.io (code MIT; Great Britain postcode data under the OS OpenData licence, wording checked on postcodes.io 26 Sept 2026). - What it does: It fetches postcodes. Defines 6 functions or classes, including normalisePostcode, looksLikePostcode, toPostcodeRows, createPostcodeLookup, remember. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: postcodes. - Inputs & outputs: In: data source: postcodes.io. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 3 files: Places (globalgrid2050); Search UI (globalgrid2050); Search UI (globalgrid2050). Reached from 3 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/); Substrate (graphics-engines-open-source). - Signatures: `export normalisePostcode(text)`; `export looksLikePostcode(text)`; `export toPostcodeRows(results)`; `export createPostcodeLookup({ fetchImpl, limit = 6, minGapMs = 250, cacheSize = 60, clock = () => Date.now(), sleep = ms => new Promise(r => setT...)`; `remember(q, rows)`; `lookup(text)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: postcodes.io]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Sites UI - File: globalgrid2050/solar-design-studio/202609270056-site-world-v3/world/sites-ui.mjs (JavaScript, 100 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270056-site-world-v3/world/sites-ui.mjs#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/0131.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that creates site chooser (`createSiteChooser`) and mounts site select (`mountSiteSelect`), using SHA-256. It parses sites (`parseSites`) and creates site chooser (`createSiteChooser`). - What it achieves (comment): Site selector for the world viewer. It reads `./world/data/sites.json`. It responds to change events. - What it does: It draws its content. Defines 6 functions or classes, including SAFE_PATH, parseSites, siteLabel, createSiteChooser, mountSiteSelect. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file sites.json; form fields (user input). - Downstream impact: Used directly by 6 files: Project UI (globalgrid2050); Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Substrate (globalgrid2050); Project UI (globalgrid2050); and 2 more. - Signatures: `export parseSites(json)`; `export siteLabel(site, { relief = true } = {})`; `export createSiteChooser(sites, { current = null, onChoose = () => {} } = {})`; `export mountSiteSelect(doc, parent, chooser)`; `export siteFromUrl(loc = location)`; `SAFE_PATH(p)`; `choose(name)`; `leave()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file sites.json; form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 1 ### Snap - File: globalgrid2050/solar-design-studio/202609270056-site-world-v3/world/snap.mjs (JavaScript, 92 lines) · role geodesy · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270056-site-world-v3/world/snap.mjs#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/0131.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with substations. It snaps point (`snapPoint`) and snaps ring (`snapRing`). - What it achieves (comment): Snapping a cable route to grid equipment, and what the readout says about where the route meets the grid. Its code works with 200 kV and 400 kV. - What it does: It calculates substations. Defines 11 functions or classes, including dist, snapPoint, bearingDeg, nearestSubstation, tierOf. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, 400kV, 200kV. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 400kV, 200kV. - Downstream impact: Used directly by 3 files: Design Ground (globalgrid2050); Design UI (globalgrid2050); Design UI (globalgrid2050). - Signatures: `export snapPoint(p, assets, origin, radius = SNAP_M)`; `export bearingDeg(a, b)`; `export nearestSubstation(at, assets)`; `export tierOf(a)`; `export tierText(a)`; `export connectionText(near, endAsset = null)`; `export draftToNearest(last, asset, origin)`; `export measuredShare(pts, measuredAt, step = 5)`; `export snapRing([x, y, z], r = 3, h = 4)`; `dist(a, b)`; `km(d)`; `f(k + 0.5)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [400kV, 200kV] - Edges: uses 0 estate files; used by 3; mentioned by 1 ### Wcs Terrain - File: globalgrid2050/solar-design-studio/202609270056-site-world-v3/world/wcs-terrain.mjs (JavaScript, 216 lines) · role geodesy · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270056-site-world-v3/world/wcs-terrain.mjs#L1-L216 - Page: https://code.globalgrid2050.com/explore-code/s/0131.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that fetches LiDAR terrain, using EPSG:27700 from Environment Agency. - What it achieves (comment): It reads tags (`readTags`), decodes geo tiff (`decodeGeoTiff`) and creates live terrain (`createLiveTerrain`). Live terrain: Environment Agency LiDAR Composite DTM 1 m, fetched from the EA's public WCS 2.0.1 in the browser, for anywhere the staged (hash-checked) tiles do not reach. - What it does: It fetches LiDAR terrain. Defines 14 functions or classes, including inExtent, wcsUrl, readTags, inflate, decodeGeoTiff. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage site_feasibility (path word 'terrain'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: data source: Environment Agency. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 4 files: Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Substrate (globalgrid2050); Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export inExtent(e0, n0, size = BOX_M)`; `export wcsUrl(e0, n0, size = BOX_M)`; `export decodeGeoTiff(buffer)`; `export toTile(geo)`; `export sampleBox(tile, u, v)`; `export boxesNear(e, n, radius = LOAD_RADIUS, size = BOX_M)`; `export createLiveTerrain({ origin, invalidate = () => {}, skip = () => false, fetchImpl, clock = () => Date.now() } = {})`; `readTags(dv, little)`; `bytes(TYPE_BYTES[type] || 1)`; `inflate(bytes)`; `bx(b % across)`; `need(tiled ? bh : rows)`; `isNo(v)`; `s(tile.samples - 1)`; `o()`; `describe()`; `request(b)`; `pump()`; `heightAt(x, y)`; `lines(ctx)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Environment Agency]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Boq - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/boq.mjs (JavaScript, 374 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/boq.mjs#L1-L374 - Page: https://code.globalgrid2050.com/explore-code/s/0132.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that converts to CSV (`toCsv`) and calculates planar distances (units: kV, mm²), covering cables and overhead lines (OHL). - What it achieves (comment): It is built from the num step (`num`), the fmt step (`fmt`) and the plan length helper (`planLength`). A bill of quantities from a design document. - What it does: It lists and searches cables and overhead lines (OHL). Defines 22 functions or classes, including num, fmt, planLength, bendCount, lengthOf. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'boq'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, overhead lines (OHL). - Downstream impact: Used directly by 1 file: Design Earthworks (globalgrid2050). - Signatures: `export buildBoq(doc, { sections = null, cables = null, rates = null, currency = null } = {})`; `export toCsv(boq)`; `num(v)`; `fmt(x, dp = 2)`; `planLength(path)`; `bendCount(path)`; `cr(b[0] - a[0])`; `dot(b[0] - a[0])`; `lengthOf(item)`; `weakest(...s)`; `armouredOf(id)`; `cableRows(item, ctx, add, skip)`; `trenchRows(item, ctx, add, skip)`; `sec(ctx.sections?.sections || [])`; `roadRows(item, ctx, add, skip)`; `padRows(item, ctx, add, skip)`; `fenceRows(item, ctx, add, skip)`; `hddRows(item, ctx, add, skip)`; `pileRows(item, ctx, add, skip)`; `ohlRows(item, ctx, add)`; `n(k)`; `rateOf(rates, code, unit)`; `skip(item, reason)`; `add(row, item)`; `cell(v)` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 1 ### Buffers - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/buffers.mjs (JavaScript, 147 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/buffers.mjs#L1-L147 - Page: https://code.globalgrid2050.com/explore-code/s/0132.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with 33kV, 132kV, 66kV and 275kV, using BS5837 and BS 5837. - What it achieves (comment): It builds zones (`buildZones`) and is built from the voltage class helper (`voltageClass`) and the part step (`part`). Offset zones around features in the world data, and a clash check for drawn items. Its code works with 33 kV, 132 kV and 275 kV. - What it does: It calculates 33kV, 132kV, 66kV and 275kV. Defines 13 functions or classes, including voltageClass, part, sum, overheadRule, waterRule. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV, 132kV, 66kV, 275kV, 400kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV. - Downstream impact: Used directly by 2 files: Buffers UI (globalgrid2050); Buffers UI (globalgrid2050). - Signatures: `export voltageClass(kv)`; `export overheadRule(line)`; `export waterRule(w)`; `export roadRule(r)`; `export stemDiameterMm(t, fallback)`; `export rootRule(t, what)`; `export drawnRule(item)`; `export buildZones(world = {}, { origin = null, segments } = {})`; `part(what, m, kind, source)`; `sum(parts)`; `note(st.stems > 5 ? 'More than five stems: BS 5837 uses a different combination; check the survey. ' : '')`; `ptsOf(f)`; `add(layer, list, ruleFor, shape)`; `line()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 1 ### Design Earthworks - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/design-earthworks.mjs (JavaScript, 292 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/design-earthworks.mjs#L1-L292 - Page: https://code.globalgrid2050.com/explore-code/s/0133.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that converts to local pts (`toLocalPts`) and calculates planar distances, covering cables, transformers, LiDAR terrain and overhead lines (OHL). - What it achieves (comment): It creates earthworks (`createEarthworks`) and is built from the to local pts helper (`toLocalPts`) and the handles step (`handles`). Earthworks tools in the Design panel: access road, equipment pad, perimeter fence, pile row and drilled crossing, plus the drum schedule for the last cable and the bill of quantities for the whole design. - What it does: It draws cables, transformers, LiDAR terrain and overhead lines (OHL). Defines 22 functions or classes, including createEarthworks, $, toLocalPts, handles, option. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, transformers, LiDAR terrain, overhead lines (OHL). - Downstream impact: Used directly by 1 file: Design UI (globalgrid2050). - Signatures: `export createEarthworks({ doc, origin, baseHeight, groundVersion, cables, catalogue, designItems, heightAt, extraItems = () => [], groundRow ...)`; `$(id)`; `toLocalPts(path)`; `handles(tool)`; `option(tool)`; `chosenCable()`; `crossingCable(id = chosenCable())`; `make(kind, opt, pts, ground, cableId)`; `ux(b[0] - a[0])`; `build()`; `of(kind, g)`; `groundFor(kind)`; `ground(base)`; `rowsOf(kind, d, draft, pts = [])`; `measure(kind, pts)`; `finish(kind, pts)`; `summary(kind, d)`; `batch(key, v, pos, color)`; `batches()`; `drumSchedule()`; `boqDoc()`; `billOfQuantities()`; `choose(tool)`; `replace(list = [])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271552-site-world/world/design-earthworks.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 12 estate files (import 12); used by 1; mentioned by 1 ### Fade - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/fade.mjs (JavaScript, 12 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/fade.mjs#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0133.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with far plane (`farPlane`). It is built from the fade for helper (`fadeFor`) and the far plane helper (`farPlane`). - What it achieves (comment): How far the world is drawn before it fades out, and the far plane that follows it. - What it does: It calculates its inputs. Defines fadeFor, farPlane. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 3 files: Layers UI (globalgrid2050); Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Substrate (globalgrid2050). - Signatures: `export fadeFor(view, above, rangeM = 0)`; `export farPlane(fade)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Labels - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/labels.mjs (JavaScript, 59 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/labels.mjs#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/0133.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with 33kV and cables. - What it achieves (comment): It is built from the circuits step (`circuits`), the voltage step (`voltage`) and the basis step (`basis`). Human words for what the page shows. Its code works with 33 kV, 1.5 kV and 132 kV. - What it does: It calculates 33kV and cables. Defines 9 functions or classes, including circuits, voltage, basis, sectionLabel, conductorLabel. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV, cables, 132kV, 1.5kV. - Inputs & outputs: Voltage levels named: 132kV, 33kV, 1.5kV. - Downstream impact: Used directly by 2 files: Design UI (globalgrid2050); First Showing (globalgrid2050). - Signatures: `export sectionLabel(s)`; `export conductorLabel(c)`; `export cableLabel(c)`; `export pressWord(coarse)`; `export distanceLabel(m)`; `export designHint(tool, view, n, press)`; `circuits(n)`; `voltage(s)`; `basis(s)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271552-site-world/world/labels.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [132kV, 33kV, 1.5kV] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Grid - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/layers/grid.mjs (JavaScript, 368 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/layers/grid.mjs#L1-L368 - Page: https://code.globalgrid2050.com/explore-code/s/0134.html#f1 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that works with substations, 33kV, 400kV and 275kV, using SHA-256. - What it achieves (comment): It parses grid file (`parseGridFile`), parses national index (`parseNationalIndex`) and parses national tile (`parseNationalTile`). Overhead lines from a per-site file and substations from the national index, drawn as quiet wireframe. Its code works with 33 kV, 132 kV and 275 kV. - What it does: It calculates substations, 33kV, 400kV and 275kV. Defines 29 functions or classes, including voltageClass, finite, isPt, parseGridFile, parseNationalIndex. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, 33kV, 400kV, 275kV, 132kV. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 400kV, 275kV, 132kV, 33kV. - Signatures: `export voltageClass(kv)`; `export parseGridFile(j)`; `export parseNationalIndex(j)`; `export parseNationalTile(j, key)`; `export tileDistance(t, tileM, e, n)`; `export mergeSubstations(fromFile, fromIndex)`; `export nearSet(model, origin, pos = [0, 0], within = NEAR_M)`; `export marker(x, y, z, o)`; `export compound(x, y, cls, heightAt, o = [0, 0, 0])`; `export towerGrounds(towers, measuredAt, heightAt)`; `export measuredSpans(towers, measuredAt)`; `export roundClearance(v)`; `export judged(c)`; `export clearanceStatus(model, clearances)`; `export buildGrid(model, origin, heightAt, buildOverhead, measuredAt = heightAt, near = null, shown = null)`; `export createGrid()`; `finite(h, d = 0)`; `isPt(p)`; `substations(Array.isArray(j.substations) ? j.substations : [])`; `P(dx, dy, up)`; `L(a, b)`; `fmt(c)`; `straightGround(towers, x, y)`; `local(e, n)`; `loadTile(t)` (and 7 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [400kV, 275kV, 132kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### National - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/layers/national.mjs (JavaScript, 390 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/layers/national.mjs#L1-L390 - Page: https://code.globalgrid2050.com/explore-code/s/0135.html#f1 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that works with 33kV, substations, 400kV and 275kV, using SHA-256. It rebuilds step (`rebuildStep`), starts near (`startNear`) and loads index (`loadIndex`). - What it achieves (comment): Roads, mainline railways, overhead lines with their towers, and every substation in Great Britain, from GridAtlas's national files (OpenStreetMap, ODbL), cut into 10 km tiles by `tools/features/cut_national.py`. Its code works with 33 kV, 132 kV and 275 kV. - What it does: It calculates 33kV, substations, 400kV and 275kV. Defines 33 functions or classes, including rebuildStep, voltageClass, clipToCircle, boxDist, wantedFiles. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV, substations, 400kV, 275kV, 132kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 33kV. - Signatures: `export rebuildStep(rangeM)`; `export voltageClass(kv)`; `export clipToCircle(ax, ay, bx, by, cx, cy, r)`; `export boxDist(x, y, b)`; `export wantedFiles(squares, tiles, kinds, e, n, r)`; `export boxOf(p)`; `export buildNational(tiles, v, ground, lib, memo = new Map())`; `export createNational()`; `zAt(x, y)`; `h(x - v.x)`; `out(g)`; `seg(a, ax, ay, az, bx, by, bz)`; `r2(x, y)`; `skip(p, tx, ty)`; `run(a, ax, ay, bx, by, lift, side = 0)`; `pieces(ax, ay, bx, by)`; `polyline(a, p, tx, ty, lift, from = 0, to = p.length / 2 - 1, twin = false)`; `plainLift(cls)`; `power(f, tx, ty, id)`; `isNear(t)`; `flush()`; `substation(f, tx, ty)`; `zero()`; `startNear(farNext, gv, t, why)`; `now()` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Lift - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/lift.mjs (JavaScript, 22 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/lift.mjs#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0135.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050. It is built from the hold step (`hold`) and the release step (`release`). - What it achieves (comment): Up and Down (drone): hold to climb or sink; a quick tap moves `TAP_M`, so a tap is never lost. It responds to pointerdown events. - What it does: It calculates its inputs. Defines attachLift, hold, release. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 4 files: Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Substrate (globalgrid2050); Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export attachLift(buttons, { setLift, tap, now = () => performance.now() })`; `hold(e)`; `release(e)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Overhead Line (OHL) Gs6 - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/ohl-gs6.mjs (JavaScript, 59 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/ohl-gs6.mjs#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/0135.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with 132kV and overhead lines (OHL). - What it achieves (comment): It is built from the zone distance helper (`zoneDistance`) and the exclusion for helper (`exclusionFor`). Overhead line zones: the distances, each with where it comes from. Its code works with 132 kV, 275 kV and 33 kV. - What it does: It calculates 132kV and overhead lines (OHL). Defines zoneDistance, exclusionFor. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 132kV, overhead lines (OHL), 400kV, 275kV, 66kV, 33kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV. - Downstream impact: Used directly by 3 files: Overhead Line (OHL) UI (globalgrid2050); Overhead Line (OHL) Zones (globalgrid2050); Overhead Line (OHL) UI (globalgrid2050). - Signatures: `export zoneDistance(support)`; `export exclusionFor(cls)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Overhead Line (OHL) UI - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/ohl-ui.mjs (JavaScript, 139 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/ohl-ui.mjs#L1-L139 - Page: https://code.globalgrid2050.com/explore-code/s/0135.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that creates OHL layer (`createOhlLayer`), mounts OHL control (`mountOhlControl`) and calculates planar distances, covering overhead lines (OHL). - What it achieves (comment): It creates OHL layer (`createOhlLayer`) and attaches OHL (`attachOhl`). Overhead line safety zones on the page: a layer that draws the zones on the ground from the grid layer's conductors, the design checks (`ohl-zones.mjs`), a short readout with the working height input, and the bill rows. It responds to change events. - What it does: It draws overhead lines (OHL). Defines 14 functions or classes, including readout, n, boqItems, get, goalpostLines. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL). - Inputs & outputs: In: form fields (user input). - Signatures: `export readout(spans, result, height)`; `export boqItems(result)`; `export goalpostLines(x, y, dx, dy, heightAt, o)`; `export createOhlLayer({ grid, gridShown = () => true, design, origin, measuredAt, invalidate = () => {} })`; `export mountOhlControl(host, layer)`; `export attachOhl(items, deps)`; `n(f)`; `get(id)`; `g(a, b)`; `P(a, b, up)`; `setEnabled(on)`; `setHeight(h)`; `refresh(groundVersion = 0)`; `lines(ctx)`; `update()`; `gridItem()`; `onChange(ids, panel)`; `mount(host, panel)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/ohl-ui.mjs) · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 1 ### Overhead Line (OHL) Zones - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/ohl-zones.mjs (JavaScript, 197 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/ohl-zones.mjs#L1-L197 - Page: https://code.globalgrid2050.com/explore-code/s/0136.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with overhead lines (OHL) and cables. It builds spans (`buildSpans`) and checks design (`checkDesign`). - What it achieves (comment): Overhead line zones: corridors on the ground either side of each overhead line, and the design checks against them. - What it does: It calculates overhead lines (OHL) and cables. Defines 17 functions or classes, including r1, swayOf, buildSpans, side, zoneRings. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL), cables. - Downstream impact: Used directly by 2 files: Overhead Line (OHL) UI (globalgrid2050); Overhead Line (OHL) UI (globalgrid2050). - Signatures: `export swayOf(w)`; `export buildSpans(wires)`; `export zoneRings(spans, { segments = 16 } = {})`; `export itemShape(it)`; `export samplePoints(it, step = SAMPLE_M)`; `export crossingOf(core, span)`; `export goalpostsFor(core, half, span)`; `export plantReach(x, y, g, H, span, step = WIRE_STEP_M)`; `export checkDesign(items, spans, measuredAt = () => NaN, { height = 0 } = {})`; `export designItems(design, origin)`; `r1(v)`; `side(w)`; `parts(key)`; `pts(it.pts || [])`; `cross2(a, b, c, d)`; `o(p, q, r)`; `pointAtChainage(pts, s)`; `ux(w.b[0] - w.a[0])`; `s0(x - w.a[0])`; `L(path)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 2; mentioned by 1 ### Overhead - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/overhead.mjs (JavaScript, 215 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/overhead.mjs#L1-L215 - Page: https://code.globalgrid2050.com/explore-code/s/0136.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with 400kV, 33kV, 275kV and 132kV. - What it achieves (comment): It draws tower (`drawTower`) and is built from the clearance basis helper (`clearanceBasis`) and the coshm1 step (`coshm1`). Overhead lines: lattice towers, wood poles and catenary conductors as light wireframe. Its code works with 400 kV, 33 kV and 132 kV. - What it does: It calculates 400kV, 33kV, 275kV and 132kV. Defines 19 functions or classes, including clearanceBasis, coshm1, levelSag, paramFromSag, catenarySpan. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 400kV, 33kV, 275kV, 132kV, 66kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV. - Downstream impact: Used directly by 3 files: Overhead Line (OHL) Zones (globalgrid2050); Layers (globalgrid2050); Layers (globalgrid2050). Reached from 4 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Substrate (globalgrid2050). - Signatures: `export clearanceBasis(sagRatio = SAG_TO_SPAN)`; `export levelSag(L, a)`; `export paramFromSag(L, sagRatio)`; `export catenarySpan(L, h1, h2, a)`; `export buildOverhead(towers, opts = {})`; `coshm1(u)`; `mid(lo + hi)`; `z(s)`; `unit(dx, dy)`; `directionAt(towers, k)`; `specOf(t)`; `attachments(t, spec, d, p)`; `at(across, z)`; `drawTower(seg, t, spec, d, p)`; `P(along, across, z)`; `L(a, b)`; `ring(z)`; `solidOf(t, spec)`; `need(t)`; `xy(s)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Range UI - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/range-ui.mjs (JavaScript, 43 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/range-ui.mjs#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/0136.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that starts miles (`startMiles`). - What it achieves (comment): It starts miles (`startMiles`) and is built from the mount range helper (`mountRange`) and the apply step (`apply`). Range for the wider-area roads and rail (`layers/national.mjs`): 2, 5 or 10 miles, under the Layers panel, shown only while that layer is on. It responds to click events. - What it does: It draws its content. Defines startMiles, mountRange, apply, set. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Layers UI (globalgrid2050); Layers UI (globalgrid2050). - Signatures: `export startMiles(store, coarse)`; `export mountRange(host, { layer = () => null, store = null, coarse = false, onChange = () => {} } = {})`; `apply()`; `set(mi)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Route Tool - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/route-tool.mjs (JavaScript, 95 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/route-tool.mjs#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/0136.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables and substations. - What it achieves (comment): It describes controls (`describeControls`) and is built from the snapshot step (`snapshot`) and the changed step (`changed`). A small state machine for drawing a route on the ground, in Walk or Drone view. - What it does: It calculates cables and substations. Defines createRouteTool, snapshot, changed, point, describeControls. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: cables, substations. - Downstream impact: Used directly by 2 files: Design UI (globalgrid2050); Design UI (globalgrid2050). - Signatures: `export createRouteTool({ onChange = () => {} } = {})`; `export describeControls({ touch = false } = {})`; `snapshot()`; `changed()`; `addPoint(p)`; `movePoint(i, p)`; `removeLast()`; `finish()`; `clear()`; `point(p)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of graphics-engines-open-source/web/versions/202609262227-site-world/world/route-tool.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Sun Climate - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/sun-climate.mjs (JavaScript, 122 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/sun-climate.mjs#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/0136.html#f5 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that reads cell index (`readCellIndex`), tiles distance (`tileDistance`), reads cell tile (`readCellTile`) and calculates planar distances (units: kWh), using SHA-256. - What it achieves (comment): It reads climate (`readClimate`), reads cell index (`readCellIndex`) and reads cell tile (`readCellTile`). Sun mode, measured-climate data: readers for a site's precomputed sun files (gw-LiDAR `sun-data/src/sun_data.py` and `sun_cells.py`). - What it does: It lists and searches its content. Defines 11 functions or classes, including num, text, twelve, readClimate, readCellIndex. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Sun Mode (globalgrid2050). - Signatures: `export readClimate(j)`; `export readCellIndex(j, indexPath = '')`; `export tileDistance(index, t, e, n)`; `export tileFor(index, e, n)`; `export readCellTile(buf)`; `export cellValue(tile, index, e, n, month, quantity)`; `export climateLines(climate, month, here = null)`; `num(v)`; `text(v)`; `twelve(a)`; `fix(v)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Sun Day - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/sun-day.mjs (JavaScript, 145 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/sun-day.mjs#L1-L145 - Page: https://code.globalgrid2050.com/explore-code/s/0137.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that scales colour (`scaleColour`), splits into patches (`splitIntoPatches`) and calculates planar distances. - What it achieves (comment): It splits into patches (`splitIntoPatches`) and is built from the formatter step (`formatter`) and the zone parts helper (`zoneParts`). Sun mode, pure parts: site clock (a named time zone), direct sun over a day against a terrain horizon, and the per-batch light factor that makes grid lines a little brighter on sunlit slopes and dimmer in shadow. - What it does: It calculates its inputs. Defines 13 functions or classes, including formatter, zoneParts, zonedToUtc, zoneDay, zoneLabel. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Sun Mode (globalgrid2050). - Signatures: `export zoneParts(ms, timeZone = SITE_ZONE)`; `export zonedToUtc(year, month, day, minuteOfDay, timeZone = SITE_ZONE)`; `export zoneDay(ms, timeZone = SITE_ZONE)`; `export zoneLabel(ms, timeZone = SITE_ZONE)`; `export horizonFunction(profile)`; `export directAt(lat, lon, ms, horizon, convergence = 0)`; `export directSunDay(lat, lon, start, end, horizon = () => 0, { stepMinutes = 5, convergence = 0 } = {})`; `export groundNormal(heightAt, x, y, half = LIGHT.patch / 2)`; `export lightFactor(sun, normal, shadowed = 0)`; `export scaleColour(c, f)`; `export splitIntoPatches(batch, size = LIGHT.patch, wrap = LIGHT.wrap)`; `formatter(timeZone)`; `f((az % 360) + 360)`; `edge(lat, lon, a, b, horizon, convergence, rising)`; `m(a + b)`; `gx(e - w)`; `mx(p[k] + p[k + 3])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 1 ### Sun Mode - File: globalgrid2050/solar-design-studio/202609270145-site-world-v3/world/sun-mode.mjs (JavaScript, 320 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270145-site-world-v3/world/sun-mode.mjs#L1-L320 - Page: https://code.globalgrid2050.com/explore-code/s/0137.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that sets playing (`setPlaying`) and time (`setTime`) and syncs inputs (`syncInputs`) (units: kWh), using SHA-256. - What it achieves (comment): It sets playing (`setPlaying`), sets time (`setTime`) and syncs inputs (`syncInputs`). One Sun toggle in the Layers panel (the dash keeps Walk, Drone, Find, Design, Layers). It responds to click, change and input events. - What it does: It draws its content. Defines 17 functions or classes, including el, hours, attachSunMode, back, setOn. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export attachSunMode(h)`; `el(tag, attrs = {}, text = '')`; `hours(h)`; `back(e)`; `setOn(next)`; `setPlaying(next)`; `setTime(ms)`; `enableShade(changed = false)`; `refresh()`; `syncInputs()`; `loadData()`; `cellHere(x, y, month)`; `tilesNear(index, e, n)`; `trimCells(e, n)`; `factorFor(p, ctx, shade)`; `write(lines)`; `update(ctx)`; `advance(intervalMs)`; `decorate(batches, ctx)`; `afterDraw(ctx)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 5 estate files (import 5); used by 0; mentioned by 0 ### Block Build - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/block-build.mjs (JavaScript, 257 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/block-build.mjs#L1-L257 - Page: https://code.globalgrid2050.com/explore-code/s/0138.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with transformers, cables, 33kV and overhead lines (OHL). - What it achieves (comment): It builds block (`buildBlock`) and is built from the group step (`group`) and the put step (`put`). The owner's 10MVA solar block (`station.mjs`, ported from his explorer) placed on the measured ground, with the 33kV rings to the grid (`block-mv.mjs`), as line groups ordered for the build sequence. Its code works with 33 kV, 1.5 kV and 10 MVA. - What it does: It calculates transformers, cables, 33kV and overhead lines (OHL). Defines 26 functions or classes, including group, put, seg, poly, mark. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, cables, 33kV, overhead lines (OHL), 1.5kV. - Inputs & outputs: Voltage levels named: 33kV, 1.5kV. - Downstream impact: Used directly by 1 file: Block UI (globalgrid2050). - Signatures: `export padEarthworks(g, e0, n0, e1, n1, level = null)`; `export buildBlock({ anchor, ground, fallback = () => NaN, stations = 4, pocKv = 400, towers = [], gpuPads = [] })`; `export overheadClearance([E, N], stations, towers)`; `export blockCounts(b)`; `group()`; `put(G, p)`; `seg(G, a, b)`; `poly(G, pts)`; `mark(G)`; `box(G, [x, y, z], w, d, h)`; `median(a)`; `g(e, n)`; `zLocal(x)`; `baseOf(n, y)`; `onTable(n, x, y)`; `at(x, y, z)`; `edge(off, dz)`; `padOf(S)`; `buried(a, b)`; `lift(pts, table, inv, endZ)`; `odMv(a)`; `inside(poly, x, y)`; `blockTrenches(st, mv, E, N, odMv)`; `sec(id, label, o)`; `acSec(c)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV, 1.5kV] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### Block MV - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/block-mv.mjs (JavaScript, 112 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/block-mv.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0138.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with solar, transformers and cables, using IEC 60287 and IEC 60949. - What it achieves (comment): It is built from the MV chain helper (`mvChain`), the col x helper (`colX`) and the path step (`path`). Stations of the solar block chained on 33kV rings to the MV board, the grid transformer(s) and the connection, laid out and sized from the load. Its code works with 33 kV and 400 kV. - What it does: It calculates solar, transformers and cables. Defines 9 functions or classes, including mvChain, colX, up, path, dropWith. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, transformers, cables, 400kV, 33kV. - Inputs & outputs: Voltage levels named: 400kV, 33kV. - Downstream impact: Used directly by 2 files: Block Build (globalgrid2050); Block UI (globalgrid2050). - Signatures: `export mvChain({ stations = 4, stationMVA = 9.856, pocKv = 400, layout = MV_LAYOUT, ...opts } = {})`; `fieldE(cols - 1)`; `colX(col)`; `up(s)`; `path(A, B)`; `dropWith(a)`; `side(hs, sts)`; `lineOf(key)`; `off(key, lane)`; `xy(key, v, lane)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 33kV] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Block Sequence - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/block-sequence.mjs (JavaScript, 89 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/block-sequence.mjs#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/0138.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, transformers and solar. - What it achieves (comment): It creates clock (`createClock`) and is built from the clamp01 step (`clamp01`) and the progress step (`progress`). The order a solar block is built in, as a clock the page can play, pause and step. Its code works with 33 kV. - What it does: It calculates cables, transformers and solar. Defines 7 functions or classes, including clamp01, progress, stageAt, reveal, partial. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, transformers, solar, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 2 files: Block UI (globalgrid2050); Block UI (globalgrid2050). - Signatures: `export progress(t)`; `export stageAt(t)`; `export reveal(n, f)`; `export partial(points, f)`; `export createClock({ now = () => performance.now(), speed = 1 } = {})`; `clamp01(x)`; `t()`; `play()`; `pause()`; `step()`; `reset()`; `finish()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Design Ground - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/design-ground.mjs (JavaScript, 45 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/design-ground.mjs#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0138.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that draws profile (`drawProfile`), covering LiDAR terrain. - What it achieves (comment): It draws profile (`drawProfile`) and is built from the ground share of helper (`groundShareOf`) and the ground row of helper (`groundRowOf`). What the ground under a route is: measured LiDAR, or a flat plane where none is loaded, said so plainly (code review 2, phone review 1). - What it does: Defines 6 functions or classes, including groundShareOf, groundRowOf, drawProfile, X, line. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: LiDAR terrain. - Downstream impact: Used directly by 2 files: Design UI (globalgrid2050); Design UI (globalgrid2050). - Signatures: `export groundShareOf(pts, measuredAt)`; `export groundRowOf(pts, measuredAt)`; `export drawProfile(doc, m)`; `X(s)`; `line(dz, cls)`; `text(x, y, s, anchor = 'start')` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Design Options - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/design-options.mjs (JavaScript, 102 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/design-options.mjs#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/0138.html#f5 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that fetches spec example and cables. It creates options (`createOptions`), sets source (`setSource`) and loads example (`loadExample`). - What it achieves (comment): The Options part of the Design panel (`world.html` #design-options). It reads `./world/data/spec-example.json`. It responds to change and click events. - What it does: It fetches spec example and cables. Defines 9 functions or classes, including createOptions, $, say, setSource, loadExample. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: JSON file spec-example.json. - Downstream impact: Used directly by 2 files: Design Sections (globalgrid2050); Design Sections (globalgrid2050). - Signatures: `export createOptions({ doc, viewer, heightAt, redraw, onChange = () => {} })`; `$(id)`; `say(msg, warn = false)`; `setSource(v)`; `loadExample()`; `readFile(input, parse)`; `place()`; `batch(key, pos, color)`; `batches()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file spec-example.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 1 ### Design UI - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/design-ui.mjs (JavaScript, 385 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/design-ui.mjs#L1-L385 - Page: https://code.globalgrid2050.com/explore-code/s/0139.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that converts to local pts (`toLocalPts`), shows readout (`showReadout`), converts to nearest substation (`toNearestSubstation`) and calculates planar distances (units: kV). - What it achieves (comment): It creates design (`createDesign`), shows readout (`showReadout`) and shows results (`showResults`). Design tools in the world: Trench and Cable, drawn by clicking the ground. It responds to click, change and keydown events. - What it does: It draws cables, trench sections, substations and solar. Defines 35 functions or classes, including createDesign, $, groundVersion, groundShare, section. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, substations, solar. - Inputs & outputs: In: JSON file cables.json; JSON file trench-sections.json. - Signatures: `export createDesign({ doc, canvas, fov, baseHeight, origin, viewer, invalidate, redraw, assets = () => [], measuredAt = null, onChange = ...)`; `$(id)`; `groundVersion()`; `groundShare(pts)`; `section(id)`; `cableSpec(id)`; `toLocalPts(path)`; `effOf(sectionId)`; `trenchOf(sectionId, pts, eff = effOf(sectionId))`; `cableOf(cableId, ground, pts, sectionId, overdig = 0)`; `bed(Number(section(sectionId)?.bedding?.thickness_mm) || 0)`; `build()`; `heightAt(x, y)`; `designItems()`; `spoil(b.spoil ||= [])`; `batch(key, version, pos, color)`; `marker(v, [x, y, z], h, arm)`; `tightIndices(c)`; `batches()`; `nearFrom(end)`; `gridRow(pts, endAsset)`; `levelsAlong()`; `measure(kind, sectionId, cableId, pts, spoil, endAsset = null, eff = effOf(sectionId))`; `showReadout()`; `showResults()` (and 14 more) - VEDIC: HEIGHT (GG2050-VEDIC-000011): Solar Design Studio / LiDAR · Mathematics / Raster sampling. bng_easting_m, bng_northing_m -> height_receipt_or_null - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/design-ui.mjs) · essay_status: readme_derived - data_contracts: in [JSON file cables.json; JSON file trench-sections.json]; out []; crs []; voltages [] - Edges: uses 13 estate files (import 13); used by 0; mentioned by 0 ### Layers UI - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/layers-ui.mjs (JavaScript, 104 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/layers-ui.mjs#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/0139.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that reads overhead lines (OHL). It writes footer (`writeFooter`), fits footer (`fitFooter`) and shows range (`showRange`). - What it achieves (comment): Page wiring for the Layers panel. It responds to resize and close events. - What it does: It loads overhead lines (OHL). Defines 8 functions or classes, including panelLayers, footerFor, applyOn, mountLayersUi, writeFooter. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL). - Signatures: `export panelLayers(items)`; `export footerFor(items, on, attribution, year)`; `export applyOn(items, on)`; `export mountLayersUi({ items, host, footer, attribution, invalidate = () => {}, on = DEFAULT_ON, year, onChange = () => {} } = {})`; `writeFooter(ids)`; `fitFooter()`; `showRange(ids)`; `refresh()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271552-site-world/world/layers-ui.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 5 estate files (import 5); used by 0; mentioned by 0 ### MV Network - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/mv-network.mjs (JavaScript, 125 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/mv-network.mjs#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/0139.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that reads routes (`readRoutes`) (units: kV, MVA), covering cables and transformers. It reads routes (`readRoutes`) and places network (`placeNetwork`). - What it achieves (comment): The medium-voltage network from the stations to the grid, as equipment outlines with solids and cable routes, placed on the ground by the user. - What it does: Defines 9 functions or classes, including equipmentSolids, box, solidLines, readRoutes, pt. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, transformers. - Downstream impact: Used directly by 5 files: Block Build (globalgrid2050); Design Options (globalgrid2050); Plant UI (globalgrid2050); Block Build (globalgrid2050); and 1 more. - Signatures: `export equipmentSolids(kind, at = [0, 0, 0], heading = 0, id = kind)`; `export solidLines(solids)`; `export readRoutes(json)`; `export drawingToGround({ at = [0, 0], metresPerUnit = 1, heading = 0, yDown = false } = {})`; `export placeNetwork(diagram, { routes = null, at = [0, 0], heading = 0, metresPerUnit = 1, spacing = 40, groundAt = () => 0 } = {})`; `export cableLines(cables, kind = null)`; `box(part, min, max)`; `pt(p)`; `links(json.links || [])`; `kindOf(n)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 5; mentioned by 0 ### Places - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/places.mjs (JavaScript, 103 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/places.mjs#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/0140.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that fetches postcodes from postcodes.io. - What it achieves (comment): It creates place lookup (`createPlaceLookup`) and is built from the fold name helper (`foldName`) and the looks like place helper (`looksLikePlace`). Town and village search through postcodes.io /places, which serves OS Open Names (Open Government Licence v3.0; the service's code is MIT). - What it does: It fetches postcodes. Defines 8 functions or classes, including foldName, looksLikePlace, english, whereOf, toPlaceRows. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: postcodes. - Inputs & outputs: In: data source: postcodes.io. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 2 files: Search UI (globalgrid2050); Search UI (globalgrid2050). Reached from 3 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/); Substrate (graphics-engines-open-source). - Signatures: `export foldName(s)`; `export looksLikePlace(text)`; `export whereOf(r)`; `export toPlaceRows(results, query)`; `export createPlaceLookup({ fetchImpl, limit = 30, minGapMs = 300, cacheSize = 60, clock = () => Date.now(), sleep = ms => new Promise(r => set...)`; `english(s)`; `remember(q, rows)`; `lookup(text)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: postcodes.io]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Plant Feeders - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/plant-feeders.mjs (JavaScript, 114 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/plant-feeders.mjs#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/0140.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, 33kV and A roads. - What it achieves (comment): It routes feeders (`routeFeeders`) and is built from the to spine helper (`toSpine`) and the road path helper (`roadPath`). The 33kV feeders of a laid-out plant, routed along its roads, with their trenches and cables. Its code works with 33 kV. - What it does: It calculates cables, 33kV and A roads. Defines 9 functions or classes, including toSpine, roadPath, side, coverage, trenchFor. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, A roads. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 2 files: Block MV (globalgrid2050); Plant Layout (globalgrid2050). - Signatures: `export roadPath(A, B, net)`; `export coverage(intervals)`; `export trenchFor(c, L, into)`; `export routeFeeders(tpl, net, p)`; `toSpine(pt, net)`; `side(pt)`; `onRoad(s)`; `add(key, a, b)`; `dropOf(hops)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Plant Layout - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/plant-layout.mjs (JavaScript, 261 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/plant-layout.mjs#L1-L261 - Page: https://code.globalgrid2050.com/explore-code/s/0140.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that maps solar and substations. - What it achieves (comment): It is built from the table geometry helper (`tableGeometry`), the frame of helper (`frameOf`) and the inside step (`inside`). A solar plant laid out on measured ground inside a drawn boundary, from generic rules. Its code works with 33 kV and 5000 MW. - What it does: It maps solar and substations. Defines 17 functions or classes, including tableGeometry, frameOf, inside, segDist, edgeDist. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, substations, 33kV. - Inputs & outputs: Out: interactive map. Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Plant UI (globalgrid2050). - Signatures: `export tableGeometry(layout, p, tpl)`; `export frameOf(layout)`; `export inside(poly, x, y)`; `export edgeDist(poly, x, y)`; `export polyArea(poly)`; `export waterIndex(lines, reach, cell = 64)`; `export layoutSteps(input)`; `export layoutPlant(input)`; `export layoutPlantAsync(input, { sliceMs = 12, onProgress = () => {}, now = () => performance.now(), pause } = {})`; `segDist(x, y, ax, ay, bx, by)`; `nearestEdge(poly, x, y)`; `g(u, v)`; `water(input.water || [])`; `okPoint(u, v)`; `us(us0 + us1)`; `inCompound(ua, ub, va, vb)`; `inAccess(ua, ub, va, vb)`; `um(ua + ub)`; `gu(e5 - w5)`; `need(tpl)`; `stretch(k, s, d)`; `roadM(spine.v1 - spine.v0)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [interactive map]; crs []; voltages [33kV] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Plant Template - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/plant-template.mjs (JavaScript, 240 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/plant-template.mjs#L1-L240 - Page: https://code.globalgrid2050.com/explore-code/s/0141.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with transformers, cables, solar and 33kV, using IEC 60287 and IEC 60949. - What it achieves (comment): It sizes feeder (`sizeFeeder`) and is built from the auto poc kV helper (`autoPocKv`) and the modules per string helper (`modulesPerString`). A generic, parameterised solar plant block diagram, sized from engineering rules. Its code works with 33 kV, 10 MVA and 240 MVA. - What it does: It calculates transformers, cables, solar and 33kV. Defines 16 functions or classes, including up, r3, autoPocKv, modulesPerString, faultMinArea. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, cables, solar, 33kV, 400kV, 1500V. - Inputs & outputs: Voltage levels named: 400kV, 33kV, 1500V. - Downstream impact: Used directly by 5 files: Block MV (globalgrid2050); Design Options (globalgrid2050); MV Network (globalgrid2050); Plant Layout (globalgrid2050); and 1 more. - Signatures: `export autoPocKv(mw)`; `export modulesPerString(p)`; `export faultMinArea(kA, s)`; `export plantTemplate(opts = {})`; `export gridChoice(mw, total, fixedUnits = null, feeders = [])`; `export pack(feeders, n)`; `export layoutDiagram(d)`; `up(steps, v)`; `r3(v)`; `node(id, kind, label, rating = {})`; `link(from, to, kind, kv, mva, extra = {})`; `check(name, value, max, min = -Infinity)`; `maxLoad(n)`; `L(i)`; `sizeFeeder(chain, p, cableOpts, minArea)`; `drop()`; `mid(Math.max(0, ...[...pos.values()].map(v => v.x)))` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 33kV, 1500V] - Edges: uses 1 estate file (import 1); used by 5; mentioned by 1 ### Plant UI - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/plant-ui.mjs (JavaScript, 214 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/plant-ui.mjs#L1-L214 - Page: https://code.globalgrid2050.com/explore-code/s/0141.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that draws ground (`drawGround`), sets boundary (`setBoundary`), builds lines (`buildLines`) and calculates planar distances (units: MW, kV). - What it achieves (comment): It creates plant (`createPlant`), draws ground (`drawGround`) and sets boundary (`setBoundary`). Design > Plant layout. The user draws a boundary (the Boundary tool, or the open land around them), picks a capacity and a layout, and the plant is laid out on the measured ground (`plant-layout.mjs`), in slices between frames. Its code works with 33 kV. It responds to click events. - What it does: It draws substations and transformers. Defines 20 functions or classes, including PAUSE, createPlant, $, say, measured. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, transformers, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Design Sections (globalgrid2050). - Signatures: `export createPlant({ doc, origin, viewer, measuredAt, heightAt, assets = () => [], nearest = null, redraw })`; `PAUSE()`; `$(id)`; `say(msg, warn = false)`; `measured(fn)`; `drawGround(e, n)`; `setBoundary(path)`; `useOpenLand()`; `run()`; `buildLines(r)`; `make()`; `put(L, e, n, z)`; `seg(L, a, b)`; `at(u, v, dz = 0)`; `path(L, pts, dz = 0.05, step = 10)`; `c(u, v, z)`; `vm(va + vb)`; `place(kind, u, v, id)`; `w(pc.c > 1 ? 0.8 : 0.45)`; `batches()`; `showReport(r)`; `clearLayout(all = true)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 6 estate files (import 6); used by 1; mentioned by 0 ### Search UI - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/search-ui.mjs (JavaScript, 332 lines) · role interaction · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/search-ui.mjs#L1-L332 - Page: https://code.globalgrid2050.com/explore-code/s/0142.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that formats capacity and technology and converts to rows, covering postcodes, the Renewable Energy Planning Database (REPD) register, wind and solar. - What it achieves (comment): It formats capacity (`formatCapacity`), formats technology (`formatTechnology`) and merges rows (`mergeRows`). Search panel: "Find a place". A small box over the world that finds a town or village (OS Open Names through postcodes.io, see `places.mjs`), a REPD project, a UK postcode (postcodes.io, see `postcodes.mjs`) or a typed "lat, lon". Its code works with 1.2 GW, 49.9 MW and 650 kW. It responds to pointerdown, click and input events. - What it does: It draws postcodes, the REPD register, wind and solar. Defines 29 functions or classes, including creditsFor, formatCapacity, trim, formatTechnology, toRows. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: postcodes, the REPD register, wind, solar. - Downstream impact: Used directly by 2 files: Find Mount (globalgrid2050); Substrate (graphics-engines-open-source). Reached from 2 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/). - Signatures: `export creditsFor(attribution, layers = ['search', 'postcodes', 'names'], year = new Date().getUTCFullYear())`; `export formatCapacity(mw)`; `export formatTechnology(t)`; `export toRows(result)`; `export summaryText(result, shown)`; `export moveSelection(index, count, key)`; `export rowForEnter(rows, index)`; `export debounce(fn, ms, clock = { set: (f, t) => setTimeout(f, t), clear: id => clearTimeout(id) })`; `export arrivalNote(choice, hasTerrain, live = false)`; `export mergeRows(postcodeRows, projectRows, placeRows = [])`; `export statusLine({ postcodes = undefined, places = undefined, projects = null, projectRows = 0 } = {})`; `export sourcesShown(rows)`; `export runQuery(index, text, limit = 12)`; `export createSearchPanel(container, { loadIndex, onChoose, attribution = null, hasTerrain = null, liveTerrain = false, postcodes = createPostc...)`; `trim(v)`; `d(...args)`; `el(tag, props = {}, attrs = {})`; `showCredits(ids)`; `ensureIndex()`; `highlight(i)`; `choose(row)`; `render(text)`; `paint()`; `settle()`; `ask(key, lookup, noun)` (and 4 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 1 ### Spec Rules - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/spec-rules.mjs (JavaScript, 104 lines) · role test · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/spec-rules.mjs#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/0142.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that tests cables. It reads spec (`readSpec`) and applies ground (`applyGround`). - What it achieves (comment): Which specification a trench is built to, and what the ground does to it. - What it does: It tests cables. Defines num, txt, readSpec, applyGround, looseSpoil. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 4 files: Design Options (globalgrid2050); Design Sections (globalgrid2050); Xray (globalgrid2050); Design Sections (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export readSpec(json)`; `export applyGround(section, spec = OPERATOR_SPEC, groundId = 'normal')`; `export looseSpoil(bankM3, eff)`; `num(v, lo, hi)`; `txt(v)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Station - File: globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/station.mjs (JavaScript, 260 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270220-site-world-v3/world/station.mjs#L1-L260 - Page: https://code.globalgrid2050.com/explore-code/s/0142.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with transformers, cables and solar. - What it achieves (comment): It is built from the cfg step (`cfg`), the table shape helper (`tableShape`) and the table origin helper (`tableOrigin`). Solar station library: paired tables, pole inverters, DC home cables in ducts, AC trenches, 2 x 5MVA. Its code works with 5 MVA. - What it does: It calculates transformers, cables and solar. Defines 20 functions or classes, including cfg, tableShape, tableOrigin, stringsPerTable, tableStrings. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, cables, solar. - Downstream impact: Used directly by 11 files: Cmd Trench (globalgrid2050); Block Trenches (globalgrid2050); Block Build (globalgrid2050); MV Network (globalgrid2050); and 7 more. Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export tableShape(params)`; `export tableOrigin(n, params)`; `export stringsPerTable(params)`; `export tableStrings(params, { corners = true } = {})`; `export dcOrder(n, wiring = 'sequential')`; `export seriesLinks(string, wiring = 'sequential')`; `export inverterSite(k, params)`; `export dcDucts(sites, params)`; `export dcHomeRoutes(strings, sites, params)`; `export acRoute(p, t, id, label, params)`; `export acTrenches(sites, transformers, params)`; `export compoundBox(transformers)`; `export stationSolids(params, sites, transformers)`; `export stationInventory(params, strings = tableStrings(params, { corners: false }))`; `export placer(at = [0, 0, 0], heading = 0)`; `export station(params, { at = [0, 0, 0], heading = 0, corners = true } = {})`; `cfg(p)`; `v(side === 1 ? s.rows - 1 - r : r)`; `p(dv, du)`; `offset((slot % 6) * 2 + end - 5.5)`; `point([x, y, z = 0])`; `box(b)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 11; mentioned by 0 ### Block GPU - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/block-gpu.mjs (JavaScript, 108 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/block-gpu.mjs#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/0143.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that fetches cables and solar, using SHA-256. It loads prototype (`loadPrototype`), parses prototype (`parsePrototype`) and builds feed (`buildFeed`). - What it achieves (comment): Design > Solar block > GPU-checked placement. - What it does: It fetches cables and solar. Defines 13 functions or classes, including hex, sha256, loadPrototype, parsePrototype, flat. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar. - Inputs & outputs: In: JSON file index.json. - Downstream impact: Used directly by 1 file: Block UI (globalgrid2050). - Signatures: `export loadPrototype(site, { get = (u, o) => fetch(u, o), base = './world/sites/', digest = sha256 } = {})`; `export parsePrototype(layout, sequence, receipt = null)`; `export buildFeed(p, ground)`; `export countAt(G, h)`; `export feedStage(p, h)`; `hex(buf)`; `sha256(bytes)`; `tables(layout.tables || [])`; `flat(g)`; `z(q, lift)`; `add(key, t1)`; `seg(G, a, b)`; `line(G, pts, lift)`; `post(G, q, h)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/block-gpu.mjs) · essay_status: readme_derived - data_contracts: in [JSON file index.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Block UI - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/block-ui.mjs (JavaScript, 235 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/block-ui.mjs#L1-L235 - Page: https://code.globalgrid2050.com/explore-code/s/0143.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that draws GPU compounds, 33kV, cables and overhead lines (OHL). It creates block (`createBlock`), places gpu (`placeGpu`) and shows gpu (`showGpu`). - What it achieves (comment): Design > Solar block. Places the owner's 10MVA station block (`block-build.mjs`) on the measured ground in front of the viewer, chains the stations on 33kV rings to the grid, and plays the build sequence (`block-sequence.mjs`). Its code works with 33 kV and 10 MVA. It responds to click events. - What it does: It draws GPU compounds, 33kV, cables and overhead lines (OHL). Defines 31 functions or classes, including n0, createBlock, $, say, local. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV, cables, overhead lines (OHL). - Inputs & outputs: In: JSON file gpu-compounds.json. Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Design Sections (globalgrid2050). - Signatures: `export createBlock({ doc, origin, viewer, measuredAt, heightAt, towers = () => [], redraw, animate = () => {} })`; `n0(x)`; `$(id)`; `say(msg, warn = false)`; `local(e, n)`; `gpuPads()`; `site(await ground.start())`; `place()`; `measured(e, n)`; `fallback(e, n)`; `placeGpu()`; `gpuCounts()`; `gpuHour()`; `gpuBatches()`; `showGpu({ p, feed })`; `cableGroup(list, by)`; `o3(base)`; `prefix(key, G, count, color)`; `upto(G, whole)`; `pulling(key, F, r, color)`; `batches()`; `whole(k, f)`; `tick()`; `refreshItems()`; `play()` (and 7 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file gpu-compounds.json]; out []; crs []; voltages [33kV] - Edges: uses 7 estate files (import 6, dynamic-import 1); used by 1; mentioned by 1 ### Design Tabs - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/design-tabs.mjs (JavaScript, 43 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/design-tabs.mjs#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/0143.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 covering solar. It is built from the mount design tabs helper (`mountDesignTabs`) and the show step (`show`). - What it achieves (comment): The Design panel's four sections as tabs, so a phone shows one short panel at a time. It responds to click and keydown events. - What it does: Defines mountDesignTabs, show. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 2 files: Design Sections (globalgrid2050); Design Sections (globalgrid2050). - Signatures: `export mountDesignTabs(doc, { onFirstOpen = {}, onChange = () => {} } = {})`; `show(name, { focus = false } = {})` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### First Showing - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/first-showing.mjs (JavaScript, 87 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/first-showing.mjs#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/0143.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that reads substations and the Renewable Energy Planning Database (REPD) register. It places label (`placeLabel`) and shows place (`showPlace`). - What it achieves (comment): The first step, offered once (a small card that opens Find; dismissed for good with × or by using Find), and the place just found. It responds to click events. - What it does: It loads substations and the REPD register. Defines 10 functions or classes, including placeLabel, substationLine, pinBatch, mountFirstShowing, $. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, the REPD register. - Inputs & outputs: In: browser storage (getItem). Out: browser storage (setItem). Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export placeLabel(choice)`; `export substationLine(sub, tower)`; `export pinBatch(x, y, z, version)`; `export mountFirstShowing({ doc = document, canvas, redraw, origin, heightAt, groundVersion, assets = () => [], nearest = null, openFind })`; `$(id)`; `remembered()`; `dismissStart()`; `phone()`; `gridLine(e, n)`; `showPlace(choice, e, n, note = '')`; `batches()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [browser storage (getItem)]; out [browser storage (setItem)]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 1 ### Help - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/help.mjs (JavaScript, 23 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/help.mjs#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/0143.html#f5 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with fill basis (`fillBasis`). - What it achieves (comment): It is built from the fill basis helper (`fillBasis`), the set step (`set`) and the mount help helper (`mountHelp`). The "How to use" part of the Controls panel (`world.html` #help). - What it does: Defines fillBasis, set, mountHelp. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `export fillBasis(doc = document)`; `export mountHelp(doc = document, win = globalThis)`; `set(id, text)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Layers Panel - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/layers-panel.mjs (JavaScript, 256 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/layers-panel.mjs#L1-L256 - Page: https://code.globalgrid2050.com/explore-code/s/0144.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with panel model (`panelModel`) and status line (`statusLine`), covering overhead lines (OHL). - What it achieves (comment): It is built from the is optional helper (`isOptional`), the is loaded helper (`isLoaded`) and the panel model helper (`panelModel`). A small panel titled "Layers" with one labelled switch per optional layer, grouped by the groups Grid, Access, Water and ground, Planning (`docs/world-lenses.md`; desktop studies under Planning). It responds to click and keydown events. - What it does: It draws overhead lines (OHL). Defines 14 functions or classes, including isOptional, isLoaded, panelModel, statusLine, sourceKeysFor. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL). - Downstream impact: Used directly by 7 files: Layers UI (globalgrid2050); Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Substrate (globalgrid2050); Layers UI (globalgrid2050); and 3 more. - Signatures: `export isOptional(id)`; `export panelModel(layers = [], on = [])`; `export statusLine(entry)`; `export sourceKeysFor(ids)`; `export attributionLines(ids, attribution, year = new Date().getFullYear())`; `export shownIds(layers = [], on = [])`; `export attributionText(layers, on, attribution, year)`; `export toggle(on, id, layers, want)`; `export createLayersPanel(container, { layers = [], onToggle = () => {}, attribution = null, on = [], year } = {})`; `isLoaded(entry)`; `entry(layers || [])`; `el(tag, cls, text)`; `render()`; `set(id, want)`; `onKey(e)`; `update(layers)`; `show(v = true)`; `destroy()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 1 ### Canopy - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/layers/canopy.mjs (JavaScript, 206 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/layers/canopy.mjs#L1-L206 - Page: https://code.globalgrid2050.com/explore-code/s/0144.html#f2 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that sets index sha (`setIndexSha`), loads hedges (`loadHedges`) and calculates planar distances, covering canopy tiles, hedges and LiDAR terrain, using SHA-256. - What it achieves (comment): It sets index sha (`setIndexSha`), decodes canopy tile (`decodeCanopyTile`) and loads hedges (`loadHedges`). Hedges and tree canopies as sparse vertical ticks, each from the ground up to the real canopy height measured by the Environment Agency LiDAR (first-return surface minus bare earth). - What it does: It lists and searches canopy tiles, hedges and LiDAR terrain. Defines 11 functions or classes, including setIndexSha, decodeCanopyTile, blockOffset, treeTicks, along. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file canopy-tiles.json; JSON file hedges.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export setIndexSha(sha)`; `export decodeCanopyTile(buffer)`; `export blockOffset(bi, bj, stride)`; `export treeTicks(t, x0, y0, heightAt, { stride = STRIDE, origin = [0, 0, 0] } = {})`; `export along(pts, step)`; `export hedgeGeometry(lines, en, heightAt, { step = HEDGE_STEP, solidStep = SOLID_STEP, origin = [0, 0, 0] } = {})`; `export createCanopy()`; `x(Math.imul(bi, 73856093) ^ Math.imul(bj, 19349663))`; `finite(h)`; `statusLine()`; `loadHedges(j, dir)`; `hedges(ctx)`; `init(a)`; `setEnabled(on)`; `lines(ctx)`; `solids(ctx)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609270439-site-world/world/layers/canopy.mjs) · essay_status: readme_derived - data_contracts: in [JSON file canopy-tiles.json; JSON file hedges.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Construction - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/layers/construction.mjs (JavaScript, 109 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/layers/construction.mjs#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/0144.html#f3 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that works with clearance words (`clearanceWords`), using SHA-256. - What it achieves (comment): It is built from the clearance words helper (`clearanceWords`), the construction status helper (`constructionStatus`) and the origin step (`origin`). How an overhead line and its connection might be built on this ground, from the GPU construction study (gpu-night agent A, `export/` /construction.odbl.json). - What it does: It lists and searches its content. Defines 8 functions or classes, including parseConstruction, clearanceWords, buildConstruction, L, constructionStatus. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `export parseConstruction(j)`; `export clearanceWords(m)`; `export buildConstruction(model, origin)`; `export constructionStatus(model)`; `export createConstruction()`; `L(p)`; `origin()`; `load()`; `init(a)`; `lines()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Contours - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/layers/contours.mjs (JavaScript, 182 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/layers/contours.mjs#L1-L182 - Page: https://code.globalgrid2050.com/explore-code/s/0145.html#f1 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that sets index sha, decodes contour tile and calculates planar distances, covering contour tiles and LiDAR terrain, using Douglas-Peucker and SHA-256. - What it achieves (comment): It sets index sha (`setIndexSha`) and decodes contour tile (`decodeContourTile`). Contour lines draped 5 cm above the ground at a chosen interval (0.5, 1 or 5 m; default 1 m), with every 5 m line (an index contour) drawn slightly brighter. - What it does: It lists and searches contour tiles and LiDAR terrain. Defines 14 functions or classes, including statusLine, setIndexSha, multiple, isIndex, onInterval. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file contour-tiles.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export statusLine(tiles, credit = EA_CREDIT)`; `export setIndexSha(sha)`; `export isIndex(z)`; `export onInterval(z, iv)`; `export decodeContourTile(doc)`; `export segments(t, x0, y0, interval, heightAt, { lift = LIFT_M, step = STEP_M, origin = [0, 0, 0] } = {})`; `export labelsFor(t, x0, y0, heightAt, { lift = LIFT_M, minLen = LABEL_MIN_M } = {})`; `export createContours()`; `multiple(z, step)`; `fmt(z)`; `drape(h, x, y, lift)`; `ivKey(iv)`; `ready()`; `init(a)`; `setEnabled(on)`; `setInterval(m)`; `setLabels(on)`; `lines(ctx)`; `labels(ctx)`; `d(l)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609270439-site-world/world/layers/contours.mjs) · essay_status: readme_derived - data_contracts: in [JSON file contour-tiles.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Ground Grid - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/layers/ground-grid.mjs (JavaScript, 163 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/layers/ground-grid.mjs#L1-L163 - Page: https://code.globalgrid2050.com/explore-code/s/0145.html#f2 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that works with height store (`heightStore`) and origin mark (`originMark`). - What it achieves (comment): It is built from the later step (`later`), the grid step (`grid`) and the wrap step (`wrap`). A 1 m grid near the viewer and a 10 m grid to the horizon, draped on whatever ground the world has (flat until a terrain layer supplies `heightAt`). - What it does: Defines 7 functions or classes, including later, grid, wrap, slotOf, heightStore. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `export grid(cx, cy, { spacing, radius }, heightAt, { origin = [0, 0, 0], near = null, sample = null, known = null } = {})`; `init(a)`; `lines({ pos, heightAt, known = null, groundVersion = 0 })`; `later(s)`; `wrap(v, m)`; `slotOf(x, y)`; `heightStore(heightAt, groundVersion, cx, cy, before, known = null)`; `sample(x, y, guess = 0)`; `knownAt(x, y)`; `begin(x, y)`; `widen()`; `originMark(sample, guess)`; `finite(h)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Imagery - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/layers/imagery.mjs (JavaScript, 248 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/layers/imagery.mjs#L1-L248 - Page: https://code.globalgrid2050.com/explore-code/s/0145.html#f3 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that loads index (`loadIndex`) and draws on a canvas, using k-means and SHA-256. It indexes pixels (`indexPixels`) and loads index (`loadIndex`). - What it achieves (comment): A satellite picture of the site laid on the ground, under every other line, in the Map and Drone views only (never Walk). It responds to input events. - What it does: It draws its content. Defines 18 functions or classes, including framesOf, creditFor, sliderModel, paletteOf, lum. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: canvas drawing. - Signatures: `export framesOf(index)`; `export creditFor(frame, index)`; `export sliderModel(frames, i, index)`; `export paletteOf(img, k = PALETTE)`; `export nearest(C, r, g, b)`; `export indexPixels(img, C)`; `export heightGrid(w, h, box, heightAt, known = null)`; `export drapeImage(img, box, H, { lift = LIFT_M, origin = [0, 0, 0], rows = ROWS_PER_PX } = {})`; `export createImagery({ decode = browserDecode, doc = globalThis.document } = {})`; `lum(p)`; `finite(v)`; `ok(k)`; `o(out[pal] ||= [])`; `t(r + 0.5)`; `browserDecode(bytes)`; `origin()`; `box()`; `loadIndex()`; `request()`; `sync()`; `init(a)`; `setEnabled(on)`; `select(i)`; `mountControls(container)`; `lines(ctx)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Land - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/layers/land.mjs (JavaScript, 140 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/layers/land.mjs#L1-L140 - Page: https://code.globalgrid2050.com/explore-code/s/0146.html#f1 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that sets index sha (`setIndexSha`), using SHA-256. - What it achieves (comment): It sets index sha (`setIndexSha`) and is built from the finite step (`finite`) and the color for helper (`colorFor`). Agricultural Land Classification grade boundaries from `land.json` (cut per site by `tools/features/cut_land.py` from Natural England's open data), draped 4 cm above the ground in quiet, low-alpha earth tones: boundaries only, no fills, so the ground stays the picture. - What it does: It lists and searches its content. Defines 12 functions or classes, including setIndexSha, finite, colorFor, onBox, same. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file land.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export setIndexSha(sha)`; `export colorFor(grade, kind)`; `export onBox(a, b, box, eps = BOX_EPS)`; `export boundaryRuns(items, box, seen = new Set())`; `export allRuns(land)`; `export createLand()`; `finite(h)`; `same(u, v, s)`; `key(a, b)`; `survey(land.alc?.post1988 || [])`; `origin()`; `load()`; `n(j.alc.provisional || [])`; `localRuns()`; `init(a)`; `setEnabled(on)`; `lines(ctx)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file land.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Shade - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/layers/shade.mjs (JavaScript, 199 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/layers/shade.mjs#L1-L199 - Page: https://code.globalgrid2050.com/explore-code/s/0146.html#f2 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that sets index sha (`setIndexSha`), decodes horizon tile (`decodeHorizonTile`) and reads sun (`readSun`), covering horizon tiles and LiDAR terrain, using SHA-256. - What it achieves (comment): It sets index sha (`setIndexSha`), decodes horizon tile (`decodeHorizonTile`) and reads sun (`readSun`). Short hatching on ground that lies in terrain shadow for the chosen sun position. - What it does: Defines 11 functions or classes, including setIndexSha, decodeHorizonTile, horizonAt, inShadow, shadowMask. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file horizon-tiles.json. - Signatures: `export setIndexSha(sha)`; `export decodeHorizonTile(buffer)`; `export horizonAt(t, i, j, az)`; `export inShadow(t, i, j, sun)`; `export shadowMask(t, sun)`; `export hatches(t, x0, y0, sun, heightAt, { length = HATCH_M, lift = LIFT_M, origin = [0, 0, 0] } = {})`; `export readSun(s)`; `export createShade()`; `f((az % 360) + 360)`; `finite(h)`; `cellAt(x, y)`; `describe()`; `init(a)`; `setEnabled(on)`; `setSun(s)`; `lines(ctx)`; `horizonProfile(x, y)`; `horizonAngle(x, y, az)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609270439-site-world/world/layers/shade.mjs) · essay_status: readme_derived - data_contracts: in [JSON file horizon-tiles.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Slope - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/layers/slope.mjs (JavaScript, 144 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/layers/slope.mjs#L1-L144 - Page: https://code.globalgrid2050.com/explore-code/s/0146.html#f3 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that sets index sha (`setIndexSha`), covering slope tiles and LiDAR terrain, using SHA-256. - What it achieves (comment): It sets index sha (`setIndexSha`) and decodes slope tile (`decodeSlopeTile`). Short downslope tick marks (hachures) draped on the ground, drawn only where the slope exceeds a chosen limit (default 10 %). - What it does: Defines 8 functions or classes, including setIndexSha, decodeSlopeTile, classForLimit, downslope, ticks. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file slope-tiles.json. - Signatures: `export setIndexSha(sha)`; `export decodeSlopeTile(buffer)`; `export classForLimit(pct)`; `export downslope(o)`; `export ticks(t, x0, y0, minClass, heightAt, { stride = STRIDE, tick = TICK_M, lift = LIFT_M, origin = [0, 0, 0] } = {})`; `export createSlope()`; `finite(h)`; `ready()`; `init(a)`; `setEnabled(on)`; `setLimit(pct)`; `lines(ctx)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file slope-tiles.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Visibility - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/layers/visibility.mjs (JavaScript, 141 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/layers/visibility.mjs#L1-L141 - Page: https://code.globalgrid2050.com/explore-code/s/0146.html#f4 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that sets index sha (`setIndexSha`), covering visibility tiles and LiDAR terrain, using SHA-256. - What it achieves (comment): It sets index sha (`setIndexSha`) and decodes visibility tile (`decodeVisibilityTile`). Faint diagonal hatching draped on the ground wherever a target of the stated height (default 3 m, a panel top) could be seen by at least one observer standing on a road or footpath (eye height 1.7 m). - What it does: It lists and searches visibility tiles and LiDAR terrain. Defines 11 functions or classes, including setIndexSha, decodeVisibilityTile, caveatFor, seen, hatch. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file visibility-tiles.json. - Signatures: `export setIndexSha(sha)`; `export decodeVisibilityTile(buffer)`; `export caveatFor(index)`; `export hatch(t, x0, y0, heightAt, { stride = STRIDE, lift = LIFT_M, origin = [0, 0, 0] } = {})`; `export createVisibility()`; `seen(c)`; `off(g)`; `z(x, y)`; `finite(h)`; `describe()`; `ready()`; `init(a)`; `setEnabled(on)`; `lines(ctx)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file visibility-tiles.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Water - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/layers/water.mjs (JavaScript, 119 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/layers/water.mjs#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/0147.html#f1 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that sets index sha (`setIndexSha`) and calculates planar distances, covering rivers, using SHA-256. - What it achieves (comment): It sets index sha (`setIndexSha`) and is built from the finite step (`finite`) and the origin step (`origin`). Watercourse centrelines from OS Open Rivers (`rivers.json`, cut per site by `tools/features/cut_rivers.py`), draped 5 cm above the ground, in a quiet blue. - What it does: It lists and searches rivers. Defines 6 functions or classes, including setIndexSha, finite, createWater, origin, load. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file rivers.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export setIndexSha(sha)`; `export createWater({ now = () => (globalThis.performance ? performance.now() : Date.now()) } = {})`; `finite(h)`; `origin()`; `load()`; `localLines()`; `init(a)`; `setEnabled(on)`; `lines(ctx)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file rivers.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Ways - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/layers/ways.mjs (JavaScript, 160 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/layers/ways.mjs#L1-L160 - Page: https://code.globalgrid2050.com/explore-code/s/0147.html#f2 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that sets file sha (`setFileSha`) and status (`setStatus`) and calculates planar distances, covering roads, rail and motorways, using SHA-256. - What it achieves (comment): It sets file sha (`setFileSha`) and sets status (`setStatus`). Roads and railways draped on the ground. - What it does: It lists and searches roads, rail and motorways. Defines 9 functions or classes, including setFileSha, offsetLine, edgeOffsets, buildWays, finite. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: motorways. - Inputs & outputs: In: JSON file roads.json; JSON file rail.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export setFileSha(kind, sha)`; `export offsetLine(pts, d)`; `export edgeOffsets(line, kind)`; `export buildWays(doc, originEN, heightAt, { drape, origin = [0, 0, 0], step = STEP_M, lift = LIFT_M, known } = {})`; `export createWays()`; `c(t - (tracks - 1) / 2)`; `out(groups[g] ||= [])`; `finite(h)`; `now()`; `load(kind)`; `setStatus(msg)`; `init(a)`; `setData(kind, doc)`; `lines(ctx)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file roads.json; JSON file rail.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Drape - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/lib/drape.mjs (JavaScript, 99 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/lib/drape.mjs#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0147.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with dist to line (`distToLine`) and ticks along (`ticksAlong`) and calculates planar distances. - What it achieves (comment): It is built from the finite step (`finite`), the yes step (`yes`) and the densify step (`densify`). Lines laid on the ground, shared by the water, ways and land layers (through api.lib.drape) and by the cartridges (by import). - What it does: It calculates its inputs. Defines 9 functions or classes, including finite, yes, densify, cumulative, pointAt. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 3 files: Site World V3 — World (globalgrid2050); Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/). Reached from 4 other entry points, including Layers (globalgrid2050); Layers (globalgrid2050); Substrate (globalgrid2050). - Signatures: `export finite(h)`; `export densify(pts, step)`; `export cumulative(pts)`; `export pointAt(pts, cum, s)`; `export distToLine(pts, x, y)`; `export drapeSegments(pts, heightAt, lift, o = [0, 0, 0], known = yes)`; `export drape(out, pts, heightAt, { step, lift, origin = [0, 0, 0], known = yes })`; `export ticksAlong(pts, cum, t, heightAt, { pos = null, near, spacing, tick, speed, lift, origin = [0, 0, 0], known = yes })`; `yes()`; `f(s - cum[lo])`; `phase((t * speed) % spacing + spacing)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 1 ### Earthworks - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/lib/earthworks.mjs (JavaScript, 226 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/lib/earthworks.mjs#L1-L226 - Page: https://code.globalgrid2050.com/explore-code/s/0147.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that strips volume (`stripVolume`) and calculates planar distances. - What it achieves (comment): It is built from the inv step (`inv`), the batter z helper (`batterZ`) and the daylight step (`daylight`). The one cut and fill engine for trenches, roads and pads, and the one composer that puts every dig into the ground. - What it does: It calculates its inputs. Defines 19 functions or classes, including inv, batterZ, daylight, polyArea, insidePoly. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 6 files: Trench (globalgrid2050); Site World V3 — World (globalgrid2050); Pad (globalgrid2050); Road (globalgrid2050); and 2 more. Reached from 4 other entry points, including Layers (globalgrid2050); Layers (globalgrid2050); Substrate (globalgrid2050). - Signatures: `export inv(h)`; `export batterZ(g, level, d, invCut, invFill)`; `export daylight(met, step, limit, { strict = false } = {})`; `export polyArea(pts)`; `export insidePoly(x, y, vx, vy)`; `export edgeDistance(x, y, pts)`; `export sampleCells(pts, groundAt, cell, reach, off = () => 0)`; `export volumesAt(cells, level0, invCut, invFill)`; `export balance(cells, invCut, invFill)`; `export gridIntegrate({ x0, y0, nx, ny, cell, sub = 8, split, visit })`; `export stripVolume(path, width, depth, g, { nt = 6, du = 0.25 } = {})`; `export padHeight(pad, x, y, groundAt)`; `export nearPad(p, x, y)`; `export composeGround(groundAt, { roads = [], pads = [], trenches = [] } = {})`; `j(i - 1 + n)`; `mid(lo + hi)`; `bis(s, t)`; `t((k + 0.5) / nt - 0.5)`; `inBox(b, x, y)`; `withRoads(groundAt, list)`; `withPads(groundAt, list)`; `withTrenches(groundAt, list)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 1 ### Site World V3 — World - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/lib/index.mjs (JavaScript, 13 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/lib/index.mjs#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/0147.html#f5 - Synopsis: A JavaScript module in the solar design studio folder of GlobalGrid2050 that uses SHA-256. - What it achieves (comment): The shared world library as one object, and its version. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 4 files: Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Layers (globalgrid2050); Layers (globalgrid2050); Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/). Reached from 2 other entry points, including Substrate (globalgrid2050); Substrate (globalgrid2050). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 4; mentioned by 0 ### Pad - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/pad.mjs (JavaScript, 268 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/pad.mjs#L1-L268 - Page: https://code.globalgrid2050.com/explore-code/s/0148.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with transformers, using ISO 668. It formats pad line (`formatPadLine`) and creates pad layer (`createPadLayer`). - What it achieves (comment): Level platforms for transformer foundations, inverter skids and battery compounds. - What it does: It calculates transformers. Defines 19 functions or classes, including frame, padFootprint, createPad, off, padGround. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers. - Downstream impact: Used directly by 2 files: Design Earthworks (globalgrid2050); Design Earthworks (globalgrid2050). - Signatures: `export frame(centre, heading = 0)`; `export padFootprint(spec)`; `export createPad(spec, groundAt)`; `export padGround(pads, groundAt)`; `export padLines(pad, groundAt, { spacing = 2, key = 'pad', version = 0 } = {})`; `export padUnits(pad)`; `export padSolids(pad)`; `export formatPadLine(pad)`; `export createPadLayer(opts = {})`; `off(x, y)`; `daylight(pad, px, py, ux, uy, groundAt)`; `F(x, y)`; `ring(z)`; `batch(part, positions)`; `corners(x, y, w, d)`; `boxEdges(c, z0, z1)`; `fmt(x, dp = 1)`; `specs()`; `init(a)`; `heightAt(x, y)`; `lines(ctx)`; `raw(x, y)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 1 ### Project UI - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/project-ui.mjs (JavaScript, 247 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/project-ui.mjs#L1-L247 - Page: https://code.globalgrid2050.com/explore-code/s/0148.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that draws sites and cables. It hides choice (`hideChoice`), sets tour (`setTour`) and refreshes phases (`refreshPhases`). - What it achieves (comment): Project tools, placed under the dash's essentials: the design file (Save, Open, Share, Print), Tour and Construction phases in the Design panel; Test sites in the Find panel. It responds to click, change and toggle events. - What it does: It draws sites and cables. Defines 19 functions or classes, including save, plain, mountProject, $, note. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: JSON file sites.json. - Signatures: `export mountProject(api, doc = document)`; `save(doc, name, text, type = 'application/json')`; `plain(o)`; `$(id)`; `note(msg)`; `pts(path)`; `toDoc()`; `fromDoc(d, { keep = true } = {})`; `path(it)`; `of(kind)`; `flyToDesign(d)`; `e(Math.min(...es) + Math.max(...es))`; `hideChoice()`; `shareTab()`; `offerChoice(shared, mine)`; `b(id, label, fn)`; `press(id, on, label)`; `setTour(t)`; `refreshPhases()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271552-site-world/world/project-ui.mjs) · essay_status: readme_derived - data_contracts: in [JSON file sites.json]; out []; crs []; voltages [] - Edges: uses 7 estate files (import 7); used by 0; mentioned by 1 ### Road - File: globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/road.mjs (JavaScript, 311 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270330-site-world-v3/world/road.mjs#L1-L311 - Page: https://code.globalgrid2050.com/explore-code/s/0149.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with A roads, using BS EN 13108-1. - What it achieves (comment): It is built from the point at helper (`pointAt`), the seg at helper (`segAt`) and the z at helper (`zAt`). An access road as a function over the ground, never a stored mesh (the sibling of `trench.mjs`). - What it does: It calculates A roads. Defines 20 functions or classes, including createRoad, pointAt, segAt, zAt, level. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: A roads. - Downstream impact: Used directly by 3 files: Boq Assumptions (globalgrid2050); Design Earthworks (globalgrid2050); Design Earthworks (globalgrid2050). - Signatures: `export createRoad(opts = {})`; `export composeRoadGround(groundAt, roads)`; `dx(bx - ax)`; `pointAt(s)`; `segAt(s)`; `zAt(s)`; `level(s)`; `r(v.g2 - v.g1)`; `designLevel(s)`; `gradeAt(s)`; `fallAt(off)`; `finishedAt(s, off)`; `edgeOfLimit(s, dir)`; `locate(x, y)`; `inBox(x, y)`; `batter(zE, d, g)`; `roadHeight(x, y, g = groundAt)`; `earthworksOf(p, gz)`; `earthworksAt(x, y, g = groundAt)`; `onRoad(x, y)`; `earthworksOn(g = groundAt)`; `jitter(i, j, k)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 1 ### Solar Design Studio — Site World V3 Page - File: globalgrid2050/solar-design-studio/202609270402-site-world-v3/index.html (HTML, 355 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270402-site-world-v3/index.html#L1-L355 - Page: https://code.globalgrid2050.com/explore-code/s/0149.html#f2 - Published at: https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/ - Synopsis: A web page in GlobalGrid2050 that draws bill of quantities, cables, substations and postcodes. Published at https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/. - What it achieves (comment): Every module the first frame imports is fetched with the page, all at once, not one import level at a time; the manifest. - What it does: It draws bill of quantities, cables, substations and postcodes. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, substations, postcodes. - Inputs & outputs: In: user-supplied file (file picker); form fields (user input). Out: CSV file bill-of-quantities.csv; downloaded file bill-of-quantities.csv; web page; SVG drawing. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker); form fields (user input)]; out [CSV file bill-of-quantities.csv; downloaded file bill-of-quantities.csv; web page; SVG drawing]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 23 estate files (modulepreload 23); used by 0; mentioned by 0 ### Design Sections - File: globalgrid2050/solar-design-studio/202609270402-site-world-v3/world/design-sections.mjs (JavaScript, 166 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270402-site-world-v3/world/design-sections.mjs#L1-L166 - Page: https://code.globalgrid2050.com/explore-code/s/0150.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that lists and searches cables and solar. It creates sections (`createSections`), loads options (`loadOptions`) and loads plant (`loadPlant`). - What it achieves (comment): The parts of the Design panel that follow a specification, kept out of `design-ui.mjs`. Its code works with 10 MVA, 10 MW and 100 MW. It responds to click and toggle events. - What it does: It lists and searches cables and solar. Defines 10 functions or classes, including createSections, $, once, loadOptions, loadPlant. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, 400kV, 275kV, 132kV, 33kV. - Inputs & outputs: In: user-supplied file (file picker); form fields (user input). Voltage levels named: 400kV, 275kV, 132kV, 33kV. - Downstream impact: Used directly by 1 file: Design UI (globalgrid2050). - Signatures: `export createSections({ doc, origin, viewer, measuredAt, heightAt, baseHeight, assets = () => [], nearest = null, redraw, animate = () => {...)`; `$(id)`; `once(name, load)`; `loadOptions()`; `loadPlant()`; `loadBlock()`; `loadCables()`; `spec()`; `effOf(section)`; `cross(section, eff, cableOdMm)`; `extra(toLocalPts)`; `detail(b, batch)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker); form fields (user input)]; out []; crs []; voltages [400kV, 275kV, 132kV, 33kV] - Edges: uses 9 estate files (import 5, dynamic-import 4); used by 1; mentioned by 0 ### Find Mount - File: globalgrid2050/solar-design-studio/202609270402-site-world-v3/world/find-mount.mjs (JavaScript, 39 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270402-site-world-v3/world/find-mount.mjs#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0150.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that draws projects and postcodes. - What it achieves (comment): It loads index (`loadIndex`) and is built from the mount find helper (`mountFind`) and the site near helper (`siteNear`). Find in the dash: a Renewable Energy Planning Database (REPD) project, postcode or "lat, lon"; the drone flies there. It reads `./world/data/projects.json`. It responds to keydown events. - What it does: It draws projects and postcodes. Defines mountFind, siteNear, loadIndex. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: postcodes. - Inputs & outputs: In: JSON file projects.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export mountFind({ site, attribution, origin, SITE_HALF_M, first, canvas, close, flyTo, doc = document })`; `siteNear(lat, lon)`; `loadIndex()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609270439-site-world/world/find-mount.mjs) · essay_status: readme_derived - data_contracts: in [JSON file projects.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Layers - File: globalgrid2050/solar-design-studio/202609270402-site-world-v3/world/layers.mjs (JavaScript, 224 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270402-site-world-v3/world/layers.mjs#L1-L224 - Page: https://code.globalgrid2050.com/explore-code/s/0150.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that loads base (`loadBase`) and lib (`loadLib`) and fetches checked (`fetchChecked`), using SHA-256. - What it achieves (comment): It loads base (`loadBase`), loads lib (`loadLib`) and imports text (`importText`). The manifest lists layers in order; each layer file is fetched, its SHA-256 compared with the manifest, and only then imported. - What it does: It fetches data. Defines 20 functions or classes, including loadBase, withBase, loadLib, no, libRefusal. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 7 files: Cable Checks UI (globalgrid2050); Buffers UI (globalgrid2050); Sun Mode (globalgrid2050); Layers UI (globalgrid2050); and 3 more. - Signatures: `export loadBase()`; `export loadLib(entry, base, { get = (u, o) => fetch(u, o), load = importText } = {})`; `export libRefusal(want, lib, why)`; `export loadLayers(manifestUrl, hooks = {})`; `export statusLine(item)`; `export startLayer(item, api)`; `export makeApi(base, { invalidate = () => {}, origin = () => ({ e: 0, n: 0, id: 0 }), fetchImpl, lib = LIB } = {})`; `export normalise(text)`; `export sha256(text)`; `export sha256Bytes(bytes)`; `withBase(o)`; `no(why)`; `earlyFetch(url)`; `importText(text)`; `fetchChecked(entry)`; `start(item, entry, got)`; `fetchOne(e)`; `off(e)`; `fetchVerified(path, sha)`; `fetchJSON(path, sha)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (dynamic-import 3, import 1); used by 7; mentioned by 1 ### Terrain - File: globalgrid2050/solar-design-studio/202609270402-site-world-v3/world/layers/terrain.mjs (JavaScript, 114 lines) · role geodesy · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270402-site-world-v3/world/layers/terrain.mjs#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/0150.html#f4 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that works with tiles and LiDAR terrain, using SHA-256. It sets index sha (`setIndexSha`) and decodes tile (`decodeTile`). - What it achieves (comment): Ground heights from LiDAR tiles (.ght, written by the LiDAR pipeline). - What it does: It calculates tiles and LiDAR terrain. Defines setIndexSha, decodeTile, sampleTile, createTerrain. - Why it exists in the grid workflow: Domain stage site_feasibility (path word 'terrain'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file tiles.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 3 files: Wcs Terrain (globalgrid2050); Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Plant Ground (globalgrid2050). Reached from 3 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050); Substrate (globalgrid2050). - Signatures: `export setIndexSha(sha)`; `export decodeTile(buffer)`; `export sampleTile(t, u, v)`; `export createTerrain()`; `init(a)`; `heightAt(x, y)`; `lines(ctx)`; `plan()` - VEDIC: DECODE (GG2050-VEDIC-000009): Solar Design Studio / 3D terrain · Computer science / Binary decoding. terrain_tile_bytes -> terrain_grid - VEDIC: SAMPLE (GG2050-VEDIC-000010): Solar Design Studio / 3D terrain · Mathematics / Bilinear interpolation. terrain_grid, local_x_m, local_y_m -> height_m_or_nan - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file tiles.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Tiles - File: globalgrid2050/solar-design-studio/202609270402-site-world-v3/world/lib/tiles.mjs (JavaScript, 134 lines) · role ingest · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270402-site-world-v3/world/lib/tiles.mjs#L1-L134 - Page: https://code.globalgrid2050.com/explore-code/s/0150.html#f5 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that creates tile loader (`createTileLoader`) and calculates planar distances, covering slope tiles, using SHA-256. - What it achieves (comment): It creates tile loader (`createTileLoader`) and is built from the rect dist helper (`rectDist`) and the invalidate step (`invalidate`). The tile loader every tiled layer shares (terrain, slope, flow, contours, shade, visibility, canopy). - What it does: It lists and searches slope tiles. Defines 10 functions or classes, including rectDist, createTileLoader, invalidate, place, follow. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file slope-tiles.json. - Downstream impact: Used directly by 3 files: Site World V3 — World (globalgrid2050); Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/). Reached from 4 other entry points, including Layers (globalgrid2050); Layers (globalgrid2050); Substrate (globalgrid2050). - Signatures: `export rectDist(x, y, x0, y0, x1, y1)`; `export createTileLoader(api, o)`; `invalidate()`; `place(t)`; `follow()`; `load()`; `wanted(x, y)`; `request(entry)`; `pump()`; `evict()`; `frame(pos)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file slope-tiles.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Lines - File: globalgrid2050/solar-design-studio/202609270402-site-world-v3/world/lines.mjs (JavaScript, 164 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270402-site-world-v3/world/lines.mjs#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/0151.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that splits batches (`splitBatches`), calculates planar distances and renders with WebGL. - What it achieves (comment): It splits batches (`splitBatches`) and is built from the offset of helper (`offsetOf`) and the occluder mesh helper (`occluderMesh`). Line renderer: raw WebGL 1, flat colour, lines fade with distance. It responds to webglcontextlost and webglcontextrestored events. - What it does: It draws its content. Defines 8 functions or classes, including offsetOf, splitBatches, occluderMesh, put, occluderFollower. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 2 files: Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Substrate (globalgrid2050). - Signatures: `export offsetOf(origin, eye)`; `export splitBatches(batches)`; `export occluderMesh(heightAt, x, y, { cell = 8, radius = 400, sink = 0.5, key = 'occluder', version } = {})`; `export occluderFollower({ every = 64, ...opts } = {})`; `export createLines(canvas, { onRestore = () => {} } = {})`; `put(i, j)`; `init()`; `bind(b, data)`; `setBackdrop(fn)`; `resize(nextScale)`; `draw(matrix, eye, fade, batches, target)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Plant Ground - File: globalgrid2050/solar-design-studio/202609270402-site-world-v3/world/plant-ground.mjs (JavaScript, 72 lines) · role geodesy · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270402-site-world-v3/world/plant-ground.mjs#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/0151.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that creates site ground (`createSiteGround`), using SHA-256. - What it achieves (comment): It creates site ground (`createSiteGround`) and is built from the start step (`start`) and the site step (`site`). The measured ground under a whole plant boundary, and the mapped water beside it. - What it does: It calculates its inputs. Defines 8 functions or classes, including createSiteGround, start, site, extent, loadFor. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Plant UI (globalgrid2050); Block UI (globalgrid2050). - Signatures: `export createSiteGround({ manifestUrl = './world/manifest.json', fetchImpl } = {})`; `start()`; `cfg(manifest.layers || [])`; `site()`; `extent()`; `loadFor({ e0, n0, e1, n1 }, onTile = () => {})`; `heightAt(e, n)`; `s(t.samples - 1)`; `sampler()`; `water()` - VEDIC: HEIGHT (GG2050-VEDIC-000011): Solar Design Studio / LiDAR · Mathematics / Raster sampling. bng_easting_m, bng_northing_m -> height_receipt_or_null - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Raycast - File: globalgrid2050/solar-design-studio/202609270402-site-world-v3/world/raycast.mjs (JavaScript, 317 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270402-site-world-v3/world/raycast.mjs#L1-L317 - Page: https://code.globalgrid2050.com/explore-code/s/0151.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that builds pyramid (`buildPyramid`), calculates planar distances and renders with WebGL. It builds pyramid (`buildPyramid`) and creates raycaster (`createRaycaster`). - What it achieves (comment): Solid ground on the viewer's own GPU: a WebGL2 ray cast through the height field, drawn behind the lines. - What it does: It draws its content. Defines 14 functions or classes, including buildPyramid, basis, sunVector, createRaycaster, sh. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Substrate (globalgrid2050). Reached from 1 other entry point, including Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/). - Signatures: `export buildPyramid(h, n)`; `export basis(yaw, pitch)`; `export sunVector({ azimuth, elevation })`; `export createRaycaster(gl)`; `export gatherGrid(measuredAt, cx, cy, { nodes = DEFAULTS.nodes, spacing = DEFAULTS.spacing, sliceMs = DEFAULTS.sliceMs } = {}, done, la...)`; `export mountRaycast(w, opts = {})`; `sh(t, s)`; `tex()`; `upload(g, level = 0)`; `setup(p, mode)`; `render(p)`; `readData(p)`; `half(nodes - 1)`; `slice()`; `gather()`; `stale()`; `backdrop(gl, width, height)`; `set(v)`; `setTarget(t)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Substrate - File: globalgrid2050/solar-design-studio/202609270402-site-world-v3/world/substrate.mjs (JavaScript, 387 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270402-site-world-v3/world/substrate.mjs#L1-L387 - Page: https://code.globalgrid2050.com/explore-code/s/0152.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that sets origin (`setOrigin`), writes readout (`writeReadout`), opens panel (`openPanel`) and calculates planar distances (units: kV). - What it achieves (comment): It sets origin (`setOrigin`), writes readout (`writeReadout`) and opens panel (`openPanel`). The substrate: an empty world you can move around in. It reads `./world/data/attribution.json`. It responds to click, resize and close events. - What it does: It draws attribution, overhead lines (OHL), LiDAR terrain and substations. Defines 28 functions or classes, including $, fadeAt, tourPlaying, live, shown. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL), LiDAR terrain, substations. - Inputs & outputs: In: JSON file attribution.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/). - Signatures: `$(id)`; `fadeAt()`; `tourPlaying()`; `live()`; `shown()`; `guarded(l, fn, fallback)`; `baseHeight(x, y)`; `measuredAt(x, y)`; `known(x, y)`; `groundSource(x, y)`; `heightAt(x, y)`; `solids()`; `invalidate({ ground = true } = {})`; `gridAssets()`; `subs(model.substations || [])`; `towers(model.lines || [])`; `setOrigin(e, n)`; `playing()`; `target()`; `moving()`; `flyTo(x, y, opts = {})`; `draw(now, intervalMs)`; `t(now - arrival.t0)`; `collect(pos)`; `chooseView(v, { arrive: fly = true } = {})` (and 7 more) - VEDIC: HEIGHT (GG2050-VEDIC-000011): Solar Design Studio / LiDAR · Mathematics / Raster sampling. bng_easting_m, bng_northing_m -> height_receipt_or_null - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file attribution.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 18 estate files (import 17, dynamic-import 1); used by 1; mentioned by 0 ### Block Export - File: globalgrid2050/solar-design-studio/202609270439-site-world/world/block-export.mjs (JavaScript, 89 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270439-site-world/world/block-export.mjs#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/0152.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that fetches substations, 33kV and solar, using Dijkstra and SHA-256. It loads export (`loadExport`), parses export (`parseExport`) and builds export (`buildExport`). - What it achieves (comment): Design > Solar block > Export route (GPU-checked, illustrative). Its code works with 33 kV. - What it does: It fetches substations, 33kV and solar. Defines 11 functions or classes, including hex, sha256, loadExport, parseExport, buildExport. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, 33kV, solar. - Inputs & outputs: In: JSON file index.json. Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Block UI (globalgrid2050). - Signatures: `export loadExport(site, { get = (u, o) => fetch(u, o), base = './world/sites/', digest = sha256 } = {})`; `export parseExport(j, witness = null)`; `export buildExport(p, ground = () => NaN)`; `export exportRows(p, fmt = { n0: x => String(Math.round(x)), len: m => `${Math.round(m)} m` })`; `hex(buf)`; `sha256(bytes)`; `hdd(j.hdd_candidates || [])`; `mk(key)`; `seg(G, a, b)`; `near(e, n)`; `z(e, n)`; `pair(o)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json]; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Drums - File: globalgrid2050/solar-design-studio/202609270439-site-world/world/drums.mjs (JavaScript, 288 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270439-site-world/world/drums.mjs#L1-L288 - Page: https://code.globalgrid2050.com/explore-code/s/0153.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, 33kV and 66kV. - What it achieves (comment): It draws joint bays (`drawJointBays`) and is built from the val step (`val`) and the mass per metre helper (`massPerMetre`). Split a cable route into drum lengths, place joint bays, and produce a drum schedule. Its code works with 33 kV, 66 kV and 2 kV. - What it does: It calculates cables, 33kV and 66kV. Defines 16 functions or classes, including val, massPerMetre, barrelRule, drumCapacity, chooseDrum. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, 66kV, 2kV. - Inputs & outputs: Voltage levels named: 66kV, 33kV, 2kV. - Downstream impact: Used directly by 1 file: Design Earthworks (globalgrid2050). - Signatures: `export massPerMetre(cable, opts = {})`; `export barrelRule(cable, rules = [])`; `export drumCapacity(drum, odM, freeboard)`; `export chooseDrum(cable, rules, opts = {})`; `export planDrums({ route, cable, rules = [], crossings = [], groundAt = null, options = {} } = {})`; `export drawJointBays(bays, cfg = {}, groundAt = null)`; `val(opts, k)`; `profile(route)`; `cores(route.cores && route.cores.length ? route.cores : [{ polyline: cl }])`; `interp(pr, arr, t)`; `u(t - d3[lo])`; `pointAt(pr, t)`; `bayProblems(pr, route, t, cfg, crossings)`; `lo(c.from !== undefined ? c.from : c.at)`; `hi(c.to !== undefined ? c.to : c.at)`; `coreLen(t0, t1)`; `need(t0, t1)`; `ends(t0 <= 0 ? cfg.terminationAllowance : cfg.jointAllowance)`; `fits(t0, t1)`; `reach(t0)`; `seg(a, b)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [66kV, 33kV, 2kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Find Mount - File: globalgrid2050/solar-design-studio/202609270439-site-world/world/find-mount.mjs (JavaScript, 42 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270439-site-world/world/find-mount.mjs#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/0153.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that draws projects and postcodes, using OSTN15. - What it achieves (comment): It loads index (`loadIndex`) and is built from the mount find helper (`mountFind`) and the site near helper (`siteNear`). Find in the dash: a Renewable Energy Planning Database (REPD) project, postcode or "lat, lon"; the drone flies there. It reads `./world/data/projects.json`. It responds to keydown events. - What it does: It draws projects and postcodes. Defines mountFind, siteNear, loadIndex. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: postcodes. - Inputs & outputs: In: JSON file projects.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export mountFind({ site, attribution, origin, SITE_HALF_M, first, canvas, close, flyTo, doc = document, ostn = createOstn15() })`; `siteNear(lat, lon)`; `loadIndex()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file projects.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 4 estate files (import 4); used by 0; mentioned by 0 ### Layers - File: globalgrid2050/solar-design-studio/202609270439-site-world/world/layers.mjs (JavaScript, 226 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270439-site-world/world/layers.mjs#L1-L226 - Page: https://code.globalgrid2050.com/explore-code/s/0153.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that loads base (`loadBase`) and lib (`loadLib`) and fetches checked (`fetchChecked`), using SHA-256. - What it achieves (comment): It loads base (`loadBase`), loads lib (`loadLib`) and imports text (`importText`). The manifest lists layers in order; each layer file is fetched, its SHA-256 compared with the manifest, and only then imported. - What it does: It fetches data. Defines 20 functions or classes, including loadBase, withBase, loadLib, no, libRefusal. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 7 files: Layers UI (globalgrid2050); Buffers UI (globalgrid2050); Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Cmd Run (globalgrid2050); and 3 more. - Signatures: `export loadBase()`; `export loadLib(entry, base, { get = (u, o) => fetch(u, o), load = importText } = {})`; `export libRefusal(want, lib, why)`; `export loadLayers(manifestUrl, hooks = {})`; `export statusLine(item)`; `export startLayer(item, api)`; `export makeApi(base, { invalidate = () => {}, origin = () => ({ e: 0, n: 0, id: 0 }), fetchImpl, lib = LIB, towers = () => [] } = {})`; `export normalise(text)`; `export sha256(text)`; `export sha256Bytes(bytes)`; `withBase(o)`; `no(why)`; `earlyFetch(url)`; `importText(text)`; `fetchChecked(entry)`; `start(item, entry, got)`; `fetchOne(e)`; `off(e)`; `fetchVerified(path, sha)`; `fetchJSON(path, sha)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (dynamic-import 3, import 1); used by 7; mentioned by 0 ### Canopy - File: globalgrid2050/solar-design-studio/202609270439-site-world/world/layers/canopy.mjs (JavaScript, 217 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270439-site-world/world/layers/canopy.mjs#L1-L217 - Page: https://code.globalgrid2050.com/explore-code/s/0154.html#f1 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that sets index sha (`setIndexSha`), loads hedges (`loadHedges`) and calculates planar distances, covering canopy tiles, hedges and LiDAR terrain, using SHA-256. - What it achieves (comment): It sets index sha (`setIndexSha`), decodes canopy tile (`decodeCanopyTile`) and loads hedges (`loadHedges`). Hedges and tree canopies as sparse vertical ticks, each from the ground up to the real canopy height measured by the Environment Agency LiDAR (first-return surface minus bare earth). Its code works with 400 kV. - What it does: It lists and searches canopy tiles, hedges and LiDAR terrain. Defines 11 functions or classes, including setIndexSha, decodeCanopyTile, blockOffset, treeTicks, along. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: LiDAR terrain, 400kV. - Inputs & outputs: In: JSON file canopy-tiles.json; JSON file hedges.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 400kV. - Signatures: `export setIndexSha(sha)`; `export decodeCanopyTile(buffer)`; `export blockOffset(bi, bj, stride)`; `export treeTicks(t, x0, y0, heightAt, { stride = STRIDE, origin = [0, 0, 0], mask = [], maskM = TOWER_MASK_M } = {})`; `export along(pts, step)`; `export hedgeGeometry(lines, en, heightAt, { step = HEDGE_STEP, solidStep = SOLID_STEP, origin = [0, 0, 0] } = {})`; `export createCanopy()`; `x(Math.imul(bi, 73856093) ^ Math.imul(bj, 19349663))`; `finite(h)`; `statusLine()`; `loadHedges(j, dir)`; `hedges(ctx)`; `init(a)`; `setEnabled(on)`; `lines(ctx)`; `mask(typeof api.towers === 'function' ? api.towers() : [])`; `size(t.tile.samples - 1)`; `solids(ctx)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file canopy-tiles.json; JSON file hedges.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Contours - File: globalgrid2050/solar-design-studio/202609270439-site-world/world/layers/contours.mjs (JavaScript, 182 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270439-site-world/world/layers/contours.mjs#L1-L182 - Page: https://code.globalgrid2050.com/explore-code/s/0154.html#f2 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that sets index sha, decodes contour tile and calculates planar distances, covering contour tiles and LiDAR terrain, using Douglas-Peucker and SHA-256. - What it achieves (comment): It sets index sha (`setIndexSha`) and decodes contour tile (`decodeContourTile`). Contour lines draped 5 cm above the ground at a chosen interval (0.5, 1 or 5 m; default 1 m), with every 5 m line (an index contour) drawn slightly brighter. - What it does: It lists and searches contour tiles and LiDAR terrain. Defines 14 functions or classes, including statusLine, setIndexSha, multiple, isIndex, onInterval. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file contour-tiles.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export statusLine(tiles, credit = EA_CREDIT)`; `export setIndexSha(sha)`; `export isIndex(z)`; `export onInterval(z, iv)`; `export decodeContourTile(doc)`; `export segments(t, x0, y0, interval, heightAt, { lift = LIFT_M, step = STEP_M, origin = [0, 0, 0] } = {})`; `export labelsFor(t, x0, y0, heightAt, { lift = LIFT_M, minLen = LABEL_MIN_M } = {})`; `export createContours()`; `multiple(z, step)`; `fmt(z)`; `drape(h, x, y, lift)`; `ivKey(iv)`; `ready()`; `init(a)`; `setEnabled(on)`; `setInterval(m)`; `setLabels(on)`; `lines(ctx)`; `labels(ctx)`; `d(l)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file contour-tiles.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Flow - File: globalgrid2050/solar-design-studio/202609270439-site-world/world/layers/flow.mjs (JavaScript, 352 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270439-site-world/world/layers/flow.mjs#L1-L352 - Page: https://code.globalgrid2050.com/explore-code/s/0155.html#f1 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that sets index sha (`setIndexSha`), decodes hollow tile (`decodeHollowTile`), loads index (`loadIndex`) and calculates planar distances, using SHA-256. - What it achieves (comment): It sets index sha (`setIndexSha`), decodes flow tile (`decodeFlowTile`) and decodes hollow tile (`decodeHollowTile`). The natural drainage lines: every cell whose log-accumulation class is at or above a chosen class, drawn as a short downhill segment to the cell it drains into (D8), draped just above the ground, brighter as the flow grows. - What it does: It lists and searches flow tiles and LiDAR terrain. Defines 24 functions or classes, including setIndexSha, decodeFlowTile, fits, looksEsri, colorFor. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file flow-tiles.json. - Signatures: `export setIndexSha(sha)`; `export decodeFlowTile(buffer, { encoding } = {})`; `export colorFor(c, minClass, maxClass)`; `export segments(t, x0, y0, minClass, heightAt, { lift = LIFT_M, origin = [0, 0, 0] } = {})`; `export decodeHollowTile(buffer)`; `export hollowMask(t, minCells = MIN_HOLLOW_CELLS)`; `export hollowOutline(t, x0, y0, heightAt, { minCells = MIN_HOLLOW_CELLS, lift = HOLLOW_LIFT_M, origin = [0, 0, 0], openEdges = false } = {})`; `export createFlow()`; `fits(s, h)`; `looksEsri(raw)`; `inside(i, j)`; `seg(ax, ay, bx, by)`; `finite(h)`; `rectDist(x, y, x0, y0, x1, y1)`; `now()`; `say(s)`; `loadIndex()`; `loadHollows()`; `ready()`; `empty(t)`; `wanted(x, y)`; `request(entry)`; `pump()`; `evict()`; `init(a)` (and 3 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file flow-tiles.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Shade - File: globalgrid2050/solar-design-studio/202609270439-site-world/world/layers/shade.mjs (JavaScript, 199 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270439-site-world/world/layers/shade.mjs#L1-L199 - Page: https://code.globalgrid2050.com/explore-code/s/0155.html#f2 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that sets index sha (`setIndexSha`), decodes horizon tile (`decodeHorizonTile`) and reads sun (`readSun`), covering horizon tiles and LiDAR terrain, using SHA-256. - What it achieves (comment): It sets index sha (`setIndexSha`), decodes horizon tile (`decodeHorizonTile`) and reads sun (`readSun`). Short hatching on ground that lies in terrain shadow for the chosen sun position. - What it does: Defines 11 functions or classes, including setIndexSha, decodeHorizonTile, horizonAt, inShadow, shadowMask. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file horizon-tiles.json. - Signatures: `export setIndexSha(sha)`; `export decodeHorizonTile(buffer)`; `export horizonAt(t, i, j, az)`; `export inShadow(t, i, j, sun)`; `export shadowMask(t, sun)`; `export hatches(t, x0, y0, sun, heightAt, { length = HATCH_M, lift = LIFT_M, origin = [0, 0, 0] } = {})`; `export readSun(s)`; `export createShade()`; `f((az % 360) + 360)`; `finite(h)`; `cellAt(x, y)`; `describe()`; `init(a)`; `setEnabled(on)`; `setSun(s)`; `lines(ctx)`; `horizonProfile(x, y)`; `horizonAngle(x, y, az)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file horizon-tiles.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Phases Design - File: globalgrid2050/solar-design-studio/202609270439-site-world/world/phases-design.mjs (JavaScript, 84 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270439-site-world/world/phases-design.mjs#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/0155.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables and solar. - What it achieves (comment): It is built from the items from store helper (`itemsFromStore`) and the items from design helper (`itemsFromDesign`). Derive construction items from a design. - What it does: It calculates cables and solar. Defines itemsFromStore, itemsFromDesign. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar. - Downstream impact: Used directly by 1 file: Project UI (globalgrid2050). - Signatures: `export itemsFromStore(doc, opts = {})`; `export itemsFromDesign(design, opts = {})`; `roads(opts.roads || [])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Phases - File: globalgrid2050/solar-design-studio/202609270439-site-world/world/phases.mjs (JavaScript, 215 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270439-site-world/world/phases.mjs#L1-L215 - Page: https://code.globalgrid2050.com/explore-code/s/0156.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that compiles plan (`compilePlan`), validates plan (`validatePlan`) and creates timeline (`createTimeline`), covering cables. - What it achieves (comment): It compiles plan (`compilePlan`), validates plan (`validatePlan`) and creates timeline (`createTimeline`). Construction sequence over the design document. - What it does: It lists and searches cables. Defines 20 functions or classes, including rank, list, issue, readItems, skip. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 1 file: Project UI (globalgrid2050). - Signatures: `export compilePlan(items, phases = DEFAULT_PHASES)`; `export validatePlan(items, phases = DEFAULT_PHASES)`; `export createTimeline(items, phases = DEFAULT_PHASES)`; `rank(kind, state)`; `list(v)`; `issue(severity, code, message, extra = {})`; `readItems(items, issues)`; `skip(it, what)`; `wholeSteps(p, idx, issues)`; `expand(phases, byId, issues)`; `rules(op, it, byId, state, allRoads)`; `at(id)`; `kindOf(id)`; `reached(id, s)`; `need(id, s, code, why)`; `roadsFor(x)`; `clamp(s)`; `phaseAt(step)`; `stateAt(step)`; `label(step)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Raycast - File: globalgrid2050/solar-design-studio/202609270439-site-world/world/raycast.mjs (JavaScript, 326 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270439-site-world/world/raycast.mjs#L1-L326 - Page: https://code.globalgrid2050.com/explore-code/s/0156.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that builds pyramid (`buildPyramid`), calculates planar distances and renders with WebGL. It builds pyramid (`buildPyramid`) and creates raycaster (`createRaycaster`). - What it achieves (comment): Solid ground on the viewer's own GPU: a WebGL2 ray cast through the height field, drawn behind the lines. - What it does: It draws its content. Defines 14 functions or classes, including buildPyramid, basis, sunVector, createRaycaster, sh. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Substrate (globalgrid2050). Reached from 1 other entry point, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/). - Signatures: `export buildPyramid(h, n)`; `export basis(yaw, pitch)`; `export sunVector({ azimuth, elevation })`; `export createRaycaster(gl)`; `export gatherGrid(measuredAt, cx, cy, { nodes = DEFAULTS.nodes, spacing = DEFAULTS.spacing, sliceMs = DEFAULTS.sliceMs } = {}, done, la...)`; `export mountRaycast(w, opts = {})`; `sh(t, s)`; `tex()`; `upload(g, level = 0)`; `setup(p, mode)`; `render(p)`; `readData(p)`; `half(nodes - 1)`; `slice()`; `gather()`; `stale()`; `backdrop(gl, width, height)`; `set(v)`; `setTarget(t)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Tour - File: globalgrid2050/solar-design-studio/202609270439-site-world/world/tour.mjs (JavaScript, 291 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609270439-site-world/world/tour.mjs#L1-L291 - Page: https://code.globalgrid2050.com/explore-code/s/0157.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that creates recorder (`createRecorder`) and player (`createPlayer`), using SHA-256. It creates recorder (`createRecorder`) and creates player (`createPlayer`). - What it achieves (comment): Tours: record a walk or a drone flight, play it back smoothly, save it, and present it. - What it does: It calculates its inputs. Defines 24 functions or classes, including fileRefusal, mm, rad, ms, turn. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Project UI (globalgrid2050). - Signatures: `export fileRefusal(size)`; `export keyframe(t, origin, pose, { caption = '', hold = 0 } = {})`; `export createRecorder({ kind = 'walk', name = '', every = 0.25 } = {})`; `export makeTour({ kind = 'walk', name = '', keyframes })`; `export sha256(text)`; `export exportTour(tour)`; `export importTour(text)`; `export compile(tour)`; `export gridPoseAt(line, t)`; `export poseAt(line, t, origin)`; `export captionAt(line, t, { showFor = 6 } = {})`; `export createPlayer(tour, { gate, getOrigin, apply = () => {}, onCaption = () => {}, onEnd = () => {}, clock = () => performance.now(), s...)`; `export present(text, { captionEl, onCaption, onExit = () => {}, autoplay = true, ...opts } = {})`; `mm(x)`; `rad(x)`; `ms(x)`; `turn(from, to)`; `d(to - from)`; `push(k)`; `sample(t, origin, pose)`; `mark(caption, hold = 0)`; `stop()`; `pick(o, keys)`; `body(tour)`; `hermite(a, b, u, h, j)` (and 10 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Block MV - File: globalgrid2050/solar-design-studio/202609271552-site-world/world/block-mv.mjs (JavaScript, 137 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271552-site-world/world/block-mv.mjs#L1-L137 - Page: https://code.globalgrid2050.com/explore-code/s/0157.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with solar, transformers and cables, using IEC 60287 and IEC 60949. - What it achieves (comment): It is built from the MV chain helper (`mvChain`), the col x helper (`colX`) and the path step (`path`). Stations of the solar block chained on 33kV feeders to the MV board, the grid transformer(s) and the connection, laid out and sized from the load. Its code works with 33 kV and 400 kV. - What it does: It calculates solar, transformers and cables. Defines 12 functions or classes, including mvChain, colX, up, path, groupOf. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, transformers, cables, 400kV, 33kV. - Inputs & outputs: Voltage levels named: 400kV, 33kV. - Downstream impact: Used directly by 3 files: Cmd Trench (globalgrid2050); Block Build (globalgrid2050); Block UI (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export mvChain({ stations = 4, stationMVA = 9.856, pocKv = 400, topology = 'radial', layout = MV_LAYOUT, ...opts } = {})`; `fieldE(cols - 1)`; `colX(col)`; `up(s)`; `path(A, B)`; `groupOf(h)`; `size(mva, h)`; `drop()`; `dropWith(a)`; `side(hs, sts)`; `lineOf(key)`; `off(key, lane)`; `xy(key, v, lane)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 33kV] - Edges: uses 4 estate files (import 4); used by 3; mentioned by 0 ### Cmd Anim - File: globalgrid2050/solar-design-studio/202609271552-site-world/world/cmd-anim.mjs (JavaScript, 158 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271552-site-world/world/cmd-anim.mjs#L1-L158 - Page: https://code.globalgrid2050.com/explore-code/s/0157.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that draws on a canvas, covering cables. - What it achieves (comment): It creates anim (`createAnim`) and is built from the size step (`size`) and the frame step (`frame`). Short drawn explanations beside the typed bar. - What it does: It draws cables. Defines 10 functions or classes, including f2, createAnim, size, frame, label. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 1 file: Cmd UI (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export createAnim(canvas, { onFrame = () => {} } = {})`; `f2(v)`; `size()`; `frame(now)`; `play(kind, a, b)`; `stop()`; `label(ctx, s, x, y, color = C.text, align = 'left')`; `setup(ctx)`; `line(ctx, pts, color, w = 1.5, dash = [])`; `tiltOf(d)`; `tilt(ctx, W, H, a, b, t)`; `cx(x0 + x1)`; `rows(ctx, W, H, a, b, t)`; `trench(ctx, W, H, a, b, t)`; `X(m)`; `loop(ctx, W, H, a, b, t)`; `draw(poly, color, alpha, k)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Design Earthworks - File: globalgrid2050/solar-design-studio/202609271552-site-world/world/design-earthworks.mjs (JavaScript, 292 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271552-site-world/world/design-earthworks.mjs#L1-L292 - Page: https://code.globalgrid2050.com/explore-code/s/0158.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that converts to local pts (`toLocalPts`) and calculates planar distances (units: kV, mm²), covering cables, solar, transformers and LiDAR terrain. - What it achieves (comment): It creates earthworks (`createEarthworks`) and is built from the to local pts helper (`toLocalPts`) and the handles step (`handles`). Earthworks tools in the Design panel: access road, equipment pad, perimeter fence, pile row and drilled crossing, plus the drum schedule for the last cable and the bill of quantities for the whole design. - What it does: It draws cables, solar, transformers and LiDAR terrain. Defines 22 functions or classes, including createEarthworks, $, toLocalPts, handles, option. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, transformers, LiDAR terrain. - Downstream impact: Used directly by 1 file: Design UI (globalgrid2050). - Signatures: `export createEarthworks({ doc, origin, baseHeight, groundVersion, cables, catalogue, designItems, heightAt, extraItems = () => [], groundRow ...)`; `$(id)`; `toLocalPts(path)`; `handles(tool)`; `option(tool)`; `chosenCable()`; `crossingCable(id = chosenCable())`; `make(kind, opt, pts, ground, cableId)`; `ux(b[0] - a[0])`; `build()`; `of(kind, g)`; `groundFor(kind)`; `ground(base)`; `rowsOf(kind, d, draft, pts = [])`; `measure(kind, pts)`; `finish(kind, pts)`; `summary(kind, d)`; `batch(key, v, pos, color)`; `batches()`; `drumSchedule()`; `boqDoc()`; `billOfQuantities()`; `choose(tool)`; `replace(list = [])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 12 estate files (import 12); used by 1; mentioned by 0 ### Hdd - File: globalgrid2050/solar-design-studio/202609271552-site-world/world/hdd.mjs (JavaScript, 384 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271552-site-world/world/hdd.mjs#L1-L384 - Page: https://code.globalgrid2050.com/explore-code/s/0158.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, 33kV and 132kV, using BS 7870-4. - What it achieves (comment): It compares crossing (`compareCrossing`) and is built from the cable bend multiple helper (`cableBendMultiple`) and the duct for cable helper (`ductForCable`). A horizontal directional drill (HDD) crossing under a road, watercourse or hedge. Its code works with 33 kV and 132 kV. - What it does: It calculates cables, 33kV and 132kV. Defines 16 functions or classes, including cableBendMultiple, ductForCable, clamp, lineOf, side. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, 132kV. - Inputs & outputs: Voltage levels named: 132kV, 33kV. - Downstream impact: Used directly by 1 file: Design Earthworks (globalgrid2050). - Signatures: `export cableBendMultiple(voltageKv = 33, method = 'duct')`; `export ductForCable({ odMm, voltageKv = 33, cores = 3, circuits = 1 } = {})`; `export designBore(opts)`; `export cablePull(samples, cable = CABLE_ASSUMED)`; `export compareCrossing(opts)`; `clamp(v, a, b)`; `lineOf(from, to)`; `side(zg, zb, a, R)`; `tangent(drop - arcDrop)`; `aE(opts.entryAngleDeg ?? 12)`; `zAt(s)`; `pointAt(s)`; `inRange(a, [lo, hi])`; `pitOf(s, name)`; `noLayout(base, note)`; `rootOut(f, start, end, valid = () => true)`; `h(s)`; `run(pts)`; `allowable(PULL_STRESS[c.material] ?? PULL_STRESS.al)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [132kV, 33kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Labels - File: globalgrid2050/solar-design-studio/202609271552-site-world/world/labels.mjs (JavaScript, 60 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271552-site-world/world/labels.mjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0159.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with 33kV and cables. - What it achieves (comment): It is built from the circuits step (`circuits`), the voltage step (`voltage`) and the basis step (`basis`). Human words for what the page shows. Its code works with 33 kV, 1.5 kV and 132 kV. - What it does: It calculates 33kV and cables. Defines 9 functions or classes, including circuits, voltage, basis, sectionLabel, conductorLabel. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV, cables, 132kV, 1.5kV. - Inputs & outputs: Voltage levels named: 132kV, 33kV, 1.5kV. - Downstream impact: Used directly by 2 files: Design UI (globalgrid2050); First Showing (globalgrid2050). - Signatures: `export sectionLabel(s)`; `export conductorLabel(c)`; `export cableLabel(c)`; `export pressWord(coarse)`; `export distanceLabel(m)`; `export designHint(tool, view, n, press)`; `circuits(n)`; `voltage(s)`; `basis(s)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [132kV, 33kV, 1.5kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Layers UI - File: globalgrid2050/solar-design-studio/202609271552-site-world/world/layers-ui.mjs (JavaScript, 105 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271552-site-world/world/layers-ui.mjs#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/0159.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that reads overhead lines (OHL). It writes footer (`writeFooter`), fits footer (`fitFooter`) and shows range (`showRange`). - What it achieves (comment): Page wiring for the Layers panel. It responds to resize and close events. - What it does: It loads overhead lines (OHL). Defines 8 functions or classes, including panelLayers, footerFor, applyOn, mountLayersUi, writeFooter. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL). - Signatures: `export panelLayers(items)`; `export footerFor(items, on, attribution, year)`; `export applyOn(items, on)`; `export mountLayersUi({ items, host, footer, attribution, invalidate = () => {}, on = DEFAULT_ON, year, onChange = () => {} } = {})`; `writeFooter(ids)`; `fitFooter()`; `showRange(ids)`; `refresh()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 5 estate files (import 5); used by 0; mentioned by 0 ### Print Sheet - File: globalgrid2050/solar-design-studio/202609271552-site-world/world/print-sheet.mjs (JavaScript, 223 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271552-site-world/world/print-sheet.mjs#L1-L223 - Page: https://code.globalgrid2050.com/explore-code/s/0159.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that clips def (`clipDef`) and draws SVG graphics, covering solar, overhead lines (OHL) and cables, using Helmert. - What it achieves (comment): It builds sheet (`buildSheet`) and is built from the legend label helper (`legendLabel`) and the data date helper (`dataDate`). The whole print sheet as one SVG string: plan, current view, north arrow, scale bar, National Grid references, title block and the credit for exactly the loaded layers. - What it does: It draws solar, overhead lines (OHL) and cables. Defines 14 functions or classes, including legendLabel, dataDate, sheetDate, f, t. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, overhead lines (OHL), cables. - Inputs & outputs: Out: SVG drawing. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export legendLabel(id)`; `export dataDate(g)`; `export sheetDate(date)`; `export buildSheet(opts)`; `export legendOf(batches)`; `f(v)`; `t(x, y, s, size, extra = '')`; `rect(r, extra = '')`; `clipDef(id, r)`; `stroke(p, w)`; `tag(x, y, s, size = 2.1, extra = '')`; `dateYear(date)`; `viewerMark(x, y, yaw)`; `titleBlock(L, { name, dateText, frame, centreRef, eyeRef, generation, tn, legend: drawn })`; `colW(r.w - 5)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Project UI - File: globalgrid2050/solar-design-studio/202609271552-site-world/world/project-ui.mjs (JavaScript, 255 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271552-site-world/world/project-ui.mjs#L1-L255 - Page: https://code.globalgrid2050.com/explore-code/s/0159.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that draws sites and cables. It hides choice (`hideChoice`), sets tour (`setTour`) and refreshes phases (`refreshPhases`). - What it achieves (comment): Project tools, placed under the dash's essentials: the design file (Save, Open, Share, Print), Tour and Construction phases in the Design panel; Test sites in the Find panel. It responds to click, change and toggle events. - What it does: It draws sites and cables. Defines 19 functions or classes, including save, plain, mountProject, $, note. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: JSON file sites.json. - Signatures: `export mountProject(api, doc = document)`; `save(doc, name, text, type = 'application/json')`; `plain(o)`; `$(id)`; `note(msg)`; `pts(path)`; `toDoc()`; `fromDoc(d, { keep = true } = {})`; `path(it)`; `of(kind)`; `flyToDesign(d)`; `e(Math.min(...es) + Math.max(...es))`; `hideChoice()`; `shareTab()`; `offerChoice(shared, mine)`; `b(id, label, fn)`; `press(id, on, label)`; `setTour(t)`; `refreshPhases()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file sites.json]; out []; crs []; voltages [] - Edges: uses 7 estate files (import 7); used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Calc - File: globalgrid2050/solar-design-studio/202609271552-site-world/world/sld-calc.mjs (JavaScript, 136 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271552-site-world/world/sld-calc.mjs#L1-L136 - Page: https://code.globalgrid2050.com/explore-code/s/0160.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with transformers, using IEC 60909. It sets taps (`setTaps`) and checks graph (`checkGraph`). - What it achieves (comment): The tree: BFS from GRID over closed branches. - What it does: It calculates transformers. Defines 7 functions or classes, including treeOf, solve, iBaseKA, readouts, setTaps. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers. - Downstream impact: Used directly by 4 files: Single-Line Diagram (SLD) Graph (globalgrid2050); Hud Drops (globalgrid2050); Single-Line Diagram (SLD) Follow (globalgrid2050); Single-Line Diagram (SLD) Mount (globalgrid2050). - Signatures: `export treeOf(g)`; `export solve(g, { tol = 1e-12, maxIter = 100 } = {})`; `export readouts(g, sol)`; `export setTaps(g)`; `export tracePath(g, sol, id)`; `export checkGraph(g)`; `iBaseKA(sb, kv)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Single-Line Diagram (SLD) Connect - File: globalgrid2050/solar-design-studio/202609271552-site-world/world/sld-connect.mjs (JavaScript, 55 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271552-site-world/world/sld-connect.mjs#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/0160.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, substations, overhead lines (OHL) and 132kV. - What it achieves (comment): It is built from the nearest step (`nearest`), the kV for MW helper (`kvForMW`) and the choose connection helper (`chooseConnection`). Which grid connection a plant gets, from its size and what is near it. Its code works with 132 kV, 400 kV and 275 kV. - What it does: It calculates cables, substations, overhead lines (OHL) and 132kV. Defines nearest, km, kvForMW, chooseConnection. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, substations, overhead lines (OHL), 132kV, 400kV, 275kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 33kV. - Downstream impact: Used directly by 3 files: Cmd Trench (globalgrid2050); Block UI (globalgrid2050); Single-Line Diagram (SLD) Mount (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export kvForMW(mw, { minKv = 0, rules = {} } = {})`; `export chooseConnection({ mw, at, subs = [], towers = [], kv: fixed = null, minKv = 0, rules = {} })`; `nearest(list, at, ok)`; `km(m)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 33kV] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Single-Line Diagram (SLD) Graph - File: globalgrid2050/solar-design-studio/202609271552-site-world/world/sld-graph.mjs (JavaScript, 128 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271552-site-world/world/sld-graph.mjs#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/0160.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with transformers, cables, overhead lines (OHL) and 33kV. - What it achieves (comment): It builds graph (`buildGraph`) and is built from the node step (`node`) and the branch step (`branch`). The network graph behind the single-line diagram, the 3D symbols, the readouts and Follow. Its code works with 33 kV, 0.8 kV and 100 MVA. - What it does: It calculates transformers, cables, overhead lines (OHL) and 33kV. Defines 11 functions or classes, including zb, buildGraph, node, branch, bus. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, cables, overhead lines (OHL), 33kV, 0.8kV. - Inputs & outputs: Voltage levels named: 33kV, 0.8kV. - Downstream impact: Used directly by 2 files: Hud Drops (globalgrid2050); Single-Line Diagram (SLD) Mount (globalgrid2050). - Signatures: `export buildGraph(src, opts = {})`; `export graphJson(g)`; `zb(kv, sb)`; `node(id, kind, kv, label, extra = {})`; `branch(id, from, to, kind, kv, z, extra = {})`; `bus()`; `cablePu(area, L, kv, g = 1)`; `txPu(pct, xr, mva)`; `rmuOf(id)`; `kvLvOf(p)`; `round(x)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV, 0.8kV] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Single-Line Diagram (SLD) Plant - File: globalgrid2050/solar-design-studio/202609271552-site-world/world/sld-plant.mjs (JavaScript, 128 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271552-site-world/world/sld-plant.mjs#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/0160.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with transformers, solar and cables, using IEC 60909. - What it achieves (comment): It sizes chain (`sizeChain`) and is built from the spread step (`spread`) and the station split helper (`stationSplit`). A whole solar plant as a single-line network, from generic rules, for the diagram and the load flow. Its code works with 20 kA, 400 kV and 400 kVA. - What it does: It calculates transformers, solar and cables. Defines 8 functions or classes, including up, spread, stationSplit, sldPlant, check. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, solar, cables, 400kV. - Inputs & outputs: Voltage levels named: 400kV. - Signatures: `export stationSplit(inverters, perMax)`; `export sldPlant(opts = {})`; `up(steps, v)`; `spread(total, parts)`; `check(name, value, max, min = -Infinity)`; `sizeChain({ id, section, chain, head, group, p, opt, minArea })`; `tech(sizeFor(loadMVA / p.maxUtilisation, { ...opt, minArea, groupFactor: g }) || { area: SIZES.at(-1) })`; `side(hs)`; `drop()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Source - File: globalgrid2050/solar-design-studio/202609271552-site-world/world/sld-source.mjs (JavaScript, 91 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271552-site-world/world/sld-source.mjs#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/0160.html#f5 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with transformers, cables, solar and 33kV. - What it achieves (comment): It is built from the poly len helper (`polyLen`), the HV of helper (`hvOf`) and the source from block helper (`sourceFromBlock`). The plant in the world as a network source for `sld-graph.mjs`, with national-grid positions. Its code works with 33 kV, 400 kV and 5 MVA. - What it does: It calculates transformers, cables, solar and 33kV. Defines 6 functions or classes, including polyLen, hvOf, sourceFromBlock, sourceFromLayout, hops. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, cables, solar, 33kV, 400kV. - Inputs & outputs: Voltage levels named: 400kV, 33kV. - Downstream impact: Used directly by 2 files: Hud Drops (globalgrid2050); Single-Line Diagram (SLD) Mount (globalgrid2050). - Signatures: `export sourceFromBlock(built, anchor, conn = null)`; `export sourceFromLayout(r, conn = null, { acSpacingM = 25 } = {})`; `polyLen(pts)`; `hvOf(conn, kvDefault, plantAt, assumedM = 1500)`; `hops(e ? e.hops : f.segments.map((sg, k) => ({ from: k ? f.chain[k - 1].id : f.board, to: f.chain[k].id, areaMm2: sg.area,...)`; `txOf(b)`; `grid(gts.length ? gts : [{ id: 'GT1', rating: { mva: Math.max(20, tpl.params.targetMW * 1.1) } }])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 33kV] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Block Build - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/block-build.mjs (JavaScript, 253 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/block-build.mjs#L1-L253 - Page: https://code.globalgrid2050.com/explore-code/s/0161.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, transformers, overhead lines (OHL) and solar. - What it achieves (comment): It builds block (`buildBlock`) and is built from the group step (`group`) and the put step (`put`). The owner's 10MVA solar block (`station.mjs`, ported from his explorer) placed on the measured ground, with the 33kV rings to the grid (`block-mv.mjs`), as line groups ordered for the build sequence. Its code works with 10 MVA, 33 kV and 5 MVA. - What it does: It calculates cables, transformers, overhead lines (OHL) and solar. Defines 25 functions or classes, including group, put, seg, poly, mark. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, transformers, overhead lines (OHL), solar, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Block UI (globalgrid2050). - Signatures: `export padEarthworks(g, e0, n0, e1, n1, level = null)`; `export buildBlock({ anchor, ground, fallback = () => NaN, stations = 4, pocKv = 400, towers = [], gpuPads = [], topology = 'radial', co...)`; `export overheadClearance([E, N], stations, towers)`; `export blockCounts(b)`; `group()`; `put(G, p)`; `seg(G, a, b)`; `poly(G, pts)`; `mark(G)`; `box(G, [x, y, z], w, d, h)`; `median(a)`; `pileTotals(P)`; `g(e, n)`; `zLocal(x)`; `baseOf(n, y)`; `onTable(n, x, y)`; `gq(e, n)`; `at(x, y, z)`; `edge(off, dz)`; `padOf(S)`; `buried(a, b)`; `lift(pts, table, inv, endZ)`; `odMv(a)`; `inside(poly, x, y)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 7 estate files (import 7); used by 1; mentioned by 0 ### Block GPU - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/block-gpu.mjs (JavaScript, 111 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/block-gpu.mjs#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/0161.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that fetches cables and solar, using SHA-256. It loads prototype (`loadPrototype`), parses prototype (`parsePrototype`) and builds feed (`buildFeed`). - What it achieves (comment): Design > Solar block > GPU-checked placement. - What it does: It fetches cables and solar. Defines 13 functions or classes, including hex, sha256, loadPrototype, parsePrototype, flat. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar. - Inputs & outputs: In: JSON file index.json. - Downstream impact: Used directly by 1 file: Block UI (globalgrid2050). - Signatures: `export loadPrototype(site, { get = (u, o) => fetch(u, o), base = './world/sites/', digest = sha256 } = {})`; `export parsePrototype(layout, sequence, receipt = null)`; `export buildFeed(p, ground)`; `export countAt(G, h)`; `export feedStage(p, h)`; `hex(buf)`; `sha256(bytes)`; `tables(layout.tables || [])`; `flat(g)`; `z(q, lift)`; `add(key, t1)`; `seg(G, a, b)`; `line(G, pts, lift)`; `post(G, q, h)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Block UI - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/block-ui.mjs (JavaScript, 363 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/block-ui.mjs#L1-L363 - Page: https://code.globalgrid2050.com/explore-code/s/0162.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that draws GPU compounds, cables, 33kV and overhead lines (OHL). It creates block (`createBlock`), places gpu (`placeGpu`) and shows export (`showExport`). - What it achieves (comment): Design > Solar block. Places the owner's 10MVA station block (`block-build.mjs`) on the measured ground in front of the viewer, chains the stations on 33kV rings to the grid, and plays the build sequence (`block-sequence.mjs`). Its code works with 33 kV, 10 MVA and 132 kV. It reads `./world/data/modules.json`. It responds to change and click events. - What it does: It draws GPU compounds, cables, 33kV and overhead lines (OHL). Defines 45 functions or classes, including n0, createBlock, $, say, local. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, overhead lines (OHL), 132kV. - Inputs & outputs: In: JSON file modules.json; JSON file gpu-compounds.json. Voltage levels named: 132kV, 33kV. - Downstream impact: Used directly by 1 file: Design Sections (globalgrid2050). - Signatures: `export createBlock({ doc, origin, viewer, measuredAt, heightAt, towers = () => [], redraw, animate = () => {} })`; `n0(x)`; `$(id)`; `say(msg, warn = false)`; `local(e, n)`; `catalogue()`; `formMps()`; `formTmin()`; `design(params = state.params)`; `gpuPads()`; `m(await ground.start())`; `offerStaged()`; `staged(await ground.start().catch(() => null))`; `has(dir)`; `place(params = {})`; `measured(e, n)`; `fallback(e, n)`; `placeGpu()`; `site(await ground.start())`; `showExport(on = !state.exp)`; `exportBatches()`; `gpuCounts()`; `gpuHour()`; `gpuBatches()`; `showGpu({ p, feed })` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file modules.json; JSON file gpu-compounds.json]; out []; crs []; voltages [132kV, 33kV] - Edges: uses 13 estate files (import 9, dynamic-import 4); used by 1; mentioned by 0 ### Boq - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/boq.mjs (JavaScript, 391 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/boq.mjs#L1-L391 - Page: https://code.globalgrid2050.com/explore-code/s/0163.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that converts to CSV (`toCsv`) and calculates planar distances, covering cables, overhead lines (OHL) and solar, using IEC 60287. - What it achieves (comment): It is built from the num step (`num`), the fmt step (`fmt`) and the plan length helper (`planLength`). A bill of quantities from a design document. Its code works with 33 kV. - What it does: It lists and searches cables, overhead lines (OHL) and solar. Defines 23 functions or classes, including num, fmt, planLength, bendCount, lengthOf. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'boq'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, overhead lines (OHL), solar, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Design Earthworks (globalgrid2050). - Signatures: `export buildBoq(doc, { sections = null, cables = null, rates = null, currency = null } = {})`; `export toCsv(boq)`; `num(v)`; `fmt(x, dp = 2)`; `planLength(path)`; `bendCount(path)`; `cr(b[0] - a[0])`; `dot(b[0] - a[0])`; `lengthOf(item)`; `weakest(...s)`; `armouredOf(id)`; `cableRows(item, ctx, add, skip)`; `trenchRows(item, ctx, add, skip)`; `sec(ctx.sections?.sections || [])`; `roadRows(item, ctx, add, skip)`; `padRows(item, ctx, add, skip)`; `fenceRows(item, ctx, add, skip)`; `hddRows(item, ctx, add, skip)`; `pileRows(item, ctx, add, skip)`; `ohlRows(item, ctx, add)`; `n(k)`; `trenchPlanRows(item, ctx, add)`; `rateOf(rates, code, unit)`; `skip(item, reason)`; `add(row, item)` (and 1 more) - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Buffers UI - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/buffers-ui.mjs (JavaScript, 61 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/buffers-ui.mjs#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/0163.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that fetches cables, using SHA-256. - What it achieves (comment): It loads world files (`loadWorldFiles`) and is built from the world from helper (`worldFrom`) and the drawn items helper (`drawnItems`). Page wiring for the Buffers layer. - What it does: It fetches cables. Defines 8 functions or classes, including worldFrom, drawnItems, local, loadWorldFiles, cfg. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Signatures: `export worldFrom({ grid, rivers, roads, hedges } = {})`; `export drawnItems(design, origin)`; `export loadWorldFiles(manifestUrl, api = null)`; `export mountBuffers({ layer, origin, design, designVersion = null, load = () => loadWorldFiles('./world/manifest.json') } = {})`; `local(path)`; `cfg(id)`; `get(c)`; `refresh(on)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Cmd Derive - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/cmd-derive.mjs (JavaScript, 99 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/cmd-derive.mjs#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0163.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables and 33kV. - What it achieves (comment): It is built from the noon sun helper (`noonSun`), the row shade helper (`rowShade`) and the formation of helper (`formationOf`). The quantities a typed command changes, worked out from its inputs. Its code works with 33 kV. - What it does: It calculates cables and 33kV. Defines 12 functions or classes, including noonSun, rowShade, formationOf, cableFor, bendOf. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 2 files: Cmd Model (globalgrid2050); Cmd Run (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export noonSun(latDeg)`; `export rowShade({ rise, depth, pitch, elevDeg })`; `export formationOf(formation, od)`; `export cableFor(catalogue, size, metal = 'al')`; `export bendOf(catalogue, cable)`; `export trenchOf({ depth, width, formation, od })`; `export shoelace(pts)`; `export stringLoops({ mps, moduleShortM = 1.134, moduleLongM = 2.384, moduleGapM = 0.02 }, a = LOOP_ASSUMED)`; `export coldVoc({ voc, coeff = -0.0025, minC = -10 }, n)`; `export soilEffect(here)`; `rules(catalogue?.rules || [])`; `m(when)`; `cap(s)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Cmd Grammar Earth - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/cmd-grammar-earth.mjs (JavaScript, 60 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/cmd-grammar-earth.mjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0163.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 covering cables. - What it achieves (comment): It parses earth (`parseEarth`) and is built from the is num helper (`isNum`) and the is thermal soil helper (`isThermalSoil`). The earthing words of the command line (earthing, earth, soil rho, bonding), split out of `cmd-grammar.mjs` to keep each cartridge under 400 lines. - What it does: It lists and searches cables. Defines isNum, isThermalSoil, parseEarth, has, chk. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 1 file: Cmd Grammar (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export isThermalSoil(rest)`; `export parseEarth(v, rest, bad, eg)`; `isNum(t)`; `has(w)`; `chk(k, x)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Earth Draw - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/earth-draw.mjs (JavaScript, 97 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/earth-draw.mjs#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/0164.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with transformers, substations and cables. - What it achieves (comment): It is built from the group step (`group`), the put step (`put`) and the seg step (`seg`). The earthing layer in 3D, as line groups in national-grid metres (the same form as `sld-symbols.mjs`). Its code works with 33 kV. - What it does: It calculates transformers, substations and cables. Defines 14 functions or classes, including group, put, seg, dashed, at. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, substations, cables, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Earth Mount (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export earthGroups(s, { block, groundAt = () => 0, inverters = [] } = {})`; `group()`; `put(G, p)`; `seg(G, a, b)`; `dashed(G, a, b, [on, off] = DASH)`; `at(t)`; `buried(G, [e0, n0], [e1, n1], depth, groundAt, step = 6)`; `rectLoop(G, [e0, n0, e1, n1], draw)`; `rod(G, [e, n, z], L)`; `drop(G, [e, n], zTop, zBot)`; `ringMark(G, [e, n, z], r = 0.8)`; `boxMark(G, [e, n, z], s = 0.6)`; `lay(Gx, a, b)`; `flatC(a, b)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Earth Grid - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/earth-grid.mjs (JavaScript, 393 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/earth-grid.mjs#L1-L393 - Page: https://code.globalgrid2050.com/explore-code/s/0164.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that solves mo (`solveMoM`), checks rows (`checkRows`) and calculates planar distances, covering substations, using IEC 61936-1 and IEC 60949. - What it achieves (comment): It solves mo (`solveMoM`) and checks rows (`checkRows`). Station and substation earth grids (world cartridge, loaded by `earth-mount.mjs` on the first earthing command). - What it does: It lists and searches substations. Defines 31 functions or classes, including soilFromGround, pick, mk, wennerRho, discPairPdf. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations. - Downstream impact: Used directly by 1 file: Earth Study (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export soilFromGround(here)`; `export wennerRho(aM, ohms)`; `export csSeries(rho, rhoS, hS, b = 0.08)`; `export csApprox(rho, rhoS, hS)`; `export tolerable({ rhoSurf, Cs = 1, ts, bodyKg = 50, curve = null })`; `export decrement(tf, xOverR = 10, f = 50)`; `export kAdiabatic(metal = 'Cu', thetaI = 30, thetaF = 250)`; `export conductorSize({ I, t, metal = 'Cu', thetaI = 30, thetaF = 250, minMm2 = 50 })`; `export gridGeometry(g)`; `export rgSverak(rho, geo)`; `export meshFactors(geo)`; `export segments(geo, segM = null)`; `export solveMoM(rho, segs)`; `export surfaceV(rho, segs, I, x, y)`; `export numericTouchStep(rho, geo, segs, I, { step = 0.5, margin = 3 } = {})`; `export studyEarthGrid(input)`; `export fenceCheck(rho, geo, segs, I, GPR, { offsetM = 1, bonded = true, stepM = 1 } = {}, lim)`; `export designGrid(base, { spacings = [20, 15, 12, 10, 8, 7, 6, 5, 4, 3], rodCounts = [0, 4, 8, 16, 24] } = {})`; `export checkRows(s)`; `pick(u)`; `mk(s, from)`; `discPairPdf(s)`; `discPairMean(f, n = 400)`; `K(rho - rhoS)`; `touch(1000 + 1.5 * Cs * rhoSurf)` (and 12 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Earth Mount - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/earth-mount.mjs (JavaScript, 132 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/earth-mount.mjs#L1-L132 - Page: https://code.globalgrid2050.com/explore-code/s/0164.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 covering substations, solar and cables. - What it achieves (comment): It is built from the mount earth helper (`mountEarth`), the ground at helper (`groundAt`) and the study step (`study`). The earthing cartridge. Loaded the first time an earthing command is typed (`cmd-run.mjs`), never on the first frame. It responds to click events. - What it does: It draws substations, solar and cables. Defines 10 functions or classes, including mountEarth, groundAt, study, run, render. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, solar, cables. - Downstream impact: Used directly by 1 file: Cmd Run (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export mountEarth({ api, world, doc = document })`; `groundAt(e, n)`; `study()`; `run()`; `render(which = null)`; `o3(base)`; `batches()`; `inv(b?.built?.station?.inverters || [])`; `command({ what, on = true, value = null, value2 = null })`; `echo(what, t)`; `rowsFor(nodeId)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 5 estate files (import 5); used by 1; mentioned by 0 ### Elec Style - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/elec-style.mjs (JavaScript, 34 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/elec-style.mjs#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/0164.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with solar. It is built from the rgba step (`rgba`) and the elec CSS helper (`elecCss`). - What it achieves (comment): One table for what an electrical line looks like, by voltage level (e4 UI spec, section 3). Its code works with 1.5 kV, 33 kV and 400 kV. - What it does: It calculates solar. Defines rgba, elecCss. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, 400kV, 33kV, 1.5kV. - Inputs & outputs: Voltage levels named: 400kV, 33kV, 1.5kV. - Downstream impact: Used directly by 6 files: Block GPU (globalgrid2050); Block UI (globalgrid2050); Legend UI (globalgrid2050); Single-Line Diagram (SLD) Symbols (globalgrid2050); and 2 more. Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export rgba(key, a = 1)`; `export elecCss(scope)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 33kV, 1.5kV] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### Fault Level - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/fault-level.mjs (JavaScript, 12 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/fault-level.mjs#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0164.html#f5 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with solar and transformers. It is built from the transformer fault ka helper (`transformerFaultKA`). - What it achieves (comment): Prospective fault current at a solar block's LV board, by the impedance method. Its code works with 5 MVA. - What it does: It calculates solar and transformers. Defines transformerFaultKA. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, transformers. - Downstream impact: Used directly by 2 files: Cmd Trench (globalgrid2050); LV DC Sizing (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export transformerFaultKA(o = {})` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Hud Drops - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/hud-drops.mjs (JavaScript, 40 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/hud-drops.mjs#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/0165.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables and solar. - What it achieves (comment): It is built from the len step (`len`), the dc drop helper (`dcDrop`) and the ac drop helper (`acDrop`). The voltage drops the check HUD shows for the placed solar block, worked out the way Follow works them (`sld-follow.mjs`), so the HUD and Follow give one answer: DC each connected string. - What it does: It calculates cables and solar. Defines len, dcDrop, acDrop, blockDrops. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar. - Downstream impact: Used directly by 1 file: Hud UI (globalgrid2050). - Signatures: `export dcDrop(built, d = SLD_DEFAULTS)`; `export acDrop(built, anchor)`; `export blockDrops(built, anchor)`; `len(pts)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### Ground Grid - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/layers/ground-grid.mjs (JavaScript, 158 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/layers/ground-grid.mjs#L1-L158 - Page: https://code.globalgrid2050.com/explore-code/s/0165.html#f2 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that works with height store (`heightStore`). - What it achieves (comment): It is built from the later step (`later`), the grid step (`grid`) and the wrap step (`wrap`). A 1 m grid near the viewer and a 10 m grid to the horizon, draped on whatever ground the world has (flat until a terrain layer supplies `heightAt`). - What it does: Defines 6 functions or classes, including later, grid, wrap, slotOf, heightStore. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `export grid(cx, cy, { spacing, radius }, heightAt, { origin = [0, 0, 0], near = null, sample = null, known = null } = {})`; `init(a)`; `lines({ pos, heightAt, known = null, groundVersion = 0 })`; `later(s)`; `wrap(v, m)`; `slotOf(x, y)`; `heightStore(heightAt, groundVersion, cx, cy, before, known = null)`; `sample(x, y, guess = 0)`; `knownAt(x, y)`; `begin(x, y)`; `widen()`; `finite(h)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Legend UI - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/legend-ui.mjs (JavaScript, 95 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/legend-ui.mjs#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/0165.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with legend rows (`legendRows`) (units: kV), covering solar and cables. - What it achieves (comment): It is built from the same step (`same`), the RGB of helper (`rgbOf`) and the words step (`words`). The compact key. One small "Key" fold at the bottom left; opened, it lists what the last frame drew, one row per colour: a swatch (dashed for earth) and plain words. It responds to toggle events. - What it does: It draws solar and cables. Defines 8 functions or classes, including same, rgbOf, words, labelFor, legendRows. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, cables. - Downstream impact: Used directly by 1 file: Substrate (globalgrid2050). Reached from 1 other entry point, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/). - Signatures: `export labelFor(b)`; `export legendRows(batches)`; `export mountLegend({ api, doc = document })`; `same(a, b)`; `rgbOf(hex)`; `words(s)`; `css(c)`; `draw()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Measure Format - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/measure-format.mjs (JavaScript, 112 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/measure-format.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0165.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables. It formats number (`formatNumber`), formats length (`formatLength`) and formats area (`formatArea`). - What it achieves (comment): Plain British English lines from the numbers `measure.mjs` returns. - What it does: It calculates cables. Defines 16 functions or classes, including formatNumber, formatLength, formatArea, formatVolume, formatGradient. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 11 files: Design Earthworks (globalgrid2050); Block UI (globalgrid2050); Single-Line Diagram (SLD) Follow (globalgrid2050); Single-Line Diagram (SLD) Mount (globalgrid2050); and 7 more. Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export formatNumber(x, dp = 1)`; `export formatLength(m, dp = 1)`; `export formatArea(m2, dp = 1)`; `export formatVolume(m3, dp = 1)`; `export formatGradient(g, dp = 1)`; `export formatTrenchLine(ts, cs = null)`; `export formatCableLine(cs)`; `export formatPlatformLine(cf)`; `export formatProfileLine(p)`; `export fmtSig(x, sf = 3)`; `export fmtQ(v, unit = '', sf = 3)`; `export fmtPct(p)`; `export fmtLen(m)`; `export fmtVolt(v)`; `plural(n, one, many)`; `belowPhrase(cs)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 11; mentioned by 0 ### Module Mount - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/module-mount.mjs (JavaScript, 188 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/module-mount.mjs#L1-L188 - Page: https://code.globalgrid2050.com/explore-code/s/0165.html#f5 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that mounts modules (`mountModules`), finds pick (`findPick`) and calculates planar distances (units: °C), covering solar and cables. - What it achieves (comment): It finds pick (`findPick`) and is built from the mount modules helper (`mountModules`) and the src step (`src`). Module detail on zoom, wired into the world. It reads `./world/data/modules.json`. It responds to change events. - What it does: It draws solar and cables. Defines 22 functions or classes, including n1, mountModules, src, redraw, load. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, cables. - Inputs & outputs: In: JSON file modules.json. - Downstream impact: Used directly by 1 file: Substrate (globalgrid2050). Reached from 1 other entry point, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/). - Signatures: `export mountModules(api, sources, doc = document)`; `n1(v)`; `src()`; `redraw()`; `load()`; `refresh()`; `eyeDir()`; `batches()`; `K_cost()`; `builtMps(face)`; `mpsFor(face)`; `draw(picks, now, o)`; `inspect(id = null)`; `findPick(id)`; `tap(x, y)`; `laid(c)`; `counts()`; `asBuilt(list, c)`; `use(id)`; `panel()`; `show(r = null)`; `debug()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file modules.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (dynamic-import 3, import 1); used by 1; mentioned by 0 ### Overhead Line (OHL) UI - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/ohl-ui.mjs (JavaScript, 145 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/ohl-ui.mjs#L1-L145 - Page: https://code.globalgrid2050.com/explore-code/s/0166.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that creates OHL layer (`createOhlLayer`), mounts OHL control (`mountOhlControl`) and calculates planar distances, covering overhead lines (OHL). - What it achieves (comment): It creates OHL layer (`createOhlLayer`) and attaches OHL (`attachOhl`). Overhead line safety zones on the page: a layer that draws the zones on the ground from the grid layer's conductors, the design checks (`ohl-zones.mjs`), a short readout with the working height input, and the bill rows. It responds to change events. - What it does: It draws overhead lines (OHL). Defines 14 functions or classes, including readout, n, boqItems, get, goalpostLines. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL). - Inputs & outputs: In: form fields (user input). - Signatures: `export readout(spans, result, height)`; `export boqItems(result)`; `export goalpostLines(x, y, dx, dy, heightAt, o)`; `export createOhlLayer({ grid, gridShown = () => true, design, designVersion = null, origin, measuredAt, invalidate = () => {} })`; `export mountOhlControl(host, layer)`; `export attachOhl(items, deps)`; `n(f)`; `get(id)`; `g(a, b)`; `P(a, b, up)`; `setEnabled(on)`; `setHeight(h)`; `refresh(groundVersion = 0)`; `lines(ctx)`; `update()`; `gridItem()`; `onChange(ids, panel)`; `mount(host, panel)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Piles - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/piles.mjs (JavaScript, 276 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/piles.mjs#L1-L276 - Page: https://code.globalgrid2050.com/explore-code/s/0166.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with solar. - What it achieves (comment): It fits top line (`fitTopLine`) and is built from the pile stations helper (`pileStations`) and the spread at helper (`spreadAt`). Where the piles of a row of solar tables go, how far each stands out of the ground, how deep it goes in, and what grading a row needs where the ground is too uneven for a straight table. - What it does: It calculates solar. Defines 9 functions or classes, including pileStations, spreadAt, fitTopLine, clip, slopeAt. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 3 files: Design Earthworks (globalgrid2050); Block Build (globalgrid2050); Plant Piles (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export pileStations(len, tableLength, pileSpacing, tableGap = 0)`; `export fitTopLine(s, g, reveal, maxSlope = Infinity)`; `export planPiles(opts)`; `export followTopLine(s, g, nominal, bayMax, passes = 400)`; `export revealPercentiles(piles)`; `FIXED_RISE(2 * 2.384 + 0.02)`; `off(len - used)`; `over(tableLength - (np - 1) * pileSpacing)`; `spreadAt(s, g, b)`; `clip(b)`; `slopeAt(groundAt, x, y, h)`; `gx(groundAt(x + h, y) - groundAt(x - h, y))`; `gy(groundAt(x, y + h) - groundAt(x, y - h))`; `ux(x1 - x0)`; `topOf(k)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Plant Feeders - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/plant-feeders.mjs (JavaScript, 140 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/plant-feeders.mjs#L1-L140 - Page: https://code.globalgrid2050.com/explore-code/s/0166.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, 33kV and A roads, using IEC 60287. - What it achieves (comment): It routes feeders (`routeFeeders`) and is built from the to spine helper (`toSpine`) and the road path helper (`roadPath`). The 33kV feeders of a laid-out plant, routed along its roads, with their trenches and cables. Its code works with 33 kV. - What it does: It calculates cables, 33kV and A roads. Defines 11 functions or classes, including toSpine, roadPath, side, coverage, trenchFor. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, A roads. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 4 files: Block MV (globalgrid2050); Cmd Model (globalgrid2050); Plant Layout (globalgrid2050); Plant UI (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export roadPath(A, B, net)`; `export coverage(intervals)`; `export trenchFor(c, L, into)`; `export routeFeeders(tpl, net, p)`; `export trenchRows(e, fmt = v => v.toFixed(2))`; `toSpine(pt, net)`; `side(pt)`; `onRoad(s)`; `add(key, a, b)`; `dropOf(hops)`; `k(m)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 2 estate files (import 2); used by 4; mentioned by 0 ### Search UI - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/search-ui.mjs (JavaScript, 351 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/search-ui.mjs#L1-L351 - Page: https://code.globalgrid2050.com/explore-code/s/0167.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that formats capacity and technology and converts to rows, covering postcodes, the Renewable Energy Planning Database (REPD) register, wind and solar. - What it achieves (comment): It formats capacity (`formatCapacity`), formats technology (`formatTechnology`) and merges rows (`mergeRows`). Search panel: "Find a place". A small box over the world that finds a town or village (OS Open Names through postcodes.io, see `places.mjs`), a REPD project, a UK postcode (postcodes.io, see `postcodes.mjs`) or a typed "lat, lon". Its code works with 1.2 GW, 49.9 MW and 650 kW. It responds to pointerdown, click and input events. - What it does: It draws postcodes, the REPD register, wind and solar. Defines 30 functions or classes, including creditsFor, formatCapacity, trim, formatTechnology, gridRefQuery. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: postcodes, the REPD register, wind, solar. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Find Mount (globalgrid2050). - Signatures: `export creditsFor(attribution, layers = ['search', 'postcodes', 'names'], year = new Date().getUTCFullYear())`; `export formatCapacity(mw)`; `export formatTechnology(t)`; `export gridRefQuery(text)`; `export toRows(result)`; `export summaryText(result, shown)`; `export moveSelection(index, count, key)`; `export rowForEnter(rows, index)`; `export debounce(fn, ms, clock = { set: (f, t) => setTimeout(f, t), clear: id => clearTimeout(id) })`; `export arrivalNote(choice, hasTerrain, live = false)`; `export mergeRows(postcodeRows, projectRows, placeRows = [])`; `export statusLine({ postcodes = undefined, places = undefined, projects = null, projectRows = 0 } = {})`; `export sourcesShown(rows)`; `export runQuery(index, text, limit = 12)`; `export createSearchPanel(container, { loadIndex, onChoose, attribution = null, hasTerrain = null, liveTerrain = false, postcodes = createPostc...)`; `trim(v)`; `d(...args)`; `el(tag, props = {}, attrs = {})`; `showCredits(ids)`; `ensureIndex()`; `highlight(i)`; `choose(row)`; `render(text)`; `paint()`; `settle()` (and 5 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### Single-Line Diagram (SLD) Follow - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/sld-follow.mjs (JavaScript, 139 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/sld-follow.mjs#L1-L139 - Page: https://code.globalgrid2050.com/explore-code/s/0167.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, transformers, solar and overhead lines (OHL). It parses panel (`parsePanel`) and picks panel (`pickPanel`). - What it achieves (comment): Follow, from one solar module to the landing bay, as a list of stops along one continuous path. - What it does: It calculates cables, transformers, solar and overhead lines (OHL). Defines 16 functions or classes, including len, panelId, parsePanel, pickPanel, followPath. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, transformers, solar, overhead lines (OHL). - Downstream impact: Used directly by 1 file: Single-Line Diagram (SLD) Mount (globalgrid2050). - Signatures: `export panelId(p)`; `export parsePanel(id)`; `export pickPanel(built, anchor, [e, n], reachM = 6)`; `export followPath({ built, anchor, graph, sol, ro, panel, groundAt = () => 0 })`; `export dropSoFar(f, i)`; `len(pts)`; `move(q)`; `local(q)`; `gnd(q, h = 0.5)`; `stop(key, title, at, view, leg, rows, dropPct = 0, lengthM = 0, txPct = 0)`; `nodeAt(id)`; `fault(id)`; `isTx(b)`; `cur(x)`; `view(b?.lengthM || 0)`; `orient(pts, from)`; `d(q)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Single-Line Diagram (SLD) Hook - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/sld-hook.mjs (JavaScript, 28 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/sld-hook.mjs#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0167.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with solar. - What it achieves (comment): It is built from the SLD hook helper (`sldHook`), the load step (`load`) and the call step (`call`). The thin, typed hook for the single-line diagram: world.sld.show, world.sld.station(id), Nothing heavy loads until the first call, the first press of Single-line diagram or Follow (Design > Plant). It responds to click, pointerdown and pointerup events. - What it does: It calculates solar. Defines sldHook, load, call. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Signatures: `export sldHook({ api, design, doc = document })`; `load()`; `call(name)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (dynamic-import 1); used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Mount - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/sld-mount.mjs (JavaScript, 200 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/sld-mount.mjs#L1-L200 - Page: https://code.globalgrid2050.com/explore-code/s/0168.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with so far (`soFar`) and calculates planar distances (units: kV, MW, MVA), covering solar, substations, transformers and cables. - What it achieves (comment): It is built from the mount SLD helper (`mountSld`), the ground at helper (`groundAt`) and the connection for helper (`connectionFor`). The single-line diagram in the world. Its code works with 40 kA and 400 kV. It responds to click events. - What it does: It draws solar, substations, transformers and cables. Defines 21 functions or classes, including mountSld, $, groundAt, connectionFor, network. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, substations, transformers, cables, 400kV. - Inputs & outputs: Voltage levels named: 400kV. - Downstream impact: Used directly by 1 file: Single-Line Diagram (SLD) Hook (globalgrid2050). - Signatures: `export mountSld({ api, block, plant, doc = document })`; `$(id)`; `groundAt(e, n)`; `connectionFor(mw, at, kv = null)`; `subs(model?.substations || [])`; `towers(model?.lines || [])`; `network()`; `need()`; `rowsFor(nodeId, branchId)`; `o3(base)`; `batch(key, G, color, version)`; `batches()`; `show()`; `station(id)`; `summary()`; `follow(panel = null)`; `go(i)`; `play()`; `pause()`; `close()`; `soFar(f, i)`; `followState()`; `tap(clientX, clientY)`; `rules(r = {})`; `source(kA)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV] - Edges: uses 11 estate files (import 11); used by 1; mentioned by 0 ### Single-Line Diagram (SLD) Symbols - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/sld-symbols.mjs (JavaScript, 105 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/sld-symbols.mjs#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/0168.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with transformers, cables and overhead lines (OHL). - What it achieves (comment): It is built from the group step (`group`), the put step (`put`) and the seg step (`seg`). The single-line diagram drawn in the world, as line groups in national-grid metres. - What it does: It calculates transformers, cables and overhead lines (OHL). Defines 12 functions or classes, including group, put, seg, poly, pen. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, cables, overhead lines (OHL). - Downstream impact: Used directly by 2 files: Earth Mount (globalgrid2050); Single-Line Diagram (SLD) Mount (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export symbolGroups(g, { groundAt = () => 0, mast = 6 } = {})`; `export glowGroup(points, marker = null)`; `group()`; `put(G, p)`; `seg(G, a, b)`; `poly(G, pts)`; `pen(G, [e, n, z0])`; `sw(P, x, za, zb, open, breaker = false)`; `m(za + zb)`; `earth(P, x, z)`; `at(n, h = mast)`; `stem(L, n, h = mast)`; `lift(pts, h)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Single-Line Diagram (SLD) View - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/sld-view.mjs (JavaScript, 169 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/sld-view.mjs#L1-L169 - Page: https://code.globalgrid2050.com/explore-code/s/0168.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with earth mark (`earthMark`) (units: MVA, kV), covering transformers, cables and substations. - What it achieves (comment): It creates SLD view (`createSldView`) and is built from the rows step (`rows`) and the draw step (`draw`). The SLD view, a clean schematic single-line diagram of the whole plant in a flat panel over the world. Its code works with 33 kV. It responds to click events. - What it does: It draws transformers, cables and substations. Defines 9 functions or classes, including el, createSldView, rows, draw, hit. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, cables, substations, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Single-Line Diagram (SLD) Mount (globalgrid2050). - Signatures: `export createSldView({ doc, onStation, onElement, onClose })`; `el(tag, attrs = {}, parent = null)`; `rows(list)`; `draw(src, version, { earth = false } = {})`; `hit(g0, id, station)`; `line(p, x1, y1, x2, y2, cls = 'ln')`; `text(p, x, y, t, anchor = 'middle')`; `circle(p, cx, cy, r, cls = 'ln')`; `earthMark(p, x, y)`; `show(src, version, opts = {})`; `hide()`; `highlight(nodes = [], branches = [])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### String Design - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/string-design.mjs (JavaScript, 58 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/string-design.mjs#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/0168.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with solar. - What it achieves (comment): It is built from the num step (`num`), the string design helper (`stringDesign`) and the string line helper (`stringLine`). The string voltage of the solar block, worked out in the open. - What it does: It calculates solar. Defines 6 functions or classes, including num, stringDesign, stringLine, stringWords, typedClass. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 4 files: Block UI (globalgrid2050); Build Rules (globalgrid2050); Cmd Model (globalgrid2050); Hud Checks (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export stringDesign({ cls, cat = {}, mps, tempMinC, systemV } = {})`; `export stringLine(d)`; `export stringWords(d)`; `export typedClass({ wp, voc, coeffPctPerK })`; `export stringCounts({ modules, mps, stringsPerInverter = 24, inverters = null })`; `num(v)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Xray UI - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/xray-ui.mjs (JavaScript, 70 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/xray-ui.mjs#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/0168.html#f5 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that draws trench sections, solar and cables. - What it achieves (comment): It shows note (`showNote`) and is built from the el step (`$el`) and the mount xray helper (`mountXray`). The As-built X-ray switch, in the Layers panel and typed ("xray on", "xray off"). It responds to click events. - What it does: It draws trench sections, solar and cables. Defines 6 functions or classes, including $el, mountXray, works, extra, showNote. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, cables. - Inputs & outputs: In: JSON file trench-sections.json. - Downstream impact: Used directly by 1 file: Cmd Mount (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export mountXray({ api, world, doc = document, host = doc.getElementById('layers-slot') })`; `$el(doc, tag, props = {})`; `works()`; `extra(pos)`; `showNote()`; `set(v)`; `faults(cache.faults || [])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file trench-sections.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (dynamic-import 1); used by 1; mentioned by 0 ### Xray - File: globalgrid2050/solar-design-studio/202609271740-site-world/world/xray.mjs (JavaScript, 111 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271740-site-world/world/xray.mjs#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/0169.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables. - What it achieves (comment): It is built from the xray filter helper (`xrayFilter`), the len2 step (`len2`) and the samples step (`samples`). The as-built X-ray view. Once a trench is backfilled nothing of it shows on the ground; this view draws the ground faint and see-through and the buried works bright. - What it does: It calculates cables. Defines 10 functions or classes, including xrayFilter, len2, samples, buriedLines, push. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 1 file: Xray UI (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export xrayFilter(batches, extra = [], dim = XRAY.dim)`; `export samples(pts, step)`; `export buriedLines(runs, { groundAt, eye = null, pits = [], joints = [], rangeM = XRAY.rangeM, stepM = XRAY.stepM, base = [0, 0, 0], spe...)`; `export xrayBatches(lines, { base, version })`; `export xraySummary(runs, pits, joints, totals = null)`; `len2(a, b)`; `push(k, a, b)`; `far(pts)`; `P(s, [u, z])`; `box(k, [x, y], l, w, depth)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Solar Design Studio — Site World Page - File: globalgrid2050/solar-design-studio/202609271853-site-world/index.html (HTML, 363 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/index.html#L1-L363 - Page: https://code.globalgrid2050.com/explore-code/s/0169.html#f2 - Published at: https://globalgrid2050.com/solar-design-studio/202609271853-site-world/ - Synopsis: A web page in GlobalGrid2050 that draws bill of quantities, cables, substations and postcodes. Published at https://globalgrid2050.com/solar-design-studio/202609271853-site-world/. - What it achieves (comment): Every module the first frame imports is fetched with the page, all at once, not one import level at a time; the manifest. - What it does: It draws bill of quantities, cables, substations and postcodes. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, substations, postcodes. - Inputs & outputs: In: user-supplied file (file picker); form fields (user input). Out: CSV file bill-of-quantities.csv; downloaded file bill-of-quantities.csv; web page; SVG drawing. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/solar-design-studio/202609271853-site-world/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker); form fields (user input)]; out [CSV file bill-of-quantities.csv; downloaded file bill-of-quantities.csv; web page; SVG drawing]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 23 estate files (modulepreload 23); used by 0; mentioned by 0 ### Body - File: globalgrid2050/solar-design-studio/202609271853-site-world/packs/body/src/body.mjs (JavaScript, 318 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/packs/body/src/body.mjs#L1-L318 - Page: https://code.globalgrid2050.com/explore-code/s/0170.html#f1 - Synopsis: A JavaScript module in the packs folder of GlobalGrid2050 that runs want (`runWant`), steps len (`stepLen`) and calculates planar distances. - What it achieves (comment): It runs want (`runWant`) and is built from the apex of helper (`apexOf`) and the air time of helper (`airTimeOf`). Body pack (world.pack.v1): how the viewer moves on foot. - What it does: It calculates its inputs. Defines 22 functions or classes, including apexOf, airTimeOf, runWant, dipAt, clamp. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `export apexOf(v = V0, g = G)`; `export airTimeOf(v = V0, g = G)`; `export runWant(t, lo = RUN_MIN, hi = RUN_MAX)`; `export dipAt(t, vi)`; `export blocked([x, y, z], solids, body = BODY)`; `export supportAt(x, y, feetZ, heightAt, solids = [], radius = BODY.radius)`; `export createBody({ at = [0, 0, 0], yaw = 0, walk = WALK, runMin = RUN_MIN, runMax = RUN_MAX, bob = false } = {})`; `clamp(v, a, b)`; `num(v)`; `dipNow()`; `speed()`; `stepLen()`; `bobNow()`; `place(p, heightAt, solids)`; `takeOff()`; `slide(dx, dy, z, solids)`; `fly(dt, heightAt, solids)`; `step(dt, input = {}, heightAt = () => 0, solids = [])`; `wx(s * f + c * sd)`; `press()`; `release()`; `unplace(x, y)`; `setYaw(v)`; `setBob(v)`; `gait(b)` (and 12 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Drone - File: globalgrid2050/solar-design-studio/202609271853-site-world/packs/drone/src/drone.mjs (JavaScript, 414 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/packs/drone/src/drone.mjs#L1-L414 - Page: https://code.globalgrid2050.com/explore-code/s/0170.html#f2 - Synopsis: A JavaScript module in the packs folder of GlobalGrid2050 that parses xy (`parseXY`) and calculates planar distances and angles (units: kV), covering wind, using ISO 2533. - What it achieves (comment): It parses xy (`parseXY`) and is built from the clamp step (`clamp`) and the num step (`num`). Drone pack (world.pack.v1, kind vehicle). A light multirotor model for our 3D worlds: thrust, quadratic drag and wind as a parameter, hover hold, height above the ground model, speed limits, a legal-height note, go-to. - What it does: Defines 24 functions or classes, including clamp, num, terminalSpeed, windVector, footprint. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: wind. - Signatures: `export terminalSpeed(p = DEFAULTS)`; `export windVector([speed, from])`; `export footprint(h, cam = DEFAULTS.camera)`; `export planSurvey(boundary, { height = DEFAULTS.hold, camera = DEFAULTS.camera, overlap = DEFAULTS.overlap, maxLanes = 400 } = {})`; `export createDrone(cfg = {})`; `clamp(v, a, b)`; `num(v)`; `toU([x, y])`; `toXY(u, v)`; `wanted()`; `toward([tx, ty], stopAt = true)`; `gz(Number.isFinite(floor) ? floor : g0)`; `reset()`; `batch(key, version, color, origin, fill, segs)`; `seg(a, b)`; `here()`; `heading()`; `aglAt(p)`; `parseXY(args, i, what)`; `legal(h)`; `status()`; `emit(topic, payload)`; `init(a)`; `setEnabled(v)`; `step(dt, ctx = {})` (and 11 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Grids - File: globalgrid2050/solar-design-studio/202609271853-site-world/packs/grids/src/grids.mjs (JavaScript, 577 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/packs/grids/src/grids.mjs#L1-L577 - Page: https://code.globalgrid2050.com/explore-code/s/0171.html#f2 - Synopsis: A JavaScript module in the packs folder of GlobalGrid2050 that parses network (`parseNetwork`) and flow (`parseFlow`), builds geometry (`buildGeometry`) and calculates planar distances (units: kV, MW), using SHA-256. - What it achieves (comment): It cleans id (`cleanId`), parses network (`parseNetwork`) and parses flow (`parseFlow`). Grid layers for a 3D world: overhead lines with catenary sag and conductor bundles by voltage class, towers standing on the measured ground, substations as fenced compounds, underground cable routes, and a load-flow colouring hook. Its code works with 33 kV, 132 kV and 220 kV. - What it does: It lists and searches cables, substations, 33kV and transformers. Defines 43 functions or classes, including classOf, rgb, withAlpha, toward, loadingBand. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, substations, 33kV, transformers, 220kV, 132kV. - Inputs & outputs: Voltage levels named: 220kV, 132kV, 33kV. - Signatures: `export classOf(kv)`; `export rgb(hex)`; `export loadingBand(l)`; `export loadingColour(l)`; `export levelSag(L, a)`; `export paramFromSag(L, ratio)`; `export catenarySpan(L, z1, z2, a)`; `export bundleOffsets(n, s)`; `export parseNetwork(j)`; `export parseFlow(j)`; `export buildGeometry(net, o)`; `export createGrids()`; `withAlpha(c, a)`; `toward(c, g, t)`; `bandColour(b)`; `coshm1(u)`; `z(s)`; `isPt(p)`; `cleanId(v, d)`; `unique(id, what)`; `towers(Array.isArray(l.towers) ? l.towers : [])`; `points(Array.isArray(c.points) ? c.points : [])`; `run(x0, y0, x1, y1, span)`; `segDist(px, py, ax, ay, bx, by)`; `unit(dx, dy)` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [220kV, 132kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Lightning - File: globalgrid2050/solar-design-studio/202609271853-site-world/packs/lightning/src/lightning.mjs (JavaScript, 486 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/packs/lightning/src/lightning.mjs#L1-L486 - Page: https://code.globalgrid2050.com/explore-code/s/0172.html#f1 - Synopsis: A JavaScript module in the packs folder of GlobalGrid2050 that steps voltage (`stepVoltage`), builds field (`buildField`), creates pack (`createPack`) and calculates planar distances, using IEC 62305-2 and IEC 62305-3. - What it achieves (comment): It builds field (`buildField`), creates pack (`createPack`) and computes map (`computeMap`). Lightning pack (world.pack.v1). An ILLUSTRATIVE lightning simulation for a site world: - a strike map from ground flash density Ng (flashes per km2 per year). Its code works with 300 kA, 20 kA and 90 kA. - What it does: It calculates its inputs. Defines 40 functions or classes, including strikeDistance, ngFromThunderDays, collectionArea, expectedFlashes, mastShadowRadius. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `export strikeDistance(kA)`; `export ngFromThunderDays(td)`; `export collectionArea(L, W, H)`; `export expectedFlashes(ng, ad, cd = 1)`; `export mastShadowRadius(H, r)`; `export hemisphereResistance(rho, a)`; `export equivalentRadius(rho, R)`; `export potentialAt(gpr, req, r)`; `export stepVoltage(gpr, req, r, step = 1)`; `export levelOf(word)`; `export rng(seed = 1)`; `export peakCurrent(u1, u2)`; `export buildField(area, h, heightAt, objects = [])`; `export rollSphere(field, r)`; `export sideTouchFrom(field, roll, k)`; `export strikePoint(field, x, y, r, heightAt)`; `export createPack()`; `f()`; `kernel(r, h)`; `crosses(cells, size)`; `circle(cx, cy, r, zAt, n = 48)`; `a0(i / n)`; `polyline(pts)`; `fmt(v, d = 0)`; `years(nd)` (and 15 more) - VEDIC: HEIGHT (GG2050-VEDIC-000011): Solar Design Studio / LiDAR · Mathematics / Raster sampling. bng_easting_m, bng_northing_m -> height_receipt_or_null - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Roads - File: globalgrid2050/solar-design-studio/202609271853-site-world/packs/roads/src/roads.mjs (JavaScript, 521 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/packs/roads/src/roads.mjs#L1-L521 - Page: https://code.globalgrid2050.com/explore-code/s/0173.html#f1 - Synopsis: A JavaScript module in the packs folder of GlobalGrid2050 that converts to batch (`toBatch`) and calculates planar distances, using BS EN 13108-1. - What it achieves (comment): It is built from the inv step (`inv`), the batter z helper (`batterZ`) and the settings step (`settings`). Road-build simulation, a world layer pack (world.pack.v1). - What it does: It calculates its inputs. Defines 36 functions or classes, including inv, batterZ, settings, pos, planRoad. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `export inv(h)`; `export batterZ(g, level, d, invCut, invFill)`; `export settings(given = {})`; `export planRoad(given, groundAt)`; `export frontOf(p, i, done)`; `pos(k)`; `G(x, y)`; `segAt(s)`; `pointAt(s)`; `level(s)`; `designLevel(s)`; `fallAt(off)`; `finishedAt(s, off)`; `surfaceAt(s, u, gs)`; `top(a.strip + b.strip)`; `sw(a.cutSides + b.cutSides)`; `add(u)`; `outer(a, b)`; `emit(topic, payload)`; `fmt(v)`; `pct(v)`; `ensurePlan(ctx)`; `announce()`; `advanceHours(h)`; `progress(force)` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Sun - File: globalgrid2050/solar-design-studio/202609271853-site-world/packs/sun/src/sun.mjs (JavaScript, 668 lines) · role geodesy · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/packs/sun/src/sun.mjs#L1-L668 - Page: https://code.globalgrid2050.com/explore-code/s/0174.html#f1 - Synopsis: A JavaScript module in the packs folder of GlobalGrid2050 that works with solar, using ISO 2533 and EPSG:27700. It makes clock (`makeClock`), builds lines (`buildLines`) and parses when (`parseWhen`). - What it achieves (comment): Sun and sky pack (world.pack.v1). Self-contained ES module with no imports. - What it does: It calculates solar. Defines 46 functions or classes, including lim360, julianDay, deltaT, series, periodic. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Signatures: `export julianDay(ms)`; `export deltaT(year)`; `export solarPosition({ utcMs, lat, lon, elevation = 0, pressure = 1010, temperature = 10, deltaT: dT, refraction = true })`; `export incidence(zenith, azimuth, tilt, planeAzimuth)`; `export sunVector(azimuth, elevation, rotate = 0)`; `export airMass(zenith)`; `export pressureAt(h)`; `export clearSky(zenith, { altitude = 0, linke = 3, r = 1, solarConstant = 1361 } = {})`; `export planeIrradiance({ ghi, dni, dhi }, incidenceDeg, tilt, albedo = 0.2)`; `export tmInverse(E, N)`; `export gridToLatLon(E, N)`; `export dayEvents(place, dayStartMs, dayEndMs)`; `lim360(a)`; `u(year - 1820)`; `series(rows, x)`; `periodic(terms, jme)`; `xi(8.794 / (3600 * R))`; `a(azimuth - rotate)`; `M(p)`; `p(N - N0)`; `rx(0.1502 / 3600)`; `makeClock(cfg)`; `offset(ms)`; `parts(ms)`; `toUtc(y, m, d, minute)` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Accuracy - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/accuracy.mjs (JavaScript, 146 lines) · role geodesy · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/accuracy.mjs#L1-L146 - Page: https://code.globalgrid2050.com/explore-code/s/0175.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with 66kV, 33kV, 220kV and 275kV, using Helmert and OSTN15. - What it achieves (comment): It is built from the haversine m helper (`haversineM`), the chord to arc m helper (`chordToArcM`) and the point to segment helper (`pointToSegment`). The world's accuracy constants and the small pure maths that uses them. Its code works with 33 kV, 66 kV and 132 kV. - What it does: It calculates 66kV, 33kV, 220kV and 275kV. Defines 13 functions or classes, including haversineM, chordToArcM, pointToSegment, nearestOnPolyline, lineOf. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 66kV, 33kV, 220kV, 275kV, 400kV, 132kV. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV, 33kV. - Downstream impact: Used directly by 1 file: First Showing (globalgrid2050). - Signatures: `export haversineM(lon1, lat1, lon2, lat2, R = EARTH_RADIUS_M)`; `export chordToArcM(chord, R = EARTH_RADIUS_M)`; `export pointToSegment(px, py, ax, ay, bx, by)`; `export nearestOnPolyline([pe, pn], pts)`; `export nearestLine(at, towers)`; `export CURVATURE_PER_M2(1 - REFRACTION_K)`; `export curvatureDrop(d, k = REFRACTION_K, R = EARTH_RADIUS_M)`; `export horizonDistanceM(h, k = REFRACTION_K, R = EARTH_RADIUS_M)`; `export styleClass(kv)`; `export hexToRgb(h)`; `export decimalsFor(accuracyM)`; `export formatAtAccuracy(value, accuracyM)`; `export groundWords(source, groundM, eyeM, known)`; `P(pts || [])`; `lineOf(t)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [400kV, 275kV, 220kV, 132kV, 66kV, 33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Binoculars Lens - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/binoculars-lens.mjs (JavaScript, 182 lines) · role geodesy · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/binoculars-lens.mjs#L1-L182 - Page: https://code.globalgrid2050.com/explore-code/s/0175.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with substations, motorways, solar and LiDAR terrain. - What it achieves (comment): It is built from the fov for helper (`fovFor`), the step zoom helper (`stepZoom`) and the curvature drop helper (`curvatureDrop`). Binoculars, the lens: magnification and field of view, the rangefinder under the reticle, and what it reads in words. Its code works with 132 kV, 275 kV and 33 kV. - What it does: It calculates substations, motorways, solar and LiDAR terrain. Defines 17 functions or classes, including fovFor, stepZoom, curvatureDrop, convergence, bearingDeg. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, motorways, solar, LiDAR terrain, 400kV, 275kV. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 400kV, 275kV, 132kV, 33kV. - Downstream impact: Used directly by 1 file: Binoculars Mount (globalgrid2050). - Signatures: `export fovFor(m, base = BASE_FOV)`; `export stepZoom(m, dir)`; `export curvatureDrop(d, k = REFRACTION_K, R = EARTH_R)`; `export convergence(e, n)`; `export bearingDeg(yaw)`; `export rangeAlong(eye, dir, measuredAt, { maxM = MAX_RANGE_M, k = REFRACTION_K } = {})`; `export kindOfKey(key)`; `export thingOnRay(batches, eye, dir, maxD, tol, { budget = 400000 } = {})`; `export drapeAt(batches, p)`; `export labelFor(thing, { lineClass = () => null } = {})`; `export reading(w)`; `export distanceText(d)`; `export readingLines(r)`; `at(d)`; `above(d)`; `rayToSegment(eye, dir, a, b)`; `cls(/\/(400kV|275kV|132kV|33kV)$/.exec(thing.key) || [])`; `deg(v, dp = 1)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [400kV, 275kV, 132kV, 33kV] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Binoculars Mount - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/binoculars-mount.mjs (JavaScript, 148 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/binoculars-mount.mjs#L1-L148 - Page: https://code.globalgrid2050.com/explore-code/s/0175.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with horizon profile (`horizonProfile`) and line class (`lineClass`), calculates planar distances and angles and draws SVG graphics. - What it achieves (comment): It creates binoculars (`createBinoculars`) and is built from the horizon profile helper (`horizonProfile`) and the horizon text helper (`horizonText`). Binoculars, the mount: holds the lens (`binoculars-lens.mjs`) steady and reads the horizon along the bearing. It responds to wheel, pointerdown and pointermove events. - What it does: It draws its content. Defines 10 functions or classes, including horizonProfile, horizonText, createBinoculars, towers, lineClass. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: SVG drawing. - Downstream impact: Used directly by 1 file: Senses Mount (globalgrid2050). - Signatures: `export horizonProfile(eye, yaw, measuredAt, { maxM = MAX_RANGE_M, k = REFRACTION_K } = {})`; `export horizonText(h, gpu = null)`; `export createBinoculars({ api, world, doc = document, onChange = () => {} })`; `towers()`; `lineClass(key)`; `gpuDistance(s, yaw, pitch)`; `probe(pose = null)`; `measure()`; `zoom(m)`; `set(v)`; `rangeText()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Bs7671 Checks - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/bs7671-checks.mjs (JavaScript, 39 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/bs7671-checks.mjs#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0175.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, using BS 7671. - What it achieves (comment): It is built from the buried overload helper (`buriedOverload`), the buried protection helper (`buriedProtection`) and the disconnection step (`disconnection`). Checks on the LV cable engines from a cross-check against the national wiring rules. - What it does: It calculates cables. Defines buriedOverload, buriedProtection, disconnection. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 2 files: Earth Photovoltaic (PV) (globalgrid2050); LV DC Sizing (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export buriedOverload({ In, izAt, soilKmW, factor = SOIL_SENSITIVITY })`; `export buriedProtection({ armoured = false, ducted = false, kind = 'LV' } = {})`; `export disconnection(p)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Buggy Mount - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/buggy-mount.mjs (JavaScript, 60 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/buggy-mount.mjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0175.html#f5 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050. It parses buggy (`parseBuggy`) and is built from the typing step (`typing`) and the mount buggy helper (`mountBuggy`). - What it achieves (comment): Buggy mode's only part that loads with the world (just after the first frame): the E key, a small mount chip (not a dash button: the dash keeps its five), and the typed "buggy" commands. It responds to click and keydown events. - What it does: It draws its content. Defines parseBuggy, typing, mountBuggy, load. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'buggy'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `export parseBuggy(line)`; `export mountBuggy({ api, doc = document })`; `typing(t)`; `load()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (dynamic-import 1); used by 0; mentioned by 0 ### Buggy Physics - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/buggy-physics.mjs (JavaScript, 245 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/buggy-physics.mjs#L1-L245 - Page: https://code.globalgrid2050.com/explore-code/s/0176.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that steps euler (`stepEuler`) and calculates planar distances and angles. - What it achieves (comment): It creates buggy (`createBuggy`) and is built from the wheels step (`wheels`) and the clamp step (`clamp`). The site buggy, a generic utility vehicle, as a small rigid body on the measured ground. - What it does: Defines 16 functions or classes, including wheels, clamp, params, createBuggy, contacts. - Why it exists in the grid workflow: Domain stage experimental (path word 'buggy'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Buggy UI (globalgrid2050). - Signatures: `export params(over = {})`; `export createBuggy(x, y, yaw, heightAt, over = {})`; `export contacts(s, P, heightAt)`; `export controls(v, forward, steer, brake)`; `export deriv(s, c, bug, heightAt, out = new Float64Array(N))`; `export release(bug, c)`; `export engage(bug, c)`; `export tipCheck(bug)`; `export stepEuler(bug, c, heightAt)`; `export hits(s, P, heightAt, solids)`; `export advance(bug, input, dtS, heightAt, solids = [])`; `export parked(bug, input = {})`; `export readout(bug)`; `wheels(P)`; `clamp(v, lo, hi)`; `sA((h[0] + h[1]) - (h[2] + h[3]))`; `drag(w, from)`; `side(G * sinB - vh * r)`; `deg((s[PSI] * 180 / Math.PI) % 360 + 360)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Buggy UI - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/buggy-ui.mjs (JavaScript, 185 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/buggy-ui.mjs#L1-L185 - Page: https://code.globalgrid2050.com/explore-code/s/0176.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that creates driver (`createDriver`), writes hud (`writeHud`) and calculates planar distances, covering LiDAR terrain. - What it achieves (comment): It creates driver (`createDriver`) and writes hud (`writeHud`). Driving the site buggy (loaded on first use by `buggy-mount.mjs`). Its code works with 120 Hz. It responds to click, keydown and keyup events. - What it does: It draws LiDAR terrain. Defines 20 functions or classes, including wrap, clamp, dir, buggyLines, P. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'buggy'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: LiDAR terrain. - Downstream impact: Used directly by 1 file: Buggy Mount (globalgrid2050). - Signatures: `export buggyLines(bug)`; `export cameraFor(bug, view, cam, dt, heightAt, userPitch)`; `export createDriver({ api, doc = document, chip = null })`; `wrap(a)`; `clamp(v, a, b)`; `dir(yaw, pitch)`; `P(a, b, h)`; `seg(p, q)`; `box(a0, a1, b, h0, h1)`; `q(t)`; `heightAt(x, y)`; `typing(t)`; `follow()`; `swapCam()`; `mount()`; `dismount(place = true)`; `writeHud()`; `frame(state, inp, intervalMs)`; `command(p)`; `onText()` - VEDIC: HEIGHT (GG2050-VEDIC-000011): Solar Design Studio / LiDAR · Mathematics / Raster sampling. bng_easting_m, bng_northing_m -> height_receipt_or_null - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Build Cmd - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/build-cmd.mjs (JavaScript, 51 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/build-cmd.mjs#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/0176.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with setting lines (`settingLines`). It parses build (`parseBuild`) and is built from the setting lines helper (`settingLines`). - What it achieves (comment): The typed side of build mode. - What it does: It lists and searches its content. Defines no, parseBuild, settingLines. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Build UI (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export parseBuild(line)`; `export settingLines(P, D)`; `no(why)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Build Geom - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/build-geom.mjs (JavaScript, 98 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/build-geom.mjs#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/0176.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with table frame (`tableFrame`) and inverter box (`inverterBox`) and calculates planar distances. - What it achieves (comment): It is built from the group step (`group`), the put step (`put`) and the seg step (`seg`). What build mode draws, as line groups in national-grid metres ({ base: [e, n, z], v: Float32Array relative to base }), and the piles of the built tables on the plant's own engine (`plant-piles.mjs`). - What it does: It calculates its inputs. Defines 11 functions or classes, including group, put, seg, done, tableFrame. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build UI (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export tableFrame(G, t, T, ground)`; `export inverterBox(G, v, ground)`; `export outline(G, rect, ground, lift = 0.15)`; `export run(G, pts, ground)`; `export sceneGroups(items, W, P, ground)`; `export ghostGroup(check, P, ground)`; `export builtPiles(items, P, measured)`; `group()`; `put(G, p)`; `seg(G, a, b)`; `done(G)`; `f(r + 0.5)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Build Mount - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/build-mount.mjs (JavaScript, 52 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/build-mount.mjs#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/0176.html#f5 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 covering overhead lines (OHL) and solar. It is built from the mount build helper (`mountBuild`) and the load step (`load`). - What it achieves (comment): The only part of build mode that loads with the world (just after the first frame, from `cmd-mount.mjs`). It responds to click events. - What it does: It draws overhead lines (OHL) and solar. Defines mountBuild, load. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL), solar. - Downstream impact: Used directly by 1 file: Cmd Mount (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export mountBuild({ api, world, ohl = null, doc = document, loc = globalThis.location })`; `load()`; `it(d?.items || [])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, dynamic-import 1); used by 1; mentioned by 0 ### Build Rules - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/build-rules.mjs (JavaScript, 198 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/build-rules.mjs#L1-L198 - Page: https://code.globalgrid2050.com/explore-code/s/0177.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with overhead lines (OHL), using IEC 62548-1. It checks placement (`checkPlacement`) and builds checks (`buildChecks`). - What it achieves (comment): Build mode's rules. Real components snap to a grid over the measured ground and click together only where the engineering allows; every refusal is a plain sentence that says what to change. Its code works with 300 kVA. - What it does: It calculates overhead lines (OHL). Defines 19 functions or classes, including r1, tableOf, snap, rectOf, overlaps. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL). - Downstream impact: Used directly by 2 files: Build Geom (globalgrid2050); Build UI (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export tableOf(P = DEFAULTS)`; `export snap(kind, e, n, P = DEFAULTS)`; `export rectOf(it, P = DEFAULTS)`; `export slopeOver(rect, measured, nx = 5, ny = 3)`; `export rectToZone(rect, zone)`; `export checkPlacement(kind, at, { measured = () => NaN, zones = { state: 'off', list: [] }, items = [], P = DEFAULTS } = {})`; `export labelOf(it, items)`; `export typedOf(it)`; `export wire(items, P = DEFAULTS)`; `export statusWords(items, W, P = DEFAULTS)`; `export buildChecks(items, W, P = DEFAULTS, { cat = null, cls = null } = {})`; `r1(v)`; `overlaps(a, b)`; `m(k)`; `segSeg(a, b, c, d)`; `o(p, q, r)`; `ptSeg(p, a, b)`; `inPoly(poly, [x, y])`; `route(t, v)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Build UI - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/build-ui.mjs (JavaScript, 198 lines) · role interaction · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/build-ui.mjs#L1-L198 - Page: https://code.globalgrid2050.com/explore-code/s/0177.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that sets tool (`setTool`), shows ghost (`showGhost`) and calculates planar distances, covering overhead lines (OHL). - What it achieves (comment): It creates build (`createBuild`), sets tool (`setTool`) and shows ghost (`showGhost`). Build mode on the page. Choose Table or Inverter; a ghost follows the pointer, snapped to the grid on the ground, outlined in green where it may go and red where it may not. It responds to click, pointermove and pointerdown events. - What it does: It draws overhead lines (OHL). Defines 23 functions or classes, including createBuild, o, measured, ground, zones. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL). - Inputs & outputs: In: JSON file modules.json. - Downstream impact: Used directly by 1 file: Build Mount (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export createBuild({ api, world, ohl = null, doc = document, row = null })`; `o()`; `measured(e, n)`; `ground(e, n)`; `zones()`; `ctx()`; `o3(base)`; `batch(key, G, color, version)`; `batches()`; `changed(redraw = true)`; `snapshot()`; `remember()`; `tell(text, ok = true)`; `setTool(kind)`; `place(kind, e, n)`; `showGhost(c)`; `pointAt(x, y)`; `local(e)`; `exec(line)`; `pilesAuto()`; `script()`; `replay(lines)`; `probe(kind, e, n)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file modules.json]; out []; crs []; voltages [] - Edges: uses 5 estate files (import 4, dynamic-import 1); used by 1; mentioned by 0 ### Cmd Grammar Plant - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/cmd-grammar-plant.mjs (JavaScript, 58 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/cmd-grammar-plant.mjs#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/0177.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050. It parses plant (`parsePlant`) and is built from the has step (`has`). - What it achieves (comment): The typed words for the plant's inverter class, its packing and the study presets. Its code works with 2500 kVA, 300 kVA and 400 kVA. - What it does: It lists and searches its content. Defines parsePlant, has, at. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Cmd Grammar (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export parsePlant(v, rest, out, { put, bad, isNum })`; `has(w)`; `at(w)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Cmd Grammar Senses - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/cmd-grammar-senses.mjs (JavaScript, 23 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/cmd-grammar-senses.mjs#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/0177.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050. It parses senses (`parseSenses`) and is built from the is num helper (`isNum`). - What it achieves (comment): The binoculars words of the command line (binoculars, zoom, range), split out of `cmd-grammar.mjs` to keep each cartridge under 400 lines. - What it does: Defines isNum, parseSenses. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Cmd Grammar (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export parseSenses(v, rest, bad)`; `isNum(t)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Cmd Grammar - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/cmd-grammar.mjs (JavaScript, 398 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/cmd-grammar.mjs#L1-L398 - Page: https://code.globalgrid2050.com/explore-code/s/0178.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 covering solar, overhead lines (OHL), cables and postcodes. - What it achieves (comment): It is built from the said step (`said`), the guard step (`guard`) and the words step (`words`). The typed design language of the site world. Its code works with 10 MVA, 100 MVA and 50 MW. - What it does: It lists and searches solar, overhead lines (OHL), cables and postcodes. Defines 15 functions or classes, including r, said, guard, words, search. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, overhead lines (OHL), cables, postcodes. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 4 files: Build Cmd (globalgrid2050); Cmd Model (globalgrid2050); Cmd UI (globalgrid2050); Packs Mount (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export guard(key, v)`; `export words(line)`; `export search(text, limit = 8)`; `export example(c, text = '')`; `export parse(line)`; `export help(topic = '')`; `r(v, d = 2)`; `said(v)`; `hay(c)`; `refuse(why, line)`; `isNum(t)`; `takes(VOCAB[v] || [])`; `put(key, val)`; `num(i, key, units = [])`; `after(w)`; `has(w)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 6 estate files (import 6); used by 4; mentioned by 0 ### Cmd Model - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/cmd-model.mjs (JavaScript, 350 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/cmd-model.mjs#L1-L350 - Page: https://code.globalgrid2050.com/explore-code/s/0179.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables and 33kV. It applies set (`applySet`), creates session (`createSession`) and runs layout (`runLayout`). - What it achieves (comment): The design as typed. A session holds the typed values, runs each command through an engine (the page's plant, block and layers, or a plain CPU layout in tests), echoes what changed in words, keeps an undo stack. Its code works with 33 kV. - What it does: It calculates cables and 33kV. Defines 27 functions or classes, including STRUCT, PACK, moduleOf, tplOpts, f. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, 1500V. - Inputs & outputs: Voltage levels named: 33kV, 1500V. - Downstream impact: Used directly by 2 files: Cmd Run (globalgrid2050); Cmd UI (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export moduleOf(st, env = {})`; `export derive(st, env = {}, lay = null)`; `export postOf(st, T)`; `export spoilOf(lay, st, sections = [])`; `export echo(a, b)`; `export layoutInput(st, env = {})`; `export createSession({ engine, env = {} })`; `export explain(what, d)`; `export summarize(r)`; `STRUCT(st)`; `PACK(st)`; `tplOpts(st, env)`; `f(v, d = 2)`; `int(v)`; `sec(sections || [])`; `warnings(d)`; `inWords(e)`; `applySet(st0, c, env)`; `strOf(st)`; `same(a, b, keys)`; `fmtPts(pts)`; `view()`; `runLayout()`; `exec(line, { replay = false } = {})`; `view_(fn)` (and 3 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV, 1500V] - Edges: uses 10 estate files (import 10); used by 2; mentioned by 0 ### Cmd Mount - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/cmd-mount.mjs (JavaScript, 63 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/cmd-mount.mjs#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/0179.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that mounts command line (`mountCommandLine`) (units: MW), covering overhead lines (OHL) and solar. - What it achieves (comment): It is built from the form lines helper (`formLines`), the typing step (`typing`) and the mount command line helper (`mountCommandLine`). The command line's only part that loads with the world (just after the first frame): a "Type a command" button in the Design panel and the "/" key. It responds to click and keydown events. - What it does: It draws overhead lines (OHL) and solar. Defines 6 functions or classes, including formLines, typing, mountCommandLine, changed, load. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL), solar. - Downstream impact: Used directly by 1 file: Substrate (globalgrid2050). Reached from 1 other entry point, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/). - Signatures: `export formLines(world)`; `export mountCommandLine({ api, world, project = null, ohl = null, doc = document })`; `typing(t)`; `changed()`; `load()`; `opened(d)`; `it(d?.items || [])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (dynamic-import 3); used by 1; mentioned by 0 ### Cmd Run - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/cmd-run.mjs (JavaScript, 217 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/cmd-run.mjs#L1-L217 - Page: https://code.globalgrid2050.com/explore-code/s/0179.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that fetches overhead lines (OHL), solar and substations, using SHA-256. - What it achieves (comment): It creates engine (`createEngine`) and is built from the same step (`same`) and the status step (`status`). The page's engine for the typed session (`cmd-model.mjs`). - What it does: It fetches overhead lines (OHL), solar and substations. Defines 10 functions or classes, including n0, createEngine, same, status, here. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL), solar, substations. - Downstream impact: Used directly by 2 files: Build UI (globalgrid2050); Cmd UI (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export createEngine({ world, api, ohl, doc = document })`; `export pilesText(r, lay)`; `n0(v)`; `same(a, b)`; `status(id)`; `here()`; `ohlTest()`; `soilModel()`; `cfg(m.layers || [])`; `soilAt(e, n)`; `layout(input)`; `openLand(input)`; `drawnBoundary()`; `setBoundary(pts)`; `clearPlant()`; `avoid(st)`; `constraints(lay, st)`; `block({ stations, pocKv, at, trench, frame = false, modulesPerString, tempMinC })`; `clearBlock()`; `strings({ mps, tempMinC })`; `binoculars(arg)`; `xray(on)`; `piles(lay)`; `show({ layer, on, limit })`; `follow({ step })` (and 8 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 7 estate files (import 6, dynamic-import 1); used by 2; mentioned by 0 ### Cmd UI - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/cmd-ui.mjs (JavaScript, 151 lines) · role interaction · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/cmd-ui.mjs#L1-L151 - Page: https://code.globalgrid2050.com/explore-code/s/0180.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that draws cables, trench sections, overhead lines (OHL) and solar. - What it achieves (comment): It reads kept (`readKept`), writes kept (`writeKept`) and creates command line (`createCommandLine`). The command line over the world. It responds to click, keydown and input events. - What it does: It draws cables, trench sections, overhead lines (OHL) and solar. Defines 15 functions or classes, including readKept, writeKept, createCommandLine, data, moduleClass. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, overhead lines (OHL), solar. - Inputs & outputs: In: JSON file cables.json; JSON file trench-sections.json; JSON file modules.json; browser storage (getItem); form fields (user input). Out: browser storage (setItem). Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Cmd Mount (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export createCommandLine({ api, world, ohl, doc = document, onChange = () => {}, toggle = null })`; `readKept()`; `writeKept(h)`; `data(f)`; `moduleClass()`; `$(id)`; `say(line, text, ok)`; `drawChips()`; `next()`; `run(text, queued = false)`; `lift()`; `mark()`; `open()`; `close()`; `replay(lines)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file cables.json; JSON file trench-sections.json; JSON file modules.json; browser storage (getItem); form fields (user input)]; out [browser storage (setItem)]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 5 estate files (import 5); used by 1; mentioned by 0 ### Design Sections - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/design-sections.mjs (JavaScript, 214 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/design-sections.mjs#L1-L214 - Page: https://code.globalgrid2050.com/explore-code/s/0180.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that loads plant (`loadPlant`) and block (`loadBlock`), loads cables (`loadCables`) and reads inputs for spec source, spec and ground condition. - What it achieves (comment): It creates sections (`createSections`), loads options (`loadOptions`) and loads plant (`loadPlant`). The parts of the Design panel that follow a specification, kept out of `design-ui.mjs`. Its code works with 10 MVA, 33 kV and 10 MW. It responds to click and toggle events. - What it does: It lists and searches cables, solar, 33kV and substations. Defines 14 functions or classes, including cableBox, cableTubes, createSections, $, once. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, 33kV, substations, 400kV, 275kV. - Inputs & outputs: In: user-supplied file (file picker); form fields (user input). Voltage levels named: 400kV, 275kV, 132kV, 33kV. - Downstream impact: Used directly by 1 file: Design UI (globalgrid2050). - Signatures: `export cableBox(c)`; `export cableTubes(c, eye)`; `export createSections({ doc, origin, viewer, measuredAt, heightAt, baseHeight, assets = () => [], nearest = null, redraw, release = () => f...)`; `export nearRuns(pl, eye, near)`; `$(id)`; `once(name, load)`; `loadOptions()`; `loadPlant()`; `loadBlock()`; `loadCables()`; `spec()`; `effOf(section)`; `cross(section, eff, cableOdMm)`; `extra(toLocalPts)`; `detail(b, batch)`; `close(p)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker); form fields (user input)]; out []; crs []; voltages [400kV, 275kV, 132kV, 33kV] - Edges: uses 9 estate files (import 5, dynamic-import 4); used by 1; mentioned by 0 ### Design UI - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/design-ui.mjs (JavaScript, 388 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/design-ui.mjs#L1-L388 - Page: https://code.globalgrid2050.com/explore-code/s/0181.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that converts to local pts (`toLocalPts`), shows readout (`showReadout`), converts to nearest substation (`toNearestSubstation`) and calculates planar distances (units: kV). - What it achieves (comment): It creates design (`createDesign`), shows readout (`showReadout`) and shows results (`showResults`). Design tools in the world: Trench and Cable, drawn by clicking the ground. It responds to click, change and keydown events. - What it does: It draws cables, trench sections, substations and solar. Defines 35 functions or classes, including createDesign, $, groundVersion, groundShare, section. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, substations, solar. - Inputs & outputs: In: JSON file cables.json; JSON file trench-sections.json. - Signatures: `export createDesign({ doc, canvas, fov, baseHeight, origin, viewer, invalidate, redraw, release = () => false, assets = () => [], measure...)`; `$(id)`; `groundVersion()`; `groundShare(pts)`; `section(id)`; `cableSpec(id)`; `toLocalPts(path)`; `effOf(sectionId)`; `trenchOf(sectionId, pts, eff = effOf(sectionId))`; `cableOf(cableId, ground, pts, sectionId, overdig = 0)`; `bed(Number(section(sectionId)?.bedding?.thickness_mm) || 0)`; `build()`; `heightAt(x, y)`; `designItems()`; `spoil(b.spoil ||= [])`; `batch(key, version, pos, color)`; `marker(v, [x, y, z], h, arm)`; `tightIndices(c)`; `batches()`; `nearFrom(end)`; `gridRow(pts, endAsset)`; `levelsAlong()`; `measure(kind, sectionId, cableId, pts, spoil, endAsset = null, eff = effOf(sectionId))`; `showReadout()`; `showResults()` (and 14 more) - VEDIC: HEIGHT (GG2050-VEDIC-000011): Solar Design Studio / LiDAR · Mathematics / Raster sampling. bng_easting_m, bng_northing_m -> height_receipt_or_null - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file cables.json; JSON file trench-sections.json]; out []; crs []; voltages [] - Edges: uses 13 estate files (import 13); used by 0; mentioned by 0 ### Detail Cache - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/detail-cache.mjs (JavaScript, 92 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/detail-cache.mjs#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/0181.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050. It is built from the budget for helper (`budgetFor`), the detail cache class (`DetailCache`) and the pump step (`pump`). - What it achieves (comment): Arrival cache and frame pump for procedural detail. - What it does: It calculates its inputs. Defines budgetFor, DetailCache, pump, arrivals. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `export budgetFor({ phone = false } = {})`; `export class DetailCache`; `export pump(queue, cache, generate, now, { budgetMs = FRAME_BUDGET_MS, state = { mean: 0, n: 0 } } = {})`; `export arrivals(tables, cam, radius, cache)`; `constructor(budgetBytes, { onEvict = null } = {})`; `has(key)`; `get(key)`; `set(key, value, bytes)`; `delete(key)`; `evict(budget = this.budget)`; `obtain(key, generate)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Earth Photovoltaic (PV) - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/earth-pv.mjs (JavaScript, 398 lines) · role electrical · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/earth-pv.mjs#L1-L398 - Page: https://code.globalgrid2050.com/explore-code/s/0182.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, transformers, 33kV and solar, using BS 7671 and IEC 60364-5-54. - What it achieves (comment): It is built from the is num helper (`isNum`), the round step (`round`) and the metal step (`metal`). PV array earthing, bonding, earth-fault and surge checks for an early solar block design (world cartridge, loaded only by `earth-mount.mjs` on the first earthing command). Its code works with 10 MVA, 33 kV and 20 kA. - What it does: It calculates cables, transformers, 33kV and solar. Defines 33 functions or classes, including isNum, round, metal, rPerM, adiabaticK. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, transformers, 33kV, solar. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Earth Study (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export rPerM(areaMm2, theta, m = 'cu', factor = 1.0)`; `export adiabaticK(m, thetaI, thetaF)`; `export adiabaticMinArea(I, t, m, thetaI, thetaF)`; `export adiabaticFinalC(I, t, areaMm2, m, thetaI)`; `export loopInductancePerM(a1Mm2, a2Mm2, spacingM)`; `export sourceSequence(p)`; `export lvEarthFault(opts = {})`; `export arrayInsulation(kWp, opts = {})`; `export insulationCheck(risoOhm, { tripKOhm, warnKOhm } = {})`; `export bodyCurrentFirstFault(risoOhm, opts = {})`; `export capacitiveLeakage(capF, vcmRms, f = 150)`; `export residualCheck(leakA, limitA)`; `export functionalEarthConductor({ uocMax = 1500, resistorOhm = null, deviceA = null } = {})`; `export bondingPlan({ rows, rowLengthM, rowPitchM, ...opts })`; `export rodResistance(rhoOhmM, L, d)`; `export mutualRodResistance(rhoOhmM, L, s)`; `export meshResistance(rhoOhmM, A, Ltot, h = 0.6)`; `export pileLayout({ rows, tablesPerRow, tableLengthM, tableGapM = 1, pilesPerTable, rowPitchM })`; `export pilesResistance(piles, { rhoOhmM = 100, L = 1.8, d = 0.1 } = {})`; `export dcSpdNeed({ routeM, ng, coefficient } = {})`; `export collectionArea(L, W, H)`; `export flashesPerYear(ng, areaM2, locationFactor = 1)`; `export blockEarthing(opts = {}, limits = {})`; `export readout(block)`; `export sldBadges(block)` (and 10 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Earth Screen - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/earth-screen.mjs (JavaScript, 341 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/earth-screen.mjs#L1-L341 - Page: https://code.globalgrid2050.com/explore-code/s/0183.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, using IEC 60287-1-1 and IEC 60949. - What it achieves (comment): It places marks (`placeMarks`) and is built from the add step (`add`) and the mul step (`mul`). `earth-screen.mjs` (world cartridge, loaded by `earth-mount.mjs`): metallic screen (sheath) bonding of single-core MV/HV cable circuits. - What it does: It calculates cables. Defines 28 functions or classes, including C, add, mul, div, abs. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 2 files: Earth Draw (globalgrid2050); Earth Study (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export csolve(A, b)`; `export circuitGeometry({ formation = 'trefoil', sMm, screenMeanMm, screenAreaMm2, screenMat = 'Cu', thetaS = BONDING_DEFAULTS.thetaScreenC }...)`; `export phaseCurrents(I)`; `export screenEmfPerM(geo, Icore, freq = BONDING_DEFAULTS.freq)`; `export solidBonding(geo, { I, R, freq = BONDING_DEFAULTS.freq })`; `export solidTrefoilClosed(geo, { R, freq = BONDING_DEFAULTS.freq })`; `export standingVoltage(geo, { I, lengthM, freq = BONDING_DEFAULTS.freq })`; `export maxSinglePointM(geo, { I, limitV = BONDING_DEFAULTS.touchLimitV, freq = BONDING_DEFAULTS.freq })`; `export crossBonding(geo, { I, R, minorM, freq = BONDING_DEFAULTS.freq })`; `export crossTrefoilClosed(geo, { R, minorM, freq = BONDING_DEFAULTS.freq })`; `export carsonDepth(rho, freq = BONDING_DEFAULTS.freq)`; `export faultStandingVoltage(geo, { If3, If1, lengthM, ecc = {}, freq = BONDING_DEFAULTS.freq, soilOhmM = BONDING_DEFAULTS.soilOhmM, earthOhm = BO...)`; `export adiabaticK(mat = 'Cu', [thI, thF] = BONDING_DEFAULTS.eccThetaC)`; `export eccMinAreaMm2(If, t = BONDING_DEFAULTS.faultS, mat = 'Cu')`; `export ratingRatio(lambdaA, lambdaB)`; `export recommendBonding(run, opts = {})`; `export bondingRows(s)`; `export placeMarks(marks, path)`; `C(re, im = 0)`; `add(a, b)`; `mul(a, b)`; `div(a, b)`; `abs(a)`; `polar(m, deg)`; `dist(a, b)` (and 4 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Earth Study - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/earth-study.mjs (JavaScript, 193 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/earth-study.mjs#L1-L193 - Page: https://code.globalgrid2050.com/explore-code/s/0183.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, substations, 33kV and transformers, using BS 7430 and BS 7671. - What it achieves (comment): It is built from the block rects helper (`blockRects`), the size step (`size`) and the poly len helper (`polyLen`). The earthing study of the placed solar block, from its geometry and single-line network, using the three earthing engines (`earth-pv.mjs`, `earth-grid.mjs`, `earth-screen.mjs`). Its code works with 33 kV and 10 MVA. - What it does: It calculates cables, substations, 33kV and transformers. Defines 11 functions or classes, including blockRects, size, polyLen, earthStudy, fieldMesh. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, substations, 33kV, transformers. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Earth Mount (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export blockRects(b)`; `export earthStudy({ block, net = null, settings = {} })`; `export earthChecks(s)`; `export earthRows(s, which = null)`; `size(r)`; `polyLen(pts)`; `lengths(block.built.cables?.ac || [])`; `fieldMesh(st)`; `ring(st)`; `up(s)`; `gt(f)`; `add(id, failed, line, inputs, standard)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 6 estate files (import 6); used by 1; mentioned by 0 ### Extensions - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/extensions.mjs (JavaScript, 16 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/extensions.mjs#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/0183.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050. It is built from the mount extensions helper (`mountExtensions`). - What it achieves (comment): Extensions mounted after the first frame, each in its own chunk: a failure in one is a console line, never a broken page. - What it does: Defines ONE, mountExtensions. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Substrate (globalgrid2050). Reached from 1 other entry point, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/). - Signatures: `export mountExtensions({ api })`; `ONE(path, name, handle, mount)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Fade - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/fade.mjs (JavaScript, 17 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/fade.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/0183.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with far plane (`farPlane`). It is built from the fade for helper (`fadeFor`) and the far plane helper (`farPlane`). - What it achieves (comment): How far the world is drawn before it fades out, and the far plane that follows it. - What it does: It calculates its inputs. Defines fadeFor, farPlane. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 3 files: Layers UI (globalgrid2050); Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export fadeFor(view, above, rangeM = 0, plantM = 0)`; `export farPlane(fade)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### First Showing - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/first-showing.mjs (JavaScript, 94 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/first-showing.mjs#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/0183.html#f5 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that reads substations and the Renewable Energy Planning Database (REPD) register. It places label (`placeLabel`) and shows place (`showPlace`). - What it achieves (comment): The first step, offered once (a small card that opens Find; dismissed for good with × or by using Find), and the place just found. It responds to click, pointerdown and keydown events. - What it does: It loads substations and the REPD register. Defines 11 functions or classes, including placeLabel, substationLine, pinBatch, mountFirstShowing, $. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, the REPD register. - Inputs & outputs: In: browser storage (getItem). Out: browser storage (setItem). Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export placeLabel(choice)`; `export substationLine(sub, tower, line = null)`; `export pinBatch(x, y, z, version)`; `export mountFirstShowing({ doc = document, canvas, redraw, origin, heightAt, groundVersion, assets = () => [], nearest = null, openFind })`; `$(id)`; `remembered()`; `dismissStart()`; `phone()`; `aside()`; `gridLine(e, n)`; `showPlace(choice, e, n, note = '')`; `batches()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [browser storage (getItem)]; out [browser storage (setItem)]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 4 estate files (import 4); used by 0; mentioned by 0 ### Hud Checks - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/hud-checks.mjs (JavaScript, 154 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/hud-checks.mjs#L1-L154 - Page: https://code.globalgrid2050.com/explore-code/s/0184.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that parses private rules (`parsePrivateRules`) (units: mm²), covering cables and solar, using BS 7671 and IEC 62548-1. - What it achieves (comment): It parses private rules (`parsePrivateRules`) and is built from the pct of helper (`pctOf`) and the public checks helper (`publicChecks`). The design checks the check HUD shows (`hud-ui.mjs`), one line per FAILED check. - What it does: It lists and searches cables and solar. Defines 11 functions or classes, including pctOf, publicChecks, voc, plantStringFacts, hi. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar. - Downstream impact: Used directly by 1 file: Hud UI (globalgrid2050). - Signatures: `export publicChecks(f = {})`; `export plantStringFacts(r, cat = null)`; `export plantFacts(r)`; `export parsePrivateRules(doc)`; `export evaluatePrivate(rules, facts = {})`; `export hudLines(publicList, privateList = [])`; `pctOf(u)`; `voc(id, pre, S)`; `hi(c)`; `cls(cat?.classes || [])`; `compare(v, op, lim)`; `dotted(o, k)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 5 estate files (import 5); used by 1; mentioned by 0 ### Hud UI - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/hud-ui.mjs (JavaScript, 159 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/hud-ui.mjs#L1-L159 - Page: https://code.globalgrid2050.com/explore-code/s/0184.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that places box (`placeBox`) and loads rules (`loadRulesText`) (units: kVA), covering solar and cables. - What it achieves (comment): It places box (`placeBox`) and loads rules text (`loadRulesText`). Small monospace red text over the view, top-left under the plan, a thin red rule, low opacity: one line per failed design check (`hud-checks.mjs`), each with a tiny "i" that opens its working (inputs, the standard cited by number. It responds to change and click events. - What it does: It draws solar and cables. Defines 10 functions or classes, including mountHud, inputs, dropsFor, facts, render. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, cables. - Inputs & outputs: In: JSON file modules.json. - Signatures: `export mountHud({ api, world, doc = document, fetchImpl = (u, o) => fetch(u, o) })`; `inputs()`; `dropsFor(B)`; `facts()`; `render()`; `placeBox()`; `replace()`; `refresh(force = false)`; `loadRulesText(text, name = 'rules')`; `rulesFromQuery(loc = location)`; `set(on)`; `pickRules()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file modules.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, dynamic-import 1); used by 0; mentioned by 0 ### Jump - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/jump.mjs (JavaScript, 132 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/jump.mjs#L1-L132 - Page: https://code.globalgrid2050.com/explore-code/s/0184.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with take off (`takeOff`) and calculates planar distances. - What it achieves (comment): It is built from the apex of helper (`apexOf`), the air time of helper (`airTimeOf`) and the dip at helper (`dipAt`). Jump in Walk (Space): real gravity, a short hold for a little more height, landing on measured ground and on solids. - What it does: It calculates its inputs. Defines 11 functions or classes, including apexOf, airTimeOf, dipAt, supportAt, createJump. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Senses Mount (globalgrid2050). - Signatures: `export apexOf(v = V0, g = G)`; `export airTimeOf(v = V0, g = G)`; `export dipAt(t, vi)`; `export supportAt(x, y, feetZ, heightAt, solids = [], radius = VIEWS.standing.body.radius)`; `export createJump()`; `reset()`; `dipNow()`; `carried(yaw, i)`; `takeOff(state, i)`; `fly(state, dt, heightAt, solids)`; `press()`; `release()`; `step(state, input, dt, heightAt, solids = [])`; `under(x, y)`; `hold(state, heightAt, solids = [])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Keyset - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/keyset.mjs (JavaScript, 22 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/keyset.mjs#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0184.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050. It is built from the address step (`address`), the anchor step (`anchor`) and the records step (`records`). - What it achieves (comment): The pair's key set: synthetic plants (anonymous test land, no site) whose table addresses and anchors are fixed integer functions of an ordinal. - What it does: It calculates its inputs. Defines address, anchor, records. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `export address(n)`; `export anchor(n)`; `export records()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Grid - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/layers/grid.mjs (JavaScript, 380 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/layers/grid.mjs#L1-L380 - Page: https://code.globalgrid2050.com/explore-code/s/0185.html#f1 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that works with substations, 33kV, 400kV and 275kV, using SHA-256. - What it achieves (comment): It parses grid file (`parseGridFile`), parses national index (`parseNationalIndex`) and parses national tile (`parseNationalTile`). Overhead lines from a per-site file and substations from the national index, drawn as quiet wireframe. Its code works with 33 kV, 132 kV and 275 kV. - What it does: It calculates substations, 33kV, 400kV and 275kV. Defines 30 functions or classes, including voltageClass, styleClass, finite, isPt, parseGridFile. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, 33kV, 400kV, 275kV, 220kV, 132kV. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV, 33kV. - Downstream impact: Used directly by 1 file: Legend UI (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export voltageClass(kv)`; `export styleClass(kv)`; `export parseGridFile(j)`; `export parseNationalIndex(j)`; `export parseNationalTile(j, key)`; `export tileDistance(t, tileM, e, n)`; `export mergeSubstations(fromFile, fromIndex)`; `export nearSet(model, origin, pos = [0, 0], within = NEAR_M)`; `export marker(x, y, z, o)`; `export compound(x, y, cls, heightAt, o = [0, 0, 0])`; `export towerGrounds(towers, measuredAt, heightAt)`; `export measuredSpans(towers, measuredAt)`; `export roundClearance(v)`; `export judged(c)`; `export clearanceStatus(model, clearances)`; `export buildGrid(model, origin, heightAt, buildOverhead, measuredAt = heightAt, near = null, shown = null)`; `export createGrid()`; `finite(h, d = 0)`; `isPt(p)`; `substations(Array.isArray(j.substations) ? j.substations : [])`; `P(dx, dy, up)`; `L(a, b)`; `fmt(c)`; `straightGround(towers, x, y)`; `local(e, n)` (and 8 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [400kV, 275kV, 220kV, 132kV, 66kV, 33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### National - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/layers/national.mjs (JavaScript, 396 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/layers/national.mjs#L1-L396 - Page: https://code.globalgrid2050.com/explore-code/s/0186.html#f1 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that works with 33kV, 400kV, 275kV and 132kV, using SHA-256. It rebuilds step (`rebuildStep`), starts near (`startNear`) and loads index (`loadIndex`). - What it achieves (comment): Roads, mainline railways, overhead lines with their towers, and every substation in Great Britain, from GridAtlas's national files (OpenStreetMap, ODbL), cut into 10 km tiles by `tools/features/cut_national.py`. Its code works with 33 kV, 132 kV and 275 kV. - What it does: It calculates 33kV, 400kV, 275kV and 132kV. Defines 34 functions or classes, including rebuildStep, styleClass, voltageClass, clipToCircle, boxDist. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV, 400kV, 275kV, 132kV, 220kV, 66kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV, 33kV. - Signatures: `export rebuildStep(rangeM)`; `export styleClass(kv)`; `export voltageClass(kv)`; `export clipToCircle(ax, ay, bx, by, cx, cy, r)`; `export boxDist(x, y, b)`; `export wantedFiles(squares, tiles, kinds, e, n, r)`; `export boxOf(p)`; `export buildNational(tiles, v, ground, lib, memo = new Map())`; `export createNational()`; `zAt(x, y)`; `h(x - v.x)`; `out(g)`; `seg(a, ax, ay, az, bx, by, bz)`; `r2(x, y)`; `skip(p, tx, ty)`; `run(a, ax, ay, bx, by, lift, side = 0)`; `pieces(ax, ay, bx, by)`; `polyline(a, p, tx, ty, lift, from = 0, to = p.length / 2 - 1, twin = false)`; `plainLift(cls)`; `power(f, tx, ty, id)`; `isNear(t)`; `flush()`; `substation(f, tx, ty)`; `zero()`; `startNear(farNext, gv, t, why)` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 220kV, 132kV, 66kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Lines - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/lines.mjs (JavaScript, 180 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/lines.mjs#L1-L180 - Page: https://code.globalgrid2050.com/explore-code/s/0186.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that splits batches (`splitBatches`), calculates planar distances and renders with WebGL. - What it achieves (comment): It splits batches (`splitBatches`) and is built from the offset of helper (`offsetOf`) and the occluder mesh helper (`occluderMesh`). Line renderer: raw WebGL 1, flat colour, lines fade with distance. It responds to webglcontextlost and webglcontextrestored events. - What it does: It draws its content. Defines 8 functions or classes, including offsetOf, splitBatches, occluderMesh, put, occluderFollower. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 2 files: Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export CURVATURE_PER_M2(1 - 0.13)`; `export offsetOf(origin, eye)`; `export splitBatches(batches)`; `export occluderMesh(heightAt, x, y, { cell = 8, radius = 400, sink = 0.5, key = 'occluder', version } = {})`; `export occluderFollower({ every = 64, ...opts } = {})`; `export createLines(canvas, { onRestore = () => {} } = {})`; `put(i, j)`; `init()`; `bind(b, data)`; `release(key)`; `setBackdrop(fn)`; `resize(nextScale)`; `draw(matrix, eye, fade, batches, target)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### LV DC Sizing - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/lv-dc-sizing.mjs (JavaScript, 398 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/lv-dc-sizing.mjs#L1-L398 - Page: https://code.globalgrid2050.com/explore-code/s/0187.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, using IEC 60287 and IEC 60287-1-1. - What it achieves (comment): It is built from the rdc step (`rdc`), the rac step (`rac`) and the build step (`build`). LV AC and 1.5 kV DC PV cable sizing, with our own code and editable inputs. Its code works with 1 kV. - What it does: It calculates cables. Defines 27 functions or classes, including rdc, rac, build, adiabaticK, air. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 1.5kV, 1kV. - Inputs & outputs: Voltage levels named: 1.5kV, 1kV. - Downstream impact: Used directly by 2 files: Cmd Trench (globalgrid2050); Hud Checks (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export rdc(area, t, cable)`; `export rac(area, t, cable, { freq = 50, spacingMm = null } = {})`; `export build(area, cable)`; `export adiabaticK(metal, ti = 90, tf = 250)`; `export nuCylinder(ra, pr = 0.71)`; `export airLoss(dM, ts, ta, { emissivity = 0.9, solarWm2 = 0, absorptivity = 0.6 } = {})`; `export annulusLoss(di, dOut, ti, to, { e1 = 0.9, e2 = 0.9 } = {})`; `export bundleFactor(m)`; `export trefoilRow(n, spacingM, depthM, odMm)`; `export row(n, spacingM, depthM)`; `export rating(spec)`; `export operatingC(ratingResult, I)`; `export chooseIn(Ib, { device = 'mccb', adjustable = false, setStep = 5, ratings = PREFERRED } = {})`; `export coordinate({ Ib, In, Iz, device = 'mccb', overloadLimit = 1.45 })`; `export voltDrop({ dc = false, I, lengthM, r, x = 0, U, pf = 1 })`; `export reactance(area, cable, { freq = 50, spacingMm = null, flat = false } = {})`; `export faultArea(metal, kA, seconds, ti = 90, tf = 250)`; `export stringCircuit(opts = {})`; `export inverterCircuit(opts = {})`; `export minSpacing(o)`; `xs4(8 * PI * freq / r * 1e-7)`; `air(tC)`; `lc(dOut - di)`; `x(c - (n - 1) / 2)`; `mutualT(rho, p, q)` (and 6 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [1.5kV, 1kV] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Module Catalogue - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/module-catalogue.mjs (JavaScript, 103 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/module-catalogue.mjs#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/0187.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, using IEC 62548-1. It checks catalogue (`checkCatalogue`) and splits row (`splitRow`). - What it achieves (comment): The generic module catalogue (`data/modules.json`): schema check, the cell grid of a class, the cold open-circuit voltage, and the string and table counts a class gives on a table face. - What it does: It calculates cables. Defines 14 functions or classes, including NUM, checkCatalogue, classOf, nominal, highestVoc. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 7 files: Cmd Derive (globalgrid2050); Module Mount (globalgrid2050); String Design (globalgrid2050); LV DC Sizing (globalgrid2050); and 3 more. Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export checkCatalogue(doc)`; `export classOf(doc, id)`; `export nominal(c)`; `export highestVoc(c)`; `export splitRow(c)`; `export sizeM(c)`; `export cellGrid(c)`; `export vocAt(c, tC, bin = nominal(c))`; `export coldVocOf({ voc, coeffPctPerK, tC })`; `export coldVoc(c, tC, bin = highestVoc(c))`; `export modulesPerString(c, coldC, systemV = 1500)`; `export faceFit(c, spanM, runM, gapM = 0.02, orient = 'portrait')`; `export countsFor(c, faces, coldC, systemV = 1500)`; `NUM(v)`; `gapT(lL - rows * ch - splitGap)`; `s0(W - lW)`; `tOf(r)`; `split(tOf(half) - splitGap / 2 - gapT / 2)`; `fit(a, b)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### Module Geometry - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/module-geometry.mjs (JavaScript, 126 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/module-geometry.mjs#L1-L126 - Page: https://code.globalgrid2050.com/explore-code/s/0187.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables. It places module (`placeModule`) and is built from the sub step (`sub`) and the cross step (`cross`). - What it achieves (comment): One module drawn from its catalogue class and the table face it sits on, level by level. - What it does: It calculates cables. Defines 16 functions or classes, including sub, cross, unit, gridOf, placeModule. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 2 files: Module Mount (globalgrid2050); Module View (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export placeModule(face, row, col, c)`; `export moduleCount(face, c)`; `export moduleLines(M, c, level, out, base, grow = {}, info = null)`; `export levelCost(c)`; `sub(a, b)`; `cross(a, b)`; `unit(a)`; `gridOf(c)`; `s0(face.span - (fit.columns * (ds + g) - g))`; `pt(fs, ft, h = 0)`; `P(fs, ft, h)`; `seg(a, b)`; `line(s0, t0, s1, t1, h)`; `rect(s0, t0, s1, t1, h)`; `box(s0, t0, s1, t1, h0, h1)`; `use(name)`; `lead(s0, t, len, dir, end)`; `mid(s0 + s1)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Module View - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/module-view.mjs (JavaScript, 161 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/module-view.mjs#L1-L161 - Page: https://code.globalgrid2050.com/explore-code/s/0188.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with solar. - What it achieves (comment): It is built from the lerp3 step (`lerp3`), the block faces helper (`blockFaces`) and the plant faces helper (`plantFaces`). Which modules are drawn in detail, and how far each has opened, from where the viewer looks. - What it does: It calculates solar. Defines 16 functions or classes, including lerp3, blockFaces, at, plantFaces, c. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Module Mount (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export blockFaces(built)`; `export plantFaces(r)`; `export faceBox(f)`; `export faceGrid(faces, cell = CELL_M)`; `export facesNear(grid, eye, r = ENTER_M[0] * LEAVE)`; `export centresOf(f, c)`; `export levelAt(d, prev = 0)`; `export choose(faces, eye, dir, c, prev = new Map(), cache = new Map(), cap = CAP)`; `export hitModule(picks, c, origin, dir)`; `export builtStringLength(face, { block = null, plant = null } = {})`; `lerp3(A, B, C, D, a, b)`; `at(u, v)`; `c(u, v, z)`; `face(key, A, B, C, D, k)`; `boxDist(b, e)`; `rayTri(o, d, a, b, c)`; `t(e2[0] * q[0] + e2[1] * q[1] + e2[2] * q[2])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Nav Chips - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/nav-chips.mjs (JavaScript, 57 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/nav-chips.mjs#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0188.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with chip strip (`chipStrip`) and history step (`historyStep`). - What it achieves (comment): It is built from the esc step (`esc`), the chip strip helper (`chipStrip`) and the chip HTML helper (`chipHtml`). The breadcrumb bar and the phone chip strip, as data and as markup; the keys that move between levels; and what the browser history should do on each move. - What it does: It calculates its inputs. Defines 7 functions or classes, including esc, chipStrip, chipHtml, keyMove, historyStep. - Why it exists in the grid workflow: Domain stage field_execution (path word 'nav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `export chipStrip(path, { phone = false } = {})`; `export chipHtml(strip, { phone = false } = {})`; `export keyMove(key, path)`; `export historyStep(from, to)`; `export pathFromLocation(hash)`; `esc(s)`; `depth(p)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Nav Flight - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/nav-flight.mjs (JavaScript, 178 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/nav-flight.mjs#L1-L178 - Page: https://code.globalgrid2050.com/explore-code/s/0188.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that picks block (`pickBlock`), fits view (`fitView`) and calculates planar distances and angles. It picks block (`pickBlock`) and fits view (`fitView`). - What it achieves (comment): Flying about the plant: the start view that frames it all, the camera for each level, which block a tap is on, whether a flight may glide instead of the far-place origin jump, and a descent that eases through log(height). Its code works with 500 MW. - What it does: It calculates its inputs. Defines 24 functions or classes, including ease, clamp, turn, boxCentre, boxGrow. - Why it exists in the grid workflow: Domain stage field_execution (path word 'nav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 2 files: Plant UI (globalgrid2050); Substrate (globalgrid2050). Reached from 1 other entry point, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/). - Signatures: `export boxCentre(b)`; `export boxGrow(b, m)`; `export inBox(b, x, y)`; `export boxOfPoints(pts)`; `export blockSlices(stations)`; `export blockBox(tables, slice, toLocal, lenU, depth)`; `export pickBlock(blocks, x, y, tolM = 0)`; `export fitView(box, { fovy = 70 * DEG, aspect = 16 / 9, pitch = -45 * DEG, margin = 1.1, minDistance = 50, yaw = null } = {})`; `export plantView(plantBox, screen = {})`; `export blockView(box, screen = {})`; `export rowView(start, end)`; `export tableView(centre, facing)`; `export stringStand(centre, facing, blocked = () => false)`; `export glides(from, to, plantBox, { jumpM = JUMP_M, toM = 500, reachM = 7000 } = {})`; `export flightSeconds(h0, h1, d = 0)`; `export descend(state, target, opts = {})`; `ease(u)`; `clamp(v, a, b)`; `turn(from, to)`; `screenOf(px, py, cx, cy, yaw, pitch, distance, tv, th)`; `fits(a, D)`; `need(a)`; `finished(t)`; `pose(t)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Nav Path - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/nav-path.mjs (JavaScript, 172 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/nav-path.mjs#L1-L172 - Page: https://code.globalgrid2050.com/explore-code/s/0188.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that converts to hash (`toHash`). - What it achieves (comment): It parses nav (`parseNav`) and is built from the whole step (`whole`) and the lower step (`lower`). Where the viewer is in the plant: Plant > Block > Row > Table > String. - What it does: It lists and searches its content. Defines 16 functions or classes, including whole, lower, clean, levelOf, up. - Why it exists in the grid workflow: Domain stage field_execution (path word 'nav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Nav Chips (globalgrid2050). - Signatures: `export clean(p = {})`; `export levelOf(p)`; `export up(p)`; `export samePath(a, b)`; `export toHash(p)`; `export fromHash(hash)`; `export crumbs(p)`; `export crumbText(p)`; `export normalise(p, counts)`; `export parseNav(line)`; `export resolve(cmd, current = PLANT)`; `export fromGoArg(arg)`; `export navigate(line, current, counts)`; `whole(v)`; `lower(k)`; `range(where, what, n)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pack Check - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/pack-check.mjs (JavaScript, 254 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/pack-check.mjs#L1-L254 - Page: https://code.globalgrid2050.com/explore-code/s/0189.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that imports refusal (`importRefusal`) and creates bus (`createBus`), using SHA-256. It validates pack (`validatePack`), imports refusal (`importRefusal`) and imports text (`importText`). - What it achieves (comment): The checks and parts of the layer pack loader (contract world.pack.v1): validation of `pack.json`, the API, import and shape refusals, hashing and importing, the event bus, fixed steps and reading a pack folder. - What it does: It fetches data. Defines 19 functions or classes, including isObj, str, safePath, validatePack, need. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file pack.json. - Downstream impact: Used directly by 1 file: Pack Loader (globalgrid2050). - Signatures: `export isObj(v)`; `export str(v, max = 200)`; `export safePath(p)`; `export validatePack(p)`; `export apiRefusal(need, world = API)`; `export importRefusal(text)`; `export normalise(text)`; `export sha256Text(text, subtle = globalThis.crypto?.subtle)`; `export importText(text)`; `export createBus({ onError = () => {}, clone = globalThis.structuredClone, maxDepth = 16 } = {})`; `export advance(acc, dt, fixed = FIXED_DT, max = MAX_SUBSTEPS)`; `export getText(fetchImpl, url)`; `export readPack(from, { base, fetchImpl = (u, o) => fetch(u, o) } = {})`; `export shapeRefusal(mod, pack)`; `need(ok, why)`; `on(name, fn)`; `emit(name, payload)`; `scoped(id, declared = {})`; `offAll()`; `deepFreeze(o)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file pack.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pack Loader - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/pack-loader.mjs (JavaScript, 240 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/pack-loader.mjs#L1-L240 - Page: https://code.globalgrid2050.com/explore-code/s/0189.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that creates pack host (`createPackHost`), using SHA-256. - What it achieves (comment): It creates pack host (`createPackHost`) and is built from the off step (`off`) and the guard step (`guard`). Loads layer packs into a world, contract world.pack.v1 (see `CONTRACT.md` beside this folder). - What it does: It fetches data. Defines 18 functions or classes, including createPackHost, off, guard, add, refuse. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Packs Mount (globalgrid2050). - Signatures: `off(item, why)`; `guard(item, hook, fn)`; `add(pin)`; `refuse(why)`; `load(id)`; `setOn(item, on)`; `toggle(id, on)`; `live()`; `frame(ctx = {})`; `step(realDt, ctx = {})`; `active()`; `command(line, io = { say: () => {} })`; `key(k, io)`; `panel()`; `help()`; `dispose(id)`; `disposeAll()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Packs Mount - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/packs-mount.mjs (JavaScript, 112 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/packs-mount.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0189.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that shows hud (`showHud`), using SHA-256. - What it achieves (comment): It shows hud (`showHud`) and is built from the pack key allowed helper (`packKeyAllowed`) and the typing step (`typing`). Layer packs in the world (contract world.pack.v1; `pack-loader.mjs`). It responds to keydown and click events. - What it does: It draws its content. Defines 12 functions or classes, including packKeyAllowed, typing, packCtx, keyName, mountPacks. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `export packKeyAllowed(k)`; `export packCtx(state, heightAt, groundVersion)`; `export keyName(e)`; `export mountPacks({ api, world = globalThis.window?.world, doc = document, manifestUrl = new URL('./manifest.json', import.meta.url).hr...)`; `typing(t)`; `kick()`; `bound()`; `showHud(lines)`; `render()`; `panelRoot()`; `attach()`; `watch()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Pick - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/pick.mjs (JavaScript, 55 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/pick.mjs#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/0189.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that snaps to grid (`snapToGrid`) and calculates planar distances. It picks ground (`pickGround`) and snaps grid (`snapToGrid`). - What it achieves (comment): Picking: which point on the ground is under a pixel. - What it does: It calculates its inputs. Defines rayFromScreen, pickGround, below, snapToGrid, snap. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 4 files: Module Mount (globalgrid2050); Single-Line Diagram (SLD) Mount (globalgrid2050); Build UI (globalgrid2050); Design UI (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export rayFromScreen(px, py, width, height, eye, yaw, pitch, fovy)`; `export CURV(1 - 0.13)`; `export pickGround(ray, groundAt, { maxDistance = 2000, step = 0.5, curv = CURV } = {})`; `export snapToGrid(point, spacing)`; `nx(2 * px)`; `below(t)`; `mid(lo + hi)`; `t(lo + hi)`; `snap(v)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Pile Rules - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/pile-rules.mjs (JavaScript, 120 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/pile-rules.mjs#L1-L120 - Page: https://code.globalgrid2050.com/explore-code/s/0190.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with tracker hub (`trackerHub`) and reveal band (`revealBand`), covering solar. - What it achieves (comment): It is built from the rules for helper (`rulesFor`), the reveal at helper (`revealAt`) and the tracker hub helper (`trackerHub`). The one set of pile rules shared by the pile row tool (`piles.mjs`), the plant layout (`plant-piles.mjs`) and the solar block (`block-build.mjs`), with two profiles: fixed tilt and single-axis tracker. - What it does: Defines 8 functions or classes, including rulesFor, revealAt, trackerHub, revealBand, heightFlags. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 6 files: Block Build (globalgrid2050); Piles (globalgrid2050); Plant Pack (globalgrid2050); Plant Piles (globalgrid2050); and 2 more. Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export rulesFor(system)`; `export revealAt({ lowEdgeM, rise, f, railDepthM = PILE_RULES.railDepthM })`; `export trackerHub(R = TRACKER_RULES)`; `export revealBand(nominal, rules = PILE_RULES)`; `export heightFlags(reveal, design, rules = PILE_RULES)`; `export withSoil(rules, soil)`; `export tableLines({ lowEdgeM, rise, posts = 2, eastWest = false, tracker = false, rules = PILE_RULES })`; `export twistDeg(bFront, bRear, len, depth, dz = 0)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### Plant Central - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-central.mjs (JavaScript, 46 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/plant-central.mjs#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/0190.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with transformers. It is built from the central items helper (`centralItems`) and the item solids helper (`itemSolids`). - What it achieves (comment): What a central-inverter plant adds to the drawing. - What it does: It calculates transformers. Defines centralItems, itemSolids. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers. - Downstream impact: Used directly by 1 file: Plant UI (globalgrid2050). - Signatures: `export centralItems(r)`; `export itemSolids(kind, at = [0, 0, 0], id = kind, heading = 0)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Plant Ground - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-ground.mjs (JavaScript, 95 lines) · role geodesy · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/plant-ground.mjs#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/0190.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that creates site ground (`createSiteGround`), using SHA-256. - What it achieves (comment): It creates site ground (`createSiteGround`) and is built from the start step (`start`) and the site step (`site`). The measured ground under a whole plant boundary, and the mapped water beside it. Its code works with 500 MW. - What it does: It calculates its inputs. Defines 12 functions or classes, including createSiteGround, start, site, extent, loadFor. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Block UI (globalgrid2050); Plant UI (globalgrid2050). - Signatures: `export createSiteGround({ manifestUrl = './world/manifest.json', fetchImpl } = {})`; `start()`; `cfg(manifest.layers || [])`; `site()`; `extent({ ring = false } = {})`; `loadFor({ e0, n0, e1, n1 }, onTile = () => {}, { ring = false } = {})`; `hit(s)`; `ringAt(e, n)`; `heightAt(e, n)`; `s(t.samples - 1)`; `sampler()`; `ringShare()`; `water()`; `survey()` - VEDIC: HEIGHT (GG2050-VEDIC-000011): Solar Design Studio / LiDAR · Mathematics / Raster sampling. bng_easting_m, bng_northing_m -> height_receipt_or_null - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Plant Layout - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-layout.mjs (JavaScript, 374 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/plant-layout.mjs#L1-L374 - Page: https://code.globalgrid2050.com/explore-code/s/0190.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that maps overhead lines (OHL), solar and substations. - What it achieves (comment): It is built from the table geometry helper (`tableGeometry`), the frame of helper (`frameOf`) and the inside step (`inside`). A solar plant laid out on measured ground inside a drawn boundary, from generic rules. Its code works with 33 kV and 5000 MW. - What it does: It maps overhead lines (OHL), solar and substations. Defines 23 functions or classes, including tableGeometry, frameOf, inside, segDist, edgeDist. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL), solar, substations, 33kV. - Inputs & outputs: Out: interactive map. Voltage levels named: 33kV. - Downstream impact: Used directly by 3 files: Build Rules (globalgrid2050); Cmd Model (globalgrid2050); Plant UI (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export tableGeometry(layout, p, tpl)`; `export frameOf(layout)`; `export inside(poly, x, y)`; `export edgeDist(poly, x, y)`; `export polyArea(poly)`; `export waterIndex(lines, reach, cell = 64)`; `export layoutSteps(input)`; `export layoutPlant(input)`; `export layoutPlantAsync(input, { sliceMs = 12, onProgress = () => {}, now = () => performance.now(), pause } = {})`; `segDist(x, y, ax, ay, bx, by)`; `nearestEdge(poly, x, y)`; `byFields(o.packing ?? LAYOUT_DEFAULTS.packing)`; `tplOf(mw)`; `g(u, v)`; `water(input.water || [])`; `inOhl(u, v)`; `us(us0 + us1)`; `inCompound(ua, ub, va, vb)`; `inAccess(ua, ub, va, vb)`; `avoid(input.avoid || [])`; `alongPts(ua, ub, vs)`; `stretchAt(va, vb, fi = -1)`; `consider(ua, ub, va, vb, m)`; `um(ua + ub)`; `gu(e5 - w5)` (and 5 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [interactive map]; crs []; voltages [33kV] - Edges: uses 6 estate files (import 6); used by 3; mentioned by 0 ### Plant Lod - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-lod.mjs (JavaScript, 224 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/plant-lod.mjs#L1-L224 - Page: https://code.globalgrid2050.com/explore-code/s/0191.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that runs outline (`runOutline`), converts to group (`toGroup`) and calculates planar distances. It runs outline (`runOutline`) and creates lod (`createLod`). - What it achieves (comment): A large plant drawn from its pack (`plant-pack.mjs`) at the detail the distance allows. - What it does: It calculates its inputs. Defines 19 functions or classes, including plantLevel, cellLevel, boxDistance, surfaceOf, outlineOf. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Plant UI (globalgrid2050). - Signatures: `export plantLevel(h, prev = null)`; `export cellLevel(dist, prev = 1, bands = CELL_BANDS)`; `export boxDistance(p, [x0, y0, z0, x1, y1, z1])`; `export moduleGridOf(pack, i, v, base)`; `export runsOf(pack, ids)`; `export hull(pts)`; `export createLod(pack, { colours, release = () => {}, onPending = () => {}, extra = null, maxBytes = 24 << 20, now = () => performance...)`; `surfaceOf(pack, i)`; `s(a + L)`; `z(1 - t)`; `outlineOf(pack, i, v, base)`; `seg(a, b)`; `runOutline(pack, run, v, base)`; `cellBox(c)`; `get(key, base, colour, fill)`; `evict()`; `K(s)`; `batches(eye, toOrigin)`; `toGroup(c)`; `dispose()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Plant Pack - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-pack.mjs (JavaScript, 154 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/plant-pack.mjs#L1-L154 - Page: https://code.globalgrid2050.com/explore-code/s/0191.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with pack plant (`packPlant`) and index pack (`indexPack`) (units: MW, MVA). - What it achieves (comment): It indexes pack (`indexPack`), encodes pack (`encodePack`) and decodes pack (`decodePack`). A laid-out plant as a compact pack, the one source every overview level is drawn from. Its code works with 500 MW. - What it does: Defines 10 functions or classes, including axesOf, cornersOf, packPlant, allocate, graphOf. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Plant Lod (globalgrid2050); Plant UI (globalgrid2050). - Signatures: `export axesOf(h)`; `export cornersOf(pack, i)`; `export packPlant(r, { surface = null } = {})`; `export indexPack(pack, cellM = CELL_M)`; `export cellTables(pack, c)`; `export encodePack(pack)`; `export decodePack(buf)`; `export packSize(pack)`; `allocate(n, origin, types)`; `graphOf(r, origin)`; `feeders(r.electrical?.feeders || [])`; `pad(4 - ((12 + head.length) % 4))` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Plant Packing - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-packing.mjs (JavaScript, 137 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/plant-packing.mjs#L1-L137 - Page: https://code.globalgrid2050.com/explore-code/s/0191.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with seg dist (`segDist`) and inside poly (`insidePoly`) and calculates planar distances. - What it achieves (comment): It is built from the seg dist helper (`segDist`), the inside poly helper (`insidePoly`) and the fields of helper (`fieldsOf`). How the tables of a plant fill its land. - What it does: It calculates its inputs. Defines 10 functions or classes, including segDist, insidePoly, fieldsOf, fieldSet, within. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Plant Layout (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export fieldsOf(boundary)`; `export fieldSet(polys, { fenceSetbackM, hedgeSetbackM = fenceSetbackM })`; `export slice(poly, v)`; `export packFields(c)`; `segDist(x, y, ax, ay, bx, by)`; `insidePoly(poly, x, y)`; `within(f, u, v)`; `okIn(i, u, v)`; `intersect(A, B)`; `fits(L)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Plant Piles - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-piles.mjs (JavaScript, 204 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/plant-piles.mjs#L1-L204 - Page: https://code.globalgrid2050.com/explore-code/s/0192.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with ls slope (`lsSlope`) and plan tables (`planTables`). - What it achieves (comment): It is built from the ls slope helper (`lsSlope`), the plan tables helper (`planTables`) and the clear step (`clear`). The piles of every table of a laid-out plant (`plant-layout.mjs`), fixed tilt or single-axis tracker, worked out automatically on the measured ground. - What it does: It calculates its inputs. Defines 18 functions or classes, including lsSlope, planTables, gq, gs, at. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 3 files: Build Geom (globalgrid2050); Plant Layout (globalgrid2050); Plant UI (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export planTables(tablesIn, { groundAt, system = 'fixed', posts = 2, rules, along = 'ew', pileSpacing, railDepthM } = {})`; `export gradingSuggestions(tables, { rules = PILE_RULES, key = t => t.T.key } = {})`; `export pileSummary(res, { mwp = 0, rules = res.rules || PILE_RULES } = {})`; `export pileBoqItems(id, s, pileType = 'plant')`; `export layoutTables(r)`; `export pilesForLayout(r, groundAt, { posts = 2, rules, soil, mwp = r.built?.mwp ?? 0 } = {})`; `lsSlope(s, g)`; `gq(e, n)`; `gs(e, n)`; `at(f, v)`; `dd(lines[1].f - lines[0].f)`; `sm(f)`; `clear(f)`; `tableResult(T, lines, lr, twist, extra, R, tracker)`; `surf(i, ff)`; `has(f)`; `act(t)`; `acts(a)`; `pct(h)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 3; mentioned by 0 ### Plant Template - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-template.mjs (JavaScript, 265 lines) · role electrical · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/plant-template.mjs#L1-L265 - Page: https://code.globalgrid2050.com/explore-code/s/0192.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with transformers, cables, solar and 33kV, using IEC 60287 and IEC 60949. - What it achieves (comment): It sizes feeder (`sizeFeeder`) and is built from the auto poc kV helper (`autoPocKv`) and the module cold voc helper (`moduleColdVoc`). A generic, parameterised solar plant block diagram, sized from engineering rules. Its code works with 33 kV, 10 MVA and 5000 kVA. - What it does: It calculates transformers, cables, solar and 33kV. Defines 17 functions or classes, including up, r3, autoPocKv, moduleColdVoc, modulesPerString. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, cables, solar, 33kV, 400kV, 1500V. - Inputs & outputs: Voltage levels named: 400kV, 33kV, 1500V. - Downstream impact: Used directly by 5 files: Block MV (globalgrid2050); Single-Line Diagram (SLD) Plant (globalgrid2050); Cmd Model (globalgrid2050); Plant Layout (globalgrid2050); and 1 more. Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export autoPocKv(mw)`; `export moduleColdVoc(p)`; `export modulesPerString(p)`; `export faultMinArea(kA, s)`; `export plantTemplate(opts = {})`; `export gridChoice(mw, total, fixedUnits = null, feeders = [])`; `export pack(feeders, n)`; `export layoutDiagram(d)`; `up(steps, v)`; `r3(v)`; `node(id, kind, label, rating = {})`; `link(from, to, kind, kv, mva, extra = {})`; `check(name, value, max, min = -Infinity)`; `maxLoad(n)`; `L(i)`; `sizeFeeder(chain, p, cableOpts, minArea)`; `drop()`; `mid(Math.max(0, ...[...pos.values()].map(v => v.x)))` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 33kV, 1500V] - Edges: uses 2 estate files (import 2); used by 5; mentioned by 0 ### Plant UI - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-ui.mjs (JavaScript, 342 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/plant-ui.mjs#L1-L342 - Page: https://code.globalgrid2050.com/explore-code/s/0193.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that draws ground (`drawGround`), sets boundary (`setBoundary`), builds lines (`buildLines`) and calculates planar distances (units: MW, kV). - What it achieves (comment): It creates plant (`createPlant`), draws ground (`drawGround`) and sets boundary (`setBoundary`). Design > Plant layout. The user draws a boundary (the Boundary tool, or the open land around them), picks a capacity and a layout, and the plant is laid out on the measured ground (`plant-layout.mjs`), in slices between frames. Its code works with 33 kV and 500 MW. It responds to click events. - What it does: It draws overhead lines (OHL), substations and transformers. Defines 29 functions or classes, including PAUSE, createPlant, $, say, measured. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL), substations, transformers, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Design Sections (globalgrid2050). - Signatures: `export createPlant({ doc, origin, viewer, measuredAt, heightAt, assets = () => [], nearest = null, redraw, release = () => false, ohlZon...)`; `PAUSE()`; `$(id)`; `say(msg, warn = false)`; `measured(fn)`; `drawGround(e, n)`; `formParams()`; `withForm(q = {})`; `setBoundary(path)`; `useOpenLand(params = {})`; `run(params = {})`; `drawPlant(r)`; `buildLines(r, { tables: withTables = true } = {})`; `make()`; `put(L, e, n, z)`; `seg(L, a, b)`; `at(u, v, dz = 0)`; `path(L, pts, dz = 0.05, step = 10)`; `all(r.piles?.summary.piles || 0)`; `c(u, v, z)`; `vm(va + vb)`; `place(kind, u, v, id)`; `w(pc.c > 1 ? 0.8 : 0.45)`; `batches()`; `pilesAuto(opts = {})` (and 8 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 13 estate files (import 13); used by 1; mentioned by 0 ### Procedural Detail - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/procedural-detail.mjs (JavaScript, 114 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/procedural-detail.mjs#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/0193.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that generates table (`generateTable`) and converts to local float32 (`toLocalFloat32`). - What it achieves (comment): It generates table (`generateTable`) and is built from the plant record helper (`plantRecord`) and the groups per row helper (`groupsPerRow`). Procedural table detail: every module corner, string and pile of one table generated from its key. - What it does: It calculates its inputs. Defines 15 functions or classes, including plantRecord, groupsPerRow, stringsPerTable, modulesPerTable, pilesPerTable. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Keyset (globalgrid2050). - Signatures: `export plantRecord({ seed = 20260927, headingDeg = 0, table = {} } = {})`; `export groupsPerRow(p)`; `export stringsPerTable(p)`; `export modulesPerTable(p)`; `export pilesPerTable(p)`; `export tableInts(p)`; `export tableBytes(p)`; `export moduleAddress(p, n)`; `export generateTable(p, addr, anchor)`; `export moduleCorners(p, buf, n)`; `export pile(p, buf, n)`; `export stringModules(p, s)`; `export toLocalFloat32(buf)`; `fl(a, b)`; `place(p, ax, ay, lx, ly)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Procedural Key - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/procedural-key.mjs (JavaScript, 82 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/procedural-key.mjs#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/0193.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with fnv1a bytes (`fnv1aBytes`) and fnv1a int32 (`fnv1aInt32`). - What it achieves (comment): It parses key (`parseKey`) and is built from the fnv1a step (`fnv1a`) and the fnv1a bytes helper (`fnv1aBytes`). Stable keys and the seeded draw for procedural detail (Kuiper style: computed on arrival, never stored). - What it does: Defines 14 functions or classes, including fnv1a, fnv1aBytes, fnv1aInt32, mulberry32, unit. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Procedural Detail (globalgrid2050). - Signatures: `export fnv1a(str, h = FNV_OFFSET)`; `export fnv1aBytes(bytes, h = FNV_OFFSET)`; `export fnv1aInt32(arr, h = FNV_OFFSET)`; `export mulberry32(seed)`; `export unit(u32)`; `export intIn(u32, lo, hi)`; `export rowKey({ k, s, j, r })`; `export tableKey(a)`; `export stringKey(tKey, n)`; `export moduleKey(tKey, n, m)`; `export parseKey(key)`; `export detailSeed(plantSeed, key, kind = 'detail')`; `export mm(metres)`; `int(v, name)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Senses Mount - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/senses-mount.mjs (JavaScript, 84 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/senses-mount.mjs#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/0193.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that calculates planar distances and draws SVG graphics. - What it achieves (comment): It is built from the typing step (`typing`), the mount senses helper (`mountSenses`) and the walking step (`walking`). The jump (Space in Walk) and the binoculars switch (B), mounted just after the first frame. It responds to keydown, keyup and blur events. - What it does: It draws its content. Defines 10 functions or classes, including typing, mountSenses, walking, go, jump. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: SVG drawing. - Signatures: `export mountSenses({ api, world, doc = document })`; `typing(t)`; `walking()`; `go()`; `jump()`; `land()`; `load()`; `mark()`; `set(on)`; `toggle()`; `binoculars({ on, zoom, range })` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 1, dynamic-import 1); used by 0; mentioned by 0 ### Site Checks - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/site-checks.mjs (JavaScript, 48 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/site-checks.mjs#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0193.html#f5 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with solar. - What it achieves (comment): It is built from the day of helper (`dayOf`), the survey check helper (`surveyCheck`) and the survey note helper (`surveyNote`). A date field as a sortable day number (ms since 1970); '2020', '2020-11' and '' are all read. - What it does: It calculates solar. Defines dayOf, surveyCheck, surveyNote, sourceConflict. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Plant Layout (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export dayOf(v)`; `export surveyCheck(s = {})`; `export surveyNote(s)`; `export sourceConflict(values = [], { tolerance = 0.1, unit = '' } = {})` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Single-Line Diagram (SLD) Rules - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/sld-rules.mjs (JavaScript, 93 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/sld-rules.mjs#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/0194.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with cables, transformers, battery storage (BESS) and solar, using IEC 60502-2 and BS 7671. - What it achieves (comment): It groups factor (`groupFactor`) and is built from the economic size helper (`economicSize`) and the cost step (`cost`). The generic electrical rules the single-line diagram generator shares (`sld-plant.mjs`, `block-mv.mjs`, `sld-graph.mjs`): group factors for circuits sharing a trench, an economic step on top of the technical cable size, the switching and protection devices of each functional way. Its code works with 33 kV. - What it does: It calculates cables, transformers, battery storage (BESS) and solar. Defines groupFactor, economicSize, cost, isolationChecks, zOf. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, transformers, battery storage (BESS), solar, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 12 files: Block MV (globalgrid2050); Single-Line Diagram (SLD) Calc (globalgrid2050); Single-Line Diagram (SLD) Graph (globalgrid2050); Single-Line Diagram (SLD) Plant (globalgrid2050); and 8 more. Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export groupFactor(n)`; `export economicSize(area, mva, lengthM, opts = {})`; `export isolationChecks(at = INVERTER_ISOLATION)`; `export zOf(mag, xr)`; `pw(1 - (1 + e.rate) ** -e.years)`; `cost(a)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 3 estate files (import 3); used by 12; mentioned by 0 ### Structure Presets - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/structure-presets.mjs (JavaScript, 72 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/structure-presets.mjs#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/0194.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that works with solar and transformers. - What it achieves (comment): It is built from the preset by id helper (`presetById`) and the preset text helper (`presetText`). Generic plant presets from an open-data study of large operational UK solar farms, typed as "preset " (or "structure "). Its code works with 3 MVA, 3 MW and 300 kVA. - What it does: It calculates solar and transformers. Defines presetById, presetText. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, transformers. - Downstream impact: Used directly by 3 files: Cmd Grammar Plant (globalgrid2050); Cmd Grammar (globalgrid2050); Cmd Model (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export presetById(id)`; `export presetText()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Structures - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/structures.mjs (JavaScript, 134 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/structures.mjs#L1-L134 - Page: https://code.globalgrid2050.com/explore-code/s/0194.html#f3 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that parses format (`parseFormat`) and formats name (`formatName`) and refusal (`formatRefusal`) (units: kVA), using IEC 62548-1. - What it achieves (comment): It parses format (`parseFormat`), formats name (`formatName`) and formats refusal (`formatRefusal`). The mounting structures the typed bar can build, and the structure checks they raise. - What it does: It lists and searches its content. Defines 11 functions or classes, including parseFormat, formatName, formatRefusal, tableShape, halfCols. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 4 files: Cmd Grammar (globalgrid2050); Cmd Model (globalgrid2050); Hud Checks (globalgrid2050); Plant Layout (globalgrid2050). Reached from 2 other entry points, including Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/); Substrate (globalgrid2050). - Signatures: `export parseFormat(w)`; `export formatName(tiers, orient, cols)`; `export formatRefusal(layout, tiers, orient)`; `export tableShape(p, mps, layout)`; `export halfCols(cols)`; `export pitchStretch({ depth, rise, elevDeg, fallN, maxStretch = 2 })`; `export winterNoonDeg(latDeg)`; `export structureById(id)`; `export catalogueText()`; `export mpptCap({ mppts = 12, stringsPerMppt = 2 } = {})`; `export structureChecks(f = {})`; `flat(depth * t + rise)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Substrate - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/substrate.mjs (JavaScript, 398 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/substrate.mjs#L1-L398 - Page: https://code.globalgrid2050.com/explore-code/s/0194.html#f4 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that sets origin (`setOrigin`), writes readout (`writeReadout`), opens panel (`openPanel`) and calculates planar distances (units: kV). - What it achieves (comment): It sets origin (`setOrigin`), writes readout (`writeReadout`) and opens panel (`openPanel`). The substrate: an empty world you can move around in. It reads `./world/data/attribution.json`. It responds to click, resize and close events. - What it does: It draws attribution, overhead lines (OHL), LiDAR terrain and substations. Defines 29 functions or classes, including $, fadeAt, tourPlaying, live, shown. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL), LiDAR terrain, substations. - Inputs & outputs: In: JSON file attribution.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Solar Design Studio — Site World Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609271853-site-world/). - Signatures: `$(id)`; `fadeAt()`; `tourPlaying()`; `live()`; `shown()`; `guarded(l, fn, fallback)`; `baseHeight(x, y)`; `measuredAt(x, y)`; `known(x, y)`; `groundSource(x, y)`; `heightAt(x, y)`; `solids()`; `invalidate({ ground = true } = {})`; `gridAssets()`; `subs(model.substations || [])`; `towers(model.lines || [])`; `knownTowers()`; `setOrigin(e, n)`; `playing()`; `target()`; `moving()`; `flyTo(x, y, opts = {})`; `draw(now, intervalMs)`; `t(now - arrival.t0)`; `collect(pos)` (and 9 more) - VEDIC: HEIGHT (GG2050-VEDIC-000011): Solar Design Studio / LiDAR · Mathematics / Raster sampling. bng_easting_m, bng_northing_m -> height_receipt_or_null - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file attribution.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 23 estate files (import 17, dynamic-import 6); used by 1; mentioned by 0 ### Table Solids - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/table-solids.mjs (JavaScript, 85 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/table-solids.mjs#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/0195.html#f1 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that creates index (`createIndex`). - What it achieves (comment): It creates index (`createIndex`) and is built from the edges of helper (`edgesOf`) and the face at helper (`faceAt`). Design tables as solids: land on a table's face when jumping (`jump.mjs` `supportAt`), never walk or fly through one (`views.mjs` blocked). Its code works with 500 MW. - What it does: It calculates its inputs. Defines 8 functions or classes, including edgesOf, faceAt, at, tableSlabs, createIndex. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `export tableSlabs(r, { hub = trackerHub().hub, strips = STRIPS } = {})`; `export createIndex(slabs, cell = CELL_M)`; `export boxesNear(slabs, near, origin, [x, y], radius = RADIUS_M)`; `export mountTableSolids({ api, plant, hub = trackerHub().hub })`; `edgesOf(r, q, hub)`; `faceAt(T, [Ea, Em, Eb], fu, fv)`; `at(E)`; `source(pos)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Views - File: globalgrid2050/solar-design-studio/202609271853-site-world/world/views.mjs (JavaScript, 74 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/solar-design-studio/202609271853-site-world/world/views.mjs#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/0195.html#f2 - Synopsis: A JavaScript module in the world folder of GlobalGrid2050 that calculates planar distances. - What it achieves (comment): It sets view (`setView`) and is built from the speed of helper (`speedOf`) and the fps of helper (`fpsOf`). Walk and drone, and one movement step. - What it does: It calculates its inputs. Defines 11 functions or classes, including speedOf, fpsOf, step, at, blocked. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 10 files: Xr Pose (globalgrid2050); Xr (globalgrid2050); Solar Design Studio — Site World V3 Page (globalgrid2050, https://globalgrid2050.com/solar-design-studio/202609270402-site-world-v3/); Substrate (globalgrid2050); and 6 more. Reached from 2 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/). - Signatures: `export speedOf(view, slow)`; `export fpsOf(view, slow)`; `export step(state, input, dt, heightAt, solids = [])`; `export blocked([x, y, z], body, solids)`; `export standOn(next, view, solids)`; `export look(state, dYaw, dPitch)`; `export setView(state, view, heightAt)`; `export toggle(current, wanted)`; `at(x, y, z)`; `clamp(v, a, b)`; `wrap(a)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 10; mentioned by 1 ### Layers Panel Policy - File: globalgrid2050/testcode/202609051848/teleprinter/layers-panel-policy.js (JavaScript, 19 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051848/teleprinter/layers-panel-policy.js#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/0195.html#f3 - Synopsis: A JavaScript module in the teleprinter folder of GlobalGrid2050 that works with collapse initial layers (`collapseInitialLayers`). - What it achieves (comment): It is built from the collapse initial layers helper (`collapseInitialLayers`) and the mount layers panel policy helper (`mountLayersPanelPolicy`). Extracted arrival policy: panel visibility is independent of engine layer state. - What it does: Defines collapseInitialLayers, mountLayersPanelPolicy. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Codex Layers Panel Policy Test (teleprinter); Teleprinter Bootstrap (globalgrid2050). - Signatures: `export collapseInitialLayers(doc = document)`; `export mountLayersPanelPolicy(doc = document)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Draw Readiness - File: globalgrid2050/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/draw-readiness.js (JavaScript, 32 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/draw-readiness.js#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/0195.html#f4 - Published at: https://globalgrid2050.com/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/ - Synopsis: A JavaScript file in the module layout folder of GlobalGrid2050. Served with the page at https://globalgrid2050.com/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/. - What it achieves (comment): It is built from the capable step (`capable`), the reflect step (`reflect`) and the guard step (`guard`). Separate guard for the original classic-script Module Layout runtime. It responds to click and pagehide events. - What it does: It draws its content. Defines capable, reflect, guard, attach, dispose. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/. - Signatures: `capable()`; `reflect()`; `guard(event)`; `attach()`; `dispose()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page - File: globalgrid2050/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/index.html (HTML, 92 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/index.html#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/0195.html#f5 - Published at: https://globalgrid2050.com/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/ - Synopsis: A web page in the layer apps folder of GlobalGrid2050 that reads inputs for ml total modules, ml module width and ml module height, covering cables. Published at https://globalgrid2050.com/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/. - What it does: It draws cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 9 estate files (script-src 4, link 3, stylesheet 2); used by 0; mentioned by 0 ### Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page - File: globalgrid2050/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/index.html (HTML, 508 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/index.html#L1-L508 - Page: https://code.globalgrid2050.com/explore-code/s/0195.html#f6 - Published at: https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/ - Synopsis: A web page in the layer apps folder of GlobalGrid2050 that reads inputs for loc, mod wp and mod, covering battery storage (BESS), cables, substations and 33kV. Published at https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/. - What it achieves (name): Its code works with 33 kV, 0.00 MVA and 132 kV. - What it does: It draws battery storage (BESS), cables, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), cables, substations, 33kV, 400kV, 275kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV. - Downstream impact: Used directly by 1 file: Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV] - Edges: uses 13 estate files (script-src 12, stylesheet 1); used by 1; mentioned by 0 ### Route State - File: globalgrid2050/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/route-state.js (JavaScript, 22 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/route-state.js#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0196.html#f2 - Published at: https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/ - Synopsis: A JavaScript file in the GIS SLD financial sandbox folder of GlobalGrid2050 that gets snapshot (`getSnapshot`). Served with the page at https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/. - What it achieves (comment): It gets snapshot (`getSnapshot`) and is built from the freeze step (`freeze`) and the clone step (`clone`). Read-only adapter for original GIS SLD route state. - What it does: It calculates its inputs. Defines freeze, clone, coordinate, getSnapshot. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (globalgrid2050, https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/); Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (testcode). Reached from 1 other entry point, including Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609052011/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/. - Signatures: `freeze(value)`; `clone(value)`; `coordinate(p)`; `getSnapshot()`; `routes(source.currentGeoJSON?.features||[])` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Reported Project Panel - File: globalgrid2050/testcode/202609060208/reported-project-panel.mjs (JavaScript, 18 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060208/reported-project-panel.mjs#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/0196.html#f3 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050. It shows reported project (`showReportedProject`). - What it achieves (name): Defines `showReportedProject`. - What it does: It draws its content. Defines showReportedProject. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `export showReportedProject(host, input)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Control Solar Daily MWh Chart - File: globalgrid2050/uk_energy_tracking_v6/generation_history/control_solar_daily_mwh_chart.js (JavaScript, 33 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/generation_history/control_solar_daily_mwh_chart.js#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0196.html#f4 - Synopsis: A JavaScript file in the generation history folder of GlobalGrid2050 that loads fuel daily (`loadFuelDaily`), syncs full period (`syncFullPeriod`) and sets period (`setPeriod`) (units: MWh). - What it achieves (name): It loads solar daily (`loadSolarDaily`), loads fuel daily (`loadFuelDaily`) and syncs full period (`syncFullPeriod`). Defines `cfg`, `get`, `load` and 13 more. It responds to change, resize and DOMContentLoaded events. - What it does: It draws pvlive solar daily browser and generation daily mwh by technology fuelhh. Defines 16 functions or classes, including cfg, get, load, loadSolarDaily, loadFuelDaily. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file pvlive_solar_daily_browser.json; JSON file generation_daily_mwh_by_technology_fuelhh_2016_2026.json. - Signatures: `cfg()`; `get(id)`; `load(key,url)`; `loadSolarDaily()`; `loadFuelDaily()`; `periodDays(p)`; `niceDate(v)`; `years(rows)`; `srcLabel(t)`; `srcStatus(t)`; `techOptions(fuelRows)`; `rowsFor(t,solar,fuel)`; `setYears(rows,t)`; `selectedWindow(rows,t)`; `update()`; `boot()`; `syncFullPeriod()`; `setPeriod(value)`; `nudgePeriod(dir)`; `openFull()`; `closeFull()`; `bind()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file pvlive_solar_daily_browser.json; JSON file generation_daily_mwh_by_technology_fuelhh_2016_2026.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Render Solar Daily MWh Chart - File: globalgrid2050/uk_energy_tracking_v6/generation_history/render_solar_daily_mwh_chart.js (JavaScript, 33 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/generation_history/render_solar_daily_mwh_chart.js#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0196.html#f5 - Synopsis: A JavaScript file in the generation history folder of GlobalGrid2050 that draws season (`drawSeasonKey`) and season line (`drawSeasonLine`) and updates inspect (`updateInspect`) (units: MWh), covering solar. - What it achieves (name): It draws season key (`drawSeasonKey`), draws season line (`drawSeasonLine`) and updates inspect (`updateInspect`). Its name says it renders solar daily MWh chart. Defines `fmt`, `niceDate`, `dateLabel` and 17 more. It responds to click, pointerdown and pointermove events. - What it does: It draws solar. Defines 22 functions or classes, including fmt, niceDate, dateLabel, val, tm. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: canvas drawing. - Signatures: `fmt(n,d)`; `niceDate(v)`; `dateLabel(t,span)`; `val(r)`; `tm(r)`; `rowsOf(result)`; `stats(rows)`; `mm(rows)`; `step(span)`; `points(w,h,pad,scale,t0,t1)`; `seasonName(t)`; `seasonColor(t)`; `drawSeasonKey(g,q,pad)`; `drawSeasonLine(g,rows,p,q)`; `drawTicks(g,w,h,q,scale,pad,t0,t1)`; `eventBox(g,lines,q,x,y,align)`; `pointer(g,point,q,x,y)`; `callout(g,label,value,date,x,y,q,w,h,pad)`; `drawSummary(g,s,q,w,h,pad,isFull)`; `inspectKey(result)`; `nearest(rows,target)`; `ensureInspectState(canvasId,result,rows)`; `ensureInspectControls(canvasId,result)`; `updateInspect(canvasId,result,row,idx,total)`; `attachInspectEvents(canvasId)` (and 4 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Control Solar Daily MWh Chart - File: globalgrid2050/uk_energy_tracking_v6_2/generation_history/control_solar_daily_mwh_chart.js (JavaScript, 27 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6_2/generation_history/control_solar_daily_mwh_chart.js#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0196.html#f6 - Synopsis: A JavaScript file in the generation history folder of GlobalGrid2050 that syncs full period (`syncFullPeriod`), sets period (`setPeriod`) and opens full (`openFull`) (units: MWh), covering pvlive solar daily browser. - What it achieves (name): It loads solar daily (`loadSolarDaily`), syncs full period (`syncFullPeriod`) and sets period (`setPeriod`). Defines `cfg`, `get`, `loadSolarDaily` and 8 more. It responds to change, resize and DOMContentLoaded events. - What it does: It draws pvlive solar daily browser. Defines 11 functions or classes, including cfg, get, loadSolarDaily, periodDays, niceDate. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file pvlive_solar_daily_browser.json. - Signatures: `cfg()`; `get(id)`; `loadSolarDaily()`; `periodDays(p)`; `niceDate(v)`; `years(rows)`; `setDefaultControls(rows)`; `selectedWindow(rows)`; `update()`; `boot()`; `syncFullPeriod()`; `setPeriod(value)`; `nudgePeriod(dir)`; `openFull()`; `closeFull()`; `bind()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file pvlive_solar_daily_browser.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Render Solar Daily MWh Chart - File: globalgrid2050/uk_energy_tracking_v6_2/generation_history/render_solar_daily_mwh_chart.js (JavaScript, 29 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6_2/generation_history/render_solar_daily_mwh_chart.js#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/0196.html#f7 - Synopsis: A JavaScript file in the generation history folder of GlobalGrid2050 that updates inspect (`updateInspect`) and draws on a canvas (units: MWh), covering solar. - What it achieves (name): It updates inspect (`updateInspect`) and is built from the nice date helper (`niceDate`) and the date label helper (`dateLabel`). Its name says it renders solar daily MWh chart. Defines `fmt`, `niceDate`, `dateLabel` and 13 more. It responds to click, pointerdown and pointermove events. - What it does: It draws solar. Defines 18 functions or classes, including fmt, niceDate, dateLabel, val, tm. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: canvas drawing. - Signatures: `fmt(n,d)`; `niceDate(v)`; `dateLabel(t,span)`; `val(r)`; `tm(r)`; `rowsOf(result)`; `stats(rows)`; `mm(rows)`; `step(span)`; `points(w,h,pad,scale,t0,t1)`; `drawTicks(g,w,h,q,scale,pad,t0,t1)`; `eventBox(g,lines,q,x,y,align)`; `pointer(g,point,q,x,y)`; `callout(g,label,value,date,x,y,q,w,h,pad)`; `drawSummary(g,s,q,w,h,pad,isFull)`; `inspectKey(result)`; `nearest(rows,target)`; `ensureInspectState(canvasId,result,rows)`; `ensureInspectControls(canvasId,result)`; `updateInspect(canvasId,result,row,idx,total)`; `attachInspectEvents(canvasId)`; `drawInspect(g,result,rows,q,w,h,pad,p,canvasId)`; `renderTo(canvasId,result)`; `render(canvas,result)`; `redrawFullscreen(result)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Solar1000 V924 - File: globalgrid2050/uk_renewables_pipeline/202611161630/tests/check_solar1000_v924.mjs (JavaScript, 20 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161630/tests/check_solar1000_v924.mjs#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0196.html#f8 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050. - What it achieves (name): Its name says it checks Solar1000. It reads `../solar1000/manifest.json`. - What it does: It tests its inputs. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file candidates.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file candidates.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 0; mentioned by 0 ### Solar1000 V924 - File: globalgrid2050/uk_renewables_pipeline/202611201709/scripts/plugins/solar1000-v924.js (JavaScript, 73 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611201709/scripts/plugins/solar1000-v924.js#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/0196.html#f9 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that attaches evidence (`attachEvidence`) and refreshes evidence (`refreshEvidence`), covering the Renewable Energy Planning Database (REPD) register and solar. - What it achieves (comment): It attaches evidence (`attachEvidence`) and refreshes evidence (`refreshEvidence`). V9.25 keeps the V9.24 selection, adding evidence to existing UK records. It reads `solar1000/manifest.json`. It responds to pipeline events. - What it does: It draws the REPD register and solar. Defines attachEvidence, refreshEvidence, start. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: JSON file candidates.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `attachEvidence()`; `refreshEvidence()`; `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file candidates.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Inverter 48 Electrical UI - File: globalgrid2050/ventus/wiring/inverter-48-electrical-ui.mjs (JavaScript, 56 lines) · role electrical · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/ventus/wiring/inverter-48-electrical-ui.mjs#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/0196.html#f10 - Published at: https://globalgrid2050.com/ventus/wiring/ - Synopsis: A JavaScript module in the wiring folder of GlobalGrid2050 that saves field, covering inverter electrical scenario and cables, using IEC 60228 and IEC 62548. Served with the page at https://globalgrid2050.com/ventus/wiring/. - What it achieves (name): It saves field (`saveField`) and is built from the mount electrical helper (`mountElectrical`) and the sync step (`sync`). Defines `fmt`, `mountElectrical`, `effective` and 4 more. It responds to input events. - What it does: It draws inverter electrical scenario and cables. Defines 8 functions or classes, including fmt, mountElectrical, $, effective, sync. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'inverter'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 1500V. - Inputs & outputs: In: form fields (user input). Out: JSON file inverter-48-electrical-scenario.json; downloaded file inverter-48-electrical-scenario.json. Voltage levels named: 1500V. - Downstream impact: Used directly by 1 file: Inverter 48 (globalgrid2050, https://globalgrid2050.com/ventus/wiring/). Reached from 1 other entry point, including GlobalGrid2050 Inverter Flow Check Workflow (globalgrid2050). - Signatures: `export mountElectrical(container,{getModel,getCableLength=h=>h.routeM,onChange=()=>{}})`; `fmt(n,d=2)`; `$(key)`; `effective(cable)`; `sync()`; `saveField(cable,key,value)`; `rows(host,data,keys)`; `update()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [JSON file inverter-48-electrical-scenario.json; downloaded file inverter-48-electrical-scenario.json]; crs []; voltages [1500V] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Inverter 48 Electrical - File: globalgrid2050/ventus/wiring/inverter-48-electrical.mjs (JavaScript, 83 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/ventus/wiring/inverter-48-electrical.mjs#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/0196.html#f11 - Published at: https://globalgrid2050.com/ventus/wiring/ - Synopsis: A JavaScript module in the wiring folder of GlobalGrid2050 that works with cables, using IEC 60228 and BS EN 50618. Served with the page at https://globalgrid2050.com/ventus/wiring/. - What it achieves (comment): It calculates electrical (`calculateElectrical`) and is built from the empty electrical state helper (`emptyElectricalState`) and the number step (`number`). Independent, entered-input DC screening arithmetic. No licensed tables embedded. - What it does: It calculates cables. Defines 6 functions or classes, including emptyElectricalState, number, contactList, sumKnown, contacts. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'inverter'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 1 file: Inverter 48 Electrical UI (globalgrid2050, https://globalgrid2050.com/ventus/wiring/). Reached from 2 other entry points, including Inverter 48 (globalgrid2050, https://globalgrid2050.com/ventus/wiring/); GlobalGrid2050 Inverter Flow Check Workflow (globalgrid2050). - Signatures: `export emptyElectricalState()`; `export number(value, {min=0,max=Infinity,exclusive=false}={})`; `export contactList(value)`; `export calculateElectrical(model,state=emptyElectricalState(),getCableLength=h=>h.routeM)`; `sumKnown(values)`; `contacts(input)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Inverter 48 Model - File: globalgrid2050/ventus/wiring/inverter-48-model.mjs (JavaScript, 63 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/ventus/wiring/inverter-48-model.mjs#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/0196.html#f12 - Published at: https://globalgrid2050.com/ventus/wiring/ - Synopsis: A JavaScript module in the wiring folder of GlobalGrid2050 that works with physical point (`physicalPoint`) and calculates planar distances. Served with the page at https://globalgrid2050.com/ventus/wiring/. - What it achieves (comment): It is built from the distance step (`distance`), the length step (`length`) and the build step (`build`). Generic geometry only. Physical routes and presentation coordinates are separate. Its code works with 352 kVA, 295 kVA and 320 kVA. - What it does: It calculates its inputs. Defines distance, length, build, physicalPoint. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'inverter'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Inverter 48 (globalgrid2050, https://globalgrid2050.com/ventus/wiring/). Reached from 1 other entry point, including GlobalGrid2050 Inverter Flow Check Workflow (globalgrid2050). - Signatures: `export distance(a,b)`; `export length(pts)`; `export build({physicalOffset=2, drawingOffset=30, gap=.02, tilt=8}={})`; `physicalPoint(side,x,y)`; `x(col*30+j)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Inverter 48 Native - File: globalgrid2050/ventus/wiring/inverter-48-native.mjs (JavaScript, 123 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/ventus/wiring/inverter-48-native.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0196.html#f13 - Published at: https://globalgrid2050.com/ventus/wiring/ - Synopsis: A JavaScript module in GlobalGrid2050 that builds native walks, draws electron flow, creates native adapter and calculates planar distances, covering cables. Served with the page at https://globalgrid2050.com/ventus/wiring/. - What it achieves (comment): It builds native walks (`buildNativeWalks`), draws electron flow (`drawElectronFlow`) and creates native adapter (`createNativeAdapter`). Native multi-string flow adapter. Original renderer files are untouched. - What it does: It draws cables. Defines 9 functions or classes, including map, close, reversed, esc, buildNativeWalks. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'inverter'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: Out: SVG drawing. - Downstream impact: Used directly by 2 files: Inverter 48 (globalgrid2050, https://globalgrid2050.com/ventus/wiring/); GlobalGrid2050 Inverter Flow Check Workflow (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/ventus/wiring/. - Signatures: `export buildNativeWalks(w, model)`; `export drawElectronFlow(w, ctx, walks, clock, {selected=null, spacingPx=150, speedPx=48}={})`; `export createNativeAdapter(w, {}={})`; `map(p)`; `close(a,b)`; `reversed(pts)`; `esc(s)`; `path(pts)`; `phase(Number(walk.stringId.slice(1))*.38196601125)`; `head((pulse.phase-clock*speedPx/Math.max(1,pixels))%1+1)`; `spans(head+tail>1?[[head,1],[0,head+tail-1]]:[[head,head+tail]])`; `weight(leg.s?.home?2.2:1.5)`; `sizes(model,project,desired)`; `drawConnectors(ctx,model,{lengthPx}={})`; `svgConnectors(model,project,{lengthPx}={})` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Inverter 48 - File: globalgrid2050/ventus/wiring/inverter-48.mjs (JavaScript, 165 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/ventus/wiring/inverter-48.mjs#L1-L165 - Page: https://code.globalgrid2050.com/explore-code/s/0197.html#f1 - Published at: https://globalgrid2050.com/ventus/wiring/ - Synopsis: A JavaScript module in the wiring folder of GlobalGrid2050 that shows hud (`showHud`), applies lengths (`applyLengths`), draws flow overlay (`drawFlowOverlay`) and calculates planar distances. Served with the page at https://globalgrid2050.com/ventus/wiring/. - What it achieves (name): It shows hud (`showHud`), applies lengths (`applyLengths`) and draws flow overlay (`drawFlowOverlay`). Defines `win`, `map`, `polygon` and 19 more. Its code works with 352 kVA. It responds to pointerdown and pointerup events. - What it does: It draws inverter cable lengths, inverter geometry and cables. Defines 24 functions or classes, including $, win, map, polygon, nativeDrawing. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'inverter'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: CSV file inverter-48-cable-lengths.csv; JSON file inverter-48-geometry.json. Out: canvas drawing; SVG drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Inverter Flow Check Workflow (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/ventus/wiring/. - Signatures: `$(id)`; `win()`; `map(p)`; `polygon(x,y,w,h)`; `nativeDrawing()`; `add(role,node,pts,extra={})`; `label(text,x,y,size=11,colour=')`; `fit(bounds)`; `paint()`; `path(pts)`; `summary()`; `save(name,type,body)`; `csv()`; `svg()`; `esc(s)`; `p(q)`; `showHud(show)`; `supplied(h)`; `applyLengths()`; `lengthControls()`; `lengthsChanged()`; `render()`; `activeWalks()`; `drawFlowOverlay()`; `tick(now)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file inverter-48-cable-lengths.csv; JSON file inverter-48-geometry.json]; out [canvas drawing; SVG drawing]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Inverter Station - File: globalgrid2050/ventus/wiring/inverter-station.mjs (JavaScript, 84 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/ventus/wiring/inverter-station.mjs#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/0197.html#f2 - Published at: https://globalgrid2050.com/ventus/wiring/ - Synopsis: A JavaScript module in the wiring folder of GlobalGrid2050 that syncs lengths (`syncLengths`) (units: MVA, kVA, mm²), covering transformers, using IEC 60228. Served with the page at https://globalgrid2050.com/ventus/wiring/. - What it achieves (name): It builds station (`buildStation`), syncs lengths (`syncLengths`) and selects station (`selectStation`). Defines `buildStation`, `txt`, `line` and 6 more. Its code works with 352 kVA and 10 MVA. - What it does: It draws transformers. Defines 11 functions or classes, including $, buildStation, el, txt, line. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'inverter'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers. - Inputs & outputs: In: CSV file inverter-station-84-phase-cables.csv. - Signatures: `export buildStation({feedersPerSection=14,transformerMva=5,areaMm2=400,trenchDepthM=.9,kva=352,lengths={},ambient=30,baseAmpacity=null,de...)`; `$(id)`; `el(name,attrs={},text)`; `txt(parent,text,x,y,size=13,fill)`; `line(parent,d,attrs={})`; `render()`; `lossReadout()`; `rebuild()`; `syncLengths()`; `save(name,type,data)`; `svgExport()`; `csv()`; `siteModel()`; `selectStation(id)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [CSV file inverter-station-84-phase-cables.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Cpu Ref - File: gpu-drivers-for-global-grid/cuda-maths/solar-billion/cpu_ref.py (Python, 116 lines) · role ingest · stage transform · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/cuda-maths/solar-billion/cpu_ref.py#L1-L116 - Page: https://code.globalgrid2050.com/explore-code/s/0197.html#f3 - Synopsis: A Python command-line tool in the solar billion folder of GPU Drivers for Global Grid that works with known answers (`known_answers`) (units: kW), covering cables. - What it achieves (comment): It is built from the decode step (`decode`) and the evaluate step (`evaluate`). The plain scalar reference. Clear and slow. Its code works with 356.07 kW. - What it does: Defines decode, evaluate, known_answers. Uses libraries math, solar_core. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. README: "Files: `solar-billion/` — `cpu_ref.py` (scalar reference), `cpu_vec.py` (vectorised, multiprocess), `gpu_vec.py` (CuPy), `main.py`, plus `FORMULA.txt` and `RESULTS.txt` with the full verdict counts." - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `decode(i)`; `evaluate(idx)`; `known_answers()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Cpu Vec - File: gpu-drivers-for-global-grid/cuda-maths/solar-billion/cpu_vec.py (Python, 137 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/cuda-maths/solar-billion/cpu_vec.py#L1-L137 - Page: https://code.globalgrid2050.com/explore-code/s/0197.html#f4 - Synopsis: A Python module in the solar billion folder of GPU Drivers for Global Grid that builds tables (`build_tables`), aggregates np (`aggregate_np`) and runs multiproc (`run_multiproc`). - What it achieves (comment): It is built from the kernel step (`kernel`). The same arithmetic as `cpu_ref.py`, NumPy-vectorised over mixed-radix indices, and a multi-process driver capped at 12 workers below normal priority. - What it does: It calculates its inputs. Defines 6 functions or classes, including _tab, build_tables, kernel, aggregate_np, _worker. Uses libraries numpy, solar_core, ctypes, concurrent.futures. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. README: "Files: `solar-billion/` — `cpu_ref.py` (scalar reference), `cpu_vec.py` (vectorised, multiprocess), `gpu_vec.py` (CuPy), `main.py`, plus `FORMULA.txt` and `RESULTS.txt` with the full verdict counts." - Downstream impact: Used directly by 1 file: GPU Vec (gpu-drivers-for-global-grid). - Signatures: `_tab(xp, name)`; `build_tables(xp)`; `kernel(xp, T, idx)`; `aggregate_np(idx)`; `_worker(args)`; `run_multiproc(total, workers=12, stride=1, offset=0, chunk=1 << 20)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GPU Vec - File: gpu-drivers-for-global-grid/cuda-maths/solar-billion/gpu_vec.py (Python, 57 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/cuda-maths/solar-billion/gpu_vec.py#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0197.html#f5 - Synopsis: A Python module in the solar billion folder of GPU Drivers for Global Grid that aggregates batch (`aggregate_batch`). - What it achieves (comment): It is built from the tables step (`tables`), the free batch helper (`free_batch`) and the run step (`run`). The SAME arithmetic on the GPU with CuPy (the backend the GPU-bench agent got working on this card: cupy-cuda12x 14.2.0, `sm_120`). float64 throughout so it can be held to 1e-9 of the scalar reference. - What it does: It calculates its inputs. Defines tables, free_batch, aggregate_batch, run, detail. Uses libraries numpy, cupy, solar_core, cupyx. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. README: "Why this one works: the reduction happens on the card (`gpu_vec.py`) so only about 20 kB returns per batch, and the batch is sized from free VRAM at run time rather than hard-coded." - Signatures: `tables()`; `free_batch(target_frac=0.25, cap=1 << 23)`; `aggregate_batch(idx_gpu, counts, best)`; `run(total, stride=1, offset=0, batch=None, report=None)`; `detail(idx_np)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Cuda Maths — Solar Billion - File: gpu-drivers-for-global-grid/cuda-maths/solar-billion/main.py (Python, 6 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/cuda-maths/solar-billion/main.py#L1-L6 - Page: https://code.globalgrid2050.com/explore-code/s/0197.html#f6 - Synopsis: A Python command-line tool in GPU Drivers for Global Grid. - What it achieves (comment): The entry point. The guard is required on Windows: the worker processes re-import the main module, and without it they would re-run the whole job. - What it does: Uses libraries multiprocessing, run_all. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. README: "Files: `solar-billion/` — `cpu_ref.py` (scalar reference), `cpu_vec.py` (vectorised, multiprocess), `gpu_vec.py` (CuPy), `main.py`, plus `FORMULA.txt` and `RESULTS.txt` with the full verdict counts." - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Orient16 Responsive Panel - File: gridatlas/atlas/modules/202612031346-orient16-responsive-panel.js (JavaScript, 90 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612031346-orient16-responsive-panel.js#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/0197.html#f7 - Synopsis: A JavaScript file in the atlas folder of GridAtlas. - What it achieves (comment): Native controls and route state stay owned by their existing modules. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: user-supplied file (file picker). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### G203 Compact SatNav Panel - File: gridatlas/atlas/modules/g203-compact-satnav-panel.js (JavaScript, 66 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g203-compact-satnav-panel.js#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/0198.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas. - What it achieves (comment): Native controls and route state stay owned by their existing modules. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: user-supplied file (file picker). - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 13 Panel - File: gridatlas/tools/lightning/src/13-panel.js (JavaScript, 98 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/13-panel.js#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/0198.html#f2 - Synopsis: A JavaScript file in the lightning folder of GridAtlas. - What it achieves (comment): The Layers-panel group (main and fullscreen curtain), its label and status line, and the batched repaint pt. It responds to click events. - What it does: It draws its content. Defines q. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: form fields (user input). - Signatures: `q(s)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 07 Panel Install - File: gridatlas/tools/offtakers/src/07-panel-install.js (JavaScript, 42 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/07-panel-install.js#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/0198.html#f3 - Synopsis: A JavaScript file in the offtakers folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register and substations. - What it achieves (comment): The Layers group. It responds to click, change and gridatlas events. - What it does: It draws the REPD register and substations. Defines q. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: the REPD register, substations. - Inputs & outputs: In: form fields (user input). - Signatures: `q(s)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Menu Bar Instrument Panel Browser - File: gridatlas/tools/proofs/202609041250-menu-bar-instrument-panel.browser.mjs (JavaScript, 366 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609041250-menu-bar-instrument-panel.browser.mjs#L1-L366 - Page: https://code.globalgrid2050.com/explore-code/s/0198.html#f4 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with ventus box (`ventusBox`) and attrib samples (`attribSamples`), covering cables. - What it achieves (comment): It is built from the fixture HTML helper (`fixtureHtml`), the check step (`check`) and the ventus box helper (`ventusBox`). Proof for: the v8 VENTUS masthead and the SCADA layer panel are restored around the six-menu bar (`atlas/modules/` anything `tools/proofs/menu-bar-attrib-clearance.browser.mjs` or `tools/proofs/menu-bar-mobile-hit.browser.mjs` already prove. - What it does: It lists and searches cables. Defines 7 functions or classes, including fixtureHtml, check, ventusBox, attribSamples, panelRects. Uses libraries node:assert/strict, node:path, node:url, playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: form fields (user input). - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `fixtureHtml()`; `check(label, condition, detail)`; `ventusBox(page)`; `attribSamples(page)`; `panelRects(page)`; `gridControlSizes(page)`; `allPanelControlSizes(page)`; `covered(samples || [])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### V8 Layers Panel Restored Proof - File: gridatlas/tools/proofs/v8-layers-panel-restored.proof.mjs (JavaScript, 101 lines) · role storage · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/v8-layers-panel-restored.proof.mjs#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/0198.html#f5 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. It is built from the composed step (`composed`) and the check step (`check`). - What it achieves (comment): The v8 layers panel is back beneath the menus, asserted against the COMPOSED bytes named by `atlas/current.json` - never against the parts. - What it does: It loads data. Defines composed, check. Uses libraries node:fs/promises, node:path, node:url. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file current.json. - Signatures: `composed(id)`; `check(name, ok)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav G203 Compact Panel Browser - File: gridatlas/tools/satnav/g203-compact-panel-browser.py (Python, 80 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/g203-compact-panel-browser.py#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/0199.html#f1 - Synopsis: A Python command-line tool in the tools folder of GridAtlas that compares the two historical SatNav panels with the integrated G203 candidate. - What it achieves (name): Defines `check`. - What it does: It lists and searches its content. Defines check. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `check(browser, name, url, w, h, candidate)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav G203 Swarm 03 Panel Continuity - File: gridatlas/tools/satnav/g203-swarm-03-panel-continuity.py (Python, 101 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/g203-swarm-03-panel-continuity.py#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/0199.html#f2 - Synopsis: A Python command-line tool in the tools folder of GridAtlas. It is built from the scenario step (`scenario`). - What it achieves (comment): G203-SWARM-03: candidate-only, real composed application acceptance. - What it does: Defines scenario. Uses libraries json, os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `scenario(browser, engine, w, h)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### BBC RSS Pipeline Panel - File: pipelinenews/cartridges/bbc-rss-pipeline-panel.mjs (JavaScript, 56 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/cartridges/bbc-rss-pipeline-panel.mjs#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/0199.html#f3 - Synopsis: A JavaScript module in the cartridges folder of PipelineNews that works with UK time (`ukTime`), covering the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It is built from the UK time helper (`ukTime`), the options step (`options`) and the render step (`render`). Defines `mount`, `ukTime`, `create` and 3 more. It responds to click events. - What it does: It draws the REPD register. Defines 6 functions or classes, including mount, ukTime, create, options, render. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: Build BBC RSS Package (pipelinenews). - Signatures: `export mount({host,payload,evidence=[],projects=[],official=[],fetcher=fetch})`; `ukTime(value)`; `create(tag,text)`; `options()`; `render(view)`; `update()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Provisional Pipeline Panel - File: pipelinenews/cartridges/provisional-pipeline-panel.mjs (JavaScript, 16 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/cartridges/provisional-pipeline-panel.mjs#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/0199.html#f4 - Synopsis: A JavaScript module in the cartridges folder of PipelineNews covering the Renewable Energy Planning Database (REPD) register. - What it achieves (name): Defines `mount`. - What it does: It draws the REPD register. Defines mount. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: Build Provisional Package (pipelinenews). - Signatures: `export mount({host,payload,official,source})` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Array Engine - File: solar-electrical-topology-analysis-engine-text-based/array_engine.py (Python, 3 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/array_engine.py#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0199.html#f5 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/ - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based. - What it achieves (comment): Compatibility import for the packaged Build 025 array authority. - What it does: Uses libraries solar_topology.array.array_engine. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 4 files: Validate Clean Wheel (solar-electrical-topology-analysis-engine-text-based); Test Array Authority Receipts (solar-electrical-topology-analysis-engine-text-based); Test Array Engine (solar-electrical-topology-analysis-engine-text-based); Test Installed Array API (solar-electrical-topology-analysis-engine-text-based). Reached from 9 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); V10 Validation Workflow (solar-electrical-topology-analysis-engine-text-based). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Array Route Geometry - File: solar-electrical-topology-analysis-engine-text-based/array_route_geometry.py (Python, 3 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/array_route_geometry.py#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0199.html#f6 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/ - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based. - What it achieves (comment): Compatibility import for packaged Build 025 route geometry. - What it does: Uses libraries solar_topology.array.array_route_geometry. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Array Route Types - File: solar-electrical-topology-analysis-engine-text-based/array_route_types.py (Python, 3 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/array_route_types.py#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0199.html#f7 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/ - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based. - What it achieves (comment): Compatibility import for packaged Build 025 route records. - What it does: Uses libraries solar_topology.array.array_route_types. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Array Routing - File: solar-electrical-topology-analysis-engine-text-based/array_routing.py (Python, 3 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/array_routing.py#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0199.html#f8 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/ - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based. - What it achieves (comment): Compatibility import for the packaged Build 025 routing authority. - What it does: Uses libraries solar_topology.array.array_routing. - Why it exists in the grid workflow: Domain stage field_execution (path word 'routing'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 2 files: Test Array Authority Receipts (solar-electrical-topology-analysis-engine-text-based); Test Array Engine (solar-electrical-topology-analysis-engine-text-based). Reached from 1 other entry point, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Array Topology - File: solar-electrical-topology-analysis-engine-text-based/array_topology.py (Python, 3 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/array_topology.py#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0199.html#f9 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/ - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based. - What it achieves (comment): Compatibility import for the packaged Build 025 topology authority. - What it does: Uses libraries solar_topology.array.array_topology. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 3 files: Test Array Authority Receipts (solar-electrical-topology-analysis-engine-text-based); Test Array Engine (solar-electrical-topology-analysis-engine-text-based); Test Array Topology (solar-electrical-topology-analysis-engine-text-based). Reached from 1 other entry point, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Solar Electrical Topology Analysis Engine Text Based — B9 Sandbox - File: solar-electrical-topology-analysis-engine-text-based/b9-sandbox/app.js (JavaScript, 581 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/b9-sandbox/app.js#L1-L581 - Page: https://code.globalgrid2050.com/explore-code/s/0199.html#f10 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/ - Synopsis: A JavaScript module that draws b9 scene. Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/. It adds text (`addText`), syncs orientation cartridge (`syncOrientationFromCartridge`) and draws module (`drawModule`). - What it achieves (name): Defines `byId`, `numberValue`, `integerValue` and 23 more. It responds to input, change and click events. - What it does: It draws b9 scene. Defines 26 functions or classes, including byId, numberValue, integerValue, textValue, svgElement. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file b9-scene.json; GeoJSON file b9-scene.geojson. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — B9 Sandbox Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/). Reached from 1 other entry point, including Tests (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/tests.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/. - Signatures: `byId(id)`; `numberValue(id, fallback)`; `integerValue(id, fallback)`; `textValue(id)`; `svgElement(name, attributes = {})`; `addText(parent, x, y, text, className = "module-label")`; `clearSvg(svg)`; `inputModel()`; `syncOrientationFromCartridge(cartridge)`; `rebuild()`; `terminalPosition(module, polarity, scale, originX, originY)`; `drawModule(svg, module, scale, originX, originY, compact = false)`; `renderPlan(svg)`; `drawCircuitConnection(svg, from, to, isTurnaround)`; `renderCircuit(svg)`; `renderFixedSide(svg, scene)`; `fraction1(index + 1)`; `renderEastWestSide(svg, scene)`; `f1(index + 1)`; `renderTrackerSide(svg, scene)`; `renderSide(svg)`; `renderStage()`; `setText(id, value, className = "")`; `renderSummary()`; `render()` (and 3 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file b9-scene.json; GeoJSON file b9-scene.geojson]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Cartridges - File: solar-electrical-topology-analysis-engine-text-based/b9-sandbox/cartridges.js (JavaScript, 71 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/b9-sandbox/cartridges.js#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/0200.html#f2 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/ - Synopsis: A JavaScript module in Solar Electrical Topology Analysis Engine Text Based. Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/. It gets cartridge (`getCartridge`). - What it achieves (name): Defines `getCartridge`. - What it does: It calculates its inputs. Defines getCartridge. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Solar Electrical Topology Analysis Engine Text Based — B9 Sandbox (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/); Tests (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/). Reached from 2 other entry points, including Solar Electrical Topology Analysis Engine Text Based — B9 Sandbox Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/); Tests (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/tests.html). - Signatures: `export getCartridge(id)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Solar Electrical Topology Analysis Engine Text Based — B9 Sandbox Page - File: solar-electrical-topology-analysis-engine-text-based/b9-sandbox/index.html (HTML, 223 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/b9-sandbox/index.html#L1-L223 - Page: https://code.globalgrid2050.com/explore-code/s/0200.html#f3 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/ - Synopsis: A web page that draws SVG graphics and reads inputs for cartridge, orientation and module width (units: mm²). Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/. - What it achieves (comment): Generic PV array geometry and circuit authoring sandbox. - What it does: It draws cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: In: DuckDB queries; form fields (user input). Out: web page; SVG drawing. - Downstream impact: Used directly by 1 file: Tests (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/tests.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [DuckDB queries; form fields (user input)]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 1; mentioned by 0 ### Model - File: solar-electrical-topology-analysis-engine-text-based/b9-sandbox/model.js (JavaScript, 281 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/b9-sandbox/model.js#L1-L281 - Page: https://code.globalgrid2050.com/explore-code/s/0201.html#f1 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/ - Synopsis: A JavaScript module in Solar Electrical Topology Analysis Engine Text Based that builds scene (`buildScene`), derives summary (`deriveSummary`) and converts to geo (`toGeoJson`). Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/. - What it achieves (name): It makes id (`makeId`), builds scene (`buildScene`) and derives summary (`deriveSummary`). Defines `makeId`, `modulePitch`, `rowSpan` and 4 more. - What it does: It calculates its inputs. Defines 7 functions or classes, including makeId, modulePitch, rowSpan, topologyOrder, buildScene. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Solar Electrical Topology Analysis Engine Text Based — B9 Sandbox (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/); Tests (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/). Reached from 2 other entry points, including Solar Electrical Topology Analysis Engine Text Based — B9 Sandbox Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/); Tests (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/tests.html). - Signatures: `export makeId(prefix, index)`; `export modulePitch(scene)`; `export rowSpan(scene)`; `export topologyOrder(moduleCount, topology, customText = "")`; `export buildScene(input, cartridge)`; `export deriveSummary(scene)`; `export toGeoJson(scene)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Solar Electrical Topology Analysis Engine Text Based — B9 Sandbox Style Sheet - File: solar-electrical-topology-analysis-engine-text-based/b9-sandbox/styles.css (CSS, 323 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/b9-sandbox/styles.css#L1-L323 - Page: https://code.globalgrid2050.com/explore-code/s/0201.html#f2 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/ - Synopsis: A style sheet. Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — B9 Sandbox Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/). Reached from 1 other entry point, including Tests (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/tests.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Tests - File: solar-electrical-topology-analysis-engine-text-based/b9-sandbox/tests.html (HTML, 72 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/b9-sandbox/tests.html#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/0201.html#f3 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/tests.html - Synopsis: A web page in Solar Electrical Topology Analysis Engine Text Based. Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/tests.html. - What it does: It tests its inputs. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/tests.html. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 1, script-src 1); used by 0; mentioned by 0 ### Tests - File: solar-electrical-topology-analysis-engine-text-based/b9-sandbox/tests.js (JavaScript, 158 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/b9-sandbox/tests.js#L1-L158 - Page: https://code.globalgrid2050.com/explore-code/s/0202.html#f1 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/ - Synopsis: A JavaScript module in Solar Electrical Topology Analysis Engine Text Based that works with assert equal (`assertEqual`) and assert close (`assertClose`) (units: mm²). Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/. - What it achieves (name): It is built from the assert equal helper (`assertEqual`), the assert close helper (`assertClose`) and the base input helper (`baseInput`). Defines `assertEqual`, `assertClose` and `baseInput`. - What it does: It tests its inputs. Defines assertEqual, assertClose, baseInput. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Tests (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/tests.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/b9-sandbox/. - Signatures: `assertEqual(name, actual, expected)`; `assertClose(name, actual, expected, tolerance = 1e-9)`; `baseInput(overrides = {})` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Geometry Authority - File: solar-electrical-topology-analysis-engine-text-based/geometry_authority.py (Python, 3 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/geometry_authority.py#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0202.html#f2 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/ - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based. - What it achieves (comment): Compatibility import for the packaged Build 025 geometry authority. - What it does: Uses libraries solar_topology.array.geometry_authority. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 7 files: Validate Clean Wheel (solar-electrical-topology-analysis-engine-text-based); Test Array Engine (solar-electrical-topology-analysis-engine-text-based); Test Array Topology (solar-electrical-topology-analysis-engine-text-based); Test Geometry Authority (solar-electrical-topology-analysis-engine-text-based); and 3 more. Reached from 9 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); V10 Validation Workflow (solar-electrical-topology-analysis-engine-text-based). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### Solar Electrical Topology Analysis Engine Text Based — Index Page - File: solar-electrical-topology-analysis-engine-text-based/index.html (HTML, 135 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/index.html#L1-L135 - Page: https://code.globalgrid2050.com/explore-code/s/0202.html#f3 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/ - Synopsis: A web page that reads inputs for modules along, ranks up and faces (units: Ω, °C, mm²), covering cables. Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/. - What it achieves (comment): 2D solar DC topology engine modelling sequential and leapfrog string circuits, home-run cables, module leads, connectors, temperature, loop geometry, inductance and capacitance. - What it does: It draws cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 44 files: Geometry Workbench (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/geometry-workbench.html); V7 Development — Feed I Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v7-development/feed-i/); Solar Electrical Topology Analysis Engine Text Based — V8 Leapfrog Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/); Tests (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/tests.html); and 40 more. Reached from 90 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 3, stylesheet 1); used by 44; mentioned by 0 ### Navigation Buttons - File: solar-electrical-topology-analysis-engine-text-based/navigation-buttons.js (JavaScript, 29 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/navigation-buttons.js#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/0202.html#f4 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/ - Synopsis: A JavaScript file in Solar Electrical Topology Analysis Engine Text Based that applies view (`applyView`). Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/. It applies view (`applyView`). - What it achieves (name): Defines `applyView`. It responds to click, wheel and pointermove events. - What it does: Defines applyView. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'navigation'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `applyView(zoom)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Physics Generated - File: solar-electrical-topology-analysis-engine-text-based/physics.generated.js (JavaScript, 55 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/physics.generated.js#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/0202.html#f5 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/ - Synopsis: A JavaScript file in Solar Electrical Topology Analysis Engine Text Based that works with dc resistance (`dcResistance`) and contact resistance (`contactResistance`), using IEC 60228. Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/. - What it achieves (comment): It is built from the conductor diameter from area helper (`conductorDiameterFromArea`), the resistance at temperature helper (`resistanceAtTemperature`) and the dc resistance helper (`dcResistance`). Browser formula library for the V6 complete-string-circuit prototype. It responds to DOMContentLoaded events. - What it does: It draws its content. Defines 11 functions or classes, including conductorDiameterFromArea, resistanceAtTemperature, dcResistance, contactResistance, twoWire. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Solar Electrical Topology Analysis Engine Text Based — Index Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/); Index V6 Before Leapfrog (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore_points/2026-07-27-v8-leapfrog/index-v6-before-leapfrog.html). Reached from 134 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/. - Signatures: `conductorDiameterFromArea(areaMm2)`; `resistanceAtTemperature(referenceResistance,referenceTemperatureC,targetTemperatureC,alpha=ALPHA_CU20)`; `dcResistance(totalMetalLengthM,areaMm2,temperatureC)`; `contactResistance(baseOhm,referenceTemperatureC,targetTemperatureC,alpha)`; `twoWire(centreSpacingMm,conductorDiameterMm,epsilonR)`; `polygonArea(points)`; `coldVoc(moduleVoc,moduleCount,betaPctPerC,tempC)`; `parallelPlateCap(areaM2,thicknessMm,epsilonR)`; `storedMagnetic(L,I)`; `storedElectric(C,V)`; `installResistanceWarning()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Progress Dashboard - File: solar-electrical-topology-analysis-engine-text-based/progress-dashboard.html (HTML, 89 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/progress-dashboard.html#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/0202.html#f6 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/progress-dashboard.html - Synopsis: A web page in Solar Electrical Topology Analysis Engine Text Based that draws programme state, using SHA-256. Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/progress-dashboard.html. - What it achieves (comment): Generated engineering programme state for the Solar Electrical Topology Analysis Engine. Its code works with 352 kVA. - What it does: It draws programme state. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. README: "CI fails if the manifest, this status block or `progress-dashboard.html` drift apart." - Inputs & outputs: In: JSON file programme-state.json. Out: web page. - Downstream impact: Used directly by 2 files: Geometry Workbench (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/geometry-workbench.html); Inverter24 (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/inverter24.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/progress-dashboard.html. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file programme-state.json]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Pyproject - File: solar-electrical-topology-analysis-engine-text-based/pyproject.toml (TOML, 41 lines) · role docs-config · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/pyproject.toml#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0202.html#f7 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/ - Synopsis: A configuration file in Solar Electrical Topology Analysis Engine Text Based that reads solar. - What it achieves (comment): Geometry-authoritative topology, routing and evidence kernel for solar DC systems. - What it does: It loads solar. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: In: DuckDB queries. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Restore Points — 2026 07 29 Before 24 String V10 Page - File: solar-electrical-topology-analysis-engine-text-based/restore-points/2026-07-29-before-24-string-v10/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/restore-points/2026-07-29-before-24-string-v10/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/0202.html#f8 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore-points/2026-07-29-before-24-string-v10/ - Synopsis: A web page in Solar Electrical Topology Analysis Engine Text Based that reads inputs for module count, pitch metres and topology (units: °C, Ω). Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore-points/2026-07-29-before-24-string-v10/. - What it achieves (comment): It is built from the value step (`value`) and the render step (`render`). Kernel-first photovoltaic DC topology and computation workbench. It responds to click events. - What it does: It draws its content. Defines $, value, render. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'string'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore-points/2026-07-29-before-24-string-v10/. - Signatures: `$(id)`; `value(id)`; `render()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Index V6 Before Leapfrog - File: solar-electrical-topology-analysis-engine-text-based/restore_points/2026-07-27-v8-leapfrog/index-v6-before-leapfrog.html (HTML, 125 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/restore_points/2026-07-27-v8-leapfrog/index-v6-before-leapfrog.html#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/0202.html#f9 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore_points/2026-07-27-v8-leapfrog/index-v6-before-leapfrog.html - Synopsis: A web page in Solar Electrical Topology Analysis Engine Text Based that reads inputs for modules along, ranks up and faces, covering cables. Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore_points/2026-07-27-v8-leapfrog/index-v6-before-leapfrog.html. - What it achieves (comment): 2D solar DC topology engine modelling complete string circuits: home-runs, module leads, connectors, temperature, loop geometry, inductance and capacitance. - What it does: It draws cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore_points/2026-07-27-v8-leapfrog/index-v6-before-leapfrog.html. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (script-src 2, stylesheet 1); used by 0; mentioned by 0 ### Index V7 Before Leapfrog - File: solar-electrical-topology-analysis-engine-text-based/restore_points/2026-07-27-v8-leapfrog/index-v7-before-leapfrog.html (HTML, 107 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/restore_points/2026-07-27-v8-leapfrog/index-v7-before-leapfrog.html#L1-L107 - Page: https://code.globalgrid2050.com/explore-code/s/0203.html#f1 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore_points/2026-07-27-v8-leapfrog/index-v7-before-leapfrog.html - Synopsis: A web page in the restore points folder of Solar Electrical Topology Analysis Engine Text Based that draws solar DC topology study and cables. Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore_points/2026-07-27-v8-leapfrog/index-v7-before-leapfrog.html. - What it achieves (comment): It sets zoom (`setZoom`) and is built from the bands step (`bands`) and the acosh step (`acosh`). Solar DC String Topology Engine V7 — Independent Development. It responds to input, pointerdown and pointermove events. - What it does: It draws solar DC topology study and cables. Defines 10 functions or classes, including bands, acosh, twoWire, cap, coldVoc. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: form fields (user input). Out: JSON file solar-dc-topology-v7-study.json; downloaded file solar-dc-topology-v7-study.json; web page; canvas drawing. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore_points/2026-07-27-v8-leapfrog/index-v7-before-leapfrog.html. - Signatures: `bands(id)`; `acosh(x)`; `twoWire(spacingMm,areaMm2,er)`; `cap(area,thickMm,er)`; `coldVoc()`; `moduleCaps()`; `geometry()`; `route(s)`; `pairMppts(strings)`; `cmInductance(s,tw)`; `compute()`; `renderCanvas(d)`; `render()`; `setZoom(next)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [JSON file solar-dc-topology-v7-study.json; downloaded file solar-dc-topology-v7-study.json; web page; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Index V8 Initial - File: solar-electrical-topology-analysis-engine-text-based/restore_points/2026-07-27-v8-leapfrog/index-v8-initial.html (HTML, 88 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/restore_points/2026-07-27-v8-leapfrog/index-v8-initial.html#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/0203.html#f2 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore_points/2026-07-27-v8-leapfrog/index-v8-initial.html - Synopsis: A web page in the restore points folder of Solar Electrical Topology Analysis Engine Text Based that draws leapfrog cable schedule and cables. Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore_points/2026-07-27-v8-leapfrog/index-v8-initial.html. - What it achieves (comment): It parses bands (`parseBands`) and parses numbers (`parseNumbers`). Independent V8 development workbench comparing sequential and leapfrog PV string home-run cable schedules. It responds to input and click events. - What it does: It draws leapfrog cable schedule and cables. Defines $, fmt, parseBands, parseNumbers, rowSpan. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: form fields (user input). Out: JSON file v8-leapfrog-cable-schedule.json; downloaded file v8-leapfrog-cable-schedule.json; web page; canvas drawing. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore_points/2026-07-27-v8-leapfrog/index-v8-initial.html. - Signatures: `$(id)`; `fmt(v,d=2)`; `parseBands(id)`; `parseNumbers(id)`; `inputs()`; `rowSpan(m)`; `rowsFor(m,D=m.distance)`; `totals(m,D=m.distance)`; `drawDiagram(m,t)`; `moduleRow(y,title,leap)`; `render()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [JSON file v8-leapfrog-cable-schedule.json; downloaded file v8-leapfrog-cable-schedule.json; web page; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Advance Microbuild - File: solar-electrical-topology-analysis-engine-text-based/scripts/advance_microbuild.py (Python, 129 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/advance_microbuild.py#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/0203.html#f3 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that loads evidence (`load_evidence`). - What it achieves (comment): It is built from the advancement error class (`AdvancementError`), the require step (`require`) and the manifest evidence record helper (`manifest_evidence_record`). Preview one evidence-bound microbuild advancement without writing files. It accepts `--plan` and `--evidence`. - What it does: It loads data. Defines 6 functions or classes, including AdvancementError, require, load_evidence, manifest_evidence_record, preview_advancement. Uses libraries __future__, argparse, copy, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Test Microbuild Advancement (solar-electrical-topology-analysis-engine-text-based). Reached from 6 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Run Microbuild (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class AdvancementError`; `require(condition: bool, message: str)`; `load_evidence(path: Path)`; `manifest_evidence_record(evidence: dict[str, Any])`; `preview_advancement(plan: dict[str, Any], evidence: dict[str, Any])`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Build Authority Bundle - File: solar-electrical-topology-analysis-engine-text-based/scripts/build_authority_bundle.py (Python, 92 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/build_authority_bundle.py#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/0203.html#f4 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that works with authority response payload (`authority_response_payload`), covering reference inverter block, using SHA-256. - What it achieves (comment): It writes authority bundle (`write_authority_bundle`) and is built from the canonical JSON helper (`canonical_json`) and the authority response JSON helper (`authority_response_json`). Generate the deterministic reference inverter-block authority bundle. It accepts `--strategy`, `--write` and `--output`. - What it does: Defines canonical_json, authority_response_payload, authority_response_json, write_authority_bundle, main. Uses libraries __future__, argparse, hashlib, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file reference-inverter-block.json; command-line arguments. - Downstream impact: Used directly by 9 files: Local Authority Bridge (solar-electrical-topology-analysis-engine-text-based); Run Authority Slice (solar-electrical-topology-analysis-engine-text-based); Validate Authority Bundle (solar-electrical-topology-analysis-engine-text-based); Test Authority Bundle (solar-electrical-topology-analysis-engine-text-based); and 5 more. Reached from 5 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Run Microbuild (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Runner (solar-electrical-topology-analysis-engine-text-based). - Signatures: `canonical_json(payload: object)`; `authority_response_payload(strategy: str = "leapfrog")`; `authority_response_json(strategy: str = "leapfrog")`; `write_authority_bundle(path: Path = AUTHORITY_BUNDLE_PATH, *, strategy: str = "leapfrog")`; `main(argv: list[str] | None = None)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file reference-inverter-block.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 9; mentioned by 0 ### Build Topology Store - File: solar-electrical-topology-analysis-engine-text-based/scripts/build_topology_store.py (Python, 100 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/build_topology_store.py#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/0203.html#f5 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that parses bands (`parse_bands`). It is built from the parser step (`parser`). - What it achieves (comment): Build the deterministic topology segment store. It accepts `--output`, `--inverter-count` and `--string-count`. - What it does: Defines parse_bands, parser, main. Uses libraries __future__, argparse, json, os, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'topology'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `parse_bands(value: str)`; `parser()`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Capsule Links - File: solar-electrical-topology-analysis-engine-text-based/scripts/check_capsule_links.py (Python, 180 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/check_capsule_links.py#L1-L180 - Page: https://code.globalgrid2050.com/explore-code/s/0203.html#f6 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that cleans reference (`clean_reference`), extracts references (`extract_references`) and resolves reference (`resolve_reference`). - What it achieves (comment): It is built from the link issue class (`LinkIssue`), the message step (`message`) and the capsule files helper (`capsule_files`). Validate path references inside Quantum Spawn and Trueself capsules. It accepts `--check`. - What it does: It loads data. Defines 10 functions or classes, including LinkIssue, message, capsule_files, clean_reference, extract_references. Uses libraries __future__, argparse, dataclasses, pathlib, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 2 files: Run Ts004 Integration (solar-electrical-topology-analysis-engine-text-based); V10 Validation Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 6 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Run Microbuild (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class LinkIssue`; `message(self)`; `capsule_files()`; `clean_reference(raw: str)`; `extract_references(text: str)`; `resolve_reference(source: Path, reference: str)`; `canonical_title(path: Path)`; `check_compatibility_pointer(path: Path, text: str)`; `check_capsule_links()`; `main(argv: list[str] | None = None)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Check Line Lengths - File: solar-electrical-topology-analysis-engine-text-based/scripts/check_line_lengths.py (Python, 70 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/check_line_lengths.py#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/0204.html#f1 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that works with active files (`active_files`). It is built from the violations step (`violations`). - What it achieves (comment): Fail when active topology source lines exceed the reviewable limit. - What it does: It loads data. Defines active_files, violations, main. Uses libraries __future__, pathlib, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `active_files()`; `violations(path: Path)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Microbuild Plan - File: solar-electrical-topology-analysis-engine-text-based/scripts/check_microbuild_plan.py (Python, 225 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/check_microbuild_plan.py#L1-L225 - Page: https://code.globalgrid2050.com/explore-code/s/0204.html#f2 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that validates evidence (`validate_evidence`), using SHA-256. It loads plan (`load_plan`) and validates plan (`validate_plan`). - What it achieves (comment): Validate the ordered twenty-step microbuild programme. It accepts `--path` and `--check`. - What it does: It loads data. Defines 6 functions or classes, including PlanValidationError, require, load_plan, validate_evidence, validate_plan. Uses libraries __future__, argparse, json, pathlib, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file microbuild-plan.json; command-line arguments. - Downstream impact: Used directly by 10 files: Advance Microbuild (solar-electrical-topology-analysis-engine-text-based); Microbuild Evidence (solar-electrical-topology-analysis-engine-text-based); Run Microbuild (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Advancement (solar-electrical-topology-analysis-engine-text-based); and 6 more. Reached from 1 other entry point, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class PlanValidationError`; `require(condition: bool, message: str)`; `load_plan(path: Path = DEFAULT_PLAN_PATH)`; `validate_evidence(evidence: object, *, step_id: str, test_id: str, manifest_revision: int)`; `validate_plan(plan: dict[str, Any], *, root: Path = ROOT)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file microbuild-plan.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 10; mentioned by 0 ### Local Authority Bridge - File: solar-electrical-topology-analysis-engine-text-based/scripts/local_authority_bridge.py (Python, 265 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/local_authority_bridge.py#L1-L265 - Page: https://code.globalgrid2050.com/explore-code/s/0204.html#f3 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that makes handler, creates server and builds parser, covering reference inverter block. - What it achieves (comment): It makes handler (`make_handler`), creates server (`create_server`) and builds parser (`build_parser`). Serve the Python-owned authority response and existing Studio locally. It accepts `--host`, `--port` and `--strategy`. - What it does: Defines 14 functions or classes, including authority_response_bytes, _json_bytes, _content_type, make_handler, AuthorityBridgeHandler. Uses libraries __future__, argparse, http, http.server, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file reference-inverter-block.json; command-line arguments. - Downstream impact: Used directly by 3 files: Run Authority Slice (solar-electrical-topology-analysis-engine-text-based); Test End to End Authority Slice (solar-electrical-topology-analysis-engine-text-based); Test Local Authority Bridge (solar-electrical-topology-analysis-engine-text-based). Reached from 6 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Run Microbuild (solar-electrical-topology-analysis-engine-text-based). - Signatures: `authority_response_bytes(strategy: str = "leapfrog")`; `_json_bytes(payload: object)`; `_content_type(path: Path)`; `make_handler(*, strategy: str = "leapfrog", root: Path = ROOT)`; `class AuthorityBridgeHandler`; `log_message(self, format: str, *args: object)`; `do_HEAD(self)`; `do_GET(self)`; `_send(self, status: HTTPStatus, body: bytes, *, content_type: str, send_body: bool, extra_headers: dict[str, str] | None = ...)`; `_redirect(self, location: str, *, send_body: bool)`; `_handle(self, *, send_body: bool)`; `create_server(*, host: str = DEFAULT_HOST, port: int = DEFAULT_PORT, strategy: str = "leapfrog", root: Path = ROOT)`; `build_parser()`; `main(argv: list[str] | None = None)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file reference-inverter-block.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Microbuild Evidence - File: solar-electrical-topology-analysis-engine-text-based/scripts/microbuild_evidence.py (Python, 181 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/microbuild_evidence.py#L1-L181 - Page: https://code.globalgrid2050.com/explore-code/s/0205.html#f1 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that works with evidence validation error (`EvidenceValidationError`) and evidence core payload (`evidence_core_payload`), using SHA-256. - What it achieves (comment): It writes evidence (`write_evidence`) and is built from the evidence validation error class (`EvidenceValidationError`) and the require step (`require`). Create deterministic microbuild evidence with separate runtime metadata. It accepts `--plan`, `--tested-commit` and `--result`. - What it does: Defines 11 functions or classes, including EvidenceValidationError, require, canonical_json, evidence_core_payload, microbuild_evidence_hash. Uses libraries __future__, argparse, hashlib, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 5 files: Advance Microbuild (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Advancement (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Evidence (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Workflow (solar-electrical-topology-analysis-engine-text-based); and 1 more. Reached from 4 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Run Microbuild (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Runner (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class EvidenceValidationError`; `require(condition: bool, message: str)`; `canonical_json(payload: object)`; `evidence_core_payload(*, step_id: str, manifest_revision: int, tested_commit: str, test_id: str, result: str)`; `microbuild_evidence_hash(core: dict[str, object])`; `_runtime_id(value: int | None, name: str)`; `microbuild_evidence_payload(*, step_id: str, manifest_revision: int, tested_commit: str, test_id: str, result: str, workflow_run_id: int | None =...)`; `microbuild_evidence_json(**kwargs: Any)`; `evidence_from_active_plan(*, tested_commit: str, result: str, workflow_run_id: int | None = None, artifact_id: int | None = None, plan_path: Pa...)`; `write_evidence(path: Path, payload: dict[str, object])`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 5; mentioned by 0 ### Reference Block Command - File: solar-electrical-topology-analysis-engine-text-based/scripts/reference_block_command.py (Python, 47 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/reference_block_command.py#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/0205.html#f2 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that builds parser (`build_parser`). It is built from the reference block JSON helper (`reference_block_json`). - What it achieves (comment): Print a versioned authoritative reference inverter-block response. It accepts `--strategy` and `--version`. - What it does: It calculates its inputs. Defines reference_block_json, build_parser, main. Uses libraries __future__, argparse, sys, solar_topology. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 2 files: Build Authority Bundle (solar-electrical-topology-analysis-engine-text-based); Test Reference Block Command (solar-electrical-topology-analysis-engine-text-based). Reached from 14 other entry points, including Authority Bundle Sync Workflow (solar-electrical-topology-analysis-engine-text-based); Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `reference_block_json(strategy: str = "leapfrog")`; `build_parser()`; `main(argv: list[str] | None = None)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Run Authority Slice - File: solar-electrical-topology-analysis-engine-text-based/scripts/run_authority_slice.py (Python, 238 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/run_authority_slice.py#L1-L238 - Page: https://code.globalgrid2050.com/explore-code/s/0205.html#f3 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that fetches reference inverter block and solar, using SHA-256. - What it achieves (comment): It fetches bytes (`fetch_bytes`), runs browser checks (`run_browser_checks`) and runs clean wheel check (`run_clean_wheel_check`). Exercise the complete command-to-bridge-to-Studio authority slice. It accepts `--strategy`, `--skip-browser-checks` and `--skip-clean-wheel`. - What it does: It fetches reference inverter block and solar. Defines 11 functions or classes, including AuthoritySliceError, require, _sha256, command_response_bytes, running_bridge. Uses libraries __future__, argparse, contextlib, hashlib, json. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: In: JSON file reference-inverter-block.json; command-line arguments. - Downstream impact: Used directly by 1 file: Test End to End Authority Slice (solar-electrical-topology-analysis-engine-text-based). Reached from 6 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Run Microbuild (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class AuthoritySliceError`; `require(condition: bool, message: str)`; `_sha256(data: bytes)`; `command_response_bytes(strategy: str = "leapfrog")`; `running_bridge(*, strategy: str = "leapfrog")`; `fetch_bytes(url: str)`; `run_browser_checks()`; `run_clean_wheel_check()`; `run_authority_slice(*, strategy: str = "leapfrog", browser_checks: bool = True, clean_wheel: bool = True)`; `build_parser()`; `main(argv: list[str] | None = None)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file reference-inverter-block.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 3, script-call 1); used by 1; mentioned by 0 ### Run Microbuild - File: solar-electrical-topology-analysis-engine-text-based/scripts/run_microbuild.py (Python, 108 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/run_microbuild.py#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/0205.html#f4 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that works with active command (`active_command`). - What it achieves (comment): It is built from the unknown test identifier class (`UnknownTestIdentifier`), the command for test helper (`command_for_test`) and the active test id helper (`active_test_id`). Select and optionally execute one repository-controlled microbuild test. It accepts `--plan`, `--test-id` and `--execute`. - What it does: Defines 6 functions or classes, including UnknownTestIdentifier, command_for_test, active_test_id, active_command, execute. Uses libraries __future__, argparse, json, pathlib, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 4 files: Test Microbuild Runner (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Workflow (solar-electrical-topology-analysis-engine-text-based); Test Ts005 Handoff (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 1 other entry point, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class UnknownTestIdentifier`; `command_for_test(test_id: str)`; `active_test_id(plan_path: Path = DEFAULT_PLAN_PATH)`; `active_command(plan_path: Path = DEFAULT_PLAN_PATH)`; `execute(command: Sequence[str])`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 16 estate files (script-call 15, import 1); used by 4; mentioned by 0 ### Run Ts004 Integration - File: solar-electrical-topology-analysis-engine-text-based/scripts/run_ts004_integration.py (Python, 85 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/run_ts004_integration.py#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/0205.html#f5 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that reads validation. It runs gate (`run_gate`). - What it achieves (comment): Run the complete TS-004 integration envelope from repository authority. - What it does: It loads validation. Defines _print_declared_suite_failures, run_gate, main. Uses libraries __future__, json, pathlib, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file V10_VALIDATION_LATEST.json. - Downstream impact: Used directly by 1 file: Run Microbuild (solar-electrical-topology-analysis-engine-text-based). Reached from 5 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Runner (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_print_declared_suite_failures()`; `run_gate(name: str, command: tuple[str, ...])`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file V10_VALIDATION_LATEST.json]; out []; crs []; voltages [] - Edges: uses 5 estate files (script-call 5); used by 1; mentioned by 0 ### Run V10 Validation - File: solar-electrical-topology-analysis-engine-text-based/scripts/run_v10_validation.py (Python, 180 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/run_v10_validation.py#L1-L180 - Page: https://code.globalgrid2050.com/explore-code/s/0206.html#f1 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that runs command (`run_command`). - What it achieves (comment): It is built from the utc now helper (`utc_now`) and the markdown report helper (`markdown_report`). Run all declared V10 execution gates and write artifact-ready evidence. - What it does: Defines utc_now, run_command, markdown_report, main. Uses libraries __future__, datetime, json, os, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file V10_VALIDATION_LATEST.json. - Downstream impact: Used directly by 2 files: Run Ts004 Integration (solar-electrical-topology-analysis-engine-text-based); V10 Validation Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 6 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Run Microbuild (solar-electrical-topology-analysis-engine-text-based). - Signatures: `utc_now()`; `run_command(name: str, command: list[str], cwd: Path)`; `markdown_report(payload: dict)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file V10_VALIDATION_LATEST.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (script-call 3); used by 2; mentioned by 0 ### Sync Programme State - File: solar-electrical-topology-analysis-engine-text-based/scripts/sync_programme_state.py (Python, 317 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/sync_programme_state.py#L1-L317 - Page: https://code.globalgrid2050.com/explore-code/s/0206.html#f2 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that reads programme state schema, using SHA-256. - What it achieves (comment): It loads JSON (`load_json`), validates state (`validate_state`) and renders readme block (`render_readme_block`). Validate `programme-state.json` and keep public status projections in sync. Its code works with 352 kVA. It accepts `--check` and `--write`. - What it does: It loads programme state schema. Defines 13 functions or classes, including load_json, decimal, require, validate_state, suite_rows. Uses libraries __future__, argparse, decimal, html, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file programme-state.json; JSON file programme-state.schema.json; command-line arguments. - Downstream impact: Used directly by 3 files: Run Ts004 Integration (solar-electrical-topology-analysis-engine-text-based); Programme State Sync Workflow (solar-electrical-topology-analysis-engine-text-based); V10 Validation Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 6 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Run Microbuild (solar-electrical-topology-analysis-engine-text-based). - Signatures: `load_json(path: Path)`; `decimal(value: object)`; `require(condition: bool, message: str)`; `validate_state(state: dict[str, Any])`; `suite_rows(state: dict[str, Any])`; `render_readme_block(state: dict[str, Any])`; `sync_readme(existing: str, block: str)`; `list_items(items: list[str], css_class: str = "")`; `render_dashboard(state: dict[str, Any])`; `expected_outputs(state: dict[str, Any])`; `write_outputs(state: dict[str, Any])`; `check_outputs(state: dict[str, Any])`; `main(argv: list[str] | None = None)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file programme-state.json; JSON file programme-state.schema.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Validate Authority Bundle - File: solar-electrical-topology-analysis-engine-text-based/scripts/validate_authority_bundle.py (Python, 366 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/validate_authority_bundle.py#L1-L366 - Page: https://code.globalgrid2050.com/explore-code/s/0207.html#f1 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that reads authority response schema, using SHA-256. - What it achieves (comment): It loads JSON object (`load_json_object`), validates JSON schema (`validate_json_schema`) and validates authority bundle payload (`validate_authority_bundle_payload`). Validate the reference authority bundle against schema and Python authority. It accepts `--bundle` and `--schema`. - What it does: It loads authority response schema. Defines 11 functions or classes, including AuthorityBundleValidationError, require, load_json_object, _resolve_ref, _matches_type. Uses libraries __future__, argparse, hashlib, json, math. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file authority-response.schema.json; JSON file authority-response.v1.json; command-line arguments. - Downstream impact: Used directly by 2 files: Run Authority Slice (solar-electrical-topology-analysis-engine-text-based); Test Authority Bundle (solar-electrical-topology-analysis-engine-text-based). Reached from 7 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Run Microbuild (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class AuthorityBundleValidationError`; `require(condition: bool, message: str)`; `load_json_object(path: Path)`; `_resolve_ref(root_schema: dict[str, Any], reference: str)`; `_matches_type(value: object, expected: str)`; `_validate_schema_node(value: object, node: dict[str, Any], *, root_schema: dict[str, Any], path: str)`; `validate_json_schema(payload: dict[str, Any], schema: dict[str, Any])`; `_assert_hash(value: object, path: str)`; `validate_authority_bundle_payload(payload: dict[str, Any], *, schema: dict[str, Any] | None = None)`; `validate_authority_bundle_file(bundle_path: Path = AUTHORITY_BUNDLE_PATH, schema_path: Path = AUTHORITY_RESPONSE_SCHEMA_PATH)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file authority-response.schema.json; JSON file authority-response.v1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Validate Clean Wheel - File: solar-electrical-topology-analysis-engine-text-based/scripts/validate_clean_wheel.py (Python, 406 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/validate_clean_wheel.py#L1-L406 - Page: https://code.globalgrid2050.com/explore-code/s/0208.html#f1 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that works with venv python (`venv_python`) (units: kVA, mm²), covering solar, using SHA-256. - What it achieves (comment): It is built from the run step (`run`). Build, install and exercise the public Build 025 API outside the checkout. Its code works with 352 kVA. - What it does: Defines run, venv_python, main. Uses libraries __future__, os, pathlib, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 3 files: Run Ts004 Integration (solar-electrical-topology-analysis-engine-text-based); Run V10 Validation (solar-electrical-topology-analysis-engine-text-based); V10 Validation Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 6 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Run Microbuild (solar-electrical-topology-analysis-engine-text-based). - Signatures: `run(command: list[str], *, cwd: Path, env: dict[str, str] | None = None)`; `venv_python(venv: Path)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 3; mentioned by 0 ### Validate Inverter Block Wheel - File: solar-electrical-topology-analysis-engine-text-based/scripts/validate_inverter_block_wheel.py (Python, 199 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/scripts/validate_inverter_block_wheel.py#L1-L199 - Page: https://code.globalgrid2050.com/explore-code/s/0208.html#f2 - Synopsis: A Python command-line tool in the scripts folder of Solar Electrical Topology Analysis Engine Text Based that works with venv python (`venv_python`), using SHA-256. - What it achieves (comment): It is built from the run step (`run`). Build a wheel and prove the inverter-block contract outside the checkout. - What it does: Defines run, venv_python, main. Uses libraries __future__, os, pathlib, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'inverter'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 3 files: Run Authority Slice (solar-electrical-topology-analysis-engine-text-based); Run Microbuild (solar-electrical-topology-analysis-engine-text-based); Run Ts004 Integration (solar-electrical-topology-analysis-engine-text-based). Reached from 6 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Test End to End Authority Slice (solar-electrical-topology-analysis-engine-text-based). - Signatures: `run(command: list[str], *, cwd: Path, env: dict[str, str] | None = None)`; `venv_python(venv: Path)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Spider Navigation - File: solar-electrical-topology-analysis-engine-text-based/spider-navigation.css (CSS, 8 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/spider-navigation.css#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/0208.html#f3 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/ - Synopsis: A style sheet in Solar Electrical Topology Analysis Engine Text Based. Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 2 files: Solar Electrical Topology Analysis Engine Text Based — Index Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/); Index V6 Before Leapfrog (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore_points/2026-07-27-v8-leapfrog/index-v6-before-leapfrog.html). Reached from 134 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Spider Navigation - File: solar-electrical-topology-analysis-engine-text-based/spider-navigation.js (JavaScript, 192 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/spider-navigation.js#L1-L192 - Page: https://code.globalgrid2050.com/explore-code/s/0209.html#f1 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/ - Synopsis: A JavaScript file in Solar Electrical Topology Analysis Engine Text Based that sets size (`setSize`) and zooms to (`zoomTo`), covering cables. Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/. - What it achieves (comment): It sets size (`setSize`) and is built from the install technical commentary helper (`installTechnicalCommentary`) and the select step (`select`). Compatibility repair: the current V6/V7 `app.js` lost the `nearest` hit-test function that existed in the last working renderer. It responds to click, pointerdown and pointermove events. - What it does: It draws cables. Defines 11 functions or classes, including installTechnicalCommentary, select, clamp, point, world. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables. - Downstream impact: Used directly by 2 files: Solar Electrical Topology Analysis Engine Text Based — Index Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/); Index V6 Before Leapfrog (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore_points/2026-07-27-v8-leapfrog/index-v6-before-leapfrog.html). Reached from 134 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/. - Signatures: `installTechnicalCommentary()`; `select(which)`; `clamp(v)`; `point(e)`; `world(e)`; `label()`; `setSize(s)`; `zoomTo(target,clientX,clientY)`; `vx(clientX==null?rect.left+wrap.clientWidth/2:clientX)`; `vy(clientY==null?rect.top+wrap.clientHeight/2:clientY)`; `anchorX(wrap.scrollLeft+vx)`; `anchorY(wrap.scrollTop+vy)`; `frame(now)`; `finish(e)`; `centre()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Solar Electrical Topology Analysis Engine Text Based — Solar Topology - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/__init__.py (Python, 295 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/__init__.py#L1-L295 - Page: https://code.globalgrid2050.com/explore-code/s/0209.html#f2 - Synopsis: A Python module covering solar. - What it achieves (comment): Solar electrical topology physics, cartridges and fleet data core. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 31 estate files (python-relative 31); used by 0; mentioned by 0 ### Solar Topology — Array - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/array/__init__.py (Python, 163 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/array/__init__.py#L1-L163 - Page: https://code.globalgrid2050.com/explore-code/s/0209.html#f3 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based. - What it achieves (comment): Installed public API for the Build 025 whole-table array authority. - What it does: It calculates its inputs. Defines _authoritative_module. Uses libraries __future__, importlib, sys, types. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Inverter Block (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_authoritative_module(name: str)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (python-relative 4); used by 1; mentioned by 0 ### Array Engine - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/array/array_engine.py (Python, 473 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/array/array_engine.py#L1-L473 - Page: https://code.globalgrid2050.com/explore-code/s/0210.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. It builds complete table (`build_complete_table`), compares wiring strategies (`compare_wiring_strategies`) and compares reference (`compare_reference_24_by_30`). - What it achieves (comment): Public Build 025 whole-table geometry and topology orchestration. - What it does: It calculates solar. Defines 13 functions or classes, including Build025Receipt, MetricDelta, StrategyComparisonReceipt, _canonical_json, _hash_payload. Uses libraries __future__, dataclasses, hashlib, json, typing. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Solar Topology — Array (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class Build025Receipt`; `class MetricDelta`; `class StrategyComparisonReceipt`; `_canonical_json(payload: object)`; `_hash_payload(payload: object)`; `_geometry_summary(geometry: TableGeometryReceipt)`; `build025_payload(receipt: Build025Receipt)`; `_metric_deltas(sequential: TableRouteMetrics, leapfrog: TableRouteMetrics)`; `strategy_comparison_payload(receipt: StrategyComparisonReceipt)`; `compare_reference_24_by_30(*, inverter_position: Point2D = Point2D(-5.0, 27.0), equipment_profile: EquipmentProfile | None = None, routing_confi...)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Array Route Geometry - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/array/array_route_geometry.py (Python, 809 lines) · role geodesy · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/array/array_route_geometry.py#L1-L809 - Page: https://code.globalgrid2050.com/explore-code/s/0211.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that builds interconnect routes (`build_interconnect_routes`), counts route crossings (`count_route_crossings`) and calculates planar distances. - What it achieves (comment): It builds route (`build_route`) and is built from the local to world helper (`local_to_world`) and the world to local helper (`world_to_local`). Geometry algorithms used by the Build 025 routing authority. - What it does: It calculates its inputs. Defines 26 functions or classes, including local_to_world, world_to_local, _module_offset_point, terminal_points, deduplicate_vertices. Uses libraries __future__, dataclasses, math, typing. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Array Routing (solar-electrical-topology-analysis-engine-text-based). - Signatures: `local_to_world(local: LocalPoint2D, geometry: TableGeometryReceipt)`; `world_to_local(point: Point2D, geometry: TableGeometryReceipt)`; `_module_offset_point(placement: ModulePlacement, offset_u_m: float, offset_v_m: float)`; `terminal_points(geometry: TableGeometryReceipt, layout: ModuleTerminalLayout)`; `deduplicate_vertices(vertices: Iterable[Point2D])`; `_route_class(index: int, count: int, home_run: bool, from_input: bool)`; `build_route(*, route_id: str, string_id: str, polarity: RoutePolarity, conductor_scope: ConductorScope, from_node_id: str, to_nod...)`; `_interconnect_vertices(start: Point2D, end: Point2D, geometry: TableGeometryReceipt, lane_offset_m: float, lane_sign: int)`; `build_interconnect_routes(topology: StringTopology, geometry: TableGeometryReceipt, terminals: Mapping[str, tuple[Point2D, Point2D]], config: R...)`; `module_row_v(module_ids: Sequence[str], placement_by_id: Mapping[str, ModulePlacement], geometry: TableGeometryReceipt)`; `entry_u(collection_u: float, inverter_u: float, offset: float)`; `home_route_vertices(*, free_point: Point2D, input_point: Point2D, exit_lane_v: float, trunk_lane_v: float, collection_u: float, entry_u_m...)`; `_point_to_segment_distance(point: Point2D, start: Point2D, end: Point2D)`; `_point_to_route_distance(point: Point2D, route: ConductorRoute)`; `pole_separation_metrics(positive: ConductorRoute, negative: ConductorRoute)`; `_parallel_overlap(first: RouteSegment, second: RouteSegment, maximum_separation: float)`; `parallel_run_distance(positive: ConductorRoute, negative: ConductorRoute, maximum_separation: float)`; `_orientation(a: Point2D, b: Point2D, c: Point2D)`; `_proper_intersection(a: Point2D, b: Point2D, c: Point2D, d: Point2D)`; `_intersection_point(a: Point2D, b: Point2D, c: Point2D, d: Point2D)`; `count_route_crossings(routes: Sequence[ConductorRoute])`; `signed_polygon_area(vertices: Sequence[Point2D])`; `_winding_number(point: Point2D, vertices: Sequence[Point2D])`; `absolute_winding_area(vertices: Sequence[Point2D])`; `circuit_loop_vertices(topology: StringTopology, positive_route: ConductorRoute, negative_route: ConductorRoute, interconnect_routes: Sequen...)` (and 1 more) - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Array Route Types - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/array/array_route_types.py (Python, 370 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/array/array_route_types.py#L1-L370 - Page: https://code.globalgrid2050.com/explore-code/s/0212.html#f2 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. It routes polarity (`RoutePolarity`), routes class (`RouteClass`) and routes segment (`RouteSegment`). - What it achieves (comment): Immutable records for Build 025 route and length authority. - What it does: It calculates solar. Defines 28 functions or classes, including RoutePolarity, RouteClass, InstallationMethod, ConductorScope, LocalPoint2D. Uses libraries __future__, dataclasses, enum, hashlib, json. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: solar. - Downstream impact: Used directly by 3 files: Solar Topology — Array (solar-electrical-topology-analysis-engine-text-based); Array Route Geometry (solar-electrical-topology-analysis-engine-text-based); Array Routing (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class RoutePolarity`; `class RouteClass`; `class InstallationMethod`; `class ConductorScope`; `class LocalPoint2D`; `__post_init__(self)`; `class InverterPlacement`; `class ModuleTerminalLayout`; `class RoutingConfig`; `class RouteSegment`; `class ConductorRoute`; `class StringRouteMetrics`; `class StringRoutingReceipt`; `class TableRouteMetrics`; `class TableRoutingReceipt`; `class InstalledLengthPolicy`; `class RouteInstalledLength`; `class InstalledLengthReceipt`; `canonical_float(value: float)`; `canonical_json(payload: object)`; `hash_payload(payload: object)`; `same_point(first: Point2D, second: Point2D)`; `method_flags(method: InstallationMethod)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 3; mentioned by 0 ### Array Routing - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/array/array_routing.py (Python, 641 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/array/array_routing.py#L1-L641 - Page: https://code.globalgrid2050.com/explore-code/s/0213.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that builds table routes (`build_table_routes`) and calculates installed length (`calculate_installed_length`). - What it achieves (comment): It is built from the routing payload helper (`routing_payload`) and the installed length payload helper (`installed_length_payload`). Build 025 explicit conductor geometry, comparison and length receipts. - What it does: It calculates its inputs. Defines 8 functions or classes, including _build_string_routing, _table_metrics, routing_payload, build_table_routes, _field_routes. Uses libraries __future__, dataclasses, math, typing. - Why it exists in the grid workflow: Domain stage field_execution (path word 'routing'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Array Engine (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_table_metrics(strings: Sequence[StringRoutingReceipt])`; `routing_payload(receipt: TableRoutingReceipt)`; `build_table_routes(geometry: TableGeometryReceipt, string_allocation: StringAllocationReceipt, topology: TableTopologyReceipt, input_all...)`; `_field_routes(receipt: TableRoutingReceipt)`; `_factory_routes(receipt: TableRoutingReceipt)`; `installed_length_payload(receipt: InstalledLengthReceipt)`; `calculate_installed_length(routing: TableRoutingReceipt, *, policy: InstalledLengthPolicy = InstalledLengthPolicy())` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### Array Topology - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/array/array_topology.py (Python, 1109 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/array/array_topology.py#L1-L1109 - Page: https://code.globalgrid2050.com/explore-code/s/0214.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. It builds table topology (`build_table_topology`), attaches input topology (`attach_input_topology`) and adds node (`add_node`). - What it achieves (comment): Build 025C topology and physical-input allocation. - What it does: It calculates solar. Defines 37 functions or classes, including WiringStrategy, NodeKind, EdgeKind, Build025Limits, __post_init__. Uses libraries __future__, collections, dataclasses, enum, hashlib. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 5 files: Solar Topology — Array (solar-electrical-topology-analysis-engine-text-based); Array Engine (solar-electrical-topology-analysis-engine-text-based); Array Route Geometry (solar-electrical-topology-analysis-engine-text-based); Array Route Types (solar-electrical-topology-analysis-engine-text-based); and 1 more. - Signatures: `class WiringStrategy`; `class NodeKind`; `class EdgeKind`; `class Build025Limits`; `__post_init__(self)`; `class TopologyNode`; `class TopologyEdge`; `class StringTopology`; `class TableTopologyReceipt`; `class PhysicalInputSpec`; `class EquipmentProfile`; `class InputAssignment`; `class InputAllocationReceipt`; `_canonical_json(payload: object)`; `_hash_payload(payload: object)`; `allocation_payload(receipt: StringAllocationReceipt)`; `allocate_strings(geometry: TableGeometryReceipt, *, string_count: int, modules_per_string: int, explicit_module_groups: Sequence[Seque...)`; `electrical_module_order(physical_module_ids: Sequence[str], strategy: WiringStrategy | str)`; `_node(node_id: str, kind: NodeKind, string_id: str, module_id: str | None = None)`; `_build_string_topology(assignment: StringAssignment, strategy: WiringStrategy)`; `_validate_string_topology(topology: StringTopology)`; `_node_payload(node: TopologyNode)`; `_edge_payload(edge: TopologyEdge)`; `_topology_basis(*, table_id: str, assignment_hash: str, strategy: WiringStrategy, strings: Sequence[StringTopology], equipment_nodes:...)`; `topology_payload(receipt: TableTopologyReceipt)` (and 9 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 5; mentioned by 0 ### Geometry Authority - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/array/geometry_authority.py (Python, 293 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/array/geometry_authority.py#L1-L293 - Page: https://code.globalgrid2050.com/explore-code/s/0216.html#f1 - Synopsis: A Python module in the array folder of Solar Electrical Topology Analysis Engine Text Based that generates table geometry (`generate_table_geometry`), using SHA-256. - What it achieves (comment): It is built from the point2 d class (`Point2D`), the module dimensions class (`ModuleDimensions`) and the oriented step (`oriented`). Deterministic, geometry-authoritative PV table placement. - What it does: It calculates its inputs. Defines 17 functions or classes, including Point2D, __post_init__, ModuleDimensions, __post_init__, oriented. Uses libraries __future__, dataclasses, hashlib, json, math. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 8 files: Solar Topology — Array (solar-electrical-topology-analysis-engine-text-based); Array Engine (solar-electrical-topology-analysis-engine-text-based); Array Route Geometry (solar-electrical-topology-analysis-engine-text-based); Array Route Types (solar-electrical-topology-analysis-engine-text-based); and 4 more. - Signatures: `class Point2D`; `__post_init__(self)`; `class ModuleDimensions`; `oriented(self, orientation: Orientation)`; `class TableLayoutRequest`; `class ModulePlacement`; `class TableBounds`; `class TableGeometryReceipt`; `_canonical_float(value: float)`; `_rotate_translate(local_x: float, local_y: float, request: TableLayoutRequest)`; `_corners(placement: ModulePlacement)`; `_canonical_payload(request: TableLayoutRequest, placements: tuple[ModulePlacement, ...], bounds: TableBounds)`; `generate_table_geometry(request: TableLayoutRequest)`; `receipt_as_dict(receipt: TableGeometryReceipt)`; `reference_24_by_30_table(*, table_id: str = "TABLE-001", origin: Point2D = Point2D(0.0, 0.0), rotation_deg: float = 0.0)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 8; mentioned by 0 ### Table String Assignment - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/array/table_string_assignment.py (Python, 220 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/array/table_string_assignment.py#L1-L220 - Page: https://code.globalgrid2050.com/explore-code/s/0216.html#f2 - Synopsis: A Python module in the array folder of Solar Electrical Topology Analysis Engine Text Based that assigns modules to strings (`assign_modules_to_strings`), using SHA-256. - What it achieves (comment): It is built from the string free terminal class (`StringFreeTerminal`), the ordered string membership class (`OrderedStringMembership`) and the physical module ids helper (`physical_module_ids`). Deterministic module-to-string membership for Build 025B. - What it does: It calculates its inputs. Defines 10 functions or classes, including StringFreeTerminal, __post_init__, OrderedStringMembership, __post_init__, physical_module_ids. Uses libraries __future__, dataclasses, hashlib, json, typing. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 4 files: Array Topology (solar-electrical-topology-analysis-engine-text-based); Table String Hashing (solar-electrical-topology-analysis-engine-text-based); Table String Validation (solar-electrical-topology-analysis-engine-text-based); Table String Assignment (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class StringFreeTerminal`; `__post_init__(self)`; `class OrderedStringMembership`; `physical_module_ids(self)`; `class TableStringAssignmentReceipt`; `assignments(self)`; `_canonical_payload(*, geometry: TableGeometryReceipt, string_count: int, modules_per_string: int, strings: tuple[OrderedStringMembership...)`; `assign_modules_to_strings(geometry: TableGeometryReceipt, *, string_count: int, modules_per_string: int)`; `assignment_as_dict(receipt: TableStringAssignmentReceipt)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Table String Hashing - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/array/table_string_hashing.py (Python, 51 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/array/table_string_hashing.py#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/0216.html#f3 - Synopsis: A Python module in the array folder of Solar Electrical Topology Analysis Engine Text Based that calculates assignment hash (`calculate_assignment_hash`), using SHA-256. - What it achieves (comment): It is built from the assignment payload helper (`assignment_payload`). Independent canonical hashing for Build 025B assignment receipts. - What it does: It calculates its inputs. Defines assignment_payload, calculate_assignment_hash. Uses libraries __future__, hashlib, json. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Table String Validation (solar-electrical-topology-analysis-engine-text-based); Table String Hashing (solar-electrical-topology-analysis-engine-text-based). - Signatures: `assignment_payload(receipt: TableStringAssignmentReceipt)`; `calculate_assignment_hash(receipt: TableStringAssignmentReceipt)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Table String Validation - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/array/table_string_validation.py (Python, 144 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/array/table_string_validation.py#L1-L144 - Page: https://code.globalgrid2050.com/explore-code/s/0217.html#f1 - Synopsis: A Python module in the array folder of Solar Electrical Topology Analysis Engine Text Based that validates table assignment (`validate_table_string_assignment`). - What it achieves (comment): It is built from the string assignment validation issue class (`StringAssignmentValidationIssue`), the string assignment validation result class (`StringAssignmentValidationResult`) and the add step (`add`). Independent structural validation for Build 025B string membership. - What it does: It calculates its inputs. Defines StringAssignmentValidationIssue, StringAssignmentValidationResult, validate_table_string_assignment, add. Uses libraries __future__, dataclasses. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Array Topology (solar-electrical-topology-analysis-engine-text-based); Table String Validation (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class StringAssignmentValidationIssue`; `class StringAssignmentValidationResult`; `validate_table_string_assignment(geometry: TableGeometryReceipt, assignment: TableStringAssignmentReceipt)`; `add(code: str, message: str)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Calculation Receipts - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/calculation_receipts.py (Python, 179 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/calculation_receipts.py#L1-L179 - Page: https://code.globalgrid2050.com/explore-code/s/0217.html#f2 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. - What it achieves (comment): It is built from the segment calculation result class (`SegmentCalculationResult`), the ordered circuit calculation receipt class (`OrderedCircuitCalculationReceipt`) and the resistance registry hash helper (`resistance_registry_hash`). Immutable deterministic calculation receipts for validated V10 circuits. - What it does: It calculates solar. Defines 8 functions or classes, including SegmentCalculationResult, OrderedCircuitCalculationReceipt, resistance_registry_hash, _evidence_payload, _segment_payload. Uses libraries __future__, dataclasses, hashlib, json. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 4 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Circuit Calculations (solar-electrical-topology-analysis-engine-text-based); Kernel Authority (solar-electrical-topology-analysis-engine-text-based); Uncertainty (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class SegmentCalculationResult`; `class OrderedCircuitCalculationReceipt`; `resistance_registry_hash(self)`; `_evidence_payload(descriptor: EvidenceDescriptor)`; `_segment_payload(result: SegmentCalculationResult)`; `calculation_receipt_payload(receipt: OrderedCircuitCalculationReceipt)`; `calculation_receipt_json(receipt: OrderedCircuitCalculationReceipt)`; `calculation_receipt_hash(receipt: OrderedCircuitCalculationReceipt)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (python-relative 3); used by 4; mentioned by 0 ### Cartridges - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/cartridges.py (Python, 643 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/cartridges.py#L1-L643 - Page: https://code.globalgrid2050.com/explore-code/s/0217.html#f3 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that builds segments (`build_segments`) and fleet segments (`build_fleet_segments`) and validates segment chains (`validate_segment_chains`) (units: Ω), using SHA-256. - What it achieves (comment): It is built from the topology cartridge class (`TopologyCartridge`), the feasibility step (`feasibility`) and the module order helper (`module_order`). Topology cartridges that emit one shared ordered segment schema. - What it does: It calculates its inputs. Defines 28 functions or classes, including TopologyCartridge, feasibility, module_order, build_segments, manifest. Uses libraries __future__, abc, collections, hashlib, json. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 3 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Circuit Adapters (solar-electrical-topology-analysis-engine-text-based); Fleet Store (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class TopologyCartridge`; `feasibility(self, inputs: TopologyInputs)`; `module_order(self, module_count: int)`; `build_segments(self, inputs: TopologyInputs, definition: StringDefinition)`; `manifest(self, inputs: TopologyInputs, segments: Sequence[SegmentRow], source_commit: str = "unknown")`; `_point_at_module(definition: StringDefinition, inputs: TopologyInputs, module_index: int)`; `_midpoint(first: Point3D, second: Point3D)`; `_near_terminal(definition: StringDefinition)`; `_far_terminal(definition: StringDefinition)`; `_inverter_terminal(definition: StringDefinition)`; `_build_module_chain(*, builder: SegmentBuilder, inputs: TopologyInputs, definition: StringDefinition, order: Sequence[int], first_termina...)`; `_append_positive_home_run(builder: SegmentBuilder, inputs: TopologyInputs, definition: StringDefinition)`; `_append_negative_home_run(builder: SegmentBuilder, inputs: TopologyInputs, definition: StringDefinition, from_node_id: str, start: Point3D)`; `class SequentialCartridge`; `class LeapfrogCartridge`; `build_fleet_segments(inputs: TopologyInputs, cartridges: Iterable[TopologyCartridge] = INITIAL_CARTRIDGES)`; `validate_segment_chains(segments: Iterable[SegmentRow])`; `validate_cross_cartridge_invariants(segments: Iterable[SegmentRow])`; `factory_total(items: Sequence[SegmentRow])`; `ordinary_connectors(items: Sequence[SegmentRow])`; `math_isclose(first: float, second: float, tolerance: float = 1e-12)`; `segments_as_json(segments: Iterable[SegmentRow])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 3; mentioned by 0 ### Circuit - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/circuit.py (Python, 185 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/circuit.py#L1-L185 - Page: https://code.globalgrid2050.com/explore-code/s/0218.html#f2 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar. - What it achieves (comment): It is built from the object kind class (`ObjectKind`), the terminal polarity class (`TerminalPolarity`) and the connection kind class (`ConnectionKind`). Canonical V10 physical-object, terminal and connection records. - What it does: It calculates solar. Defines 12 functions or classes, including ObjectKind, TerminalPolarity, ConnectionKind, EvidenceClass, Terminal. Uses libraries __future__, dataclasses, enum, json, typing. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 12 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Calculation Receipts (solar-electrical-topology-analysis-engine-text-based); Circuit Adapters (solar-electrical-topology-analysis-engine-text-based); Circuit Calculations (solar-electrical-topology-analysis-engine-text-based); and 8 more. - Signatures: `class ObjectKind`; `class TerminalPolarity`; `class ConnectionKind`; `class EvidenceClass`; `class Terminal`; `class PhysicalObject`; `class Connection`; `class CircuitModel`; `_point_payload(point: Point3D | None)`; `_attribute_payload(items: AttributeItems)`; `canonical_circuit_payload(model: CircuitModel)`; `canonical_circuit_json(model: CircuitModel)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 12; mentioned by 0 ### Circuit Adapters - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/circuit_adapters.py (Python, 450 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/circuit_adapters.py#L1-L450 - Page: https://code.globalgrid2050.com/explore-code/s/0219.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. It builds sequential circuit (`build_sequential_circuit`) and builds leapfrog circuit (`build_leapfrog_circuit`). - What it achieves (comment): Adapt ordered cartridge segment chains into the canonical V10 circuit model. - What it does: It calculates solar. Defines 19 functions or classes, including _point, _points_match, _evidence_class, _object_kind, _terminal_polarity. Uses libraries __future__, collections, hashlib, json, math. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 2 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Circuit Calculations (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_point(x: float, y: float, z: float)`; `_points_match(first: Point3D, second: Point3D)`; `_evidence_class(row: SegmentRow)`; `_object_kind(row: SegmentRow)`; `_terminal_polarity(row: SegmentRow)`; `_source_payload(rows: Sequence[SegmentRow])`; `segment_chain_hash(rows: Iterable[SegmentRow])`; `_normalise_segment_chain(rows: Iterable[SegmentRow])`; `_node_coordinates(rows: Sequence[SegmentRow])`; `_node_object_id(string_id: str, node_id: str)`; `_node_terminal_id(string_id: str, node_id: str)`; `_segment_object_id(segment_id: str)`; `_segment_terminal_id(segment_id: str, end: str)`; `_metadata_dict(model: CircuitModel)`; `circuit_boundary_terminal_ids(model: CircuitModel)`; `source_segment_ids(rows: Iterable[SegmentRow])`; `adapt_segment_chain_to_circuit(rows: Iterable[SegmentRow], *, model_id: str | None = None)`; `build_sequential_circuit(inputs: TopologyInputs, definition: StringDefinition)`; `build_leapfrog_circuit(inputs: TopologyInputs, definition: StringDefinition)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (python-relative 3); used by 2; mentioned by 0 ### Circuit Calculations - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/circuit_calculations.py (Python, 430 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/circuit_calculations.py#L1-L430 - Page: https://code.globalgrid2050.com/explore-code/s/0220.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that calculates complete circuit (`calculate_complete_circuit`) (units: Ω), using SHA-256. - What it achieves (comment): Complete-circuit steady-state calculations gated by V10 validation and traversal. - What it does: It calculates its inputs. Defines 7 functions or classes, including _attributes, _required_text, _finite_number, _non_negative_integer, _segment_object_by_id. Uses libraries __future__, hashlib, json, math. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Uncertainty (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_attributes(obj: PhysicalObject)`; `_required_text(attributes: dict[str, object], key: str, segment_id: str)`; `_finite_number(attributes: dict[str, object], key: str, segment_id: str, *, minimum: float | None = None, strictly_positive: bool = ...)`; `_non_negative_integer(attributes: dict[str, object], key: str, segment_id: str)`; `_segment_object_by_id(model: CircuitModel)`; `_receipt_id(circuit_hash: str, current_a: float, current_evidence: EvidenceDescriptor, resistance_evidence_set_hash: str)`; `calculate_complete_circuit(model: CircuitModel, traversal: OrderedCircuitTraversal, *, current_a: float, current_evidence: EvidenceDescriptor, r...)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 7 estate files (python-relative 7); used by 2; mentioned by 0 ### Circuit Traversal - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/circuit_traversal.py (Python, 342 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/circuit_traversal.py#L1-L342 - Page: https://code.globalgrid2050.com/explore-code/s/0221.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar. It sorts key (`sort_key`) and verifies ordered circuit (`verify_ordered_circuit`). - What it achieves (comment): Independent ordered-circuit traversal verification for V10. - What it does: It calculates solar. Defines 9 functions or classes, including TraversalIssue, sort_key, OrderedCircuitTraversal, valid, error_codes. Uses libraries __future__, collections, dataclasses. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 5 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Circuit Calculations (solar-electrical-topology-analysis-engine-text-based); Diagnostic Bridges (solar-electrical-topology-analysis-engine-text-based); Topology Authority (solar-electrical-topology-analysis-engine-text-based); and 1 more. - Signatures: `class TraversalIssue`; `sort_key(self)`; `class OrderedCircuitTraversal`; `valid(self)`; `error_codes(self)`; `raise_for_errors(self)`; `_other_terminal(connection: Connection, terminal_id: str)`; `_empty_result(start_terminal_id: str, end_terminal_id: str, issues: list[TraversalIssue])`; `verify_ordered_circuit(model: CircuitModel, start_terminal_id: str, end_terminal_id: str, *, expected_segment_ids: tuple[str, ...] | None = ...)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (python-relative 2); used by 5; mentioned by 0 ### Circuit Validation - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/circuit_validation.py (Python, 587 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/circuit_validation.py#L1-L587 - Page: https://code.globalgrid2050.com/explore-code/s/0221.html#f2 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that validates circuit model (`validate_circuit_model`), using SHA-256. - What it achieves (comment): It sorts key (`sort_key`) and is built from the issue severity class (`IssueSeverity`) and the validation issue class (`ValidationIssue`). Independent validation for the canonical V10 circuit model. - What it does: It calculates its inputs. Defines 13 functions or classes, including IssueSeverity, ValidationIssue, sort_key, CircuitValidationResult, valid. Uses libraries __future__, collections, dataclasses, enum, hashlib. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 6 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Circuit Calculations (solar-electrical-topology-analysis-engine-text-based); Circuit Traversal (solar-electrical-topology-analysis-engine-text-based); Diagnostic Adapters (solar-electrical-topology-analysis-engine-text-based); and 2 more. - Signatures: `class IssueSeverity`; `class ValidationIssue`; `sort_key(self)`; `class CircuitValidationResult`; `valid(self)`; `error_codes(self)`; `raise_for_errors(self)`; `_has_text(value: object)`; `_valid_scalar(value: object)`; `_check_attribute_items(items: tuple[tuple[str, ScalarValue], ...], *, owner_label: str, issue_factory)`; `_parent_cycle_issues(parent_by_object: dict[str, str | None])`; `validate_circuit_model(model: CircuitModel)`; `validated_circuit_hash(model: CircuitModel)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 6; mentioned by 0 ### Contradictions - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/contradictions.py (Python, 151 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/contradictions.py#L1-L151 - Page: https://code.globalgrid2050.com/explore-code/s/0222.html#f2 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. - What it achieves (comment): It builds contradiction register (`build_contradiction_register`) and is built from the contradiction status class (`ContradictionStatus`) and the contradiction severity class (`ContradictionSeverity`). Deterministic contradiction register for evidence-bearing V10 claims. - What it does: It calculates solar. Defines 13 functions or classes, including ContradictionStatus, ContradictionSeverity, Claim, __post_init__, Contradiction. Uses libraries __future__, dataclasses, enum, hashlib, json. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class ContradictionStatus`; `class ContradictionSeverity`; `class Claim`; `__post_init__(self)`; `class Contradiction`; `class ContradictionRegister`; `build_contradiction_register(contradictions: tuple[Contradiction, ...] | list[Contradiction])`; `contradiction_register_payload(register: ContradictionRegister)`; `claim_payload(claim: Claim)`; `contradiction_register_json(register: ContradictionRegister)`; `contradiction_register_hash(register: ContradictionRegister)`; `unresolved_contradictions(register: ContradictionRegister, *, minimum_severity: ContradictionSeverity | None = None)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 1; mentioned by 0 ### Diagnostic Adapters - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/diagnostic_adapters.py (Python, 80 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/diagnostic_adapters.py#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/0222.html#f3 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar. - What it achieves (comment): It is built from the circuit validation diagnostics helper (`circuit_validation_diagnostics`) and the coverage for unperformed studies helper (`coverage_for_unperformed_studies`). Adapters from existing V10 validation results to unified diagnostics. - What it does: It calculates solar. Defines circuit_validation_diagnostics, coverage_for_unperformed_studies. Uses libraries __future__, collections.abc. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `circuit_validation_diagnostics(result: CircuitValidationResult, *, study_id: str = "canonical-circuit-validation", subject_id: str | None = None)`; `coverage_for_unperformed_studies(studies: Iterable[tuple[str, str]], *, subject_id: str | None = None)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (python-relative 2); used by 1; mentioned by 0 ### Diagnostic Bridges - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/diagnostic_bridges.py (Python, 166 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/diagnostic_bridges.py#L1-L166 - Page: https://code.globalgrid2050.com/explore-code/s/0222.html#f4 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar. - What it achieves (comment): It builds validation diagnostic report (`build_validation_diagnostic_report`) and is built from the diagnostics from circuit validation helper (`diagnostics_from_circuit_validation`) and the diagnostics from traversal helper (`diagnostics_from_traversal`). Adapters from existing V10 validators into the unified diagnostic contract. - What it does: It calculates solar. Defines _severity, diagnostics_from_circuit_validation, diagnostics_from_traversal, guarded_diagnostic_call, build_validation_diagnostic_report. Uses libraries __future__, collections.abc. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_severity(value: IssueSeverity)`; `diagnostics_from_circuit_validation(result: CircuitValidationResult, *, subject_id: str | None = None)`; `diagnostics_from_traversal(traversal: OrderedCircuitTraversal, *, subject_id: str | None = None)`; `guarded_diagnostic_call(function, *args, code: str, category: DiagnosticCategory, subject_id: str | None = None, field: str | None = None, pu...)`; `build_validation_diagnostic_report(*, circuit: CircuitValidationResult | None = None, traversal: OrderedCircuitTraversal | None = None, extra_diagnostic...)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (python-relative 3); used by 1; mentioned by 0 ### Diagnostics - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/diagnostics.py (Python, 270 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/diagnostics.py#L1-L270 - Page: https://code.globalgrid2050.com/explore-code/s/0223.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. - What it achieves (comment): It builds diagnostic report (`build_diagnostic_report`) and is built from the diagnostic severity class (`DiagnosticSeverity`) and the diagnostic category class (`DiagnosticCategory`). Structured, deterministic diagnostics for V10 engineering studies. - What it does: It calculates solar. Defines 22 functions or classes, including DiagnosticSeverity, DiagnosticCategory, StudyState, Diagnostic, __post_init__. Uses libraries __future__, dataclasses, enum, hashlib, json. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 6 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Diagnostic Adapters (solar-electrical-topology-analysis-engine-text-based); Diagnostic Bridges (solar-electrical-topology-analysis-engine-text-based); Electrical Studies (solar-electrical-topology-analysis-engine-text-based); and 2 more. - Signatures: `class DiagnosticSeverity`; `class DiagnosticCategory`; `class StudyState`; `class Diagnostic`; `__post_init__(self)`; `blocking(self)`; `class StudyCoverage`; `class DiagnosticReport`; `error_count(self)`; `warning_count(self)`; `_diagnostic_key(item: Diagnostic)`; `_coverage_key(item: StudyCoverage)`; `build_diagnostic_report(diagnostics: Iterable[Diagnostic] = (), coverage: Iterable[StudyCoverage] = (), *, report_id: str | None = None)`; `diagnostic_payload(item: Diagnostic, *, public: bool)`; `coverage_payload(item: StudyCoverage)`; `diagnostic_report_payload(report: DiagnosticReport, *, public: bool = False)`; `diagnostic_report_json(report: DiagnosticReport, *, public: bool = False)`; `diagnostic_report_hash(report: DiagnosticReport)`; `require_non_blocking(report: DiagnosticReport)`; `diagnostic_from_exception(error: Exception, *, code: str, category: DiagnosticCategory, subject_id: str | None = None, field: str | None = None...)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### DuckDB Segments - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/duckdb_segments.py (Python, 125 lines) · role storage · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/duckdb_segments.py#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/0223.html#f2 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that reads solar, using SHA-256. It creates segment table (`create_segment_table`), writes segment rows (`write_segment_rows`) and reads segment rows (`read_segment_rows`). - What it achieves (comment): Deterministic DuckDB persistence for canonical segment rows. - What it does: It loads solar. Defines 8 functions or classes, including _sql_type, create_segment_table, write_segment_rows, read_segment_rows, segment_rows_payload. Uses libraries __future__, dataclasses, hashlib, json, pathlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: In: DuckDB queries. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_sql_type(name: str)`; `create_segment_table(connection: duckdb.DuckDBPyConnection)`; `write_segment_rows(connection: duckdb.DuckDBPyConnection, rows: Iterable[SegmentRow])`; `read_segment_rows(connection: duckdb.DuckDBPyConnection)`; `segment_rows_payload(rows: Iterable[SegmentRow])`; `segment_rows_hash(rows: Iterable[SegmentRow])`; `export_segment_parquet(connection: duckdb.DuckDBPyConnection, destination: str | Path)`; `read_segment_parquet(path: str | Path)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 1; mentioned by 0 ### Electrical Studies - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/electrical_studies.py (Python, 244 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/electrical_studies.py#L1-L244 - Page: https://code.globalgrid2050.com/explore-code/s/0223.html#f3 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. - What it achieves (comment): It calculates cold voc study (`calculate_cold_voc_study`) and is built from the electrical study receipt class (`ElectricalStudyReceipt`) and the evaluate numeric study helper (`evaluate_numeric_study`). Evidence-controlled electrical study receipts for V10. - What it does: It calculates solar. Defines 8 functions or classes, including ElectricalStudyReceipt, __post_init__, _criterion_diagnostics, calculate_cold_voc_study, evaluate_numeric_study. Uses libraries __future__, dataclasses, hashlib, json, math. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Signatures: `class ElectricalStudyReceipt`; `__post_init__(self)`; `_criterion_diagnostics(*, study_id: str, subject_id: str, value: float, unit: str, criterion: AcceptanceCriterion | None)`; `calculate_cold_voc_study(*, subject_id: str, module_voc_v: float, modules_per_string: int, beta_voc_percent_per_k: float, cold_cell_temperatur...)`; `evaluate_numeric_study(*, study_id: str, study_kind: StudyKind, subject_id: str, value: float, unit: str, input_values: tuple[tuple[str, flo...)`; `electrical_study_payload(receipt: ElectricalStudyReceipt)`; `electrical_study_json(receipt: ElectricalStudyReceipt)`; `electrical_study_hash(receipt: ElectricalStudyReceipt)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (python-relative 3); used by 0; mentioned by 0 ### Equipment Profiles - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/equipment_profiles.py (Python, 648 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/equipment_profiles.py#L1-L648 - Page: https://code.globalgrid2050.com/explore-code/s/0224.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. It builds generic reference equipment contract (`build_generic_reference_equipment_contract`) and validates reference equipment contract (`validate_reference_equipment_contract`). - What it achieves (comment): Generic, evidence-qualified equipment profiles for the reference inverter block. - What it does: It calculates solar. Defines 31 functions or classes, including ModuleTechnology, InternalDcTopology, ReverseCurrentBlockingState, ConnectorCompatibilityState, QualifiedValue. Uses libraries __future__, dataclasses, decimal, enum, hashlib. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 2 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Inverter Block (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class ModuleTechnology`; `class InternalDcTopology`; `class ReverseCurrentBlockingState`; `class ConnectorCompatibilityState`; `class QualifiedValue`; `resolved(self)`; `verified(self)`; `validate(self)`; `class ModuleEquipmentProfile`; `class DcInputProfile`; `class InverterEquipmentProfile`; `class ConnectorEquipmentProfile`; `class FactoryLeadSetProfile`; `class FieldConductorProfile`; `class ReferenceEquipmentContract`; `module_count(self)`; `string_rated_power_kwp(self)`; `dc_nameplate_power_kwp(self)`; `dc_ac_nameplate_ratio(self)`; `_known(value: ScalarValue, unit: str | None)`; `_unknown(unit: str | None, note: str)`; `_unknown_enum(enum_value: StrEnum, note: str)`; `_dc_inputs(count: int)`; `build_generic_reference_equipment_contract()`; `_qualified_value_payload(item: QualifiedValue)` (and 6 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (python-relative 4); used by 2; mentioned by 0 ### Evidence - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/evidence.py (Python, 181 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/evidence.py#L1-L181 - Page: https://code.globalgrid2050.com/explore-code/s/0225.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar. - What it achieves (comment): It is built from the verification state class (`VerificationState`), the evidence descriptor class (`EvidenceDescriptor`) and the segment provenance descriptor helper (`segment_provenance_descriptor`). Canonical evidence vocabulary and source-vocabulary reconciliation for V10. - What it does: It calculates solar. Defines 7 functions or classes, including VerificationState, EvidenceDescriptor, _descriptor, segment_provenance_descriptor, javascript_provenance_descriptor. Uses libraries __future__, dataclasses, enum. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 6 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Calculation Receipts (solar-electrical-topology-analysis-engine-text-based); Circuit Calculations (solar-electrical-topology-analysis-engine-text-based); Equipment Profiles (solar-electrical-topology-analysis-engine-text-based); and 2 more. - Signatures: `class VerificationState`; `class EvidenceDescriptor`; `_descriptor(mapping: dict[str, tuple[EvidenceClass, VerificationState]], value: str, *, source_reference: str | None, source_voca...)`; `segment_provenance_descriptor(value: str, *, source_reference: str | None = None)`; `javascript_provenance_descriptor(value: str, *, source_reference: str | None = None)`; `canonical_evidence_descriptor(evidence_class: EvidenceClass, *, verification_state: VerificationState = VerificationState.UNVERIFIED, source_refere...)`; `weakest_evidence_class(evidence_classes: tuple[EvidenceClass, ...] | list[EvidenceClass])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 6; mentioned by 0 ### Evidence Boundary - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/evidence_boundary.py (Python, 145 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/evidence_boundary.py#L1-L145 - Page: https://code.globalgrid2050.com/explore-code/s/0225.html#f2 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar. - What it achieves (comment): It is built from the rights status class (`RightsStatus`), the publication permission class (`PublicationPermission`) and the evidence source class (`EvidenceSource`). Publication-boundary controls for V10 engineering evidence. - What it does: It calculates solar. Defines 7 functions or classes, including RightsStatus, PublicationPermission, EvidenceSource, __post_init__, PublicationDecision. Uses libraries __future__, dataclasses, enum. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 3 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Evidence Register (solar-electrical-topology-analysis-engine-text-based); Public Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class RightsStatus`; `class PublicationPermission`; `class EvidenceSource`; `__post_init__(self)`; `class PublicationDecision`; `assess_publication_boundary(sources: tuple[EvidenceSource, ...] | list[EvidenceSource])`; `require_publication_boundary(sources: tuple[EvidenceSource, ...] | list[EvidenceSource])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (python-relative 2); used by 3; mentioned by 0 ### Evidence Register - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/evidence_register.py (Python, 144 lines) · role energy-data · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/evidence_register.py#L1-L144 - Page: https://code.globalgrid2050.com/explore-code/s/0225.html#f3 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. - What it achieves (comment): It is built from the evidence maturity class (`EvidenceMaturity`), the requirement status class (`RequirementStatus`) and the evidence register entry class (`EvidenceRegisterEntry`). Engineering requirement-to-evidence register for V10 assurance outputs. - What it does: It calculates solar. Defines 9 functions or classes, including EvidenceMaturity, RequirementStatus, EvidenceRegisterEntry, __post_init__, EngineeringEvidenceRegister. Uses libraries __future__, dataclasses, enum, hashlib, json. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class EvidenceMaturity`; `class RequirementStatus`; `class EvidenceRegisterEntry`; `__post_init__(self)`; `class EngineeringEvidenceRegister`; `build_evidence_register(register_id: str, entries: tuple[EvidenceRegisterEntry, ...] | list[EvidenceRegisterEntry], sources: Mapping[str, Evi...)`; `evidence_register_payload(register: EngineeringEvidenceRegister)`; `evidence_register_json(register: EngineeringEvidenceRegister)`; `evidence_register_hash(register: EngineeringEvidenceRegister)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (python-relative 2); used by 1; mentioned by 0 ### Fleet Store - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/fleet_store.py (Python, 876 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/fleet_store.py#L1-L876 - Page: https://code.globalgrid2050.com/explore-code/s/0226.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that reads strings, mppts, inverters and site summary, using SHA-256. It builds store (`build_store`) and builds deterministic store (`build_deterministic_store`). - What it achieves (comment): Authoritative deterministic DuckDB and Parquet topology fleet store. - What it does: It loads strings, mppts, inverters and site summary. Defines 19 functions or classes, including _duckdb_module, _sql_path, _csv_record, _write_segment_csv, _scalar. Uses libraries __future__, csv, dataclasses, hashlib, json. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: Parquet file strings.parquet; Parquet file mppts.parquet; Parquet file inverters.parquet; Parquet file site.parquet; Parquet file comparison.parquet; CSV file segments.csv; DuckDB queries. Out: JSON file site-summary.json; JSON file selected-string.json; JSON file build-summary.json. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_duckdb_module()`; `_sql_path(path: Path)`; `_csv_record(segment: SegmentRow)`; `_write_segment_csv(inputs: TopologyInputs, path: Path)`; `_scalar(connection, query: str, parameters=None)`; `_records(connection, query: str, parameters=None)`; `_run_data_law(connection)`; `_create_segment_results(connection)`; `_copy_query(connection, query: str, target: Path, *, partitioned: bool = False)`; `_write_aggregates(connection, root: Path)`; `_write_browser_slices(connection, root: Path)`; `_sha256(path: Path)`; `_file_hashes(root: Path)`; `_topology_file_hashes(root: Path, topology: str)`; `_write_manifests(connection, root: Path, inputs: TopologyInputs, source_commit: str, data_law: dict[str, int])`; `_load_segments(connection, csv_path: Path)`; `build_store(inputs: TopologyInputs, output_root: Path, source_commit: str = "unknown")`; `_determinism_error(first_hashes: dict[str, str], second_hashes: dict[str, str])`; `build_deterministic_store(inputs: TopologyInputs, output_root: Path, source_commit: str = "unknown")` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [Parquet file strings.parquet; Parquet file mppts.parquet; Parquet file inverters.parquet; Parquet file site.parquet; Parquet file comparison.parquet; CSV file segments.csv; DuckDB queries]; out [JSON file site-summary.json; JSON file selected-string.json; JSON file build-summary.json]; crs []; voltages [] - Edges: uses 2 estate files (python-relative 2); used by 1; mentioned by 0 ### Formulas - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/formulas.py (Python, 175 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/formulas.py#L1-L175 - Page: https://code.globalgrid2050.com/explore-code/s/0227.html#f2 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with cables. - What it achieves (comment): It is built from the two wire parameters class (`TwoWireParameters`), the dc resistance helper (`dc_resistance`) and the two wire parameters helper (`two_wire_parameters`). Authoritative closed-form Tier 1 formulae with explicit units and guards. - What it does: It calculates cables. Defines 8 functions or classes, including TwoWireParameters, dc_resistance, two_wire_parameters, module_frame_capacitance, cold_string_voc. Uses libraries __future__, dataclasses, math, pint. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 3 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Electrical Studies (solar-electrical-topology-analysis-engine-text-based); Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class TwoWireParameters`; `dc_resistance(length, r20_per_length, temperature=Q_(20, ureg.degC))`; `two_wire_parameters(centre_spacing, conductor_diameter, epsilon_r: float = 1.0)`; `module_frame_capacitance(effective_area, dielectric_thickness, epsilon_r: float)`; `cold_string_voc(module_voc, module_count: int, beta_voc_percent_per_c: float, cell_temperature)`; `derived_route_length(near_end_distance, rank_index: int, rank_pitch, inverter_drop)`; `stored_magnetic_energy(inductance, current)`; `stored_electric_energy(capacitance, voltage)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Geometry Receipts - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/geometry_receipts.py (Python, 163 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/geometry_receipts.py#L1-L163 - Page: https://code.globalgrid2050.com/explore-code/s/0227.html#f3 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. - What it achieves (comment): It calculates geometry receipt (`calculate_geometry_receipt`) and is built from the segment geometry result class (`SegmentGeometryResult`) and the geometry receipt class (`GeometryReceipt`). Deterministic geometry screening receipts from ordered segment rows. - What it does: It calculates solar. Defines 6 functions or classes, including SegmentGeometryResult, GeometryReceipt, calculate_geometry_receipt, geometry_receipt_payload, geometry_receipt_json. Uses libraries __future__, dataclasses, hashlib, json, math. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class SegmentGeometryResult`; `class GeometryReceipt`; `calculate_geometry_receipt(rows: Iterable[SegmentRow])`; `geometry_receipt_payload(receipt: GeometryReceipt)`; `geometry_receipt_json(receipt: GeometryReceipt)`; `geometry_receipt_hash(receipt: GeometryReceipt)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 1; mentioned by 0 ### Identifiers - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/identifiers.py (Python, 105 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/identifiers.py#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/0227.html#f4 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with entity level (`EntityLevel`) and canonical identifier (`CanonicalIdentifier`), covering solar. - What it achieves (comment): It parses identifier (`parse_identifier`) and is built from the entity level class (`EntityLevel`) and the canonical identifier class (`CanonicalIdentifier`). Canonical hierarchical identifiers for V10 engineering records. - What it does: Defines 8 functions or classes, including EntityLevel, CanonicalIdentifier, __post_init__, value, child. Uses libraries __future__, dataclasses, enum, re. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 4 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Contradictions (solar-electrical-topology-analysis-engine-text-based); Evidence Register (solar-electrical-topology-analysis-engine-text-based); Public Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class EntityLevel`; `class CanonicalIdentifier`; `__post_init__(self)`; `value(self)`; `child(self, level: EntityLevel, local_id: str)`; `project_id(local_id: str)`; `parse_identifier(value: str)`; `require_unique_identifiers(identifiers: tuple[CanonicalIdentifier, ...] | list[CanonicalIdentifier])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Inverter Block - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/inverter_block.py (Python, 321 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/inverter_block.py#L1-L321 - Page: https://code.globalgrid2050.com/explore-code/s/0228.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. It validates inverter block receipt (`validate_inverter_block_receipt`) and builds reference inverter block (`build_reference_inverter_block`). - What it achieves (comment): Deterministic inverter-block aggregate over existing engineering receipts. Its code works with 352 kVA. - What it does: It calculates solar. Defines 13 functions or classes, including InverterBlockEvidenceState, InverterBlockReceipt, _canonical_json, _hash_payload, _qualified_state. Uses libraries __future__, dataclasses, enum, hashlib, json. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'inverter'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class InverterBlockEvidenceState`; `class InverterBlockReceipt`; `_canonical_json(payload: object)`; `_hash_payload(payload: object)`; `_qualified_state(value: object)`; `_table_binding(receipt: Build025Receipt)`; `inverter_block_payload(receipt: InverterBlockReceipt)`; `inverter_block_json(receipt: InverterBlockReceipt)`; `inverter_block_hash(receipt: InverterBlockReceipt)`; `_normalise_receipts(table_receipts: Iterable[Build025Receipt])`; `build_inverter_block(*, block_id: str, equipment_contract: ReferenceEquipmentContract, table_receipts: Iterable[Build025Receipt])`; `validate_inverter_block_receipt(receipt: InverterBlockReceipt)`; `build_reference_inverter_block(*, strategy: WiringStrategy | str = WiringStrategy.LEAPFROG)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (python-relative 2); used by 1; mentioned by 0 ### Kernel Authority - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/kernel_authority.py (Python, 134 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/kernel_authority.py#L1-L134 - Page: https://code.globalgrid2050.com/explore-code/s/0228.html#f2 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. - What it achieves (comment): It is built from the kernel authority status class (`KernelAuthorityStatus`), the kernel authority assessment class (`KernelAuthorityAssessment`) and the authoritative step (`authoritative`). Authority assessment for deterministic steady-state calculation receipts. - What it does: It calculates solar. Defines 6 functions or classes, including KernelAuthorityStatus, KernelAuthorityAssessment, authoritative, require_authoritative, _close. Uses libraries __future__, dataclasses, enum, math. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Signatures: `class KernelAuthorityStatus`; `class KernelAuthorityAssessment`; `authoritative(self)`; `require_authoritative(self)`; `_close(first: float, second: float)`; `assess_steady_state_receipt(receipt: OrderedCircuitCalculationReceipt)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 0; mentioned by 0 ### Persistence - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/persistence.py (Python, 136 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/persistence.py#L1-L136 - Page: https://code.globalgrid2050.com/explore-code/s/0228.html#f3 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that builds deterministic record store (`build_deterministic_record_store`) and reads back store (`read_back_store`), covering solar, using SHA-256. - What it achieves (comment): It is built from the persisted record class (`PersistedRecord`), the deterministic store class (`DeterministicStore`) and the canonical payload JSON helper (`canonical_payload_json`). Deterministic persistence envelopes and independent read-back verification. - What it does: Defines 10 functions or classes, including PersistedRecord, __post_init__, DeterministicStore, canonical_payload_json, persist_record. Uses libraries __future__, dataclasses, hashlib, json, typing. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class PersistedRecord`; `__post_init__(self)`; `class DeterministicStore`; `canonical_payload_json(payload: Mapping[str, object])`; `persist_record(record_id: str, record_type: str, source_schema_version: str, payload: Mapping[str, object])`; `build_deterministic_record_store(records: tuple[PersistedRecord, ...] | list[PersistedRecord])`; `deterministic_store_payload(store: DeterministicStore)`; `deterministic_store_json(store: DeterministicStore)`; `deterministic_store_hash(store: DeterministicStore)`; `read_back_store(serialised: str)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Products - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/products.py (Python, 158 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/products.py#L1-L158 - Page: https://code.globalgrid2050.com/explore-code/s/0229.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with conductor spec (`ConductorSpec`) and envelope fill factor (`envelope_fill_factor`) (units: mm², Ω), using IEC 60228. - What it achieves (comment): It is built from the conductor spec class (`ConductorSpec`), the resolved resistance helper (`resolved_resistance`) and the validate step (`validate`). Generic conductor products with independently resolved resistance evidence. - What it does: It calculates its inputs. Defines ConductorSpec, envelope_fill_factor, resolved_resistance, validate, as_dict. Uses libraries __future__, dataclasses, math. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 3 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Equipment Profiles (solar-electrical-topology-analysis-engine-text-based); Segments (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class ConductorSpec`; `envelope_fill_factor(self)`; `resolved_resistance(self)`; `validate(self)`; `as_dict(self)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 3; mentioned by 0 ### Public API - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/public_api.py (Python, 176 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/public_api.py#L1-L176 - Page: https://code.globalgrid2050.com/explore-code/s/0229.html#f2 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar. - What it achieves (comment): It builds public API inventory (`build_public_api_inventory`) and is built from the API status class (`ApiStatus`) and the explicitly classified public names helper (`explicitly_classified_public_names`). Canonical classification manifest for the package-level public API. - What it does: It calculates solar. Defines ApiStatus, explicitly_classified_public_names, public_api_status, build_public_api_inventory. Uses libraries __future__, enum. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class ApiStatus`; `explicitly_classified_public_names()`; `public_api_status(name: str)`; `build_public_api_inventory(exported_names: tuple[str, ...] | list[str])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Public Topology - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/public_topology.py (Python, 110 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/public_topology.py#L1-L110 - Page: https://code.globalgrid2050.com/explore-code/s/0229.html#f3 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. - What it achieves (comment): It builds public topology manifest (`build_public_topology_manifest`) and is built from the public topology record class (`PublicTopologyRecord`) and the public topology manifest class (`PublicTopologyManifest`). Evidence-bearing public topology manifests for V10. - What it does: It calculates solar. Defines 7 functions or classes, including PublicTopologyRecord, __post_init__, PublicTopologyManifest, build_public_topology_manifest, public_topology_payload. Uses libraries __future__, dataclasses, hashlib, json, typing. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class PublicTopologyRecord`; `__post_init__(self)`; `class PublicTopologyManifest`; `build_public_topology_manifest(project_identifier: CanonicalIdentifier, records: tuple[PublicTopologyRecord, ...] | list[PublicTopologyRecord], sour...)`; `public_topology_payload(manifest: PublicTopologyManifest)`; `public_topology_json(manifest: PublicTopologyManifest)`; `public_topology_hash(manifest: PublicTopologyManifest)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (python-relative 2); used by 1; mentioned by 0 ### Resistance Evidence - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/resistance_evidence.py (Python, 368 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/resistance_evidence.py#L1-L368 - Page: https://code.globalgrid2050.com/explore-code/s/0230.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. It registers conductor resistance (`register_conductor_resistance`) and resolves conductor resistance (`resolve_conductor_resistance`). - What it achieves (comment): Evidence-bound finished-conductor resistance records for V10 calculations. - What it does: It calculates solar. Defines 19 functions or classes, including ResistanceBasis, ResistanceValueKind, ResolvedConductorResistance, __post_init__, evidence_class. Uses libraries __future__, dataclasses, enum, hashlib, json. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 4 files: Calculation Receipts (solar-electrical-topology-analysis-engine-text-based); Circuit Calculations (solar-electrical-topology-analysis-engine-text-based); Products (solar-electrical-topology-analysis-engine-text-based); Resistance Qualification (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class ResistanceBasis`; `class ResistanceValueKind`; `class ResolvedConductorResistance`; `__post_init__(self)`; `evidence_class(self)`; `legacy_provenance(self)`; `resistance_evidence_payload(record: ResolvedConductorResistance)`; `resistance_evidence_json(record: ResolvedConductorResistance)`; `resistance_evidence_hash(record: ResolvedConductorResistance)`; `resistance_records_payload(records: Iterable[ResolvedConductorResistance])`; `resistance_records_hash(records: Iterable[ResolvedConductorResistance])`; `register_conductor_resistance(record: ResolvedConductorResistance)`; `registered_conductor_resistance(product_id: str)`; `resistance_registry_payload()`; `resistance_registry_hash()`; `_fallback_basis(provenance: str)`; `resolve_conductor_resistance(*, product_id: str, r20_ohm_per_m: float, legacy_provenance: str, legacy_source_reference: str)`; `strongest_resistance_record(records: Iterable[ResolvedConductorResistance])`; `with_resistance_warning(record: ResolvedConductorResistance, warning: str)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 4; mentioned by 0 ### Resistance Qualification - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/resistance_qualification.py (Python, 162 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/resistance_qualification.py#L1-L162 - Page: https://code.globalgrid2050.com/explore-code/s/0230.html#f2 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. - What it achieves (comment): It is built from the resistance source status class (`ResistanceSourceStatus`), the resistance source assessment class (`ResistanceSourceAssessment`) and the promotable step (`promotable`). Deterministic promotion gate for conductor-resistance evidence sources. - What it does: It calculates solar. Defines 8 functions or classes, including ResistanceSourceStatus, ResistanceSourceAssessment, promotable, require_verified, resistance_source_assessment_payload. Uses libraries __future__, dataclasses, enum, hashlib, json. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 2 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Equipment Profiles (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class ResistanceSourceStatus`; `class ResistanceSourceAssessment`; `promotable(self)`; `require_verified(self)`; `resistance_source_assessment_payload(assessment: ResistanceSourceAssessment)`; `resistance_source_assessment_json(assessment: ResistanceSourceAssessment)`; `resistance_source_assessment_hash(assessment: ResistanceSourceAssessment)`; `assess_resistance_source(record: ResolvedConductorResistance)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 2; mentioned by 0 ### Segments - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/segments.py (Python, 448 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/segments.py#L1-L448 - Page: https://code.globalgrid2050.com/explore-code/s/0231.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that ranks plan pitch (`rank_plan_pitch_m`) (units: Ω, mm²), using SHA-256. - What it achieves (comment): It is built from the point3 d class (`Point3D`), the feasibility result class (`FeasibilityResult`) and the topology inputs class (`TopologyInputs`). Shared segment rows and deterministic fleet geometry definitions. - What it does: It calculates its inputs. Defines 19 functions or classes, including Point3D, FeasibilityResult, TopologyInputs, module_pitch_m, row_span_m. Uses libraries __future__, dataclasses, hashlib, json, math. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 7 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Cartridges (solar-electrical-topology-analysis-engine-text-based); Circuit (solar-electrical-topology-analysis-engine-text-based); Circuit Adapters (solar-electrical-topology-analysis-engine-text-based); and 3 more. - Signatures: `class Point3D`; `class FeasibilityResult`; `class TopologyInputs`; `module_pitch_m(self)`; `row_span_m(self)`; `rank_plan_pitch_m(self)`; `archetype_string_count(self)`; `validate(self)`; `class StringDefinition`; `near_route_m(self)`; `class SegmentRow`; `as_dict(self)`; `class SegmentBuilder`; `canonical_input_hash(inputs: TopologyInputs)`; `archetype_strings(inputs: TopologyInputs)`; `string_counts_per_inverter(total_string_count: int, inverter_count: int, maximum_strings: int)`; `fleet_string_definitions(inputs: TopologyInputs)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 7; mentioned by 0 ### Study Applicability - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/study_applicability.py (Python, 166 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/study_applicability.py#L1-L166 - Page: https://code.globalgrid2050.com/explore-code/s/0231.html#f2 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar. - What it achieves (comment): It is built from the study kind class (`StudyKind`), the criterion operator class (`CriterionOperator`) and the acceptance criterion class (`AcceptanceCriterion`). Applicability and acceptance-criterion controls for engineering studies. - What it does: It calculates solar. Defines 11 functions or classes, including StudyKind, CriterionOperator, AcceptanceCriterion, __post_init__, StudyApplicability. Uses libraries __future__, dataclasses, enum, math. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 2 files: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based); Electrical Studies (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class StudyKind`; `class CriterionOperator`; `class AcceptanceCriterion`; `__post_init__(self)`; `class StudyApplicability`; `executable(self)`; `verdict_capable(self)`; `build_study_applicability(study_kind: StudyKind, *, subject_id: str | None = None, required_input_ids: tuple[str, ...] = (), available_input_id...)`; `applicability_coverage(item: StudyApplicability)`; `evaluate_criterion(value: float, unit: str, criterion: AcceptanceCriterion)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 2; mentioned by 0 ### Study Registry - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/study_registry.py (Python, 253 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/study_registry.py#L1-L253 - Page: https://code.globalgrid2050.com/explore-code/s/0232.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. - What it achieves (comment): It is built from the study category class (`StudyCategory`), the study definition class (`StudyDefinition`) and the study assessment class (`StudyAssessment`). Applicability and coverage registry for V10 engineering studies. - What it does: It calculates solar. Defines 11 functions or classes, including StudyCategory, _validate_sorted_unique, StudyDefinition, __post_init__, StudyAssessment. Uses libraries __future__, dataclasses, enum, hashlib, json. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class StudyCategory`; `_validate_sorted_unique(values: tuple[str, ...], *, study_id: str, field_name: str)`; `class StudyDefinition`; `__post_init__(self)`; `class StudyAssessment`; `class StudyRegistry`; `build_study_registry(assessments: Iterable[StudyAssessment])`; `study_registry_payload(registry: StudyRegistry)`; `study_registry_json(registry: StudyRegistry)`; `study_registry_hash(registry: StudyRegistry)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 1; mentioned by 0 ### Topology - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/topology.py (Python, 295 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/topology.py#L1-L295 - Page: https://code.globalgrid2050.com/explore-code/s/0232.html#f2 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that builds segments (`build_string_segments`) and site model (`build_site_model`) and builds export (`build_export`). - What it achieves (comment): It is built from the point3 d class (`Point3D`), the segment class (`Segment`) and the string topology class (`StringTopology`). Headless geometry-to-segment topology generation. - What it does: It calculates its inputs. Defines 12 functions or classes, including Point3D, Segment, StringTopology, installed_conductor_length_m, GeometryConfig. Uses libraries __future__, dataclasses, math, typing. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class Point3D`; `class Segment`; `class StringTopology`; `installed_conductor_length_m(self)`; `class GeometryConfig`; `class FormationConfig`; `_polyline_length(points: Sequence[Point3D])`; `_segment(*, string_id: str, sequence_index: int, segment_type: str, points: Sequence[Point3D], installed_length_m: float | Non...)`; `build_string_segments(string_id: str, face: str, band_index: int, rank_index: int, band_x0_m: float, geometry: GeometryConfig, formations: ...)`; `build_site_model(geometry: GeometryConfig = GeometryConfig(), formations: FormationConfig = FormationConfig())`; `build_export(strings: Sequence[StringTopology], geometry: GeometryConfig, formations: FormationConfig)`; `validate_no_user_route_lengths(export: dict)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 1; mentioned by 0 ### Topology Authority - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/topology_authority.py (Python, 88 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/topology_authority.py#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/0232.html#f3 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar. - What it achieves (comment): It is built from the authoritative topology receipt class (`AuthoritativeTopologyReceipt`), the issue topology receipt helper (`issue_topology_receipt`) and the require topology receipt helper (`require_topology_receipt`). Authoritative topology receipts for calculation entry-point gating. - What it does: It calculates solar. Defines AuthoritativeTopologyReceipt, issue_topology_receipt, require_topology_receipt. Uses libraries __future__, dataclasses. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Signatures: `class AuthoritativeTopologyReceipt`; `issue_topology_receipt(model: CircuitModel, start_terminal_id: str, end_terminal_id: str, *, expected_segment_ids: tuple[str, ...] | None = ...)`; `require_topology_receipt(model: CircuitModel, receipt: AuthoritativeTopologyReceipt)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (python-relative 3); used by 0; mentioned by 0 ### Uncertainty - File: solar-electrical-topology-analysis-engine-text-based/src/solar_topology/uncertainty.py (Python, 440 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/solar_topology/uncertainty.py#L1-L440 - Page: https://code.globalgrid2050.com/explore-code/s/0233.html#f1 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based that works with solar, using SHA-256. - What it achieves (comment): It calculates complete circuit uncertainty (`calculate_complete_circuit_with_uncertainty`) and is built from the interval class (`Interval`) and the exact step (`exact`). Conservative interval propagation for validated V10 steady-state circuits. - What it does: It calculates solar. Defines 18 functions or classes, including Interval, __post_init__, exact, OperatingState, __post_init__. Uses libraries __future__, dataclasses, hashlib, json, math. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — Solar Topology (solar-electrical-topology-analysis-engine-text-based). - Signatures: `class Interval`; `__post_init__(self)`; `exact(cls, value: float, unit: str)`; `class OperatingState`; `class SegmentInputIntervals`; `class SegmentUncertaintyResult`; `class UncertainCircuitCalculationReceipt`; `_attributes(obj: PhysicalObject)`; `_segment_objects(model: CircuitModel)`; `_number(attributes: dict[str, object], key: str, segment_id: str)`; `_declared_or_exact(declared: Interval | None, nominal: float, unit: str, *, non_negative: bool = False, strictly_positive: bool = False)`; `_resistance_bounds(length: Interval, r20: Interval, temperature: Interval, *, temperature_coefficient_per_c: float)`; `_interval_payload(interval: Interval)`; `uncertainty_receipt_payload(receipt: UncertainCircuitCalculationReceipt)`; `uncertainty_receipt_json(receipt: UncertainCircuitCalculationReceipt)`; `uncertainty_receipt_hash(receipt: UncertainCircuitCalculationReceipt)`; `calculate_complete_circuit_with_uncertainty(model: CircuitModel, traversal: OrderedCircuitTraversal, *, operating_state: OperatingState, segment_intervals: Mappi...)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 5 estate files (python-relative 5); used by 1; mentioned by 0 ### Table String Assignment - File: solar-electrical-topology-analysis-engine-text-based/src/table_string_assignment.py (Python, 3 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/table_string_assignment.py#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0233.html#f2 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based. - What it achieves (comment): Compatibility import for packaged Build 025 string assignment. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'string'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Table String Hashing - File: solar-electrical-topology-analysis-engine-text-based/src/table_string_hashing.py (Python, 3 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/table_string_hashing.py#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0233.html#f3 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based. - What it achieves (comment): Compatibility import for packaged Build 025 assignment hashing. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'string'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Table String Validation - File: solar-electrical-topology-analysis-engine-text-based/src/table_string_validation.py (Python, 3 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/src/table_string_validation.py#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0233.html#f4 - Synopsis: A Python module in Solar Electrical Topology Analysis Engine Text Based. - What it achieves (comment): Compatibility import for packaged Build 025 assignment validation. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'string'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Check V8 Source Width - File: solar-electrical-topology-analysis-engine-text-based/tests/check_v8_source_width.py (Python, 55 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/check_v8_source_width.py#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/0233.html#f5 - Synopsis: A Python command-line tool in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (comment): Fail CI when editable V8 source returns to mega-line formatting. - What it does: It tests its inputs. Defines main. Uses libraries __future__, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: V8 Tests Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Array Authority Receipts - File: solar-electrical-topology-analysis-engine-text-based/tests/test_array_authority_receipts.py (Python, 33 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_array_authority_receipts.py#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0233.html#f6 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Array Engine and Array Routing. - What it achieves (name): Defines `test_topology_payload_contains_the_equipment_graph` and `test_routing_payload_contains_terminal_evidence_metadata`. - What it does: It tests its inputs. Defines test_topology_payload_contains_the_equipment_graph, test_routing_payload_contains_terminal_evidence_metadata. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_topology_payload_contains_the_equipment_graph()`; `test_routing_payload_contains_terminal_evidence_metadata()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Test Array Engine - File: solar-electrical-topology-analysis-engine-text-based/tests/test_array_engine.py (Python, 381 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_array_engine.py#L1-L381 - Page: https://code.globalgrid2050.com/explore-code/s/0234.html#f1 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Geometry Authority and Array Engine. - What it achieves (name): Defines `comparison`, `test_reference_build_is_deterministic`, `test_every_reported_route_length_is_the_sum_of_stored_segments` and 11 more. - What it does: It tests its inputs. Defines 14 functions or classes, including comparison, test_reference_build_is_deterministic, test_every_reported_route_length_is_the_sum_of_stored_segments, test_strategy_comparison_preserves_common_authority_inputs, test_comparison_reports_length_and_loop_geometry_independently. Uses libraries math, pytest. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `comparison()`; `test_reference_build_is_deterministic()`; `test_every_reported_route_length_is_the_sum_of_stored_segments(comparison)`; `test_strategy_comparison_preserves_common_authority_inputs(comparison)`; `test_comparison_reports_length_and_loop_geometry_independently(comparison)`; `test_moving_inverter_changes_only_dependent_home_geometry()`; `test_home_run_segments_preserve_same_string_pole_identity(comparison)`; `test_every_route_endpoint_is_an_authoritative_topology_node()`; `test_reference_topology_contains_input_mppt_and_bus_terminals()`; `test_installed_and_procurement_length_layers_are_receipted()`; `test_installation_classification_is_carried_by_each_segment()`; `test_parametric_small_rotated_table_uses_same_engine()`; `test_terminal_geometry_outside_module_envelope_is_rejected()`; `test_terminal_geometry_provenance_is_part_of_routing_receipt()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### Test Array Topology - File: solar-electrical-topology-analysis-engine-text-based/tests/test_array_topology.py (Python, 265 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_array_topology.py#L1-L265 - Page: https://code.globalgrid2050.com/explore-code/s/0234.html#f2 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Geometry Authority and Array Topology. - What it achieves (name): Defines `test_reference_allocation_is_a_complete_720_module_partition`, `test_allocation_hash_is_membership_deterministic`, `test_explicit_groups_must_be_complete_and_unique` and 5 more. - What it does: It tests its inputs. Defines 8 functions or classes, including test_reference_allocation_is_a_complete_720_module_partition, test_allocation_hash_is_membership_deterministic, test_explicit_groups_must_be_complete_and_unique, test_leapfrog_order_is_one_complete_permutation, test_each_string_has_terminals_connectors_and_free_ends. Uses libraries pytest. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_reference_allocation_is_a_complete_720_module_partition()`; `test_allocation_hash_is_membership_deterministic()`; `test_explicit_groups_must_be_complete_and_unique()`; `test_leapfrog_order_is_one_complete_permutation()`; `test_each_string_has_terminals_connectors_and_free_ends()`; `test_strategy_changes_topology_not_physical_membership()`; `test_physical_inputs_are_distinct_from_mppt_labels()`; `test_duplicate_physical_input_assignment_fails_before_routing()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Test Authority Bundle - File: solar-electrical-topology-analysis-engine-text-based/tests/test_authority_bundle.py (Python, 168 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_authority_bundle.py#L1-L168 - Page: https://code.globalgrid2050.com/explore-code/s/0235.html#f1 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Build Authority Bundle and Validate Authority Bundle, using SHA-256. - What it achieves (name): Defines `test_authority_bundle_regeneration_matches_committed_file_exactly`, `test_authority_bundle_regeneration_candidate_matches_generator`, `test_authority_bundle_regeneration_binds_receipts_and_hash` and 6 more. - What it does: It tests its inputs. Defines 9 functions or classes, including test_authority_bundle_regeneration_matches_committed_file_exactly, test_authority_bundle_regeneration_candidate_matches_generator, test_authority_bundle_regeneration_binds_receipts_and_hash, test_bundle_schema_accepts_canonical_reference_authority, test_bundle_schema_rejects_missing_authority_hashes. Uses libraries __future__, copy, hashlib, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file reference-inverter-block.json. - Downstream impact: Used directly by 2 files: Run Microbuild (solar-electrical-topology-analysis-engine-text-based); Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 4 other entry points, including Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Runner (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_authority_bundle_regeneration_matches_committed_file_exactly()`; `test_authority_bundle_regeneration_candidate_matches_generator()`; `test_authority_bundle_regeneration_binds_receipts_and_hash()`; `test_bundle_schema_accepts_canonical_reference_authority()`; `test_bundle_schema_rejects_missing_authority_hashes(path: tuple[str | int, ...])`; `test_bundle_schema_rejects_invented_input_evidence(field: str, invented: object)`; `test_bundle_schema_rejects_changed_product_boundary_arithmetic()`; `test_bundle_schema_rejects_tampered_response_hash()`; `test_bundle_schema_rejects_broken_child_hash_binding()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file reference-inverter-block.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Test Batch 011 013 - File: solar-electrical-topology-analysis-engine-text-based/tests/test_batch_011_013.py (Python, 150 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_batch_011_013.py#L1-L150 - Page: https://code.globalgrid2050.com/explore-code/s/0235.html#f2 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that uses SHA-256. - What it achieves (name): Defines `test_duckdb_round_trip_and_parquet_are_deterministic`, `test_duckdb_primary_key_rejects_duplicate_rows`, `test_evidence_register_requires_strong_evidence_for_satisfied_status` and 3 more. - What it does: It tests its inputs. Defines 8 functions or classes, including _rows, _public_source, test_duckdb_round_trip_and_parquet_are_deterministic, test_duckdb_primary_key_rejects_duplicate_rows, test_evidence_register_requires_strong_evidence_for_satisfied_status. Uses libraries dataclasses, duckdb, pytest, solar_topology.cartridges, solar_topology.circuit. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: Parquet file segments.parquet; DuckDB queries. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_rows()`; `_public_source(source_id="public-layout")`; `test_duckdb_round_trip_and_parquet_are_deterministic(tmp_path)`; `test_duckdb_primary_key_rejects_duplicate_rows()`; `test_evidence_register_requires_strong_evidence_for_satisfied_status()`; `test_public_evidence_register_blocks_restricted_source()`; `test_geometry_receipt_is_deterministic_and_segment_based()`; `test_geometry_receipt_rejects_mixed_strings_and_index_gaps()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [Parquet file segments.parquet; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Build023 Topology Invariants - File: solar-electrical-topology-analysis-engine-text-based/tests/test_build023_topology_invariants.py (Python, 188 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_build023_topology_invariants.py#L1-L188 - Page: https://code.globalgrid2050.com/explore-code/s/0235.html#f3 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_valid_model_requires_independent_validation_and_complete_traversal`, `test_payload_and_traversal_do_not_trust_input_tuple_order`, `test_duplicate_identifiers_are_blocking` and 3 more. - What it does: It tests its inputs. Defines 9 functions or classes, including _terminal, _object, _valid_path, test_valid_model_requires_independent_validation_and_complete_traversal, test_payload_and_traversal_do_not_trust_input_tuple_order. Uses libraries __future__, solar_topology.circuit, solar_topology.circuit_traversal, solar_topology.circuit_validation. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'topology'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_terminal(object_id: str, suffix: str, polarity: TerminalPolarity)`; `_object(object_id: str, left: Terminal, right: Terminal)`; `_valid_path()`; `test_valid_model_requires_independent_validation_and_complete_traversal()`; `test_payload_and_traversal_do_not_trust_input_tuple_order()`; `test_duplicate_identifiers_are_blocking()`; `test_missing_endpoint_blocks_traversal_before_graph_walk()`; `test_branch_and_disconnected_island_are_explicit_failures()`; `test_segment_reference_cannot_substitute_for_terminal_connectivity()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Build023 Topology Receipt - File: solar-electrical-topology-analysis-engine-text-based/tests/test_build023_topology_receipt.py (Python, 69 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_build023_topology_receipt.py#L1-L69 - Page: https://code.globalgrid2050.com/explore-code/s/0235.html#f4 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that uses SHA-256. - What it achieves (name): Defines `test_receipt_is_issued_only_for_complete_valid_topology`, `test_receipt_rejects_foreign_model_identity`, `test_receipt_rejects_stale_circuit_hash` and 1 more. - What it does: It tests its inputs. Defines _model, test_receipt_is_issued_only_for_complete_valid_topology, test_receipt_rejects_foreign_model_identity, test_receipt_rejects_stale_circuit_hash, test_receipt_rejects_tampered_order. Uses libraries __future__, dataclasses, pytest, solar_topology.circuit, solar_topology.topology_authority. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'topology'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_model(model_id: str = "receipt-model")`; `test_receipt_is_issued_only_for_complete_valid_topology()`; `test_receipt_rejects_foreign_model_identity()`; `test_receipt_rejects_stale_circuit_hash()`; `test_receipt_rejects_tampered_order()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Build024 Kernel Authority - File: solar-electrical-topology-analysis-engine-text-based/tests/test_build024_kernel_authority.py (Python, 113 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_build024_kernel_authority.py#L1-L113 - Page: https://code.globalgrid2050.com/explore-code/s/0235.html#f5 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that uses SHA-256. - What it achieves (name): Defines `test_consistent_receipt_is_authoritative_and_hashed`, `test_modified_total_is_rejected`, `test_modified_formula_contract_is_rejected` and 1 more. - What it does: It tests its inputs. Defines 7 functions or classes, including _evidence, _resistance_evidence, _receipt, test_consistent_receipt_is_authoritative_and_hashed, test_modified_total_is_rejected. Uses libraries dataclasses, solar_topology.calculation_receipts, solar_topology.circuit, solar_topology.evidence, solar_topology.kernel_authority. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_evidence()`; `_resistance_evidence()`; `_receipt()`; `test_consistent_receipt_is_authoritative_and_hashed()`; `test_modified_total_is_rejected()`; `test_modified_formula_contract_is_rejected()`; `test_invalid_type_is_rejected_without_hash()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Build 020 Validation Gate - File: solar-electrical-topology-analysis-engine-text-based/tests/test_build_020_validation_gate.py (Python, 50 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_build_020_validation_gate.py#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0236.html#f1 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_package_import_smoke`, `test_initial_studies_have_sorted_unique_contract_fields` and `test_malformed_definition_reports_study_and_field`. - What it does: It tests its inputs. Defines test_package_import_smoke, test_initial_studies_have_sorted_unique_contract_fields, test_malformed_definition_reports_study_and_field. Uses libraries importlib, pytest, solar_topology.study_registry. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_package_import_smoke()`; `test_initial_studies_have_sorted_unique_contract_fields()`; `test_malformed_definition_reports_study_and_field(field_name, values)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Capsule Links - File: solar-electrical-topology-analysis-engine-text-based/tests/test_capsule_links.py (Python, 84 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_capsule_links.py#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/0236.html#f2 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `load_checker`, `test_title_verified_compatibility_pointer_mapping`, `test_all_quantum_spawn_and_trueself_markdown_links_resolve` and 1 more. - What it does: It tests its inputs. Defines load_checker, test_title_verified_compatibility_pointer_mapping, test_all_quantum_spawn_and_trueself_markdown_links_resolve, test_capsule_link_check_command_passes. Uses libraries __future__, importlib.util, pathlib, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `load_checker()`; `test_title_verified_compatibility_pointer_mapping()`; `test_all_quantum_spawn_and_trueself_markdown_links_resolve()`; `test_capsule_link_check_command_passes()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Cartridges - File: solar-electrical-topology-analysis-engine-text-based/tests/test_cartridges.py (Python, 301 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_cartridges.py#L1-L301 - Page: https://code.globalgrid2050.com/explore-code/s/0236.html#f3 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `external_cable_total`, `factory_lead_total`, `connector_count` and 14 more. - What it does: It tests its inputs. Defines 17 functions or classes, including external_cable_total, factory_lead_total, connector_count, test_declared_conductor_records_are_not_recreated_from_csa, test_default_row_span_canary_is_39_67_metres. Uses libraries pytest, solar_topology.cartridges, solar_topology.products, solar_topology.segments. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `external_cable_total(rows)`; `factory_lead_total(rows)`; `connector_count(rows)`; `test_declared_conductor_records_are_not_recreated_from_csa()`; `test_default_row_span_canary_is_39_67_metres()`; `test_fleet_distribution_uses_actual_string_count()`; `test_archetype_and_full_fleet_are_headless_and_deterministic()`; `test_arbitrary_odd_and_asymmetric_band_lists_are_supported()`; `test_leapfrog_order_returns_to_the_near_end()`; `test_leapfrog_factory_lead_length_gate()`; `test_cartridges_emit_one_shared_segment_contract()`; `test_pair_physics_is_weighted_once_not_once_per_conductor()`; `test_connector_resistance_is_carried_by_connector_rows()`; `test_factory_copper_and_connectors_are_cartridge_invariants()`; `test_only_external_row_return_creates_theoretical_saving()`; `test_infeasible_leapfrog_rows_cannot_claim_available_saving()`; `test_measured_reach_override_is_explicit()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Circuit - File: solar-electrical-topology-analysis-engine-text-based/tests/test_circuit.py (Python, 277 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_circuit.py#L1-L277 - Page: https://code.globalgrid2050.com/explore-code/s/0237.html#f1 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that uses SHA-256. - What it achieves (name): Defines `test_valid_series_circuit_has_deterministic_hash`, `test_unresolved_terminal_reference_is_rejected`, `test_duplicate_terminal_id_is_rejected_globally` and 5 more. - What it does: It tests its inputs. Defines 10 functions or classes, including _terminal, _two_module_series_model, test_valid_series_circuit_has_deterministic_hash, test_unresolved_terminal_reference_is_rejected, test_duplicate_terminal_id_is_rejected_globally. Uses libraries dataclasses, pytest, solar_topology.circuit, solar_topology.circuit_validation, solar_topology.segments. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_terminal(object_id, suffix, polarity, *, required=True, max_connections=1)`; `_two_module_series_model(*, reverse_records=False)`; `test_valid_series_circuit_has_deterministic_hash()`; `test_unresolved_terminal_reference_is_rejected()`; `test_duplicate_terminal_id_is_rejected_globally()`; `test_required_dangling_terminal_is_rejected()`; `test_terminal_connection_capacity_is_enforced()`; `test_parent_cycles_are_rejected()`; `test_non_finite_terminal_coordinates_are_rejected()`; `test_invalid_circuit_cannot_receive_authority_hash()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Circuit Adapters - File: solar-electrical-topology-analysis-engine-text-based/tests/test_circuit_adapters.py (Python, 217 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_circuit_adapters.py#L1-L217 - Page: https://code.globalgrid2050.com/explore-code/s/0237.html#f2 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_cartridge_chain_adapts_to_valid_ordered_circuit`, `test_adapter_is_deterministic_under_reversed_input_records`, `test_adapter_preserves_source_segment_numbers_and_evidence` and 5 more. - What it does: It tests its inputs. Defines 10 functions or classes, including _cartridge_rows, test_cartridge_chain_adapts_to_valid_ordered_circuit, test_adapter_is_deterministic_under_reversed_input_records, test_adapter_preserves_source_segment_numbers_and_evidence, test_adapter_rejects_inconsistent_coordinates_for_one_source_node. Uses libraries dataclasses, pytest, solar_topology.cartridges, solar_topology.circuit, solar_topology.circuit_adapters. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_cartridge_rows(cartridge)`; `test_cartridge_chain_adapts_to_valid_ordered_circuit(cartridge)`; `test_adapter_is_deterministic_under_reversed_input_records()`; `test_adapter_preserves_source_segment_numbers_and_evidence()`; `test_adapter_rejects_inconsistent_coordinates_for_one_source_node()`; `test_adapter_rejects_mixed_cartridge_chains()`; `_replace_terminal_capacity(model, terminal_ids, capacity)`; `test_independent_traversal_rejects_a_branch_even_when_base_model_valid()`; `test_independent_traversal_rejects_expected_order_mismatch()`; `test_traversal_rejects_disconnected_but_individually_connected_component()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Circuit Calculations - File: solar-electrical-topology-analysis-engine-text-based/tests/test_circuit_calculations.py (Python, 275 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_circuit_calculations.py#L1-L275 - Page: https://code.globalgrid2050.com/explore-code/s/0238.html#f1 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that uses SHA-256. - What it achieves (name): Defines `test_provenance_vocabularies_reconcile_without_silent_promotion`, `test_complete_circuit_known_answer_includes_all_series_elements`, `test_calculation_receipt_is_deterministic` and 3 more. - What it does: It tests its inputs. Defines 9 functions or classes, including _rows, _model_and_traversal, _current_evidence, test_provenance_vocabularies_reconcile_without_silent_promotion, test_complete_circuit_known_answer_includes_all_series_elements. Uses libraries dataclasses, inspect, json, pathlib, pytest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file steady_state_cross_language_v1.json. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_rows(cartridge, *, modules=30)`; `_model_and_traversal(rows)`; `_current_evidence()`; `test_provenance_vocabularies_reconcile_without_silent_promotion()`; `test_complete_circuit_known_answer_includes_all_series_elements(cartridge, expected_resistance, expected_drop, expected_loss)`; `test_calculation_receipt_is_deterministic()`; `test_calculation_refuses_invalid_or_forged_traversal()`; `test_calculation_api_has_no_free_total_length_input()`; `test_python_matches_shared_javascript_formula_fixture()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file steady_state_cross_language_v1.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Contradictions - File: solar-electrical-topology-analysis-engine-text-based/tests/test_contradictions.py (Python, 95 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_contradictions.py#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/0238.html#f2 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_register_is_deterministic_under_input_reordering`, `test_equal_values_are_not_a_contradiction`, `test_closed_contradiction_requires_resolution_note` and 2 more. - What it does: It tests its inputs. Defines 7 functions or classes, including _subject, _claim, test_register_is_deterministic_under_input_reordering, test_equal_values_are_not_a_contradiction, test_closed_contradiction_requires_resolution_note. Uses libraries pytest, solar_topology.contradictions, solar_topology.identifiers. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_subject()`; `_claim(claim_id, value, source_id="public-source")`; `test_register_is_deterministic_under_input_reordering()`; `test_equal_values_are_not_a_contradiction()`; `test_closed_contradiction_requires_resolution_note()`; `test_duplicate_claim_pair_is_rejected_even_when_reversed()`; `test_unresolved_filter_honours_severity_threshold()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Diagnostic Public API - File: solar-electrical-topology-analysis-engine-text-based/tests/test_diagnostic_public_api.py (Python, 20 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_diagnostic_public_api.py#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0238.html#f3 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_diagnostic_and_applicability_public_api_is_exported`. - What it does: It tests its inputs. Defines test_diagnostic_and_applicability_public_api_is_exported. Uses libraries solar_topology. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_diagnostic_and_applicability_public_api_is_exported()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Diagnostics - File: solar-electrical-topology-analysis-engine-text-based/tests/test_diagnostics.py (Python, 180 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_diagnostics.py#L1-L180 - Page: https://code.globalgrid2050.com/explore-code/s/0238.html#f4 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that uses SHA-256. - What it achieves (name): Defines `test_accumulates_sorts_and_counts_diagnostics`, `test_public_payload_omits_internal_detail_and_is_deterministic`, `test_not_checked_and_blocked_require_reasons` and 5 more. - What it does: It tests its inputs. Defines 9 functions or classes, including test_accumulates_sorts_and_counts_diagnostics, test_public_payload_omits_internal_detail_and_is_deterministic, test_not_checked_and_blocked_require_reasons, test_exception_bridge_does_not_publish_internal_exception_detail, test_circuit_validation_adapter_preserves_all_issues. Uses libraries json, pytest, solar_topology.circuit_validation, solar_topology.diagnostic_adapters, solar_topology.diagnostics. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: Excel file source.xlsx. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_accumulates_sorts_and_counts_diagnostics()`; `test_public_payload_omits_internal_detail_and_is_deterministic()`; `test_not_checked_and_blocked_require_reasons()`; `test_exception_bridge_does_not_publish_internal_exception_detail()`; `test_circuit_validation_adapter_preserves_all_issues()`; `_criterion()`; `test_applicability_distinguishes_missing_inputs_from_no_criterion()`; `test_criterion_evaluation_is_unit_safe_and_source_declared()`; `test_duplicate_diagnostics_and_coverage_are_rejected()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [Excel file source.xlsx]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Diagnostics and Studies - File: solar-electrical-topology-analysis-engine-text-based/tests/test_diagnostics_and_studies.py (Python, 248 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_diagnostics_and_studies.py#L1-L248 - Page: https://code.globalgrid2050.com/explore-code/s/0239.html#f1 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that uses SHA-256. It is built from the fail step (`fail`). - What it achieves (name): Defines `test_diagnostic_report_accumulates_and_sorts_all_findings`, `test_public_payload_omits_internal_detail_and_is_deterministic`, `test_validation_bridge_preserves_multiple_circuit_and_traversal_issues` and 7 more. - What it does: It tests its inputs. Defines 10 functions or classes, including test_diagnostic_report_accumulates_and_sorts_all_findings, test_public_payload_omits_internal_detail_and_is_deterministic, test_validation_bridge_preserves_multiple_circuit_and_traversal_issues, test_missing_validator_results_are_explicitly_not_checked, test_legacy_exception_is_public_safe. Uses libraries json, pytest, solar_topology.circuit, solar_topology.circuit_traversal, solar_topology.circuit_validation. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_diagnostic_report_accumulates_and_sorts_all_findings()`; `test_public_payload_omits_internal_detail_and_is_deterministic()`; `test_validation_bridge_preserves_multiple_circuit_and_traversal_issues()`; `test_missing_validator_results_are_explicitly_not_checked()`; `test_legacy_exception_is_public_safe()`; `fail()`; `test_study_registry_blocks_missing_inputs_and_undeclared_criteria()`; `test_study_states_distinguish_ready_not_run_pass_warning_and_fail()`; `test_initial_registry_is_unique_and_deterministic()`; `test_duplicate_diagnostics_and_coverage_are_rejected()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test End to End Authority Slice - File: solar-electrical-topology-analysis-engine-text-based/tests/test_end_to_end_authority_slice.py (Python, 86 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_end_to_end_authority_slice.py#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/0239.html#f2 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Local Authority Bridge and Run Authority Slice, using SHA-256. - What it achieves (name): Defines `test_end_to_end_authority_slice`, `test_authority_slice_cli_can_run_without_heavy_subgates` and `test_end_to_end_harness_uses_existing_authority_paths`. - What it does: It tests its inputs. Defines test_end_to_end_authority_slice, test_authority_slice_cli_can_run_without_heavy_subgates, test_end_to_end_harness_uses_existing_authority_paths. Uses libraries __future__, json, pathlib, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Run Microbuild (solar-electrical-topology-analysis-engine-text-based); Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 4 other entry points, including Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Runner (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_end_to_end_authority_slice()`; `test_authority_slice_cli_can_run_without_heavy_subgates()`; `test_end_to_end_harness_uses_existing_authority_paths()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 2, script-call 1); used by 2; mentioned by 0 ### Test Equipment Profile Exact Arithmetic - File: solar-electrical-topology-analysis-engine-text-based/tests/test_equipment_profile_exact_arithmetic.py (Python, 22 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_equipment_profile_exact_arithmetic.py#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0239.html#f3 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_reference_block_payload_uses_exact_declared_decimal_values`. - What it does: It tests its inputs. Defines test_reference_block_payload_uses_exact_declared_decimal_values. Uses libraries __future__, solar_topology.equipment_profiles. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_reference_block_payload_uses_exact_declared_decimal_values()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Equipment Profiles - File: solar-electrical-topology-analysis-engine-text-based/tests/test_equipment_profiles.py (Python, 229 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_equipment_profiles.py#L1-L229 - Page: https://code.globalgrid2050.com/explore-code/s/0239.html#f4 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that uses SHA-256. - What it achieves (name): Defines `test_reference_equipment_contract_has_exact_product_boundary`, `test_reference_inverter_exposes_24_unique_physical_input_pairs`, `test_internal_input_relationships_remain_explicitly_unresolved` and 7 more. - What it does: It tests its inputs. Defines 10 functions or classes, including test_reference_equipment_contract_has_exact_product_boundary, test_reference_inverter_exposes_24_unique_physical_input_pairs, test_internal_input_relationships_remain_explicitly_unresolved, test_connector_leads_dimensions_and_electrical_module_data_remain_missing, test_conductor_products_are_referenced_without_silent_promotion. Uses libraries __future__, dataclasses, json, math, pytest. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_reference_equipment_contract_has_exact_product_boundary()`; `test_reference_inverter_exposes_24_unique_physical_input_pairs()`; `test_internal_input_relationships_remain_explicitly_unresolved()`; `test_connector_leads_dimensions_and_electrical_module_data_remain_missing()`; `test_conductor_products_are_referenced_without_silent_promotion()`; `test_missing_evidence_is_deterministic_and_includes_input_mapping()`; `test_contract_serialisation_and_hash_are_deterministic()`; `test_hash_changes_when_a_bound_equipment_value_changes()`; `test_unresolved_value_cannot_claim_verified_evidence()`; `test_serialised_contract_contains_no_identity_fields()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Equipment Profiles Public API - File: solar-electrical-topology-analysis-engine-text-based/tests/test_equipment_profiles_public_api.py (Python, 72 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_equipment_profiles_public_api.py#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/0239.html#f5 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_equipment_contract_is_exposed_by_supported_package_api`, `test_equipment_contract_exports_are_explicitly_provisional` and `test_top_level_equipment_contract_reproduces_exact_authority_output`. - What it does: It tests its inputs. Defines test_equipment_contract_is_exposed_by_supported_package_api, test_equipment_contract_exports_are_explicitly_provisional, test_top_level_equipment_contract_reproduces_exact_authority_output. Uses libraries __future__, solar_topology, solar_topology.equipment_profiles. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_equipment_contract_is_exposed_by_supported_package_api()`; `test_equipment_contract_exports_are_explicitly_provisional()`; `test_top_level_equipment_contract_reproduces_exact_authority_output()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Evidence Boundary - File: solar-electrical-topology-analysis-engine-text-based/tests/test_evidence_boundary.py (Python, 127 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_evidence_boundary.py#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/0240.html#f1 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_public_observation_is_publishable`, `test_confidential_source_cannot_be_marked_public`, `test_confidential_only_result_is_blocked` and 2 more. - What it does: It tests its inputs. Defines 6 functions or classes, including _source, test_public_observation_is_publishable, test_confidential_source_cannot_be_marked_public, test_confidential_only_result_is_blocked, test_confidential_context_can_coexist_with_independent_public_support. Uses libraries pytest, solar_topology.circuit, solar_topology.evidence, solar_topology.evidence_boundary. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_source(source_id, evidence_class, rights_status, permission, *, independent_public_support=False)`; `test_public_observation_is_publishable()`; `test_confidential_source_cannot_be_marked_public()`; `test_confidential_only_result_is_blocked()`; `test_confidential_context_can_coexist_with_independent_public_support()`; `test_restricted_source_without_public_path_blocks_mixed_export()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Formulas - File: solar-electrical-topology-analysis-engine-text-based/tests/test_formulas.py (Python, 203 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_formulas.py#L1-L203 - Page: https://code.globalgrid2050.com/explore-code/s/0240.html#f2 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_nominal_csa_is_not_used_to_invent_conductor_diameter`, `test_two_wire_internal_inductance_is_low_frequency_energy_only`, `test_velocity_identity_uses_external_inductance_only` and 8 more. - What it does: It tests its inputs. Defines 11 functions or classes, including test_nominal_csa_is_not_used_to_invent_conductor_diameter, test_two_wire_internal_inductance_is_low_frequency_energy_only, test_velocity_identity_uses_external_inductance_only, test_acosh_domain_guard_rejects_overlapping_conductors, test_rank_pitch_has_no_walkway_allowance. Uses libraries inspect, math, pytest, solar_topology.formulas. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_nominal_csa_is_not_used_to_invent_conductor_diameter()`; `test_two_wire_internal_inductance_is_low_frequency_energy_only()`; `test_velocity_identity_uses_external_inductance_only()`; `test_acosh_domain_guard_rejects_overlapping_conductors()`; `test_rank_pitch_has_no_walkway_allowance()`; `test_route_length_is_derived_from_geometry_only()`; `test_user_cannot_supply_final_route_length()`; `test_declared_finished_cable_resistance_at_temperature()`; `test_declared_complete_circuit_canary_worst_case_compliant()`; `test_module_frame_capacitance_parallel_plate()`; `test_cold_voc_30_module_default()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Geometry Authority - File: solar-electrical-topology-analysis-engine-text-based/tests/test_geometry_authority.py (Python, 105 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_geometry_authority.py#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/0240.html#f3 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Geometry Authority. - What it achieves (name): Defines `test_reference_table_places_720_unique_modules`, `test_reference_geometry_is_deterministic`, `test_moving_origin_changes_coordinates_and_hash` and 6 more. - What it does: It tests its inputs. Defines 9 functions or classes, including test_reference_table_places_720_unique_modules, test_reference_geometry_is_deterministic, test_moving_origin_changes_coordinates_and_hash, test_rotation_changes_geometry_without_changing_module_count, test_landscape_orientation_swaps_module_envelope. Uses libraries math, pytest. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_reference_table_places_720_unique_modules()`; `test_reference_geometry_is_deterministic()`; `test_moving_origin_changes_coordinates_and_hash()`; `test_rotation_changes_geometry_without_changing_module_count()`; `test_landscape_orientation_swaps_module_envelope()`; `test_partial_final_row_is_supported()`; `test_public_request_type_exists()`; `test_invalid_capacity_is_rejected()`; `test_non_finite_geometry_is_rejected()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Test Identifiers - File: solar-electrical-topology-analysis-engine-text-based/tests/test_identifiers.py (Python, 67 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_identifiers.py#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/0240.html#f4 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_identifier_builds_deterministic_contiguous_path`, `test_identifier_round_trip`, `test_identifier_rejects_noncanonical_tokens` and 4 more. - What it does: It tests its inputs. Defines 8 functions or classes, including _full_identifier, test_identifier_builds_deterministic_contiguous_path, test_identifier_round_trip, test_identifier_rejects_noncanonical_tokens, test_identifier_rejects_skipped_hierarchy_level. Uses libraries pytest, solar_topology.identifiers. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_full_identifier()`; `test_identifier_builds_deterministic_contiguous_path()`; `test_identifier_round_trip()`; `test_identifier_rejects_noncanonical_tokens()`; `test_identifier_rejects_skipped_hierarchy_level()`; `test_parser_rejects_noncontiguous_hierarchy()`; `test_uniqueness_gate_rejects_duplicates()`; `test_identical_local_ids_are_allowed_under_distinct_parents()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Installed Array API - File: solar-electrical-topology-analysis-engine-text-based/tests/test_installed_array_api.py (Python, 94 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_installed_array_api.py#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/0240.html#f5 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Array Engine and Geometry Authority, using SHA-256. - What it achieves (name): Defines `test_installed_array_api_exposes_build_025_authority`, `test_legacy_module_names_resolve_to_packaged_authority`, `test_compatibility_files_cannot_contain_independent_authority` and 1 more. - What it does: It tests its inputs. Defines test_installed_array_api_exposes_build_025_authority, test_legacy_module_names_resolve_to_packaged_authority, test_compatibility_files_cannot_contain_independent_authority, test_installed_array_api_reconciles_strategy_accounting. Uses libraries __future__, pathlib, sys, pytest, solar_topology.array. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_installed_array_api_exposes_build_025_authority()`; `test_legacy_module_names_resolve_to_packaged_authority()`; `test_compatibility_files_cannot_contain_independent_authority()`; `test_installed_array_api_reconciles_strategy_accounting()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Test Inverter Block - File: solar-electrical-topology-analysis-engine-text-based/tests/test_inverter_block.py (Python, 153 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_inverter_block.py#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/0241.html#f1 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that uses SHA-256. - What it achieves (name): Defines `test_reference_inverter_block_binds_exact_product_boundary`, `test_inverter_block_payload_binds_existing_authority_hashes`, `test_inverter_block_preserves_unresolved_input_evidence` and 4 more. - What it does: It tests its inputs. Defines 7 functions or classes, including test_reference_inverter_block_binds_exact_product_boundary, test_inverter_block_payload_binds_existing_authority_hashes, test_inverter_block_preserves_unresolved_input_evidence, test_inverter_block_serialisation_and_hash_are_deterministic, test_wiring_strategy_changes_block_hash_without_changing_product_boundary. Uses libraries __future__, dataclasses, json, math, pytest. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'inverter'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_reference_inverter_block_binds_exact_product_boundary()`; `test_inverter_block_payload_binds_existing_authority_hashes()`; `test_inverter_block_preserves_unresolved_input_evidence()`; `test_inverter_block_serialisation_and_hash_are_deterministic()`; `test_wiring_strategy_changes_block_hash_without_changing_product_boundary()`; `test_duplicate_table_bindings_and_tampered_hash_are_rejected()`; `test_inverter_block_payload_contains_no_identity_or_standards_claims()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Inverter Block Public API - File: solar-electrical-topology-analysis-engine-text-based/tests/test_inverter_block_public_api.py (Python, 60 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_inverter_block_public_api.py#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0241.html#f2 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_inverter_block_contract_is_exposed_by_supported_package_api`, `test_inverter_block_exports_are_explicitly_provisional` and `test_top_level_inverter_block_reproduces_authority_payload_and_hash`. - What it does: It tests its inputs. Defines test_inverter_block_contract_is_exposed_by_supported_package_api, test_inverter_block_exports_are_explicitly_provisional, test_top_level_inverter_block_reproduces_authority_payload_and_hash. Uses libraries __future__, solar_topology, solar_topology.inverter_block. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'inverter'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_inverter_block_contract_is_exposed_by_supported_package_api()`; `test_inverter_block_exports_are_explicitly_provisional()`; `test_top_level_inverter_block_reproduces_authority_payload_and_hash()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Legacy Resistance Boundaries - File: solar-electrical-topology-analysis-engine-text-based/tests/test_legacy_resistance_boundaries.py (Python, 57 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_legacy_resistance_boundaries.py#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0241.html#f3 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that uses IEC 60228. - What it achieves (name): Defines `test_v6_exposes_machine_readable_lower_bound_resistance_model`, `test_v6_injects_visible_resistance_authority_warning`, `test_v9_displays_and_exports_lower_bound_resistance_model` and 1 more. - What it does: It tests its inputs. Defines test_v6_exposes_machine_readable_lower_bound_resistance_model, test_v6_injects_visible_resistance_authority_warning, test_v9_displays_and_exports_lower_bound_resistance_model, test_legacy_warnings_do_not_claim_v10_authority. Uses libraries __future__, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'legacy'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_v6_exposes_machine_readable_lower_bound_resistance_model()`; `test_v6_injects_visible_resistance_authority_warning()`; `test_v9_displays_and_exports_lower_bound_resistance_model()`; `test_legacy_warnings_do_not_claim_v10_authority()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Local Authority Bridge - File: solar-electrical-topology-analysis-engine-text-based/tests/test_local_authority_bridge.py (Python, 125 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_local_authority_bridge.py#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/0241.html#f4 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Build Authority Bundle and Local Authority Bridge. - What it achieves (name): Defines `running_bridge`, `fetch`, `test_bridge_serves_exact_python_authority_response` and 5 more. - What it does: It tests its inputs. Defines 8 functions or classes, including running_bridge, fetch, test_bridge_serves_exact_python_authority_response, test_bridge_serves_existing_studio_without_browser_recalculation_fork, test_root_redirect_and_health_contract. Uses libraries __future__, contextlib, json, pathlib, threading. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Run Microbuild (solar-electrical-topology-analysis-engine-text-based); Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 4 other entry points, including Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Runner (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `running_bridge(*, strategy: str = "leapfrog")`; `fetch(url: str, *, method: str = "GET")`; `test_bridge_serves_exact_python_authority_response()`; `test_bridge_serves_existing_studio_without_browser_recalculation_fork()`; `test_root_redirect_and_health_contract()`; `test_head_returns_headers_without_body()`; `test_unknown_route_is_rejected()`; `test_bridge_rejects_invalid_strategy_and_port()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Test Microbuild Advancement - File: solar-electrical-topology-analysis-engine-text-based/tests/test_microbuild_advancement.py (Python, 147 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_microbuild_advancement.py#L1-L147 - Page: https://code.globalgrid2050.com/explore-code/s/0241.html#f5 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Advance Microbuild and Check Microbuild Plan, using SHA-256. - What it achieves (name): Defines `test_preview_advancement_changes_only_current_next_and_evidence`, `test_final_advancement_closes_the_programme`, `test_preview_never_writes_the_source_manifest` and 4 more. - What it does: It tests its inputs. Defines 9 functions or classes, including _active_plan, _current_evidence, test_preview_advancement_changes_only_current_next_and_evidence, test_final_advancement_closes_the_programme, test_preview_never_writes_the_source_manifest. Uses libraries __future__, copy, pytest. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Run Microbuild (solar-electrical-topology-analysis-engine-text-based); Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 4 other entry points, including Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Runner (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_active_plan(step_index: int)`; `_current_evidence(plan: dict[str, object], **overrides: object)`; `test_preview_advancement_changes_only_current_next_and_evidence()`; `test_final_advancement_closes_the_programme()`; `test_preview_never_writes_the_source_manifest()`; `test_refusal_rejects_failed_stale_mismatched_or_incomplete_evidence(overrides: dict[str, object], message: str)`; `test_refusal_rejects_tampered_evidence_hash()`; `test_refusal_rejects_skipped_step_even_with_plausible_evidence()`; `test_completed_programme_cannot_advance_again()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Test Microbuild Evidence - File: solar-electrical-topology-analysis-engine-text-based/tests/test_microbuild_evidence.py (Python, 116 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_microbuild_evidence.py#L1-L116 - Page: https://code.globalgrid2050.com/explore-code/s/0241.html#f6 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Check Microbuild Plan and Microbuild Evidence. - What it achieves (name): Defines `test_evidence_hash_is_deterministic_and_excludes_runtime_metadata`, `test_engineering_core_changes_evidence_hash`, `test_active_plan_evidence_uses_current_step_and_test` and 3 more. - What it does: It tests its inputs. Defines 8 functions or classes, including _base, _active_final_plan, test_evidence_hash_is_deterministic_and_excludes_runtime_metadata, test_engineering_core_changes_evidence_hash, test_active_plan_evidence_uses_current_step_and_test. Uses libraries __future__, copy, json, pathlib, pytest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file active-plan.json. - Downstream impact: Used directly by 2 files: Run Microbuild (solar-electrical-topology-analysis-engine-text-based); Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 4 other entry points, including Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Runner (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_base(**overrides: object)`; `_active_final_plan(path: Path)`; `test_evidence_hash_is_deterministic_and_excludes_runtime_metadata()`; `test_engineering_core_changes_evidence_hash()`; `test_active_plan_evidence_uses_current_step_and_test(tmp_path: Path)`; `test_completed_plan_refuses_a_new_evidence_record()`; `test_invalid_core_and_runtime_values_are_rejected()`; `test_worker_uses_canonical_evidence_writer_only_while_active()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file active-plan.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Test Microbuild Plan - File: solar-electrical-topology-analysis-engine-text-based/tests/test_microbuild_plan.py (Python, 113 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_microbuild_plan.py#L1-L113 - Page: https://code.globalgrid2050.com/explore-code/s/0242.html#f1 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Check Microbuild Plan. - What it achieves (name): Defines `test_manifest_contract_has_twenty_ordered_completed_steps`, `test_manifest_still_accepts_one_active_final_gate`, `test_manifest_rejects_multiple_current_steps` and 4 more. - What it does: It tests its inputs. Defines 8 functions or classes, including _active_before_final, test_manifest_contract_has_twenty_ordered_completed_steps, test_manifest_still_accepts_one_active_final_gate, test_manifest_rejects_multiple_current_steps, test_manifest_rejects_incomplete_plan_without_current_step. Uses libraries __future__, copy, json, pathlib, pytest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Run Microbuild (solar-electrical-topology-analysis-engine-text-based); Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 4 other entry points, including Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Runner (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_active_before_final()`; `test_manifest_contract_has_twenty_ordered_completed_steps()`; `test_manifest_still_accepts_one_active_final_gate()`; `test_manifest_rejects_multiple_current_steps()`; `test_manifest_rejects_incomplete_plan_without_current_step()`; `test_manifest_rejects_skipped_and_out_of_order_states()`; `test_manifest_rejects_unknown_test_identifiers_and_missing_spawn(tmp_path: Path)`; `test_manifest_file_is_canonical_json_object()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Test Microbuild Runner - File: solar-electrical-topology-analysis-engine-text-based/tests/test_microbuild_runner.py (Python, 73 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_microbuild_runner.py#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/0242.html#f2 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Check Microbuild Plan and Run Microbuild. - What it achieves (name): Defines `test_completed_manifest_selects_no_further_command`, `test_all_twenty_manifest_test_identifiers_are_allowlisted`, `test_unknown_identifier_is_rejected_without_shell_execution` and 2 more. - What it does: It tests its inputs. Defines test_completed_manifest_selects_no_further_command, test_all_twenty_manifest_test_identifiers_are_allowlisted, test_unknown_identifier_is_rejected_without_shell_execution, test_cli_reports_completed_programme_without_execution, test_explicit_allowlisted_test_remains_available_after_completion. Uses libraries __future__, json, pathlib, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file microbuild-plan.json. - Downstream impact: Used directly by 2 files: Run Microbuild (solar-electrical-topology-analysis-engine-text-based); Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 3 other entry points, including Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Workflow (solar-electrical-topology-analysis-engine-text-based); Test Ts005 Handoff (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_completed_manifest_selects_no_further_command()`; `test_all_twenty_manifest_test_identifiers_are_allowlisted()`; `test_unknown_identifier_is_rejected_without_shell_execution()`; `test_cli_reports_completed_programme_without_execution()`; `test_explicit_allowlisted_test_remains_available_after_completion()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file microbuild-plan.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Test Microbuild Workflow - File: solar-electrical-topology-analysis-engine-text-based/tests/test_microbuild_workflow.py (Python, 55 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_microbuild_workflow.py#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/0242.html#f3 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Check Microbuild Plan and Run Microbuild. - What it achieves (name): Defines `test_microbuild_worker_runs_only_manifest_and_allowlisted_runner`, `test_worker_is_triggerable_by_marker_and_future_authority_files`, `test_worker_never_interpolates_manifest_text_into_shell` and 1 more. - What it does: It tests its inputs. Defines test_microbuild_worker_runs_only_manifest_and_allowlisted_runner, test_worker_is_triggerable_by_marker_and_future_authority_files, test_worker_never_interpolates_manifest_text_into_shell, test_execution_envelope_uses_canonical_writer_and_github_state. Uses libraries __future__, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file microbuild-plan.json; JSON file latest.json. - Downstream impact: Used directly by 2 files: Run Microbuild (solar-electrical-topology-analysis-engine-text-based); Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 3 other entry points, including Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Runner (solar-electrical-topology-analysis-engine-text-based); Test Ts005 Handoff (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_microbuild_worker_runs_only_manifest_and_allowlisted_runner()`; `test_worker_is_triggerable_by_marker_and_future_authority_files()`; `test_worker_never_interpolates_manifest_text_into_shell()`; `test_execution_envelope_uses_canonical_writer_and_github_state()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file microbuild-plan.json; JSON file latest.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (script-call 3); used by 2; mentioned by 0 ### Test Parquet Store - File: solar-electrical-topology-analysis-engine-text-based/tests/test_parquet_store.py (Python, 182 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_parquet_store.py#L1-L182 - Page: https://code.globalgrid2050.com/explore-code/s/0242.html#f4 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `read_one`, `test_deterministic_partitioned_store_and_actual_string_count`, `test_infeasible_leapfrog_keeps_theory_but_blocks_available_saving` and 1 more. - What it does: It tests its inputs. Defines read_one, test_deterministic_partitioned_store_and_actual_string_count, test_infeasible_leapfrog_keeps_theory_but_blocks_available_saving, test_route_and_conductor_length_are_separate_columns. Uses libraries json, math, duckdb, pytest, solar_topology.fleet_store. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: Parquet file comparison.parquet; Parquet file site.parquet; Parquet file strings.parquet; DuckDB queries. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `read_one(connection, path, columns="*")`; `test_deterministic_partitioned_store_and_actual_string_count(tmp_path)`; `test_infeasible_leapfrog_keeps_theory_but_blocks_available_saving(tmp_path)`; `test_route_and_conductor_length_are_separate_columns(tmp_path)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [Parquet file comparison.parquet; Parquet file site.parquet; Parquet file strings.parquet; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Persistence - File: solar-electrical-topology-analysis-engine-text-based/tests/test_persistence.py (Python, 60 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_persistence.py#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0242.html#f5 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_store_is_deterministic_under_record_reordering`, `test_read_back_reconstructs_identical_store`, `test_tampered_payload_is_rejected` and 2 more. - What it does: It tests its inputs. Defines 6 functions or classes, including _record, test_store_is_deterministic_under_record_reordering, test_read_back_reconstructs_identical_store, test_tampered_payload_is_rejected, test_noncanonical_serialisation_is_rejected_on_read_back. Uses libraries json, pytest, solar_topology.persistence. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_record(record_id, value)`; `test_store_is_deterministic_under_record_reordering()`; `test_read_back_reconstructs_identical_store()`; `test_tampered_payload_is_rejected()`; `test_noncanonical_serialisation_is_rejected_on_read_back()`; `test_duplicate_record_identifiers_are_rejected()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Programme State - File: solar-electrical-topology-analysis-engine-text-based/tests/test_programme_state.py (Python, 98 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_programme_state.py#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/0242.html#f6 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `load_sync_module`, `test_programme_state_schema_arithmetic_and_capability_boundaries`, `test_readme_and_dashboard_are_exact_manifest_projections` and 2 more. - What it does: It tests its inputs. Defines load_sync_module, test_programme_state_schema_arithmetic_and_capability_boundaries, test_readme_and_dashboard_are_exact_manifest_projections, test_stale_manual_status_claims_are_absent, test_programme_state_check_command_passes. Uses libraries __future__, importlib.util, json, pathlib, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file programme-state.json. - Downstream impact: Used directly by 2 files: Run Microbuild (solar-electrical-topology-analysis-engine-text-based); Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 4 other entry points, including Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Runner (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `load_sync_module()`; `test_programme_state_schema_arithmetic_and_capability_boundaries()`; `test_readme_and_dashboard_are_exact_manifest_projections()`; `test_stale_manual_status_claims_are_absent()`; `test_programme_state_check_command_passes()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file programme-state.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Test Public API Inventory - File: solar-electrical-topology-analysis-engine-text-based/tests/test_public_api_inventory.py (Python, 21 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_public_api_inventory.py#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0242.html#f7 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_public_api_inventory_is_total_unique_and_sorted`, `test_explicit_public_api_classification_has_no_duplicates` and `test_unadjudicated_exports_remain_provisional_not_canonical`. - What it does: It tests its inputs. Defines test_public_api_inventory_is_total_unique_and_sorted, test_explicit_public_api_classification_has_no_duplicates, test_unadjudicated_exports_remain_provisional_not_canonical. Uses libraries solar_topology. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_public_api_inventory_is_total_unique_and_sorted()`; `test_explicit_public_api_classification_has_no_duplicates()`; `test_unadjudicated_exports_remain_provisional_not_canonical()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Public Topology - File: solar-electrical-topology-analysis-engine-text-based/tests/test_public_topology.py (Python, 97 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_public_topology.py#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/0242.html#f8 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_public_manifest_builds_and_hashes_deterministically`, `test_public_manifest_rejects_confidential_source_even_with_public_record_name`, `test_public_manifest_rejects_unknown_source` and 2 more. - What it does: It tests its inputs. Defines 7 functions or classes, including _source, _record, test_public_manifest_builds_and_hashes_deterministically, test_public_manifest_rejects_confidential_source_even_with_public_record_name, test_public_manifest_rejects_unknown_source. Uses libraries pytest, solar_topology.circuit, solar_topology.evidence, solar_topology.evidence_boundary, solar_topology.identifiers. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'topology'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_source(source_id="planning-layout", public=True)`; `_record(project, source_id="planning-layout")`; `test_public_manifest_builds_and_hashes_deterministically()`; `test_public_manifest_rejects_confidential_source_even_with_public_record_name()`; `test_public_manifest_rejects_unknown_source()`; `test_public_manifest_rejects_record_from_another_project()`; `test_record_requires_sorted_unique_sources_and_attributes()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Reference Block Command - File: solar-electrical-topology-analysis-engine-text-based/tests/test_reference_block_command.py (Python, 90 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_reference_block_command.py#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/0243.html#f1 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Reference Block Command, using SHA-256. - What it achieves (name): Defines `run_command`, `test_reference_block_function_equals_package_authority_exactly`, `test_reference_block_command_emits_one_canonical_json_line` and 4 more. - What it does: It tests its inputs. Defines 7 functions or classes, including run_command, test_reference_block_function_equals_package_authority_exactly, test_reference_block_command_emits_one_canonical_json_line, test_reference_block_command_exposes_exact_product_boundary, test_command_contract_declares_stable_version. Uses libraries __future__, json, pathlib, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Run Microbuild (solar-electrical-topology-analysis-engine-text-based); Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 4 other entry points, including Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Runner (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `run_command(*args: str)`; `test_reference_block_function_equals_package_authority_exactly()`; `test_reference_block_command_emits_one_canonical_json_line()`; `test_reference_block_command_exposes_exact_product_boundary()`; `test_command_contract_declares_stable_version()`; `test_command_contract_supports_deterministic_strategy_selection()`; `test_command_contract_fails_without_authoritative_stdout()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Test Resistance Evidence - File: solar-electrical-topology-analysis-engine-text-based/tests/test_resistance_evidence.py (Python, 303 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_resistance_evidence.py#L1-L303 - Page: https://code.globalgrid2050.com/explore-code/s/0243.html#f2 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_default_products_use_explicit_standard_maximum_evidence`, `test_resistance_hash_changes_with_basis_source_or_value`, `test_strongest_record_does_not_allow_weak_override` and 5 more. - What it does: It tests its inputs. Defines 13 functions or classes, including _rows, _model_and_traversal, _current_evidence, _calculate, _record. Uses libraries __future__, dataclasses, pytest, solar_topology.calculation_receipts, solar_topology.cartridges. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_rows(modules: int = 6)`; `_model_and_traversal(rows)`; `_current_evidence()`; `_calculate(rows)`; `_record(*, basis: ResistanceBasis, value_kind: ResistanceValueKind, r20: float = 0.003, source_revision: str = "test-v1")`; `test_default_products_use_explicit_standard_maximum_evidence()`; `test_resistance_hash_changes_with_basis_source_or_value()`; `test_strongest_record_does_not_allow_weak_override()`; `test_calculation_receipt_exports_applied_resistance_evidence_hash()`; `test_unrelated_registry_product_cannot_change_existing_receipt()`; `test_r20_override_is_calculated_but_evidence_is_downgraded()`; `test_uncertainty_uses_resolved_product_temperature_coefficient()`; `test_incompatible_basis_and_value_kind_is_rejected()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Resistance Qualification - File: solar-electrical-topology-analysis-engine-text-based/tests/test_resistance_qualification.py (Python, 216 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_resistance_qualification.py#L1-L216 - Page: https://code.globalgrid2050.com/explore-code/s/0243.html#f3 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that uses SHA-256. - What it achieves (name): Defines `test_current_generic_standard_records_remain_candidates`, `test_revision_controlled_verified_manufacturer_record_is_promotable`, `test_measured_record_requires_measurement_conditions` and 7 more. - What it does: It tests its inputs. Defines 11 functions or classes, including _record, test_current_generic_standard_records_remain_candidates, test_revision_controlled_verified_manufacturer_record_is_promotable, test_measured_record_requires_measurement_conditions, test_assumed_and_ideal_bulk_records_cannot_be_promoted. Uses libraries __future__, dataclasses, json, pytest, solar_topology.products. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_record(*, basis: ResistanceBasis, value_kind: ResistanceValueKind, verification_state: str = "verified", source_revision: st...)`; `test_current_generic_standard_records_remain_candidates()`; `test_revision_controlled_verified_manufacturer_record_is_promotable()`; `test_measured_record_requires_measurement_conditions()`; `test_assumed_and_ideal_bulk_records_cannot_be_promoted()`; `test_unresolved_or_explicitly_rejected_source_is_rejected()`; `test_invalid_object_is_rejected_without_hash()`; `test_assessment_payload_json_and_hash_are_deterministic()`; `test_assessment_hash_binds_all_qualification_fields()`; `test_assessment_serialisation_rejects_invalid_type(function)`; `test_assessment_dataclass_can_be_serialised_directly()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Resistance Qualification Public API - File: solar-electrical-topology-analysis-engine-text-based/tests/test_resistance_qualification_public_api.py (Python, 98 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_resistance_qualification_public_api.py#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/0244.html#f1 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that uses SHA-256. - What it achieves (name): Defines `test_resistance_qualification_is_exposed_by_supported_package_api`, `test_resistance_qualification_exports_are_explicitly_provisional`, `test_generic_standard_records_remain_candidate_through_public_api` and 1 more. - What it does: It tests its inputs. Defines test_resistance_qualification_is_exposed_by_supported_package_api, test_resistance_qualification_exports_are_explicitly_provisional, test_generic_standard_records_remain_candidate_through_public_api, test_assessment_serialisation_is_exact_through_public_api. Uses libraries __future__, hashlib, json, pytest, solar_topology. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_resistance_qualification_is_exposed_by_supported_package_api()`; `test_resistance_qualification_exports_are_explicitly_provisional()`; `test_generic_standard_records_remain_candidate_through_public_api()`; `test_assessment_serialisation_is_exact_through_public_api()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Table String Assignment - File: solar-electrical-topology-analysis-engine-text-based/tests/test_table_string_assignment.py (Python, 85 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_table_string_assignment.py#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/0244.html#f2 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Geometry Authority. - What it achieves (name): Defines `test_reference_assignment_covers_all_720_modules_once`, `test_reference_assignment_has_one_free_terminal_per_polarity`, `test_reference_assignment_is_deterministic` and 2 more. - What it does: It tests its inputs. Defines 6 functions or classes, including _reference_assignment, test_reference_assignment_covers_all_720_modules_once, test_reference_assignment_has_one_free_terminal_per_polarity, test_reference_assignment_is_deterministic, test_reference_assignment_preserves_physical_placement_order. Uses libraries pytest, table_string_assignment. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'string'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_reference_assignment()`; `test_reference_assignment_covers_all_720_modules_once()`; `test_reference_assignment_has_one_free_terminal_per_polarity()`; `test_reference_assignment_is_deterministic()`; `test_reference_assignment_preserves_physical_placement_order()`; `test_incompatible_string_dimensions_are_rejected()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Test Table String Validation - File: solar-electrical-topology-analysis-engine-text-based/tests/test_table_string_validation.py (Python, 94 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_table_string_validation.py#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/0244.html#f3 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Geometry Authority, using SHA-256. - What it achieves (name): Defines `test_reference_assignment_passes_independent_validation`, `test_asserted_assignment_hash_is_independently_recalculated`, `test_cross_string_duplicate_and_omission_are_detected` and 2 more. - What it does: It tests its inputs. Defines 6 functions or classes, including _reference_receipts, test_reference_assignment_passes_independent_validation, test_asserted_assignment_hash_is_independently_recalculated, test_cross_string_duplicate_and_omission_are_detected, test_geometry_binding_mismatch_is_detected. Uses libraries dataclasses, table_string_assignment, table_string_validation. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'string'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_reference_receipts()`; `test_reference_assignment_passes_independent_validation()`; `test_asserted_assignment_hash_is_independently_recalculated()`; `test_cross_string_duplicate_and_omission_are_detected()`; `test_geometry_binding_mismatch_is_detected()`; `test_collapsed_free_terminal_identifiers_are_detected()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Test Topology - File: solar-electrical-topology-analysis-engine-text-based/tests/test_topology.py (Python, 93 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_topology.py#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/0244.html#f4 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_default_structure_is_two_faces_with_five_five_two_bands_each`, `test_rank_slope_and_plan_projection_are_not_conflated`, `test_string_is_an_ordered_chain_of_typed_segments` and 5 more. - What it does: It tests its inputs. Defines 8 functions or classes, including test_default_structure_is_two_faces_with_five_five_two_bands_each, test_rank_slope_and_plan_projection_are_not_conflated, test_string_is_an_ordered_chain_of_typed_segments, test_coiled_surplus_has_zero_displacement_but_real_length, test_every_segment_has_formation_separation_and_provenance. Uses libraries math, pytest, solar_topology.topology. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'topology'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_default_structure_is_two_faces_with_five_five_two_bands_each()`; `test_rank_slope_and_plan_projection_are_not_conflated()`; `test_string_is_an_ordered_chain_of_typed_segments()`; `test_coiled_surplus_has_zero_displacement_but_real_length()`; `test_every_segment_has_formation_separation_and_provenance()`; `test_export_route_length_is_exact_segment_sum_and_derived()`; `test_validation_fails_if_route_length_is_user_supplied()`; `test_headless_scale_target_builds_without_renderer()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Ts005 Handoff - File: solar-electrical-topology-analysis-engine-text-based/tests/test_ts005_handoff.py (Python, 95 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_ts005_handoff.py#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/0244.html#f5 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Check Microbuild Plan and Run Microbuild, using SHA-256. - What it achieves (name): Defines `test_hostile_amnesia_reload_recovers_ts005_handoff`, `test_handoff_files_exist_and_bind_validated_receipt`, `test_handoff_exposes_unresolved_authority_without_inference` and 1 more. - What it does: It tests its inputs. Defines test_hostile_amnesia_reload_recovers_ts005_handoff, test_handoff_files_exist_and_bind_validated_receipt, test_handoff_exposes_unresolved_authority_without_inference, test_completed_programme_exposes_no_active_command. Uses libraries __future__, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file programme-state.json. - Downstream impact: Used directly by 2 files: Run Microbuild (solar-electrical-topology-analysis-engine-text-based); Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 3 other entry points, including Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Runner (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_hostile_amnesia_reload_recovers_ts005_handoff()`; `test_handoff_files_exist_and_bind_validated_receipt()`; `test_handoff_exposes_unresolved_authority_without_inference()`; `test_completed_programme_exposes_no_active_command()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file programme-state.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Test Uncertainty - File: solar-electrical-topology-analysis-engine-text-based/tests/test_uncertainty.py (Python, 228 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_uncertainty.py#L1-L228 - Page: https://code.globalgrid2050.com/explore-code/s/0244.html#f6 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that uses SHA-256. - What it achieves (name): Defines `test_interval_requires_ordered_finite_values_and_units`, `test_uncertainty_contains_nominal_and_reports_voltage_drop_percentage`, `test_exact_uncertainty_collapses_to_nominal_across_module_counts` and 3 more. - What it does: It tests its inputs. Defines 11 functions or classes, including _rows, _model_and_traversal, _evidence, _operating_state, _exact_operating_state. Uses libraries dataclasses, pytest, solar_topology.cartridges, solar_topology.circuit, solar_topology.circuit_adapters. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `_rows(modules=6)`; `_model_and_traversal(rows)`; `_evidence(source)`; `_operating_state()`; `_exact_operating_state()`; `test_interval_requires_ordered_finite_values_and_units()`; `test_uncertainty_contains_nominal_and_reports_voltage_drop_percentage()`; `test_exact_uncertainty_collapses_to_nominal_across_module_counts(modules)`; `test_uncertainty_receipt_is_deterministic_under_source_row_reordering()`; `test_uncertainty_rejects_unknown_segments_and_nominal_mismatch()`; `test_invalid_operating_state_is_rejected()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test V10 Public API - File: solar-electrical-topology-analysis-engine-text-based/tests/test_v10_public_api.py (Python, 26 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_v10_public_api.py#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/0245.html#f1 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `test_v10_evidence_and_calculation_public_api_is_exported`. - What it does: It tests its inputs. Defines test_v10_evidence_and_calculation_public_api_is_exported. Uses libraries solar_topology. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `test_v10_evidence_and_calculation_public_api_is_exported()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Zzz B026 Gitignore - File: solar-electrical-topology-analysis-engine-text-based/tests/test_zzz_b026_gitignore.py (Python, 62 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/test_zzz_b026_gitignore.py#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/0245.html#f2 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (name): Defines `run_git`, `test_declared_generated_candidates_are_ignored`, `test_no_tracked_engineering_file_becomes_ignored` and 1 more. - What it does: It tests its inputs. Defines run_git, test_declared_generated_candidates_are_ignored, test_no_tracked_engineering_file_becomes_ignored, test_repository_tree_is_clean_after_python_suite_setup. Uses libraries __future__, pathlib, subprocess, pytest. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file cache.json; JSON file reference-inverter-block.json. - Downstream impact: Used directly by 1 file: Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `run_git(*args: str)`; `test_declared_generated_candidates_are_ignored(candidate: str)`; `test_no_tracked_engineering_file_becomes_ignored()`; `test_repository_tree_is_clean_after_python_suite_setup()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file cache.json; JSON file reference-inverter-block.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### V8 Model Test - File: solar-electrical-topology-analysis-engine-text-based/tests/v8-model.test.js (JavaScript, 187 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/tests/v8-model.test.js#L1-L187 - Page: https://code.globalgrid2050.com/explore-code/s/0245.html#f3 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Model and Authority Reconciliation. - What it achieves (name): Defines `close`. - What it does: It tests its inputs. Defines close. Uses libraries node:assert/strict. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Run V10 Validation (solar-electrical-topology-analysis-engine-text-based); V8 Tests Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 8 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); V10 Validation Workflow (solar-electrical-topology-analysis-engine-text-based). - Signatures: `close(actual, expected, tolerance = 1e-9)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (require 2); used by 2; mentioned by 1 ### Authority Evidence - File: solar-electrical-topology-analysis-engine-text-based/v10-development/authority/authority-evidence.js (JavaScript, 165 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v10-development/authority/authority-evidence.js#L1-L165 - Page: https://code.globalgrid2050.com/explore-code/s/0245.html#f4 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/authority/ - Synopsis: A JavaScript module in Solar Electrical Topology Analysis Engine Text Based that works with require object (`requireObject`) and require array (`requireArray`). Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/authority/. - What it achieves (name): It sets text (`setText`) and is built from the require object helper (`requireObject`) and the require array helper (`requireArray`). Defines `requireObject`, `requireArray`, `requireValue` and 5 more. - What it does: Defines 8 functions or classes, including requireObject, requireArray, requireValue, authorityEvidence, setText. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: V10 Development — Authority Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/authority/); Studio Authority Evidence Test (solar-electrical-topology-analysis-engine-text-based). Reached from 132 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/authority/. - Signatures: `export authorityEvidence(bundle)`; `export renderAuthorityEvidence(documentRef, bundle)`; `export loadAuthorityEvidence({ fetchImpl = globalThis.fetch, documentRef = globalThis.document } = {})`; `requireObject(value, name)`; `requireArray(value, name)`; `requireValue(value, name)`; `setText(documentRef, id, value)`; `inputLines(projection)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 1 ### Authority View - File: solar-electrical-topology-analysis-engine-text-based/v10-development/authority/authority-view.js (JavaScript, 219 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v10-development/authority/authority-view.js#L1-L219 - Page: https://code.globalgrid2050.com/explore-code/s/0245.html#f5 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/authority/ - Synopsis: A JavaScript module that renders authority geometry and authority bundle and loads authority bundle, covering reference inverter block. Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/authority/. - What it achieves (name): It sets text (`setText`), renders authority geometry (`renderAuthorityGeometry`) and renders authority bundle (`renderAuthorityBundle`). Defines `requireObject`, `requireArray`, `requireValue` and 9 more. - What it does: Defines 12 functions or classes, including requireObject, requireArray, requireValue, authoritySummary, projectedPoint. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file reference-inverter-block.json. - Downstream impact: Used directly by 3 files: Authority Evidence (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/authority/); V10 Development — Authority Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/authority/); Studio Authority Test (solar-electrical-topology-analysis-engine-text-based). Reached from 132 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/authority/. - Signatures: `export authoritySummary(bundle)`; `export authorityGeometry(bundle)`; `export renderAuthorityGeometry(documentRef, bundle)`; `export renderAuthorityBundle(documentRef, bundle)`; `export loadAuthorityBundle({ fetchImpl = globalThis.fetch, documentRef = globalThis.document } = {})`; `requireObject(value, name)`; `requireArray(value, name)`; `requireValue(value, name)`; `projectedPoint(value, name)`; `projectedRoute(value, kind, name)`; `setText(documentRef, id, value)`; `pointsAttribute(vertices)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file reference-inverter-block.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### V10 Development — Authority Page - File: solar-electrical-topology-analysis-engine-text-based/v10-development/authority/index.html (HTML, 94 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v10-development/authority/index.html#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/0246.html#f1 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/authority/ - Synopsis: A web page in Solar Electrical Topology Analysis Engine Text Based that selects mode (`selectMode`) and draws SVG graphics. Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/authority/. It selects mode (`selectMode`). - What it achieves (comment): Solar DC Topology Studio. It responds to click events. - What it does: It draws its content. Defines selectMode. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: web page; SVG drawing. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — V10 Development Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/). Reached from 125 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/authority/. - Signatures: `selectMode(mode)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 2 estate files (script-src 2); used by 1; mentioned by 0 ### Geometry Workbench - File: solar-electrical-topology-analysis-engine-text-based/v10-development/geometry-workbench.html (HTML, 85 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v10-development/geometry-workbench.html#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/0246.html#f2 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/geometry-workbench.html - Synopsis: A web page in Solar Electrical Topology Analysis Engine Text Based that draws geometry study and cables. Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/geometry-workbench.html. - What it achieves (comment): It routes length (`routeLength`) and is built from the fmt step (`fmt`) and the read step (`read`). Geometry-derived 24-string PV topology workbench with V7 overview and V8 detailed connection modes. It responds to input events. - What it does: It draws geometry study and cables. Defines 8 functions or classes, including $, fmt, read, seq, moduleTerm. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: form fields (user input). Out: JSON file v10-geometry-study.json; downloaded file v10-geometry-study.json; web page; SVG drawing. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/geometry-workbench.html. - Signatures: `$(id)`; `fmt(v,d=2)`; `read()`; `seq(count)`; `moduleTerm(x,w,pol)`; `routeLength(points)`; `homeRoute(start,pol,inputIndex,p)`; `compute(p)`; `path(points)`; `overviewSvg(s)`; `detailSvg(s)`; `render()`; `activate(id,on)`; `tests()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [JSON file v10-geometry-study.json; downloaded file v10-geometry-study.json; web page; SVG drawing]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 0; mentioned by 0 ### Solar Electrical Topology Analysis Engine Text Based — V10 Development Page - File: solar-electrical-topology-analysis-engine-text-based/v10-development/index.html (HTML, 21 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v10-development/index.html#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0246.html#f3 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/ - Synopsis: A web page. Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/. - What it achieves (comment): Solar DC Topology Studio — MVP Simulator. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 40 files: Inverter24 (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/inverter24.html); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage Versions — GlobalGrid2050 Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/202608291526-globalgrid2050/); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html); and 36 more. Reached from 85 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 40; mentioned by 0 ### Electrical - File: solar-electrical-topology-analysis-engine-text-based/v10-development/src/electrical.mjs (JavaScript, 103 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v10-development/src/electrical.mjs#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/0246.html#f4 - Synopsis: A JavaScript module in Solar Electrical Topology Analysis Engine Text Based that works with require unit (`requireUnit`) and conductor resistance (`conductorResistance`) (units: Ω). - What it achieves (name): It is built from the require unit helper (`requireUnit`), the conductor resistance helper (`conductorResistance`) and the voltage drop helper (`voltageDrop`). Defines `requireUnit`, `conductorResistance`, `voltageDrop` and 3 more. - What it does: It calculates its inputs. Defines 6 functions or classes, including requireUnit, conductorResistance, voltageDrop, resistivePowerLoss, coldCorrectedModuleVoc. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Kernel (solar-electrical-topology-analysis-engine-text-based); Cross Language Test (solar-electrical-topology-analysis-engine-text-based). Reached from 1 other entry point, including Restore Points — 2026 07 29 Before 24 String V10 Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore-points/2026-07-29-before-24-string-v10/). - Signatures: `export conductorResistance({ resistancePerMetre, length, circuitFactor = 1, id = "conductorResistance" })`; `export voltageDrop({ current, resistance, id = "voltageDrop" })`; `export resistivePowerLoss({ current, resistance, id = "powerLoss" })`; `export coldCorrectedModuleVoc({ vocStc, betaPercentPerKelvin, minimumCellTemperature, id = "moduleVocCold" })`; `export seriesStringVoltage({ moduleVoltage, moduleCount, id = "stringVoltage" })`; `requireUnit(q, unit, name)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Kernel - File: solar-electrical-topology-analysis-engine-text-based/v10-development/src/kernel.mjs (JavaScript, 133 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v10-development/src/kernel.mjs#L1-L133 - Page: https://code.globalgrid2050.com/explore-code/s/0246.html#f5 - Synopsis: A JavaScript module in Solar Electrical Topology Analysis Engine Text Based that works with require object (`requireObject`) (units: Ω). It is built from the require object helper (`requireObject`). - What it achieves (name): Defines `requireObject` and `runKernel`. - What it does: Defines requireObject, runKernel. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Restore Points — 2026 07 29 Before 24 String V10 Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore-points/2026-07-29-before-24-string-v10/); Kernel Test (solar-electrical-topology-analysis-engine-text-based). - Signatures: `export runKernel(document)`; `requireObject(value, name)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Quantity - File: solar-electrical-topology-analysis-engine-text-based/v10-development/src/quantity.mjs (JavaScript, 95 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v10-development/src/quantity.mjs#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/0246.html#f6 - Synopsis: A JavaScript module in Solar Electrical Topology Analysis Engine Text Based that normalises interval (`normaliseInterval`) (units: Ω). - What it achieves (name): It normalises interval (`normaliseInterval`) and is built from the assert finite helper (`assertFinite`) and the weakest provenance helper (`weakestProvenance`). Defines `assertFinite`, `normaliseInterval`, `quantity` and 3 more. - What it does: It calculates its inputs. Defines 6 functions or classes, including assertFinite, normaliseInterval, quantity, weakestProvenance, intervalBounds. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 4 files: Electrical (solar-electrical-topology-analysis-engine-text-based); Kernel (solar-electrical-topology-analysis-engine-text-based); Cross Language Test (solar-electrical-topology-analysis-engine-text-based); Kernel Test (solar-electrical-topology-analysis-engine-text-based). Reached from 1 other entry point, including Restore Points — 2026 07 29 Before 24 String V10 Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore-points/2026-07-29-before-24-string-v10/). - Signatures: `export quantity({ id, value, unit, provenance, uncertainty = { kind: "none" }, source = null, evidenceStatus = "unverified", })`; `export weakestProvenance(inputs)`; `export intervalBounds(q)`; `export deriveQuantity({ id, value, unit, inputs, equationId, uncertainty, evidenceStatus = "candidate" })`; `assertFinite(value, name)`; `normaliseInterval(value, uncertainty)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Topology - File: solar-electrical-topology-analysis-engine-text-based/v10-development/src/topology.mjs (JavaScript, 152 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v10-development/src/topology.mjs#L1-L152 - Page: https://code.globalgrid2050.com/explore-code/s/0246.html#f7 - Synopsis: A JavaScript module in Solar Electrical Topology Analysis Engine Text Based that validates custom order (`validateCustomOrder`), derives ordered segments (`deriveOrderedSegments`) and calculates planar distances. - What it achieves (name): It validates custom order (`validateCustomOrder`), derives ordered segments (`deriveOrderedSegments`) and computes topology geometry (`computeTopologyGeometry`). Defines `assertPositiveInteger`, `assertFiniteNonNegative`, `sequentialOrder` and 6 more. - What it does: It calculates its inputs. Defines 9 functions or classes, including assertPositiveInteger, assertFiniteNonNegative, sequentialOrder, mirroredSequentialOrder, canonicalLeapfrogOrder. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'topology'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: Kernel (solar-electrical-topology-analysis-engine-text-based); Topology Test (solar-electrical-topology-analysis-engine-text-based). Reached from 1 other entry point, including Restore Points — 2026 07 29 Before 24 String V10 Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/restore-points/2026-07-29-before-24-string-v10/). - Signatures: `export sequentialOrder(moduleCount)`; `export mirroredSequentialOrder(moduleCount)`; `export canonicalLeapfrogOrder(moduleCount)`; `export validateCustomOrder(order, moduleCount)`; `export linearModuleCoordinates(moduleCount, pitchMetres, originMetres = 0)`; `export deriveOrderedSegments(order, coordinates)`; `export computeTopologyGeometry({ moduleCount, pitchMetres, topology, customOrder, originMetres = 0, })`; `assertPositiveInteger(value, name)`; `assertFiniteNonNegative(value, name)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Cross Language Test - File: solar-electrical-topology-analysis-engine-text-based/v10-development/tests/cross-language.test.mjs (JavaScript, 59 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v10-development/tests/cross-language.test.mjs#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/0247.html#f1 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Electrical and Quantity. - What it achieves (name): Defines `close`. - What it does: It tests its inputs. Defines close. Uses libraries node:assert/strict, node:fs, node:test, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file steady_state_cross_language_v1.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `close(actual, expected, tolerance = 1e-12)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file steady_state_cross_language_v1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Kernel Test - File: solar-electrical-topology-analysis-engine-text-based/v10-development/tests/kernel.test.mjs (JavaScript, 85 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v10-development/tests/kernel.test.mjs#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/0247.html#f2 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Kernel and Quantity. It is built from the close to helper (`closeTo`). - What it achieves (name): Defines `closeTo`. - What it does: It tests its inputs. Defines closeTo. Uses libraries node:assert/strict, node:test. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `closeTo(actual, expected, tolerance = 1e-9)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Studio Authority Evidence Test - File: solar-electrical-topology-analysis-engine-text-based/v10-development/tests/studio-authority-evidence.test.mjs (JavaScript, 118 lines) · role test · stage output - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v10-development/tests/studio-authority-evidence.test.mjs#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/0247.html#f3 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Authority Evidence. It is built from the fake document helper (`fakeDocument`). - What it achieves (name): Defines `fakeDocument` and `testEvidenceProjection`. - What it does: It tests its inputs. Defines fakeDocument, testEvidenceProjection. Uses libraries node:assert/strict, node:fs, node:url, node:path. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file reference-inverter-block.json. - Downstream impact: Used directly by 1 file: Run Microbuild (solar-electrical-topology-analysis-engine-text-based). Reached from 5 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Runner (solar-electrical-topology-analysis-engine-text-based). - Signatures: `fakeDocument()`; `getElementById(id)`; `testEvidenceProjection()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file reference-inverter-block.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Studio Authority Test - File: solar-electrical-topology-analysis-engine-text-based/v10-development/tests/studio-authority.test.mjs (JavaScript, 215 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v10-development/tests/studio-authority.test.mjs#L1-L215 - Page: https://code.globalgrid2050.com/explore-code/s/0247.html#f4 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Authority View. - What it achieves (name): It is built from the fake node class (`FakeNode`), the fake document helper (`fakeDocument`) and the expected route count helper (`expectedRouteCount`). Defines `testModeSeparation`, `FakeNode`, `fakeDocument` and 3 more. Its code works with 352 kVA. - What it does: It tests its inputs. Defines 6 functions or classes, including testModeSeparation, FakeNode, fakeDocument, testBundleProjection, expectedRouteCount. Uses libraries node:assert/strict, node:fs, node:url, node:path. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file reference-inverter-block.json; command-line arguments. - Downstream impact: Used directly by 1 file: Run Microbuild (solar-electrical-topology-analysis-engine-text-based). Reached from 5 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); Test Microbuild Runner (solar-electrical-topology-analysis-engine-text-based). - Signatures: `testModeSeparation()`; `class FakeNode`; `constructor(id = '')`; `setAttribute(name, value)`; `appendChild(child)`; `replaceChildren(...children)`; `fakeDocument()`; `getElementById(id)`; `createElementNS(_namespace, tagName)`; `testBundleProjection()`; `expectedRouteCount()`; `testGeometryProjection()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file reference-inverter-block.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Topology Test - File: solar-electrical-topology-analysis-engine-text-based/v10-development/tests/topology.test.mjs (JavaScript, 73 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v10-development/tests/topology.test.mjs#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/0247.html#f5 - Synopsis: A test in the tests folder of Solar Electrical Topology Analysis Engine Text Based that checks Topology. It is built from the close to helper (`closeTo`). - What it achieves (name): Defines `closeTo`. - What it does: It tests its inputs. Defines closeTo. Uses libraries node:assert/strict, node:test. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'topology'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `closeTo(actual, expected, tolerance = 1e-9)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### V6 Leapfrog - File: solar-electrical-topology-analysis-engine-text-based/v6-leapfrog.js (JavaScript, 128 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v6-leapfrog.js#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/0247.html#f6 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/ - Synopsis: A JavaScript file in Solar Electrical Topology Analysis Engine Text Based that draws module row (`drawModuleRow`) and impact (`drawImpact`), covering cables. Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/. - What it achieves (name): It draws module row (`drawModuleRow`) and draws impact (`drawImpact`). Defines `cable`, `drawModuleRow`, `drawImpact` and 1 more. It responds to input and resize events. - What it does: It draws cables. Defines cable, drawModuleRow, drawImpact, redraw. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — Index Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/). Reached from 134 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/. - Signatures: `cable(ctx,points,width=4)`; `drawModuleRow(ctx,y,title,leap,m)`; `pitch(rowRight-rowX)`; `drawImpact()`; `redraw()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### V7 Development — Feed I Page - File: solar-electrical-topology-analysis-engine-text-based/v7-development/feed-i/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v7-development/feed-i/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/0248.html#f1 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v7-development/feed-i/ - Synopsis: A web page in Solar Electrical Topology Analysis Engine Text Based that reads inputs for length, csa and spacing (units: Ω). Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v7-development/feed-i/. - What it achieves (comment): It is built from the fmt step (`fmt`), the row step (`row`) and the calculate step (`calculate`). V7 FEED I Electromagnetic Workbench. It responds to input events. - What it does: It draws its content. Defines el, fmt, row, calculate. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Geometry Workbench (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/geometry-workbench.html); Solar Electrical Topology Analysis Engine Text Based — V8 Leapfrog Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/); Tests (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/tests.html). Reached from 125 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v7-development/feed-i/. - Signatures: `el(id)`; `fmt(v,u,d=3)`; `row(a,b,c='')`; `calculate()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 3; mentioned by 0 ### Solar Electrical Topology Analysis Engine Text Based — V7 Development Page - File: solar-electrical-topology-analysis-engine-text-based/v7-development/index.html (HTML, 147 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v7-development/index.html#L1-L147 - Page: https://code.globalgrid2050.com/explore-code/s/0248.html#f2 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v7-development/ - Synopsis: A web page that draws solar DC topology and cables. Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v7-development/. It is built from the fmt step (`fmt`), the bands step (`bands`) and the acosh step (`acosh`). - What it achieves (comment): Independent V7 solar DC topology workbench with sequential and leapfrog wiring, geometry-derived inverter distances and electrical comparison. It responds to input, wheel and pointerdown events. - What it does: It draws solar DC topology and cables. Defines 20 functions or classes, including $, fmt, bands, acosh, rTemp. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: form fields (user input). Out: JSON file solar-dc-topology-v7.json; downloaded file solar-dc-topology-v7.json; web page; canvas drawing. - Downstream impact: Used directly by 40 files: V7 Development — Feed I Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v7-development/feed-i/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage Versions — GlobalGrid2050 Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/202608291526-globalgrid2050/); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html); and 36 more. Reached from 89 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v7-development/. - Signatures: `$(id)`; `fmt(v,d=2)`; `bands(id)`; `acosh(x)`; `rTemp(r20,t)`; `twoWire(spacingMm,diameterMm,er)`; `inputs()`; `geometry(m)`; `route(s,m)`; `moduleCaps(m)`; `coldVoc(m)`; `breachTemp(m)`; `cmInductance(s,m,tw)`; `compute()`; `pairMppts(strings,limit)`; `bounds(d)`; `resize()`; `transform(d,w,h)`; `cable(ctx,a,b,t,width=1.3)`; `drawModules(ctx,s,m,t,selected)`; `drawLeapfrogInternal(ctx,s,m,t,width)`; `drawScene(d)`; `nearest(wx,wy,d)`; `comparisonCable(ctx,pts,w=4)`; `drawComparison(d)` (and 4 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [JSON file solar-dc-topology-v7.json; downloaded file solar-dc-topology-v7.json; web page; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 40; mentioned by 0 ### Solar Electrical Topology Analysis Engine Text Based — V8 Leapfrog - File: solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/app.js (JavaScript, 1260 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v8-leapfrog/app.js#L1-L1260 - Page: https://code.globalgrid2050.com/explore-code/s/0248.html#f3 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/ - Synopsis: A JavaScript file that reads inputs (`readInputs`), sets input (`setInputValues`) and groups bands (`groupBands`) (units: Ω, kW), covering leapfrog cable comparison and cables. Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/. - What it achieves (name): It sets text (`setText`), reads inputs (`readInputs`) and sets input (`setInputValues`). Defines `fmt`, `available`, `setText` and 36 more. It responds to click, input and change events. - What it does: It draws leapfrog cable comparison and cables. Defines 40 functions or classes, including $, fmt, available, setText, readInputs. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: Out: JSON file v8-leapfrog-cable-comparison.json; downloaded file v8-leapfrog-cable-comparison.json. - Downstream impact: Used directly by 2 files: Solar Electrical Topology Analysis Engine Text Based — V8 Leapfrog Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/); V8 Tests Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 127 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/. - Signatures: `$(id)`; `fmt(value, decimals = 2)`; `available(value, suffix, decimals = 2)`; `setText(id, value)`; `readInputs()`; `setInputValues(values)`; `groupBands(strings)`; `renderFeasibilityBanner(study)`; `renderMetrics(study)`; `renderLeadScreen(study)`; `renderBandSchedule(study)`; `renderStringSchedule(study)`; `renderScenarios(raw)`; `svgPath(path, className, width, extra = '')`; `cablePath(path, width = 3, extra = '')`; `svgText(x, y, text, className = 'svg-label', size = 12)`; `buildSequentialSequence(count)`; `buildLeapfrogSequence(count)`; `sequenceConnections(sequence)`; `moduleGeometry(count, x0, y, moduleWidth, moduleHeight, gap)`; `terminalPoint(modules, moduleNumber, polarity)`; `moduleRowHtml(modules, moduleWidth, moduleHeight)`; `connectionArc(modules, connection, rowY, side, index)`; `externalCable(start, endX, endY, laneY)`; `drawInverter(x, y, height, negativeY, positiveY)` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file v8-leapfrog-cable-comparison.json; downloaded file v8-leapfrog-cable-comparison.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Authority Reconciliation - File: solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/authority-reconciliation.js (JavaScript, 294 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v8-leapfrog/authority-reconciliation.js#L1-L294 - Page: https://code.globalgrid2050.com/explore-code/s/0250.html#f2 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/ - Synopsis: A JavaScript module in Solar Electrical Topology Analysis Engine Text Based that runs golden, renders browser and applies scope boundary, covering cables. Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/. - What it achieves (name): It runs golden tests (`runGoldenTests`), renders browser (`renderBrowser`) and sets text (`setText`). Defines `buildAuthorityReconciliation`, `calculate`, `nearlyEqual` and 7 more. It responds to input, change and DOMContentLoaded events. - What it does: It draws cables. Defines 10 functions or classes, including buildAuthorityReconciliation, calculate, nearlyEqual, runGoldenTests, format. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 2 files: V8 Model Test (solar-electrical-topology-analysis-engine-text-based); Solar Electrical Topology Analysis Engine Text Based — V8 Leapfrog Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/). Reached from 137 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/. - Signatures: `buildAuthorityReconciliation()`; `calculate(reference = BUILD_025_REFERENCE)`; `nearlyEqual(actual, expected, tolerance = 1e-9)`; `runGoldenTests()`; `format(value, decimals)`; `renderBrowser()`; `setText(id, text)`; `applyScopeBoundary()`; `applySummary()`; `applyAll()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Solar Electrical Topology Analysis Engine Text Based — V8 Leapfrog Page - File: solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/index.html (HTML, 722 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v8-leapfrog/index.html#L1-L722 - Page: https://code.globalgrid2050.com/explore-code/s/0251.html#f1 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/ - Synopsis: A web page that draws SVG graphics and reads inputs for modules per, module width and along row gap (units: mm², Ω). Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/. - What it achieves (comment): V8 field-installed external-cable comparison with Build 025 total-conductor reconciliation. - What it does: It draws cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: form fields (user input). Out: web page; SVG drawing. - Downstream impact: Used directly by 42 files: Geometry Workbench (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/geometry-workbench.html); Inverter24 (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/inverter24.html); Tests (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/tests.html); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); and 38 more. Reached from 85 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 7 estate files (link 3, script-src 3, stylesheet 1); used by 42; mentioned by 0 ### Inverter24 - File: solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/inverter24.html (HTML, 191 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v8-leapfrog/inverter24.html#L1-L191 - Page: https://code.globalgrid2050.com/explore-code/s/0252.html#f2 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/inverter24.html - Synopsis: A web page in Solar Electrical Topology Analysis Engine Text Based that adds path (`addPath`), updates readout (`updateReadout`), applies view (`applyView`) and draws SVG graphics, covering cables. Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/inverter24.html. - What it achieves (comment): It adds path (`addPath`), updates readout (`updateReadout`) and applies view (`applyView`). V8 geometry-faithful 24-string inverter topology drawing with deterministic terminal coordinates and no invented cable routes. It responds to click, pointerdown and pointermove events. - What it does: It draws cables. Defines 12 functions or classes, including el, sequence, moduleX, terminal, addPath. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: Out: web page; SVG drawing. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/inverter24.html. - Signatures: `el(name,attrs={},text='')`; `sequence(n,mode)`; `moduleX(number)`; `terminal(number,polarity,y)`; `addPath(group,d,stroke,width=1.6,extra={})`; `stringFace(index)`; `inputLabel(index)`; `rowColour(index)`; `draw()`; `updateReadout()`; `applyView()`; `fit()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 4 estate files (link 3, stylesheet 1); used by 0; mentioned by 0 ### Model - File: solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/model.js (JavaScript, 749 lines) · role electrical · stage transform · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v8-leapfrog/model.js#L1-L749 - Page: https://code.globalgrid2050.com/explore-code/s/0252.html#f3 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/ - Synopsis: A JavaScript module in Solar Electrical Topology Analysis Engine Text Based that parses bands (`parseBands`), builds strings (`buildStrings`) and sums strings (`sumStrings`). Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/. - What it achieves (name): It parses number list (`parseNumberList`), parses bands (`parseBands`) and builds strings (`buildStrings`). Defines `buildModel`, `asNumber`, `atLeast` and 15 more. - What it does: It calculates its inputs. Defines 18 functions or classes, including buildModel, asNumber, atLeast, parseNumberList, parseBands. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 4 files: V8 Model Test (solar-electrical-topology-analysis-engine-text-based); Solar Electrical Topology Analysis Engine Text Based — V8 Leapfrog Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/); Tests (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/tests.html); V8 Tests Workflow (solar-electrical-topology-analysis-engine-text-based). Reached from 135 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/. - Signatures: `buildModel()`; `asNumber(value, fallback)`; `atLeast(value, minimum, fallback)`; `parseNumberList(value, fallback)`; `parseBands(value, fallback)`; `normalise(raw = {})`; `modulePitchM(input)`; `rowSpanM(input)`; `cableResistancePerM(input)`; `sequentialPolarities(face, nearRouteM, farRouteM, convention)`; `leadFeasibility(raw = {})`; `buildStrings(raw = {}, distanceOverrideM)`; `sumStrings(strings)`; `calculate(raw = {}, distanceOverrideM)`; `scenarioStudies(raw = {})`; `nearlyEqual(actual, expected, tolerance = 1e-9)`; `testResult(name, pass, actual, expected)`; `runGoldenTests()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Solar Electrical Topology Analysis Engine Text Based — V8 Leapfrog Style Sheet - File: solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/styles.css (CSS, 740 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v8-leapfrog/styles.css#L1-L740 - Page: https://code.globalgrid2050.com/explore-code/s/0253.html#f2 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/ - Synopsis: A style sheet covering cables. Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 3 files: Solar Electrical Topology Analysis Engine Text Based — V8 Leapfrog Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/); Inverter24 (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/inverter24.html); Tests (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/tests.html). Reached from 125 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Tests - File: solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/tests.html (HTML, 84 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v8-leapfrog/tests.html#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/0254.html#f2 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/tests.html - Synopsis: A web page in Solar Electrical Topology Analysis Engine Text Based. Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/tests.html. - What it achieves (comment): V8 Leapfrog Golden Tests. - What it does: It tests its inputs. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — V8 Leapfrog Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/). Reached from 126 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/tests.html. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (link 3, stylesheet 1, script-src 1); used by 1; mentioned by 0 ### Solar Electrical Topology Analysis Engine Text Based — V9 Sandbox - File: solar-electrical-topology-analysis-engine-text-based/v9-sandbox/app.js (JavaScript, 182 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v9-sandbox/app.js#L1-L182 - Page: https://code.globalgrid2050.com/explore-code/s/0254.html#f3 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v9-sandbox/ - Synopsis: A JavaScript module that draws solar DC computation report and solar DC report, using IEC 60228. Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v9-sandbox/. - What it achieves (name): It collects input (`collectInput`), downloads JSON (`downloadJson`) and renders tests (`renderTests`). Defines `byId`, `value`, `numeric` and 8 more. It responds to input, change and click events. - What it does: It draws solar DC computation report and solar DC report. Defines 11 functions or classes, including byId, value, numeric, collectInput, downloadJson. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file v9-solar-dc-computation-report.json; JSON file v9-solar-dc-test-report.json. - Downstream impact: Used directly by 1 file: Solar Electrical Topology Analysis Engine Text Based — V9 Sandbox Page (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v9-sandbox/). Reached from 124 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v9-sandbox/. - Signatures: `byId(id)`; `value(id)`; `numeric(id)`; `collectInput()`; `downloadJson(filename, data)`; `renderTests(report)`; `renderWarnings(project)`; `renderString(project)`; `renderProject(project, tests)`; `applyLegacyResistanceBoundary(project)`; `rebuild()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file v9-solar-dc-computation-report.json; JSON file v9-solar-dc-test-report.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Engine - File: solar-electrical-topology-analysis-engine-text-based/v9-sandbox/debug/engine.js (JavaScript, 590 lines) · role electrical · stage output - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v9-sandbox/debug/engine.js#L1-L590 - Page: https://code.globalgrid2050.com/explore-code/s/0255.html#f1 - Synopsis: A JavaScript module in the debug folder of Solar Electrical Topology Analysis Engine Text Based that parses integer (`parseIntegerList`) and builds modules (`buildModules`) and segments (`buildStringSegments`) (units: mm², Ω). - What it achieves (readme): It parses integer list (`parseIntegerList`), builds modules (`buildModules`) and builds string segments (`buildStringSegments`). The README says: Pure computation functions and canonical project report. - What it does: It calculates its inputs. Defines 13 functions or classes, including EngineInputError, integer, finite, parseIntegerList, topologyOrder. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`engine.js` — pure computation functions and canonical project report." - Downstream impact: Used directly by 2 files: Solar Electrical Topology Analysis Engine Text Based — V9 Sandbox (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v9-sandbox/); Tests (solar-electrical-topology-analysis-engine-text-based). Reached from 134 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). - Signatures: `export class EngineInputError`; `export parseIntegerList(value)`; `export topologyOrder(moduleCount, topology, customOrder = [])`; `export allocateMppts({ mpptCount, defaultInputsPerMppt, allocationOverride = [], })`; `export correctedVoc({ vocStc, vocTempCoefficientPercentPerC, cellTemperatureC, })`; `export conductorResistanceOhm({ lengthM, csaMm2, conductorTemperatureC = 20, })`; `export computeProject(rawInput = {})`; `constructor(message, field)`; `integer(value, field, minimum, maximum)`; `invalid(!Number.isInteger(parsed) || parsed < minimum || parsed > maximum)`; `message(`${field} must be an integer from ${minimum} to ${maximum}.`)`; `finite(value, field, minimum = -Infinity)`; `resistivity(COPPER_RESISTIVITY_20C_OHM_MM2_PER_M * ( 1 + COPPER_TEMP_COEFFICIENT_PER_C * (temperature - 20) ))`; `buildModules(moduleCount, modulePitchM)`; `buildStringSegments({ stringId, modules, order, routeOneWayM, positiveLeadM, negativeLeadM, externalCableCsaMm2, factoryLeadCsaMm2, })`; `sumSegments(segments, type, field)`; `buildString({ stringNumber, mpptNumber, inputNumber, modulesPerString, modulePitchM, order, input, operatingCurrentA, })` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Run Tests - File: solar-electrical-topology-analysis-engine-text-based/v9-sandbox/debug/run-tests.mjs (JavaScript, 8 lines) · role test · stage unknown - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v9-sandbox/debug/run-tests.mjs#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/0255.html#f2 - Synopsis: A JavaScript module in the debug folder of Solar Electrical Topology Analysis Engine Text Based. - What it does: It tests its inputs. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Run V10 Validation (solar-electrical-topology-analysis-engine-text-based). Reached from 8 other entry points, including Build 025 Small Gates Workflow (solar-electrical-topology-analysis-engine-text-based); Microbuild Worker Workflow (solar-electrical-topology-analysis-engine-text-based); V10 Validation Workflow (solar-electrical-topology-analysis-engine-text-based). - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Tests - File: solar-electrical-topology-analysis-engine-text-based/v9-sandbox/debug/tests.js (JavaScript, 162 lines) · role test · stage transform - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v9-sandbox/debug/tests.js#L1-L162 - Page: https://code.globalgrid2050.com/explore-code/s/0256.html#f1 - Synopsis: A JavaScript module in the debug folder of Solar Electrical Topology Analysis Engine Text Based. - What it achieves (readme): It runs debug tests (`runDebugTests`) and is built from the close step (`close`) and the assert step (`assert`). The README says: Deterministic unit checks and Claude-readable review questions. - What it does: It tests its inputs. Defines close, test, assert, runDebugTests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 1500V. README: "`tests.js` — deterministic unit checks and Claude-readable review questions." - Inputs & outputs: Voltage levels named: 1500V. - Downstream impact: Used directly by 2 files: Solar Electrical Topology Analysis Engine Text Based — V9 Sandbox (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v9-sandbox/); Run Tests (solar-electrical-topology-analysis-engine-text-based). Reached from 134 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). - Signatures: `export runDebugTests()`; `close(actual, expected, tolerance = 1e-9)`; `test(name, fn)`; `assert(condition, message)`; `turningSequenceIsCorrect(order[14] === 29 && order[15] === 30 && order.at(-1) === 2)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [1500V] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Solar Electrical Topology Analysis Engine Text Based — V9 Sandbox Page - File: solar-electrical-topology-analysis-engine-text-based/v9-sandbox/index.html (HTML, 73 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v9-sandbox/index.html#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/0256.html#f2 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v9-sandbox/ - Synopsis: A web page that reads inputs for MPPT count, default inputs per MPPT and allocation override (units: mm², °C), using IEC 60228. Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v9-sandbox/. - What it achieves (comment): Historical computation-first solar PV DC string, MPPT, segment and voltage debug engine with explicit ideal-bulk resistance limits. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "The public `v9-sandbox/index.html` entry point is live and temporarily reuses the proven B9 renderer and styles so the browser remains operational while the code is extracted safely." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 39 files: GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage Versions — GlobalGrid2050 Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/202608291526-globalgrid2050/); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html); Homepage V003 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v003.html); and 35 more. Reached from 85 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v9-sandbox/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 39; mentioned by 0 ### Schema - File: solar-electrical-topology-analysis-engine-text-based/v9-sandbox/schema.js (JavaScript, 117 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v9-sandbox/schema.js#L1-L117 - Page: https://code.globalgrid2050.com/explore-code/s/0256.html#f3 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v9-sandbox/ - Synopsis: A JavaScript module in Solar Electrical Topology Analysis Engine Text Based that creates empty scene (`createEmptyScene`) and validates stable (`validateStableId`). Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v9-sandbox/. - What it achieves (readme): It creates empty scene (`createEmptyScene`) and validates stable id (`validateStableId`). The README says: Typed canonical stores, evidence classes, object types and segment types. - What it does: It calculates its inputs. Defines createEmptyScene, validateStableId, assertSceneShape. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`schema.js`: typed canonical stores, evidence classes, object types and segment types." - Signatures: `export createEmptyScene()`; `export validateStableId(id)`; `export assertSceneShape(scene)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### State - File: solar-electrical-topology-analysis-engine-text-based/v9-sandbox/state.js (JavaScript, 100 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/v9-sandbox/state.js#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/0256.html#f4 - Published at: https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v9-sandbox/ - Synopsis: A JavaScript module in Solar Electrical Topology Analysis Engine Text Based that works with stable serialise (`stableSerialise`). Served with the page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v9-sandbox/. - What it achieves (readme): It creates state store (`createStateStore`) and is built from the clone step (`clone`) and the stable serialise helper (`stableSerialise`). The README says: Deterministic state, bounded history, undo, redo and stable serialisation. - What it does: It calculates its inputs. Defines clone, stableSerialise, createStateStore, notify, commit. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`state.js`: deterministic state, bounded history, undo, redo and stable serialisation." - Signatures: `export stableSerialise(value)`; `export createStateStore(initialScene, maximumHistory = 100)`; `clone(value)`; `notify()`; `commit(nextScene)`; `getScene()`; `getHistoryStatus()`; `update(mutator)`; `undo()`; `redo()`; `subscribe(listener)`; `serialise()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Contract - File: star-solar-star/create/contract.js (JavaScript, 43 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/create/contract.js#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/0256.html#f5 - Synopsis: A JavaScript module in the create folder of Star Solar Star that prepares definition (`prepareDefinition`), using SHA-256. - What it achieves (comment): It prepares definition (`prepareDefinition`) and is built from the valid string helper (`validString`) and the canonical step (`canonical`). RFC 8785 JSON Canonicalization Scheme with an application safe-integer domain. - What it does: It calculates its inputs. Defines validString, canonical, observationBytes, prepareDefinition. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Star Solar Star — Create Page (star-solar-star). - Signatures: `export canonical(value)`; `export observationBytes(observations)`; `export prepareDefinition(value)`; `validString(value)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Star Solar Star — Create Page - File: star-solar-star/create/index.html (HTML, 53 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/create/index.html#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/0256.html#f6 - Synopsis: A web page that reads inputs for editor, using ISO 3166-1 and SHA-256. - What it achieves (name): Its name says it creates page. It responds to click events. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `prepare()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Build Sun - File: star-solar-star/scripts/build_sun.py (Python, 500 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/scripts/build_sun.py#L1-L500 - Page: https://code.globalgrid2050.com/explore-code/s/0257.html#f1 - Synopsis: A Python command-line tool in the scripts folder of Star Solar Star that fetches today, history, UK solar and voices, using SHA-256 from the GlobalGrid2050 repository. - What it achieves (comment): It writes JSON (`write_json`), fetches bytes (`fetch_bytes`) and fetches JSON (`fetch_json`). Build the Sun Star's committed public-data payloads. It accepts `--globalgrid-root`, `--globalgrid-commit` and `--output`. - What it does: It fetches today, history, UK solar and voices. Defines 27 functions or classes, including utc_now, canonical_json, sha256, write_json, SourceLedger. Uses libraries __future__, argparse, datetime, hashlib, html. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: globalgrid2050 data; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file today.json; JSON file history.json; JSON file uk-solar.json; JSON file voices.json; JSON file press.json; JSON file provenance.json. - Downstream impact: Used directly by 4 files: Publish Main (star-solar-star); Validate Sun (star-solar-star); Build Sun Daily Workflow (star-solar-star); Solar Integrity Workflow (star-solar-star). Reached from 4 other entry points, including Publication CI Workflow (star-solar-star); Publish Approved Star Workflow (star-solar-star); Test Integrity (star-solar-star). - Signatures: `utc_now()`; `canonical_json(value: Any)`; `sha256(data: bytes)`; `write_json(path: Path, value: Any)`; `class SourceLedger`; `__init__(self, fetched_utc: str)`; `add(self, *, name: str, url: str, data: bytes, kind: str, **extra: Any)`; `fetch_bytes(url: str, timeout: int = 45)`; `fetch_json(url: str, ledger: SourceLedger, name: str)`; `read_pinned(root: Path, commit: str, key: str, ledger: SourceLedger)`; `require_checkout_commit(root: Path, expected: str)`; `pv_url(as_of: dt.date, history_days: int)`; `interval_end(timestamp: Any)`; `finite_power(value: Any)`; `summarize_pv_day(date_text: str, day_rows: list[dict[str, Any]])`; `parse_pvlive(payload: dict[str, Any], as_of: dt.date)`; `load_geometry(root: Path, as_of: dt.date)`; `decode_dictionary(dictionaries: dict[str, Any], field: str, value: Any)`; `build_uk_solar(raw: bytes, release: str = "202609050309")`; `build_voices(markdown: str)`; `parse_markdown_scan(markdown: str)`; `robots_allows(robots_raw: bytes, robots_url: str, target_url: str)`; `child_text(item: ET.Element, name: str)`; `parse_feed(raw: bytes, source_name: str, feed_url: str, limit: int = 20)`; `build_press(ledger: SourceLedger)` (and 2 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file today.json; JSON file history.json; JSON file uk-solar.json; JSON file voices.json; JSON file press.json; JSON file provenance.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Issue to Star - File: star-solar-star/scripts/issue_to_star.py (Python, 40 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/scripts/issue_to_star.py#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/0257.html#f2 - Synopsis: A Python command-line tool in the scripts folder of Star Solar Star that extracts an approved star definition from an issue and write its stable path. - What it achieves (name): Defines `extract` and `publish`. It accepts `--body-file` and `--output-dir`. - What it does: It loads data. Defines extract, publish. Uses libraries __future__, argparse, json, re, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 2 files: Publish Main (star-solar-star); Test Publication (star-solar-star). Reached from 3 other entry points, including Build Sun Daily Workflow (star-solar-star); Publication CI Workflow (star-solar-star); Publish Approved Star Workflow (star-solar-star). - Signatures: `extract(body: str)`; `publish(star: dict, output_dir: Path)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of star-solar-star/testcode/202609150040/issue_to_star.py) · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Publish Main - File: star-solar-star/scripts/publish_main.py (Python, 92 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/scripts/publish_main.py#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/0257.html#f3 - Synopsis: A Python command-line tool in the scripts folder of Star Solar Star that publishes regenerated, validated outputs with bounded non-fast-forward recovery. - What it achieves (name): Its name says it publishes main. Defines `run`, `publish` and `regenerate`. It accepts `--as-of`, `--globalgrid-root` and `--globalgrid-commit`. - What it does: Defines run, publish, main, regenerate. Uses libraries __future__, argparse, json, os, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 3 files: Test Publication (star-solar-star); Build Sun Daily Workflow (star-solar-star); Publish Approved Star Workflow (star-solar-star). Reached from 1 other entry point, including Publication CI Workflow (star-solar-star). - Signatures: `run(*args: str, check: bool = True)`; `publish(regenerate, message: str, attempts: int = 3)`; `main()`; `regenerate()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 4 estate files (script-call 4); used by 3; mentioned by 0 ### Star Contract - File: star-solar-star/scripts/star_contract.py (Python, 182 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/scripts/star_contract.py#L1-L182 - Page: https://code.globalgrid2050.com/explore-code/s/0258.html#f1 - Synopsis: A Python command-line tool in the scripts folder of Star Solar Star that reads solar, using ISO 3166-1 and SHA-256. - What it achieves (comment): It writes JSON (`write_json`) and is built from the canonical bytes helper (`canonical_bytes`) and the observation bytes helper (`observation_bytes`). Dependency-free validator and seed compiler for public solar star definitions. - What it does: It loads solar. Defines 9 functions or classes, including canonical_bytes, _jcs_domain, observation_bytes, seed_for, _require. Uses libraries __future__, argparse, datetime, hashlib, ipaddress. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 3 files: Issue to Star (star-solar-star); Publish Main (star-solar-star); Country Star CI Workflow (star-solar-star). Reached from 4 other entry points, including Build Sun Daily Workflow (star-solar-star); Publication CI Workflow (star-solar-star); Publish Approved Star Workflow (star-solar-star). - Signatures: `canonical_bytes(value: Any)`; `_jcs_domain(value: Any)`; `observation_bytes(observations: list[dict[str, Any]], canonicalization: str = CANONICALIZATION)`; `seed_for(observations: list[dict[str, Any]], canonicalization: str = CANONICALIZATION)`; `_require(condition: bool, message: str)`; `_date_like(value: Any, label: str)`; `_public_https_url(value: Any, label: str)`; `validate(star: dict[str, Any])`; `write_json(path: Path, value: Any)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Validate Sun - File: star-solar-star/scripts/validate_sun.py (Python, 117 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/scripts/validate_sun.py#L1-L117 - Page: https://code.globalgrid2050.com/explore-code/s/0258.html#f2 - Synopsis: A Python command-line tool in the scripts folder of Star Solar Star that reads today, history, UK solar and voices, using SHA-256. - What it achieves (comment): It is built from the load step (`load`) and the validate step (`validate`). Fail-closed validation for the six committed Sun Star payloads. - What it does: It loads today, history, UK solar and voices. Defines load, validate. Uses libraries __future__, argparse, datetime, json, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file today.json; JSON file history.json; JSON file uk-solar.json; JSON file voices.json; JSON file press.json; JSON file provenance.json; command-line arguments. - Downstream impact: Used directly by 4 files: Publish Main (star-solar-star); Test Integrity (star-solar-star); Build Sun Daily Workflow (star-solar-star); Solar Integrity Workflow (star-solar-star). Reached from 3 other entry points, including Publication CI Workflow (star-solar-star); Publish Approved Star Workflow (star-solar-star); Test Publication (star-solar-star). - Signatures: `load(root: Path, name: str)`; `validate(root: Path)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file today.json; JSON file history.json; JSON file uk-solar.json; JSON file voices.json; JSON file press.json; JSON file provenance.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Verify Pages - File: star-solar-star/scripts/verify_pages.py (Python, 114 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/scripts/verify_pages.py#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/0258.html#f3 - Synopsis: A Python command-line tool in the scripts folder of Star Solar Star that verifies build (`verify_build`) and served (`verify_served`), using SHA-256. - What it achieves (comment): It is built from the API step (`api`), the git step (`git`) and the committed payloads helper (`committed_payloads`). Request a Pages build and prove its committed publication is served byte-for-byte. It accepts `--publication`, `--result` and `--timeout`. - What it does: It fetches data. Defines 6 functions or classes, including api, git, committed_payloads, verify_build, verify_served. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 3 files: Test Publication (star-solar-star); Build Sun Daily Workflow (star-solar-star); Publish Approved Star Workflow (star-solar-star). Reached from 1 other entry point, including Publication CI Workflow (star-solar-star). - Signatures: `api(endpoint: str, method: str = "GET")`; `git(*args: str)`; `committed_payloads(commit: str, paths: list[str])`; `verify_build(build: dict, published: str, expected: dict[str, bytes])`; `verify_served(base_url: str, expected: dict[str, bytes], commit: str)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Build Sun - File: star-solar-star/testcode/202609150030/build_sun.py (Python, 467 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/testcode/202609150030/build_sun.py#L1-L467 - Page: https://code.globalgrid2050.com/explore-code/s/0259.html#f1 - Synopsis: A Python command-line tool in the testcode folder of Star Solar Star that fetches today, history, UK solar and voices, using SHA-256 from the GlobalGrid2050 repository. - What it achieves (comment): It writes JSON (`write_json`), fetches bytes (`fetch_bytes`) and fetches JSON (`fetch_json`). Build the Sun Star's committed public-data payloads. It accepts `--globalgrid-root`, `--globalgrid-commit` and `--output`. - What it does: It fetches today, history, UK solar and voices. Defines 24 functions or classes, including utc_now, canonical_json, sha256, write_json, SourceLedger. Uses libraries __future__, argparse, datetime, hashlib, html. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: globalgrid2050 data; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file today.json; JSON file history.json; JSON file uk-solar.json; JSON file voices.json; JSON file press.json; JSON file provenance.json. - Downstream impact: Used directly by 2 files: Test Integrity (star-solar-star); Sun Star Candidate Workflow (star-solar-star). Reached from 1 other entry point, including Solar Integrity Workflow (star-solar-star). - Signatures: `utc_now()`; `canonical_json(value: Any)`; `sha256(data: bytes)`; `write_json(path: Path, value: Any)`; `class SourceLedger`; `__init__(self, fetched_utc: str)`; `add(self, *, name: str, url: str, data: bytes, kind: str, **extra: Any)`; `fetch_bytes(url: str, timeout: int = 45)`; `fetch_json(url: str, ledger: SourceLedger, name: str)`; `read_pinned(root: Path, commit: str, key: str, ledger: SourceLedger)`; `require_checkout_commit(root: Path, expected: str)`; `pv_url(as_of: dt.date, history_days: int)`; `parse_pvlive(payload: dict[str, Any], as_of: dt.date)`; `load_geometry(root: Path, as_of: dt.date)`; `decode_dictionary(dictionaries: dict[str, Any], field: str, value: Any)`; `build_uk_solar(raw: bytes, release: str = "202609050309")`; `build_voices(markdown: str)`; `parse_markdown_scan(markdown: str)`; `robots_allows(robots_raw: bytes, robots_url: str, target_url: str)`; `child_text(item: ET.Element, name: str)`; `parse_feed(raw: bytes, source_name: str, feed_url: str, limit: int = 20)`; `build_press(ledger: SourceLedger)`; `build(args: argparse.Namespace)`; `parse_args(argv: list[str] | None = None)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file today.json; JSON file history.json; JSON file uk-solar.json; JSON file voices.json; JSON file press.json; JSON file provenance.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Test Build Sun - File: star-solar-star/testcode/202609150030/test_build_sun.py (Python, 99 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/testcode/202609150030/test_build_sun.py#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0259.html#f2 - Synopsis: A test in the testcode folder of Star Solar Star covering wind, using SHA-256. It is built from the sun builder tests class (`SunBuilderTests`). - What it achieves (name): Defines `SunBuilderTests`, `test_pvlive_seed_is_order_independent_and_full_sha256`, `test_pipeline_keeps_missing_geometry_explicit` and 6 more. - What it does: It tests wind. Defines 9 functions or classes, including SunBuilderTests, test_pvlive_seed_is_order_independent_and_full_sha256, test_pipeline_keeps_missing_geometry_explicit, test_markdown_tables_remain_source_strings, test_feed_retains_metadata_only. Uses libraries datetime, importlib.util, json, tempfile, unittest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: wind. - Inputs & outputs: In: JSON file x.json. - Downstream impact: Used directly by 1 file: Sun Star Candidate Workflow (star-solar-star). - Signatures: `class SunBuilderTests`; `test_pvlive_seed_is_order_independent_and_full_sha256(self)`; `test_pipeline_keeps_missing_geometry_explicit(self)`; `test_markdown_tables_remain_source_strings(self)`; `test_feed_retains_metadata_only(self)`; `test_robot_disallow_is_fail_closed(self)`; `test_writer_uses_stable_json_format(self)`; `test_lane_merge_fails_closed_on_divergence(self)`; `test_checkout_commit_mismatch_fails_closed(self)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file x.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Global Star - File: star-solar-star/testcode/202609150040/build_global_star.py (Python, 211 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/testcode/202609150040/build_global_star.py#L1-L211 - Page: https://code.globalgrid2050.com/explore-code/s/0260.html#f1 - Synopsis: A Python command-line tool in the testcode folder of Star Solar Star that fetches iea audited statements, solar and wind, using SHA-256 from the GlobalGrid2050 repository. - What it achieves (comment): It is built from the fetch step (`fetch`), the digest step (`digest`) and the visible text helper (`visible_text`). Build a global solar definition from dated IRENA/IEA public sources. Its code works with 600 GW and 800 GW. It accepts `--output`, `--accessed-utc` and `--allow-audited-iea-fixture-on-403`. - What it does: It fetches iea audited statements, solar and wind. Defines 7 functions or classes, including fetch, digest, visible_text, source, iea_payload. Uses libraries __future__, argparse, datetime, hashlib, html. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, wind. - Inputs & outputs: In: data source: globalgrid2050 data; JSON file iea-audited-statements.json; command-line arguments. - Downstream impact: Used directly by 3 files: Test Country Star (star-solar-star); Country Star Candidate Workflow (star-solar-star); Country Star CI Workflow (star-solar-star). - Signatures: `fetch(url: str)`; `digest(raw: bytes)`; `visible_text(raw: bytes)`; `source(source_id: str, publisher: str, title: str, url: str, published: str, accessed: str, raw: bytes, **extra)`; `iea_payload(source_id: str, url: str, allow_audited_fixture_on_403: bool)`; `iea_source(source_id: str, title: str, url: str, accessed: str, raw: bytes | None, evidence: dict | None)`; `build(accessed_utc: str | None = None, allow_audited_fixture_on_403: bool = False)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data; JSON file iea-audited-statements.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Testcode — Create Page - File: star-solar-star/testcode/202609150040/create/index.html (HTML, 53 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/testcode/202609150040/create/index.html#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/0260.html#f2 - Synopsis: A web page in Star Solar Star that reads inputs for editor, using ISO 3166-1 and SHA-256. - What it achieves (name): Its name says it creates page. Defines `canonical`, `hex` and `seed`. It responds to click events. - What it does: It draws its content. Defines canonical, hex, seed. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `canonical(value)`; `hex(bytes)`; `seed(observations)`; `prepare()` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Issue to Star - File: star-solar-star/testcode/202609150040/issue_to_star.py (Python, 38 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/testcode/202609150040/issue_to_star.py#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0260.html#f3 - Synopsis: A Python command-line tool in the testcode folder of Star Solar Star that extracts an approved star definition from an issue and write its stable path. - What it achieves (readme): It is built from the extract step (`extract`) and the publish step (`publish`). The README says: `issue_to_star.py` is the fail-closed conversion step after approval. It accepts `--body-file` and `--output-dir`. - What it does: It loads data. Defines extract, publish. Uses libraries __future__, argparse, json, re, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`issue_to_star.py` is the fail-closed conversion step after approval." - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 2 files: Test Country Star (star-solar-star); Test Integrity (star-solar-star). Reached from 3 other entry points, including Country Star CI Workflow (star-solar-star); Country Star Candidate Workflow (star-solar-star); Solar Integrity Workflow (star-solar-star). - Signatures: `extract(body: str)`; `publish(star: dict, output_dir: Path)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Make Publication - File: star-solar-star/testcode/202609150040/make_publication.py (Python, 34 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/testcode/202609150040/make_publication.py#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/0260.html#f4 - Synopsis: A Python command-line tool in the testcode folder of Star Solar Star covering global solar star, iea audited statements and star schema, using SHA-256. - What it achieves (comment): Create a deterministic manifest for the candidate implementation. It writes `publication.json`. - What it does: Uses libraries __future__, hashlib, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file global-solar.star.json; JSON file iea-audited-statements.json; JSON file star.schema.json; JSON file publication.json. - Downstream impact: Used directly by 3 files: Country Star Candidate Workflow (star-solar-star); Country Star CI Workflow (star-solar-star); Sun Star Candidate Workflow (star-solar-star). - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file global-solar.star.json; JSON file iea-audited-statements.json; JSON file star.schema.json; JSON file publication.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Merge Results - File: star-solar-star/testcode/202609150040/merge_results.py (Python, 42 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/testcode/202609150040/merge_results.py#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/0260.html#f5 - Synopsis: A Python command-line tool in the testcode folder of Star Solar Star that reads solar, using SHA-256. It is built from the load step (`load`). - What it achieves (comment): Fail closed unless local and GitHub lanes report identical stable facts. It accepts `--local`, `--ci` and `--output`. - What it does: It loads solar. Defines load. Uses libraries __future__, argparse, hashlib, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar. README: "`write_result.py` reduces each lane to stable facts, and `merge_results.py` refuses promotion unless local and GitHub facts and code commits match exactly." - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Country Star CI Workflow (star-solar-star). - Signatures: `load(path: Path)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Star Contract - File: star-solar-star/testcode/202609150040/star_contract.py (Python, 156 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/testcode/202609150040/star_contract.py#L1-L156 - Page: https://code.globalgrid2050.com/explore-code/s/0260.html#f6 - Synopsis: A Python command-line tool in the testcode folder of Star Solar Star that reads solar, using ISO 3166-1 and SHA-256. - What it achieves (comment): It writes JSON (`write_json`) and is built from the canonical bytes helper (`canonical_bytes`) and the seed for helper (`seed_for`). Dependency-free validator and seed compiler for public solar star definitions. - What it does: It loads solar. Defines 7 functions or classes, including canonical_bytes, seed_for, _require, _date_like, _public_https_url. Uses libraries __future__, argparse, datetime, hashlib, ipaddress. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 9 files: Build Global Star (star-solar-star); Issue to Star (star-solar-star); Make Publication (star-solar-star); Merge Results (star-solar-star); and 5 more. Reached from 4 other entry points, including Country Star CI Workflow (star-solar-star); Solar Integrity Workflow (star-solar-star); Sun Star Candidate Workflow (star-solar-star). - Signatures: `canonical_bytes(value: Any)`; `seed_for(observations: list[dict[str, Any]])`; `_require(condition: bool, message: str)`; `_date_like(value: Any, label: str)`; `_public_https_url(value: Any, label: str)`; `validate(star: dict[str, Any])`; `write_json(path: Path, value: Any)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 9; mentioned by 0 ### Test Country Star - File: star-solar-star/testcode/202609150040/test_country_star.py (Python, 102 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/testcode/202609150040/test_country_star.py#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/0260.html#f7 - Synopsis: A test in the testcode folder of Star Solar Star that checks Issue to Star and Star Contract, using SHA-256. - What it achieves (name): It sets up class (`setUpClass`) and is built from the star contract tests class (`StarContractTests`). Defines `StarContractTests`, `setUpClass`, `test_global_record_validates` and 9 more. Its code works with 600 GW. - What it does: It tests its inputs. Defines 12 functions or classes, including StarContractTests, setUpClass, test_global_record_validates, test_observation_order_does_not_change_seed, test_modified_measurement_is_rejected_without_new_seed. Uses libraries __future__, copy, importlib.util, json, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file global-solar.star.json. - Downstream impact: Used directly by 2 files: Country Star Candidate Workflow (star-solar-star); Country Star CI Workflow (star-solar-star). - Signatures: `class StarContractTests`; `setUpClass(cls)`; `test_global_record_validates(self)`; `test_observation_order_does_not_change_seed(self)`; `test_modified_measurement_is_rejected_without_new_seed(self)`; `test_private_work_language_is_rejected(self)`; `test_source_url_must_be_public_https_without_credentials_or_fragment(self)`; `test_existing_id_cannot_be_replaced_with_different_content(self)`; `test_text_outside_json_fence_is_never_parsed_as_code(self)`; `test_issue_parser_accepts_one_json_fence(self)`; `test_creator_is_mobile_and_deterministic(self)`; `test_iea_fixture_is_used_only_for_explicit_403_policy(self)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file global-solar.star.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Write Result - File: star-solar-star/testcode/202609150040/write_result.py (Python, 43 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/testcode/202609150040/write_result.py#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/0260.html#f8 - Synopsis: A Python command-line tool in the testcode folder of Star Solar Star that reads solar, using SHA-256. It is built from the result for helper (`result_for`). - What it achieves (comment): Write the stable evidence used to compare independent execution lanes. It accepts `--star`, `--output` and `--lane`. - What it does: It loads solar. Defines result_for. Uses libraries __future__, argparse, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar. README: "`write_result.py` reduces each lane to stable facts, and `merge_results.py` refuses promotion unless local and GitHub facts and code commits match exactly." - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 3 files: Country Star Candidate Workflow (star-solar-star); Country Star CI Workflow (star-solar-star); Sun Star Candidate Workflow (star-solar-star). - Signatures: `result_for(star: dict, lane: str, code_commit: str)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Browser - File: star-solar-star/testcode/202609150503/browser.mjs (JavaScript, 77 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/testcode/202609150503/browser.mjs#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/0261.html#f1 - Synopsis: A JavaScript module in the testcode folder of Star Solar Star. - What it does: It loads data. Uses libraries node:assert/strict, node:http, node:fs/promises, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Solar Integrity Workflow (star-solar-star). - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Test Integrity - File: star-solar-star/testcode/202609150503/test_integrity.py (Python, 149 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/testcode/202609150503/test_integrity.py#L1-L149 - Page: https://code.globalgrid2050.com/explore-code/s/0261.html#f2 - Synopsis: A test in the testcode folder of Star Solar Star that checks Build Sun and Star Contract. - What it achieves (comment): It is built from the PV day helper (`pv_day`) and the production integrity class (`ProductionIntegrity`). Exercise published production modules, never historical candidate copies. - What it does: It tests its inputs. Defines 13 functions or classes, including pv_day, ProductionIntegrity, test_imports_are_production, test_legacy_reference_identity_and_immutable_publication, test_jcs_known_bytes_and_version. Uses libraries copy, datetime, json, sys, tempfile. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file global-solar-2025.star.json; JSON file history.json; JSON file today.json; JSON file uk-solar.json. - Downstream impact: Used directly by 1 file: Solar Integrity Workflow (star-solar-star). - Signatures: `pv_day(date=dt.date(2026, 9, 14))`; `class ProductionIntegrity`; `test_imports_are_production(self)`; `test_legacy_reference_identity_and_immutable_publication(self)`; `test_jcs_known_bytes_and_version(self)`; `test_jcs_rejects_invalid_domain(self)`; `test_interval_end_day_and_reordering(self)`; `test_request_bounds_follow_official_interval_end_convention(self)`; `test_duplicate_missing_and_off_grid_intervals_fail(self)`; `test_nonfinite_invalid_power_and_capacity_fail(self)`; `test_fallback_distinguishes_requested_and_observation_dates(self)`; `test_validator_recomputes_all_summary_fields(self)`; `test_preserves_real_project_null_geometry(self)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file global-solar-2025.star.json; JSON file history.json; JSON file today.json; JSON file uk-solar.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 3, sys-path 1); used by 1; mentioned by 0 ### Vectors - File: star-solar-star/testcode/202609150503/vectors.py (Python, 41 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/testcode/202609150503/vectors.py#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0261.html#f3 - Synopsis: A Python command-line tool in the testcode folder of Star Solar Star that reads global solar star, using SHA-256. It is built from the vectors step (`vectors`). - What it achieves (comment): Expected bytes/seeds computed by the production Python contract. - What it does: It loads global solar star. Defines vectors. Uses libraries copy, json, sys, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file global-solar-2025.star.json. - Downstream impact: Used directly by 1 file: Browser (star-solar-star). Reached from 1 other entry point, including Solar Integrity Workflow (star-solar-star). - Signatures: `vectors()` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file global-solar-2025.star.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Test Publication - File: star-solar-star/tests/test_publication.py (Python, 188 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/tests/test_publication.py#L1-L188 - Page: https://code.globalgrid2050.com/explore-code/s/0261.html#f4 - Synopsis: A test in the tests folder of Star Solar Star that checks Issue to Star and Publish Main, using SHA-256. It sets up (`setUp`) and writes other (`write_other`). - What it achieves (comment): Exercise production publication against a real temporary Git remote. It writes `unrelated.txt`. - What it does: It tests its inputs. Defines 20 functions or classes, including at, git, PublicationTests, setUp, write_other. Uses libraries contextlib, functools, http.server, json, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file data.json; JSON file example.star.json; JSON file publication.json; JSON file proof.json. Out: JSON file data.json. - Downstream impact: Used directly by 1 file: Publication CI Workflow (star-solar-star). - Signatures: `at(path)`; `git(path, *args)`; `class PublicationTests`; `setUp(self)`; `write_other(self, path, content)`; `test_concurrent_push_rebuilds_against_fresh_main(self)`; `regenerate()`; `test_identical_immutable_record_is_idempotent(self)`; `test_concurrent_immutable_id_collision_rejected(self)`; `test_dirty_tracked_checkout_rejected(self)`; `test_push_failures_are_bounded(self)`; `run(*args, **kwargs)`; `test_pages_requires_built_descendant_with_same_bytes(self)`; `test_served_bytes_must_match(self)`; `test_pages_resolves_new_build_and_writes_success_proof(self)`; `test_pages_error_writes_failed_proof_and_raises(self)`; `pages_orchestration(self, status)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file data.json; JSON file example.star.json; JSON file publication.json; JSON file proof.json]; out [JSON file data.json]; crs []; voltages [] - Edges: uses 3 estate files (sys-path 3); used by 1; mentioned by 0 ### Codex Layers Panel Policy Test - File: teleprinter/drivers/codex/layers-panel-policy.test.mjs (JavaScript, 13 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/layers-panel-policy.test.mjs#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/0261.html#f5 - Synopsis: A test in the drivers folder of Teleprinter that checks Layers Panel Policy. - What it does: It tests its inputs. Uses libraries node:test, node:assert/strict. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page - File: testcode/sandbox/202609052028/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/index.html (HTML, 509 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609052028/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/index.html#L1-L509 - Page: https://code.globalgrid2050.com/explore-code/s/0262.html#f1 - Synopsis: A web page in the layer apps folder of Testcode that reads inputs for loc, mod wp and mod, covering battery storage (BESS), cables, substations and 33kV. - What it achieves (readme): The README says: The publication checkout is sparse: `index.html` and the complete `uk_renewables_pipeline/` tree. Its code works with 33 kV, 0.00 MVA and 132 kV. - What it does: It draws battery storage (BESS), cables, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), cables, substations, 33kV, 400kV, 275kV. README: "The publication checkout is sparse: `index.html` and the complete `uk_renewables_pipeline/` tree." - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV] - Edges: uses 14 estate files (script-src 13, stylesheet 1); used by 0; mentioned by 0 ### Map Frame - File: testcode/sandbox/202609052028/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/map-frame.js (JavaScript, 32 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609052028/layer-apps/solar-bess-topology-v7/gis-sld-financial-sandbox/map-frame.js#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/0262.html#f2 - Synopsis: A JavaScript file in the GIS SLD financial sandbox folder of Testcode that copies the current map drawing during its own render event; no display permission. - What it achieves (name): It is built from the cancel step (`cancel`) and the drawn step (`drawn`). Defines `capture`, `cleanup`, `fail` and 2 more. It responds to abort events. - What it does: Defines capture, cleanup, fail, cancel, drawn. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (testcode). - Signatures: `capture({signal,timeout=5000}={})`; `cleanup()`; `fail(error)`; `cancel()`; `drawn()` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Substation Subset - File: claude/sessions/202609031559-skin-architecture/prototype/build-substation-subset.py (Python, 92 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609031559-skin-architecture/prototype/build-substation-subset.py#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/0263.html#f1 - Synopsis: A Python module in the prototype folder of Claude that reads grid substations and 400kV. - What it achieves (name): Its name says it builds substation subset. Defines `rep`. Its code works with 400 kV. - What it does: It loads grid substations and 400kV. Defines dk, rep. Uses libraries json, math, sys, os. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV. - Inputs & outputs: In: GeoJSON file grid_substations.geojson. Out: JSON file. Voltage levels named: 400kV. - Signatures: `dk(a, b, c, d)`; `rep(g)` - domain_stage: experimental · commercial_user: ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_substations.geojson]; out [JSON file]; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Renewable Energy Planning Database (REPD) Routing Release - File: code-generator/apps/substation-finder/Dt/202608291410-verify-repd-routing-release.py (Python, 119 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Dt/202608291410-verify-repd-routing-release.py#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/0263.html#f2 - Synopsis: A Python command-line tool in the substation finder folder of Code Generator that reads projects and the REPD register, using SHA-256. - What it achieves (comment): It sets hash (`set_hash`) and is built from the sha256 step (`sha256`) and the require step (`require`). Fail-closed verification for the immutable REPD routing folder. It accepts `--contract`, `--release` and `--source-commit`. - What it does: It loads projects and the REPD register. Defines sha256, require, set_hash, canonical_json, main. Uses libraries __future__, argparse, hashlib, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'routing'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file projects.json; JSON file release.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha256(raw: bytes)`; `require(condition: bool, message: str)`; `set_hash(values: list[str])`; `canonical_json(value: object)`; `main()` - domain_stage: field_execution · commercial_user: IPP_developer, EPC_contractor, ICP_grid_engineer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file projects.json; JSON file release.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Atlas V9 Company Renewable Energy Planning Database (REPD) Links - File: code-generator/apps/substation-finder/Dt/202608300232-build-atlas-v9-company-repd-links.py (Python, 375 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Dt/202608300232-build-atlas-v9-company-repd-links.py#L1-L375 - Page: https://code.globalgrid2050.com/explore-code/s/0263.html#f3 - Synopsis: A Python command-line tool in the substation finder folder of Code Generator that reads atlas company REPD links, GridAtlas current, the REPD register and solar, using SHA-256. - What it achieves (comment): It normalises company number (`normalise_company_number`), normalises ref (`normalise_ref`) and normalises technology (`normalise_technology`). Build compact deterministic Companies ↔ REPD ↔ Atlas V9 deep-link relations. It accepts `--gridatlas`, `--globalgrid` and `--repo-root`. - What it does: It loads atlas company REPD links, GridAtlas current, the REPD register and solar. Defines 18 functions or classes, including require, load, sha256_file, stable_id, quote_identifier. Uses libraries __future__, argparse, csv, hashlib, json. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: Parquet file atlas_v9_company_repd_links.parquet; JSON file live-set.json; JSON file gridatlas-v9-current.json; JSON file atlas-v9-current.json; JSON file atlas-v9-company-repd-links-manifest.json; DuckDB queries; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `require(condition: bool, message: str)`; `load(path: Path)`; `sha256_file(path: Path)`; `stable_id(*parts: str)`; `quote_identifier(value: str)`; `sql_path(path: Path)`; `first_column(columns: dict[str, str], candidates: tuple[str, ...])`; `normalise_company_number(value: object)`; `normalise_ref(value: object)`; `normalise_technology(value: object)`; `normalise_base(value: str)`; `build_url(base: str, repd_ref: str, technology: str)`; `candidate_parquets(root: Path)`; `mutable_text_files(root: Path)`; `rewrite_sources(root: Path, base_url: str)`; `extract_rows(connection: duckdb.DuckDBPyConnection, root: Path, path: Path)`; `write_parquet(connection: duckdb.DuckDBPyConnection, rows: list[dict[str, str]], output: Path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [Parquet file atlas_v9_company_repd_links.parquet; JSON file live-set.json; JSON file gridatlas-v9-current.json; JSON file atlas-v9-current.json; JSON file atlas-v9-company-repd-links-manifest.json; DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Build N1 Deep Link Candidates - File: code-generator/apps/substation-finder/Dt/202608310050-build-n1-deep-link-candidates.py (Python, 174 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Dt/202608310050-build-n1-deep-link-candidates.py#L1-L174 - Page: https://code.globalgrid2050.com/explore-code/s/0264.html#f1 - Synopsis: A Python command-line tool in the substation finder folder of Code Generator that reads atlas link contract and atlas current, using SHA-256 from the GridAtlas repository. - What it achieves (comment): It writes text (`write_text`), writes JSON (`write_json`) and replaces strings (`replace_strings`). Build isolated N1 candidate files. Never writes into producer repositories. It writes `atlas-v9-current.json`. It accepts `--output`, `--generation` and `--pipelinenews`. - What it does: It loads atlas link contract and atlas current. Defines sha256, write_text, write_json, replace_strings, main. Uses libraries __future__, argparse, datetime, difflib, hashlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data; JSON file live-set.json; JSON file atlas-v9-link-contract.json; JSON file atlas-v9-current.json; JSON file n1-manifest.json; command-line arguments. - Downstream impact: Used directly by 1 file: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/). - Signatures: `sha256(path: Path)`; `write_text(path: Path, text: str)`; `write_json(path: Path, value: Any)`; `replace_strings(value: Any)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file live-set.json; JSON file atlas-v9-link-contract.json; JSON file atlas-v9-current.json; JSON file n1-manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 1; mentioned by 0 ### Build Renewable Energy Planning Database (REPD) Ref Index - File: code-generator/apps/substation-finder/Dt/202608310050-build-repd-ref-index.py (Python, 201 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Dt/202608310050-build-repd-ref-index.py#L1-L201 - Page: https://code.globalgrid2050.com/explore-code/s/0264.html#f2 - Synopsis: A Python command-line tool in the substation finder folder of Code Generator that reads REPD projects, cartridge installation readiness and the REPD register, using SHA-256. - What it achieves (comment): It writes text (`write_text`) and writes JSON (`write_json`). Build the N2 static exact-REPD reference index as an isolated test artefact. It writes `manifest.json`. It accepts `--parquet`, `--output` and `--generation`. - What it does: It loads REPD projects, cartridge installation readiness and the REPD register. Defines sha256, write_text, write_json, normal, main. Uses libraries __future__, argparse, gzip, hashlib, json. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: Parquet file repd_projects_202608290716.parquet; JSON file cartridge-installation-readiness.json; DuckDB queries; command-line arguments. - Downstream impact: Used directly by 1 file: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/). - Signatures: `sha256(path: Path)`; `write_text(path: Path, text: str)`; `write_json(path: Path, value: Any, *, compact: bool = False)`; `normal(value: Any)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [Parquet file repd_projects_202608290716.parquet; JSON file cartridge-installation-readiness.json; DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Calibrate Design Freeze - File: code-generator/apps/substation-finder/Dt/202608310050-calibrate-design-freeze.py (Python, 227 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Dt/202608310050-calibrate-design-freeze.py#L1-L227 - Page: https://code.globalgrid2050.com/explore-code/s/0264.html#f3 - Synopsis: A Python command-line tool in the substation finder folder of Code Generator that reads calibration, using SHA-256. It writes text (`write_text`), writes JSON (`write_json`) and parses date (`parse_date`). - What it achieves (comment): N4: deterministic design-freeze calibration over the frozen PipelineNews project spine. It writes `calibration.json`. It accepts `--pipelinenews`, `--output` and `--generation`. - What it does: It loads calibration. Defines 7 functions or classes, including write_text, write_json, parse_date, capacity_band, records_from_file. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file calibration.json; command-line arguments. - Downstream impact: Used directly by 1 file: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/). - Signatures: `write_text(path: Path, text: str)`; `write_json(path: Path, value: Any)`; `parse_date(value: Any)`; `capacity_band(capacity: float)`; `records_from_file(path: Path)`; `sha256_paths(paths: list[Path])`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file calibration.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Stamp Data Spine Doctrine - File: code-generator/apps/substation-finder/Dt/stamp_data_spine_doctrine.py (Python, 166 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Dt/stamp_data_spine_doctrine.py#L1-L166 - Page: https://code.globalgrid2050.com/explore-code/s/0265.html#f1 - Synopsis: A Python command-line tool in the substation finder folder of Code Generator that reads spine stamp and solar. - What it achieves (comment): It reads text (`read_text`), writes text (`write_text`) and inserts after first block (`insert_after_first_block`). GlobalGrid2050 data spine doctrine stamper. It accepts `--apply`. - What it does: It loads spine stamp and solar. Defines 9 functions or classes, including utc_now, stamp, read_text, write_text, insert_after_first_block. Uses libraries __future__, argparse, json, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file DATA_SPINE_STAMP_LATEST.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `utc_now()`; `stamp()`; `read_text(path: Path)`; `write_text(path: Path, text: str)`; `insert_after_first_block(text: str)`; `update_target(rel: str, apply: bool)`; `update_changelog(apply: bool)`; `render_report(payload: dict)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file DATA_SPINE_STAMP_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify V9 6 2 Equivalence - File: code-generator/apps/substation-finder/Ps/202608282348-verify-v9-6-2-equivalence.mjs (JavaScript, 273 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Ps/202608282348-verify-v9-6-2-equivalence.mjs#L1-L273 - Page: https://code.globalgrid2050.com/explore-code/s/0265.html#f2 - Synopsis: A JavaScript module in the substation finder folder of Code Generator covering solar. It is built from the first number helper (`firstNumber`). - What it achieves (name): Its name says it verifies equivalence. Defines `gate`, `firstNumber` and `observe`. - What it does: It draws solar. Defines gate, firstNumber, observe. Uses libraries playwright, node:fs/promises. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `gate(id, pass, evidence)`; `firstNumber(text)`; `observe(browser, label, url, viewport)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Transit Layer Availability Browser - File: code-generator/apps/substation-finder/Ps/202609040219-transit-layer-availability.browser.mjs (JavaScript, 257 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Ps/202609040219-transit-layer-availability.browser.mjs#L1-L257 - Page: https://code.globalgrid2050.com/explore-code/s/0265.html#f3 - Synopsis: A JavaScript module in the substation finder folder of Code Generator that draws UK metros trams root. It is built from the proof map class (`ProofMap`). - What it achieves (name): Defines `capture` and `ProofMap`. It responds to click events. - What it does: It draws UK metros trams root. Defines capture, ProofMap. Uses libraries node:assert/strict, node:http, node:fs/promises, node:path, node:module. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: Parquet file uk_metros_trams_root.parquet. - Downstream impact: Used directly by 1 file: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/). - Signatures: `capture(value)`; `ProofMap(...args)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/proofs/202609040229-arrival-identity.browser.mjs) · essay_status: readme_derived - data_contracts: in [Parquet file uk_metros_trams_root.parquet]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Arrival Identity Corpus Proof - File: code-generator/apps/substation-finder/Ps/202609040229-arrival-identity-corpus.proof.mjs (JavaScript, 402 lines) · role storage · stage ingest · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Ps/202609040229-arrival-identity-corpus.proof.mjs#L1-L402 - Page: https://code.globalgrid2050.com/explore-code/s/0266.html#f1 - Synopsis: A JavaScript module in the substation finder folder of Code Generator that reads wider fleet, Renewable Energy Planning Database (REPD) projects and battery storage (BESS), using SHA-256. - What it achieves (name): It runs python (`runPython`) and is built from the receiver scenario helper (`receiverScenario`) and the proof custom event class (`ProofCustomEvent`). Defines `sha256`, `runPython`, `receiverScenario` and 1 more. - What it does: It loads wider fleet, REPD projects and battery storage (BESS). Defines sha256, runPython, receiverScenario, ProofCustomEvent. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:fs, node:child_process. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: battery storage (BESS). - Inputs & outputs: In: JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202609040044-wider-fleet.json; Parquet file repd_projects_202608290716.parquet; JSON file current.json; DuckDB queries; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `sha256(bytes)`; `runPython(executable)`; `receiverScenario(search, { rows = [], queryError = null, retryRows = null, interruptReason = null, claimAgain = false } = {})`; `class ProofCustomEvent`; `constructor(type, options = {})`; `addEventListener(type, listener)`; `dispatchEvent(event)`; `invariant(ok, message)`; `queryOfficialRepd(_query, _serial, stillOwned)`; `resetOfficialRuntime()`; `renderResults()`; `waitForCapturedMap()`; `selectResult(result, options = {})`; `hasSafeMapPoint(result)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202609040044-wider-fleet.json; Parquet file repd_projects_202608290716.parquet; JSON file current.json; DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Arrival Identity Browser - File: code-generator/apps/substation-finder/Ps/202609040229-arrival-identity.browser.mjs (JavaScript, 302 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Ps/202609040229-arrival-identity.browser.mjs#L1-L302 - Page: https://code.globalgrid2050.com/explore-code/s/0267.html#f1 - Synopsis: A JavaScript module in the substation finder folder of Code Generator that reads Renewable Energy Planning Database (REPD) and solar from the GridAtlas repository. - What it achieves (name): It is built from the proof map class (`ProofMap`). Defines `capture` and `ProofMap`. - What it does: It loads REPD and solar. Defines capture, ProofMap. Uses libraries node:assert/strict, node:http, node:fs/promises, node:path, node:module. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: data source: gridatlas data; JSON file current.json; JSON file repd_v9_manifest_202608290716.json. - Signatures: `capture(candidate)`; `ProofMap(...args)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/proofs/202609040229-arrival-identity.browser.mjs) · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file current.json; JSON file repd_v9_manifest_202608290716.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Place Global Search Arrival Identity - File: code-generator/apps/substation-finder/Ps/202609040229-place-global-search-arrival-identity.js (JavaScript, 787 lines) · role render · stage output - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Ps/202609040229-place-global-search-arrival-identity.js#L1-L787 - Page: https://code.globalgrid2050.com/explore-code/s/0267.html#f2 - Synopsis: A JavaScript file in the substation finder folder of Code Generator that maps Renewable Energy Planning Database (REPD) projects, using SHA-256 and uses data from the GridAtlas repository. - What it achieves (code): It marks deep link cancelled (`markDeepLinkCancelled`), normalises compact (`normaliseCompact`) and parses groups (`parseGroups`). Its `buildWhere` function gives SQL predicate from query text (VEDIC: query). It responds to gridatlas, click and input events. - What it does: It maps REPD projects, postcodes and the REPD register. Defines 39 functions or classes, including invariant, arrivalCoordinator, markDeepLinkCancelled, invalidatePendingDeepLink, escapeHtml. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register. - Inputs & outputs: In: data source: gridatlas data; data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; DuckDB queries. Out: interactive map. - Downstream impact: Used directly by 3 files: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `invariant(condition, message)`; `arrivalCoordinator()`; `markDeepLinkCancelled(reason, epoch = null)`; `invalidatePendingDeepLink(reason)`; `escapeHtml(value)`; `sqlString(value)`; `normaliseCompact(value)`; `parseGroups(query)`; `sha256Hex(bytes)`; `verifyManifest()`; `sharedDuckDBRuntime(moduleUrl)`; `runtime()`; `resetOfficialRuntime()`; `installMapCapture()`; `construct(target, args, newTarget)`; `buildWhere(query)`; `buildScore(query)`; `rowObject(row)`; `queryOfficialRepd(query, serial = null, stillOwned = null)`; `hasSafeMapPoint(result)`; `setDeepLink(result)`; `selectResult(result, options = {})`; `geocoderGet(path, query)`; `joinParts(...parts)`; `queryUkGazetteer(query)` (and 14 more) - VEDIC: QUERY (GG2050-VEDIC-000046): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_predicate - VEDIC: SCORE (GG2050-VEDIC-000047): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_sort_expression - VEDIC: UK GEOCODE (GG2050-VEDIC-000048): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> uk_location_candidates - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; DuckDB queries]; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Place Global Search V9 5 - File: code-generator/apps/substation-finder/Ps/202609071213-place-global-search-v9-5.js (JavaScript, 923 lines) · role geodesy · stage output - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Ps/202609071213-place-global-search-v9-5.js#L1-L923 - Page: https://code.globalgrid2050.com/explore-code/s/0269.html#f1 - Synopsis: A JavaScript file in the substation finder folder of Code Generator that maps Renewable Energy Planning Database (REPD) projects, using SHA-256 and uses data from the GridAtlas repository. - What it achieves (comment): It marks deep link cancelled (`markDeepLinkCancelled`), normalises compact (`normaliseCompact`) and parses groups (`parseGroups`). ASSEMBLED by `tools/build-cartridge.mjs` from the parts below. It responds to gridatlas, click and input events. - What it does: It maps REPD projects, offshore coordinates, postcodes and the REPD register. Defines 41 functions or classes, including invariant, arrivalCoordinator, markDeepLinkCancelled, invalidatePendingDeepLink, escapeHtml. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register. - Inputs & outputs: In: data source: gridatlas data; data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; JSON file offshore-coordinates.json; DuckDB queries. Out: interactive map. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/). - Signatures: `invariant(condition, message)`; `arrivalCoordinator()`; `markDeepLinkCancelled(reason, epoch = null)`; `invalidatePendingDeepLink(reason)`; `escapeHtml(value)`; `sqlString(value)`; `normaliseCompact(value)`; `parseGroups(query)`; `sha256Hex(bytes)`; `verifyManifest()`; `sharedDuckDBRuntime(moduleUrl)`; `runtime()`; `resetOfficialRuntime()`; `installMapCapture()`; `construct(target, args, newTarget)`; `buildWhere(query)`; `buildScore(query)`; `rowObject(row)`; `queryOfficialRepd(query, serial = null, stillOwned = null)`; `hasSafeMapPoint(result)`; `loadDerivedCoordinates()`; `derivedCoordinateFor(repdRef)`; `setDeepLink(result)`; `selectResult(result, options = {})`; `geocoderGet(path, query)` (and 15 more) - VEDIC: QUERY (GG2050-VEDIC-000046): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_predicate - VEDIC: SCORE (GG2050-VEDIC-000047): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_sort_expression - VEDIC: UK GEOCODE (GG2050-VEDIC-000048): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> uk_location_candidates - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/cartridges/202611180026-place-global-search-v9-5.js) · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; JSON file offshore-coordinates.json; DuckDB queries]; out [interactive map]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Menu Bar - File: code-generator/apps/substation-finder/Si/202609031958-menu-bar.js (JavaScript, 1805 lines) · role render · stage output - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Si/202609031958-menu-bar.js#L1-L1805 - Page: https://code.globalgrid2050.com/explore-code/s/0270.html#f2 - Published at: https://ventusltd.github.io/code-generator/apps/substation-finder/Si/ - Synopsis: A JavaScript file in the substation finder folder of Code Generator that draws engine graph and uses data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/code-generator/apps/substation-finder/Si/. - What it achieves (comment): It cleans text (`cleanText`), syncs attrib clearance (`syncAttribClearance`) and syncs layer (`syncLayer`). V9.94 proved that the conventional menu is the right shape and the wrong implementation can still strand the product. It responds to click, keydown and afterprint events. - What it does: It draws engine graph and substations. Defines 57 functions or classes, including array, cleanText, layerKey, layerLabel, layerGroup. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; JSON file engine-graph.json; form fields (user input). Out: downloaded file gridatlas-; downloaded file globalgrid2050-grid-atlas-; canvas drawing. - Downstream impact: Used directly by 1 file: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/). - Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `array(value)`; `cleanText(value)`; `layerKey(input)`; `layerLabel(input)`; `layerGroup(input)`; `inventory(doc)`; `required(doc)`; `installStyle(doc)`; `syncAttribClearance(doc)`; `closeAll(focusTitle)`; `syncLayer(key)`; `syncAll()`; `clampPanel(doc, menu, panel)`; `vw(view && view.innerWidth)`; `openMenu(menu, title, panel)`; `buildBar(doc)`; `appendGroup(panel, text)`; `appendEngineModules(panel)`; `nodes(graph && graph.nodes)`; `kindLabels(graph && graph.kind_labels)`; `done(ok)`; `appendStudies(panel)`; `exportStamp()`; `attributionText(doc)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; JSON file engine-graph.json; form fields (user input)]; out [downloaded file gridatlas-; downloaded file globalgrid2050-grid-atlas-; canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 1; mentioned by 0 ### Ventus Corev8engine Deep Link Receiver - File: code-generator/apps/substation-finder/Si/202609040045-ventus-corev8engine-deep-link-receiver.js (JavaScript, 1460 lines) · role geodesy · stage output - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Si/202609040045-ventus-corev8engine-deep-link-receiver.js#L1-L1460 - Page: https://code.globalgrid2050.com/explore-code/s/0273.html#f1 - Published at: https://ventusltd.github.io/code-generator/apps/substation-finder/Si/ - Synopsis: A JavaScript file in the substation finder folder of Code Generator that maps elizabeth line, london underground, UK metros trams and HS2, using haversine. Served with the page at https://ventusltd.github.io/code-generator/apps/substation-finder/Si/. - What it achieves (code): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). It reads `/uk_renewables_pipeline/v9/data/v9.1/build_manifest.json`. It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 58 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; JSON file build_manifest.json; GeoJSON file grid_400kv.geojson; form fields (user input). Out: interactive map. - Downstream impact: Used directly by 1 file: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/). - Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()`; `openPopup(lngLat, html, maxWidth)` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/releases/202608292311-atlas-v9/ventus-corev8engine.js) · essay_status: readme_derived - data_contracts: in [GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; JSON file build_manifest.json; GeoJSON file grid_400kv.geojson; form fields (user input)]; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Substation Intelligence - File: code-generator/apps/substation-finder/Si/202609060537-substation-intelligence.js (JavaScript, 5427 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Si/202609060537-substation-intelligence.js#L1-L5427 - Page: https://code.globalgrid2050.com/explore-code/s/0275.html#f2 - Published at: https://ventusltd.github.io/code-generator/apps/substation-finder/Si/ - Synopsis: A JavaScript file in the substation finder folder of Code Generator that maps elizabeth line and uses data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/code-generator/apps/substation-finder/Si/. - What it achieves (code): It restores layers (`restoreLayers`), saves outline (`saveOutline`) and reads outline (`readOutline`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). Its code works with 400 kV and 100 MVA. It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 232 functions or classes, including close, open, dockLayers, restoreLayers, show. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json. Out: CSV file gridatlas-polygon-vertices.csv; downloaded file gridatlas-polygon-; downloaded file gridatlas-polygon-vertices.csv; downloaded file gridatlas-; downloaded file globalgrid2050-map-; browser storage (setItem); interactive map; canvas drawing. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Signatures: `close()`; `open(map, controlId)`; `dockLayers()`; `restoreLayers()`; `show(html)`; `clearValues()`; `validOutline(points)`; `saveOutline(points)`; `readOutline()`; `clearOutline()`; `analyzeOutline(points)`; `fail(code,message)`; `orient(a,b,c)`; `on(a,b,p)`; `exportOutline(points, measurements)`; `importOutline(text)`; `createHistory(limit=80)`; `copy(points)`; `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json]; out [CSV file gridatlas-polygon-vertices.csv; downloaded file gridatlas-polygon-; downloaded file gridatlas-polygon-vertices.csv; downloaded file gridatlas-; downloaded file globalgrid2050-map-; browser storage (setItem); interactive map; canvas drawing]; crs [WGS84 / EPSG:4326]; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Substation Intelligence V9 63 - File: code-generator/apps/substation-finder/Si/202609062358-substation-intelligence-v9-63.js (JavaScript, 8590 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Si/202609062358-substation-intelligence-v9-63.js#L1-L8590 - Page: https://code.globalgrid2050.com/explore-code/s/0283.html#f1 - Published at: https://ventusltd.github.io/code-generator/apps/substation-finder/Si/ - Synopsis: A JavaScript file in the substation finder folder of Code Generator that maps elizabeth line and uses data from the ventus-grid-engine repository. Served with the page at https://ventusltd.github.io/code-generator/apps/substation-finder/Si/. - What it achieves (comment): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). ASSEMBLED by `tools/build-cartridge.mjs` from the parts below. Its code works with 400 kV, 100 MVA and 132 kV. It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 238 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 750kV, 400kV, 275kV, 132kV, 66kV, 33kV. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; data source: npm data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson. Out: downloaded file gridatlas-; downloaded file globalgrid2050-grid-atlas-; interactive map; canvas drawing; SVG drawing. Voltage levels named: 750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawEdgeDots(i)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/cartridges/202611180026-substation-intelligence-v9-63.js) · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; data source: npm data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson]; out [downloaded file gridatlas-; downloaded file globalgrid2050-grid-atlas-; interactive map; canvas drawing; SVG drawing]; crs []; voltages [750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Substation Finder — Si Page - File: code-generator/apps/substation-finder/Si/index.html (HTML, 5013 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Si/index.html#L1-L5013 - Page: https://code.globalgrid2050.com/explore-code/s/0295.html#f2 - Published at: https://ventusltd.github.io/code-generator/apps/substation-finder/Si/ - Synopsis: A map page in Code Generator that maps grid 400kV, grid 275kV, grid 220kV and grid 132kV, using haversine. Published at https://ventusltd.github.io/code-generator/apps/substation-finder/Si/. - What it achieves (code): It normalizes status (`normalizeStatus`), toggles curtain (`toggleCurtain`) and gets radius (`getRadiusValue`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). Its code works with 132 kV, 220 kV and 275 kV. It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps grid 400kV, grid 275kV, grid 220kV and grid 132kV. Defines 104 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, enterFullscreen, exitFullscreen. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Inputs & outputs: In: GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson. Out: JSON file manifest_v4.json; web page; interactive map. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/code-generator/apps/substation-finder/Si/. - Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `enterFullscreen()`; `exitFullscreen()`; `toggleCurtain()`; `getRadiusValue()`; `validateRadiusInput()`; `fmt(n, decimals)`; `updateMeasureDisplay()`; `j(i + 1)`; `updateMeasureLayers()`; `clearMeasure()`; `toggleMeasureMode()`; `updateUIState(id, state, stats)`; `class FetchQueue`; `constructor(concurrency)`; `add(task)`; `fetchWithTimeout(url, ms = 15000)`; `fetchAndParseGeoJSON(url)`; `snapLines(features, subs)`; `snapCoordinate(coord)`; `dx(coord[0] - sc[0])`; `dy(coord[1] - sc[1])`; `d(dx * dx)` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out [JSON file manifest_v4.json; web page; interactive map]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [400kV, 275kV, 220kV, 132kV, 66kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Ventus Core - File: code-generator/apps/substation-finder/Si/ventus-core.js (JavaScript, 1315 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Si/ventus-core.js#L1-L1315 - Page: https://code.globalgrid2050.com/explore-code/s/0302.html#f2 - Published at: https://ventusltd.github.io/code-generator/apps/substation-finder/Si/ - Synopsis: A JavaScript file in the substation finder folder of Code Generator that maps elizabeth line, london underground, UK metros trams and HS2, using haversine. Served with the page at https://ventusltd.github.io/code-generator/apps/substation-finder/Si/. - What it achieves (code): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 56 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; form fields (user input). Out: interactive map. Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v5 Page (globalgrid2050, https://globalgrid2050.com/repd_grid_atlasv5/). Reached from 95 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html). It is itself an entry point, published at https://ventusltd.github.io/code-generator/apps/substation-finder/Si/. - Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()`; `openPopup(lngLat, html, maxWidth)` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of code-generator/apps/substation-finder/Si/ventus-corev6engine.js) · essay_status: readme_derived - data_contracts: in [GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; form fields (user input)]; out [interactive map]; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Ventus Corev6engine - File: code-generator/apps/substation-finder/Si/ventus-corev6engine.js (JavaScript, 1341 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Si/ventus-corev6engine.js#L1-L1341 - Page: https://code.globalgrid2050.com/explore-code/s/0304.html#f2 - Published at: https://ventusltd.github.io/code-generator/apps/substation-finder/Si/ - Synopsis: A JavaScript file in the substation finder folder of Code Generator that maps elizabeth line, london underground, UK metros trams and HS2, using haversine. Served with the page at https://ventusltd.github.io/code-generator/apps/substation-finder/Si/. - What it achieves (code): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 56 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; form fields (user input). Out: interactive map. Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v6 Page (globalgrid2050, https://globalgrid2050.com/repd_grid_atlasv6/). Reached from 95 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html). It is itself an entry point, published at https://ventusltd.github.io/code-generator/apps/substation-finder/Si/. - Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()`; `openPopup(lngLat, html, maxWidth)` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; form fields (user input)]; out [interactive map]; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Ventus Corev7engine - File: code-generator/apps/substation-finder/Si/ventus-corev7engine.js (JavaScript, 1360 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Si/ventus-corev7engine.js#L1-L1360 - Page: https://code.globalgrid2050.com/explore-code/s/0306.html#f2 - Published at: https://ventusltd.github.io/code-generator/apps/substation-finder/Si/ - Synopsis: A JavaScript file in the substation finder folder of Code Generator that maps elizabeth line, london underground, UK metros trams and HS2, using haversine. Served with the page at https://ventusltd.github.io/code-generator/apps/substation-finder/Si/. - What it achieves (code): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 57 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; form fields (user input). Out: interactive map. - Downstream impact: Used directly by 2 files: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v7 Page (globalgrid2050, https://globalgrid2050.com/repd_grid_atlasv7/). Reached from 95 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html). It is itself an entry point, published at https://ventusltd.github.io/code-generator/apps/substation-finder/Si/. - Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()`; `openPopup(lngLat, html, maxWidth)` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; form fields (user input)]; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Ventus Corev8engine - File: code-generator/apps/substation-finder/Si/ventus-corev8engine.js (JavaScript, 1427 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Si/ventus-corev8engine.js#L1-L1427 - Page: https://code.globalgrid2050.com/explore-code/s/0308.html#f2 - Published at: https://ventusltd.github.io/code-generator/apps/substation-finder/Si/ - Synopsis: A JavaScript file in the substation finder folder of Code Generator that maps elizabeth line, london underground, UK metros trams and HS2, using haversine. Served with the page at https://ventusltd.github.io/code-generator/apps/substation-finder/Si/. - What it achieves (code): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). It reads `/uk_renewables_pipeline/v9/data/v9.1/build_manifest.json`. It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 58 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; JSON file build_manifest.json; form fields (user input). Out: interactive map. - Downstream impact: Used directly by 3 files: GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v8 Page (globalgrid2050, https://globalgrid2050.com/repd_grid_atlasv8/); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 501 other entry points, including Code Generator — Index Page (code-generator, https://ventusltd.github.io/code-generator/); Generate (code-generator, https://ventusltd.github.io/code-generator/); Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). It is itself an entry point, published at https://ventusltd.github.io/code-generator/apps/substation-finder/Si/. - Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()`; `openPopup(lngLat, html, maxWidth)` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/releases/202608292311-atlas-v9/ventus-corev8engine.js) · essay_status: readme_derived - data_contracts: in [GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; JSON file build_manifest.json; form fields (user input)]; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Place Postcode Search - File: code-generator/apps/substation-finder/Ug/202608301136-place-postcode-search.js (JavaScript, 506 lines) · role render · stage output - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Ug/202608301136-place-postcode-search.js#L1-L506 - Page: https://code.globalgrid2050.com/explore-code/s/0310.html#f2 - Synopsis: A JavaScript file in the substation finder folder of Code Generator that maps Renewable Energy Planning Database (REPD) projects, using SHA-256 and uses data from postcodes.io and the GridAtlas repository. - What it achieves (code): It normalises compact (`normaliseCompact`), parses groups (`parseGroups`) and verifies manifest (`verifyManifest`). Its `buildWhere` function gives SQL predicate from query text (VEDIC: query). It responds to click, input and keydown events. - What it does: It maps REPD projects, postcodes and the REPD register. Defines 25 functions or classes, including invariant, escapeHtml, sqlString, normaliseCompact, parseGroups. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register. - Inputs & outputs: In: data source: gridatlas data; data source: postcodes.io; Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; DuckDB queries. Out: interactive map. - Downstream impact: Used directly by 1 file: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/). - Signatures: `invariant(condition, message)`; `escapeHtml(value)`; `sqlString(value)`; `normaliseCompact(value)`; `parseGroups(query)`; `sha256Hex(bytes)`; `verifyManifest()`; `runtime()`; `installMapCapture()`; `construct(target, args, newTarget)`; `buildWhere(query)`; `buildScore(query)`; `rowObject(row)`; `queryOfficialRepd(query, serial = null)`; `hasSafeMapPoint(result)`; `setDeepLink(result)`; `selectResult(result)`; `geocoderGet(path, query)`; `joinParts(...parts)`; `queryUkGazetteer(query)`; `selectLocation(result)`; `renderResults(repdResults, resultsEl, locationResults = [])`; `executeSearch(input, resultsEl)`; `waitForCapturedMap(timeoutMs = 60000)`; `receiveExactRepdDeepLink(input, resultsEl)` (and 1 more) - VEDIC: QUERY (GG2050-VEDIC-000046): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_predicate - VEDIC: SCORE (GG2050-VEDIC-000047): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_sort_expression - VEDIC: UK GEOCODE (GG2050-VEDIC-000048): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> uk_location_candidates - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: postcodes.io; Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; DuckDB queries]; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### UK Gazetteer Flyto - File: code-generator/apps/substation-finder/Ug/202609051623-uk-gazetteer-flyto.js (JavaScript, 817 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Ug/202609051623-uk-gazetteer-flyto.js#L1-L817 - Page: https://code.globalgrid2050.com/explore-code/s/0311.html#f1 - Synopsis: A JavaScript file in the substation finder folder of Code Generator that maps Renewable Energy Planning Database (REPD) projects, using SHA-256 and uses data from the GridAtlas repository. - What it achieves (comment): It marks deep link cancelled (`markDeepLinkCancelled`), normalises compact (`normaliseCompact`) and parses groups (`parseGroups`). Place-global-search-v9-5. It responds to gridatlas, click and input events. - What it does: It maps REPD projects, postcodes and the REPD register. Defines 40 functions or classes, including invariant, arrivalCoordinator, markDeepLinkCancelled, invalidatePendingDeepLink, escapeHtml. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register. - Inputs & outputs: In: data source: gridatlas data; data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; DuckDB queries. Out: interactive map. - Downstream impact: Used directly by 1 file: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/). - Signatures: `invariant(condition, message)`; `arrivalCoordinator()`; `markDeepLinkCancelled(reason, epoch = null)`; `invalidatePendingDeepLink(reason)`; `escapeHtml(value)`; `sqlString(value)`; `normaliseCompact(value)`; `parseGroups(query)`; `sha256Hex(bytes)`; `verifyManifest()`; `sharedDuckDBRuntime(moduleUrl)`; `runtime()`; `resetOfficialRuntime()`; `installMapCapture()`; `construct(target, args, newTarget)`; `buildWhere(query)`; `buildScore(query)`; `rowObject(row)`; `queryOfficialRepd(query, serial = null, stillOwned = null)`; `hasSafeMapPoint(result)`; `setDeepLink(result)`; `selectResult(result, options = {})`; `geocoderGet(path, query)`; `joinParts(...parts)`; `queryUkGazetteer(query)` (and 15 more) - VEDIC: QUERY (GG2050-VEDIC-000046): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_predicate - VEDIC: SCORE (GG2050-VEDIC-000047): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_sort_expression - VEDIC: UK GEOCODE (GG2050-VEDIC-000048): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> uk_location_candidates - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; DuckDB queries]; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### V9 Parquet Fetch Bridge - File: code-generator/apps/substation-finder/Ug/v9-parquet-fetch-bridge.js (JavaScript, 164 lines) · role render · stage output - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Ug/v9-parquet-fetch-bridge.js#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/0312.html#f2 - Synopsis: A JavaScript file in the substation finder folder of Code Generator that reads Renewable Energy Planning Database (REPD) master and heavy emitters UK, using SHA-256 from the data-GridAtlas repository. - What it achieves (name): It gets manifest (`getManifest`), gets runtime (`getRuntime`) and resolves partition (`resolvePartition`). Defines `invariant`, `sha256Hex`, `getManifest` and 8 more. - What it does: It loads REPD master and heavy emitters UK. Defines 11 functions or classes, including invariant, sha256Hex, getManifest, getRuntime, requestPath. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: data-gridatlas data; JSON file repd_master.json; JSON file heavy_emitters_uk.json; DuckDB queries. - Downstream impact: Used directly by 1 file: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/). - Signatures: `invariant(condition, message)`; `sha256Hex(bytes)`; `getManifest()`; `getRuntime()`; `requestPath(input)`; `legacyStem(pathname)`; `shouldIntercept(pathname)`; `resolvePartition(pathname)`; `artifact(manifest.artifacts || [])`; `rowObject(row)`; `querySource(pathname)`; `task()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: data-gridatlas data; JSON file repd_master.json; JSON file heavy_emitters_uk.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Nearest Search - File: code-generator/apps/substation-finder/Vn/nearest-search.mjs (JavaScript, 90 lines) · role render · stage output - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Vn/nearest-search.mjs#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/0312.html#f3 - Synopsis: A JavaScript module in the substation finder folder of Code Generator covering substations. It is built from the normalise step (`normalise`) and the index step (`index`). - What it achieves (comment): Module: nearest-search (substation-lookup). - What it does: It lists and searches substations. Defines normalise, index. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 400kV, 275kV, 132kV, 66kV, 33kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Downstream impact: Used directly by 1 file: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/). - Signatures: `export normalise(name)`; `export index(points)`; `minimumKv(options && options.minimumKv)`; `limit(options && options.limit)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### V9 Nearest Search - File: code-generator/apps/substation-finder/Vn/v9-nearest-search.js (JavaScript, 90 lines) · role render · stage output - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/Vn/v9-nearest-search.js#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/0312.html#f4 - Synopsis: A JavaScript module in the substation finder folder of Code Generator covering substations. It is built from the normalise step (`normalise`) and the index step (`index`). - What it achieves (comment): Module: nearest-search (substation-lookup). - What it does: It lists and searches substations. Defines normalise, index. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 400kV, 275kV, 132kV, 66kV, 33kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Downstream impact: Used directly by 5 files: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Compute Observer Proof (ventus-grid-engine); V9 Engine Proof (ventus-grid-engine); and 1 more. Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `export normalise(name)`; `export index(points)`; `minimumKv(options && options.minimumKv)`; `limit(options && options.limit)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Code Generator — Substation Finder Page - File: code-generator/apps/substation-finder/index.html (HTML, 112 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/substation-finder/index.html#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0312.html#f5 - Published at: https://ventusltd.github.io/code-generator/apps/substation-finder/ - Synopsis: A web page that draws parts, substations, postcodes and the Renewable Energy Planning Database (REPD) register. Published at https://ventusltd.github.io/code-generator/apps/substation-finder/. It applies inputs (`applyInputs`), loads one (`loadOne`) and loads lib (`loadLib`). - What it achieves (comment): Substation finder on a map. It responds to error and unhandledrejection events. - What it does: It draws parts, substations, postcodes and the REPD register. Defines $, note, applyInputs, loadOne, loadLib. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, postcodes, the REPD register. - Inputs & outputs: In: JSON file parts.json; JSON file substation-finder-1.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/code-generator/apps/substation-finder/. - Signatures: `$(s)`; `note(file, cls, text)`; `applyInputs()`; `loadOne(f)`; `loadLib(url)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file parts.json; JSON file substation-finder-1.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 21 estate files (link 21); used by 0; mentioned by 0 ### Feeder 47 - File: cosmic/tools/explore/bigbang/rules/FEEDER-47.py (Python, 656 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/bigbang/rules/FEEDER-47.py#L1-L656 - Page: https://code.globalgrid2050.com/explore-code/s/0313.html#f1 - Synopsis: A Python module in the rules folder of Cosmic that works with cables, battery storage (BESS) and transformers, using IEC 60287 and IEC 60853. - What it achieves (comment): It is built from the translate step (`translate`). Big Bang player: ENGINEERING DOMAIN rules (owner: FEEDER-47, rule-set player). Its code works with 400 kV, 1 kV and 1.1 kV. - What it does: It calculates cables, battery storage (BESS), transformers and the REPD register. Defines 23 functions or classes, including _words, _in_src, _main_functions, _code_only, _gloss_generic. Uses libraries json, os, re, sys. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables, battery storage (BESS), transformers, the REPD register, 525kV, 400kV. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326, Web Mercator / EPSG:3857, ETRS89 / EPSG:4258. Voltage levels named: 525kV, 400kV, 320kV, 275kV, 220kV, 132kV, 110kV, 66kV. - Signatures: `_words(name)`; `_in_src(term, src_l_nospace)`; `_main_functions(rec, src, n=6)`; `_code_only(src)`; `_gloss_generic(name)`; `_gloss_engineering(name, hits)`; `_detect(src, defines)`; `_voltages(src)`; `kv(x)`; `_units(src)`; `_term(v, src_ns)`; `_without_missing_term(phrase, v, src_ns)`; `_join(xs)`; `_folder_words(rec)`; `_repo_name(rec)`; `_evidence(rec, src)`; `_bad(text, evidence)`; `_cap(s)`; `_dedupe(s)`; `_clean_sentence(c, evidence)`; `_readme_sentence(rec, evidence)`; `_header_sentence(rec, evidence)`; `translate(rec, src)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326; Web Mercator / EPSG:3857; ETRS89 / EPSG:4258]; voltages [525kV, 400kV, 320kV, 275kV, 220kV, 132kV, 110kV, 66kV] - Edges: uses 1 estate file (sys-path 1); used by 0; mentioned by 0 ### Test Feeder 47 - File: cosmic/tools/explore/bigbang/rules/test_FEEDER-47.py (Python, 41 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/bigbang/rules/test_FEEDER-47.py#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0313.html#f2 - Synopsis: A test in the rules folder of Cosmic covering 33kV and cables, using IEC 60287 and haversine. - What it achieves (comment): Tests for the FEEDER-47 engineering-domain player. Its code works with 33 kV. - What it does: It tests 33kV and cables. Defines _rec, test_iec60287_and_voltage, test_haversine_structure_without_word, test_no_invented_source_or_banned_words. Uses libraries importlib.util, os. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV, cables. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `_rec(**kw)`; `test_iec60287_and_voltage()`; `test_haversine_structure_without_word()`; `test_no_invented_source_or_banned_words()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Pilot UKPN - File: cosmic/tools/explore/theme/pilot-ukpn.css (CSS, 30 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-ukpn.css#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/0314.html#f1 - Synopsis: A style sheet in the theme folder of Cosmic. - What it achieves (comment): Pilot module W04 (TAPCHANGER-58): UKPN secondary substations panel + card. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'ukpn'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot UKPN - File: cosmic/tools/explore/theme/pilot-ukpn.js (JavaScript, 543 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-ukpn.js#L1-L543 - Page: https://code.globalgrid2050.com/explore-code/s/0314.html#f2 - Synopsis: A JavaScript file in the theme folder of Cosmic that maps transformers and substations, using SHA-256, and uses data from UK Power Networks open data and the data-grid-GB repository. - What it achieves (comment): It loads main (`loadMain`), shows card (`showCard`) and refreshes near (`refreshNear`). Pilot module W04 (TAPCHANGER-58): UK Power Networks secondary substations + instant jump list. It responds to click, input and submit events. - What it does: It maps transformers and substations. Defines 44 functions or classes, including kernel, hex, scalar, normalize, unpack. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'ukpn'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, substations. - Inputs & outputs: In: data source: UK Power Networks open data; data source: data-grid-gb data; DuckDB queries. - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - Signatures: `kernel(G)`; `hex(buf)`; `scalar(v)`; `normalize(raw)`; `unpack(bytes)`; `verify(bytes, sha)`; `acquire(url, sha)`; `index(lat, lon, n, cell)`; `pack(r, cell)`; `workerSource()`; `adopt(o)`; `byId(id)`; `loadMain()`; `load()`; `details(id)`; `hav(a1, o1, a2, o2)`; `brg(a1, o1, a2, o2)`; `near(lat, lon, n, maxM, filter)`; `cells(b, maxCells)`; `search(q, dnoFilter, limit)`; `fmtN(n)`; `fmtD(m)`; `compass(b)`; `site(i)`; `creditHTML()` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: UK Power Networks open data; data source: data-grid-gb data; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Distribution Network Operator (DNO) Ecr - File: data-grid-gb/datacentres/fetchers/dno_ecr.py (Python, 20 lines) · role energy-data · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/fetchers/dno_ecr.py#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0314.html#f3 - Synopsis: A Python module in the fetchers folder of Data Grid GB. It is built from the raw requests helper (`raw_requests`) and the normalise step (`normalise`). - What it achieves (comment): DNO embedded capacity registers (demand >= 1MW where published). Its code works with 1 MW. - What it does: It calculates its inputs. Defines raw_requests, normalise. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentres'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `raw_requests()`; `normalise(raw)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Distribution Network Operator (DNO) Fetch - File: data-grid-gb/datacentres/lanes/dc-a5-dno/dno_fetch.py (Python, 416 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/lanes/dc-a5-dno/dno_fetch.py#L1-L416 - Page: https://code.globalgrid2050.com/explore-code/s/0315.html#f1 - Synopsis: A Python command-line tool in the lanes folder of Data Grid GB that fetches SSEN ecr part 1MW august, using SHA-256 and Helmert from SSEN. - What it achieves (comment): It parses CSV bytes (`parse_csv_bytes`) and is built from the dc hits helper (`dc_hits`) and the OSGB to WGS84 helper (`osgb_to_wgs84`). DC-A5: DNO open-data fetcher for demand / data-centre evidence (standard library only). Its code works with 50 kW. It accepts `--out`, `--verify` and `--include-gated`. - What it does: It fetches SSEN ecr part 1MW august, SSEN ecr part 50kW august, embedded capacity register attributes and cdpdata nged connections reform register. Defines 13 functions or classes, including dc_hits, osgb_to_wgs84, _num, _pick, row_point. Uses libraries argparse, csv, hashlib, io, json. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: SSEN; data source: UK Power Networks open data; CSV file ssen_ecr_part_1_1mw_august_2026_csv.csv; CSV file ssen_ecr_part_1_50kw_august_2026_csv.csv; CSV file embedded-capacity-register-attributes.csv; CSV file 251212_cdpdata_nged-connections-reform-register.csv; CSV file clearviewconnect_connection_pipeline_data_2025_05.csv; GeoJSON file dno_ecr_dc_candidates.geojson. Out: JSON file. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `dc_hits(row)`; `osgb_to_wgs84(E, N)`; `_num(v)`; `_pick(row, *needles)`; `row_point(row)`; `http_get(url, headers=None, timeout=90)`; `resolve(src)`; `safe_name(s)`; `parse_csv_bytes(b)`; `process(src, files, outdir)`; `run(args)`; `selftest()`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: SSEN; data source: UK Power Networks open data; CSV file ssen_ecr_part_1_1mw_august_2026_csv.csv; CSV file ssen_ecr_part_1_50kw_august_2026_csv.csv; CSV file embedded-capacity-register-attributes.csv; CSV file 251212_cdpdata_nged-connections-reform-register.csv; CSV file clearviewconnect_connection_pipeline_data_2025_05.csv; GeoJSON file dno_ecr_dc_candidates.geojson]; out [JSON file]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Network Model - File: data-grid-gb/pipelines/build_network_model.py (Python, 375 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/pipelines/build_network_model.py#L1-L375 - Page: https://code.globalgrid2050.com/explore-code/s/0316.html#f1 - Synopsis: A Python command-line tool in the pipelines folder of Data Grid GB that works with rows after header (`rows_after_header`) and branch rows (`branch_rows`) (units: kV, MVA, MVAr). - What it achieves (comment): It is built from the cells step (`cells`), the is header helper (`is_header`) and the number step (`number`). Parse Electricity Ten Year Statement (ETYS) Appendix B and D into one clean network model. Its code works with 100 MVA, 132 kV and 275 kV. - What it does: It lists and searches GB transmission network, transformers and interconnectors. Defines 7 functions or classes, including cells, is_header, rows_after_header, number, text. Uses libraries io, json, os, re, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV, 275kV, 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, interconnectors, 400kV, 275kV, 132kV. - Inputs & outputs: In: JSON file gb-transmission-network.v1.json. Voltage levels named: 400kV, 275kV, 132kV. - Downstream impact: Used directly by 1 file: Refresh Network Products Workflow (data-grid-gb). - Signatures: `cells(worksheet, min_row=1)`; `is_header(row)`; `rows_after_header(worksheet)`; `number(value)`; `text(value)`; `main()`; `branch_rows(sheet, kind, with_year=False, lead_labels=0)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file gb-transmission-network.v1.json]; out []; crs []; voltages [400kV, 275kV, 132kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Fetch - File: data-grid-gb/ssen-substations/fetch.py (Python, 167 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/ssen-substations/fetch.py#L1-L167 - Page: https://code.globalgrid2050.com/explore-code/s/0316.html#f2 - Synopsis: A Python command-line tool in the SSEN substations folder of Data Grid GB that fetches SSEN substations, using SHA-256 from SSEN. - What it achieves (comment): It is built from the request step (`request`), the metadata step (`metadata`) and the sha step (`sha`). Retrieve official SSEN CKAN resource without authentication; fail closed. It accepts `--output`. - What it does: It fetches SSEN substations. Defines request, metadata, sha, main. Uses libraries argparse, csv, datetime, hashlib, json. Side effects: reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'ssen'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: SSEN; Parquet file ssen_substations.parquet; DuckDB queries; command-line arguments. Out: Parquet file. - Downstream impact: Used directly by 1 file: SSEN Substations Workflow (data-grid-gb). - Signatures: `request(action, **params)`; `metadata()`; `sha(path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: SSEN; Parquet file ssen_substations.parquet; DuckDB queries; command-line arguments]; out [Parquet file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Interconnectors - File: data-interconnectors/pipelines/build_interconnectors.py (Python, 609 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/data-interconnectors/blob/2bd00d9610f24d02ba00e341216cab162b3e821b/pipelines/build_interconnectors.py#L1-L609 - Page: https://code.globalgrid2050.com/explore-code/s/0317.html#f1 - Synopsis: A Python command-line tool in the pipelines folder of Data Interconnectors that fetches monthly by link direction and annual by link direction from Elexon Balancing Mechanism Reporting Service (BMRS). - What it achieves (name): It parses time (`parse_time`) and parses float (`parse_float`). Its name says it builds interconnectors. Defines `utcnow`, `parse_month`, `month_start` and 22 more. It reads `monthly_by_link_direction.parquet`. It accepts `--start`, `--end` and `--timeout`. - What it does: It fetches monthly by link direction, annual by link direction, interconnector build and interconnectors. Defines 26 functions or classes, including utcnow, parse_month, month_start, next_month, month_iter. Uses libraries __future__, argparse, datetime, json, math. Side effects: reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnectors'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: data source: Elexon BMRS; Parquet file data_0.parquet; Parquet file monthly_by_link_direction.parquet; Parquet file annual_by_link_direction.parquet; DuckDB queries; command-line arguments. Out: Parquet file monthly_by_link_direction.parquet; Parquet file annual_by_link_direction.parquet; JSON file INTERCONNECTOR_BUILD_LATEST.json. - Downstream impact: Used directly by 2 files: Monthly Update Interconnectors (data-interconnectors); Gridbot UK Interconnector Build Workflow (data-interconnectors). - Signatures: `utcnow()`; `parse_month(value: str)`; `month_start(year: int, month: int)`; `next_month(year: int, month: int)`; `month_iter(start: str, end: str)`; `latest_complete_month()`; `iso_z(value: dt.datetime)`; `api_rows(payload: Any)`; `pick(row: dict[str, Any], keys: list[str])`; `parse_time(value: Any)`; `parse_float(value: Any)`; `fetch_month(year: int, month: int, timeout: int)`; `infer_interval(items: list[dict[str, Any]], index: int)`; `normalise_month(year: int, month: int, raw_rows: list[dict[str, Any]])`; `write_month(rows: list[dict[str, Any]], year: int, month: int)`; `parquet_path()`; `build_rollups()`; `verify_output(latest_month: str)`; `number(value: Any)`; `extract_year_month(row: dict[str, Any])`; `monolith_monthly_map(monolith_dir: Path)`; `fresh_monthly_map()`; `reconcile(monolith_dir: Path)`; `write_reports(report: dict[str, Any])`; `update_changelog(report: dict[str, Any])` (and 1 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; Parquet file data_0.parquet; Parquet file monthly_by_link_direction.parquet; Parquet file annual_by_link_direction.parquet; DuckDB queries; command-line arguments]; out [Parquet file monthly_by_link_direction.parquet; Parquet file annual_by_link_direction.parquet; JSON file INTERCONNECTOR_BUILD_LATEST.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Monthly Update Interconnectors - File: data-interconnectors/pipelines/monthly_update_interconnectors.py (Python, 129 lines) · role energy-data · stage ingest · entry point - Source: https://github.com/Ventusltd/data-interconnectors/blob/2bd00d9610f24d02ba00e341216cab162b3e821b/pipelines/monthly_update_interconnectors.py#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/0318.html#f1 - Synopsis: A Python command-line tool in the pipelines folder of Data Interconnectors that reads interconnectors. It resolves month range (`resolve_month_range`). - What it achieves (name): Defines `month_text`, `shift_month`, `existing_flow_files` and 1 more. It accepts `--start`, `--end` and `--refetch-months`. - What it does: It loads interconnectors. Defines month_text, shift_month, existing_flow_files, resolve_month_range, main. Uses libraries __future__, argparse, json, pathlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnectors'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Gridbot UK Interconnector Build Workflow (data-interconnectors). - Signatures: `month_text(year: int, month: int)`; `shift_month(year: int, month: int, offset: int)`; `existing_flow_files()`; `resolve_month_range(start: str, end: str, refetch_months: int, bootstrap_start: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Data UK Distribution Network Operator (DNO) and Transmission System Operator (TSO) — Index Page - File: data_uk_dno_and_tso/index.html (HTML, 320 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/data_uk_dno_and_tso/blob/0f012179c2271a7d3bbb06a91af915d23bd9396b/index.html#L1-L320 - Page: https://code.globalgrid2050.com/explore-code/s/0318.html#f2 - Synopsis: A web page in Data UK DNO And TSO that draws MPAN distributor, sources, operators schema and transmission ownership. - What it achieves (comment): Canonical public-data spine for UK and Ireland electricity network operators, DNO licence areas, transmission owners, National Energy System Operator (NESO), regulators and government public energy datasets. - What it does: It draws mpan distributor, sources, operators schema and transmission ownership. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'dno'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file mpan_distributor.csv; JSON file sources.json; CSV file operators.csv; CSV file transmission_ownership.csv; CSV file department_lineage.csv; JSON file operators.schema.json; DuckDB queries. Out: web page. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [CSV file mpan_distributor.csv; JSON file sources.json; CSV file operators.csv; CSV file transmission_ownership.csv; CSV file department_lineage.csv; JSON file operators.schema.json; DuckDB queries]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Declared - File: data_uk_dno_and_tso/scripts/build_declared.py (Python, 38 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data_uk_dno_and_tso/blob/0f012179c2271a7d3bbb06a91af915d23bd9396b/scripts/build_declared.py#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0318.html#f3 - Synopsis: A Python command-line tool in the scripts folder of Data UK DNO And TSO that reads CSV (`read_csv`). - What it achieves (name): Its name says it builds declared. Defines `read_csv` and `write_json`. - What it does: It loads data. Defines read_csv, write_json, main. Uses libraries __future__, csv, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'dno'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Audit Workflow (data_uk_dno_and_tso). - Signatures: `read_csv(path: Path)`; `write_json(name: str, rows: list[dict[str, str]])`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Fetch CKAN Catalogue - File: data_uk_dno_and_tso/scripts/fetch_ckan_catalogue.py (Python, 71 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data_uk_dno_and_tso/blob/0f012179c2271a7d3bbb06a91af915d23bd9396b/scripts/fetch_ckan_catalogue.py#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/0318.html#f4 - Synopsis: A Python command-line tool in the scripts folder of Data UK DNO And TSO that reads sources, using SHA-256. - What it achieves (name): Its name says it fetches CKAN catalogue. Defines `load_sources` and `portal_base_from_action_url`. - What it does: It loads sources. Defines load_sources, portal_base_from_action_url, main. Uses libraries __future__, argparse, json, pathlib, urllib.parse. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'dno'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file sources.json; JSON file catalogue.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `load_sources()`; `portal_base_from_action_url(url: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file sources.json; JSON file catalogue.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Fetch NESO Distribution Network Operator (DNO) Boundaries - File: data_uk_dno_and_tso/scripts/fetch_neso_dno_boundaries.py (Python, 14 lines) · role energy-data · stage transform · entry point - Source: https://github.com/Ventusltd/data_uk_dno_and_tso/blob/0f012179c2271a7d3bbb06a91af915d23bd9396b/scripts/fetch_neso_dno_boundaries.py#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0318.html#f5 - Synopsis: A Python command-line tool in the scripts folder of Data UK DNO And TSO that uses EPSG:27700 and EPSG:4326. - What it achieves (name): Its name says it fetches NESO DNO boundaries. - What it does: It calculates its inputs. Defines main. Uses libraries __future__. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'dno'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Ods Catalogue - File: data_uk_dno_and_tso/scripts/fetch_ods_catalogue.py (Python, 69 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data_uk_dno_and_tso/blob/0f012179c2271a7d3bbb06a91af915d23bd9396b/scripts/fetch_ods_catalogue.py#L1-L69 - Page: https://code.globalgrid2050.com/explore-code/s/0318.html#f6 - Synopsis: A Python command-line tool in the scripts folder of Data UK DNO And TSO that reads sources, using SHA-256. - What it achieves (name): Its name says it fetches ods catalogue. Defines `load_sources` and `portal_base_from_catalogue_url`. It accepts `--limit`. - What it does: It loads sources. Defines load_sources, portal_base_from_catalogue_url, main. Uses libraries __future__, argparse, json, pathlib, urllib.parse. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'dno'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file sources.json; JSON file catalogue.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `load_sources()`; `portal_base_from_catalogue_url(url: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file sources.json; JSON file catalogue.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Audit - File: data_uk_dno_and_tso/scripts/lib/audit.py (Python, 26 lines) · role storage · stage output - Source: https://github.com/Ventusltd/data_uk_dno_and_tso/blob/0f012179c2271a7d3bbb06a91af915d23bd9396b/scripts/lib/audit.py#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/0318.html#f7 - Synopsis: A Python module in the scripts folder of Data UK DNO And TSO that writes receipts (`write_receipts`). - What it achieves (name): Defines `utc_now` and `write_receipts`. - What it does: Defines utc_now, write_receipts. Uses libraries __future__, json, datetime, pathlib, typing. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'dno'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 3 files: Build Declared (data_uk_dno_and_tso); Fetch CKAN Catalogue (data_uk_dno_and_tso); Fetch Ods Catalogue (data_uk_dno_and_tso). Reached from 1 other entry point, including Audit Workflow (data_uk_dno_and_tso). - Signatures: `utc_now()`; `write_receipts(run_name: str, payload: dict[str, Any])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### CKAN - File: data_uk_dno_and_tso/scripts/lib/ckan.py (Python, 43 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/data_uk_dno_and_tso/blob/0f012179c2271a7d3bbb06a91af915d23bd9396b/scripts/lib/ckan.py#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/0319.html#f1 - Synopsis: A Python module in the scripts folder of Data UK DNO And TSO that gets action (`get_action`). It is built from the CKAN portal class (`CKANPortal`). - What it achieves (name): Defines `CKANPortal`, `action_base`, `action_url` and 1 more. - What it does: It fetches data. Defines CKANPortal, action_base, _headers, action_url, get_action. Uses libraries __future__, json, os, time, urllib.parse. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'dno'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Fetch CKAN Catalogue (data_uk_dno_and_tso). - Signatures: `class CKANPortal`; `action_base(self)`; `_headers(api_key_env: str | None)`; `action_url(portal: CKANPortal, action: str, **params: str)`; `get_action(portal: CKANPortal, action: str, **params: str)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Hashing - File: data_uk_dno_and_tso/scripts/lib/hashing.py (Python, 13 lines) · role other · stage ingest - Source: https://github.com/Ventusltd/data_uk_dno_and_tso/blob/0f012179c2271a7d3bbb06a91af915d23bd9396b/scripts/lib/hashing.py#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/0319.html#f2 - Synopsis: A Python module in the scripts folder of Data UK DNO And TSO that works with sha256 file (`sha256_file`), using SHA-256. - What it achieves (name): Defines `sha256_file`. - What it does: Defines sha256_file. Uses libraries __future__, hashlib, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'dno'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 3 files: Build Declared (data_uk_dno_and_tso); Fetch CKAN Catalogue (data_uk_dno_and_tso); Fetch Ods Catalogue (data_uk_dno_and_tso). Reached from 1 other entry point, including Audit Workflow (data_uk_dno_and_tso). - Signatures: `sha256_file(path: str | Path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Opendatasoft - File: data_uk_dno_and_tso/scripts/lib/opendatasoft.py (Python, 56 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/data_uk_dno_and_tso/blob/0f012179c2271a7d3bbb06a91af915d23bd9396b/scripts/lib/opendatasoft.py#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/0319.html#f3 - Synopsis: A Python module in the scripts folder of Data UK DNO And TSO that lists datasets (`list_datasets`) and exports URL (`export_url`). - What it achieves (name): It is built from the ods portal class (`ODSPortal`) and the records URL helper (`records_url`). Defines `ODSPortal`, `api_base`, `get_json` and 3 more. - What it does: It fetches data. Defines 7 functions or classes, including ODSPortal, api_base, _headers, get_json, list_datasets. Uses libraries __future__, json, os, urllib.parse, urllib.request. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'dno'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Fetch Ods Catalogue (data_uk_dno_and_tso). - Signatures: `class ODSPortal`; `api_base(self)`; `_headers(api_key_env: str | None)`; `get_json(url: str, headers: dict[str, str])`; `list_datasets(portal: ODSPortal, limit: int = 100)`; `records_url(portal: ODSPortal, dataset_id: str, *, limit: int = 10, offset: int = 0)`; `export_url(portal: ODSPortal, dataset_id: str, fmt: str = "json")` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Validate Declared - File: data_uk_dno_and_tso/scripts/validate_declared.py (Python, 39 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/data_uk_dno_and_tso/blob/0f012179c2271a7d3bbb06a91af915d23bd9396b/scripts/validate_declared.py#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0319.html#f4 - Synopsis: A Python command-line tool in the scripts folder of Data UK DNO And TSO that validates CSV (`validate_csv`). - What it achieves (name): Its name says it validates declared. Defines `validate_csv`. - What it does: Defines validate_csv, main. Uses libraries __future__, csv, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'dno'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Audit Workflow (data_uk_dno_and_tso). - Signatures: `validate_csv(path: Path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Validate Schema Drift - File: data_uk_dno_and_tso/scripts/validate_schema_drift.py (Python, 41 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/data_uk_dno_and_tso/blob/0f012179c2271a7d3bbb06a91af915d23bd9396b/scripts/validate_schema_drift.py#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0319.html#f5 - Synopsis: A Python command-line tool in the scripts folder of Data UK DNO And TSO that works with required columns (`required_columns`) and header columns (`header_columns`). - What it achieves (name): Its name says it validates schema drift. Defines `required_columns` and `header_columns`. - What it does: It loads data. Defines required_columns, header_columns, main. Uses libraries __future__, argparse, csv, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'dno'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Audit Workflow (data_uk_dno_and_tso). - Signatures: `required_columns(schema_path: Path)`; `header_columns(csv_path: Path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### MV Network - File: energy-transition-simulator/prototype/mod/engine/mv-network.mjs (JavaScript, 127 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/mv-network.mjs#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/0319.html#f6 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that reads routes (`readRoutes`) (units: kV, MVA), covering cables and transformers. It reads routes (`readRoutes`) and places network (`placeNetwork`). - What it achieves (comment): The medium-voltage network from the stations to the grid, as equipment outlines with solids and cable routes, placed on the ground by the user. - What it does: Defines 9 functions or classes, including equipmentSolids, box, solidLines, readRoutes, pt. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, transformers. - Downstream impact: Used directly by 1 file: Block Build (energy-transition-simulator). - Signatures: `export equipmentSolids(kind, at = [0, 0, 0], heading = 0, id = kind)`; `export solidLines(solids)`; `export readRoutes(json)`; `export drawingToGround({ at = [0, 0], metresPerUnit = 1, heading = 0, yDown = false } = {})`; `export placeNetwork(diagram, { routes = null, at = [0, 0], heading = 0, metresPerUnit = 1, spacing = 40, groundAt = () => 0 } = {})`; `export cableLines(cables, kind = null)`; `box(part, min, max)`; `pt(p)`; `links(json.links || [])`; `kindOf(n)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/mv-network.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 1 ### Plant Feeders - File: energy-transition-simulator/prototype/mod/engine/plant-feeders.mjs (JavaScript, 142 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/plant-feeders.mjs#L1-L142 - Page: https://code.globalgrid2050.com/explore-code/s/0319.html#f7 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables, 33kV and A roads, using IEC 60287. - What it achieves (comment): It routes feeders (`routeFeeders`) and is built from the to spine helper (`toSpine`) and the road path helper (`roadPath`). The 33kV feeders of a laid-out plant, routed along its roads, with their trenches and cables. Its code works with 33 kV. - What it does: It calculates cables, 33kV and A roads. Defines 11 functions or classes, including toSpine, roadPath, side, coverage, trenchFor. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, 33kV, A roads. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 3 files: Block MV (energy-transition-simulator); Cmd Model (energy-transition-simulator); Plant Layout (energy-transition-simulator). - Signatures: `export roadPath(A, B, net)`; `export coverage(intervals)`; `export trenchFor(c, L, into)`; `export routeFeeders(tpl, net, p)`; `export trenchRows(e, fmt = v => v.toFixed(2))`; `toSpine(pt, net)`; `side(pt)`; `onRoad(s)`; `add(key, a, b)`; `dropOf(hops)`; `k(m)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/plant-feeders.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 2 estate files (import 2); used by 3; mentioned by 1 ### Single-Line Diagram (SLD) Connect - File: energy-transition-simulator/prototype/mod/engine/sld-connect.mjs (JavaScript, 57 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/sld-connect.mjs#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0319.html#f8 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables, substations, overhead lines (OHL) and 132kV. - What it achieves (comment): It is built from the nearest step (`nearest`), the kV for MW helper (`kvForMW`) and the choose connection helper (`chooseConnection`). Which grid connection a plant gets, from its size and what is near it. Its code works with 132 kV, 400 kV and 275 kV. - What it does: It calculates cables, substations, overhead lines (OHL) and 132kV. Defines nearest, km, kvForMW, chooseConnection. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, substations, overhead lines (OHL), 132kV, 400kV, 275kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 33kV. - Downstream impact: Used directly by 2 files: Cmd Trench (energy-transition-simulator); Connect Here (energy-transition-simulator). - Signatures: `export kvForMW(mw, { minKv = 0, rules = {} } = {})`; `export chooseConnection({ mw, at, subs = [], towers = [], kv: fixed = null, minKv = 0, rules = {} })`; `nearest(list, at, ok)`; `km(m)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271552-site-world/world/sld-connect.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 33kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Single-Line Diagram (SLD) Rules - File: energy-transition-simulator/prototype/mod/engine/sld-rules.mjs (JavaScript, 95 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/sld-rules.mjs#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/0319.html#f9 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables, transformers and battery storage (BESS), using IEC 60502-2 and BS 7671. - What it achieves (comment): It groups factor (`groupFactor`) and is built from the economic size helper (`economicSize`) and the cost step (`cost`). The generic electrical rules the single-line diagram generator shares (`sld-plant.mjs`, `block-mv.mjs`, `sld-graph.mjs`): group factors for circuits sharing a trench, an economic step on top of the technical cable size, the switching and protection devices of each functional way. Its code works with 33 kV. - What it does: It calculates cables, transformers and battery storage (BESS). Defines groupFactor, economicSize, cost, isolationChecks, zOf. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, transformers, battery storage (BESS), 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Block MV (energy-transition-simulator). - Signatures: `export groupFactor(n)`; `export economicSize(area, mva, lengthM, opts = {})`; `export isolationChecks(at = INVERTER_ISOLATION)`; `export zOf(mag, xr)`; `pw(1 - (1 + e.rate) ** -e.years)`; `cost(a)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/sld-rules.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Substations - File: energy-transition-simulator/prototype/mod/substations.js (JavaScript, 198 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/substations.js#L1-L198 - Page: https://code.globalgrid2050.com/explore-code/s/0320.html#f1 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that draws grid substations and substations footprints odbl, and uses data from the GridAtlas repository. - What it achieves (comment): It labels block (`labelBlock`) and syncs btn (`syncBtn`). Substations as 3D wireframe compounds, in real coordinates (plain script; attaches to window.SIM). It responds to keydown and keyup events. - What it does: It draws grid substations and substations footprints odbl. Defines 25 functions or classes, including ecef, PFm, localFn, kvList, load. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: gridatlas data; GeoJSON file grid_substations.geojson; JSON file substations-footprints.odbl.json. Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `here(document.currentScript && document.currentScript.src)`; `ecef(lat, lon)`; `PFm()`; `localFn(lat0, lon0)`; `kvList(v)`; `load()`; `seg(L, a, b, za, zb)`; `box(L, cx, cy, ux, uy, hw, hd, h)`; `fence(L, ring, dashed)`; `frameOf(ring)`; `place(b)`; `EST_HALF(kv)`; `label(L, text, cx, cy, z0, size, bearing)`; `kvText(kv)`; `compound(s)`; `labelBlock(s, c, bearing)`; `dist(a, b)`; `nearby(c, r, want)`; `refresh(force)`; `go(kv)`; `command(text)`; `syncBtn()`; `ui()`; `toggle()`; `check()` (and 1 more) - domain_stage: experimental · commercial_user: ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; GeoJSON file grid_substations.geojson; JSON file substations-footprints.odbl.json]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Cells - File: faraday/apparatus/cells.mjs (JavaScript, 125 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/apparatus/cells.mjs#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/0320.html#f2 - Synopsis: A JavaScript module in the apparatus folder of Faraday that works with half adder (`halfAdder`). - What it achieves (comment): It resets keys (`resetKeys`) and is built from the place step (`place`) and the input on helper (`inputOn`). The apparatus for experiments 16 to 19: can the dots compute? - What it does: Defines 16 functions or classes, including place, inputOn, compile, state, read. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 3 files: Cells Test (faraday); E099 (faraday); Faraday — Experiments (faraday). - Signatures: `export place(key)`; `export compile(program)`; `export state(rules, schedule, key, t, cache)`; `export read(rules, schedule, keys, t, useCache = true)`; `export settles(rules, schedule, keys, limit = 200, hold = 8)`; `export resetKeys(from = 0)`; `export halfAdder()`; `export adder4()`; `export latch()`; `inputOn(schedule, name, t)`; `out(a && b)`; `fresh()`; `nand(p, a, b)`; `not(p, a)`; `and(p, a, b)`; `or(p, a, b)`; `xor(p, a, b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 1 ### Cells Test - File: faraday/apparatus/cells.test.mjs (JavaScript, 121 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/apparatus/cells.test.mjs#L1-L121 - Page: https://code.globalgrid2050.com/explore-code/s/0320.html#f3 - Synopsis: A test in the apparatus folder of Faraday that checks Cells. It is built from the check step (`check`) and the count step (`count`). - What it achieves (comment): Every check READS THE CELLS (their lit or dark state at a tick). - What it does: It tests its inputs. Defines check, q, count. Uses libraries node:fs, node:url, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: JSON file cells.result.json. - Signatures: `check(name, pass, detail)`; `q(t)`; `count(key, t)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file cells.result.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Grid Finder - File: faraday/apparatus/grid_finder.py (Python, 253 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/apparatus/grid_finder.py#L1-L253 - Page: https://code.globalgrid2050.com/explore-code/s/0320.html#f4 - Synopsis: A Python command-line tool in the apparatus folder of Faraday that reads connection points, GB transmission network and transformers, using SHA-256. - What it achieves (comment): It compares published path ratings (`compare_published_path_ratings`) and is built from the distance km helper (`distance_km`) and the grid finder class (`GridFinder`). Offline, evidence-bound candidate search. No headroom inferred from a map. It accepts `--build-data`, `--lat` and `--lon`. - What it does: It loads connection points, GB transmission network and transformers. Defines 8 functions or classes, including distance_km, _number, compare_published_path_ratings, GridFinder, __init__. Uses libraries argparse, collections, hashlib, json, math. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers. - Inputs & outputs: In: JSON file grid-finder-data.json; JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; command-line arguments. - Downstream impact: Used directly by 2 files: Test Grid Finder (faraday); Faraday — Index Page (faraday). Reached from 116 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). - Signatures: `distance_km(lon1, lat1, lon2, lat2)`; `_number(name, value, minimum=None, maximum=None)`; `compare_published_path_ratings(path, mw, power_factor, season='winter')`; `class GridFinder`; `__init__(self, data_path=DATA_PATH, data=None)`; `path_to_voltage(self, site_code, voltage_kv, target_kv=400, max_hops=12)`; `query(self, latitude, longitude, mw, voltage_kv=None, target_kv=400, headroom_mw_by_site=None, limit=12, max_hops=12, radiu...)`; `build_data(source_root)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file grid-finder-data.json; JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Test Grid Finder - File: faraday/apparatus/test_grid_finder.py (Python, 127 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/apparatus/test_grid_finder.py#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/0321.html#f1 - Synopsis: A test in the apparatus folder of Faraday that checks Grid Finder, using SHA-256. It is built from the grid finder tests class (`GridFinderTests`). - What it achieves (comment): Behavioral fixtures, actual source parity and independent reverse-distance audit. Its code works with 400 kV. - What it does: It tests transformers. Defines 10 functions or classes, including GridFinderTests, test_source_counts_and_hashes, test_actual_js_distance_source_parity, test_distance_degenerate_and_antipodal, test_all_site_paths_against_reverse_multi_target_distances. Uses libraries collections, hashlib, json, math, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, 400kV. - Inputs & outputs: In: JSON file grid-finder-fixtures.json. Out: JSON file grid-finder-example-result.json; JSON file grid-finder-test-results.json. Voltage levels named: 400kV. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class GridFinderTests`; `test_source_counts_and_hashes(self)`; `test_actual_js_distance_source_parity(self)`; `test_distance_degenerate_and_antipodal(self)`; `test_all_site_paths_against_reverse_multi_target_distances(self)`; `test_unknown_capacity_and_user_entered_scenario(self)`; `test_published_nameplate_is_not_spare_capacity(self)`; `test_no_assumed_voltage(self)`; `test_input_refusals(self)`; `test_unknown_voltage_and_no_invented_same_site_ties(self)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file grid-finder-fixtures.json]; out [JSON file grid-finder-example-result.json; JSON file grid-finder-test-results.json]; crs []; voltages [400kV] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Backup - File: faraday/bench/backup.py (Python, 73 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/backup.py#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/0321.html#f2 - Synopsis: A Python command-line tool in the bench folder of Faraday that reads summary and top. It is built from the merge step (`merge`). - What it achieves (comment): Run by hand, or every N minutes by `nightshift.py`. - What it does: It loads summary and top. Defines merge, main. Uses libraries glob, heapq, json, os, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file top.json; JSON file SUMMARY.json; command-line arguments. Out: JSON file SUMMARY.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `merge(run, src)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file top.json; JSON file SUMMARY.json; command-line arguments]; out [JSON file SUMMARY.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Commands Build - File: faraday/bench/commands_build.py (Python, 227 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/commands_build.py#L1-L227 - Page: https://code.globalgrid2050.com/explore-code/s/0321.html#f3 - Synopsis: A Python command-line tool in the bench folder of Faraday that reads top, solar and transformers, using SHA-256. - What it achieves (comment): It builds network commands (`build_network_commands`) and is built from the when step (`when`) and the sentence step (`sentence`). The page's "choose an example sentence" list is not written into the page: the page fetches it. - What it does: It loads top, solar and transformers. Defines 10 functions or classes, including when, kw, sentence, command, build_network_commands. Uses libraries hashlib, io, json, os, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, transformers. - Inputs & outputs: In: JSON file top.json; JSON file commands.json; JSON file current.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `when(case)`; `kw(x)`; `sentence(kind, net, case, p_kw, vmax, vmin, tx)`; `command(seed, case)`; `build_network_commands()`; `curate(cmds)`; `site_pulse_commands()`; `sha256_of(path)`; `check()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file top.json; JSON file commands.json; JSON file current.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Commands Check - File: faraday/bench/commands_check.mjs (JavaScript, 74 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/commands_check.mjs#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/0321.html#f4 - Synopsis: A JavaScript module in the bench folder of Faraday that reads transformers, using SHA-256. It is built from the stop step (`stop`) and the near step (`near`). - What it achieves (comment): Reads the pointer the way a browser will, re-hashes the file it names, and then FIRES EVERY COMMAND in the list through FIRE - the same code a visitor's browser runs. Its code works with 0.1 kW. - What it does: It loads transformers. Defines stop, near. Uses libraries node:module, node:fs, node:crypto, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers. - Inputs & outputs: In: JSON file current.json; command-line arguments. - Signatures: `stop(why)`; `near(got, want, tol)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (require 3); used by 0; mentioned by 0 ### Energy Cases - File: faraday/bench/energy_cases.py (Python, 64 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/energy_cases.py#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/0321.html#f5 - Synopsis: A Python module in the bench folder of Faraday that works with solar. - What it achieves (comment): It is built from the year step (`year`), the t energy helper (`t_energy`) and the t known helper (`t_known`). SITE ENERGY: a very large private network (the scale of a major airport) hour by hour for a year. Its code works with 62 MW, 100 MW and 271 GWh. - What it does: It calculates solar. Defines year, t_energy, t_known, registry. Uses libraries json, math, random. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Tests (faraday). Reached from 1 other entry point, including One (faraday). - Signatures: `year(annual_gwh=271.0, peak_mw=100.0, pv_mwp=150.0, pv_gwh_per_150=135.0, batt_mwh=600.0, batt_mw=100.0, eff=0.90, seed=1)`; `t_energy(pv_mwp, batt_mwh)`; `t_known()`; `registry()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Fire - File: faraday/bench/fire.js (JavaScript, 63 lines) · role ingest · stage transform · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/fire.js#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/0321.html#f6 - Synopsis: A JavaScript module in the bench folder of Faraday that calculates three-phase power (units: mm², kV, kW), covering cables, solar and transformers. - What it achieves (comment): It is built from the rate step (`rate`), the need step (`need`) and the parse step (`parse`). The pop commands that RUN IN THE VISITOR'S BROWSER. Its code works with 604 GWh. - What it does: Defines 6 functions or classes, including rate, r, need, parse, fire. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables, solar, transformers. - Downstream impact: Used directly by 6 files: Commands Check (faraday); Fire Site (faraday); Fire Topo (faraday); Million Check (faraday); and 2 more. - Signatures: `rate(m, s)`; `r(x, d)`; `need(o, keys)`; `parse(text)`; `fire(text)`; `register(name, family, run)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 1 ### Fire Check - File: faraday/bench/fire_check.mjs (JavaScript, 24 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/fire_check.mjs#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0321.html#f7 - Synopsis: A JavaScript module in the bench folder of Faraday. It is built from the same step (`same`). - What it achieves (comment): The browser's commands against the saved records: same inputs, same numbers, or the port is wrong. - What it does: It loads data. Defines same. Uses libraries node:fs, node:module, node:url, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `same(a, b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fire Site - File: faraday/bench/fire_site.js (JavaScript, 101 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/fire_site.js#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/0322.html#f1 - Synopsis: A JavaScript module in the bench folder of Faraday that works with solar, substations and transformers. - What it achieves (comment): It is built from the standard site helper (`standardSite`), the add step (`add`) and the mul step (`mul`). SITE PULSE in the visitor's browser: a port of `solve` and `record` in `bench/site_cases.py`. - What it does: It calculates solar, substations and transformers. Defines 9 functions or classes, including standardSite, add, mul, div, conj. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, substations, transformers. - Downstream impact: Used directly by 3 files: Commands Check (faraday); Million Check (faraday); Bench — Results Page (faraday). - Signatures: `standardSite()`; `add(a, b)`; `mul(a, b)`; `div(a, b)`; `conj(a)`; `rnd(x, d)`; `solve(site, pvShare, genOn, off, loadShare, c, tol)`; `zsMag(c.kv ** 2)`; `kw(off.includes('pvload') && s.n === site.pv_on)`; `sitePulse(i)`; `signed(x)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (require 1); used by 3; mentioned by 1 ### Fire Topo - File: faraday/bench/fire_topo.js (JavaScript, 91 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/fire_topo.js#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/0322.html#f2 - Synopsis: A JavaScript module in the bench folder of Faraday that works with solar, cables, transformers and substations. - What it achieves (comment): It is built from the mulberry32 step (`mulberry32`), the network step (`network`) and the add step (`add`). NETWORKS FROM A SEED, in the visitor's browser: the same generator and the same two pulse sweep as `bench/topo.py`, draw for draw and sum for sum. - What it does: It calculates solar, cables, transformers and substations. Defines 9 functions or classes, including mulberry32, network, add, mul, div. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, cables, transformers, substations. - Downstream impact: Used directly by 2 files: Commands Check (faraday); Topo Check (faraday). - Signatures: `mulberry32(a)`; `network(seed, variant)`; `add(a, b)`; `mul(a, b)`; `div(a, b)`; `conj(a)`; `solve(net, pvShare, genOn, loadShare, tol)`; `zs(c.kv ** 2)`; `rnd(x, d)`; `run(i)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (require 1); used by 2; mentioned by 0 ### Million - File: faraday/bench/million.py (Python, 119 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/million.py#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/0322.html#f3 - Synopsis: A Python command-line tool in the bench folder of Faraday that works with generic site (`generic_site`) (units: kW, kVA). - What it achieves (comment): It is built from the mulberry32 step (`mulberry32`), the nxt step (`nxt`) and the one case helper (`one_case`). One seed = one generic site (no real one) x 8 scenarios x 3 load shares = 24 cases. It accepts `--seeds`, `--workers` and `--selftest`. - What it does: It loads data. Defines 7 functions or classes, including mulberry32, nxt, generic_site, one_case, shard. Uses libraries argparse, json, math, os, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `mulberry32(a)`; `nxt()`; `generic_site(seed)`; `one_case(site, scen, ls)`; `shard(i)`; `status(done, total_shards, t0, note='')`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Million Check - File: faraday/bench/million_check.mjs (JavaScript, 41 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/million_check.mjs#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0322.html#f4 - Synopsis: A JavaScript module in the bench folder of Faraday that works with generic site (`genericSite`) (units: kW, kVA). - What it achieves (comment): It is built from the mulberry32 step (`mulberry32`), the generic site helper (`genericSite`) and the close step (`close`). THE SECOND OPINION. Takes one shard written by `million.py`, rebuilds every site from its seed with the same stated generator, solves every case again with `fire_site.js` (the code the Kuiper runs in a visitor's browser). - What it does: It loads data. Defines mulberry32, genericSite, close. Uses libraries node:module, node:fs. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Signatures: `export genericSite(seed)`; `mulberry32(a)`; `km(5 + pick(76))`; `close(a, b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (require 2); used by 0; mentioned by 0 ### National Cases - File: faraday/bench/national_cases.py (Python, 36 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/national_cases.py#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0322.html#f5 - Synopsis: A Python module in the bench folder of Faraday. It is built from the day step (`day`), the t storage helper (`t_storage`) and the t known helper (`t_known`). - What it achieves (comment): NATIONAL DAY: one spring day of a whole country's electricity, and how much storage it would take. Its code works with 604 GWh, 30.5 GW and 44.4 GW. - What it does: It calculates its inputs. Defines day, t_storage, t_known, registry. Uses libraries json, math. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Tests (faraday). Reached from 1 other entry point, including One (faraday). - Signatures: `day()`; `t_storage(firm_gw, eff)`; `t_known()`; `registry()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### One - File: faraday/bench/one.py (Python, 21 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/one.py#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0322.html#f6 - Synopsis: A Python command-line tool in the bench folder of Faraday. - What it achieves (comment): `bench/one.py` N - run test N in a process of its own and print its record as one line of JSON. - What it does: It calculates its inputs. Defines main. Uses libraries json, os, sys, time. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Page - File: faraday/bench/page.py (Python, 89 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/page.py#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/0322.html#f7 - Synopsis: A Python module in the bench folder of Faraday that draws records and commands. It builds files (`build_files`). - What it achieves (comment): The bench as cells, with a command bar. It reads `records.json`. - What it does: It draws records and commands. Defines build_files. Uses libraries json, time. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file records.json; JSON file commands.json; form fields (user input). Out: canvas drawing. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `build_files(rows)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file records.json; JSON file commands.json; form fields (user input)]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Bench — Results Page - File: faraday/bench/results/index.html (HTML, 50 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/results/index.html#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0322.html#f8 - Synopsis: A web page in Faraday that draws records and commands. It is built from the draw step (`draw`), the esc step (`esc`) and the nums step (`nums`). - What it achieves (name): Defines `fit`, `pos`, `col` and 5 more. It reads `records.json`. It responds to click, keydown and resize events. - What it does: It draws records and commands. Defines 8 functions or classes, including fit, pos, col, draw, esc. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file records.json; JSON file commands.json; form fields (user input). Out: web page; canvas drawing. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `fit()`; `pos(j)`; `col(r)`; `draw(now)`; `esc(s)`; `nums(n)`; `card(title,tag,colour,body)`; `show(j)`; `fire()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file records.json; JSON file commands.json; form fields (user input)]; out [web page; canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (script-src 2); used by 0; mentioned by 0 ### Site Cases - File: faraday/bench/site_cases.py (Python, 142 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/site_cases.py#L1-L142 - Page: https://code.globalgrid2050.com/explore-code/s/0322.html#f9 - Synopsis: A Python module in the bench folder of Faraday that works with solar, transformers, 11kV and substations. - What it achieves (comment): It is built from the standard site helper (`standard_site`), the solve step (`solve`) and the record step (`record`). SITE PULSE: a generic industrial site behind its meter, as cells and two pulses. Its code works with 11 kV. - What it does: It calculates solar, transformers, 11kV and substations. Defines 9 functions or classes, including standard_site, solve, record, t_scenario, t_threshold. Uses libraries json, math, random. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 11kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, transformers, 11kV, substations. - Inputs & outputs: Voltage levels named: 11kV. - Downstream impact: Used directly by 2 files: Million (faraday); Tests (faraday). Reached from 1 other entry point, including One (faraday). - Signatures: `standard_site()`; `solve(site, pv_share, gen_on, off=(), load_share=1.0, c=CANDIDATE, tol=1e-9)`; `record(site, scen, load_share, note='')`; `t_scenario(scen, load_share)`; `t_threshold(kind)`; `bad(pv)`; `random_site(seed)`; `t_survey(seed)`; `registry()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [11kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Tests - File: faraday/bench/tests.py (Python, 333 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/tests.py#L1-L333 - Page: https://code.globalgrid2050.com/explore-code/s/0323.html#f1 - Synopsis: A Python module in the bench folder of Faraday that tests grid 11kV UK Power Networks (UKPN), substations and cables, using SHA-256. - What it achieves (comment): It is built from the points step (`points`), the shape step (`shape`) and the nearest gap helper (`nearest_gap`). Each test is a pure function of its id: same id, same answer, on any machine. Its code works with 11 kV. - What it does: It tests grid 11kV UKPN, substations and cables. Defines 23 functions or classes, including points, km, shape, nearest_gap, t_arrangement. Uses libraries cmath, glob, hashlib, json, math. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 11kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, cables, 11kV. - Inputs & outputs: In: Parquet file grid_11kv_ukpn.parquet. Voltage levels named: 11kV. - Downstream impact: Used directly by 1 file: One (faraday). - Signatures: `points()`; `km(a, b)`; `shape(name, n)`; `nearest_gap(P)`; `t_arrangement(name, n=2000, body_px=150)`; `t_gate(kind)`; `t_pulse(origin_name, speed_km_per_tick, second=None)`; `class Cells`; `__init__(self)`; `inp(self, name)`; `nand(self, a, b)`; `NOT(self, a)`; `AND(self, a, b)`; `OR(self, a, b)`; `XOR(self, a, b)`; `run(self, inputs, outs, ticks=400)`; `adder(bits)`; `t_logic(kind)`; `feeder(seed, size=40)`; `sweep(root, parent, length, homes, ev_share, c=CANDIDATE, tol=1e-9)`; `t_feeder(seed, ev_share)`; `registry()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [Parquet file grid_11kv_ukpn.parquet]; out []; crs []; voltages [11kV] - Edges: uses 5 estate files (import 5); used by 1; mentioned by 0 ### Topo - File: faraday/bench/topo.py (Python, 200 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/topo.py#L1-L200 - Page: https://code.globalgrid2050.com/explore-code/s/0323.html#f2 - Synopsis: A Python command-line tool in the bench folder of Faraday that reads cables, solar, transformers and substations. - What it achieves (comment): It is built from the mulberry32 step (`mulberry32`), the nxt step (`nxt`) and the network step (`network`). NETWORKS BY THE BILLION: different TOPOLOGIES, not one site with different numbers. It accepts `--seeds`, `--workers` and `--selftest`. - What it does: It loads cables, solar, transformers and substations. Defines 9 functions or classes, including mulberry32, nxt, network, solve, telling. Uses libraries argparse, heapq, json, math, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables, solar, transformers, substations. - Inputs & outputs: In: command-line arguments. Out: JSON file. - Downstream impact: Used directly by 2 files: Commands Build (faraday); Nightshift Workflow (faraday). - Signatures: `mulberry32(a)`; `nxt()`; `network(seed, variant=None)`; `solve(net, pv_share, gen_on, load_share, tol=1e-9)`; `telling(net, case, r)`; `shard(i)`; `status(tot, n_done, n_all, t0, note)`; `add(tot, d, this_run)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Topo Check - File: faraday/bench/topo_check.mjs (JavaScript, 22 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/topo_check.mjs#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0323.html#f3 - Synopsis: A JavaScript module in the bench folder of Faraday. - What it achieves (comment): One shard in; every network rebuilt from its seed by `fire_topo.js` (the code the Kuiper runs), every case solved again, every number compared. - What it does: It loads data. Uses libraries node:module, node:fs. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (require 2); used by 0; mentioned by 0 ### Traction Cases - File: faraday/bench/traction_cases.py (Python, 45 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/bench/traction_cases.py#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0323.html#f4 - Synopsis: A Python module in the bench folder of Faraday that works with solar, transformers and substations. - What it achieves (comment): It is built from the t chain helper (`t_chain`), the t scale helper (`t_scale`) and the t known helper (`t_known`). DC TRACTION: solar fed straight into a metro's direct current traction system, as sums that can fail. Its code works with 80 GWh, 64 MW and 100 GWh. - What it does: It calculates solar, transformers and substations. Defines t_chain, t_scale, t_known, registry. Uses libraries json. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 22kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, transformers, substations, 22kV. - Inputs & outputs: Voltage levels named: 22kV. - Downstream impact: Used directly by 1 file: Tests (faraday). Reached from 1 other entry point, including One (faraday). - Signatures: `t_chain(inverter, transformer, rectifier, dcdc)`; `t_scale(solar_gwh, saving_share)`; `t_known()`; `registry()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [22kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### E036 - File: faraday/experiments/e036.mjs (JavaScript, 29 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/experiments/e036.mjs#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/0323.html#f5 - Synopsis: A JavaScript module in the experiments folder of Faraday. - What it achieves (comment): 36: a ring of 3, 5, 7 NOT cells. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### E037 - File: faraday/experiments/e037.mjs (JavaScript, 22 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/experiments/e037.mjs#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0323.html#f6 - Synopsis: A JavaScript module in the experiments folder of Faraday. - What it achieves (comment): 37: a two to one selector. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### E038 - File: faraday/experiments/e038.mjs (JavaScript, 31 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/experiments/e038.mjs#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/0323.html#f7 - Synopsis: A JavaScript module in the experiments folder of Faraday. - What it achieves (comment): 38: a four bit comparator. Is "A greater than B" right for all 256 pairs? - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### E095 - File: faraday/experiments/e095.mjs (JavaScript, 37 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/experiments/e095.mjs#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0324.html#f1 - Synopsis: A JavaScript module in the experiments folder of Faraday that works with exact angle (`exactAngle`) and calculates planar distances. - What it achieves (comment): It is built from the exact angle helper (`exactAngle`), the exact step (`exact`) and the page step (`page`). 95: is the sunflower law (r = sqrt(key), angle = key x golden angle) exact at key 38 billion in the page's number type? - What it does: It calculates its inputs. Defines exactAngle, exact, page, dist. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `exactAngle(k)`; `exact(k)`; `page(k)`; `dist(p, q)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E099 - File: faraday/experiments/e099.mjs (JavaScript, 28 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/experiments/e099.mjs#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0324.html#f2 - Synopsis: A JavaScript module in the experiments folder of Faraday. - What it achieves (comment): 99: the same rule run two ways, backwards (ask one cell at one tick) and forwards (sweep every cell, tick by tick). - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Faraday — Experiments - File: faraday/experiments/lib.mjs (JavaScript, 41 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/experiments/lib.mjs#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0324.html#f3 - Synopsis: A JavaScript module. It is built from the builder step (`builder`), the fresh step (`fresh`) and the input step (`input`). - What it achieves (comment): Circuit builders for the experiments, on the one rule of `apparatus/cells.mjs` and nothing else. - What it does: It calculates its inputs. Defines 10 functions or classes, including builder, fresh, input, nand, not. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 4 files: E036 (faraday); E037 (faraday); E038 (faraday); E099 (faraday). - Signatures: `export builder(from = 20000)`; `export sweep(program, schedule, ticks, inputOn)`; `export inputOn(schedule, name, t)`; `fresh()`; `input(name)`; `nand(a, b)`; `not(a)`; `and(a, b)`; `or(a, b)`; `xor(a, b)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Faraday — Experiments - File: faraday/experiments/run.mjs (JavaScript, 39 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/experiments/run.mjs#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0324.html#f4 - Synopsis: A JavaScript module that runs experiments by number. - What it achieves (comment): The question, apparatus and what would refute it come from INDEX.tsv. - What it does: It loads data. Uses libraries node:fs, node:url, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Faraday — Index Page - File: faraday/index.html (HTML, 448 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/index.html#L1-L448 - Page: https://code.globalgrid2050.com/explore-code/s/0324.html#f5 - Synopsis: A web page that draws grid finder results, experiments, transformers and 132kV. - What it achieves (name): Its code works with 132 kV, 100 MW and 105.26315789473685 MVA. - What it does: It draws grid finder results, experiments, transformers and 132kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV, 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, 132kV, 400kV. - Inputs & outputs: In: JSON file grid-finder-test-results.json; JSON file experiments.json. Out: web page. Voltage levels named: 400kV, 132kV. - Downstream impact: Used directly by 51 files: Kuiper Programs (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/); Kuiper Programs (globalgrid2050); Kuiper Programs (globalgrid2050); Kuiper Programs (globalgrid2050); and 47 more. Reached from 113 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file grid-finder-test-results.json; JSON file experiments.json]; out [web page]; crs []; voltages [400kV, 132kV] - Edges: uses 2 estate files (link 2); used by 51; mentioned by 0 ### Build - File: faraday/tools/build.py (Python, 145 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/tools/build.py#L1-L145 - Page: https://code.globalgrid2050.com/explore-code/s/0325.html#f1 - Synopsis: A Python command-line tool in the tools folder of Faraday that reads experiments. - What it achieves (comment): Render `index.html` from `experiments.json`, and refuse if a log entry is not whole. - What it does: It loads experiments. Defines main. Uses libraries io, json, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`tools/build.py` refuses to publish an entry that is missing any part, a reused number, or a gap." - Inputs & outputs: In: JSON file experiments.json. - Downstream impact: Used directly by 1 file: Faraday — Index Page (faraday). Reached from 116 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). - Signatures: `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file experiments.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Feeder - File: galaxies-wafers/iterations/25-one-feeder/feeder.css (CSS, 41 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/25-one-feeder/feeder.css#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0325.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/25-one-feeder/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/25-one-feeder/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Iterations — 25 One Feeder Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/25-one-feeder/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/25-one-feeder/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Feeder - File: galaxies-wafers/iterations/25-one-feeder/feeder.mjs (JavaScript, 434 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/25-one-feeder/feeder.mjs#L1-L434 - Page: https://code.globalgrid2050.com/explore-code/s/0325.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/25-one-feeder/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that paints mods, builds inputs, paints refusals and draws on a canvas, covering substations. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/25-one-feeder/. - What it achieves (comment): It paints mods (`paintMods`), builds inputs (`buildInputs`) and paints results (`paintResults`). One Feeder — the physics of one radial line, drawn from three engine modules. Its code works with 11 kV, 132 kV and 220 kV. It responds to click, input and resize events. - What it does: It draws substations. Defines 28 functions or classes, including $, nf, paintMods, logMap, round3. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 400kV, 275kV, 220kV, 132kV, 66kV. - Inputs & outputs: In: form fields (user input). Out: canvas drawing. Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Downstream impact: Used directly by 1 file: Iterations — 25 One Feeder Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/25-one-feeder/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/25-one-feeder/. - Signatures: `$(id)`; `nf(v, sig = 4)`; `paintMods()`; `logMap(lo, hi)`; `round3(v)`; `buildInputs()`; `seg(label, opts, isOn, onPick, colorOf)`; `mk(s)`; `show()`; `attempt(file, fn, args)`; `waits(what, on)`; `compute()`; `dropArgs(L)`; `summarise(r)`; `paintResults()`; `paintRefusals()`; `fit(cv)`; `lines(g, text, maxW, maxLines)`; `refusalBox(g, text, x, y, w, maxLines = 6)`; `mix(hex, t)`; `m(c)`; `font(px, wgt = '')`; `ampsPerPixel(amps, lenPx)`; `drawSld(tms)`; `off((tms / 1000) * 36)` (and 4 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [canvas drawing]; crs []; voltages [400kV, 275kV, 220kV, 132kV, 66kV, 11kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 25 One Feeder Page - File: galaxies-wafers/iterations/25-one-feeder/index.html (HTML, 49 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/25-one-feeder/index.html#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/0325.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/25-one-feeder/ - Synopsis: A web page in Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/iterations/25-one-feeder/. - What it achieves (comment): One Feeder — the physics of one radial line, charted. Its code works with 100 kW, 11 kV and 132 kV. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: Out: web page. Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/25-one-feeder/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [400kV, 275kV, 220kV, 132kV, 66kV, 11kV] - Edges: uses 3 estate files (stylesheet 1, link 1, script-src 1); used by 0; mentioned by 0 ### MV Network - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/mv-network.mjs (JavaScript, 127 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/mv-network.mjs#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/0326.html#f1 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that reads routes (`readRoutes`) (units: kV, MVA), covering cables and transformers. It reads routes (`readRoutes`) and places network (`placeNetwork`). - What it achieves (comment): The medium-voltage network from the stations to the grid, as equipment outlines with solids and cable routes, placed on the ground by the user. - What it does: Defines 9 functions or classes, including equipmentSolids, box, solidLines, readRoutes, pt. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables, transformers. - Downstream impact: Used directly by 1 file: Block Build (globalgrid2050). - Signatures: `export equipmentSolids(kind, at = [0, 0, 0], heading = 0, id = kind)`; `export solidLines(solids)`; `export readRoutes(json)`; `export drawingToGround({ at = [0, 0], metresPerUnit = 1, heading = 0, yDown = false } = {})`; `export placeNetwork(diagram, { routes = null, at = [0, 0], heading = 0, metresPerUnit = 1, spacing = 40, groundAt = () => 0 } = {})`; `export cableLines(cables, kind = null)`; `box(part, min, max)`; `pt(p)`; `links(json.links || [])`; `kindOf(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/mv-network.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Plant Feeders - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/plant-feeders.mjs (JavaScript, 142 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/plant-feeders.mjs#L1-L142 - Page: https://code.globalgrid2050.com/explore-code/s/0326.html#f2 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables, 33kV and A roads, using IEC 60287. - What it achieves (comment): It routes feeders (`routeFeeders`) and is built from the to spine helper (`toSpine`) and the road path helper (`roadPath`). The 33kV feeders of a laid-out plant, routed along its roads, with their trenches and cables. Its code works with 33 kV. - What it does: It calculates cables, 33kV and A roads. Defines 11 functions or classes, including toSpine, roadPath, side, coverage, trenchFor. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, A roads. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 3 files: Block MV (globalgrid2050); Cmd Model (globalgrid2050); Plant Layout (globalgrid2050). - Signatures: `export roadPath(A, B, net)`; `export coverage(intervals)`; `export trenchFor(c, L, into)`; `export routeFeeders(tpl, net, p)`; `export trenchRows(e, fmt = v => v.toFixed(2))`; `toSpine(pt, net)`; `side(pt)`; `onRoad(s)`; `add(key, a, b)`; `dropOf(hops)`; `k(m)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/plant-feeders.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 2 estate files (import 2); used by 3; mentioned by 0 ### Single-Line Diagram (SLD) Connect - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/sld-connect.mjs (JavaScript, 57 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/sld-connect.mjs#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0326.html#f3 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables, substations, overhead lines (OHL) and 132kV. - What it achieves (comment): It is built from the nearest step (`nearest`), the kV for MW helper (`kvForMW`) and the choose connection helper (`chooseConnection`). Which grid connection a plant gets, from its size and what is near it. Its code works with 132 kV, 400 kV and 275 kV. - What it does: It calculates cables, substations, overhead lines (OHL) and 132kV. Defines nearest, km, kvForMW, chooseConnection. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, substations, overhead lines (OHL), 132kV, 400kV, 275kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 33kV. - Downstream impact: Used directly by 2 files: Cmd Trench (globalgrid2050); Connect Here (globalgrid2050). - Signatures: `export kvForMW(mw, { minKv = 0, rules = {} } = {})`; `export chooseConnection({ mw, at, subs = [], towers = [], kv: fixed = null, minKv = 0, rules = {} })`; `nearest(list, at, ok)`; `km(m)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271552-site-world/world/sld-connect.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 33kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Single-Line Diagram (SLD) Rules - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/sld-rules.mjs (JavaScript, 95 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/sld-rules.mjs#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/0326.html#f4 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables, transformers and battery storage (BESS), using IEC 60502-2 and BS 7671. - What it achieves (comment): It groups factor (`groupFactor`) and is built from the economic size helper (`economicSize`) and the cost step (`cost`). The generic electrical rules the single-line diagram generator shares (`sld-plant.mjs`, `block-mv.mjs`, `sld-graph.mjs`): group factors for circuits sharing a trench, an economic step on top of the technical cable size, the switching and protection devices of each functional way. Its code works with 33 kV. - What it does: It calculates cables, transformers and battery storage (BESS). Defines groupFactor, economicSize, cost, isolationChecks, zOf. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, transformers, battery storage (BESS), 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Block MV (globalgrid2050). - Signatures: `export groupFactor(n)`; `export economicSize(area, mva, lengthM, opts = {})`; `export isolationChecks(at = INVERTER_ISOLATION)`; `export zOf(mag, xr)`; `pw(1 - (1 + e.rate) ** -e.years)`; `cost(a)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/sld-rules.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Substations - File: globalgrid2050/energy-transition-simulator/202609280014/mod/substations.js (JavaScript, 189 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/substations.js#L1-L189 - Page: https://code.globalgrid2050.com/explore-code/s/0326.html#f5 - Synopsis: A JavaScript file in GlobalGrid2050 that draws grid substations and substations footprints odbl, and uses data from the GridAtlas repository. It labels block (`labelBlock`) and syncs btn (`syncBtn`). - What it achieves (comment): Substations as 3D wireframe compounds, in real coordinates (plain script; attaches to window.SIM). It responds to keydown and keyup events. - What it does: It draws grid substations and substations footprints odbl. Defines 24 functions or classes, including ecef, PFm, localFn, kvList, load. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substations'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data; GeoJSON file grid_substations.geojson; JSON file substations-footprints.odbl.json. Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `here(document.currentScript && document.currentScript.src)`; `ecef(lat, lon)`; `PFm()`; `localFn(lat0, lon0)`; `kvList(v)`; `load()`; `seg(L, a, b, za, zb)`; `box(L, cx, cy, ux, uy, hw, hd, h)`; `fence(L, ring, dashed)`; `frameOf(ring)`; `place(b)`; `EST_HALF(kv)`; `label(L, text, cx, cy, z0, size, bearing)`; `kvText(kv)`; `compound(s)`; `labelBlock(s, c, bearing)`; `dist(a, b)`; `nearby(c, r, want)`; `refresh(force)`; `go(kv)`; `command(text)`; `syncBtn()`; `ui()`; `toggle()`; `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; GeoJSON file grid_substations.geojson; JSON file substations-footprints.odbl.json]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/005_extract_v2_substation_data/manifest.yml (YAML, 42 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/005_extract_v2_substation_data/manifest.yml#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/0326.html#f6 - Synopsis: A configuration file in the feature requests folder of GlobalGrid2050 covering substations, solar and battery storage (BESS). - What it achieves (comment): Moves substation normalisation and loading into `gis-sld-v2-substations.js` without changing map, finance, topology or export logic. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, solar, battery storage (BESS). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Grid Engine — Substation Growth Page - File: globalgrid2050/grid_engine/202609060218-substation-growth/index.html (HTML, 271 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060218-substation-growth/index.html#L1-L271 - Page: https://code.globalgrid2050.com/explore-code/s/0327.html#f1 - Published at: https://globalgrid2050.com/grid_engine/202609060218-substation-growth/ - Synopsis: A web page in GlobalGrid2050 covering substations and transformers, and uses data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060218-substation-growth/. - What it achieves (comment): It parses units (`parseUnits`) and is built from the num step (`num`) and the fig step (`fig`). Substation Growth Workbench — Ventus Grid Engine. Its code works with 0.00 MVA. It responds to input events. - What it does: It draws substations and transformers. Defines 7 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, transformers. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060218-substation-growth/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `parseUnits(raw)`; `render()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 3; mentioned by 0 ### Grid Engine — Interconnectors Page - File: globalgrid2050/grid_engine/202609060305-interconnectors/index.html (HTML, 317 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060305-interconnectors/index.html#L1-L317 - Page: https://code.globalgrid2050.com/explore-code/s/0327.html#f2 - Published at: https://globalgrid2050.com/grid_engine/202609060305-interconnectors/ - Synopsis: A web page in GlobalGrid2050 covering interconnectors and cables, and uses data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060305-interconnectors/. - What it achieves (comment): It is built from the num step (`num`), the fig step (`fig`) and the refuse step (`refuse`). Interconnector Workbench — Ventus Grid Engine. Its code works with 34.2 GW. It responds to input events. - What it does: It draws interconnectors and cables. Defines 6 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnectors'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, cables. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060305-interconnectors/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `render()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 3; mentioned by 0 ### Grid Engine — Voltage Drop Page - File: globalgrid2050/grid_engine/202609060313-voltage-drop/index.html (HTML, 299 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060313-voltage-drop/index.html#L1-L299 - Page: https://code.globalgrid2050.com/explore-code/s/0328.html#f1 - Published at: https://globalgrid2050.com/grid_engine/202609060313-voltage-drop/ - Synopsis: A web page in GlobalGrid2050 covering cables and uses data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060313-voltage-drop/. - What it achieves (comment): It is built from the num step (`num`), the fig step (`fig`) and the refuse step (`refuse`). Voltage Drop Workbench — Ventus Grid Engine. It responds to input events. - What it does: It draws cables. Defines 6 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060313-voltage-drop/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `render()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 3; mentioned by 0 ### Fetch Substations v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_substationsv6.py (Python, 76 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_substationsv6.py#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/0328.html#f2 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches grid substations from OpenStreetMap (Overpass). - What it achieves (name): Its name says it fetches substations. Defines `fetch_substations`. Its code works with 33 kV and 400 kV. - What it does: It fetches grid substations. Defines fetch_substations. Uses libraries requests, json, time. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 33kV. - Inputs & outputs: In: data source: OpenStreetMap (Overpass); GeoJSON file grid_substations.geojson. Out: JSON file. Voltage levels named: 400kV, 33kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `fetch_substations(filename="grid_substations.geojson")` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass); GeoJSON file grid_substations.geojson]; out [JSON file]; crs []; voltages [400kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Add V6 V7 GIS Single-Line Diagram (SLD) Operating Asset Layers - File: globalgrid2050/scripts/add_v6_v7_gis_sld_operating_asset_layers.py (Python, 433 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/add_v6_v7_gis_sld_operating_asset_layers.py#L1-L433 - Page: https://code.globalgrid2050.com/explore-code/s/0329.html#f1 - Synopsis: A Python command-line tool in the scripts folder that maps Renewable Energy Planning Database (REPD) master, topology, atlas REPD operating assets and atlas asset solar operational. - What it achieves (comment): It patches once (`patch_once`) and patches folder (`patch_folder`). Add operating renewable and storage asset layers to V6 and V7 GIS SLD. Its code works with 400 kV, 132 kV and 275 kV. - What it does: It maps REPD master, topology, atlas REPD operating assets and atlas asset solar operational. Defines read, write, patch_once, patch_folder, main. Uses libraries __future__, datetime, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 400kV, 275kV, 132kV, 66kV. - Inputs & outputs: In: JSON file repd_master.json. Voltage levels named: 400kV, 275kV, 132kV, 66kV. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Add V6 V7 GIS Single-Line Diagram (SLD) Operating Asset Layers Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `patch_once(text: str, marker: str, replacement: str, label: str)`; `patch_folder(folder: Path)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file repd_master.json]; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Add V6 V7 GIS Single-Line Diagram (SLD) Print Formatting - File: globalgrid2050/scripts/add_v6_v7_gis_sld_print_formatting.py (Python, 302 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/add_v6_v7_gis_sld_print_formatting.py#L1-L302 - Page: https://code.globalgrid2050.com/explore-code/s/0330.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads solar and battery storage (BESS). - What it achieves (comment): It updates target (`update_target`) and is built from the read step (`read`) and the write step (`write`). Add print formatting to V6 and V7 GIS SLD Financial Sandbox. - What it does: It loads solar and battery storage (BESS). Defines read, write, update_target, main. Uses libraries __future__, datetime, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Add V6 V7 GIS Single-Line Diagram (SLD) Print Formatting Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `update_target(version: str, folder: Path)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Add V6 V7 GIS Single-Line Diagram (SLD) Print Map Pack - File: globalgrid2050/scripts/add_v6_v7_gis_sld_print_map_pack.py (Python, 452 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/add_v6_v7_gis_sld_print_map_pack.py#L1-L452 - Page: https://code.globalgrid2050.com/explore-code/s/0330.html#f2 - Synopsis: A Python command-line tool in the scripts folder that patches folder (`patch_folder`) (units: kV), covering overhead lines (OHL), 66kV, 132kV and 275kV. - What it achieves (comment): It is built from the read step (`read`) and the write step (`write`). Make overhead line and public substation layers default OFF for a cleaner working map. - Replace the print button with a print preparation routine. - Add 3 print map pages after the normal report: 1. - What it does: It draws overhead lines (OHL), 66kV, 132kV and 275kV. Defines read, write, patch_folder, main. Uses libraries __future__, datetime, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL), 66kV, 132kV, 275kV, 400kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Add V6 V7 GIS Single-Line Diagram (SLD) Print Map Pack Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `patch_folder(folder: Path)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Large Asset Markers and Search - File: globalgrid2050/scripts/add_v7_gis_sld_large_asset_markers_and_search.py (Python, 497 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/add_v7_gis_sld_large_asset_markers_and_search.py#L1-L497 - Page: https://code.globalgrid2050.com/explore-code/s/0331.html#f2 - Synopsis: A Python command-line tool in the scripts folder covering Renewable Energy Planning Database (REPD) master, substations, solar and battery storage (BESS). - What it achieves (comment): It is built from the read step (`read`) and the write step (`write`). Add V7 GIS SLD large operating asset marker visibility and map search. Its code works with 30 MW. It reads `/dist/repd_master.json`. - What it does: It draws REPD master, substations, solar and battery storage (BESS). Defines read, write, main. Uses libraries __future__, datetime, pathlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, solar, battery storage (BESS). - Inputs & outputs: In: JSON file repd_master.json; form fields (user input). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Large Asset Markers and Search Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file repd_master.json; form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Fix V6 V7 GIS Single-Line Diagram (SLD) Print Simple Safe - File: globalgrid2050/scripts/fix_v6_v7_gis_sld_print_simple_safe.py (Python, 214 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/fix_v6_v7_gis_sld_print_simple_safe.py#L1-L214 - Page: https://code.globalgrid2050.com/explore-code/s/0332.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads substations, overhead lines (OHL), 66kV and 132kV. - What it achieves (comment): It patches folder (`patch_folder`) and is built from the read step (`read`) and the write step (`write`). Fix V6 and V7 GIS SLD printing by removing the hanging print preparation routine. - What it does: It loads substations, overhead lines (OHL), 66kV and 132kV. Defines read, write, patch_folder, main. Uses libraries __future__, datetime, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, overhead lines (OHL), 66kV, 132kV, 400kV, 275kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fix V6 V7 GIS Single-Line Diagram (SLD) Print Simple Safe Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `patch_folder(folder: Path)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Mwp Sizing Visibility - File: globalgrid2050/scripts/fix_v7_gis_sld_mobile_mwp_sizing_visibility.py (Python, 149 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/fix_v7_gis_sld_mobile_mwp_sizing_visibility.py#L1-L149 - Page: https://code.globalgrid2050.com/explore-code/s/0332.html#f2 - Synopsis: A Python command-line tool in the scripts folder. - What it achieves (comment): Fix V7 GIS SLD mobile MWp DC sizing control visibility. - What it does: It loads data. Defines main. Uses libraries __future__, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Mwp Sizing Visibility Workflow (globalgrid2050). - Signatures: `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Tool Overlay Spacing - File: globalgrid2050/scripts/fix_v7_gis_sld_mobile_tool_overlay_spacing.py (Python, 94 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/fix_v7_gis_sld_mobile_tool_overlay_spacing.py#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/0332.html#f3 - Synopsis: A Python command-line tool in the scripts folder that reads solar, battery storage (BESS) and wind. - What it achieves (comment): Lower the V7 GIS SLD mobile map tools overlay so it no longer overlaps solar, wind, BESS and voltage layer toggles. - What it does: It loads solar, battery storage (BESS) and wind. Defines main. Uses libraries __future__, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), wind. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Tool Overlay Spacing Workflow (globalgrid2050). - Signatures: `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Tools Energy Layer Clearance - File: globalgrid2050/scripts/fix_v7_gis_sld_mobile_tools_energy_layer_clearance.py (Python, 151 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/fix_v7_gis_sld_mobile_tools_energy_layer_clearance.py#L1-L151 - Page: https://code.globalgrid2050.com/explore-code/s/0332.html#f4 - Synopsis: A Python command-line tool in the scripts folder that reads wind, solar and battery storage (BESS). - What it achieves (comment): On mobile, TOOLS ON/OFF and MWp sizing controls overlap the operating asset row. - This blocks SOLAR OP, ONSHORE WIND, OFFSHORE WIND and BESS OP toggles. - What it does: It loads wind, solar and battery storage (BESS). Defines main. Uses libraries __future__, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: wind, solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Tools Energy Layer Clearance Workflow (globalgrid2050). - Signatures: `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Generate GIS Single-Line Diagram (SLD) Full Code Reports - File: globalgrid2050/scripts/generate_gis_sld_full_code_reports.py (Python, 229 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/generate_gis_sld_full_code_reports.py#L1-L229 - Page: https://code.globalgrid2050.com/explore-code/s/0333.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads battery storage (BESS) and solar. It sorts key (`sort_key`), reads text (`read_text`) and makes tree (`make_tree`). - What it achieves (comment): Generate full code reports for V7 and V8 GIS SLD apps. - What it does: It loads battery storage (BESS) and solar. Defines 8 functions or classes, including should_include, sort_key, iter_source_files, read_text, fence_lang. Uses libraries __future__, datetime, pathlib, typing. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Generate GIS Single-Line Diagram (SLD) Full Code Reports Workflow (globalgrid2050). - Signatures: `should_include(path: Path)`; `sort_key(path: Path)`; `iter_source_files(folder: Path)`; `read_text(path: Path)`; `fence_lang(path: Path)`; `make_tree(folder: Path, files: Iterable[Path])`; `make_report(app: dict[str, object])`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Generation Interconnector Split - File: globalgrid2050/scripts/gridbot_generation_interconnector_split.py (Python, 781 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_generation_interconnector_split.py#L1-L781 - Page: https://code.globalgrid2050.com/explore-code/s/0333.html#f2 - Synopsis: A Python command-line tool in the scripts folder that parses time (`parse_time`) and float (`parse_float`) and scans signed repo rows (`scan_signed_repo_rows`) (units: MWh, MW), using SHA-256. - What it achieves (comment): It is built from the utcnow step (`utcnow`), the rel step (`rel`) and the read step (`read`). `/uk_energy_tracking_v6/generation_history/`. It accepts `--start-year`, `--end-year` and `--apply`. - What it does: It draws generation annual mwh by technology, generation monthly mwh by technology, generation seasonal mwh by technology and generation day night mwh by technology. Defines 28 functions or classes, including utcnow, rel, read, write, sha. Uses libraries __future__, argparse, csv, datetime, hashlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generation_annual_mwh_by_technology.json; JSON file generation_monthly_mwh_by_technology.json; JSON file generation_seasonal_mwh_by_technology.json; JSON file generation_day_night_mwh_by_technology.json; JSON file generation_interconnector_index.json; JSON file generation_interconnector_total_electricity_summary.json; JSON file GENERATION_INTERCONNECTOR_SPLIT_LATEST.json; JSON file _imports.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Gridbot Generation Interconnector Split Workflow (globalgrid2050); GlobalGrid2050 Gridbot Generation Interconnector Split V2 Workflow (globalgrid2050). - Signatures: `utcnow()`; `rel(p: Path)`; `read(p: Path)`; `write(p: Path, txt: str)`; `sha(p: Path)`; `git(args: list[str])`; `existing_rows(p: Path)`; `source_files()`; `parse_time(v: str)`; `parse_float(v: Any)`; `infer_interval_hours(points: list[tuple[dt.datetime, float]], idx: int)`; `scan_signed_repo_rows(start_year: int, end_year: int)`; `build_flows(start_year: int, end_year: int)`; `flow_file_payload(code: str, direction: str, monthly_buckets: dict[Any, Any], annual_buckets: dict[Any, Any], start_year: int, end_year...)`; `planned_data_files(start_year: int, end_year: int)`; `generation_shown_by_year()`; `total_summary_rows(index_rows: list[dict[str, Any]])`; `add_total_file(files: dict[Path, str], index_rows: list[dict[str, Any]])`; `insert_warning(txt: str)`; `insert_css(txt: str)`; `patch_index(txt: str)`; `node_check(source: str, label: str)`; `planned_files(start_year: int, end_year: int)`; `changed_paths(planned: dict[Path, str])`; `collect_checks(planned: dict[Path, str], index_rows: list[dict[str, Any]], total_rows: list[dict[str, Any]], source_meta: dict[str, ...)` (and 3 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generation_annual_mwh_by_technology.json; JSON file generation_monthly_mwh_by_technology.json; JSON file generation_seasonal_mwh_by_technology.json; JSON file generation_day_night_mwh_by_technology.json; JSON file generation_interconnector_index.json; JSON file generation_interconnector_total_electricity_summary.json; JSON file GENERATION_INTERCONNECTOR_SPLIT_LATEST.json; JSON file _imports.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Gridbot Generation MWh Interconnector Split V6 - File: globalgrid2050/scripts/gridbot_generation_mwh_interconnector_split_v6.py (Python, 242 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_generation_mwh_interconnector_split_v6.py#L1-L242 - Page: https://code.globalgrid2050.com/explore-code/s/0334.html#f2 - Synopsis: A Python command-line tool in the scripts folder that parses time, builds rows and patches index, covering generation annual mwh by technology and generation monthly mwh by technology. - What it achieves (name): It parses time (`parse_time`), builds rows (`build_rows`) and patches index (`patch_index`). Defines `now`, `read`, `write` and 12 more. It reads `generation_annual_mwh_by_technology.json`. It accepts `--apply` and `--max-output-mb`. - What it does: It draws generation annual mwh by technology, generation monthly mwh by technology, generation seasonal mwh by technology and generation day night mwh by technology. Defines 16 functions or classes, including now, read, write, rel, parse_time. Uses libraries __future__, argparse, csv, datetime, json. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generation_interconnector_annual_mwh_by_link_direction.json; JSON file GENERATION_MWH_INTERCONNECTOR_SPLIT_V6_LATEST.json; JSON file generation_annual_mwh_by_technology.json; JSON file generation_monthly_mwh_by_technology.json; JSON file generation_seasonal_mwh_by_technology.json; JSON file generation_day_night_mwh_by_technology.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Generation MWh Interconnector Split V6 Workflow (globalgrid2050). - Signatures: `now()`; `read(path: Path)`; `write(path: Path, text: str)`; `rel(path: Path)`; `parse_time(v)`; `fnum(v)`; `source_files()`; `interval_hours(items, i)`; `build_rows()`; `payload(rows,audit)`; `patch_index(text)`; `planned(rows,audit)`; `changed_files(planned_map)`; `latest_legacy()`; `make_report(data)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generation_interconnector_annual_mwh_by_link_direction.json; JSON file GENERATION_MWH_INTERCONNECTOR_SPLIT_V6_LATEST.json; JSON file generation_annual_mwh_by_technology.json; JSON file generation_monthly_mwh_by_technology.json; JSON file generation_seasonal_mwh_by_technology.json; JSON file generation_day_night_mwh_by_technology.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Generation MWh Interconnector UI Guard - File: globalgrid2050/scripts/gridbot_generation_mwh_interconnector_ui_guard.py (Python, 379 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_generation_mwh_interconnector_ui_guard.py#L1-L379 - Page: https://code.globalgrid2050.com/explore-code/s/0335.html#f1 - Synopsis: A Python command-line tool in the scripts folder that loads rows, replaces warning and patches index, covering generation annual mwh by technology and generation monthly mwh by technology, using SHA-256. - What it achieves (comment): It loads rows (`load_rows`), replaces warning (`replace_warning`) and patches index (`patch_index`). GridBot guard: Generation Output in MWh — interconnector bucket UI removal (V6_2). It accepts `--apply`. - What it does: It draws generation annual mwh by technology, generation monthly mwh by technology, generation seasonal mwh by technology and generation day night mwh by technology. Defines 15 functions or classes, including now, read, write, sha256, load_rows. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generation_annual_mwh_by_technology.json; JSON file generation_monthly_mwh_by_technology.json; JSON file generation_seasonal_mwh_by_technology.json; JSON file generation_day_night_mwh_by_technology.json; JSON file GENERATION_MWH_INTERCONNECTOR_UI_GUARD_LATEST.json; command-line arguments. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Gridbot Generation MWh Active V6 Source Audit (globalgrid2050); GlobalGrid2050 Gridbot Generation MWh Interconnector UI Guard Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Gridbot Generation MWh Active V6 Source Audit Workflow (globalgrid2050). - Signatures: `now()`; `read(path: Path)`; `write(path: Path, content: str)`; `sha256(path: Path)`; `load_rows(path: Path)`; `replace_warning(index_text: str)`; `bump_cache(index_text: str)`; `patch_index(index_text: str)`; `node_check_text(source: str, label: str)`; `annual_totals(rows: list[dict[str, Any]])`; `planned_files()`; `changed_paths_for(planned: dict[Path, str])`; `collect_state(mode: str, planned: dict[Path, str], before_json_hashes: dict[str, str])`; `render_report(payload: dict[str, Any])`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generation_annual_mwh_by_technology.json; JSON file generation_monthly_mwh_by_technology.json; JSON file generation_seasonal_mwh_by_technology.json; JSON file generation_day_night_mwh_by_technology.json; JSON file GENERATION_MWH_INTERCONNECTOR_UI_GUARD_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 2; mentioned by 0 ### GlobalGrid2050 Gridbot Interconnector Bar UI Final - File: globalgrid2050/scripts/gridbot_interconnector_bar_ui_final.py (Python, 140 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_interconnector_bar_ui_final.py#L1-L140 - Page: https://code.globalgrid2050.com/explore-code/s/0335.html#f2 - Synopsis: A Python command-line tool in the scripts folder that patches index (`patch_index`) and writes report (`write_report`) (units: MWh), covering interconnectors, solar and wind. - What it achieves (comment): It is built from the now step (`now`), the rel step (`rel`) and the read step (`read`). `/uk_energy_tracking_v6/generation_history/`. It accepts `--apply`. - What it does: It draws interconnectors, solar and wind. Defines 9 functions or classes, including now, rel, read, write, patch_index. Uses libraries __future__, argparse, datetime, json, re. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnector'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, solar, wind. - Inputs & outputs: In: JSON file INTERCONNECTOR_BAR_UI_FINAL_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Interconnector Bar UI Match Workflow (globalgrid2050). - Signatures: `now()`; `rel(p: Path)`; `read(p: Path)`; `write(p: Path, t: str)`; `patch_index(text: str)`; `node_check(src: str, label: str)`; `checks(index_text: str)`; `write_report(report)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file INTERCONNECTOR_BAR_UI_FINAL_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Interconnector Bar UI Match - File: globalgrid2050/scripts/gridbot_interconnector_bar_ui_match.py (Python, 185 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_interconnector_bar_ui_match.py#L1-L185 - Page: https://code.globalgrid2050.com/explore-code/s/0336.html#f1 - Synopsis: A Python command-line tool in the scripts folder that writes report (`write_report`) (units: MWh), covering interconnectors, solar and wind. - What it achieves (comment): It is built from the now step (`now`), the rel step (`rel`) and the read step (`read`). `/uk_energy_tracking_v6/generation_history/`. It accepts `--apply`. - What it does: It draws interconnectors, solar and wind. Defines 8 functions or classes, including now, rel, read, write, node_check. Uses libraries __future__, argparse, datetime, json, subprocess. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnector'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, solar, wind. - Inputs & outputs: In: JSON file INTERCONNECTOR_BAR_UI_MATCH_LATEST.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `now()`; `rel(p: Path)`; `read(p: Path)`; `write(p: Path, t: str)`; `node_check(src: str, label: str)`; `checks()`; `write_report(report)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file INTERCONNECTOR_BAR_UI_MATCH_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Interconnector Mobile UI Repair - File: globalgrid2050/scripts/gridbot_interconnector_mobile_ui_repair.py (Python, 175 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_interconnector_mobile_ui_repair.py#L1-L175 - Page: https://code.globalgrid2050.com/explore-code/s/0336.html#f2 - Synopsis: A Python command-line tool in the scripts folder that writes report (`write_report`) (units: MWh), covering interconnectors, solar and wind. - What it achieves (comment): It is built from the now step (`now`), the rel step (`rel`) and the read step (`read`). `/uk_energy_tracking_v6/generation_history/`. It accepts `--apply`. - What it does: It draws interconnectors, solar and wind. Defines 8 functions or classes, including now, rel, read, write, node_check. Uses libraries __future__, argparse, datetime, json, re. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnector'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, solar, wind. - Inputs & outputs: In: JSON file INTERCONNECTOR_MOBILE_UI_REPAIR_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Interconnector Mobile UI Repair Workflow (globalgrid2050). - Signatures: `now()`; `rel(p: Path)`; `read(p: Path)`; `write(p: Path, t: str)`; `node_check(src: str, label: str)`; `checks()`; `write_report(report)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file INTERCONNECTOR_MOBILE_UI_REPAIR_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Remove Benchmark Block from V6 V7 GIS Single-Line Diagram (SLD) - File: globalgrid2050/scripts/remove_benchmark_block_from_v6_v7_gis_sld.py (Python, 116 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/remove_benchmark_block_from_v6_v7_gis_sld.py#L1-L116 - Page: https://code.globalgrid2050.com/explore-code/s/0336.html#f3 - Synopsis: A Python command-line tool in the scripts folder that reads solar and battery storage (BESS). - What it achieves (comment): It removes block (`remove_block`) and is built from the read step (`read`) and the write step (`write`). Remove the entire optional/reference benchmark block from V6 and V7 GIS SLD. - What it does: It loads solar and battery storage (BESS). Defines read, write, remove_block, main. Uses libraries __future__, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Remove Benchmark Block from V6 V7 GIS Single-Line Diagram (SLD) Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `remove_block(text: str)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Remove Project X from V6 V7 GIS Single-Line Diagram (SLD) - File: globalgrid2050/scripts/remove_project_x_from_v6_v7_gis_sld.py (Python, 95 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/remove_project_x_from_v6_v7_gis_sld.py#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/0336.html#f4 - Synopsis: A Python command-line tool in the scripts folder that reads solar and battery storage (BESS). It is built from the read step (`read`) and the write step (`write`). - What it achieves (comment): Remove placeholder Project X wording from V6 and V7 GIS SLD benchmark block. - What it does: It loads solar and battery storage (BESS). Defines read, write, main. Uses libraries __future__, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Remove Project X from V6 V7 GIS Single-Line Diagram (SLD) Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Replace V7 GIS Single-Line Diagram (SLD) Asset Buttons with Pipeline Dropdown - File: globalgrid2050/scripts/replace_v7_gis_sld_asset_buttons_with_pipeline_dropdown.py (Python, 412 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/replace_v7_gis_sld_asset_buttons_with_pipeline_dropdown.py#L1-L412 - Page: https://code.globalgrid2050.com/explore-code/s/0337.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads wind, solar, battery storage (BESS) and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It replaces between (`replace_between`) and is built from the read step (`read`) and the write step (`write`). Replace V7 GIS SLD asset buttons with a pipeline dropdown and capacity range filter. Its code works with 30 MW. - What it does: It loads wind, solar, battery storage (BESS) and the REPD register. Defines read, write, replace_between, main. Uses libraries __future__, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: wind, solar, battery storage (BESS), the REPD register. - Inputs & outputs: In: form fields (user input). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Replace V7 GIS Single-Line Diagram (SLD) Asset Buttons with Pipeline Dropdown Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `replace_between(text: str, start: str, end: str, replacement: str)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Replace V7 GIS Single-Line Diagram (SLD) Asset Buttons with Pipeline Dropdown Status - File: globalgrid2050/scripts/replace_v7_gis_sld_asset_buttons_with_pipeline_dropdown_status.py (Python, 454 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/replace_v7_gis_sld_asset_buttons_with_pipeline_dropdown_status.py#L1-L454 - Page: https://code.globalgrid2050.com/explore-code/s/0338.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads wind, solar, battery storage (BESS) and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It replaces asset row (`replace_asset_row`) and replaces asset functions (`replace_asset_functions`). Replace V7 GIS SLD asset buttons with a pipeline dropdown, status dropdown and MW range filter. Its code works with 30 MW. - What it does: It loads wind, solar, battery storage (BESS) and the REPD register. Defines read, write, replace_asset_row, replace_asset_functions, main. Uses libraries __future__, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: wind, solar, battery storage (BESS), the REPD register. - Inputs & outputs: In: form fields (user input). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Replace V7 GIS Single-Line Diagram (SLD) Asset Buttons with Pipeline Dropdown Status Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `replace_asset_row(text: str)`; `replace_asset_functions(text: str)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### GlobalGrid2050 Test Generate GIS Single-Line Diagram (SLD) Full Code Reports - File: globalgrid2050/scripts/test_generate_gis_sld_full_code_reports.py (Python, 52 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_generate_gis_sld_full_code_reports.py#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/0338.html#f2 - Synopsis: A test in the scripts folder covering battery storage (BESS) and solar. - What it does: It tests battery storage (BESS) and solar. Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Generate GIS Single-Line Diagram (SLD) Full Code Reports Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Test V7 GIS Single-Line Diagram (SLD) Asset Pipeline Dropdown Status - File: globalgrid2050/scripts/test_v7_gis_sld_asset_pipeline_dropdown_status.py (Python, 23 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_v7_gis_sld_asset_pipeline_dropdown_status.py#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/0338.html#f3 - Synopsis: A test in the scripts folder. - What it achieves (comment): Static checks for V7 GIS SLD asset pipeline dropdown with status filter. - What it does: It tests its inputs. Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Replace V7 GIS Single-Line Diagram (SLD) Asset Buttons with Pipeline Dropdown Status (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Replace V7 GIS Single-Line Diagram (SLD) Asset Buttons with Pipeline Dropdown Status Workflow (globalgrid2050). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GlobalGrid2050 Test V7 GIS Single-Line Diagram (SLD) Large Asset Markers and Search - File: globalgrid2050/scripts/test_v7_gis_sld_large_asset_markers_and_search.py (Python, 22 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_v7_gis_sld_large_asset_markers_and_search.py#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0338.html#f4 - Synopsis: A test in the scripts folder covering solar. - What it achieves (comment): Static checks for V7 GIS SLD large asset markers and search. - What it does: It tests solar. Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Large Asset Markers and Search Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Single-Line Diagram (SLD) Sandbox V9 8 - File: globalgrid2050/testcode/202609051152/atlas/cartridges/202609050354-sld-sandbox-v9-8.js (JavaScript, 7382 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/atlas/cartridges/202609050354-sld-sandbox-v9-8.js#L1-L7382 - Page: https://code.globalgrid2050.com/explore-code/s/0339.html#f1 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that maps connection points, GB transmission network, price decade rollup and grid substations, using haversine. - What it achieves (comment): It builds stats (`buildStats`), applies development stage defaults (`applyDevelopmentStageDefaults`) and applies mounting bifacial (`applyMountingBifacial`). ASSEMBLED by `tools/build-cartridge.mjs` from the parts below. Its code works with 400 kV, 132 kV and 33 kV. It responds to click, keydown and touchstart events. - What it does: It maps connection points, GB transmission network, price decade rollup and grid substations. Defines 217 functions or classes, including classOf, scope, survey, ready, worksAt. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV. - Inputs & outputs: In: JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input). Out: browser storage (setItem); interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 110kV, 66kV. - Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `classOf(kv)`; `scope(origin, substations, options)`; `bandsKm(options && options.bandsKm)`; `minimumKv(options && options.minimumKv)`; `nearestCount(options && options.nearestCount)`; `voltages(Array.isArray(substation.kv) ? substation.kv : [])`; `survey(scope)`; `ready(id, scope)`; `worksAt(name)`; `provisional(repdRef)`; `resolve(repdRef, origin, subs)`; `match(Array.isArray(subs) ? subs : [])`; `nearestTransmission(origin, subs)`; `physicalInputs(inputs)`; `buildStats(inputs, o)`; `dcMwp(o.module_count * p.mod_wp)`; `consistency(inputs, stats)`; `stringStats(inputs)`; `inverterAcMaxMva(i.y_invs * i.string_inv_kva)`; `centralStats(inputs)`; `strDcKwp(i.x_mods_c * i.mod_wp_c)`; `financeNumber(value)`; `applyDevelopmentStageDefaults(financeInputs, stageValue)`; `applyMountingBifacial(financeByMode, mode, gcrValue)` (and 15 more) - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input)]; out [browser storage (setItem); interactive map]; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 110kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Single-Line Diagram (SLD) Sandbox - File: globalgrid2050/testcode/202609060300/atlas/cartridges/202609060300-sld-sandbox.js (JavaScript, 7736 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060300/atlas/cartridges/202609060300-sld-sandbox.js#L1-L7736 - Page: https://code.globalgrid2050.com/explore-code/s/0350.html#f1 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that maps grid substations, connection points, GB transmission network and price decade rollup, using haversine. - What it achieves (code): It creates compute observer (`createComputeObserver`), builds stats (`buildStats`) and applies development stage defaults (`applyDevelopmentStageDefaults`). Its `distanceKm` function gives distance km from two coordinate pairs (VEDIC: measure). Its code works with 400 kV, 132 kV and 33 kV. It responds to click, keydown and touchstart events. - What it does: It maps grid substations, connection points, GB transmission network and price decade rollup. Defines 233 functions or classes, including distanceKm, representativePoint, voltagesKv, destinationPoint, initialBearingDeg. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV. - Inputs & outputs: In: GeoJSON file grid_substations.geojson; JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; browser storage (getItem); DuckDB queries; form fields (user input). Out: browser storage (setItem); interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 110kV, 66kV. - Signatures: `distanceKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `representativePoint(geometry)`; `voltagesKv(properties)`; `destinationPoint(lon, lat, km, bearingDeg)`; `initialBearingDeg(lon1, lat1, lon2, lat2)`; `dl(lon2 - lon1)`; `copy(value)`; `finite(value)`; `located(point)`; `sameLocation(a, b)`; `sameEntity(a, b)`; `createComputeObserver({ onEvent = () => {}, now = () => Date.now() } = {})`; `publish(attempt, status, extra = {})`; `get(id)`; `request({ entity, location = null, operation = 'nearest-grid', dataset = null })`; `unsupported(id, reason)`; `run(id, compute)`; `snapshot(id = latest)`; `assess(id, expected)`; `show(record)`; `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `classOf(kv)`; `scope(origin, substations, options)` (and 15 more) - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_substations.geojson; JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; browser storage (getItem); DuckDB queries; form fields (user input)]; out [browser storage (setItem); interactive map]; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 110kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Substation Intelligence - File: globalgrid2050/testcode/202609060528/atlas/cartridges/202609060528-substation-intelligence.js (JavaScript, 5420 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060528/atlas/cartridges/202609060528-substation-intelligence.js#L1-L5420 - Page: https://code.globalgrid2050.com/explore-code/s/0361.html#f2 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that maps elizabeth line and london underground, using haversine and SHA-256, and uses data from the ventus-grid-engine, data-federation-map-for-GlobalGrid2050-all-repos and spiders repositories. - What it achieves (code): It restores layers (`restoreLayers`), saves outline (`saveOutline`) and reads outline (`readOutline`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). Its code works with 400 kV and 100 MVA. It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 232 functions or classes, including close, open, dockLayers, restoreLayers, show. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json. Out: CSV file gridatlas-polygon-vertices.csv; downloaded file gridatlas-polygon-; downloaded file gridatlas-polygon-vertices.csv; downloaded file gridatlas-; downloaded file globalgrid2050-map-; browser storage (setItem); interactive map; canvas drawing. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Signatures: `close()`; `open(map, controlId)`; `dockLayers()`; `restoreLayers()`; `show(html)`; `clearValues()`; `validOutline(points)`; `saveOutline(points)`; `readOutline()`; `clearOutline()`; `analyzeOutline(points)`; `fail(code,message)`; `orient(a,b,c)`; `on(a,b,p)`; `exportOutline(points, measurements)`; `importOutline(text)`; `createHistory(limit=80)`; `copy(points)`; `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - domain_stage: experimental · commercial_user: ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of code-generator/apps/substation-finder/Si/202609060537-substation-intelligence.js) · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json]; out [CSV file gridatlas-polygon-vertices.csv; downloaded file gridatlas-polygon-; downloaded file gridatlas-polygon-vertices.csv; downloaded file gridatlas-; downloaded file globalgrid2050-map-; browser storage (setItem); interactive map; canvas drawing]; crs [WGS84 / EPSG:4326]; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Particles — 12 Substations Line Page - File: globalgrid2050/testcode/particles/12-substations-line-142743/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/12-substations-line-142743/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0368.html#f2 - Published at: https://globalgrid2050.com/testcode/particles/12-substations-line-142743/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 covering substations. Published at https://globalgrid2050.com/testcode/particles/12-substations-line-142743/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/12-substations-line-142743/. - domain_stage: experimental · commercial_user: ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 21 Substations Line Page - File: globalgrid2050/testcode/particles/21-substations-line-335499/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/21-substations-line-335499/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0368.html#f3 - Published at: https://globalgrid2050.com/testcode/particles/21-substations-line-335499/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 covering substations. Published at https://globalgrid2050.com/testcode/particles/21-substations-line-335499/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/21-substations-line-335499/. - domain_stage: experimental · commercial_user: ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 30 Substations Line Page - File: globalgrid2050/testcode/particles/30-substations-line-185459/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/30-substations-line-185459/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0368.html#f4 - Published at: https://globalgrid2050.com/testcode/particles/30-substations-line-185459/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 covering substations. Published at https://globalgrid2050.com/testcode/particles/30-substations-line-185459/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/30-substations-line-185459/. - domain_stage: experimental · commercial_user: ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Wafer Development Environment — Voltage Drop Page - File: globalgrid2050/testcode/wafer-development-environment/202609170042-voltage-drop/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609170042-voltage-drop/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/0368.html#f5 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609170042-voltage-drop/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170042-voltage-drop/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 6 files: Testcode — Wafer Development Environment Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); and 2 more. Reached from 115 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170042-voltage-drop/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 3, stylesheet 1); used by 6; mentioned by 0 ### Atlas Interconnector Link V9 8 - File: globalgrid2050/uk_renewables_pipeline/202609071221/scripts/core/atlas-interconnector-link-v9-8.js (JavaScript, 75 lines) · role energy-data · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609071221/scripts/core/atlas-interconnector-link-v9-8.js#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0369.html#f1 - Synopsis: A JavaScript module in the core folder of GlobalGrid2050 that works with interconnectors and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It builds atlas interconnector link v9 (`buildAtlasInterconnectorLinkV9_8`) and is built from the interconnector identity v9 8 helper (`interconnectorIdentityV9_8`). A REPD row's MAP link carries `repd_ref`, and the Atlas resolves the project from the register. - What it does: It calculates interconnectors and the REPD register. Defines interconnectorIdentityV9_8, buildAtlasInterconnectorLinkV9_8, interconnectorMapNoteV9_8, interconnectorMapUnavailableReasonV9_8. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. README: "Their MAP link carries the link's own identity - `interconnector=INTNED`, `technology=interconnector` - against the same canonical Atlas receiver as every REPD row, and never a `repd_ref`." - Downstream impact: Used directly by 8 files: Check V9 8 (globalgrid2050); Projects V9 9 (globalgrid2050); Check V9 9 (globalgrid2050); Check V9 10 (globalgrid2050); and 4 more. Reached from 15 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 Pn V973 Capacity Reports Workflow (globalgrid2050). - Signatures: `export interconnectorIdentityV9_8(record)`; `export buildAtlasInterconnectorLinkV9_8(record)`; `export interconnectorMapNoteV9_8(record)`; `export interconnectorMapUnavailableReasonV9_8(record)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 8; mentioned by 0 ### Interconnectors V9 8 - File: globalgrid2050/uk_renewables_pipeline/202609071221/scripts/data/interconnectors-v9-8.js (JavaScript, 52 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609071221/scripts/data/interconnectors-v9-8.js#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/0369.html#f2 - Synopsis: A JavaScript module in the data folder of GlobalGrid2050 that fetches interconnectors, using SHA-256. It fetches text (`fetchText`) and loads interconnectors v9 (`loadInterconnectorsV9_8`). - What it achieves (comment): Loads the interconnector data product, and refuses anything but the pinned one. - What it does: It fetches interconnectors. Defines invariant, fetchText, sha256Hex, loadInterconnectorsV9_8. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnectors'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 2 files: Projects V9 9 (globalgrid2050); Projects V9 8 (globalgrid2050). Reached from 12 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 Pn V973 Capacity Reports Workflow (globalgrid2050). - Signatures: `export loadInterconnectorsV9_8()`; `invariant(condition, message)`; `fetchText(path)`; `sha256Hex(text)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Substation Picker - File: graphics-engines-open-source/web/substation-picker.mjs (JavaScript, 45 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/substation-picker.mjs#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0369.html#f3 - Published at: https://ventusltd.github.io/graphics-engines-open-source/web/ - Synopsis: A JavaScript module in Graphics Engines Open Source covering substations and cables, using SHA-256. Served with the page at https://ventusltd.github.io/graphics-engines-open-source/web/. - What it achieves (name): Defines `make` and `refresh`. It responds to input and click events. - What it does: It draws substations and cables. Defines make, refresh. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, cables. - Downstream impact: Used directly by 1 file: Graphics Engines Open Source — Index Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/). Reached from 1 other entry point, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/). It is itself an entry point, published at https://ventusltd.github.io/graphics-engines-open-source/web/. - Signatures: `make(tag, text)`; `refresh()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Neon Substation Links V9 6 - File: gridatlas/atlas/cartridges/202608311910-neon-substation-links-v9-6.js (JavaScript, 707 lines) · role geodesy · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/cartridges/202608311910-neon-substation-links-v9-6.js#L1-L707 - Page: https://code.globalgrid2050.com/explore-code/s/0369.html#f4 - Synopsis: A JavaScript file in the cartridges folder of GridAtlas that maps grid substations, 33kV, solar and wind, using haversine. - What it achieves (comment): It loads substations (`loadSubstations`), removes card block (`removeCardBlock`) and stops animation (`stopAnimation`). Slot: replace-script for… Its code works with 33 kV and 11 kV. It responds to keydown and visibilitychange events. - What it does: It maps grid substations, 33kV, solar and wind. Defines 24 functions or classes, including distanceKm, voltagesKv, representativePoint, loadSubstations, nearestSubstations. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 33kV, solar, wind, 11kV. - Inputs & outputs: In: GeoJSON file grid_substations.geojson. Out: interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 33kV, 11kV. - Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `distanceKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `voltagesKv(properties)`; `representativePoint(geometry)`; `loadSubstations()`; `nearestSubstations(lon, lat, subs)`; `nearestProjects(map, lon, lat)`; `installStyles()`; `escapeHtml(value)`; `caveatHtml()`; `cardBlockHtml(links, direction)`; `injectIntoCard(links, direction)`; `removeCardBlock()`; `emptyCollection()`; `ensureLayers(map)`; `stopAnimation()`; `startAnimation(map)`; `step()`; `clearLinks()`; `drawLinks(map, origin, name, tech, links, direction)`; `interactiveLayerIds(map)`; `install(map)`; `attach(map)`; `boot()` (and 1 more) - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_substations.geojson]; out [interactive map]; crs [WGS84 / EPSG:4326]; voltages [33kV, 11kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Single-Line Diagram (SLD) Sandbox V9 8 - File: gridatlas/atlas/cartridges/202611180026-sld-sandbox-v9-8.js (JavaScript, 9047 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/cartridges/202611180026-sld-sandbox-v9-8.js#L1-L9047 - Page: https://code.globalgrid2050.com/explore-code/s/0370.html#f2 - Synopsis: A JavaScript file in the cartridges folder of GridAtlas that maps connection points, GB transmission network, price decade rollup and grid substations, using haversine. - What it achieves (comment): It creates compute observer (`createComputeObserver`), describes compute receipt (`describeComputeReceipt`) and builds stats (`buildStats`). Receipt and distance owner: Ventusltd/ventus-grid-engine. Its code works with 400 kV, 132 kV and 33 kV. It responds to click, keydown and touchstart events. - What it does: It maps connection points, GB transmission network, price decade rollup and grid substations. Defines 276 functions or classes, including distanceKm, distanceKm, representativePoint, voltagesKv, destinationPoint. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV. - Inputs & outputs: In: JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; GeoJSON file grid_substations.geojson; JSON file neso-connection-sites.lean.json; GeoJSON file interconnectors.geojson; browser storage (getItem); DuckDB queries. Out: browser storage (setItem); interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 110kV, 66kV. - Signatures: `distanceKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `representativePoint(geometry)`; `voltagesKv(properties)`; `destinationPoint(lon, lat, km, bearingDeg)`; `initialBearingDeg(lon1, lat1, lon2, lat2)`; `dl(lon2 - lon1)`; `copy(value)`; `finite(value)`; `located(point)`; `sameLocation(a, b)`; `sameEntity(a, b)`; `createComputeObserver({ onEvent = () => {}, now = () => Date.now() } = {})`; `publish(attempt, status, extra = {})`; `get(id)`; `request({ entity, location = null, operation = 'nearest-grid', dataset = null })`; `unsupported(id, reason)`; `run(id, compute)`; `snapshot(id = latest)`; `assess(id, expected)`; `describeComputeReceipt(receipt)`; `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `classOf(kv)`; `scope(origin, substations, options)` (and 15 more) - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; GeoJSON file grid_substations.geojson; JSON file neso-connection-sites.lean.json; GeoJSON file interconnectors.geojson; browser storage (getItem); DuckDB queries]; out [browser storage (setItem); interactive map]; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 110kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Substation Intelligence V9 63 - File: gridatlas/atlas/cartridges/202611180026-substation-intelligence-v9-63.js (JavaScript, 8609 lines) · role geodesy · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/cartridges/202611180026-substation-intelligence-v9-63.js#L1-L8609 - Page: https://code.globalgrid2050.com/explore-code/s/0383.html#f2 - Synopsis: A JavaScript file in the cartridges folder of GridAtlas that maps elizabeth line, using haversine and SHA-256 and uses data from the Ventus Grid Engine, data-federation-map-for-GlobalGrid2050-all-repos and spiders repositories. - What it achieves (comment): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). ASSEMBLED by `tools/build-cartridge.mjs` from the parts below. Its code works with 400 kV, 100 MVA and 132 kV. It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 238 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 750kV, 400kV, 275kV, 132kV, 66kV, 33kV. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; data source: npm data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson. Out: downloaded file gridatlas-; downloaded file globalgrid2050-grid-atlas-; interactive map; canvas drawing; SVG drawing. Voltage levels named: 750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Downstream impact: Used directly by 4 files: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Map Removal Test (gridatlas); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Genome Workflow (ventus-grid-engine). - Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawEdgeDots(i)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; data source: npm data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson]; out [downloaded file gridatlas-; downloaded file globalgrid2050-grid-atlas-; interactive map; canvas drawing; SVG drawing]; crs []; voltages [750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 2 estate files (estate-url 2); used by 4; mentioned by 1 ### Substation Lookup - File: gridatlas/atlas/modules/202609011950-substation-lookup.js (JavaScript, 82 lines) · role electrical · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609011950-substation-lookup.js#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/0395.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas covering substations. It is built from the normalise step (`normalise`) and the index step (`index`). - What it achieves (comment): Finding a substation by the name someone wrote, and by position. - What it does: It lists and searches substations. Defines normalise, index. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 400kV, 275kV, 132kV, 66kV, 33kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `normalise(name)`; `index(points)`; `minimumKv(options && options.minimumKv)`; `limit(options && options.limit)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Map Click Network - File: gridatlas/atlas/modules/202609012230-map-click-network.js (JavaScript, 57 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012230-map-click-network.js#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0395.html#f3 - Synopsis: A JavaScript file in the atlas folder of GridAtlas covering transformers and interconnectors. It is built from the index step (`index`) and the select step (`select`). - What it achieves (comment): Reads data-grid-GB's precomputed, provenance-bound one-hop projection. - What it does: It lists and searches transformers and interconnectors. Defines index, at, select. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, interconnectors. - Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `index(product)`; `at(siteCode, { connectionKv } = {})`; `select(rows)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Network Topology - File: gridatlas/atlas/modules/202609012245-network-topology.js (JavaScript, 384 lines) · role render · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012245-network-topology.js#L1-L384 - Page: https://code.globalgrid2050.com/explore-code/s/0396.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that works with physical units (`physicalUnits`) (units: kV, MVA), covering transformers, 132kV and 400kV. - What it achieves (comment): It is built from the voltage of helper (`voltageOf`), the band key helper (`bandKey`) and the ratings of helper (`ratingsOf`). What the network operator publishes about ONE site: its nodes, the circuits that land on them, the transformers between them, the changes it has published for future years, and which other sites those circuits reach. Its code works with 100 MVA, 132 kV and 400 kV. - What it does: It lists and searches transformers, 132kV and 400kV. Defines 11 functions or classes, including voltageOf, bandKey, ratingsOf, physicalUnits, parametersOf. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'topology'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, 132kV, 400kV. - Inputs & outputs: Voltage levels named: 400kV, 132kV. - Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `voltageOf(node)`; `bandKey(kv)`; `ratingsOf(row)`; `physicalUnits(records)`; `parametersOf(row)`; `index(product)`; `land(nodeName, entry)`; `siteOf(nodeName)`; `graph()`; `resolve(key)`; `at(key, options)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 132kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Single-Line Diagram (SLD) Styles - File: gridatlas/atlas/modules/202609040400-sld-styles.js (JavaScript, 301 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609040400-sld-styles.js#L1-L301 - Page: https://code.globalgrid2050.com/explore-code/s/0396.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas. - What it achieves (comment): SLD runtime styles, mechanically lifted from the v9.106 sandbox body. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `neonBlock(BLOCK_CLASS)`; `bootStatus(STATUS_ID)`; `versionLedger(LEDGER_ID)`; `mobileTray(TRAY_ID)`; `gbConditions(GB_ID)`; `sldPanel(PANEL_ID)`; `fullscreenLayers()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Without Layout - File: gridatlas/atlas/modules/202611222130-sld-without-layout.js (JavaScript, 8986 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611222130-sld-without-layout.js#L1-L8986 - Page: https://code.globalgrid2050.com/explore-code/s/0397.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps connection points, GB transmission network, price decade rollup and grid substations, using haversine. - What it achieves (comment): It creates compute observer (`createComputeObserver`), describes compute receipt (`describeComputeReceipt`) and builds stats (`buildStats`). Receipt and distance owner: Ventusltd/ventus-grid-engine. Its code works with 400 kV, 132 kV and 33 kV. It responds to click, keydown and touchstart events. - What it does: It maps connection points, GB transmission network, price decade rollup and grid substations. Defines 273 functions or classes, including distanceKm, distanceKm, representativePoint, voltagesKv, destinationPoint. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'layout'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV. - Inputs & outputs: In: JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; GeoJSON file grid_substations.geojson; JSON file neso-connection-sites.lean.json; GeoJSON file interconnectors.geojson; browser storage (getItem); DuckDB queries. Out: browser storage (setItem); interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 110kV, 66kV. - Signatures: `distanceKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `representativePoint(geometry)`; `voltagesKv(properties)`; `destinationPoint(lon, lat, km, bearingDeg)`; `initialBearingDeg(lon1, lat1, lon2, lat2)`; `dl(lon2 - lon1)`; `copy(value)`; `finite(value)`; `located(point)`; `sameLocation(a, b)`; `sameEntity(a, b)`; `createComputeObserver({ onEvent = () => {}, now = () => Date.now() } = {})`; `publish(attempt, status, extra = {})`; `get(id)`; `request({ entity, location = null, operation = 'nearest-grid', dataset = null })`; `unsupported(id, reason)`; `run(id, compute)`; `snapshot(id = latest)`; `assess(id, expected)`; `describeComputeReceipt(receipt)`; `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `classOf(kv)`; `scope(origin, substations, options)` (and 15 more) - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; GeoJSON file grid_substations.geojson; JSON file neso-connection-sites.lean.json; GeoJSON file interconnectors.geojson; browser storage (getItem); DuckDB queries]; out [browser storage (setItem); interactive map]; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 110kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### UKPN Secondary Substations - File: gridatlas/atlas/modules/202612010912-ukpn-secondary-substations.js (JavaScript, 282 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612010912-ukpn-secondary-substations.js#L1-L282 - Page: https://code.globalgrid2050.com/explore-code/s/0410.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas covering grid UKPN secondary, using SHA-256 and uses data from UK Power Networks open data and the data-grid-GB repository. - What it achieves (comment): It registers pinned (`registerPinned`) and binds map (`bindMap`). Native `ukConfig` extension, pinned UKPN transformer archive. Its code works with 11 kV and 400 kV. It responds to change events. - What it does: It draws grid UKPN secondary, UKPN transformers, 11kV and substations. Defines 21 functions or classes, including sharedDatabase, registerPinned, detailsFor, scalar, normalize. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV, substations, 400kV. - Inputs & outputs: In: data source: data-grid-gb data; data source: UK Power Networks open data; Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet; DuckDB queries. Voltage levels named: 400kV, 11kV. - Downstream impact: Used directly by 2 files: Build (gridatlas); Regional Interface Test (gridatlas). Reached from 3 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); CI PR Gate (gridatlas); Map Promotion Rehearsal (gridatlas). - Signatures: `sharedDatabase()`; `registerPinned(database,name)`; `detailsFor(site)`; `scalar(v)`; `normalize(raw)`; `unpack(bytes)`; `extend(options)`; `installZoomGate()`; `controls(id)`; `main()`; `eligible()`; `note(input,message)`; `sync()`; `augmentPopup()`; `line(label,value)`; `current()`; `add(label,value)`; `bindMap()`; `attach()`; `load()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: data-grid-gb data; data source: UK Power Networks open data; Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet; DuckDB queries]; out []; crs []; voltages [400kV, 11kV] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Single-Line Diagram (SLD) Sandbox Body - File: gridatlas/atlas/parts/202609012045-sld-sandbox-body.js (JavaScript, 5782 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202609012045-sld-sandbox-body.js#L1-L5782 - Page: https://code.globalgrid2050.com/explore-code/s/0410.html#f2 - Synopsis: A JavaScript file in the parts folder of GridAtlas that maps grid substations, solar, transformers and 400kV, using haversine. - What it achieves (comment): It resolves declared connection (`resolveDeclaredConnection`), opens corridor sheet (`openCorridorSheet`) and runs grid point (`runGridAtPoint`). GridAtlas cartridge — neon substation links and the SLD layout sandbox. Its code works with 400 kV, 33 kV and 132 kV. It responds to click, keydown and touchstart events. - What it does: It maps grid substations, solar, transformers and 400kV. Defines 183 functions or classes, including coverage, isProjectTech, provisionalDeclaredConnection, resolveDeclaredConnection, nearestTransmission. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, transformers, 400kV, 750kV, 415kV, 275kV. - Inputs & outputs: In: GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input). Out: browser storage (setItem); interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 66kV, 33kV. - Signatures: `GEODESY(window.__GRIDATLAS_MODULES__ || {})`; `isProjectTech(tech)`; `DECLARED(window.__GRIDATLAS_MODULES__ || {})`; `provisionalDeclaredConnection(repdRef)`; `resolveDeclaredConnection(repdRef, origin, subs)`; `nearestTransmission(origin, subs)`; `corridorBeside(km)`; `module(() => { try { return window.__GRIDATLAS_MODULES__?.corridorEstimate || null; } catch (_) { return null; } })`; `corridorTargets()`; `corridorAction()`; `installCorridorSheet()`; `close()`; `openCorridorSheet(sheet)`; `armCorridorGestures(map)`; `canvas(() => { try { return map.getCanvas ? map.getCanvas() : null; } catch (_) { return null; } })`; `cancel()`; `nearestScope(n)`; `network(() => { try { return window.__GRIDATLAS_NETWORK__?.coverage?.(400) || null; } catch (_) { return null; } })`; `declaredBlockHtml(toSubstations)`; `published(() => { try { return window.__GRIDATLAS_NETWORK__?.summarise?.( networkName, { connectionKv, units: publishedUnits })...)`; `PINS(window.__GRIDATLAS_MODULES__ || {})`; `reflect()`; `reflectFullscreen()`; `topologyModule()`; `ensureTopology()` (and 15 more) - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input)]; out [browser storage (setItem); interactive map]; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 66kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Substation Intelligence Body - File: gridatlas/atlas/parts/202609012350-substation-intelligence-body.js (JavaScript, 314 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202609012350-substation-intelligence-body.js#L1-L314 - Page: https://code.globalgrid2050.com/explore-code/s/0419.html#f1 - Synopsis: A JavaScript file in the parts folder of GridAtlas that fetches transformers, substations, 400kV and 132kV, using haversine. - What it achieves (comment): It is built from the normalise step (`normalise`), the ready step (`ready`) and the eligible step (`eligible`). PART 2 - the network, as its operator publishes it. Its code works with 400 kV and 132 kV. - What it does: It fetches transformers, substations, 400kV and 132kV. Defines normalise, ready, eligible, unitCount. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, substations, 400kV, 132kV, 275kV, 66kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Signatures: `PINS(window.__GRIDATLAS_MODULES__ || {})`; `GEODESY(window.__GRIDATLAS_MODULES__ || {})`; `normalise(name)`; `eligible(point)`; `units(options && options.units)`; `unitCount(field)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Sandbox Arrival Identity - File: gridatlas/atlas/parts/202609040229-sld-sandbox-arrival-identity.js (JavaScript, 5948 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202609040229-sld-sandbox-arrival-identity.js#L1-L5948 - Page: https://code.globalgrid2050.com/explore-code/s/0419.html#f2 - Synopsis: A JavaScript file in the parts folder of GridAtlas that maps grid substations, solar, transformers and 400kV, using haversine. - What it achieves (comment): It resolves declared connection (`resolveDeclaredConnection`), opens corridor sheet (`openCorridorSheet`) and runs grid point (`runGridAtPoint`). GridAtlas cartridge — neon substation links and the SLD layout sandbox. Its code works with 400 kV, 33 kV and 132 kV. It responds to click, keydown and touchstart events. - What it does: It maps grid substations, solar, transformers and 400kV. Defines 187 functions or classes, including coverage, isProjectTech, provisionalDeclaredConnection, resolveDeclaredConnection, nearestTransmission. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, transformers, 400kV, 750kV, 415kV, 275kV. - Inputs & outputs: In: GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input). Out: browser storage (setItem); interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 66kV, 33kV. - Signatures: `GEODESY(window.__GRIDATLAS_MODULES__ || {})`; `isProjectTech(tech)`; `DECLARED(window.__GRIDATLAS_MODULES__ || {})`; `provisionalDeclaredConnection(repdRef)`; `resolveDeclaredConnection(repdRef, origin, subs)`; `nearestTransmission(origin, subs)`; `corridorBeside(km)`; `module(() => { try { return window.__GRIDATLAS_MODULES__?.corridorEstimate || null; } catch (_) { return null; } })`; `corridorTargets()`; `corridorAction()`; `installCorridorSheet()`; `close()`; `openCorridorSheet(sheet)`; `armCorridorGestures(map)`; `canvas(() => { try { return map.getCanvas ? map.getCanvas() : null; } catch (_) { return null; } })`; `cancel()`; `nearestScope(n)`; `network(() => { try { return window.__GRIDATLAS_NETWORK__?.coverage?.(400) || null; } catch (_) { return null; } })`; `declaredBlockHtml(toSubstations)`; `published(() => { try { return window.__GRIDATLAS_NETWORK__?.summarise?.( networkName, { connectionKv, units: publishedUnits })...)`; `PINS(window.__GRIDATLAS_MODULES__ || {})`; `reflect()`; `reflectFullscreen()`; `topologyModule()`; `ensureTopology()` (and 15 more) - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/parts/202609040400-sld-sandbox-style-hoist.js) · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input)]; out [browser storage (setItem); interactive map]; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 66kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Sandbox Style Hoist - File: gridatlas/atlas/parts/202609040400-sld-sandbox-style-hoist.js (JavaScript, 5692 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202609040400-sld-sandbox-style-hoist.js#L1-L5692 - Page: https://code.globalgrid2050.com/explore-code/s/0428.html#f1 - Synopsis: A JavaScript file in the parts folder of GridAtlas that maps grid substations, solar, transformers and 400kV, using haversine. - What it achieves (comment): It resolves declared connection (`resolveDeclaredConnection`), opens corridor sheet (`openCorridorSheet`) and runs grid point (`runGridAtPoint`). GridAtlas cartridge — neon substation links and the SLD layout sandbox. Its code works with 400 kV, 33 kV and 132 kV. It responds to click, keydown and touchstart events. - What it does: It maps grid substations, solar, transformers and 400kV. Defines 187 functions or classes, including coverage, isProjectTech, provisionalDeclaredConnection, resolveDeclaredConnection, nearestTransmission. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, transformers, 400kV, 750kV, 415kV, 275kV. - Inputs & outputs: In: GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input). Out: browser storage (setItem); interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 66kV, 33kV. - Signatures: `SLD_STYLES(window.__GRIDATLAS_MODULES__ || {})`; `GEODESY(window.__GRIDATLAS_MODULES__ || {})`; `isProjectTech(tech)`; `DECLARED(window.__GRIDATLAS_MODULES__ || {})`; `provisionalDeclaredConnection(repdRef)`; `resolveDeclaredConnection(repdRef, origin, subs)`; `nearestTransmission(origin, subs)`; `corridorBeside(km)`; `module(() => { try { return window.__GRIDATLAS_MODULES__?.corridorEstimate || null; } catch (_) { return null; } })`; `corridorTargets()`; `corridorAction()`; `installCorridorSheet()`; `close()`; `openCorridorSheet(sheet)`; `armCorridorGestures(map)`; `canvas(() => { try { return map.getCanvas ? map.getCanvas() : null; } catch (_) { return null; } })`; `cancel()`; `nearestScope(n)`; `network(() => { try { return window.__GRIDATLAS_NETWORK__?.coverage?.(400) || null; } catch (_) { return null; } })`; `declaredBlockHtml(toSubstations)`; `published(() => { try { return window.__GRIDATLAS_NETWORK__?.summarise?.( networkName, { connectionKv, units: publishedUnits })...)`; `PINS(window.__GRIDATLAS_MODULES__ || {})`; `reflect()`; `reflectFullscreen()`; `topologyModule()` (and 15 more) - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input)]; out [browser storage (setItem); interactive map]; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 66kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Sandbox Technology Buckets - File: gridatlas/atlas/parts/202609041234-sld-sandbox-technology-buckets.js (JavaScript, 5885 lines) · role geodesy · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202609041234-sld-sandbox-technology-buckets.js#L1-L5885 - Page: https://code.globalgrid2050.com/explore-code/s/0436.html#f2 - Synopsis: A JavaScript file in the parts folder of GridAtlas that maps grid substations, solar, wind and transformers, using haversine. - What it achieves (comment): It resolves declared connection (`resolveDeclaredConnection`), opens corridor sheet (`openCorridorSheet`) and runs grid point (`runGridAtPoint`). GridAtlas cartridge — neon substation links and the SLD layout sandbox. Its code works with 400 kV, 33 kV and 132 kV. It responds to click, keydown and touchstart events. - What it does: It maps grid substations, solar, wind and transformers. Defines 191 functions or classes, including coverage, isProjectTech, layerIdForBucket, provisionalDeclaredConnection, resolveDeclaredConnection. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, wind, transformers, 750kV, 415kV, 400kV. - Inputs & outputs: In: GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input). Out: browser storage (setItem); interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 66kV, 33kV. - Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `SLD_STYLES(window.__GRIDATLAS_MODULES__ || {})`; `GEODESY(window.__GRIDATLAS_MODULES__ || {})`; `isProjectTech(tech)`; `layerIdForBucket(tech)`; `DECLARED(window.__GRIDATLAS_MODULES__ || {})`; `provisionalDeclaredConnection(repdRef)`; `resolveDeclaredConnection(repdRef, origin, subs)`; `nearestTransmission(origin, subs)`; `corridorBeside(km)`; `module(() => { try { return window.__GRIDATLAS_MODULES__?.corridorEstimate || null; } catch (_) { return null; } })`; `corridorTargets()`; `corridorAction()`; `installCorridorSheet()`; `close()`; `openCorridorSheet(sheet)`; `armCorridorGestures(map)`; `canvas(() => { try { return map.getCanvas ? map.getCanvas() : null; } catch (_) { return null; } })`; `cancel()`; `nearestScope(n)`; `network(() => { try { return window.__GRIDATLAS_NETWORK__?.coverage?.(400) || null; } catch (_) { return null; } })`; `declaredBlockHtml(toSubstations)`; `published(() => { try { return window.__GRIDATLAS_NETWORK__?.summarise?.( networkName, { connectionKv, units: publishedUnits })...)`; `PINS(window.__GRIDATLAS_MODULES__ || {})`; `coarse(() => { try { return !!(window.matchMedia && window.matchMedia('(pointer: coarse)').matches); } catch (_) { return fa...)`; `reflect()` (and 15 more) - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_substations.geojson; browser storage (getItem); DuckDB queries; form fields (user input)]; out [browser storage (setItem); interactive map]; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 66kV, 33kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Fetch Far End Converters - File: gridatlas/tools/interconnectors/fetch_far_end_converters.py (Python, 377 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/interconnectors/fetch_far_end_converters.py#L1-L377 - Page: https://code.globalgrid2050.com/explore-code/s/0445.html#f1 - Synopsis: A Python command-line tool in the interconnectors folder of GridAtlas that fetches generation interconnector, grid substations, interconnector endpoints and overpass converters, using EPSG:4326 from OpenStreetMap (Overpass). - What it achieves (comment): It fetches converters (`fetch_converters`), loads GB substations (`load_gb_substations`) and loads flows (`load_flows`). Find the far-end converter station for each GB interconnector. It accepts `--root`, `--out` and `--cache`. - What it does: It fetches generation interconnector, grid substations, interconnector endpoints and overpass converters. Defines haversine_km, fetch_converters, load_gb_substations, load_flows, main. Uses libraries __future__, argparse, datetime, json, math. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnectors'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass); JSON file generation_interconnector_index.json; GeoJSON file grid_substations.geojson; JSON file interconnector-endpoints.json; JSON file .overpass-converters.json; GeoJSON file interconnectors.geojson; command-line arguments. Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `haversine_km(lon1: float, lat1: float, lon2: float, lat2: float)`; `fetch_converters(cache: Path, offline: bool)`; `load_gb_substations(root: Path)`; `load_flows(root: Path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass); JSON file generation_interconnector_index.json; GeoJSON file grid_substations.geojson; JSON file interconnector-endpoints.json; JSON file .overpass-converters.json; GeoJSON file interconnectors.geojson; command-line arguments]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Interconnector Module - File: gridatlas/tools/interconnectors/interconnector-module.js (JavaScript, 180 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/interconnectors/interconnector-module.js#L1-L180 - Page: https://code.globalgrid2050.com/explore-code/s/0445.html#f2 - Synopsis: A JavaScript file in the interconnectors folder of GridAtlas that maps interconnectors and substations. It searches km (`searchKm`) and measures end (`measureEnd`). - What it achieves (comment): An interconnector is not a generator and it does not arrive anywhere. - What it does: It maps interconnectors and substations. Defines 8 functions or classes, including rad, haversineKm, searchKm, label, measureEnd. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnector'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, substations. - Inputs & outputs: In: GeoJSON file interconnectors.geojson. - Signatures: `rad(d)`; `haversineKm(lon1, lat1, lon2, lat2)`; `searchKm()`; `label(link, km)`; `measureEnd(role, lon, lat, km, subs)`; `paint(map, geojson)`; `boot(map)`; `subs(window.__GRIDATLAS_NEON_LINKS__ || {})`; `ready(map)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file interconnectors.geojson]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Neon Substation Links Proof - File: gridatlas/tools/proofs/202608311910-neon-substation-links.proof.mjs (JavaScript, 361 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202608311910-neon-substation-links.proof.mjs#L1-L361 - Page: https://code.globalgrid2050.com/explore-code/s/0446.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that maps substations, 33kV, transformers and wind. It makes element (`makeElement`), maps stub (`MapStub`) and runs adapter (`runAdapter`). - What it achieves (comment): The repository carries Playwright and no DOM library, so rather than add one this stubs the small surface the cartridge actually touches and runs the real file against it. Its code works with 33 kV. - What it does: It maps substations, 33kV, transformers and wind. Defines 6 functions or classes, including check, makeElement, MutationObserverStub, MapStub, runAdapter. Uses libraries node:fs/promises, node:url, node:path, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 33kV, transformers, wind. - Inputs & outputs: Out: interactive map. Voltage levels named: 33kV. - Signatures: `check(label, ok, detail = '')`; `makeElement(tag = 'div')`; `appendChild(child)`; `remove()`; `setAttribute()`; `addEventListener()`; `querySelector()`; `querySelectorAll()`; `getElementById(id)`; `createElement(tag)`; `class MutationObserverStub`; `class MapStub`; `constructor(options)`; `isStyleLoaded()`; `once()`; `getSource()`; `getStyle()`; `getLayoutProperty()`; `setPaintProperty()`; `queryRenderedFeatures()`; `runAdapter(source, initSpy)`; `CARD(() => { const probe = { ...sandbox }; return null; })` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [interactive map]; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Original Single-Line Diagram (SLD) Finance Fixture - File: gridatlas/tools/proofs/202609010002-original-sld-finance-fixture.mjs (JavaScript, 351 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609010002-original-sld-finance-fixture.mjs#L1-L351 - Page: https://code.globalgrid2050.com/explore-code/s/0447.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that makes element (`makeElement`), parses elements (`parseElements`) and makes harness (`makeHarness`) (units: MW, MVA, MWh), using SHA-256. - What it achieves (comment): It makes element (`makeElement`), parses elements (`parseElements`) and makes harness (`makeHarness`). Execute the original GlobalGrid2050 GIS SLD electrical and finance engines against a deliberately small DOM, then emit a deterministic JSON oracle. - What it does: It loads data. Defines 9 functions or classes, including valueAfter, sha256, attributes, makeElement, parseElements. Uses libraries node:assert/strict, node:crypto, node:fs, node:path, node:vm. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: form fields (user input); command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `valueAfter(flag)`; `sha256(text)`; `attributes(markup)`; `makeElement(id, attrs = {})`; `closest()`; `addEventListener()`; `dispatchEvent()`; `parseElements(html)`; `makeHarness()`; `getElementById(id)`; `applyOverrides(elements, overrides)`; `prefixed(prefix, values)`; `runCase(spec)`; `excessAnnualOpex(result.stats.ac_mw - correctedAcMw)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input); command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Styles Proof - File: gridatlas/tools/proofs/202609040400-sld-styles.proof.mjs (JavaScript, 309 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609040400-sld-styles.proof.mjs#L1-L309 - Page: https://code.globalgrid2050.com/explore-code/s/0447.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads substations, using SHA-256. - What it achieves (comment): It is built from the raw step (`raw`), the JSON step (`json`) and the digest step (`digest`). V9.107 stylesheet-hoist proof. - What it does: It loads substations. Defines 7 functions or classes, including lf, raw, json, digest, rawDigest. Uses libraries node:assert/strict, node:crypto, node:fs, node:path, node:vm. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations. - Inputs & outputs: In: JSON file current.json. - Signatures: `lf(relative)`; `raw(relative)`; `json(relative)`; `digest(text)`; `rawDigest(bytes)`; `assertManifestBytes(entry, relative, label)`; `trailingWhitespaceLines(source)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Sandbox Proof - File: gridatlas/tools/proofs/202611222130-sld-sandbox.proof.mjs (JavaScript, 42 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611222130-sld-sandbox.proof.mjs#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256. - What it achieves (name): Defines `read`. It reads `atlas/manifests/202611222130-composition.json`. - What it does: It loads composition. Defines read. Uses libraries node:fs, node:path, node:assert/strict, node:crypto, node:vm. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file 202611222130-composition.json; JSON file current.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `read(x)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202611222130-composition.json; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### UKPN Paired Browser - File: gridatlas/tools/proofs/202612010912-ukpn-paired.browser.mjs (JavaScript, 82 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612010912-ukpn-paired.browser.mjs#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads grid UKPN secondary and UKPN transformers. It is built from the memory step (`memory`). - What it achieves (comment): Identical harness copied into the pinned ZIP worktree and run on the same runner as Parquet. - What it does: It loads grid UKPN secondary and UKPN transformers. Defines memory. Uses libraries node:assert/strict, node:fs, playwright. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'ukpn'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `memory()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### UKPN Secondary Browser - File: gridatlas/tools/proofs/202612010912-ukpn-secondary.browser.mjs (JavaScript, 119 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612010912-ukpn-secondary.browser.mjs#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f3 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads grid UKPN secondary, UKPN transformers and 11kV. It is built from the zoom to helper (`zoomTo`). - What it achieves (name): Defines `memory` and `zoomTo`. It writes `/receipt.json`. - What it does: It loads grid UKPN secondary, UKPN transformers and 11kV. Defines memory, zoomTo. Uses libraries node:assert/strict, node:fs, playwright. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'ukpn'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV. - Inputs & outputs: In: Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet. Out: JSON file receipt.json. Voltage levels named: 11kV. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `memory()`; `zoomTo(zoom)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet]; out [JSON file receipt.json]; crs []; voltages [11kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Substation Intelligence Proof - File: gridatlas/tools/proofs/202612012117-substation-intelligence.proof.mjs (JavaScript, 2 lines) · role electrical · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612012117-substation-intelligence.proof.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f4 - Synopsis: A JavaScript module in the proofs folder of GridAtlas covering substations. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### UKPN Secondary Card Proof - File: gridatlas/tools/proofs/202612012117-ukpn-secondary-card.proof.mjs (JavaScript, 2 lines) · role energy-data · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612012117-ukpn-secondary-card.proof.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f5 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. - What it achieves (readme): The README says: Added real rendered UKPN card selection, ranked Grid Engine transfer, poor-fix rejection, exact endpoint and GPS-watch preservation, and secondary Vicinity identity assertions to the existing combined browser gate. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'ukpn'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "Added real rendered UKPN card selection, ranked Grid Engine transfer, poor-fix rejection, exact endpoint and GPS-watch preservation, and secondary Vicinity identity assertions to the existing combined browser gate." - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### UKPN Secondary Substations Proof - File: gridatlas/tools/proofs/202612012117-ukpn-secondary-substations.proof.mjs (JavaScript, 2 lines) · role energy-data · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612012117-ukpn-secondary-substations.proof.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f6 - Synopsis: A JavaScript module in the proofs folder of GridAtlas covering substations. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substations'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Network Topology Proof - File: gridatlas/tools/proofs/modules/202609012145-network-topology.proof.mjs (JavaScript, 269 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012145-network-topology.proof.mjs#L1-L269 - Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f7 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads GB transmission network, transformers, 400kV and 132kV, using haversine. It is built from the check step (`check`). - What it achieves (comment): Run against the REAL product, not a fixture. Its code works with 400 kV, 132 kV and 100 MVA. - What it does: It loads GB transmission network, transformers, 400kV and 132kV. Defines check. Uses libraries node:fs/promises, node:fs, node:path, node:url, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'topology'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, 400kV, 132kV. - Inputs & outputs: In: JSON file gb-transmission-network.v1.json. Voltage levels named: 400kV, 132kV. - Downstream impact: Used directly by 1 file: Local CI (gridatlas). - Signatures: `check(label, condition, detail)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file gb-transmission-network.v1.json]; out []; crs []; voltages [400kV, 132kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Map Click Network Proof - File: gridatlas/tools/proofs/modules/202609012230-map-click-network.proof.mjs (JavaScript, 81 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012230-map-click-network.proof.mjs#L1-L81 - Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f8 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that uses haversine. - What it achieves (name): Defines `check`. Its code works with 400 kV. - What it does: It loads data. Defines check. Uses libraries node:fs/promises, node:path, node:url, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: Voltage levels named: 400kV. - Downstream impact: Used directly by 1 file: Local CI (gridatlas). - Signatures: `check(label, condition)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Audit UKPN - File: gridatlas/tools/secondary/audit_ukpn.py (Python, 84 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/audit_ukpn.py#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/0448.html#f9 - Synopsis: A Python command-line tool in the secondary folder of GridAtlas that fetches grid 11kV UKPN, historical, UKPN transformers and UKPN sites, using SHA-256 from the data-grid-GB and data-GridAtlas repositories. - What it achieves (comment): It is built from the acquire step (`acquire`). Real-source network twin: two builds, independent SQL and legacy comparison. It accepts `--work`. - What it does: It fetches grid 11kV UKPN, historical, UKPN transformers and UKPN sites. Defines acquire, main. Uses libraries argparse, hashlib, json, subprocess, sys. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'ukpn'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: data-grid-gb data; data source: data-gridatlas data; Parquet file grid_11kv_ukpn.parquet; Parquet file historical.parquet; Parquet file ukpn_transformers.parquet; Parquet file ukpn_sites.parquet; DuckDB queries; command-line arguments. Out: JSON file audit.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `acquire(url, dest, size, sha)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: data-grid-gb data; data source: data-gridatlas data; Parquet file grid_11kv_ukpn.parquet; Parquet file historical.parquet; Parquet file ukpn_transformers.parquet; Parquet file ukpn_sites.parquet; DuckDB queries; command-line arguments]; out [JSON file audit.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Import UKPN - File: gridatlas/tools/secondary/import_ukpn.py (Python, 130 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/import_ukpn.py#L1-L130 - Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f1 - Synopsis: A Python command-line tool in the secondary folder of GridAtlas that reads UKPN secondary site transformers, grid UKPN secondary and UKPN transformers, using SHA-256 from UK Power Networks open data. - What it achieves (comment): It reads source (`read_source`) and compiles sites (`compile_sites`). Compile the pinned UKPN source into the existing GridAtlas Parquet contract. It reads `ukpn-secondary-site-transformers.geojson`. It accepts `--output`. - What it does: It loads UKPN secondary site transformers, grid UKPN secondary, UKPN transformers and UKPN sites. Defines read_source, compile_sites, main, export. Uses libraries argparse, hashlib, json, math, zipfile. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'ukpn'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: UK Power Networks open data; GeoJSON file ukpn-secondary-site-transformers.geojson; GeoJSON file grid_ukpn_secondary.geojson; Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet; Parquet file ukpn_sites.parquet; DuckDB queries; command-line arguments. Out: Parquet file. - Downstream impact: Used directly by 2 files: Audit UKPN (gridatlas); UKPN Secondary Columnar Workflow (data-grid-gb). - Signatures: `read_source(path)`; `compile_sites(rows)`; `main()`; `export(query, name)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: UK Power Networks open data; GeoJSON file ukpn-secondary-site-transformers.geojson; GeoJSON file grid_ukpn_secondary.geojson; Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet; Parquet file ukpn_sites.parquet; DuckDB queries; command-line arguments]; out [Parquet file]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Single-Line Diagram (SLD) Build - File: gridatlas/tools/sld/build.mjs (JavaScript, 42 lines) · role electrical · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/sld/build.mjs#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f2 - Synopsis: A JavaScript module in the tools folder of GridAtlas that reads generations, using SHA-256. - What it achieves (comment): It builds SLD (`buildSld`) and is built from the digest step (`digest`) and the pinned step (`pinned`). Rebuild the MAP receiver from a pinned immutable baseline and explicit source edits. - What it does: It loads generations. Defines digest, buildSld, pinned, arg. Uses libraries node:fs, node:path, node:assert/strict, node:crypto, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. README: "`build.mjs` restores source reproducibility for the accepted V9.190 and V9.191 SLD cartridges." - Inputs & outputs: In: JSON file generations.json; command-line arguments. - Downstream impact: Used directly by 5 files: Single-Line Diagram (SLD) Build Test (gridatlas); Single-Line Diagram (SLD) Map Removal Cleanup Test (gridatlas); Single-Line Diagram (SLD) Mobile Arrival Card Test (gridatlas); Cut Grid Explorer (gridatlas); and 1 more. Reached from 3 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); CI PR Gate (gridatlas); Map Promotion Rehearsal (gridatlas). - Signatures: `export buildSld(generation,root=ROOT)`; `digest(b)`; `pinned(input)`; `arg(name)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generations.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Single-Line Diagram (SLD) Build Test - File: gridatlas/tools/sld/build.test.mjs (JavaScript, 36 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/sld/build.test.mjs#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f3 - Synopsis: A test in the tools folder of GridAtlas that checks Single-Line Diagram (SLD) Build. - What it does: It tests its inputs. Uses libraries node:test, node:assert/strict, node:fs, node:os, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file generations.json. - Downstream impact: Used directly by 2 files: CI PR Gate (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). Reached from 1 other entry point, including Map Promotion Rehearsal (gridatlas). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generations.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Single-Line Diagram (SLD) Map Removal Cleanup Test - File: gridatlas/tools/sld/map-removal-cleanup.test.mjs (JavaScript, 20 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/sld/map-removal-cleanup.test.mjs#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f4 - Synopsis: A test in the tools folder of GridAtlas that checks Single-Line Diagram (SLD) Build. It is built from the extract step (`extract`) and the fixture step (`fixture`). - What it achieves (comment): Regression over the real rebuilt SLD functions, including its inherited failure. It reads `./src/map-removal-cleanup-edits.json`. - What it does: It tests its inputs. Defines extract, fixture. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file map-removal-cleanup-edits.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `extract(source,name,indent=2)`; `fixture({removed=false,other=false}={})` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file map-removal-cleanup-edits.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Single-Line Diagram (SLD) Mobile Arrival Card Browser - File: gridatlas/tools/sld/mobile-arrival-card.browser.py (Python, 95 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/sld/mobile-arrival-card.browser.py#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f5 - Synopsis: A Python module in the tools folder of GridAtlas that reads mobile arrival card edits, using SHA-256. It is built from the candidate step (`candidate`). - What it achieves (comment): Only real-browser proof; intercepts pointer/hash and one cartridge. - What it does: It loads mobile arrival card edits. Defines main, candidate. Uses libraries asyncio, hashlib, json, os, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file mobile-arrival-card-edits.json; JSON file current.json. Out: JSON file receipt.json. - Signatures: `main()`; `candidate(route)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file mobile-arrival-card-edits.json; JSON file current.json]; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Mobile Arrival Card Test - File: gridatlas/tools/sld/mobile-arrival-card.test.mjs (JavaScript, 55 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/sld/mobile-arrival-card.test.mjs#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f6 - Synopsis: A test in the tools folder of GridAtlas that checks Single-Line Diagram (SLD) Build. - What it achieves (name): Defines `fixture`. It reads `./src/mobile-arrival-card-edits.json`. - What it does: It tests substations. Defines fixture. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations. - Inputs & outputs: In: JSON file mobile-arrival-card-edits.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `fixture(minimised = true)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file mobile-arrival-card-edits.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Single-Line Diagram (SLD) Retire GridAtlas Layout - File: gridatlas/tools/sld/retire-gridatlas-layout.mjs (JavaScript, 53 lines) · role storage · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/sld/retire-gridatlas-layout.mjs#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f7 - Synopsis: A JavaScript module in the tools folder that reads substations. It is built from the retire layout helper (`retireLayout`) and the exact step (`exact`). - What it achieves (comment): Surgical no-layout derivative from immutable V9.191 SLD carrier. - What it does: It loads substations. Defines retireLayout, exact. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'layout'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Single-Line Diagram (SLD) Sandbox Proof (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export retireLayout(source)`; `exact(a,b,description)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Learning Networks - File: gridatlas/tools/train/fixtures/learning-networks.mjs (JavaScript, 15 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/fixtures/learning-networks.mjs#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f8 - Synopsis: A JavaScript module in the fixtures folder of GridAtlas that works with train learning fixture (`trainLearningFixture`). It is built from the train learning fixture helper (`trainLearningFixture`). - What it achieves (comment): Original fictional teaching networks; no railway geography, names or artwork. - What it does: It calculates its inputs. Defines trainLearningFixture. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Route Plan Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export trainLearningFixture(kind = 'local')` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### VEDIC Road Topology - File: gridatlas/tools/vedic/road-topology.mjs (JavaScript, 78 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vedic/road-topology.mjs#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f9 - Synopsis: A JavaScript module in the tools folder of GridAtlas that works with motorways. It compiles topology (`compileTopology`) and turns allowed (`turnAllowed`). - What it achieves (comment): Conservative, source-ID-preserving topology pilot; not a legal-route certification. - What it does: It calculates motorways. Defines 7 functions or classes, including id, tags, direction, eligible, compileTopology. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: motorways. - Downstream impact: Used directly by 2 files: VEDIC Regional Stream Test (gridatlas); VEDIC Snapshot Routing (gridatlas). - Signatures: `export compileTopology(source,mode,{maxNodes=50000,maxWays=10000,maxRelations=10000,maxEdges=100000,maxWayRefs=500000}={})`; `id(x)`; `tags(x)`; `direction(t,mode)`; `eligible(t,mode)`; `add(w,k,a,b,d)`; `turnAllowed(inId,outId)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Verify Interconnector Arrival - File: gridmachine1/202609071322-linux-handover/rig-kit/verify-interconnector-arrival.mjs (JavaScript, 118 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridmachine1/blob/16cd3db49d03e6faa0e4e24f06f08184422049be/202609071322-linux-handover/rig-kit/verify-interconnector-arrival.mjs#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/0449.html#f10 - Synopsis: A JavaScript module in the rig kit folder of Gridmachine1 that fetches interconnectors and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): Does an interconnector MAP link fire the span model at both ends? - What it does: It fetches interconnectors and the REPD register. Uses libraries node:fs, node:path, node:http, file:///C:/Users/vikra/LocalCI/PipelineNews-GridAtlas/v004/node_modules/playwright/index.mjs. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnector'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: data source: 127.0.0.1:${PORT}; command-line arguments. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: 127.0.0.1:${PORT}; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### GridAtlas Nearest Substation Check - File: neural-link-between-agents/FIXES/NL-016/gridatlas/tools/nearest_substation_check.mjs (JavaScript, 66 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-016/gridatlas/tools/nearest_substation_check.mjs#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/0450.html#f1 - Synopsis: A JavaScript module in the tools folder of Neural Link Between Agents that reads grid substations. It is built from the grab step (`grab`) and the nearest step (`nearest`). - What it achieves (comment): Nearest-substation QA for the October preview records, using GridAtlas's own shipped code, not a re-implementation: - `distanceKm`: `atlas/modules/202609011950-geodesy.js`, run in node:vm with a window stub; - `voltagesKv`, `representativePoint`, `MIN_KV/LINK_COUNT/MAX_LINK_KM`: extracted verbatim from the live single-line diagram (SLD)-sandbox cartridge `atlas/cartridges/202609241334-sld-sandbox-v9-8.js` and evaluated. - What it does: It loads grid substations. Defines grab, nearest. Uses libraries node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: GeoJSON file grid_substations.geojson; command-line arguments. - Signatures: `grab(name)`; `nearest(lon, lat)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [GeoJSON file grid_substations.geojson; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Networks - File: particle-physics-drawing-engine/tools/networks.py (Python, 122 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/particle-physics-drawing-engine/blob/d3d28cc760761dab210dc3850577ee73c23fe8c5/tools/networks.py#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/0450.html#f2 - Synopsis: A Python command-line tool in the tools folder of Particle Physics Drawing Engine that reads grid 400kV, grid 132kV, grid substations and ne 10m coastline, using Douglas-Peucker. - What it achieves (comment): It is built from the normalise step (`normalise`), the from lines helper (`from_lines`) and the write step (`write`). Real systems as network files the wafer draws with its own dust. Its code works with 132 kV and 400 kV. It accepts `--gg`, `--ne` and `--shotwick`. - What it does: It loads grid 400kV, grid 132kV, grid substations and ne 10m coastline. Defines dp, normalise, from_lines, write, main. Uses libraries argparse, json, math, os, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV, 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 132kV. README: "`tools/networks.py` turns any GridAtlas layer into a draw on the one wafer." - Inputs & outputs: In: GeoJSON file grid_400kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file ne_10m_coastline.geojson; GeoJSON file ne_110m_coastline.geojson; command-line arguments. Out: JSON file. Voltage levels named: 400kV, 132kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `dp(points, tol)`; `normalise(pts)`; `from_lines(features, tol, name_key="name", bbox=None, min_pts=2)`; `write(out, name, source, attribution, law, nodes, edges)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_400kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file ne_10m_coastline.geojson; GeoJSON file ne_110m_coastline.geojson; command-line arguments]; out [JSON file]; crs []; voltages [400kV, 132kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Single-Line Diagram (SLD) — App - File: sld/assets/app.js (JavaScript, 64 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/sld/blob/1205aa0d1f80d8e05a2cbb19f363939174b50002/assets/app.js#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/0450.html#f3 - Synopsis: A JavaScript file in the assets folder that draws SLD educational draft. It renders cards (`renderCards`), adds part (`addPart`) and renders canvas (`renderCanvas`). - What it achieves (comment): Educational drawing state is deliberately separate from electrical topology. It reads `data/library.json`. It responds to click, keydown and input events. - What it does: It draws SLD educational draft. Defines 16 functions or classes, including $, text, svg, say, label. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file sld-educational-draft.json; JSON file library.json. - Signatures: `$(id)`; `text(tag, value, cls)`; `svg(tag, attrs={})`; `say(value)`; `label(c)`; `key(c)`; `preview(c)`; `renderCards()`; `addPart(c)`; `choose(id)`; `renderCanvas()`; `move(dx,dy)`; `remove()`; `validateDraft(value)`; `download(data,name,type)`; `exportSVG()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file sld-educational-draft.json; JSON file library.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Components - File: sld/data/upstream/powsybl/components.css (CSS, 58 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/sld/blob/1205aa0d1f80d8e05a2cbb19f363939174b50002/data/upstream/powsybl/components.css#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/0450.html#f4 - Synopsis: A style sheet in the powsybl folder of Single-Line Diagram (SLD). - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Build Catalogue - File: sld/scripts/build_catalogue.py (Python, 56 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/sld/blob/1205aa0d1f80d8e05a2cbb19f363939174b50002/scripts/build_catalogue.py#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/0450.html#f5 - Synopsis: A Python command-line tool in the scripts folder that reads components. It is built from the build step (`build`). - What it achieves (comment): Build a deterministic research catalogue from hash-verified local sources. It accepts `--data` and `--config`. - What it does: It loads components. Defines build, main. Uses libraries argparse, copy, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file components.json; JSON file library.json; command-line arguments. - Downstream impact: Used directly by 2 files: Test Sources (sld); Single-Line Diagram (SLD) Pages Workflow (sld). - Signatures: `build(config, data_dir)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file components.json; JSON file library.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Single-Line Diagram (SLD) Build Site - File: sld/scripts/build_site.py (Python, 113 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/sld/blob/1205aa0d1f80d8e05a2cbb19f363939174b50002/scripts/build_site.py#L1-L113 - Page: https://code.globalgrid2050.com/explore-code/s/0450.html#f6 - Synopsis: A Python command-line tool in the scripts folder that works with local file (`local_file`). It is built from the safe SVG helper (`safe_svg`) and the build step (`build`). - What it achieves (comment): Build safe, local educational previews from the pinned component catalogue. It accepts `--out`. - What it does: It loads data. Defines local_file, safe_svg, build. Uses libraries pathlib, argparse, copy, json, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file library.json; command-line arguments. - Downstream impact: Used directly by 1 file: Single-Line Diagram (SLD) Pages Workflow (sld). - Signatures: `local_file(relative)`; `safe_svg(path)`; `build()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file library.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Single-Line Diagram (SLD) Fetch Sources - File: sld/scripts/fetch_sources.py (Python, 270 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/sld/blob/1205aa0d1f80d8e05a2cbb19f363939174b50002/scripts/fetch_sources.py#L1-L270 - Page: https://code.globalgrid2050.com/explore-code/s/0451.html#f1 - Synopsis: A Python command-line tool in the scripts folder that draws components and metadata, using SHA-256. It extracts text zip (`extract_text_zip`), verifies lock (`verify_lock`) and checks offline (`check_offline`). - What it achieves (comment): Bounded, pinned acquisition; never executes remote content. It accepts `--output`, `--config` and `--accept-first-fetch`. - What it does: It draws components and metadata. Defines 15 functions or classes, including EvidencePage, __init__, handle_starttag, handle_endtag, handle_data. Uses libraries argparse, hashlib, io, json, html.parser. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file source-lock.json; JSON file components.json; JSON file metadata.json; command-line arguments. Out: SVG drawing. - Downstream impact: Used directly by 4 files: Single-Line Diagram (SLD) Build Catalogue (sld); Single-Line Diagram (SLD) Verify Furnace (sld); Test Sources (sld); Single-Line Diagram (SLD) Pages Workflow (sld). Reached from 1 other entry point, including Test Furnace Gate (sld). - Signatures: `class EvidencePage`; `__init__(self)`; `handle_starttag(self, tag, attrs)`; `handle_endtag(self, tag)`; `handle_data(self, data)`; `decc_licence_evidence(data, source)`; `digest(data)`; `safe_name(name)`; `download(url, limit)`; `extract_text_zip(data, allowed, limit=1000000)`; `verify_lock(records, previous)`; `check_offline(config, output)`; `acquire(config, output, accept_first=False)`; `add(source, name, url, data, origin=None)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file source-lock.json; JSON file components.json; JSON file metadata.json; command-line arguments]; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Single-Line Diagram (SLD) Furnace - File: sld/scripts/furnace.py (Python, 146 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/sld/blob/1205aa0d1f80d8e05a2cbb19f363939174b50002/scripts/furnace.py#L1-L146 - Page: https://code.globalgrid2050.com/explore-code/s/0451.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads photon library and photon evidence, using SHA-256. - What it achieves (comment): It is built from the digest step (`digest`), the reference step (`reference`) and the electron step (`electron`). Bounded GPU layout furnace: independent CUDA and CuPy rectangle tests. It accepts `--library`, `--out` and `--grid`. - What it does: It loads photon library and photon evidence. Defines digest, reference, main, electron. Uses libraries argparse, hashlib, json, math, os. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file library.json; JSON file photon-evidence.json; JSON file photon-library.json; JSON file source-lock.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `digest(path)`; `reference(xp, ids, w, h, n, grid, gap)`; `main()`; `electron(start, count, gap)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file library.json; JSON file photon-evidence.json; JSON file photon-library.json; JSON file source-lock.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Refresh Local - File: sld/scripts/refresh_local.ps1 (PowerShell, 67 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/sld/blob/1205aa0d1f80d8e05a2cbb19f363939174b50002/scripts/refresh_local.ps1#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/0451.html#f3 - Synopsis: A PowerShell script in the scripts folder covering photon library and photon evidence. - What it achieves (comment): Trusted main only. Schedule this controller with the existing logged-on user. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file photon-library.json; JSON file photon-evidence.json; JSON file library.json; JSON file source-lock.json. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file photon-library.json; JSON file photon-evidence.json; JSON file library.json; JSON file source-lock.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Verify Furnace - File: sld/scripts/verify_furnace.py (Python, 75 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/sld/blob/1205aa0d1f80d8e05a2cbb19f363939174b50002/scripts/verify_furnace.py#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0451.html#f4 - Synopsis: A Python command-line tool in the scripts folder that reads photon evidence and photon library, using SHA-256. - What it achieves (comment): It is built from the digest step (`digest`), the require step (`require`) and the verify step (`verify`). Fail closed when a furnace receipt does not bind the exact published inputs. It accepts `--root` and `--evidence-dir`. - What it does: It loads photon evidence and photon library. Defines digest, require, verify. Uses libraries argparse, hashlib, json, math, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file photon-evidence.json; JSON file photon-library.json; JSON file library.json; JSON file source-lock.json; command-line arguments. - Downstream impact: Used directly by 2 files: Test Furnace Gate (sld); Single-Line Diagram (SLD) Pages Workflow (sld). - Signatures: `digest(path)`; `require(condition, message)`; `verify(root, evidence_dir=None)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file photon-evidence.json; JSON file photon-library.json; JSON file library.json; JSON file source-lock.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Single-Line Diagram (SLD) Sources - File: sld/sources.yaml (YAML, 60 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/sld/blob/1205aa0d1f80d8e05a2cbb19f363939174b50002/sources.yaml#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0451.html#f5 - Synopsis: A configuration file covering components, metadata, buscoords and licence evidence, and uses data from UK Power Networks open data. - What it achieves (readme): The README says: Edit `sources.yaml` (JSON-compatible YAML), preserving immutable revisions and explicit licence evidence. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. README: "Edit `sources.yaml` (JSON-compatible YAML), preserving immutable revisions and explicit licence evidence." - Inputs & outputs: In: JSON file components.json; JSON file metadata.json; CSV file buscoords.csv; JSON file licence-evidence.json. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file components.json; JSON file metadata.json; CSV file buscoords.csv; JSON file licence-evidence.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Browser - File: sld/tests/browser.cjs (JavaScript, 47 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/sld/blob/1205aa0d1f80d8e05a2cbb19f363939174b50002/tests/browser.cjs#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/0451.html#f6 - Synopsis: A JavaScript module in the tests folder of Single-Line Diagram (SLD) that tests draft, bad and extra. - What it achieves (comment): Run in Linux CI against the packaged site. - What it does: It tests draft, bad and extra. Uses libraries playwright, node:assert/strict, node:fs/promises, node:path. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file draft.json; JSON file bad.json; JSON file extra.json. - Downstream impact: Used directly by 1 file: Single-Line Diagram (SLD) Pages Workflow (sld). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file draft.json; JSON file bad.json; JSON file extra.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Furnace Gate - File: sld/tests/test_furnace_gate.py (Python, 67 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/sld/blob/1205aa0d1f80d8e05a2cbb19f363939174b50002/tests/test_furnace_gate.py#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/0452.html#f1 - Synopsis: A test in the tests folder of Single-Line Diagram (SLD) that checks Single-Line Diagram (SLD) Verify Furnace. - What it achieves (name): It sets up (`setUp`) and is built from the furnace gate tests class (`FurnaceGateTests`). Defines `FurnaceGateTests`, `setUp`, `write` and 4 more. It writes `data/library.json`. - What it does: It tests its inputs. Defines 7 functions or classes, including FurnaceGateTests, setUp, write, test_valid_fixture, test_bound_file_mutation_rejected. Uses libraries copy, json, pathlib, sys, tempfile. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file library.json; JSON file source-lock.json; JSON file photon-library.json; JSON file photon-evidence.json. - Downstream impact: Used directly by 1 file: Single-Line Diagram (SLD) Pages Workflow (sld). - Signatures: `class FurnaceGateTests`; `setUp(self)`; `write(self, name, value)`; `test_valid_fixture(self)`; `test_bound_file_mutation_rejected(self)`; `test_invalid_receipts(self)`; `test_duplicate_domains_and_corrupt_counts(self)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file library.json; JSON file source-lock.json; JSON file photon-library.json; JSON file photon-evidence.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 1; mentioned by 0 ### Test Sources - File: sld/tests/test_sources.py (Python, 109 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/sld/blob/1205aa0d1f80d8e05a2cbb19f363939174b50002/tests/test_sources.py#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/0452.html#f2 - Synopsis: A test in the tests folder of Single-Line Diagram (SLD) that checks Single-Line Diagram (SLD) Fetch Sources and Single-Line Diagram (SLD) Build Catalogue, using SHA-256. - What it achieves (name): It is built from the acquisition tests class (`AcquisitionTests`) and the catalogue tests class (`CatalogueTests`). Defines `archive`, `AcquisitionTests`, `test_decc_evidence_stable_despite_nonce_changes` and 9 more. - What it does: It tests its inputs. Defines 12 functions or classes, including archive, AcquisitionTests, test_decc_evidence_stable_despite_nonce_changes, test_offline_detects_local_tampering, test_zip_rejects_traversal_and_executables. Uses libraries io, json, pathlib, sys, tempfile. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file source-lock.json; JSON file components.json. Out: JSON file source-lock.json. - Downstream impact: Used directly by 1 file: Single-Line Diagram (SLD) Pages Workflow (sld). - Signatures: `archive(files)`; `class AcquisitionTests`; `test_decc_evidence_stable_despite_nonce_changes(self)`; `test_offline_detects_local_tampering(self)`; `test_zip_rejects_traversal_and_executables(self)`; `test_zip_rejects_binary_missing_and_oversize(self)`; `test_zip_preserves_text_without_execution(self)`; `test_lock_rejects_changed_hash_url_and_file_set(self)`; `test_filename_rejects_paths(self)`; `test_download_rejects_oversize_body(self)`; `class CatalogueTests`; `test_full_library_preserves_geometry_and_is_deterministic(self)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file source-lock.json; JSON file components.json]; out [JSON file source-lock.json]; crs []; voltages [] - Edges: uses 2 estate files (sys-path 2); used by 1; mentioned by 0 ### Import Network - File: soil/import_network.py (Python, 33 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/soil/blob/d26288ed03df533507739b9f218358fc7aa36a01/import_network.py#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0452.html#f3 - Synopsis: A Python module in Soil that fetches network sources, passages and summary, using SHA-256. - What it achieves (comment): Bounded local cache of published network thermal-design evidence. - What it does: It fetches network sources, passages and summary. Uses libraries hashlib, json, time, urllib.request, pathlib. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'soil'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. README: "`import_network.py`: local study cache of publicly available network thermal-design documents." - Inputs & outputs: In: JSON file network_sources.json. Out: JSON file .passages.json; JSON file summary.json. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file network_sources.json]; out [JSON file .passages.json; JSON file summary.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Topology - File: spiders/spider_printer_v1/tools/build_topology.py (Python, 472 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/spider_printer_v1/tools/build_topology.py#L1-L472 - Page: https://code.globalgrid2050.com/explore-code/s/0452.html#f4 - Synopsis: A Python command-line tool in the tools folder of Spiders that fetches cables from GitHub API. It scans local (`scan_local`), lists repos API (`list_repos_api`) and scans API (`scan_api`). - What it achieves (comment): Build `spider_printer_v1/data/topology.json` from the estate as it actually is. It accepts `--local`, `--api` and `--out`. - What it does: It fetches cables. Defines 12 functions or classes, including classify, repo_reference_pattern, scan_local, api_json, list_repos_api. Uses libraries __future__, argparse, json, os, re. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables. - Inputs & outputs: In: data source: GitHub API; JSON file topology.json; command-line arguments. - Downstream impact: Used directly by 2 files: Test Build Topology (spiders); Elements Topology Workflow (spiders). - Signatures: `classify(name: str)`; `repo_reference_pattern(names: list[str])`; `scan_local(root: Path, names: list[str], clone_dirs: dict[str, str] | None = None)`; `api_json(url: str, token: str | None)`; `list_repos_api(token: str | None)`; `scan_api(repos: list[dict], names: list[str], token: str | None)`; `mapped(node: dict)`; `layout(nodes: list[dict])`; `outside_map(nodes: list[dict])`; `overlapping(nodes: list[dict])`; `build(found: dict[str, dict[str, int]], repo_meta: dict[str, dict], source: str)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file topology.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Test Build Topology - File: spiders/spider_printer_v1/tools/test_build_topology.py (Python, 191 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/spider_printer_v1/tools/test_build_topology.py#L1-L191 - Page: https://code.globalgrid2050.com/explore-code/s/0453.html#f1 - Synopsis: A test in the tools folder of Spiders that checks Build Topology and GridAtlas — Atlas Page using data from the GridAtlas repository. - What it achieves (comment): It is built from the check step (`check`), the node step (`node`) and the viewer map pos helper (`viewer_map_pos`). Negative controls for `build_topology.py`. - What it does: It tests its inputs. Defines check, node, viewer_map_pos. Uses libraries __future__, json, sys, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: gridatlas data; JSON file topology.json. - Downstream impact: Used directly by 1 file: Elements Topology Workflow (spiders). - Signatures: `check(name: str, condition: bool)`; `node(x: int, y: int, layer: str = "data")`; `viewer_map_pos(n: dict)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file topology.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, estate-url 1); used by 1; mentioned by 0 ### Voltage - File: star-maker/machinery/bench/voltage.mjs (JavaScript, 80 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-maker/blob/2c477b0cc673304c5b288cee9d0e0ae42d273b2e/machinery/bench/voltage.mjs#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/0453.html#f2 - Synopsis: A JavaScript module in the bench folder of Star Maker that fetches connection points, voltages, 11kV and 400kV from National Energy System Operator (NESO) data portal. - What it achieves (comment): It is built from the walk step (`walk`). THE VOLTAGE STAR — reads everything the code does about 400 / 275 / 220 / 132 / 66 / 33 / 11kV, joins each voltage to the data we actually hold, and. Its code works with 11 kV, 132 kV and 220 kV. - What it does: It fetches connection points, voltages, 11kV and 400kV. Defines walk. Uses libraries node:fs/promises, node:path. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV, 400kV, 275kV, 220kV, 132kV. - Inputs & outputs: In: data source: NESO data portal; JSON file connection-points.v3.json. Out: JSON file voltages.json; JSON file graph.json. Voltage levels named: 400kV, 275kV, 220kV, 132kV, 11kV. - Signatures: `walk(dir)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: NESO data portal; JSON file connection-points.v3.json]; out [JSON file voltages.json; JSON file graph.json]; crs []; voltages [400kV, 275kV, 220kV, 132kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Substation Intelligence - File: testcode/sandbox/202609060459/atlas/cartridges/202609060459-substation-intelligence.js (JavaScript, 5400 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609060459/atlas/cartridges/202609060459-substation-intelligence.js#L1-L5400 - Page: https://code.globalgrid2050.com/explore-code/s/0453.html#f3 - Synopsis: A JavaScript file in the cartridges folder of Testcode that maps elizabeth line and london underground, using haversine and SHA-256, and uses data from the ventus-grid-engine, data-federation-map-for-GlobalGrid2050-all-repos and spiders repositories. - What it achieves (code): It saves outline (`saveOutline`), reads outline (`readOutline`) and exports outline (`exportOutline`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). Its code works with 400 kV and 100 MVA. It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 230 functions or classes, including close, open, show, clearValues, validOutline. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json. Out: CSV file gridatlas-polygon-vertices.csv; downloaded file gridatlas-polygon-; downloaded file gridatlas-polygon-vertices.csv; downloaded file gridatlas-; downloaded file globalgrid2050-map-; browser storage (setItem); interactive map; canvas drawing. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Signatures: `close()`; `open(map, controlId)`; `show(html)`; `clearValues()`; `validOutline(points)`; `saveOutline(points)`; `readOutline()`; `clearOutline()`; `analyzeOutline(points)`; `fail(code,message)`; `orient(a,b,c)`; `on(a,b,p)`; `exportOutline(points, measurements)`; `importOutline(text)`; `createHistory(limit=80)`; `copy(points)`; `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - domain_stage: experimental · commercial_user: ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json]; out [CSV file gridatlas-polygon-vertices.csv; downloaded file gridatlas-polygon-; downloaded file gridatlas-polygon-vertices.csv; downloaded file gridatlas-; downloaded file globalgrid2050-map-; browser storage (setItem); interactive map; canvas drawing]; crs [WGS84 / EPSG:4326]; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### VEDIC Faraday Orient Experiment - File: vedic-/tools/faraday_orient_experiment.mjs (JavaScript, 82 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/faraday_orient_experiment.mjs#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/0461.html#f2 - Synopsis: A JavaScript module in the tools folder. It is built from the point step (`point`), the run step (`run`) and the experiment step (`experiment`). - What it achieves (comment): Candidate apparatus for Faraday's existing numbered runner. - What it does: Defines point, run, experiment, input, confirm. Uses libraries node:assert/strict, node:child_process, node:fs, node:os, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiment'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file coords.json. Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `export experiment()`; `point(longitude, latitude)`; `run(phrase, values, file)`; `input(a, b, unit = 'degrees')`; `confirm(name, actual, predicate)` - domain_stage: experimental · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file coords.json]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### VEDIC Replay Faraday Orient - File: vedic-/tools/replay_faraday_orient.py (Python, 57 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/replay_faraday_orient.py#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0461.html#f3 - Synopsis: A Python command-line tool in the tools folder covering build receipt. - What it achieves (comment): Run the VEDIC ORIENT apparatus using the existing Faraday experiment runner. - What it does: Defines main. Uses libraries argparse, os, pathlib, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file build-receipt.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file build-receipt.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Interconnector Economics - File: ventus-grid-engine/engine/interconnector-economics.js (JavaScript, 226 lines) · role energy-data · stage transform - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/interconnector-economics.js#L1-L226 - Page: https://code.globalgrid2050.com/explore-code/s/0461.html#f4 - Synopsis: A JavaScript module in Ventus Grid Engine that works with interconnectors and cables. It is built from the finite step (`finite`), the positive step (`positive`) and the ratio step (`ratio`). - What it achieves (comment): What an interconnector does, and what a price difference across it is worth — in text, deliberately never as a drawing. Its code works with 2 GW. - What it does: It calculates interconnectors and cables. Defines 8 functions or classes, including finite, positive, ratio, flowDirection, energyTransferredGwh. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnector'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, cables. - Downstream impact: Used directly by 3 files: Grid Engine — Interconnectors Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060305-interconnectors/); Interconnector Economics Proof (ventus-grid-engine); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 4 other entry points, including Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). - Signatures: `export flowDirection({ gbPriceGbpPerMwh, neighbourPriceGbpPerMwh })`; `export energyTransferredGwh({ capacityGw, hours, utilisation })`; `export congestionRentGbp({ capacityGw, hours, utilisation, spreadGbpPerMwh })`; `export fleetCapacity({ links })`; `export shareOfDemand({ transferGw, gbDemandGw })`; `finite(name, v)`; `positive(name, v)`; `ratio(name, v)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Network Topology - File: ventus-grid-engine/engine/network-topology.js (JavaScript, 319 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/network-topology.js#L1-L319 - Page: https://code.globalgrid2050.com/explore-code/s/0462.html#f1 - Synopsis: A JavaScript module in Ventus Grid Engine that works with physical units (`physicalUnits`) (units: kV, MVA), covering transformers. - What it achieves (comment): It is built from the voltage of helper (`voltageOf`), the band key helper (`bandKey`) and the ratings of helper (`ratingsOf`). PROMOTED from `sources/v9-extracts/network-topology.mjs` (itself extracted verbatim from the LATER of two committed GridAtlas versions, `atlas/modules/202609012245-network-topology.js`, 384 lines — a strict superset of -network-topology.js, 279 lines. Its code works with 100 MVA. - What it does: It lists and searches transformers. Defines 11 functions or classes, including voltageOf, bandKey, ratingsOf, physicalUnits, parametersOf. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'topology'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers. - Downstream impact: Used directly by 5 files: Network Topology Proof (ventus-grid-engine); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Electrical Distance Proof (ventus-grid-engine); Rating Envelope Proof (ventus-grid-engine); and 1 more. Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `export ratingsOf(row)`; `export physicalUnits(records)`; `export parametersOf(row)`; `export index(product)`; `voltageOf(node)`; `bandKey(kv)`; `land(nodeName, entry)`; `siteOf(nodeName)`; `graph()`; `resolve(key)`; `at(key, options)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 1 ### Voltage Drop - File: ventus-grid-engine/engine/voltage-drop.js (JavaScript, 217 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/voltage-drop.js#L1-L217 - Page: https://code.globalgrid2050.com/explore-code/s/0462.html#f2 - Synopsis: A JavaScript module in Ventus Grid Engine that works with cables. It is built from the positive step (`positive`), the non negative helper (`nonNegative`) and the ratio step (`ratio`). - What it achieves (comment): What a cable run costs in volts and in watts. - What it does: It calculates cables. Defines 8 functions or classes, including positive, nonNegative, ratio, phasesOf, voltageDropVolts. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'grid-network'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables. - Downstream impact: Used directly by 5 files: Grid Engine — Solar Farm Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060318-solar-farm/); Grid Engine — Voltage Drop Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060313-voltage-drop/); Voltage Drop Proof (ventus-grid-engine); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); and 1 more. Reached from 4 other entry points, including Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). - Signatures: `export voltageDropVolts({ currentA, lengthM, resistanceOhmPerKm, reactanceOhmPerKm = 0, powerFactor, phases = 'three' })`; `export dropPercent({ dropVolts, nominalVolts })`; `export lossesWatts({ currentA, lengthM, resistanceOhmPerKm, phases = 'three' })`; `export annualLossKwh({ peakLossWatts, lossLoadFactor, hours = 8760 })`; `positive(name, v)`; `nonNegative(name, v)`; `ratio(name, v)`; `phasesOf(phases)` - VEDIC: DROP (GG2050-VEDIC-000024): Ventus Grid Engine / voltage-drop · Electrical engineering / Applied mathematics. current_a, length_m, resistance_ohm_per_km, reactance_ohm_per_km, power_factor, phases -> voltage_drop_record - VEDIC: PERCENT (GG2050-VEDIC-000025): Ventus Grid Engine / voltage-drop · Electrical engineering / Applied mathematics. drop_volts, nominal_volts -> drop_percent - VEDIC: LOSS (GG2050-VEDIC-000026): Ventus Grid Engine / voltage-drop · Electrical engineering / Applied mathematics. current_a, length_m, resistance_ohm_per_km, phases -> losses_watts - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Interconnector Economics Proof - File: ventus-grid-engine/proofs/interconnector-economics.proof.mjs (JavaScript, 166 lines) · role energy-data · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/interconnector-economics.proof.mjs#L1-L166 - Page: https://code.globalgrid2050.com/explore-code/s/0463.html#f1 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine covering interconnectors. It is built from the check step (`check`), the near step (`near`) and the throws step (`throws`). - What it achieves (comment): An edge between two systems, priced. Its code works with 10.3 GW, 1 GW and 7.65 GW. - What it does: It lists and searches interconnectors. Defines check, near, throws. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnector'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Signatures: `check(n, c)`; `near(a, b, tol)`; `throws(fn, p)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of ventus-grid-engine/proofs/electrification-model.proof.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Network Topology Proof - File: ventus-grid-engine/proofs/network-topology.proof.mjs (JavaScript, 234 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/network-topology.proof.mjs#L1-L234 - Page: https://code.globalgrid2050.com/explore-code/s/0463.html#f2 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine covering transformers, overhead lines (OHL), 400kV and 132kV. It is built from the check step (`check`). - What it achieves (comment): What the network operator publishes about one site, read as a graph, with the one property that made this module worth promoting on its own. Its code works with 400 kV, 132 kV and 9999 MVA. - What it does: Defines check. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'topology'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, overhead lines (OHL), 400kV, 132kV. - Inputs & outputs: Voltage levels named: 400kV, 132kV. - Signatures: `check(name, condition)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 132kV] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Voltage Drop Proof - File: ventus-grid-engine/proofs/voltage-drop.proof.mjs (JavaScript, 161 lines) · role electrical · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/voltage-drop.proof.mjs#L1-L161 - Page: https://code.globalgrid2050.com/explore-code/s/0463.html#f3 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine covering cables. It is built from the check step (`check`), the near step (`near`) and the throws step (`throws`). - What it achieves (comment): Volts and watts along a run. Its code works with 3 kW. - What it does: It lists and searches cables. Defines check, near, throws. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 400V (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 400V. - Inputs & outputs: Voltage levels named: 400V. - Signatures: `check(n, c)`; `near(a, b, tol)`; `throws(fn, p)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400V] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Sandbox Boot Trigger Excerpt - File: ventus-grid-engine/sources/deeplink-extracts/receiver/sld-sandbox-boot-trigger.excerpt.js (JavaScript, 43 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/sources/deeplink-extracts/receiver/sld-sandbox-boot-trigger.excerpt.js#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/0463.html#f4 - Synopsis: A JavaScript file in the receiver folder of Ventus Grid Engine that works with attempt arrival (`attemptArrival`). - What it achieves (comment): It is built from the arrival has visible outcome helper (`arrivalHasVisibleOutcome`) and the attempt arrival helper (`attemptArrival`). `head_sha` (GridAtlas). - What it does: Defines arrivalHasVisibleOutcome, attemptArrival. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `arrivalHasVisibleOutcome()`; `attemptArrival()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Sandbox Deep Link Plan Excerpt - File: ventus-grid-engine/sources/deeplink-extracts/receiver/sld-sandbox-deep-link-plan.excerpt.js (JavaScript, 37 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/sources/deeplink-extracts/receiver/sld-sandbox-deep-link-plan.excerpt.js#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0463.html#f5 - Synopsis: A JavaScript file in the receiver folder of Ventus Grid Engine. It is built from the deep link plan helper (`deepLinkPlan`). - What it achieves (comment): `head_sha` (GridAtlas). - What it does: It calculates its inputs. Defines deepLinkPlan. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `deepLinkPlan(rawLon, rawLat, rawRepdRef)` - VEDIC: PLAN PROJECT MAP ARRIVAL (GG2050-VEDIC-000104): GridAtlas / Map integration · Map integration. raw_longitude, raw_latitude, raw_repd_ref -> Frozen record of parsed longitude, latitude, trimmed repd_ref, coordinates_usable and route MEASURE_LINK_FIRST, WAIT_FOR_REGISTER or NO_USABLE_POINT. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Sandbox Layer Control Excerpt - File: ventus-grid-engine/sources/deeplink-extracts/receiver/sld-sandbox-layer-control.excerpt.js (JavaScript, 164 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/sources/deeplink-extracts/receiver/sld-sandbox-layer-control.excerpt.js#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/0464.html#f1 - Synopsis: A JavaScript file in the receiver folder of Ventus Grid Engine that works with enable technology layer (`enableTechnologyLayer`). - What it achieves (comment): It is built from the watch for layer controls helper (`watchForLayerControls`), the wait for layer controls helper (`waitForLayerControls`) and the enable technology layer helper (`enableTechnologyLayer`). `head_sha` (GridAtlas). - What it does: Defines watchForLayerControls, waitForLayerControls, enableTechnologyLayer. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `watchForLayerControls(onReady)`; `waitForLayerControls(budgetMs)`; `enableTechnologyLayer(tech)`; `text(input.closest('label') || input.parentElement)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Sandbox Run Deep Link Excerpt - File: ventus-grid-engine/sources/deeplink-extracts/receiver/sld-sandbox-run-deep-link.excerpt.js (JavaScript, 463 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/sources/deeplink-extracts/receiver/sld-sandbox-run-deep-link.excerpt.js#L1-L463 - Page: https://code.globalgrid2050.com/explore-code/s/0464.html#f2 - Synopsis: A JavaScript file in the receiver folder of Ventus Grid Engine that runs arrival selection (`runArrivalSelection`) (units: MW), covering substations. It runs deep link (`runDeepLink`) and runs arrival selection (`runArrivalSelection`). - What it achieves (comment): `head_sha` (GridAtlas). - What it does: Defines 8 functions or classes, including runDeepLink, framed, honourRequestedZoom, apply, coordsUsable. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations. - Signatures: `runDeepLink(expectedArrivalEpoch = null)`; `framed()`; `honourRequestedZoom(map)`; `apply()`; `coordsUsable()`; `enableBoth()`; `arrive()`; `runArrivalSelection(arrival, waitForOwnerCard = false, expectedArrivalEpoch = epoch)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Single-Line Diagram (SLD) Sandbox Technology Vocabulary Excerpt - File: ventus-grid-engine/sources/deeplink-extracts/receiver/sld-sandbox-technology-vocabulary.excerpt.js (JavaScript, 166 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/sources/deeplink-extracts/receiver/sld-sandbox-technology-vocabulary.excerpt.js#L1-L166 - Page: https://code.globalgrid2050.com/explore-code/s/0465.html#f1 - Synopsis: A JavaScript file in the receiver folder of Ventus Grid Engine covering grid substations, wind, solar and battery storage (BESS). - What it achieves (comment): It is built from the coverage step (`coverage`), the is project tech helper (`isProjectTech`) and the layer id for bucket helper (`layerIdForBucket`). `head_sha` (GridAtlas). - What it does: Defines coverage, isProjectTech, layerIdForBucket. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: wind, solar, battery storage (BESS). - Inputs & outputs: In: GeoJSON file grid_substations.geojson. - Signatures: `isProjectTech(tech)`; `layerIdForBucket(tech)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_substations.geojson]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Substation - File: worlds-/src/substation.py (Python, 283 lines) · role electrical · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/substation.py#L1-L283 - Page: https://code.globalgrid2050.com/explore-code/s/0465.html#f2 - Synopsis: A Python command-line tool in Worlds that reads substations and 33kV. It is built from the bins step (`bins`) and the reference step (`reference`). - What it achieves (comment): 500MW down to one substation, every loop enumerated. Its code works with 500 MW, 33 kV and 0.8 kV. It accepts `--run`. - What it does: It loads substations and 33kV. Defines bins, g, reference, main. Uses libraries argparse, io, json, math, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'substation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 33kV, 400kV, 1500V, 0.8kV. - Inputs & outputs: In: JSON file substation.json; command-line arguments. Voltage levels named: 400kV, 33kV, 1500V, 0.8kV. - Downstream impact: Used directly by 1 file: Watch Ulp (worlds-). - Signatures: `bins()`; `g(k)`; `reference(idx)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of worlds-/src/furnace.py) · essay_status: readme_derived - data_contracts: in [JSON file substation.json; command-line arguments]; out []; crs []; voltages [400kV, 33kV, 1500V, 0.8kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Claude Clean Clone Byte Survey - File: claude/scripts/clean_clone_byte_survey.py (Python, 330 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/scripts/clean_clone_byte_survey.py#L1-L330 - Page: https://code.globalgrid2050.com/explore-code/s/0466.html#f1 - Synopsis: A Python command-line tool in the scripts folder that works with sha256 published (`sha256_published`) and eol census (`eol_census`), using SHA-256. - What it achieves (comment): It is built from the git step (`git`), the attributes step (`attributes`) and the renormalise step (`renormalise`). What the bytes are, measured where the bytes are true. It accepts `--root`, `--repos` and `--out`. - What it does: It loads data. Defines 9 functions or classes, including git, sha256_published, eol_census, attributes, renormalise. Uses libraries argparse, hashlib, json, os, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json; JSON file byte-survey.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 1 file: Claude Clean Clone Byte Survey Workflow (claude). - Signatures: `git(repo, *args, timeout=180)`; `sha256_published(path)`; `eol_census(repo)`; `attributes(repo)`; `renormalise(repo)`; `cartridges(repo)`; `survey_repo(root, name)`; `board(res)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file byte-survey.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Routefactor - File: claude/sessions/202609021835-estate-and-corridor/scripts/routefactor.py (Python, 102 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/routefactor.py#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/0466.html#f2 - Synopsis: A Python module in the scripts folder of Claude that reads GB transmission network and connection points. - What it achieves (comment): Measure the GB transmission route factor from published data. It writes `routefactor.json`. - What it does: It loads GB transmission network and connection points. Defines sh, gc, q. Uses libraries json, subprocess, math, statistics, collections. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file gb-transmission-network.v1.json; JSON file connection-points.v3.json. Out: JSON file routefactor.json. - Signatures: `sh(*a)`; `gc(a, b)`; `q(p)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file gb-transmission-network.v1.json; JSON file connection-points.v3.json]; out [JSON file routefactor.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Router - File: claude/sessions/202609021835-estate-and-corridor/scripts/router.py (Python, 170 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/router.py#L1-L170 - Page: https://code.globalgrid2050.com/explore-code/s/0466.html#f3 - Synopsis: A Python module in the scripts folder of Claude that reads meta, using haversine. - What it achieves (comment): It builds snap index (`build_snap_index`) and is built from the graph class (`Graph`) and the snap step (`snap`). Graph loading, spatial snapping and A* routing over the OSM road graph. - What it does: It loads meta. Defines 10 functions or classes, including _load, Graph, __init__, build_snap_index, snap. Uses libraries array, os, math, json, heapq. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file .meta.json. - Downstream impact: Used directly by 5 files: Crossings (claude); Edge Rail (claude); Run Study (claude); Sanity (claude); and 1 more. - Signatures: `_load(pre, name, typecode)`; `class Graph`; `__init__(self, pre="roads")`; `build_snap_index(self, cell=0.02, giant_only=True)`; `snap(self, la, lo, max_rings=60)`; `astar(self, src, dst, extra_cost=None)`; `edge_between(self, u, v)`; `path_legs(self, path)`; `edge_geometry(self, eid)`; `path_geometry(self, path)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file .meta.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 5; mentioned by 0 ### Context - File: code-generator/apps/geodesy/context.mjs (JavaScript, 3 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/geodesy/context.mjs#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0466.html#f4 - Synopsis: A JavaScript module in the geodesy folder of Code Generator. - What it achieves (comment): Values the parts of Geodesy helpers need from their surroundings. - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Downstream impact: Used directly by 1 file: Geodesy (code-generator). - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Geodesy - File: code-generator/apps/geodesy/geodesy.mjs (JavaScript, 25 lines) · role geodesy · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/apps/geodesy/geodesy.mjs#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/0466.html#f5 - Synopsis: A JavaScript module in Code Generator that works with distance km (`distanceKm`) and initial bearing deg (`initialBearingDeg`) and calculates great-circle distances. - What it achieves (comment): It is built from the distance km helper (`distanceKm`) and the initial bearing deg helper (`initialBearingDeg`). Geodesy helpers — generated .649Z by Ventusltd/code-generator from the modular star. - What it does: It calculates its inputs. Defines distanceKm, initialBearingDeg. - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Signatures: `export distanceKm(lon1, lat1, lon2, lat2)`; `export initialBearingDeg(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `dl(lon2 - lon1)` - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: BEARING (GG2050-VEDIC-000005): GridAtlas / Geodesy · Mathematics / Trigonometry. coordinate_pair, coordinate_pair -> bearing_deg - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Position Overlay - File: compass/upstream/tools/satnav/line/position-overlay.mjs (JavaScript, 32 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/compass/blob/e200c888acbcc7af59d7cc38b29806e90b0a50db/upstream/tools/satnav/line/position-overlay.mjs#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/0466.html#f6 - Synopsis: A JavaScript module in the line folder of Compass. - What it achieves (name): Defines `point` and `createPositionOverlay`. - What it does: It calculates its inputs. Defines point, createPositionOverlay. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Compass (compass). Reached from 2 other entry points, including Verify Workflow (compass); Compass Test (compass). - Signatures: `export point(role, coordinates)`; `export createPositionOverlay(coordinates, maths)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 1 ### Route Follower - File: compass/upstream/tools/satnav/line/route-follower.mjs (JavaScript, 21 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/compass/blob/e200c888acbcc7af59d7cc38b29806e90b0a50db/upstream/tools/satnav/line/route-follower.mjs#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0466.html#f7 - Synopsis: A JavaScript module in the line folder of Compass. It is built from the valid step (`valid`). - What it achieves (comment): Tracking only, not routing or authorisation. - What it does: It calculates its inputs. Defines createRouteFollower, valid. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 12 files: Position Overlay (compass); Ordered Convergence 2km (gridatlas); Ordered Convergence Unlimited (gridatlas); Ordered (gridatlas); and 8 more. Reached from 8 other entry points, including Verify Workflow (compass); GridAtlas PR File Size Guard Workflow (gridatlas); Compass Test (compass). - Signatures: `export createRouteFollower(geometry,maths)`; `valid(p)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 12; mentioned by 1 ### Heading - File: compass/upstream/tools/satnav/orientation/heading.mjs (JavaScript, 57 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/compass/blob/e200c888acbcc7af59d7cc38b29806e90b0a50db/upstream/tools/satnav/orientation/heading.mjs#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0467.html#f1 - Synopsis: A JavaScript module in the orientation folder of Compass that formats degrees (`formatDegrees`) and calculates planar distances and angles. - What it achieves (name): It formats degrees (`formatDegrees`) and is built from the device heading helper (`deviceHeading`) and the compact target bearing helper (`compactTargetBearing`). Defines `normalise`, `formatDegrees`, `deviceHeading` and 1 more. - What it does: It calculates its inputs. Defines normalise, formatDegrees, deviceHeading, compactTargetBearing. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 4 files: Heading Test (compass); Orient17a V9211 Heading (gridatlas); Orient17a V9212 Heading (gridatlas); Compass (compass). Reached from 2 other entry points, including Verify Workflow (compass); Compass Test (compass). - Signatures: `export formatDegrees(degrees)`; `export deviceHeading(event, screenAngle = 0)`; `export compactTargetBearing(features)`; `normalise(degrees)`; `beta(Number.isFinite(event.beta) ? event.beta : 0)`; `gamma(Number.isFinite(event.gamma) ? event.gamma : 0)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Heading Test - File: compass/upstream/tools/satnav/orientation/heading.test.mjs (JavaScript, 46 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/compass/blob/e200c888acbcc7af59d7cc38b29806e90b0a50db/upstream/tools/satnav/orientation/heading.test.mjs#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/0467.html#f2 - Synopsis: A test in the orientation folder of Compass that checks Heading. - What it achieves (name): Defines `point` and `radius`. - What it does: It tests its inputs. Defines point, radius. Uses libraries node:assert/strict, node:test. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Verify Workflow (compass). - Signatures: `point(role, coordinates)`; `radius(metres)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Map - File: cosmic/tools/explore/periodic/map.py (Python, 651 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/map.py#L1-L651 - Page: https://code.globalgrid2050.com/explore-code/s/0467.html#f3 - Synopsis: A Python command-line tool in the periodic folder of Cosmic that reads build graph, identity, periodic and table, using SHA-256. It loads identity (`load_identity`) and adds numbered (`add_numbered`). - What it achieves (comment): Periodic table of the code estate: the MAPPER. - What it does: It loads build graph, identity, periodic and table. Defines 15 functions or classes, including zs, sha256, git_head, load, top. Uses libraries argparse, collections, hashlib, json, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: In: JSON file build_graph.json; JSON file identity.json; JSON file periodic.json; JSON file table.json; JSON file elements.json; JSON file functions.json; JSON file blocks.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 2 files: Test Map (cosmic); Extras (cosmic). Reached from 3 other entry points, including Ship (cosmic); Test Extras (cosmic); Test Ship (cosmic). - Signatures: `zs(syms)`; `sha256(path)`; `git_head(repo)`; `load(path)`; `top(counter, order=None)`; `quantile_assign(items, pool)`; `propose_symbol(word, taken)`; `fam_sort(k)`; `evidence_key(idf)`; `load_identity(path, graph)`; `build(args)`; `add_numbered(key, number, sym, **kw)`; `assign_analogues(elements, roles)`; `give(rule, chosen, metric_name, metric)`; `main(argv=None)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file identity.json; JSON file periodic.json; JSON file table.json; JSON file elements.json; JSON file functions.json; JSON file blocks.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Test Map - File: cosmic/tools/explore/periodic/test_map.py (Python, 138 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/test_map.py#L1-L138 - Page: https://code.globalgrid2050.com/explore-code/s/0468.html#f2 - Synopsis: A test in the periodic folder of Cosmic that checks Map. It sets up class (`setUpClass`) and is built from the units class (`Units`) and the live class (`Live`). - What it achieves (comment): Tests for `map.py` (MAPPER). Builds the table twice from the live inputs (about 20 s). - What it does: It tests its inputs. Defines 14 functions or classes, including Units, test_quantile_spreads_over_pool, test_proposed_symbols_unique, test_family_sort, test_real_table. Uses libraries json, os, sys, tempfile, unittest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: In: JSON file a.json; JSON file b.json; JSON file table.json; JSON file elements.json; JSON file blocks.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class Units`; `test_quantile_spreads_over_pool(self)`; `test_proposed_symbols_unique(self)`; `test_family_sort(self)`; `test_real_table(self)`; `class Live`; `setUpClass(cls)`; `test_deterministic(self)`; `test_every_file_mapped(self)`; `test_every_family_mapped(self)`; `test_existing_numbers_unchanged(self)`; `test_candidates_never_numbered(self)`; `test_unsettled_keep_competing_values(self)`; `test_axes_and_analogue(self)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file a.json; JSON file b.json; JSON file table.json; JSON file elements.json; JSON file blocks.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Pilot LiDAR - File: cosmic/tools/explore/theme/pilot-lidar.js (JavaScript, 273 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-lidar.js#L1-L273 - Page: https://code.globalgrid2050.com/explore-code/s/0468.html#f3 - Synopsis: A JavaScript file in the theme folder of Cosmic that tiles xy (`tileXY`) and metres (`tileMetres`), picks zoom (`pickZoom`) and draws on a canvas. - What it achieves (comment): It picks zoom (`pickZoom`), decodes blob (`decodeBlob`) and gets blob (`getBlob`). Pilot LiDAR reader (optional module; TRIGPOINT-62, LiDAR proof of concept for OS square TR06). - What it does: It draws LiDAR terrain. Defines 26 functions or classes, including tileXY, tileMetres, clamp, decode, pickZoom. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage site_feasibility (path word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file index.json. Out: canvas drawing. - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - Signatures: `tileXY(lat, lon, z)`; `tileMetres(lat, z)`; `clamp(v, a, b)`; `decode(px)`; `pickZoom(o)`; `bytes(o.avgBytes && o.avgBytes[z])`; `ringFor(lat, lon, hdg, z, has)`; `add(x, y)`; `sqFor(lat, lon)`; `sqHas(k)`; `urlFor(sq, k)`; `bps()`; `px(z, gx, gy)`; `sampleZ(lat, lon, z)`; `height(lat, lon)`; `blend(lat, lon, base)`; `decodeBlob(blob)`; `fromImg(img)`; `getBlob(url)`; `net()`; `dt(performance.now() - t0)`; `trimCache()`; `pump()`; `prune()`; `update()` (and 4 more) - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Pilot Geo - File: cosmic/tools/explore/theme/test_pilot_geo.py (Python, 103 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/test_pilot_geo.py#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/0468.html#f4 - Synopsis: A test in the theme folder of Cosmic that checks Pilot Estate, using SHA-256 and haversine. - What it achieves (comment): PILOT.estate / PILOT.geo (`theme/pilot-estate.js`): the shared geodesy and the engine's `voltagesKv` (W10 CAPSTAN-41). Its code works with 750 kV. - What it does: It tests its inputs. Defines 7 functions or classes, including _node, test_header_pins_sources_with_sha256, test_vendored_blocks_are_verbatim_and_file_is_current, test_upstream_suite_passes_against_our_copy, test_voltages_kv_engine_semantics. Uses libraries __future__, json, re, shutil, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 750kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 750kV. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV. - Downstream impact: Used directly by 1 file: CI Chess Workflow (cosmic). - Signatures: `_node(js: str)`; `test_header_pins_sources_with_sha256()`; `test_vendored_blocks_are_verbatim_and_file_is_current()`; `test_upstream_suite_passes_against_our_copy(tmp_path, suite)`; `test_voltages_kv_engine_semantics()`; `test_vicinity_uses_engine_voltages_for_osm_tags()`; `test_one_earth_radius_everywhere()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [750kV] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Test Pilot LiDAR - File: cosmic/tools/explore/theme/test_pilot_lidar.py (Python, 457 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/test_pilot_lidar.py#L1-L457 - Page: https://code.globalgrid2050.com/explore-code/s/0469.html#f1 - Synopsis: A test in the theme folder of Cosmic covering LiDAR terrain, using EPSG:27700 and OSTN15. - What it achieves (comment): It makes fixture (`make_fixture`) and is built from the served step (`served`) and the browser step (`browser`). Tests for the LiDAR proof of concept (TRIGPOINT-62): tools/LiDAR (fetch + tile builder), the workflow `.github/workflows/lidar-tr06.yml`, and the Pilot reader `theme/pilot-lidar.js`. - What it does: It tests LiDAR terrain. Defines 29 functions or classes, including _load, _report, test_os_square_to_easting_northing, test_os_square_rejects_bad_refs, test_sourcecoop_fallback_names_cover_the_four_5km_tiles. Uses libraries __future__, functools, http.server, importlib.util, io. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage site_feasibility (path word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: GeoTIFF file syn.tif; JSON file index.json; PMTiles file lidar-tr06.pmtiles. Out: JSON file index.json; JSON file play-index.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `_load(name, path)`; `_report(key, val)`; `test_os_square_to_easting_northing(ref, en)`; `test_os_square_rejects_bad_refs()`; `test_sourcecoop_fallback_names_cover_the_four_5km_tiles(monkeypatch)`; `test_terrarium_round_trip_and_nodata()`; `test_tile_grid_matches_web_mercator()`; `_gdal()`; `test_builder_end_to_end_on_synthetic_bng_dtm(tmp_path)`; `_wf()`; `test_workflow_dispatch_only_commits_nothing()`; `test_workflow_sources_are_free_and_named()`; `test_module_shape_and_credit()`; `_chromium()`; `_txy(lat, lon, z)`; `_plane(u, v, U0, V0)`; `make_fixture(root: Path)`; `ll(x, y, z)`; `served(tmp_path_factory)`; `browser()`; `_open(browser, url, throttle=None)`; `_wait_ring(pg, timeout=60.0, zoom=16)`; `_at(lat=SITE[0], lon=SITE[1], agl=150)`; `test_idle_by_default_and_offline(served, browser)`; `test_pick_zoom_and_ring_rules(served, browser)` (and 4 more) - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoTIFF file syn.tif; JSON file index.json; PMTiles file lidar-tr06.pmtiles]; out [JSON file index.json; JSON file play-index.json]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### LiDAR Build Tiles - File: cosmic/tools/lidar/build_tiles.py (Python, 275 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/lidar/build_tiles.py#L1-L275 - Page: https://code.globalgrid2050.com/explore-code/s/0470.html#f1 - Synopsis: A Python command-line tool in the tools folder of Cosmic that reads probe and LiDAR terrain, using EPSG:27700 and EPSG:3857. It encodes image (`encode_image`) and writes PMTiles (`write_pmtiles`). - What it achieves (comment): EA 1 m DTM (EPSG:27700) -> Terrarium height tiles on the Web-Mercator `z/x/y` grid (TRIGPOINT-62, LiDAR PoC). It accepts `--src`, `--square` and `--bng`. - What it does: It loads probe and LiDAR terrain. Defines 14 functions or classes, including tile_res, lonlat_to_tile, tile_bounds_3857, tile_range, terrarium_encode. Uses libraries __future__, argparse, io, json, math. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (path word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: command-line arguments. Out: JSON file index.json; JSON file probe.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326, Web Mercator / EPSG:3857. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `tile_res(z: int)`; `lonlat_to_tile(lon: float, lat: float, z: int)`; `tile_bounds_3857(x: int, y: int, z: int)`; `tile_range(bbox_ll: tuple[float, float, float, float], z: int)`; `terrarium_encode(h: np.ndarray, vstep: float)`; `terrarium_decode(rgba: np.ndarray)`; `encode_image(rgba: np.ndarray, fmt: str)`; `_gdal()`; `square_bbox_ll(bng: tuple[int, int, int, int])`; `projection_used()`; `warp_zoom(src_paths: list[str], rng, z: int, resample: str)`; `stats(sizes: list[int])`; `write_pmtiles(path: Path, tiles: dict, zooms, bbox_ll, fmt: str, meta: dict)`; `main(argv=None)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file index.json; JSON file probe.json]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326; Web Mercator / EPSG:3857]; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### LiDAR Fetch DTM - File: cosmic/tools/lidar/fetch_dtm.py (Python, 157 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/lidar/fetch_dtm.py#L1-L157 - Page: https://code.globalgrid2050.com/explore-code/s/0470.html#f2 - Synopsis: A Python command-line tool in the tools folder of Cosmic that fetches ea LiDAR DTM 1m items, sources and LiDAR terrain, using EPSG:27700 and SHA-256 from Environment Agency. - What it achieves (comment): It fetches sourcecoop (`fetch_sourcecoop`) and fetches wcs (`fetch_wcs`). Download the Environment Agency 1 m LiDAR DTM for one OS 10 km square (TRIGPOINT-62, LiDAR PoC). It accepts `--square`, `--out` and `--source`. - What it does: It fetches ea LiDAR DTM 1m items, sources and LiDAR terrain. Defines 9 functions or classes, including os_ref_to_en, idx, _get, _download, _exists. Uses libraries __future__, argparse, hashlib, json, sys. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (path word 'dtm'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: data source: Environment Agency; JSON file ea-lidar-dtm-1m-items.json; command-line arguments. Out: JSON file sources.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: LiDAR Build Tiles (cosmic). - Signatures: `os_ref_to_en(ref: str)`; `idx(c)`; `_get(url: str, timeout: int = 120, method: str = 'GET')`; `_download(url: str, dst: Path, tries: int = 3)`; `_exists(url: str)`; `sourcecoop_hrefs(square: str)`; `fetch_sourcecoop(square: str, out: Path)`; `fetch_wcs(square: str, out: Path, pause: float = 40.0)`; `main(argv=None)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: Environment Agency; JSON file ea-lidar-dtm-1m-items.json; command-line arguments]; out [JSON file sources.json]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test OSM Data Centres - File: data-centres-gb/tests/test_202608281053_osm_data_centres.py (Python, 117 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/data-centres-gb/blob/12c24a653e9d4eb3507857fd6e6d169b2dd1ff63/tests/test_202608281053_osm_data_centres.py#L1-L117 - Page: https://code.globalgrid2050.com/explore-code/s/0470.html#f3 - Synopsis: A test in the tests folder of Data Centres GB. It sets up (`setUp`) and is built from the OSM data centres tests class (`OSMDataCentresTests`). - What it achieves (name): Defines `OSMDataCentresTests`, `setUp`, `test_doctor_and_query_rights_boundary` and 5 more. - What it does: It tests its inputs. Defines 8 functions or classes, including OSMDataCentresTests, setUp, test_doctor_and_query_rights_boundary, test_normalisation_preserves_source_identity_and_abstains, test_contributor_identity_is_not_in_published_schema_or_rows. Uses libraries __future__, copy, importlib.util, json, tempfile. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Downstream impact: Used directly by 1 file: CI Workflow (data-centres-gb). - Signatures: `class OSMDataCentresTests`; `setUp(self)`; `test_doctor_and_query_rights_boundary(self)`; `test_normalisation_preserves_source_identity_and_abstains(self)`; `test_contributor_identity_is_not_in_published_schema_or_rows(self)`; `test_build_verify_and_double_compile_are_deterministic(self)`; `test_rejects_empty_partial_wrong_endpoint_and_duplicate_payloads(self)`; `test_bbc_record_is_link_only_and_not_project_bound(self)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test OSM Overpass Retry - File: data-centres-gb/tests/test_202608281626_osm_overpass_retry.py (Python, 269 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/data-centres-gb/blob/12c24a653e9d4eb3507857fd6e6d169b2dd1ff63/tests/test_202608281626_osm_overpass_retry.py#L1-L269 - Page: https://code.globalgrid2050.com/explore-code/s/0471.html#f1 - Synopsis: A test in the tests folder of Data Centres GB. It sets up (`setUp`) and is built from the fake response class (`FakeResponse`) and the overpass retry tests class (`OverpassRetryTests`). - What it achieves (name): Defines `FakeResponse`, `json`, `raise_for_status` and 9 more. - What it does: It tests its inputs. Defines 13 functions or classes, including FakeResponse, __init__, json, raise_for_status, OverpassRetryTests. Uses libraries __future__, copy, importlib.util, json, subprocess. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: In: JSON file overpass-fetch.json; JSON file hostile.json; DuckDB queries. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class FakeResponse`; `__init__(self, status: int, payload: object | None = None, raw: bytes | None = None)`; `json(self)`; `raise_for_status(self)`; `class OverpassRetryTests`; `setUp(self)`; `test_remarked_response_is_retried_then_valid_response_lands(self)`; `test_repeated_remarks_fail_closed_with_sanitised_receipt(self)`; `test_retryable_http_then_valid_response_lands(self)`; `test_network_exception_then_valid_response_lands(self)`; `test_private_and_unverified_party_strings_never_reach_outputs(self)`; `test_hostile_build_duckdb_and_geojson_readback_are_privacy_safe(self)`; `test_malformed_empty_and_missing_provenance_never_land(self)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file overpass-fetch.json; JSON file hostile.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test OSM Overpass Indexed - File: data-centres-gb/tests/test_202608281702_osm_overpass_indexed.py (Python, 102 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/data-centres-gb/blob/12c24a653e9d4eb3507857fd6e6d169b2dd1ff63/tests/test_202608281702_osm_overpass_indexed.py#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/0471.html#f2 - Synopsis: A test in the tests folder of Data Centres GB. It is built from the indexed overpass tests class (`IndexedOverpassTests`). - What it achieves (name): Defines `IndexedOverpassTests`, `test_doctor_and_exact_selector_closure` and `test_center_only_fixture_builds_and_verifies_through_successor`. - What it does: It tests its inputs. Defines IndexedOverpassTests, test_doctor_and_exact_selector_closure, test_center_only_fixture_builds_and_verifies_through_successor. Uses libraries __future__, importlib.util, json, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: In: JSON file center-only.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class IndexedOverpassTests`; `test_doctor_and_exact_selector_closure(self)`; `test_center_only_fixture_builds_and_verifies_through_successor(self)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file center-only.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Federation Radial - File: data-federation-map-for-globalgrid2050-all-repos/dashboard/federation_radial.css (CSS, 94 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/dashboard/federation_radial.css#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/0471.html#f3 - Synopsis: A style sheet in the dashboard folder of Data Federation Map for GlobalGrid2050 All Repos. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Downstream impact: Used directly by 4 files: Federation Radial (data-federation-map-for-globalgrid2050-all-repos, https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/federation_radial.html); Spider Full Po Test (data-federation-map-for-globalgrid2050-all-repos, https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/spider_full_po_test.html); Spider Sandbox (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/spider-sandbox.html); Testcode — Grid Engine Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/grid-engine/). Reached from 284 other entry points, including Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/). - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Federation Radial - File: data-federation-map-for-globalgrid2050-all-repos/dashboard/federation_radial.html (HTML, 207 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/dashboard/federation_radial.html#L1-L207 - Page: https://code.globalgrid2050.com/explore-code/s/0471.html#f4 - Published at: https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/federation_radial.html - Synopsis: A web page in the dashboard folder of Data Federation Map for GlobalGrid2050 All Repos covering solar and uses data from Elexon Balancing Mechanism Reporting Service (BMRS). Published at https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/federation_radial.html. - What it achieves (comment): It applies root links (`applyRootLinks`), rebuilds select (`rebuildSelect`) and opens URL (`openUrl`). Ventus Global Grid 2050. It responds to change and click events. - What it does: It draws solar. Defines 13 functions or classes, including applyRootLinks, S, rebuildSelect, actionable, openUrl. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: solar. - Inputs & outputs: In: data source: Elexon BMRS; JSON file nodes.json; JSON file edges.json; DuckDB queries; form fields (user input). Out: web page; SVG drawing. - Downstream impact: Used directly by 1 file: Registry of All Content in Repos and Dependencies — Index Page (registry_of_all_content_in_repos_and_dependencies, https://ventusltd.github.io/registry_of_all_content_in_repos_and_dependencies/). Reached from 130 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/federation_radial.html. - Signatures: `applyRootLinks(nodes)`; `S()`; `rebuildSelect()`; `actionable(n)`; `openUrl(u)`; `handleTap(i)`; `drillInto(childKey)`; `popTo(idx)`; `neighbours(idx)`; `cardInner(node,opts={})`; `setHint()`; `setCrumbs()`; `draw()`; `drawColumn(focus,out,inc)`; `marker(defs,type)`; `distribute(items,side,cx,cy,gap,xGap)`; `drawSpider(focus,out,inc)`; `enableDragPan(el)`; `reshapeNodes(fc)`; `loadJSON(path)`; `loadRoot()`; `loadContents()` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; JSON file nodes.json; JSON file edges.json; DuckDB queries; form fields (user input)]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, estate-url 1); used by 1; mentioned by 0 ### Federation Radial Uniform - File: data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/federation_radial_uniform.html (HTML, 203 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/dashboard/sandbox/federation_radial_uniform.html#L1-L203 - Page: https://code.globalgrid2050.com/explore-code/s/0472.html#f1 - Published at: https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/federation_radial_uniform.html - Synopsis: A web page in the sandbox folder of Data Federation Map for GlobalGrid2050 All Repos covering solar and uses data from Elexon Balancing Mechanism Reporting Service (BMRS). Published at https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/federation_radial_uniform.html. - What it achieves (comment): It applies root links (`applyRootLinks`), rebuilds select (`rebuildSelect`) and opens URL (`openUrl`). Ventus Global Grid 2050. It responds to change and click events. - What it does: It draws solar. Defines 14 functions or classes, including applyRootLinks, S, rebuildSelect, actionable, openUrl. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar. - Inputs & outputs: In: data source: Elexon BMRS; JSON file nodes.json; JSON file edges.json; DuckDB queries; form fields (user input). Out: web page; SVG drawing. - Downstream impact: Used directly by 89 files: GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage Versions — GlobalGrid2050 Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/202608291526-globalgrid2050/); Homepage V001 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v001.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html); and 85 more. Reached from 36 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/federation_radial_uniform.html. - Signatures: `applyRootLinks(nodes)`; `S()`; `rebuildSelect()`; `actionable(n)`; `openUrl(u)`; `handleTap(i)`; `drillInto(childKey)`; `popTo(idx)`; `neighbours(idx)`; `cardInner(node,opts={})`; `goLabel(n)`; `setHint()`; `setCrumbs()`; `draw()`; `drawColumn(focus,out,inc)`; `marker(defs,type)`; `distribute(items,side,cx,cy,gap,xGap)`; `drawSpider(focus,out,inc)`; `enableDragPan(el)`; `reshapeNodes(fc)`; `loadJSON(path)`; `loadRoot()` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/spider_full_po_test.html) · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; JSON file nodes.json; JSON file edges.json; DuckDB queries; form fields (user input)]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 89; mentioned by 0 ### Spider Full Po Test - File: data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/spider_full_po_test.html (HTML, 208 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/dashboard/sandbox/spider_full_po_test.html#L1-L208 - Page: https://code.globalgrid2050.com/explore-code/s/0472.html#f2 - Published at: https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/spider_full_po_test.html - Synopsis: A test that checks Federation Radial and Live Sandbox — Federation Control Ledger Page using data from Elexon Balancing Mechanism Reporting Service (BMRS). - What it achieves (comment): It applies root links (`applyRootLinks`), rebuilds select (`rebuildSelect`) and opens URL (`openUrl`). Ventus Global Grid 2050. - What it does: It tests solar. Defines 14 functions or classes, including applyRootLinks, S, rebuildSelect, actionable, openUrl. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar. - Inputs & outputs: In: data source: Elexon BMRS; JSON file nodes.json; JSON file edges.json; DuckDB queries; form fields (user input). Out: SVG drawing. - Downstream impact: Used directly by 109 files: Menu Bar (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/Si/); Substation Intelligence (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/Si/); Substation Intelligence V9 63 (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/Si/); Substation Intelligence (globalgrid2050); and 105 more. Reached from 187 other entry points, including Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/). It is itself an entry point, published at https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/spider_full_po_test.html. - Signatures: `applyRootLinks(nodes)`; `S()`; `rebuildSelect()`; `actionable(n)`; `openUrl(u)`; `handleTap(i)`; `drillInto(childKey)`; `popTo(idx)`; `neighbours(idx)`; `cardInner(node,opts={})`; `goLabel(n)`; `setHint()`; `setCrumbs()`; `draw()`; `drawColumn(focus,out,inc)`; `marker(defs,type)`; `distribute(items,side,cx,cy,gap,xGap)`; `drawSpider(focus,out,inc)`; `enableDragPan(el)`; `reshapeNodes(fc)`; `loadJSON(path)`; `loadRoot()`; `loadContents()` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; JSON file nodes.json; JSON file edges.json; DuckDB queries; form fields (user input)]; out [SVG drawing]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, estate-url 1); used by 109; mentioned by 0 ### Federation - File: data-federation-map-for-globalgrid2050-all-repos/federation.yaml (YAML, 27 lines) · role docs-config · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/federation.yaml#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0472.html#f3 - Synopsis: A configuration file in Data Federation Map for GlobalGrid2050 All Repos. - What it achieves (comment): Authoritative backend metadata map for the GlobalGrid2050 repository federation. - What it does: It loads data. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Live Sandbox — Blank Canvas Page - File: data-federation-map-for-globalgrid2050-all-repos/live_sandbox/blank_canvas/index.html (HTML, 128 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/live_sandbox/blank_canvas/index.html#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/0472.html#f4 - Published at: https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/blank_canvas/ - Synopsis: A web page covering the Renewable Energy Planning Database (REPD) register and uses data from Elexon Balancing Mechanism Reporting Service (BMRS). Published at https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/blank_canvas/. - What it achieves (comment): It is built from the escape HTML helper (`escapeHtml`), the detect step (`detect`) and the fallback step (`fallback`). Single Target Workspace. It responds to submit events. - What it does: It draws the REPD register. Defines 11 functions or classes, including escapeHtml, detect, fallback, link, tabsFor. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: Elexon BMRS; browser storage (getItem); form fields (user input). Out: browser storage (setItem); web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/blank_canvas/. - Signatures: `escapeHtml(v)`; `detect(url)`; `fallback(url)`; `link(label,url)`; `tabsFor(target)`; `targetPanel(t)`; `oldPanel(t)`; `ownerPanel(t)`; `dataPanel(t)`; `newPanel(t)`; `portPanel(t)`; `render(url)`; `activate(id)`; `load(value)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; browser storage (getItem); form fields (user input)]; out [browser storage (setItem); web page]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Live Sandbox — Federation Control Ledger - File: data-federation-map-for-globalgrid2050-all-repos/live_sandbox/federation_control_ledger/app.js (JavaScript, 189 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/live_sandbox/federation_control_ledger/app.js#L1-L189 - Page: https://code.globalgrid2050.com/explore-code/s/0473.html#f1 - Published at: https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/federation_control_ledger/ - Synopsis: A JavaScript file in Data Federation Map for GlobalGrid2050 All Repos that loads scope, shows edge popover, builds layer and calculates planar distances. Served with the page at https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/federation_control_ledger/. - What it achieves (name): It loads scope (`loadScope`), shows edge popover (`showEdgePopover`) and builds layer key (`buildLayerKey`). Defines `defaultScale`, `esc`, `repoUrl` and 26 more. It responds to click, wheel and touchstart events. - What it does: It draws its content. Defines 29 functions or classes, including defaultScale, esc, repoUrl, rootUrl, json. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: SVG drawing. - Downstream impact: Used directly by 1 file: Live Sandbox — Federation Control Ledger Page (data-federation-map-for-globalgrid2050-all-repos, https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/federation_control_ledger/). Reached from 290 other entry points, including Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Federation Radial (data-federation-map-for-globalgrid2050-all-repos, https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/federation_radial.html); Federation Radial Uniform (data-federation-map-for-globalgrid2050-all-repos, https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/federation_radial_uniform.html). It is itself an entry point, published at https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/federation_control_ledger/. - Signatures: `defaultScale()`; `esc(v)`; `repoUrl(id)`; `rootUrl(path, base=location.href)`; `json(path, base)`; `layerFor(n)`; `defaultVisible()`; `visibleNodes()`; `visibleEdgesRaw()`; `isWorkflowEdge(e)`; `edgeFilterMatch(e)`; `loadScope(manifestPath, push)`; `grouped()`; `cssVar(name, fallback)`; `geometry(groups)`; `render()`; `visibleEdges()`; `relatedIds(id)`; `edgeCoords(e)`; `connectors()`; `redrawOnly()`; `showEdgePopover(e,x,y)`; `card(n)`; `repoPreview(n)`; `buildLayerKey()` (and 5 more) - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Focus Default - File: data-federation-map-for-globalgrid2050-all-repos/live_sandbox/federation_control_ledger/focus-default.js (JavaScript, 48 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/live_sandbox/federation_control_ledger/focus-default.js#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0473.html#f2 - Published at: https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/federation_control_ledger/ - Synopsis: A JavaScript file in the federation control ledger folder of Data Federation Map for GlobalGrid2050 All Repos that applies quiet default (`applyQuietDefault`). Served with the page at https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/federation_control_ledger/. - What it achieves (name): It applies quiet default (`applyQuietDefault`) and is built from the wait then apply helper (`waitThenApply`) and the watch layer nav helper (`watchLayerNav`). Defines `applyQuietDefault`, `waitThenApply` and `watchLayerNav`. It responds to load and click events. - What it does: Defines applyQuietDefault, waitThenApply, watchLayerNav. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Live Sandbox — Federation Control Ledger Page (data-federation-map-for-globalgrid2050-all-repos, https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/federation_control_ledger/). Reached from 291 other entry points, including Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Federation Radial (data-federation-map-for-globalgrid2050-all-repos, https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/federation_radial.html); Federation Radial Uniform (data-federation-map-for-globalgrid2050-all-repos, https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/federation_radial_uniform.html). It is itself an entry point, published at https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/federation_control_ledger/. - Signatures: `applyQuietDefault()`; `waitThenApply()`; `watchLayerNav()` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Live Sandbox — Federation Control Ledger Page - File: data-federation-map-for-globalgrid2050-all-repos/live_sandbox/federation_control_ledger/index.html (HTML, 49 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/live_sandbox/federation_control_ledger/index.html#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/0473.html#f3 - Published at: https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/federation_control_ledger/ - Synopsis: A web page in Data Federation Map for GlobalGrid2050 All Repos. Published at https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/federation_control_ledger/. - What it achieves (comment): Ventus Global Grid 2050. - What it does: It draws its content. Uses libraries style.css?v=relation-board-4. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 12 files: Federation Radial (data-federation-map-for-globalgrid2050-all-repos, https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/federation_radial.html); Federation Radial Uniform (data-federation-map-for-globalgrid2050-all-repos, https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/federation_radial_uniform.html); Spider Full Po Test (data-federation-map-for-globalgrid2050-all-repos, https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/spider_full_po_test.html); Live Sandbox — Federation Control Ledger (data-federation-map-for-globalgrid2050-all-repos, https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/federation_control_ledger/); and 8 more. Reached from 279 other entry points, including Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/). It is itself an entry point, published at https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/federation_control_ledger/. - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (script-src 2); used by 12; mentioned by 0 ### Live Sandbox — Football One Card Page - File: data-federation-map-for-globalgrid2050-all-repos/live_sandbox/football_one_card/index.html (HTML, 80 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/live_sandbox/football_one_card/index.html#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/0473.html#f4 - Published at: https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/football_one_card/ - Synopsis: A web page in Data Federation Map for GlobalGrid2050 All Repos. Published at https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/football_one_card/. It is built from the save step (`save`) and the load step (`load`). - What it achieves (comment): Match Summary Canvas. It responds to input events. - What it does: It draws its content. Defines save, load. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: browser storage (getItem); DuckDB queries. Out: browser storage (setItem); web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/live_sandbox/football_one_card/. - Signatures: `save()`; `load(data)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [browser storage (getItem); DuckDB queries]; out [browser storage (setItem); web page]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Build Declared Cartridges - File: data-federation-map-for-globalgrid2050-all-repos/scripts/build_declared_cartridges.py (Python, 262 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/scripts/build_declared_cartridges.py#L1-L262 - Page: https://code.globalgrid2050.com/explore-code/s/0473.html#f5 - Synopsis: A Python command-line tool in the scripts folder of Data Federation Map for GlobalGrid2050 All Repos that reads federation cartridges and solar. It reads base (`read_base`) and builds once (`build_once`). - What it achieves (name): Its name says it builds declared cartridges. Defines `qpath`, `qlit`, `now` and 10 more. It accepts `--mode` and `--repository`. - What it does: It loads federation cartridges and solar. Defines 14 functions or classes, including qpath, qlit, now, md5, stable_write_json. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: solar. - Inputs & outputs: In: JSON file FEDERATION_CARTRIDGES_LATEST.json; Parquet file edges.parquet; Parquet file nodes.parquet; DuckDB queries; command-line arguments. - Downstream impact: Used directly by 1 file: Gridbot Declared Cartridges Workflow (data-federation-map-for-globalgrid2050-all-repos). - Signatures: `qpath(p: Path)`; `qlit(s: str)`; `now()`; `md5(p: Path)`; `stable_write_json(path: Path, obj: dict[str, Any])`; `repo_part(node_id: str)`; `read_base(con: duckdb.DuckDBPyConnection, nodes: Path, edges: Path)`; `eligible(con: duckdb.DuckDBPyConnection, nodes: Path)`; `build_once(root: Path, con: duckdb.DuckDBPyConnection, nodes: Path, edges: Path, repos: list[str], base: dict[str, Any])`; `files_md5(root: Path)`; `union_table(con: duckdb.DuckDBPyConnection, carts: list[dict[str, Any]])`; `verify(con: duckdb.DuckDBPyConnection, nodes: Path, edges: Path, repos: list[str], excluded: list[str], carts: list[dict[str...)`; `report_write(report: dict[str, Any])`; `main()` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file FEDERATION_CARTRIDGES_LATEST.json; Parquet file edges.parquet; Parquet file nodes.parquet; DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Federation Map - File: data-federation-map-for-globalgrid2050-all-repos/scripts/build_federation_map.py (Python, 469 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/scripts/build_federation_map.py#L1-L469 - Page: https://code.globalgrid2050.com/explore-code/s/0474.html#f1 - Synopsis: A Python command-line tool in the scripts folder of Data Federation Map for GlobalGrid2050 All Repos using data from GitHub API. - What it achieves (name): It lists owner repos (`list_owner_repos`), fetches text (`fetch_text`) and lists workflow paths (`list_workflow_paths`). Its name says it builds federation map. Defines `canonical_repo_ref`, `utcnow`, `week_parts` and 15 more. It accepts `--owner`, `--timeout` and `--request-delay-seconds`. - What it does: It fetches data. Defines 19 functions or classes, including canonical_repo_ref, utcnow, week_parts, headers, gh_get. Uses libraries __future__, argparse, csv, datetime, json. Side effects: reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: In: data source: GitHub API; CSV file nodes.csv; CSV file edges.csv; Parquet file nodes.parquet; Parquet file edges.parquet; DuckDB queries; command-line arguments. Out: JSON file FEDERATION_MAP_LATEST.json; Parquet file. - Downstream impact: Used directly by 1 file: Gridbot Federation Map Weekly Workflow (data-federation-map-for-globalgrid2050-all-repos). - Signatures: `canonical_repo_ref(ref: str)`; `utcnow()`; `week_parts(now: dt.datetime)`; `headers(token: str | None, raw: bool = False)`; `gh_get(url: str, token: str | None, timeout: int, raw: bool = False)`; `list_owner_repos(owner: str, token: str | None, timeout: int, delay: float)`; `fetch_text(repo_full_name: str, path: str, ref: str, token: str | None, timeout: int, max_bytes: int)`; `list_workflow_paths(repo_full_name: str, ref: str, token: str | None, timeout: int)`; `clean_excerpt(text: str, token: str)`; `infer_repo_type(name: str, text_blob: str)`; `edge_type_for(to_node: str, evidence_path: str, text: str)`; `build_rows(owner: str, token: str | None, timeout: int, delay: float, max_file_bytes: int)`; `write_csv(path: Path, rows: list[dict[str, Any]])`; `sql_path(path: Path)`; `write_parquet(staging: Path, target: Path)`; `write_outputs(nodes: list[dict[str, Any]], edges: list[dict[str, Any]])`; `verify_outputs()`; `write_reports(report: dict[str, Any])`; `main()` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API; CSV file nodes.csv; CSV file edges.csv; Parquet file nodes.parquet; Parquet file edges.parquet; DuckDB queries; command-line arguments]; out [JSON file FEDERATION_MAP_LATEST.json; Parquet file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Publish Federation JSON - File: data-federation-map-for-globalgrid2050-all-repos/scripts/publish_federation_json.py (Python, 818 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/scripts/publish_federation_json.py#L1-L818 - Page: https://code.globalgrid2050.com/explore-code/s/0475.html#f1 - Synopsis: A Python command-line tool in the scripts folder of Data Federation Map for GlobalGrid2050 All Repos that reads federation publish and federation map, using SHA-256. - What it achieves (name): It stops plan (`StopPlan`), reads JSON (`read_json`) and reads text if exists (`read_text_if_exists`). Its name says it publishes federation JSON. Defines `StopPlan`, `utcnow`, `rel` and 25 more. It accepts `--mode`, `--repository` and `--source-nodes`. - What it does: It loads federation publish and federation map. Defines 29 functions or classes, including StopPlan, utcnow, rel, sql_path, json_text. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: In: Parquet file nodes.parquet; Parquet file edges.parquet; JSON file FEDERATION_PUBLISH_LATEST.json; JSON file FEDERATION_MAP_LATEST.json; JSON file nodes.json; JSON file edges.json; DuckDB queries; command-line arguments. - Downstream impact: Used directly by 1 file: Gridbot Federation Map Weekly Workflow (data-federation-map-for-globalgrid2050-all-repos). - Signatures: `class StopPlan`; `utcnow()`; `rel(path: Path)`; `sql_path(path: Path)`; `json_text(obj: Any)`; `canonical_text(obj: Any)`; `sha256_text(text: str)`; `read_json(path: Path)`; `read_text_if_exists(path: Path)`; `write_text(path: Path, text: str)`; `current_commit_sha()`; `empty_report(args: argparse.Namespace, generated_utc: str)`; `add_check(report: dict[str, Any], name: str, passed: bool, detail: str, numbers: dict[str, Any] | None = None)`; `all_checks_pass(report: dict[str, Any])`; `parquet_columns(con: duckdb.DuckDBPyConnection, path: Path)`; `load_source_rows(con: duckdb.DuckDBPyConnection, nodes_path: Path, edges_path: Path)`; `scanner_readback_status(scanner_report_path: Path, scanner_status: str)`; `current_node_shape(current_nodes: dict[str, Any])`; `current_edges_shape(current_edges: dict[str, Any])`; `build_nodes_json(source_nodes: list[dict[str, Any]], current_nodes_obj: dict[str, Any])`; `build_edges_json(source_edges: list[dict[str, Any]], node_index: dict[str, int], current_edges_obj: dict[str, Any])`; `projection_for_reconciliation(nodes_obj: dict[str, Any], edges_obj: dict[str, Any])`; `edge_indices_resolve(nodes_obj: dict[str, Any], edges_obj: dict[str, Any])`; `update_dependencies_text(existing: str | None)`; `write_markdown_report(report: dict[str, Any])` (and 4 more) - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [Parquet file nodes.parquet; Parquet file edges.parquet; JSON file FEDERATION_PUBLISH_LATEST.json; JSON file FEDERATION_MAP_LATEST.json; JSON file nodes.json; JSON file edges.json; DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Render Internal Dashboard - File: data-federation-map-for-globalgrid2050-all-repos/scripts/render_internal_dashboard.py (Python, 194 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/scripts/render_internal_dashboard.py#L1-L194 - Page: https://code.globalgrid2050.com/explore-code/s/0476.html#f2 - Synopsis: A Python command-line tool in the scripts folder of Data Federation Map for GlobalGrid2050 All Repos that reads federation map and federation dashboard. - What it achieves (name): It builds payload (`build_payload`) and renders HTML (`render_html`). Its name says it renders internal dashboard. Defines `utcnow`, `sql_path`, `load_latest_report` and 3 more. - What it does: It loads federation map and federation dashboard. Defines 7 functions or classes, including utcnow, sql_path, load_latest_report, colour_for_repo, build_payload. Uses libraries __future__, datetime, html, json, pathlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: In: JSON file FEDERATION_MAP_LATEST.json; Parquet file nodes.parquet; Parquet file edges.parquet; DuckDB queries. Out: JSON file federation_dashboard.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `utcnow()`; `sql_path(path: Path)`; `load_latest_report()`; `colour_for_repo(repo_type: str, status: str, files: str)`; `build_payload()`; `render_html(payload: dict)`; `main()` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file FEDERATION_MAP_LATEST.json; Parquet file nodes.parquet; Parquet file edges.parquet; DuckDB queries]; out [JSON file federation_dashboard.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### OSM Power Plants - File: data-grid-gb/conventional/fetchers/osm_power_plants.py (Python, 20 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/conventional/fetchers/osm_power_plants.py#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0476.html#f3 - Synopsis: A Python module in the fetchers folder of Data Grid GB. It is built from the raw requests helper (`raw_requests`) and the normalise step (`normalise`). - What it achieves (comment): OpenStreetMap power=plant with a conventional plant:source. - What it does: It calculates its inputs. Defines raw_requests, normalise. - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Signatures: `raw_requests()`; `normalise(raw)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### OSM Datacentres - File: data-grid-gb/datacentres/fetchers/osm_datacentres.py (Python, 20 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/fetchers/osm_datacentres.py#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0476.html#f4 - Synopsis: A Python module in the fetchers folder of Data Grid GB. It is built from the raw requests helper (`raw_requests`) and the normalise step (`normalise`). - What it achieves (comment): OpenStreetMap features tagged as data centres (telecom=`data_center`, building=`data_center` and related). - What it does: It calculates its inputs. Defines raw_requests, normalise. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentres'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `raw_requests()`; `normalise(raw)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### DC A4 - File: data-grid-gb/datacentres/lanes/dc-a4-osm-wikidata/dc_a4.py (Python, 502 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/lanes/dc-a4-osm-wikidata/dc_a4.py#L1-L502 - Page: https://code.globalgrid2050.com/explore-code/s/0477.html#f1 - Synopsis: A Python command-line tool in the lanes folder of Data Grid GB that fetches fetch, OSM overpass, wikidata sparql and DC operational, using SHA-256 from OpenStreetMap (Overpass). - What it achieves (comment): It fetches OSM (`fetch_osm`), fetches wikidata (`fetch_wikidata`) and groups OSM (`group_osm`). Operational UK data centres from OpenStreetMap (ODbL) and Wikidata (CC0). Its code works with 40 MW. It accepts `--raw`, `--out` and `--legacy`. - What it does: It fetches fetch, OSM overpass, wikidata sparql and DC operational. Defines 26 functions or classes, including sha256_bytes, sha256_file, clean, norm, tokens. Uses libraries argparse, hashlib, json, math, os. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: OpenStreetMap (Overpass); GeoJSON file datacentres.geojson; JSON file .fetch.json; JSON file osm_overpass.json; GeoJSON file gg2050_datacentres.geojson; JSON file wikidata_sparql.json; JSON file dc_operational.json; GeoJSON file dc_operational.geojson. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha256_bytes(b)`; `sha256_file(p)`; `clean(s)`; `norm(s)`; `tokens(s)`; `hav_m(a, b)`; `in_uk(lon, lat)`; `dump(obj, path)`; `nation(lon, lat)`; `_http(req, out_dir, stem, meta)`; `fetch_osm(a)`; `fetch_wikidata(a)`; `osm_records(raw_path, retrieved)`; `legacy_records(path)`; `wd_records(raw_path, retrieved)`; `op_compatible(a, b)`; `site_compatible(members, incoming)`; `assert_single_operator(sites)`; `group_osm(recs)`; `match_wikidata(sites, wds)`; `source_entry(m)`; `build_site(s, idx)`; `reconcile(sites, offtakers_path, legacy_used)`; `build(a)`; `selftest(a)` (and 1 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass); GeoJSON file datacentres.geojson; JSON file .fetch.json; JSON file osm_overpass.json; GeoJSON file gg2050_datacentres.geojson; JSON file wikidata_sparql.json; JSON file dc_operational.json; GeoJSON file dc_operational.geojson]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Data GridAtlas — Data GridAtlas Page - File: data-gridatlas/202608291237-data-gridatlas/index.html (HTML, 39 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/202608291237-data-gridatlas/index.html#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0477.html#f2 - Published at: https://ventusltd.github.io/data-gridatlas/202608291237-data-gridatlas/ - Synopsis: A web page that uses SHA-256. Published at https://ventusltd.github.io/data-gridatlas/202608291237-data-gridatlas/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file release.json; JSON file browser-layer-registry.json. Out: web page. - Downstream impact: Used directly by 9 files: V9 Parquet Fetch Bridge (code-generator); Streaming Parquet Bridge V9 5 (globalgrid2050); Streaming Parquet Bridge (globalgrid2050); Streaming Parquet Bridge V9 5 (gridatlas); and 5 more. Reached from 97 other entry points, including Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html). It is itself an entry point, published at https://ventusltd.github.io/data-gridatlas/202608291237-data-gridatlas/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file release.json; JSON file browser-layer-registry.json]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 9; mentioned by 0 ### Verify Bootstrap - File: data-gridatlas/atman/202608290904-verify-bootstrap.py (Python, 304 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/atman/202608290904-verify-bootstrap.py#L1-L304 - Page: https://code.globalgrid2050.com/explore-code/s/0478.html#f1 - Synopsis: A Python command-line tool in the atman folder of Data GridAtlas that reads GridAtlas bootstrap, GridAtlas consumer, dependency ledger and quarantine, using SHA-256. - What it achieves (comment): It verifies repository (`verify_repository`), parses oracle tree (`parse_oracle_tree`) and verifies oracle (`verify_oracle`). Independent verifier for the inventory-only data-GridAtlas bootstrap. It accepts `--repository`, `--oracle-tree` and `--catalog`. - What it does: It loads GridAtlas bootstrap, GridAtlas consumer, dependency ledger and quarantine. Defines 11 functions or classes, including reject_duplicate_keys, load, digest, require, safe_relative. Uses libraries argparse, hashlib, json, re, subprocess. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608290904-data-gridatlas-bootstrap.json; JSON file 202608290904-gridatlas-consumer.json; JSON file 202608290904-v8-dependency-ledger.json; JSON file 202608290904-v8-file-ledger.json; JSON file 202608290904-v8-quarantine.json; Parquet file files.parquet; Parquet file layers.parquet; Parquet file quarantine.parquet. - Downstream impact: Used directly by 1 file: Bootstrap Verify Data GridAtlas Workflow (data-gridatlas). - Signatures: `reject_duplicate_keys(pairs)`; `load(path: Path)`; `digest(path: Path)`; `require(condition, message)`; `safe_relative(value)`; `inventory(repository: Path)`; `verify_repository(repository: Path, bootstrap)`; `parse_oracle_tree(path: Path)`; `verify_oracle(tree_path: Path, contracts)`; `verify_catalog(repository: Path, catalog: Path, contracts)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file 202608290904-data-gridatlas-bootstrap.json; JSON file 202608290904-gridatlas-consumer.json; JSON file 202608290904-v8-dependency-ledger.json; JSON file 202608290904-v8-file-ledger.json; JSON file 202608290904-v8-quarantine.json; Parquet file files.parquet; Parquet file layers.parquet; Parquet file quarantine.parquet]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Verify V8 Transplant - File: data-gridatlas/atman/202608291015-verify-v8-transplant.py (Python, 1134 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/atman/202608291015-verify-v8-transplant.py#L1-L1134 - Page: https://code.globalgrid2050.com/explore-code/s/0478.html#f2 - Synopsis: A Python command-line tool in the atman folder of Data GridAtlas that reads transplant plan, runtime dependencies, repository boundary and dependency ledger, using SHA-256. - What it achieves (comment): It reads oracle source (`read_oracle_source`), collects coordinates (`collect_coordinates`) and snaps feature independently (`snap_feature_independently`). Independent verifier for the full V8 parity transplant candidate. Its code works with 11 kV. It accepts `--repository`, `--phase-output` and `--source-root`. - What it does: It loads transplant plan, runtime dependencies, repository boundary and dependency ledger. Defines 30 functions or classes, including canonical, reject_duplicate_keys, load, digest, digest_bytes. Uses libraries argparse, copy, hashlib, json, math. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV. - Inputs & outputs: In: JSON file 202608291015-v8-transplant-plan.json; JSON file 202608291015-v8-layer-config.json; JSON file 202608291015-v8-runtime-dependencies.json; JSON file 202608291015-repository-boundary.json; JSON file 202608291015-v8-transplant-parquet.json; JSON file 202608290904-v8-dependency-ledger.json; JSON file 202608290904-v8-file-ledger.json; JSON file 202608290904-v8-quarantine.json. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 11kV. - Downstream impact: Used directly by 2 files: Build V8 Transplant (data-gridatlas); Build V8 Transplant Candidate Workflow (data-gridatlas). - Signatures: `canonical(value)`; `reject_duplicate_keys(pairs)`; `load(path)`; `digest(path)`; `digest_bytes(payload)`; `git_blob_oid(payload)`; `expected_compute_identity(repository)`; `require(condition, message)`; `safe_relative(value)`; `sql_string(value)`; `loads_strict(value)`; `read_oracle_source(source, source_root)`; `collect_coordinates(node, output)`; `evaluate_filter(expression, properties)`; `snap_feature_independently(feature, substations)`; `snap(coordinate)`; `verify_rows_against_features(connection, path, source, features, retained_keys, original_features=None)`; `validate_contracts(repository)`; `validate_repository(repository, contracts)`; `parquet_compression(connection, path)`; `parquet_schema(connection, path)`; `validate_partition(connection, path, source, forbidden_keys, scan_privacy=True)`; `verify_projected_partition_internal(connection, path, source)`; `verify_artifact_list(root, manifest)`; `require_exact_artifact_contract(artifacts, expected)` (and 5 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file 202608291015-v8-transplant-plan.json; JSON file 202608291015-v8-layer-config.json; JSON file 202608291015-v8-runtime-dependencies.json; JSON file 202608291015-repository-boundary.json; JSON file 202608291015-v8-transplant-parquet.json; JSON file 202608290904-v8-dependency-ledger.json; JSON file 202608290904-v8-file-ledger.json; JSON file 202608290904-v8-quarantine.json]; out []; crs [WGS84 / EPSG:4326]; voltages [11kV] - Edges: uses 1 estate file (script-call 1); used by 2; mentioned by 0 ### Verify Live Data Release - File: data-gridatlas/atman/202608291237-verify-live-data-release.py (Python, 305 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/atman/202608291237-verify-live-data-release.py#L1-L305 - Page: https://code.globalgrid2050.com/explore-code/s/0480.html#f2 - Synopsis: A Python command-line tool in the atman folder of Data GridAtlas that fetches live release, full candidate verification and membership, using SHA-256. It reads JSON (`read_json`) and finds placeholders (`find_placeholders`). - What it achieves (comment): Independently verify the immutable live data release. It reads `release.json`. It accepts `--repository`, `--contract` and `--release`. - What it does: It fetches live release, full candidate verification and membership. Defines 7 functions or classes, including reject_duplicate_keys, read_json, sha256, require, find_placeholders. Uses libraries __future__, argparse, hashlib, json, pathlib. Side effects: reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file release.json; JSON file full-candidate-verification.json; JSON file browser-layer-registry.json; Parquet file layer_membership.parquet; JSON file 202608291237-live-data-release.json; DuckDB queries; command-line arguments. - Downstream impact: Used directly by 2 files: Current Integrity (data-gridatlas); Publish Live Data GridAtlas Workflow (data-gridatlas). Reached from 3 other entry points, including Contract Guard Workflow (data-gridatlas); Current Integrity Workflow (data-gridatlas); Watchdog Router Workflow (data-gridatlas). - Signatures: `reject_duplicate_keys(pairs: list[tuple[str, object]])`; `read_json(path: Path)`; `sha256(path: Path)`; `require(condition: bool, message: str)`; `find_placeholders(value: object)`; `verify(args: argparse.Namespace)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file release.json; JSON file full-candidate-verification.json; JSON file browser-layer-registry.json; Parquet file layer_membership.parquet; JSON file 202608291237-live-data-release.json; DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Verify Repository Boundary - File: data-gridatlas/atman/202608291410-verify-repository-boundary.py (Python, 144 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/atman/202608291410-verify-repository-boundary.py#L1-L144 - Page: https://code.globalgrid2050.com/explore-code/s/0480.html#f3 - Synopsis: A Python command-line tool in the atman folder of Data GridAtlas that verifies release (`verify_release`), using SHA-256. - What it achieves (comment): It is built from the require step (`require`), the sha256 step (`sha256`) and the tracked files helper (`tracked_files`). Verify the complete repository after adding a second immutable release root. It accepts `--repository`, `--contract` and `--mode`. - What it does: It loads data. Defines require, sha256, tracked_files, verify_release, main. Uses libraries __future__, argparse, hashlib, json, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Publish Renewable Energy Planning Database (REPD) Routing Workflow (data-gridatlas). - Signatures: `require(condition: bool, message: str)`; `sha256(path: Path)`; `tracked_files(repository: Path)`; `verify_release(repository: Path, root_name: str, limits: dict, tracked: set[str])`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Current Integrity - File: data-gridatlas/atman/202608291507-current-integrity.py (Python, 1017 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/atman/202608291507-current-integrity.py#L1-L1017 - Page: https://code.globalgrid2050.com/explore-code/s/0481.html#f1 - Synopsis: A Python command-line tool in the atman folder of Data GridAtlas that writes outputs (`write_outputs`), loads contract (`load_contract`) and assigns Parquet (`assign_parquet`), using SHA-256. - What it achieves (comment): It reads JSON (`read_json`) and writes JSON (`write_json`). Read-only resolver, sharded verifier and watchdog probes for live Data Grid Atlas. It reads `release.json`. It accepts `--repository`, `--contract` and `--expected-head`. - What it does: It fetches data. Defines 33 functions or classes, including reject_duplicate_keys, read_json, canonical, require, sha256. Uses libraries __future__, argparse, hashlib, json, os. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608291507-automation.json; JSON file live-set.json; JSON file current.json; JSON file release.json; JSON file browser-layer-registry.json; JSON file projects.json; Parquet file uk_primary_roads.parquet; Parquet file repd_master_v8_oracle.parquet. - Downstream impact: Used directly by 3 files: Contract Guard Workflow (data-gridatlas); Current Integrity Workflow (data-gridatlas); Watchdog Router Workflow (data-gridatlas). - Signatures: `reject_duplicate_keys(pairs: list[tuple[str, object]])`; `read_json(path: Path)`; `canonical(value: object)`; `require(condition: bool, message: str)`; `sha256(path: Path)`; `bytes_sha256(value: bytes)`; `git(repository: Path, *args: str)`; `write_json(path: Path, value: object)`; `write_outputs(path: Path | None, values: dict[str, object])`; `load_contract(repository: Path, relative: str)`; `app_release_url(contract: dict, release_id: str)`; `assign_parquet(artifacts: list[dict], shards: int)`; `resolve_state(repository: Path, contract_relative: str, expected_head: str = "", expected_pointer: str = "")`; `fetch(url: str, *, byte_range: str | None = None, attempts: int = 4)`; `require_public_response(status: int, headers: dict[str, str], expected_status: int, url: str)`; `verify_public_parquet(state: dict, item: dict)`; `parquet_schema(connection, path: Path)`; `verify_local_parquet(connection, state: dict, item: dict, scan_privacy: bool)`; `verify_data_pointer(state: dict)`; `verify_data_release_sentinels(state: dict, include_ranges: bool = True)`; `verify_consumer(state: dict)`; `_verify_current_and_historical_consumer(state: dict)`; `run_full_release_verifier(state: dict, output: Path)`; `command_resolve(args: argparse.Namespace)`; `command_shard(args: argparse.Namespace)` (and 8 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file 202608291507-automation.json; JSON file live-set.json; JSON file current.json; JSON file release.json; JSON file browser-layer-registry.json; JSON file projects.json; Parquet file uk_primary_roads.parquet; Parquet file repd_master_v8_oracle.parquet]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 3; mentioned by 0 ### Build Dependency Catalog - File: data-gridatlas/compiler/202608290904-build-dependency-catalog.py (Python, 254 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/compiler/202608290904-build-dependency-catalog.py#L1-L254 - Page: https://code.globalgrid2050.com/explore-code/s/0482.html#f2 - Synopsis: A Python command-line tool in the compiler folder of Data GridAtlas that reads GridAtlas bootstrap, dependency ledger, quarantine and GridAtlas consumer, using SHA-256. - What it achieves (comment): It inserts rows (`insert_rows`) and writes Parquet (`write_parquet`). Build the inventory-only Atlas V9 dependency catalogue. It accepts `--repository` and `--output`. - What it does: It loads GridAtlas bootstrap, dependency ledger, quarantine and GridAtlas consumer. Defines 8 functions or classes, including load, digest, contract_digest, insert_rows, write_parquet. Uses libraries argparse, hashlib, json, pathlib, duckdb. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608290904-data-gridatlas-bootstrap.json; JSON file 202608290904-v8-file-ledger.json; JSON file 202608290904-v8-dependency-ledger.json; JSON file 202608290904-v8-quarantine.json; JSON file 202608290904-gridatlas-consumer.json; Parquet file files.parquet; Parquet file layers.parquet; Parquet file quarantine.parquet. - Downstream impact: Used directly by 1 file: Bootstrap Verify Data GridAtlas Workflow (data-gridatlas). - Signatures: `load(path: Path)`; `digest(path: Path)`; `contract_digest(path: Path)`; `insert_rows(connection, table, columns, rows)`; `write_parquet(connection, query, path: Path)`; `quarantine_rows(contract)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file 202608290904-data-gridatlas-bootstrap.json; JSON file 202608290904-v8-file-ledger.json; JSON file 202608290904-v8-dependency-ledger.json; JSON file 202608290904-v8-quarantine.json; JSON file 202608290904-gridatlas-consumer.json; Parquet file files.parquet; Parquet file layers.parquet; Parquet file quarantine.parquet]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build V8 Transplant - File: data-gridatlas/compiler/202608291015-build-v8-transplant.py (Python, 628 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/compiler/202608291015-build-v8-transplant.py#L1-L628 - Page: https://code.globalgrid2050.com/explore-code/s/0483.html#f1 - Synopsis: A Python command-line tool in the compiler folder of Data GridAtlas that fetches transplant plan, dependency ledger, runtime dependencies and repository boundary, using SHA-256. - What it achieves (comment): It computes identity (`compute_identity`), fetches phase sources (`fetch_phase_sources`) and verifies source bytes (`verify_source_bytes`). Build the full, evidence-only V8 dependency transplant candidate. It accepts `--repository`, `--source-root` and `--git-repository`. - What it does: It fetches transplant plan, dependency ledger, runtime dependencies and repository boundary. Defines 23 functions or classes, including canonical, digest_bytes, digest, git_blob_oid, load. Uses libraries argparse, copy, hashlib, json, math. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608291015-v8-transplant-plan.json; JSON file 202608291015-v8-layer-config.json; JSON file 202608291015-v8-transplant-parquet.json; JSON file 202608290904-v8-dependency-ledger.json; JSON file 202608291015-v8-runtime-dependencies.json; JSON file 202608291015-repository-boundary.json; JSON file 202608290904-v8-file-ledger.json; JSON file 202608290904-v8-quarantine.json. Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: Verify V8 Transplant (data-gridatlas); Build V8 Transplant Candidate Workflow (data-gridatlas). - Signatures: `canonical(value)`; `digest_bytes(payload)`; `digest(path)`; `git_blob_oid(payload)`; `load(path)`; `require(condition, message)`; `sql_string(value)`; `artifact(path, root, schema, rows)`; `compute_identity(repository)`; `fetch_phase_sources(plan, phase, source_root)`; `verify_source_bytes(source, payload)`; `read_source(source, source_root, git_repository=None)`; `coordinate_tuples(node, output)`; `evaluate(expression, properties)`; `feature_row(source_id, feature_index, feature, retained_keys, original_feature=None)`; `write_feature_parquet(rows, target)`; `write_membership_parquet(rows, target)`; `snap_feature(feature, substations)`; `snap(coord)`; `build_phase(repository, plan, layer_config, ledger, phase, source_root, output, git_repository=None)`; `write_registry_parquet(rows, columns, ddl, order, target)`; `merge_candidate(repository, plan, layer_config, merge_input, output)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file 202608291015-v8-transplant-plan.json; JSON file 202608291015-v8-layer-config.json; JSON file 202608291015-v8-transplant-parquet.json; JSON file 202608290904-v8-dependency-ledger.json; JSON file 202608291015-v8-runtime-dependencies.json; JSON file 202608291015-repository-boundary.json; JSON file 202608290904-v8-file-ledger.json; JSON file 202608290904-v8-quarantine.json]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 1 estate file (script-call 1); used by 2; mentioned by 0 ### Materialise Live Data Release - File: data-gridatlas/compiler/202608291237-materialise-live-data-release.py (Python, 300 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/compiler/202608291237-materialise-live-data-release.py#L1-L300 - Page: https://code.globalgrid2050.com/explore-code/s/0484.html#f1 - Synopsis: A Python command-line tool in the compiler folder of Data GridAtlas that reads sources, membership and live release, using SHA-256. - What it achieves (comment): It reads JSON (`read_json`), finds placeholders (`find_placeholders`) and validates candidate (`validate_candidate`). Materialise the immutable Data Grid Atlas live release. It reads `browser-layer-registry.json`. It accepts `--repository`, `--contract` and `--candidate`. - What it does: It loads sources, membership and live release. Defines 13 functions or classes, including reject_duplicate_keys, read_json, canonical_json, sha256, require. Uses libraries __future__, argparse, copy, hashlib, html. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: Parquet file layers.parquet; Parquet file sources.parquet; Parquet file layer_membership.parquet; JSON file release.json; JSON file browser-layer-registry.json; JSON file full-candidate-verification.json; JSON file 202608291237-live-data-release.json; DuckDB queries. Out: JSON file browser-layer-registry.json; JSON file release.json. - Downstream impact: Used directly by 1 file: Publish Live Data GridAtlas Workflow (data-gridatlas). - Signatures: `reject_duplicate_keys(pairs: list[tuple[str, object]])`; `read_json(path: Path)`; `canonical_json(value: object)`; `sha256(path: Path)`; `require(condition: bool, message: str)`; `find_placeholders(value: object, path: str = "contract")`; `validate_candidate(candidate: Path, proof_path: Path, contract: dict)`; `copy_tree(source: Path, destination: Path)`; `make_live_browser_registry(candidate_registry: dict, contract: dict)`; `make_index(contract: dict, candidate_manifest: dict)`; `make_readme(contract: dict)`; `materialise(args: argparse.Namespace)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [Parquet file layers.parquet; Parquet file sources.parquet; Parquet file layer_membership.parquet; JSON file release.json; JSON file browser-layer-registry.json; JSON file full-candidate-verification.json; JSON file 202608291237-live-data-release.json; DuckDB queries]; out [JSON file browser-layer-registry.json; JSON file release.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Renewable Energy Planning Database (REPD) Routing Release - File: data-gridatlas/compiler/202608291410-build-repd-routing-release.py (Python, 113 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/compiler/202608291410-build-repd-routing-release.py#L1-L113 - Page: https://code.globalgrid2050.com/explore-code/s/0484.html#f2 - Synopsis: A Python command-line tool in the compiler folder of Data GridAtlas that reads projects and the REPD register, using SHA-256. - What it achieves (comment): It is built from the canonical JSON helper (`canonical_json`), the sha256 step (`sha256`) and the record step (`record`). Compile the immutable PipelineNews/V8 deep-link routing dependency. It accepts `--contract`, `--source` and `--source-commit`. - What it does: It loads projects and the REPD register. Defines canonical_json, sha256, record, require, main. Uses libraries __future__, argparse, hashlib, html, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'routing'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file projects.json; JSON file release.json; command-line arguments. Out: JSON file projects.json; JSON file release.json. - Downstream impact: Used directly by 1 file: Publish Renewable Energy Planning Database (REPD) Routing Workflow (data-gridatlas). - Signatures: `canonical_json(value: object)`; `sha256(raw: bytes)`; `record(name: str, raw: bytes)`; `require(condition: bool, message: str)`; `main()` - domain_stage: field_execution · commercial_user: IPP_developer, EPC_contractor, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file projects.json; JSON file release.json; command-line arguments]; out [JSON file projects.json; JSON file release.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Fidelity - File: data-gridatlas/tools/202608301930-fidelity.py (Python, 171 lines) · role storage · stage ingest · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/tools/202608301930-fidelity.py#L1-L171 - Page: https://code.globalgrid2050.com/explore-code/s/0484.html#f3 - Synopsis: A Python command-line tool in the tools folder of Data GridAtlas that compares one V8 GeoJSON source with one V9 Parquet partition, using SHA-256. - What it achieves (name): Defines `canonical`, `sha256_text` and `parse_args`. It accepts `--duckdb-runtime-bytes` and `--network-mbit`. - What it does: It loads data. Defines canonical, sha256_text, parse_args, main. Uses libraries __future__, argparse, hashlib, json, os. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: DuckDB queries; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `canonical(value: Any)`; `sha256_text(value: str)`; `parse_args()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### LiDAR Onsite - File: energy-transition-simulator/prototype/mod/lidar-onsite.js (JavaScript, 74 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/lidar-onsite.js#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/0484.html#f4 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that fetches LiDAR terrain, using OSTN15 and Helmert. - What it achieves (comment): It is built from the wait step (`wait`), the b64 step (`b64`) and the area step (`area`). Onsite LiDAR survey as the wireframe ground mesh, on real coordinates. It reads `mod/lidar-onsite/index.json`. - What it does: It fetches LiDAR terrain. Defines 8 functions or classes, including PF, wait, b64, area, dist. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file index.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Signatures: `PF()`; `wait(f)`; `b64(s)`; `area(E, N)`; `dist(p, E, N)`; `mesh(p)`; `ax(ex.x - o.x)`; `H(i, j)`; `d(p.e0 + i * s - aE.e)`; `refresh(force)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Bake - File: energy-transition-simulator/prototype/mod/lidar-onsite/bake.py (Python, 47 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/lidar-onsite/bake.py#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/0485.html#f1 - Synopsis: A Python module in the LiDAR onsite folder of Energy Transition Simulator that reads LiDAR terrain. - What it achieves (comment): Bake cached EA LiDAR 1 m DTM around a point into a small file the LiDAR-onsite module draws. - What it does: It loads LiDAR terrain. Uses libraries sys, json, base64, os, numpy. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file index.json; command-line arguments. Out: JSON file. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### LiDAR Stream - File: energy-transition-simulator/prototype/mod/lidar-stream.js (JavaScript, 344 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/lidar-stream.js#L1-L344 - Page: https://code.globalgrid2050.com/explore-code/s/0485.html#f2 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that maps LiDAR terrain, using EPSG:27700 and OSTN15. It saves day (`saveDay`), sets open (`setOpen`) and shows text (`showText`). - What it achieves (comment): Rule R5 (the site tile) in the browser. It responds to click, resize and keydown events. - What it does: It maps LiDAR terrain. Defines 29 functions or classes, including PF, wait, today, dayUsed, saveDay. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: browser storage (getItem). Out: browser storage (setItem). Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Signatures: `PF()`; `wait(f)`; `today()`; `dayUsed()`; `saveDay()`; `panel()`; `setOpen(v)`; `summary(t)`; `show()`; `showText()`; `frame(t)`; `ax(ex.x - o.x)`; `hAt(r, i, j)`; `exag()`; `elevNow()`; `terrainAt(lon, lat)`; `demAt(lon, lat)`; `heightAt(e, n)`; `probe(n = 200)`; `blk(t.blks || [])`; `walker()`; `draw(key)`; `X(a, b)`; `ghost(p, q)`; `satMode()` (and 11 more) - VEDIC: HEIGHT (GG2050-VEDIC-000011): Solar Design Studio / LiDAR · Mathematics / Raster sampling. bng_easting_m, bng_northing_m -> height_receipt_or_null - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [browser storage (getItem)]; out [browser storage (setItem)]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### R5 - File: energy-transition-simulator/prototype/mod/lidar-stream/r5.mjs (JavaScript, 186 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/lidar-stream/r5.mjs#L1-L186 - Page: https://code.globalgrid2050.com/explore-code/s/0485.html#f3 - Synopsis: A JavaScript module in the LiDAR stream folder of Energy Transition Simulator covering LiDAR terrain, using EPSG:27700 and SHA-256 and uses data from Environment Agency. - What it achieves (comment): It creates pacer (`createPacer`), reads tags (`readTags`) and decodes geo tiff (`decodeGeoTiff`). R5 site tile, the pure part: lattice maths, the two EA WCS source cards, the GeoTIFF decoder, the coverage test and the receipt hash. - What it does: Defines 11 functions or classes, including tileOf, clip, wcsUrl, measuredMask, bad. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: LiDAR terrain. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export tileOf(e, n)`; `export clip(t, env)`; `export wcsUrl(src, b)`; `export measuredMask(geo)`; `export cellSha256(data, subtle)`; `export createPacer({ clock = () => Date.now(), used = 0 } = {})`; `export decodeGeoTiff(buffer)`; `export synthTiff(west, north, w, h, fn, nodata = '-3.4028234663852886E38')`; `bad(v)`; `take()`; `done(status)`; `readTags(dv, little)`; `bytes(TYPE_BYTES[type] || 1)`; `inflate(bytes)`; `bx(b % across)`; `need(tiled ? bh : rows)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Walk Fps - File: energy-transition-simulator/prototype/mod/walk-fps.js (JavaScript, 165 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/walk-fps.js#L1-L165 - Page: https://code.globalgrid2050.com/explore-code/s/0486.html#f1 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that works with seg dist (`segDist`) and look up (`lookUp`) and calculates planar distances. - What it achieves (comment): It is built from the m per deg helper (`mPerDeg`), the start step (`start`) and the solid of helper (`solidOf`). First-person walk on the real terrain, inside the map's own camera. It responds to keydown, keyup and blur events. - What it does: It draws its content. Defines 14 functions or classes, including mPerDeg, start, solidOf, segDist, blocked. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `mPerDeg(lat)`; `start(SIM)`; `solidOf(b)`; `segDist(px, py, l)`; `blocked(la, lo)`; `ground(lo, la)`; `place()`; `tick(t)`; `f(keys.has('w') || keys.has('arrowup') ? 1 : 0)`; `r(keys.has('d') || keys.has('arrowright') ? 1 : 0)`; `tx(f * Math.sin(b) + r * Math.cos(b))`; `hud(t)`; `enter()`; `leave()`; `joyAt(e)`; `up(e)`; `lookUp(e)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### LiDAR Stream - File: energy-transition-simulator/tests/lidar-stream.cjs (JavaScript, 314 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/tests/lidar-stream.cjs#L1-L314 - Page: https://code.globalgrid2050.com/explore-code/s/0486.html#f2 - Synopsis: A JavaScript module in the tests folder of Energy Transition Simulator that tests LiDAR terrain, using SHA-256. - What it achieves (comment): It is built from the crc step (`crc`), the chunk step (`chunk`) and the png step (`png`). Check for `mod/lidar-stream.js` (rule R5 in the browser). - What it does: It tests LiDAR terrain. Defines 11 functions or classes, including DTM, BUILDING, crc, chunk, png. Uses libraries http, fs, path, url, crypto. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (path word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file index.json. Out: interactive map; WebGL/WebGPU drawing. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `DTM(e, n)`; `BUILDING(e, n)`; `crc(b)`; `chunk(ty, d)`; `png(px)`; `ll(z, x, y)`; `demTile(z, x, y)`; `proj(x, y, z)`; `litRate(k)`; `ld(s)`; `lit(px, py)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json]; out [interactive map; WebGL/WebGPU drawing]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Galaxies Wafers — Atlas Page - File: galaxies-wafers/atlas/index.html (HTML, 169 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/atlas/index.html#L1-L169 - Page: https://code.globalgrid2050.com/explore-code/s/0486.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/atlas/ - Synopsis: A map page that maps grid 400kV, grid 275kV, grid 220kV and grid 132kV, and uses data from the GridAtlas repository. Published at https://ventusltd.github.io/galaxies-wafers/atlas/. - What it achieves (comment): It sets state (`setState`), renders panel (`renderPanel`) and writes URL (`writeURL`). The Ground — Grid Atlas's own layers, lifted whole. Its code works with 100 kW, 400 kV and 132 kV. It responds to change and click events. - What it does: It maps grid 400kV, grid 275kV, grid 220kV and grid 132kV. Defines 9 functions or classes, including url, $, esc, setState, hydrate. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 275kV, 220kV, 132kV, 66kV. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: data source: gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson. Out: web page; interactive map. Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV. - Downstream impact: Used directly by 1 file: Galaxies Wafers — Iterations Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/). Reached from 18 other entry points, including 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html); Iterations — 24 Electrification Model Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/24-electrification-model/); Iterations — 25 One Feeder Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/25-one-feeder/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/atlas/. - Signatures: `url(u)`; `$(id)`; `esc(s)`; `setState(id, status, extra)`; `hydrate(l)`; `toggle(l, on)`; `renderPanel()`; `writeURL()`; `readURL()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out [web page; interactive map]; crs []; voltages [400kV, 275kV, 220kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 01 Route Alpha - File: galaxies-wafers/iterations/01-route-alpha/app.mjs (JavaScript, 560 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/01-route-alpha/app.mjs#L1-L560 - Page: https://code.globalgrid2050.com/explore-code/s/0487.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/ - Synopsis: A JavaScript module in Galaxies Wafers that draws lines meta and families, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/. - What it achieves (comment): It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). The Line Wafer. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws lines meta and families. Defines 31 functions or classes, including $, snapshot, indexOfKey, bin, tier1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: Iterations — 01 Route Alpha Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/); Iterations — 02 Tunnels Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/); Iterations — 05 Periodic Table Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/); Iterations — 07 Code Card Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/); and 1 more. Reached from 1 other entry point, including Iterations — 10 Ground Bridge Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/10-ground-bridge/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/. - Signatures: `$(id)`; `snapshot()`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `render()`; `x(U.pos[i * 2] - view.x)`; `draw()`; `home()`; `flyTo(key, zoom)`; `nearestKeyAt(cx, cy)`; `wx(cx - view.w / 2)`; `wy(view.h / 2 - cy)`; `famsOf(key)`; `paintPanel(key)` (and 7 more) - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 5; mentioned by 0 ### Iterations — 01 Route Alpha Page - File: galaxies-wafers/iterations/01-route-alpha/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/01-route-alpha/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/0487.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/ - Synopsis: A web page in Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/. - What it achieves (comment): Route Alpha — The Line Wafer, dense modules translucent. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 6 estate files (script-src 3, stylesheet 2, link 1); used by 0; mentioned by 0 ### Questions - File: galaxies-wafers/iterations/01-route-alpha/questions.css (CSS, 11 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/01-route-alpha/questions.css#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/0487.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/. - What it achieves (comment): The Questions panel, collapsed by default. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 7 files: Iterations — 01 Route Alpha Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/); Iterations — 02 Tunnels Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/); Iterations — 03 Code Particle Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/); Iterations — 05 Periodic Table Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/); and 3 more. It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### Questions - File: galaxies-wafers/iterations/01-route-alpha/questions.mjs (JavaScript, 122 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/01-route-alpha/questions.mjs#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/0488.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that works with layer tags (`layerTags`) and single-line diagram (SLD) sentence (`sldSentence`), covering 400kV. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/. - What it achieves (comment): It reads JSON (`readJSON`) and is built from the fmt step (`fmt`) and the answer step (`answer`). Iteration 01, Route Alpha: the owner's three questions and the machine detail line. Its code works with 400 kV. It reads `../../layers/manifest.json`. It responds to resize and toggle events. - What it does: It draws 400kV. Defines 11 functions or classes, including $, fmt, answer, fill, readJSON. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: 400kV. - Inputs & outputs: Voltage levels named: 400kV. - Downstream impact: Used directly by 1 file: Iterations — 01 Route Alpha Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/. - Signatures: `$(id)`; `fmt(n)`; `answer(dl, q, parts)`; `fill(ps)`; `readJSON(url)`; `layerTags()`; `s(t.textContent.match(/[A-Z]+/) || ['?'])`; `sldSentence(m, file)`; `text(id)`; `mount(build, machine)`; `fit()`; `paint()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of galaxies-wafers/iterations/09-deeplink-receiver/questions.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Tiles - File: galaxies-wafers/iterations/22-fast-zoom/build_tiles.py (Python, 80 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/22-fast-zoom/build_tiles.py#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/0488.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/ - Synopsis: A Python command-line tool in the iterations folder of Galaxies Wafers that uses SHA-256. It is built from the anchor step (`anchor`) and the tile step (`tile`). - What it achieves (comment): Iteration 22: tile every large layer by radius band, into this directory. - What it does: It loads data. Defines anchor, tile, main. Uses libraries __future__, hashlib, json, math, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: In: JSON file index.json. Out: JSON file index.json. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/. - Signatures: `anchor(f)`; `tile(entry)`; `main()` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file index.json]; out [JSON file index.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Atlas Join - File: galaxies-wafers/iterations/32-spider-and-galaxy/atlas-join.mjs (JavaScript, 109 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/32-spider-and-galaxy/atlas-join.mjs#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/0488.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that works with atlas urls (`atlasUrls`) and atlas file (`atlasFile`). Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/. - What it achieves (comment): It is built from the node urls helper (`nodeUrls`), the atlas urls helper (`atlasUrls`) and the atlas file helper (`atlasFile`). The shared keys between a spider node and Grid Atlas, read from evidence only. - What it does: It calculates its inputs. Defines 8 functions or classes, including nodeUrls, atlasUrls, atlasFile, declaredLayerIds, add. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Iterations — 32 Spider and Galaxy (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/). Reached from 90 other entry points, including Iterations — 32 Spider and Galaxy Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). - Signatures: `export nodeUrls(n)`; `export atlasUrls(n)`; `export atlasFile(url)`; `export declaredLayerIds(text, lines)`; `export configLayerIds(html)`; `export receiverLink(contract, receivers)`; `export bucketsForLayer(contract, id)`; `add(id, form)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 — Atlas V9 Page - File: globalgrid2050/202608300453-atlas-v9/index.html (HTML, 32 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/202608300453-atlas-v9/index.html#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/0488.html#f4 - Published at: https://globalgrid2050.com/202608300453-atlas-v9/ - Synopsis: A web page using data from the GridAtlas repository. Published at https://globalgrid2050.com/202608300453-atlas-v9/. - What it achieves (comment): Grid Atlas V9 — canonical application. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/202608300453-atlas-v9/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 0; mentioned by 0 ### Navigation Browser - File: globalgrid2050/automation/mobile_map_ui/20261118-v942/navigation.browser.mjs (JavaScript, 43 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/mobile_map_ui/20261118-v942/navigation.browser.mjs#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/0488.html#f5 - Synopsis: A JavaScript module in the mobile map ui folder of GlobalGrid2050 that reads inputs for county and sort projects. - What it does: It loads data. Uses libraries node:assert/strict, node:http, node:fs, node:module, node:path. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'navigation'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: form fields (user input). - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Navigation - File: globalgrid2050/automation/mobile_map_ui/20261118-v942/navigation.mjs (JavaScript, 54 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/mobile_map_ui/20261118-v942/navigation.mjs#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/0488.html#f6 - Synopsis: A JavaScript module in the mobile map ui folder of GlobalGrid2050. It is built from the decorate step (`decorate`), the remember step (`remember`) and the restore step (`restore`). - What it achieves (comment): Native touch navigation: do not open a background tab or wait on a fetch. It responds to click and change events. - What it does: Defines decorate, remember, restore. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'navigation'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 2 files: Navigation Browser (globalgrid2050); GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 5 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents). - Signatures: `decorate()`; `remember()`; `restore()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GridAtlas Resolve - File: globalgrid2050/automation/pipeline_release/gridatlas_resolve.py (Python, 114 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/gridatlas_resolve.py#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/0488.html#f7 - Synopsis: A Python command-line tool in the pipeline release folder of GlobalGrid2050 that fetches the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): Which Pipeline News MAP links does a GridAtlas register resolve by REPD Ref ID? - What it does: It fetches the REPD register. Defines main. Uses libraries hashlib, json, sys, urllib.request, collections. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file build_manifest.json; command-line arguments. - Downstream impact: Used directly by 2 files: Verify (globalgrid2050); GlobalGrid2050 Verify Pipeline Versions Workflow (globalgrid2050). Reached from 4 other entry points, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Publish Pipeline V923 Ledger Workflow (globalgrid2050); GlobalGrid2050 V923 Six Hour Python Repair Workflow (globalgrid2050). - Signatures: `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Bake - File: globalgrid2050/energy-transition-simulator/202609280014/mod/lidar-onsite/bake.py (Python, 47 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/lidar-onsite/bake.py#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/0488.html#f8 - Synopsis: A Python module in the LiDAR onsite folder of GlobalGrid2050 that reads LiDAR terrain. - What it achieves (comment): Bake cached EA LiDAR 1 m DTM around a point into a small file the LiDAR-onsite module draws. - What it does: It loads LiDAR terrain. Uses libraries sys, json, base64, os, numpy. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage site_feasibility (path word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file index.json; command-line arguments. Out: JSON file. - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### LiDAR Stream - File: globalgrid2050/energy-transition-simulator/202609280259/mod/lidar-stream.js (JavaScript, 310 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280259/mod/lidar-stream.js#L1-L310 - Page: https://code.globalgrid2050.com/explore-code/s/0489.html#f1 - Synopsis: A JavaScript file in GlobalGrid2050 that maps LiDAR terrain, using EPSG:27700 and OSTN15. It saves day (`saveDay`), sets open (`setOpen`) and shows text (`showText`). - What it achieves (comment): Rule R5 (the site tile) in the browser. It responds to click, resize and keydown events. - What it does: It maps LiDAR terrain. Defines 27 functions or classes, including PF, wait, today, dayUsed, saveDay. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage site_feasibility (path word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: browser storage (getItem). Out: browser storage (setItem). Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Signatures: `PF()`; `wait(f)`; `today()`; `dayUsed()`; `saveDay()`; `panel()`; `setOpen(v)`; `summary(t)`; `show()`; `showText()`; `frame(t)`; `ax(ex.x - o.x)`; `hAt(r, i, j)`; `exag()`; `elevNow()`; `terrainAt(lon, lat)`; `demAt(lon, lat)`; `heightAt(e, n)`; `probe(n = 200)`; `blk(t.blks || [])`; `draw(key)`; `X(a, b)`; `satMode()`; `onAdd(m, gl)`; `render(gl, args)` (and 9 more) - VEDIC: HEIGHT (GG2050-VEDIC-000011): Solar Design Studio / LiDAR · Mathematics / Raster sampling. bng_easting_m, bng_northing_m -> height_receipt_or_null - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [browser storage (getItem)]; out [browser storage (setItem)]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Grid Engine — Route Obstacles Page - File: globalgrid2050/grid_engine/202609060213-route-obstacles/index.html (HTML, 254 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060213-route-obstacles/index.html#L1-L254 - Page: https://code.globalgrid2050.com/explore-code/s/0489.html#f2 - Published at: https://globalgrid2050.com/grid_engine/202609060213-route-obstacles/ - Synopsis: A web page in GlobalGrid2050 covering motorways and A roads, and uses data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060213-route-obstacles/. - What it achieves (comment): It parses crossings (`parseCrossings`) and is built from the num step (`num`) and the fig step (`fig`). Route Obstacles Workbench — Ventus Grid Engine. It responds to input events. - What it does: It draws motorways and A roads. Defines 7 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: motorways, A roads. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060213-route-obstacles/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `parseCrossings(raw, widthM, setbackM, depthM)`; `render()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 3; mentioned by 0 ### Whole Site Route View - File: globalgrid2050/kuiper-grid/drawing/whole-site-route-view.js (JavaScript, 48 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/drawing/whole-site-route-view.js#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0489.html#f3 - Published at: https://globalgrid2050.com/kuiper-grid/drawing/ - Synopsis: A JavaScript file in the drawing folder of GlobalGrid2050 that draws Kuiper proposed site routes. Served with the page at https://globalgrid2050.com/kuiper-grid/drawing/. - What it achieves (name): It syncs scope (`syncScope`) and is built from the native site helper (`nativeSite`) and the invalidate step (`invalidate`). Defines `syncScope`, `nativeSite`, `signature` and 5 more. It responds to input and click events. - What it does: It draws Kuiper proposed site routes. Defines 8 functions or classes, including syncScope, nativeSite, signature, invalidate, requireCurrent. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: form fields (user input). Out: JSON file kuiper-proposed-site-routes.json; downloaded file kuiper-proposed-site-routes.json; canvas drawing. - Downstream impact: Used directly by 1 file: Kuiper Grid — Drawing Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/). Reached from 109 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/drawing/. - Signatures: `syncScope()`; `nativeSite()`; `signature()`; `invalidate(message='Proposal or spacing changed. Rebuild site routes.')`; `requireCurrent()`; `sceneData()`; `drawing()`; `show()`; `open(id)`; `attempt(fn)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [JSON file kuiper-proposed-site-routes.json; downloaded file kuiper-proposed-site-routes.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Whole Site Routes - File: globalgrid2050/kuiper-grid/drawing/whole-site-routes.js (JavaScript, 57 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/drawing/whole-site-routes.js#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0489.html#f4 - Published at: https://globalgrid2050.com/kuiper-grid/drawing/ - Synopsis: A JavaScript module in the drawing folder of GlobalGrid2050 that works with cables. Served with the page at https://globalgrid2050.com/kuiper-grid/drawing/. - What it achieves (comment): It is built from the clone step (`clone`), the finite step (`finite`) and the length step (`length`). Generic whole-site collection geometry. No project boundary or MV circuit inference. - What it does: It calculates cables. Defines 6 functions or classes, including clone, finite, length, roadUnion, build. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables. README: "Whole-site route overview: build a power-block proposal, then open Whole-site roads & collection routes below the canvas." - Downstream impact: Used directly by 1 file: Kuiper Grid — Drawing Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/). Reached from 109 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/drawing/. - Signatures: `clone(x)`; `finite(v,name,min,max,integer=false)`; `length(points)`; `roadUnion(roads)`; `build(proposal,settings)`; `materializeStation(id)`; `locateInverter(id)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Atlas Pointer Deep Link - File: globalgrid2050/pipelinenews_intelligence/202609040144/assets/202609040044-atlas-pointer-deep-link.mjs (JavaScript, 128 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/pipelinenews_intelligence/202609040144/assets/202609040044-atlas-pointer-deep-link.mjs#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/0490.html#f1 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 that works with the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. - What it achieves (comment): It builds atlas v9 deep link (`buildAtlasV9DeepLink`) and is built from the number in range helper (`numberInRange`) and the project fields helper (`projectFields`). One fail-closed Pipeline News -> GridAtlas transport contract. - What it does: It calculates the REPD register. Defines numberInRange, projectFields, buildAtlasV9DeepLink, selfTest, check. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 4 files: Wider Fleet (globalgrid2050); GlobalGrid2050 — PipelineNews Intelligence (globalgrid2050); Wider Fleet (globalgrid2050); Testcode — Pipeline (globalgrid2050). Reached from 56 other entry points, including GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). - Signatures: `export buildAtlasV9DeepLink(project)`; `export selfTest()`; `numberInRange(value, minimum, maximum)`; `projectFields(project)`; `check(name, ok)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 4; mentioned by 0 ### GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v3 Page - File: globalgrid2050/repd_grid_atlasv3/index.html (HTML, 1200 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv3/index.html#L1-L1200 - Page: https://code.globalgrid2050.com/explore-code/s/0490.html#f2 - Published at: https://globalgrid2050.com/repd_grid_atlasv3/ - Synopsis: A map page that maps grid 400kV, grid 275kV, grid 220kV and grid 132kV, using haversine. Published at https://globalgrid2050.com/repd_grid_atlasv3/. It normalizes status (`normalizeStatus`), toggles curtain (`toggleCurtain`) and gets radius (`getRadiusValue`). - What it achieves (code): Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). Its code works with 100 kW, 11 kV and 132 kV. It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps grid 400kV, grid 275kV, grid 220kV and grid 132kV. Defines 37 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, enterFullscreen, exitFullscreen. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Inputs & outputs: In: GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson. Out: web page; interactive map. Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Downstream impact: Used directly by 8 files: GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html); Homepage V031 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v031.html); Homepage V032 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v032.html); and 4 more. Reached from 87 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/repd_grid_atlasv3/. - Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `enterFullscreen()`; `exitFullscreen()`; `toggleCurtain()`; `getRadiusValue()`; `validateRadiusInput()`; `fmt(n, decimals)`; `updateMeasureDisplay()`; `j(i + 1)`; `updateMeasureLayers()`; `clearMeasure()`; `toggleMeasureMode()`; `updateUIState(id, state, stats)`; `class FetchQueue`; `constructor(concurrency)`; `add(task)`; `fetchWithTimeout(url, ms = 15000)`; `fetchAndParseGeoJSON(url)`; `snapLines(features, subs)`; `snapCoordinate(coord)`; `dx(coord[0] - sc[0])`; `dy(coord[1] - sc[1])`; `d(dx * dx)` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out [web page; interactive map]; crs []; voltages [400kV, 275kV, 220kV, 132kV, 66kV, 11kV] - Edges: uses 0 estate files; used by 8; mentioned by 0 ### GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v5 Page - File: globalgrid2050/repd_grid_atlasv5/index.html (HTML, 249 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv5/index.html#L1-L249 - Page: https://code.globalgrid2050.com/explore-code/s/0492.html#f1 - Published at: https://globalgrid2050.com/repd_grid_atlasv5/ - Synopsis: A web page that draws grid 400kV, grid 275kV, grid 220kV and grid 132kV. Published at https://globalgrid2050.com/repd_grid_atlasv5/. - What it achieves (name): Its code works with 100 kW, 11 kV and 132 kV. - What it does: It draws grid 400kV, grid 275kV, grid 220kV and grid 132kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Inputs & outputs: In: GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson. Out: web page. Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Downstream impact: Used directly by 8 files: GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html); Homepage V031 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v031.html); Homepage V032 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v032.html); and 4 more. Reached from 87 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/repd_grid_atlasv5/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out [web page]; crs []; voltages [400kV, 275kV, 220kV, 132kV, 66kV, 11kV] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 8; mentioned by 0 ### Fetch Elizabeth Line v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/fetch_elizabeth_linev6.yml (YAML, 47 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/fetch_elizabeth_linev6.yml#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/0492.html#f2 - Synopsis: A configuration file in GlobalGrid2050. Runs on a schedule and by hand. - What it achieves (comment): Runs `scripts/fetch_elizabeth_line.py`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Eurostar v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/fetch_eurostarv6.yml (YAML, 47 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/fetch_eurostarv6.yml#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/0492.html#f3 - Synopsis: A configuration file in GlobalGrid2050. Runs on a schedule and by hand. - What it achieves (comment): Runs `scripts/fetch_eurostar.py`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Global Ports v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/fetch_global_portsv6.yml (YAML, 50 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/fetch_global_portsv6.yml#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0492.html#f4 - Synopsis: A configuration file in GlobalGrid2050. Runs on a schedule and by hand. - What it achieves (comment): Runs `scripts/fetch_global_ports.py`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Motorway Services v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/fetch_motorway_servicesv6.yml (YAML, 49 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/fetch_motorway_servicesv6.yml#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/0492.html#f5 - Synopsis: A configuration file in GlobalGrid2050 covering motorways. Runs on a schedule and by hand. - What it achieves (comment): Runs `scripts/fetch_motorway_services.py`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: motorways. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Stadiums v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/fetch_stadiumsv6.yml (YAML, 47 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/fetch_stadiumsv6.yml#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/0492.html#f6 - Synopsis: A configuration file in GlobalGrid2050. Runs on a schedule and by hand. - What it achieves (comment): Runs `scripts/fetch_stadiums.py`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Generate Deep Subsea v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/generate_deep_subseav6.yml (YAML, 20 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/generate_deep_subseav6.yml#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0492.html#f7 - Synopsis: A configuration file in GlobalGrid2050. Runs by hand. - What it achieves (comment): Runs `scripts/generate_deep_subsea.py`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/.github/workflows/generate_deep_subsea.yml) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Generate Global Hydrocarbons v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/generate_global_hydrocarbonsv6.yml (YAML, 37 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/generate_global_hydrocarbonsv6.yml#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0492.html#f8 - Synopsis: A configuration file in GlobalGrid2050. Runs on a schedule and by hand. - What it achieves (comment): Runs `scripts/fetch_global_hydrocarbons.py`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Generate Repo Structure v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/generate_repo_structurev6.yml (YAML, 37 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/generate_repo_structurev6.yml#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0492.html#f9 - Synopsis: A configuration file in GlobalGrid2050. Runs on push and by hand. - What it achieves (name): Its name says it generates repo structure. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Jekyll Gh Pages v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/jekyll-gh-pagesv6.yml (YAML, 51 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/jekyll-gh-pagesv6.yml#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/0492.html#f10 - Synopsis: A configuration file in GlobalGrid2050. Runs on push and by hand. - What it achieves (comment): Sample workflow for building and deploying a Jekyll site to GitHub Pages. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Renewable Energy Planning Database (REPD) Sync v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/repd_syncv6.yml (YAML, 36 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/repd_syncv6.yml#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0492.html#f11 - Synopsis: A configuration file in GlobalGrid2050 covering the REPD register. Runs on a schedule and by hand. - What it achieves (comment): Named “Ventus REPD Master Sync”; runs GlobalGrid2050 Renewable Energy Planning Database (REPD) Updater (`scripts/repd_updater.py`). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Update Grid Data v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/update-grid-datav6.yml (YAML, 73 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/update-grid-datav6.yml#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/0493.html#f1 - Synopsis: A configuration file in GlobalGrid2050. Runs by hand. - What it achieves (comment): Named “fetch-national-grid-data”; runs `scripts/fetch_grid_data.py`, `scripts/fetch_220kv_data.py` and `scripts/fetch_66kv_data.py`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 220kV, 66kV. - Inputs & outputs: Voltage levels named: 220kV, 66kV. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/.github/workflows/update-grid-data.yml) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [220kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Update EV Chargers v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/update_ev_chargersv6.yml (YAML, 49 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/update_ev_chargersv6.yml#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/0493.html#f2 - Synopsis: A configuration file in GlobalGrid2050. Runs on a schedule and by hand. - What it achieves (comment): Runs `scripts/fetch_ev_chargers.py`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Update Metros Trams v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/update_metros_tramsv6.yml (YAML, 44 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/update_metros_tramsv6.yml#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/0493.html#f3 - Synopsis: A configuration file in GlobalGrid2050. Runs on a schedule and by hand. - What it achieves (comment): Named “Fetch UK Metros and Trams”; runs `scripts/fetch_metros_trams.py`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Update Prices v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/update_pricesv6.yml (YAML, 58 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/update_pricesv6.yml#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/0493.html#f4 - Synopsis: A configuration file in GlobalGrid2050. Runs on a schedule and by hand. - What it achieves (comment): Runs `scripts/update_prices_lv.py`, `scripts/update_prices.py` and `scripts/update_metal_trends.py`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 33kV. - Inputs & outputs: Voltage levels named: 33kV. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Update Supermarkets v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/update_supermarketsv6.yml (YAML, 46 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/update_supermarketsv6.yml#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/0493.html#f5 - Synopsis: A configuration file in GlobalGrid2050. Runs on a schedule and by hand. - What it achieves (comment): Runs `scripts/fetch_supermarkets.py`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Update Tube Stations v6 - File: globalgrid2050/repd_grid_atlasv6/.github/workflows/update_tube_stationsv6.yml (YAML, 44 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/.github/workflows/update_tube_stationsv6.yml#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/0493.html#f6 - Synopsis: A configuration file in GlobalGrid2050. Runs on a schedule and by hand. - What it achieves (comment): Named “Fetch London Underground Stations”; runs `scripts/fetch_london_underground.py`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v6 Page - File: globalgrid2050/repd_grid_atlasv6/index.html (HTML, 254 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/index.html#L1-L254 - Page: https://code.globalgrid2050.com/explore-code/s/0493.html#f7 - Published at: https://globalgrid2050.com/repd_grid_atlasv6/ - Synopsis: A web page that draws grid 400kV, grid 275kV, grid 220kV and grid 132kV. Published at https://globalgrid2050.com/repd_grid_atlasv6/. - What it achieves (comment): UK Region v6 (Experimental). Its code works with 100 kW, 11 kV and 132 kV. - What it does: It draws grid 400kV, grid 275kV, grid 220kV and grid 132kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Inputs & outputs: In: GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson. Out: web page. Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Downstream impact: Used directly by 8 files: GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html); Homepage V031 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v031.html); Homepage V032 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v032.html); and 4 more. Reached from 87 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/repd_grid_atlasv6/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out [web page]; crs []; voltages [400kV, 275kV, 220kV, 132kV, 66kV, 11kV] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 8; mentioned by 0 ### Fetch 220kV Data v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_220kv_datav6.py (Python, 59 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_220kv_datav6.py#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/0493.html#f8 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches grid 220kV and cables from OpenStreetMap (Overpass). - What it achieves (name): Its name says it fetches 220kV data. Defines `fetch_220kv_data`. Its code works with 220 kV. - What it does: It fetches grid 220kV and cables. Defines fetch_220kv_data. Uses libraries requests, json, time. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables, 220kV. - Inputs & outputs: In: data source: OpenStreetMap (Overpass); GeoJSON file grid_220kv.geojson. Out: JSON file. Voltage levels named: 220kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `fetch_220kv_data(filename="grid_220kv.geojson")` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass); GeoJSON file grid_220kv.geojson]; out [JSON file]; crs []; voltages [220kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch 66kV Data v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_66kv_datav6.py (Python, 59 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_66kv_datav6.py#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/0493.html#f9 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches grid 66kV and cables from OpenStreetMap (Overpass). - What it achieves (name): Its name says it fetches 66kV data. Defines `fetch_66kv_data`. Its code works with 66 kV. - What it does: It fetches grid 66kV and cables. Defines fetch_66kv_data. Uses libraries requests, json, time. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables, 66kV. - Inputs & outputs: In: data source: OpenStreetMap (Overpass); GeoJSON file grid_66kv.geojson. Out: JSON file. Voltage levels named: 66kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `fetch_66kv_data(filename="grid_66kv.geojson")` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass); GeoJSON file grid_66kv.geojson]; out [JSON file]; crs []; voltages [66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Airports v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_airportsv6.py (Python, 71 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_airportsv6.py#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/0494.html#f1 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 using data from OpenStreetMap (Overpass). - What it achieves (name): Its name says it fetches airports. Defines `fetch_airports`. It writes `airports.geojson`. - What it does: It fetches data. Defines fetch_airports. Uses libraries requests, json, time. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass). Out: GeoJSON file airports.geojson; JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `fetch_airports()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass)]; out [GeoJSON file airports.geojson; JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Datacentres v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_datacentresv6.py (Python, 75 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_datacentresv6.py#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0494.html#f2 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 using data from OpenStreetMap (Overpass). - What it achieves (name): Its name says it fetches datacentres. Defines `fetch_data_centres`. It writes `datacentres.geojson`. - What it does: It fetches data. Defines fetch_data_centres. Uses libraries requests, json, time. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass). Out: GeoJSON file datacentres.geojson; JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `fetch_data_centres()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass)]; out [GeoJSON file datacentres.geojson; JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Elizabeth Line v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_elizabeth_linev6.py (Python, 121 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_elizabeth_linev6.py#L1-L121 - Page: https://code.globalgrid2050.com/explore-code/s/0494.html#f3 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 using data from OpenStreetMap (Overpass). - What it achieves (comment): It builds query (`build_query`) and is built from the centroid step (`centroid`) and the way to ring helper (`way_to_ring`). Use the primary, fast Overpass API endpoint. It writes `elizabeth_line.geojson`. - What it does: It fetches data. Defines 6 functions or classes, including build_query, centroid, way_to_ring, process_data, handle_element. Uses libraries requests, json, math. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass). Out: GeoJSON file elizabeth_line.geojson; JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `build_query()`; `centroid(coords: list)`; `way_to_ring(way: dict, nodes: dict)`; `process_data(data: dict)`; `handle_element(el_id, tags, lon, lat)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass)]; out [GeoJSON file elizabeth_line.geojson; JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Eurostar v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_eurostarv6.py (Python, 170 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_eurostarv6.py#L1-L170 - Page: https://code.globalgrid2050.com/explore-code/s/0494.html#f4 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 using data from OpenStreetMap (Overpass). - What it achieves (comment): It builds query (`build_query`) and is built from the centroid step (`centroid`) and the way to ring helper (`way_to_ring`). Use the primary, fast Overpass API endpoint. It writes `eurostar.geojson`. - What it does: It fetches data. Defines 6 functions or classes, including build_query, centroid, way_to_ring, process_data, handle_station. Uses libraries requests, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass). Out: GeoJSON file eurostar.geojson; JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `build_query()`; `centroid(coords: list)`; `way_to_ring(way: dict, nodes: dict)`; `process_data(data: dict)`; `handle_station(el_id, tags, lon, lat)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass)]; out [GeoJSON file eurostar.geojson; JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch EV Chargers v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_ev_chargersv6.py (Python, 114 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_ev_chargersv6.py#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/0494.html#f5 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050. - What it achieves (name): Its name says it fetches EV chargers. Defines `fetch_ev_chargers`. Its code works with 100 kW. - What it does: It fetches data. Defines fetch_ev_chargers. Uses libraries requests, json, time, os. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: GeoJSON file ev_chargers.geojson. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `fetch_ev_chargers()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file ev_chargers.geojson]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Global Hydrocarbons v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_global_hydrocarbonsv6.py (Python, 215 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_global_hydrocarbonsv6.py#L1-L215 - Page: https://code.globalgrid2050.com/explore-code/s/0495.html#f1 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches gem hydrocarbons master from OpenStreetMap (Overpass). It parses gem (`parse_gem_data`), fetches OSM (`fetch_osm_data`) and saves GeoJSON (`save_geojson`). - What it achieves (comment): Calculate the absolute path of the repository root. - What it does: It fetches gem hydrocarbons master. Defines haversine_distance, parse_gem_data, fetch_osm_data, deduplicate_and_merge, save_geojson. Uses libraries requests, json, math, os, sys. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass); CSV file gem_hydrocarbons_master.csv; GeoJSON file global_hydrocarbons.geojson. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `haversine_distance(lat1, lon1, lat2, lon2)`; `parse_gem_data()`; `fetch_osm_data()`; `deduplicate_and_merge(gem_features, osm_raw)`; `save_geojson(geojson_data, filename="global_hydrocarbons.geojson")` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass); CSV file gem_hydrocarbons_master.csv; GeoJSON file global_hydrocarbons.geojson]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Global Ports v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_global_portsv6.py (Python, 118 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_global_portsv6.py#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/0495.html#f2 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 using data from OpenStreetMap (Overpass). It fetches ports (`fetch_ports`), converts GeoJSON (`convert_to_geojson`) and saves GeoJSON (`save_geojson`). - What it achieves (comment): Calculate the absolute path of the repository root. - What it does: It fetches data. Defines haversine_distance, fetch_ports, convert_to_geojson, save_geojson. Uses libraries requests, json, math, os, sys. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass); GeoJSON file global_ports.geojson. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `haversine_distance(lat1, lon1, lat2, lon2)`; `fetch_ports()`; `convert_to_geojson(osm_data)`; `save_geojson(geojson_data, filename="global_ports.geojson")` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass); GeoJSON file global_ports.geojson]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Grid Data v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_grid_datav6.py (Python, 79 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_grid_datav6.py#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/0495.html#f3 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches grid 400kV, grid 275kV and grid 132kV from OpenStreetMap (Overpass). - What it achieves (name): Its name says it fetches grid data. Defines `fetch_and_convert`. Its code works with 132 kV, 275 kV and 400 kV. - What it does: It fetches grid 400kV, grid 275kV and grid 132kV. Defines fetch_and_convert. Uses libraries requests, json, os, time. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 275kV, 132kV. - Inputs & outputs: In: data source: OpenStreetMap (Overpass); GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_132kv.geojson. Out: JSON file. Voltage levels named: 400kV, 275kV, 132kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `fetch_and_convert(voltage, filename, timeout_secs=300)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass); GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_132kv.geojson]; out [JSON file]; crs []; voltages [400kV, 275kV, 132kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Hs2v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_hs2v6.py (Python, 69 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_hs2v6.py#L1-L69 - Page: https://code.globalgrid2050.com/explore-code/s/0495.html#f4 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 using data from OpenStreetMap (Overpass). - What it achieves (name): Defines `fetch_hs2`. It writes `hs2.geojson`. - What it does: It fetches data. Defines fetch_hs2. Uses libraries requests, json, time. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass). Out: GeoJSON file hs2.geojson; JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `fetch_hs2()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass)]; out [GeoJSON file hs2.geojson; JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Industrial Offtakers v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_industrial_offtakersv6.py (Python, 141 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_industrial_offtakersv6.py#L1-L141 - Page: https://code.globalgrid2050.com/explore-code/s/0495.html#f5 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 using data from OpenStreetMap (Overpass). - What it achieves (name): Its name says it fetches industrial offtakers. Defines `fetch_overpass_data`, `process_osm_data` and `fetch_heavy_industry`. It writes `industrial_offtakers.geojson`. - What it does: It fetches data. Defines fetch_overpass_data, process_osm_data, fetch_heavy_industry. Uses libraries requests, json, time. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass). Out: GeoJSON file industrial_offtakers.geojson; JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `fetch_overpass_data(query, name)`; `process_osm_data(osm_data, geojson_features, seen)`; `fetch_heavy_industry()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass)]; out [GeoJSON file industrial_offtakers.geojson; JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch London Underground v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_london_undergroundv6.py (Python, 58 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_london_undergroundv6.py#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/0495.html#f6 - Synopsis: A Python module in the scripts folder of GlobalGrid2050 that uses ISO3166-1 using data from OpenStreetMap (Overpass). - What it achieves (comment): Overpass query to find London Underground stations. - What it does: It fetches data. Uses libraries requests, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass); GeoJSON file london_underground.geojson. Out: JSON file. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass); GeoJSON file london_underground.geojson]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Metros Trams v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_metros_tramsv6.py (Python, 70 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_metros_tramsv6.py#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/0496.html#f1 - Synopsis: A Python module in the scripts folder of GlobalGrid2050 that fetches UK metros trams, using ISO3166-1 from OpenStreetMap (Overpass). - What it achieves (comment): Overpass query to find UK Metros, Trams, and Light Rail (excluding Glasgow Subway). - What it does: It fetches UK metros trams. Uses libraries requests, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass); GeoJSON file uk_metros_trams.geojson. Out: JSON file. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass); GeoJSON file uk_metros_trams.geojson]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Motorway Services v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_motorway_servicesv6.py (Python, 89 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_motorway_servicesv6.py#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/0496.html#f2 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches motorways from OpenStreetMap (Overpass). - What it achieves (name): Its name says it fetches motorway services. Defines `build_query` and `process_data`. It writes `motorway_services.geojson`. - What it does: It fetches motorways. Defines build_query, process_data, main. Uses libraries requests, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: motorways. - Inputs & outputs: In: data source: OpenStreetMap (Overpass). Out: GeoJSON file motorway_services.geojson; JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `build_query()`; `process_data(data: dict)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass)]; out [GeoJSON file motorway_services.geojson; JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Power Plants v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_power_plantsv6.py (Python, 73 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_power_plantsv6.py#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/0496.html#f3 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 using data from OpenStreetMap (Overpass). - What it achieves (name): Its name says it fetches power plants. Defines `fetch_power_plants`. It writes `power_plants.geojson`. - What it does: It fetches data. Defines fetch_power_plants. Uses libraries requests, json, time. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass). Out: GeoJSON file power_plants.geojson; JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `fetch_power_plants()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass)]; out [GeoJSON file power_plants.geojson; JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Railways v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_railwaysv6.py (Python, 70 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_railwaysv6.py#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/0496.html#f4 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 using data from OpenStreetMap (Overpass). - What it achieves (name): Its name says it fetches railways. Defines `fetch_railways`. It writes `railways.geojson`. - What it does: It fetches data. Defines fetch_railways. Uses libraries requests, json, time. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass). Out: GeoJSON file railways.geojson; JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `fetch_railways()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass)]; out [GeoJSON file railways.geojson; JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Stadiums v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_stadiumsv6.py (Python, 161 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_stadiumsv6.py#L1-L161 - Page: https://code.globalgrid2050.com/explore-code/s/0496.html#f5 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 using data from OpenStreetMap (Overpass). - What it achieves (comment): It builds query (`build_query`) and is built from the is in UK ireland helper (`is_in_uk_ireland`) and the polygon area m2 helper (`polygon_area_m2`). Use the primary, fast Overpass API endpoint. It writes `stadiums.geojson`. - What it does: It fetches data. Defines 8 functions or classes, including build_query, is_in_uk_ireland, polygon_area_m2, centroid, way_to_ring. Uses libraries requests, json, math. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass). Out: GeoJSON file stadiums.geojson; JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `build_query()`; `is_in_uk_ireland(lon: float, lat: float)`; `polygon_area_m2(coords: list)`; `centroid(coords: list)`; `way_to_ring(way: dict, nodes: dict)`; `process_data(data: dict)`; `handle_element(el_id, tags, coords)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass)]; out [GeoJSON file stadiums.geojson; JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch Supermarkets v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/fetch_supermarketsv6.py (Python, 203 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/fetch_supermarketsv6.py#L1-L203 - Page: https://code.globalgrid2050.com/explore-code/s/0496.html#f6 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches supermarkets tesco, supermarkets sainsburys, supermarkets asda and supermarkets morrisons from OpenStreetMap (Overpass). - What it achieves (comment): It builds bulk query (`build_bulk_query`), fetches overpass (`fetch_overpass`) and matches brand (`match_brand`). Use the primary, fast Overpass API endpoint. - What it does: It fetches supermarkets tesco, supermarkets sainsburys, supermarkets asda and supermarkets morrisons. Defines 11 functions or classes, including build_bulk_query, fetch_overpass, node_map, polygon_area_m2, centroid. Uses libraries requests, json, math, collections. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass); GeoJSON file supermarkets_tesco.geojson; GeoJSON file supermarkets_sainsburys.geojson; GeoJSON file supermarkets_asda.geojson; GeoJSON file supermarkets_morrisons.geojson; GeoJSON file supermarkets_aldi.geojson; GeoJSON file supermarkets_lidl.geojson; GeoJSON file supermarkets_waitrose.geojson. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `build_bulk_query()`; `fetch_overpass(query: str)`; `node_map(elements: list)`; `polygon_area_m2(coords: list)`; `centroid(coords: list)`; `way_to_ring(way: dict, nodes: dict)`; `match_brand(tags: dict)`; `process_bulk_data(data: dict)`; `_feature(lon, lat, tags, area, osm_id, osm_type, brand)`; `deduplicate(features: list, tol_m: float = 80.0)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass); GeoJSON file supermarkets_tesco.geojson; GeoJSON file supermarkets_sainsburys.geojson; GeoJSON file supermarkets_asda.geojson; GeoJSON file supermarkets_morrisons.geojson; GeoJSON file supermarkets_aldi.geojson; GeoJSON file supermarkets_lidl.geojson; GeoJSON file supermarkets_waitrose.geojson]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Generate Deep Subsea v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/generate_deep_subseav6.py (Python, 81 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/generate_deep_subseav6.py#L1-L81 - Page: https://code.globalgrid2050.com/explore-code/s/0497.html#f1 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that reads deep subsea illustrative. - What it achieves (name): Its name says it generates deep subsea. Defines `generate_deep_subsea_routes`. It writes `deep_subsea_illustrative.geojson`. - What it does: It loads deep subsea illustrative. Defines generate_deep_subsea_routes. Uses libraries json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `generate_deep_subsea_routes()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Generate Unification Estimates v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/generate_unification_estimatesv6.py (Python, 44 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/generate_unification_estimatesv6.py#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/0497.html#f2 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that reads unification deep subsea estimates. - What it achieves (name): Its name says it generates unification estimates. Defines `generate_unification_routes`. It writes `unification_deep_subsea_estimates.geojson`. - What it does: It loads unification deep subsea estimates. Defines generate_unification_routes. Uses libraries json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `generate_unification_routes()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Renewable Energy Planning Database (REPD) Updater v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/repd_updaterv6.py (Python, 318 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/repd_updaterv6.py#L1-L318 - Page: https://code.globalgrid2050.com/explore-code/s/0497.html#f3 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches REPD master, the REPD register, solar and wind. - What it achieves (name): It classifies tech (`classify_tech`) and is built from the REPD updater class (`REPDUpdater`) and the already current helper (`already_current`). Defines `REPDUpdater`, `validate_schema`, `discover_latest_url` and 5 more. - What it does: It fetches REPD master, the REPD register, solar and wind. Defines 9 functions or classes, including REPDUpdater, __init__, validate_schema, discover_latest_url, already_current. Uses libraries pandas, json, yaml, os, requests. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind. - Inputs & outputs: In: JSON file manifest_v4.json; CSV file latest_repd.csv; JSON file repd_master.json. Out: JSON file manifest_v4.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `class REPDUpdater`; `__init__(self, registry_path="config/registry.yaml")`; `validate_schema(self, df)`; `discover_latest_url(self)`; `already_current(self, url)`; `fetch_data(self, url)`; `classify_tech(self, tech_raw, mounting)`; `refine_dataset(self, csv_path)`; `execute(self)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file manifest_v4.json; CSV file latest_repd.csv; JSON file repd_master.json]; out [JSON file manifest_v4.json]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Update Metal Trends v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/update_metal_trendsv6.py (Python, 212 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/update_metal_trendsv6.py#L1-L212 - Page: https://code.globalgrid2050.com/explore-code/s/0497.html#f4 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 using data from open.er-api.com and query1.finance.yahoo.com. It gets market (`get_market_data`). - What it achieves (comment): From `/scripts/` up to Root, targeting the file directly. - What it does: It fetches data. Defines get_market_data, main. Uses libraries requests, os, pathlib, datetime. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'metal'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: open.er-api.com; data source: query1.finance.yahoo.com. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `get_market_data()`; `main()` - domain_stage: hv_procurement · commercial_user: IPP_developer, EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: open.er-api.com; data source: query1.finance.yahoo.com]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Update Prices Lvv6 - File: globalgrid2050/repd_grid_atlasv6/scripts/update_prices_lvv6.py (Python, 155 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/update_prices_lvv6.py#L1-L155 - Page: https://code.globalgrid2050.com/explore-code/s/0498.html#f1 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches cables from open.er-api.com and query1.finance.yahoo.com. - What it achieves (name): Its name says it updates prices Lvv6. Defines `get_market_data`. - What it does: It fetches cables. Defines get_market_data, main. Uses libraries requests, os, pathlib, datetime. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: data source: open.er-api.com; data source: query1.finance.yahoo.com. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `get_market_data()`; `main()` - domain_stage: hv_procurement · commercial_user: IPP_developer, EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: open.er-api.com; data source: query1.finance.yahoo.com]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Update Prices v6 - File: globalgrid2050/repd_grid_atlasv6/scripts/update_pricesv6.py (Python, 161 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/scripts/update_pricesv6.py#L1-L161 - Page: https://code.globalgrid2050.com/explore-code/s/0498.html#f2 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches cables and 33kV, using BS 7870 from open.er-api.com and query1.finance.yahoo.com. It gets market (`get_market_data`). - What it achieves (comment): Define the target path (ensuring it targets the correct directory relative to the script). Its code works with 33 kV. - What it does: It fetches cables and 33kV. Defines get_market_data, main. Uses libraries requests, os, pathlib, datetime. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables, 33kV. - Inputs & outputs: In: data source: open.er-api.com; data source: query1.finance.yahoo.com. Voltage levels named: 33kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `get_market_data()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: open.er-api.com; data source: query1.finance.yahoo.com]; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Ventus v6 - File: globalgrid2050/repd_grid_atlasv6/ventusv6.css (CSS, 157 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv6/ventusv6.css#L1-L157 - Page: https://code.globalgrid2050.com/explore-code/s/0498.html#f3 - Published at: https://globalgrid2050.com/repd_grid_atlasv6/ - Synopsis: A style sheet in GlobalGrid2050. Served with the page at https://globalgrid2050.com/repd_grid_atlasv6/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 5 files: GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v5 Page (globalgrid2050, https://globalgrid2050.com/repd_grid_atlasv5/); GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v6 Page (globalgrid2050, https://globalgrid2050.com/repd_grid_atlasv6/); GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v7 Page (globalgrid2050, https://globalgrid2050.com/repd_grid_atlasv7/); GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v8 Page (globalgrid2050, https://globalgrid2050.com/repd_grid_atlasv8/); and 1 more. Reached from 503 other entry points, including Code Generator — Index Page (code-generator, https://ventusltd.github.io/code-generator/); Generate (code-generator, https://ventusltd.github.io/code-generator/); Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). It is itself an entry point, published at https://globalgrid2050.com/repd_grid_atlasv6/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v7 Page - File: globalgrid2050/repd_grid_atlasv7/index.html (HTML, 266 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv7/index.html#L1-L266 - Page: https://code.globalgrid2050.com/explore-code/s/0499.html#f1 - Published at: https://globalgrid2050.com/repd_grid_atlasv7/ - Synopsis: A web page that draws grid 400kV, grid 275kV, grid 220kV and grid 132kV. Published at https://globalgrid2050.com/repd_grid_atlasv7/. - What it achieves (comment): UK Region v7 (Experimental). Its code works with 100 kW, 11 kV and 132 kV. - What it does: It draws grid 400kV, grid 275kV, grid 220kV and grid 132kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Inputs & outputs: In: GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson. Out: web page. Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Downstream impact: Used directly by 8 files: GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html); Homepage V031 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v031.html); Homepage V032 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v032.html); and 4 more. Reached from 87 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/repd_grid_atlasv7/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out [web page]; crs []; voltages [400kV, 275kV, 220kV, 132kV, 66kV, 11kV] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 8; mentioned by 0 ### Fetch Heavy Emitters Ukv7 - File: globalgrid2050/repd_grid_atlasv7/scripts/fetch_heavy_emitters_ukv7.py (Python, 198 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv7/scripts/fetch_heavy_emitters_ukv7.py#L1-L198 - Page: https://code.globalgrid2050.com/explore-code/s/0499.html#f2 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches naeipoints sources and transformers. It downloads excel (`download_excel`), parses sheet (`parse_sheet`) and validates schema (`validate_schema`). - What it achieves (comment): Mission: Identify every major UK industrial emitter. - What it does: It fetches naeipoints sources and transformers. Defines 11 functions or classes, including HeavyEmittersUpdater, __init__, discover_latest_url, download_excel, parse_sheet. Uses libraries pandas, json, os, requests, datetime. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers. - Inputs & outputs: In: JSON file heavy_emitters_uk.json; JSON file manifest_heavy_emitters.json; Excel file NAEIPointsSources.xlsx; Excel file NAEIPointsSources_2023.xlsx. Out: JSON file. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fetch Heavy Emitters UK Workflow (globalgrid2050). - Signatures: `class HeavyEmittersUpdater`; `__init__(self)`; `discover_latest_url(self)`; `download_excel(self, url)`; `parse_sheet(self)`; `validate_schema(self, df)`; `transform(self, df)`; `to_co2e(row)`; `build_geojson(self, df_flat)`; `write_outputs(self, geojson, source_url, latest_year)`; `run(self)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file heavy_emitters_uk.json; JSON file manifest_heavy_emitters.json; Excel file NAEIPointsSources.xlsx; Excel file NAEIPointsSources_2023.xlsx]; out [JSON file]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Fetch NAEI Point Sources v7 - File: globalgrid2050/repd_grid_atlasv7/scripts/fetch_naei_point_sourcesv7.py (Python, 138 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv7/scripts/fetch_naei_point_sourcesv7.py#L1-L138 - Page: https://code.globalgrid2050.com/explore-code/s/0499.html#f3 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches naeipoints sources. It downloads excel (`download_excel`), parses sheet (`parse_sheet`) and cleans str (`clean_str`). - What it achieves (comment): Downloads the NAEI Point Sources Excel from energysecurity.gov.uk. - What it does: It fetches naeipoints sources. Defines 8 functions or classes, including download_excel, discover_sheets, parse_sheet, safe_float, clean_str. Uses libraries pandas, json, os, requests, datetime. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: Excel file NAEIPointsSources_2023.xlsx; JSON file naei_point_sources.json; Excel file NAEIPointsSources.xlsx. Out: JSON file. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fetch NAEI Point Sources Workflow (globalgrid2050). - Signatures: `download_excel()`; `discover_sheets()`; `parse_sheet(sheet_name)`; `safe_float(val)`; `clean_str(val)`; `build_geojson(df, lat_col, lon_col, name_col, sector_col, pollutant_cols)`; `write_geojson(geojson)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [Excel file NAEIPointsSources_2023.xlsx; JSON file naei_point_sources.json; Excel file NAEIPointsSources.xlsx]; out [JSON file]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v8 Page - File: globalgrid2050/repd_grid_atlasv8/index.html (HTML, 267 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv8/index.html#L1-L267 - Page: https://code.globalgrid2050.com/explore-code/s/0500.html#f1 - Published at: https://globalgrid2050.com/repd_grid_atlasv8/ - Synopsis: A web page that draws grid 400kV, grid 275kV, grid 220kV and grid 132kV. Published at https://globalgrid2050.com/repd_grid_atlasv8/. - What it achieves (comment): UK Region v8 (Experimental). Its code works with 100 kW, 11 kV and 132 kV. - What it does: It draws grid 400kV, grid 275kV, grid 220kV and grid 132kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Inputs & outputs: In: GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson. Out: web page. Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Downstream impact: Used directly by 73 files: GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/); GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V7 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/); Links (globalgrid2050); Build Atlas V9 Company Renewable Energy Planning Database (REPD) Links (code-generator); and 69 more. Reached from 457 other entry points, including Code Generator — Index Page (code-generator, https://ventusltd.github.io/code-generator/); Generate (code-generator, https://ventusltd.github.io/code-generator/); Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). It is itself an entry point, published at https://globalgrid2050.com/repd_grid_atlasv8/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out [web page]; crs []; voltages [400kV, 275kV, 220kV, 132kV, 66kV, 11kV] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 73; mentioned by 1 ### Fetch UK Railways - File: globalgrid2050/repd_grid_atlasv8/scripts/fetch_uk_railways.py (Python, 81 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv8/scripts/fetch_uk_railways.py#L1-L81 - Page: https://code.globalgrid2050.com/explore-code/s/0500.html#f2 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches UK mainline railways and UK metros trams from OpenStreetMap (Overpass). - What it achieves (name): Its name says it fetches UK railways. Defines `fetch_uk_railways`. - What it does: It fetches UK mainline railways and UK metros trams. Defines fetch_uk_railways. Uses libraries requests, json, time, sys. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap (Overpass); GeoJSON file uk_mainline_railways.geojson; GeoJSON file uk_metros_trams.geojson. Out: JSON file. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fetch UK Railways Workflow (globalgrid2050). - Signatures: `fetch_uk_railways(rail_types, filename, timeout_secs=900)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass); GeoJSON file uk_mainline_railways.geojson; GeoJSON file uk_metros_trams.geojson]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Fetch UK Roads - File: globalgrid2050/repd_grid_atlasv8/scripts/fetch_uk_roads.py (Python, 85 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/repd_grid_atlasv8/scripts/fetch_uk_roads.py#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/0500.html#f3 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 that fetches UK motorways, UK trunk roads, UK primary roads and A roads from OpenStreetMap (Overpass). - What it achieves (name): Its name says it fetches UK roads. Defines `fetch_uk_roads`. - What it does: It fetches UK motorways, UK trunk roads, UK primary roads and A roads. Defines fetch_uk_roads. Uses libraries requests, json, time, sys. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: A roads. - Inputs & outputs: In: data source: OpenStreetMap (Overpass); GeoJSON file uk_motorways.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_primary_roads.geojson. Out: JSON file. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fetch UK Roads Workflow (globalgrid2050). - Signatures: `fetch_uk_roads(highway_types, filename, timeout_secs=900)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass); GeoJSON file uk_motorways.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_primary_roads.geojson]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Sync Promoted GridAtlas V9 - File: globalgrid2050/scripts/202608300232-sync-promoted-gridatlas-v9.py (Python, 265 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/202608300232-sync-promoted-gridatlas-v9.py#L1-L265 - Page: https://code.globalgrid2050.com/explore-code/s/0500.html#f4 - Synopsis: A Python command-line tool in the scripts folder that reads GridAtlas current, using SHA-256. It verifies release (`verify_release`), copies verified tree (`copy_verified_tree`) and replaces visible text (`replace_visible_text`). - What it achieves (comment): Mirror a promoted GridAtlas V9 release and place it immediately after Atlas V8. Its code works with 400 kV. It accepts `--gridatlas`, `--site-root` and `--homepage`. - What it does: It loads GridAtlas current. Defines 10 functions or classes, including require, sha256, load, verify_release, copy_verified_tree. Uses libraries __future__, argparse, hashlib, json, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: In: JSON file release-manifest.json; JSON file live-set.json; JSON file gridatlas-v9-current.json; command-line arguments. Voltage levels named: 400kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `require(condition: bool, message: str)`; `sha256(path: Path)`; `load(path: Path)`; `verify_release(release: Path)`; `copy_verified_tree(source: Path, destination: Path)`; `replace_visible_text(anchor: str)`; `build_v9_anchor(v8_anchor: str, release_id: str)`; `update_homepage(homepage: Path, release_id: str)`; `_semantic_v8_catalogue_update(homepage: Path, release_id: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release-manifest.json; JSON file live-set.json; JSON file gridatlas-v9-current.json; command-line arguments]; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Catalogue GridAtlas V9 - File: globalgrid2050/scripts/catalogue_gridatlas_v9.py (Python, 826 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/catalogue_gridatlas_v9.py#L1-L826 - Page: https://code.globalgrid2050.com/explore-code/s/0501.html#f1 - Synopsis: A Python command-line tool in the scripts folder covering composition and the Renewable Energy Planning Database (REPD) register, using SHA-256, and uses data from the GridAtlas repository. - What it achieves (comment): It reads bytes (`read_bytes`), reads text (`read_text`) and reads JSON (`read_json`). Compile one verified Grid Atlas V9 pointer into the GlobalGrid catalogue. It reads `live-set.json`. It accepts `--root`, `--pointer-json` and `--release-manifest`. - What it does: Defines 28 functions or classes, including ContractError, require, read_bytes, read_text, read_json. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file current-v3.json; JSON file live-set.json; JSON file release-manifest.json; JSON file -composition.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `class ContractError`; `require(condition: bool, message: str)`; `read_bytes(path: Path)`; `read_text(path: Path)`; `read_json(path: Path)`; `sha256_bytes(value: bytes)`; `sha256_text(value: str)`; `canonical_json(value: dict[str, Any])`; `validate_sha(value: str, label: str)`; `validate_catalogue_time(generation: str, incepted_at: str, created_at: str)`; `validate_upstream(pointer_path: Path, release_manifest_path: Path, gridatlas_commit: str)`; `atlas_entry(atlas: dict[str, Any])`; `marked_row_index(lines: list[str])`; `assert_v8_sentinel(html: str, stage: str)`; `compile_root(current_html: str, entry_line: str, live_url: str)`; `validate_composition(gridatlas_root: Path)`; `refresh_composition_row(current_html: str, composition: dict[str, str], notes_current: bool = False)`; `refresh_composition(args: argparse.Namespace)`; `snapshot_html(root_html: str, catalogue_generation: str)`; `existing_catalogue_manifests(homepage_versions: Path, atlas_release_id: str)`; `predecessor_record(homepage_versions: Path)`; `validate_existing_snapshot(root: Path, manifest_path: Path, expected_atlas: dict[str, Any], entry_line: str)`; `build_manifest(*, catalogue_generation: str, incepted_at: str, created_at: str, base_commit: str, parent_root_sha256: str, root_html...)`; `apply_catalogue(args: argparse.Namespace)`; `verify_catalogue(*, root: Path, catalogue_manifest: Path, pointer_json: Path, release_manifest: Path, gridatlas_commit: str)` (and 3 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file current-v3.json; JSON file live-set.json; JSON file release-manifest.json; JSON file -composition.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### GlobalGrid2050 Test Catalogue GridAtlas V9 - File: globalgrid2050/scripts/test_catalogue_gridatlas_v9.py (Python, 199 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_catalogue_gridatlas_v9.py#L1-L199 - Page: https://code.globalgrid2050.com/explore-code/s/0502.html#f2 - Synopsis: A test in the scripts folder that checks GridAtlas — Atlas Page using data from the GridAtlas repository. - What it achieves (comment): It is built from the composition step (`composition`), the note of helper (`note_of`) and the results class (`Results`). Pin the fail-closed contracts of the Grid Atlas catalogue compiler. - What it does: It tests transformers. Defines 7 functions or classes, including composition, note_of, Results, __init__, check. Uses libraries __future__, importlib.util, sys, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers. - Inputs & outputs: In: data source: gridatlas data. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `composition(generation: str, version: str)`; `note_of(html: str)`; `class Results`; `__init__(self)`; `check(self, label: str, ok: bool, detail: str = "")`; `refuses(self, label: str, html: str, expect_refusal: bool = True, comp: dict[str, str] | None = None, **kwargs: object)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### GlobalGrid2050 V6 Add Atlas V8 Dashboard Link - File: globalgrid2050/scripts/v6_add_atlas_v8_dashboard_link.py (Python, 106 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/v6_add_atlas_v8_dashboard_link.py#L1-L106 - Page: https://code.globalgrid2050.com/explore-code/s/0502.html#f3 - Synopsis: A Python command-line tool in the scripts folder that reads cables, solar and battery storage (BESS). It is built from the read step (`read`) and the write step (`write`). - What it achieves (comment): This script does not move or copy the Atlas V8 app. - What it does: It loads cables, solar and battery storage (BESS). Defines read, write, main. Uses libraries __future__, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables, solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: GlobalGrid2050 V6 Add Atlas V8 Dashboard Link Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 V7 Add Atlas V8 Dashboard Link - File: globalgrid2050/scripts/v7_add_atlas_v8_dashboard_link.py (Python, 106 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/v7_add_atlas_v8_dashboard_link.py#L1-L106 - Page: https://code.globalgrid2050.com/explore-code/s/0502.html#f4 - Synopsis: A Python command-line tool in the scripts folder that reads cables, solar and battery storage (BESS). It is built from the read step (`read`) and the write step (`write`). - What it achieves (comment): This script does not move or copy the Atlas V8 app. - What it does: It loads cables, solar and battery storage (BESS). Defines read, write, main. Uses libraries __future__, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables, solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: GlobalGrid2050 V7 Add Atlas V8 Dashboard Link Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Streaming Parquet Bridge V9 5 - File: globalgrid2050/testcode/202609051152/atlas/cartridges/202609041945-streaming-parquet-bridge-v9-5.js (JavaScript, 328 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/atlas/cartridges/202609041945-streaming-parquet-bridge-v9-5.js#L1-L328 - Page: https://code.globalgrid2050.com/explore-code/s/0503.html#f1 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that reads grid 400kV, grid 275kV, grid 220kV and grid 132kV, using SHA-256 from the data-GridAtlas repository. - What it achieves (name): It maps ready key (`mapReadyKey`), gets manifest (`getManifest`) and gets runtime (`getRuntime`). Defines `invariant`, `requestPath`, `mapReadyKey` and 13 more. It responds to abort events. - What it does: It loads grid 400kV, grid 275kV, grid 220kV and grid 132kV. Defines 16 functions or classes, including invariant, requestPath, mapReadyKey, legacyStem, sha256Hex. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: data-gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson. - Signatures: `invariant(condition, message)`; `requestPath(input)`; `mapReadyKey(pathname)`; `legacyStem(pathname)`; `sha256Hex(bytes)`; `getManifest()`; `sharedDuckDBRuntime(moduleUrl)`; `getRuntime()`; `scheduleRuntimePrewarm()`; `start()`; `resolvePartition(pathname)`; `artifact(manifest.artifacts || [])`; `rowObject(row)`; `queryOnDemand(pathname)`; `abort()`; `cancel()` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/cartridges/202610230100-streaming-parquet-bridge-v9-5.js) · essay_status: readme_derived - data_contracts: in [data source: data-gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 1 ### Atlas Receiver V9 7 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/core/atlas-receiver-v9-7.js (JavaScript, 313 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/core/atlas-receiver-v9-7.js#L1-L313 - Page: https://code.globalgrid2050.com/explore-code/s/0503.html#f2 - Synopsis: A JavaScript module in the core folder of GlobalGrid2050 that fetches receivers and the Renewable Energy Planning Database (REPD) register from the ventus-grid-engine and GridAtlas repositories. - What it achieves (comment): It verifies atlas receiver v9 (`verifyAtlasReceiverV9_7`), loads atlas receiver v9 (`loadAtlasReceiverV9_7`) and builds atlas deep link v9 (`buildAtlasDeepLinkV9_7`). On the MAP button in this app was measured pointing at the V8 overlay the engine now publishes as retired. Its code works with 132 kV and 500 MW. - What it does: It fetches receivers and the REPD register. Defines 10 functions or classes, including stripTrailingSlash, isRetiredReceiverV9_7, atlasReceiverV9_7, atlasReceiverFailureV9_7, primeAtlasReceiverV9_7. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, 132kV. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: gridatlas data; JSON file receivers.json. Voltage levels named: 132kV. - Downstream impact: Used directly by 7 files: Canonical Project Table (globalgrid2050); Projects V9 1 (globalgrid2050); Projects V9 2 (globalgrid2050); Projects V9 3 (globalgrid2050); and 3 more. Reached from 196 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export isRetiredReceiverV9_7(route)`; `export atlasReceiverV9_7()`; `export atlasReceiverFailureV9_7()`; `export primeAtlasReceiverV9_7(document_)`; `export verifyAtlasReceiverV9_7()`; `export loadAtlasReceiverV9_7()`; `export atlasCentresOnRepdPointV9_7(project)`; `export buildAtlasDeepLinkV9_7(project)`; `export atlasUnavailableReasonV9_7(project)`; `stripTrailingSlash(route)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: gridatlas data; JSON file receivers.json]; out []; crs []; voltages [132kV] - Edges: uses 2 estate files (estate-url 2); used by 7; mentioned by 1 ### UK Gazetteer Flyto - File: globalgrid2050/testcode/202609051214/atlas/cartridges/202609051214-uk-gazetteer-flyto.js (JavaScript, 816 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051214/atlas/cartridges/202609051214-uk-gazetteer-flyto.js#L1-L816 - Page: https://code.globalgrid2050.com/explore-code/s/0504.html#f1 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that maps Renewable Energy Planning Database (REPD) projects, using SHA-256 and uses data from postcodes.io, OpenStreetMap Nominatim and the GridAtlas repository. - What it achieves (comment): It marks deep link cancelled (`markDeepLinkCancelled`), normalises compact (`normaliseCompact`) and parses groups (`parseGroups`). Place-global-search-v9-5. It responds to gridatlas, click and input events. - What it does: It maps REPD projects, postcodes and the REPD register. Defines 40 functions or classes, including invariant, arrivalCoordinator, markDeepLinkCancelled, invalidatePendingDeepLink, escapeHtml. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: postcodes, the REPD register. - Inputs & outputs: In: data source: gridatlas data; data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; DuckDB queries. Out: interactive map. - Signatures: `invariant(condition, message)`; `arrivalCoordinator()`; `markDeepLinkCancelled(reason, epoch = null)`; `invalidatePendingDeepLink(reason)`; `escapeHtml(value)`; `sqlString(value)`; `normaliseCompact(value)`; `parseGroups(query)`; `sha256Hex(bytes)`; `verifyManifest()`; `sharedDuckDBRuntime(moduleUrl)`; `runtime()`; `resetOfficialRuntime()`; `installMapCapture()`; `construct(target, args, newTarget)`; `buildWhere(query)`; `buildScore(query)`; `rowObject(row)`; `queryOfficialRepd(query, serial = null, stillOwned = null)`; `hasSafeMapPoint(result)`; `setDeepLink(result)`; `selectResult(result, options = {})`; `geocoderGet(path, query)`; `joinParts(...parts)`; `queryUkGazetteer(query)` (and 15 more) - VEDIC: QUERY (GG2050-VEDIC-000046): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_predicate - VEDIC: SCORE (GG2050-VEDIC-000047): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_sort_expression - VEDIC: UK GEOCODE (GG2050-VEDIC-000048): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> uk_location_candidates - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of code-generator/apps/substation-finder/Ug/202609051623-uk-gazetteer-flyto.js) · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; DuckDB queries]; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Streaming Parquet Bridge - File: globalgrid2050/testcode/202609051344/atlas/cartridges/202609051344-streaming-parquet-bridge.js (JavaScript, 333 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051344/atlas/cartridges/202609051344-streaming-parquet-bridge.js#L1-L333 - Page: https://code.globalgrid2050.com/explore-code/s/0505.html#f2 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that reads grid 400kV, grid 275kV, grid 220kV and grid 132kV, using SHA-256 from the data-GridAtlas repository. - What it achieves (name): It maps ready key (`mapReadyKey`), gets manifest (`getManifest`) and gets runtime (`getRuntime`). Defines `invariant`, `requestPath`, `mapReadyKey` and 13 more. It responds to abort events. - What it does: It loads grid 400kV, grid 275kV, grid 220kV and grid 132kV. Defines 16 functions or classes, including invariant, requestPath, mapReadyKey, legacyStem, sha256Hex. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: data-gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson. - Signatures: `invariant(condition, message)`; `requestPath(input)`; `mapReadyKey(pathname)`; `legacyStem(pathname)`; `sha256Hex(bytes)`; `getManifest()`; `sharedDuckDBRuntime(moduleUrl)`; `getRuntime()`; `scheduleRuntimePrewarm()`; `start()`; `resolvePartition(pathname)`; `artifact(manifest.artifacts || [])`; `rowObject(row)`; `queryOnDemand(pathname)`; `abort()`; `cancel()` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/cartridges/202610230100-streaming-parquet-bridge-v9-5.js) · essay_status: readme_derived - data_contracts: in [data source: data-gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Menu Bar - File: globalgrid2050/testcode/202609052023/atlas/source/menu-bar.js (JavaScript, 1478 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609052023/atlas/source/menu-bar.js#L1-L1478 - Page: https://code.globalgrid2050.com/explore-code/s/0506.html#f1 - Synopsis: A JavaScript file in the source folder of GlobalGrid2050 that draws engine graph and uses data from the ventus-grid-engine, data-federation-map-for-GlobalGrid2050-all-repos and spiders repositories. - What it achieves (comment): It cleans text (`cleanText`), syncs attrib clearance (`syncAttribClearance`) and syncs layer (`syncLayer`). V9.94 proved that the conventional menu is the right shape and the wrong implementation can still strand the product. It responds to click, keydown and afterprint events. - What it does: It draws engine graph. Defines 42 functions or classes, including array, cleanText, layerKey, layerLabel, layerGroup. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; JSON file engine-graph.json; form fields (user input). Out: downloaded file gridatlas-; canvas drawing. - Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `array(value)`; `cleanText(value)`; `layerKey(input)`; `layerLabel(input)`; `layerGroup(input)`; `inventory(doc)`; `required(doc)`; `installStyle(doc)`; `syncAttribClearance(doc)`; `closeAll(focusTitle)`; `syncLayer(key)`; `syncAll()`; `clampPanel(doc, menu, panel)`; `vw(view && view.innerWidth)`; `openMenu(menu, title, panel)`; `buildBar(doc)`; `appendGroup(panel, text)`; `appendEngineModules(panel)`; `nodes(graph && graph.nodes)`; `kindLabels(graph && graph.kind_labels)`; `done(ok)`; `appendStudies(panel)`; `exportStamp()`; `attributionText(doc)` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of testcode/sandbox/202609052028/atlas/source/menu-bar.js) · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; JSON file engine-graph.json; form fields (user input)]; out [downloaded file gridatlas-; canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Map Controls Layout - File: globalgrid2050/testcode/202609060228/atlas/map-controls-layout.js (JavaScript, 48 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060228/atlas/map-controls-layout.js#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0508.html#f2 - Synopsis: A JavaScript module in the atlas folder of GlobalGrid2050. It is built from the mount map controls layout helper (`mountMapControlsLayout`) and the reflect step (`reflect`). - What it achieves (comment): Layout-only successor: preserve the existing tool, Layers and menu handlers. - What it does: It draws its content. Defines mountMapControlsLayout, reflect. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Teleprinter Bootstrap (globalgrid2050); Teleprinter Bootstrap (testcode). - Signatures: `export mountMapControlsLayout(doc = document)`; `reflect()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Project GeoJSON - File: globalgrid2050/testcode/202609060334/pipeline/assets/202609060334-project-geojson.mjs (JavaScript, 21 lines) · role geodesy · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060334/pipeline/assets/202609060334-project-geojson.mjs#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0508.html#f3 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 that works with the Renewable Energy Planning Database (REPD) register. It is built from the project geo JSON helper (`projectGeoJSON`). - What it achieves (name): Defines `projectGeoJSON`. - What it does: It calculates the REPD register. Defines projectGeoJSON. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Testcode — Pipeline (globalgrid2050). Reached from 21 other entry points, including Homepage V073 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v073.html); Homepage V074 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v074.html); Homepage V075 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v075.html). - Signatures: `export projectGeoJSON(projects, metadata = {})` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Wider GeoJSON - File: globalgrid2050/testcode/202609060340/pipeline/assets/202609060340-wider-geojson.mjs (JavaScript, 18 lines) · role geodesy · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060340/pipeline/assets/202609060340-wider-geojson.mjs#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/0508.html#f4 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050. It is built from the wider geo JSON helper (`widerGeoJSON`). - What it achieves (name): Defines `widerGeoJSON` and `numeric`. - What it does: It calculates its inputs. Defines widerGeoJSON, numeric. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Wider Fleet (globalgrid2050). - Signatures: `export widerGeoJSON(rows,metricLookup,metadata={})`; `numeric(value)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Teleprinter Bootstrap - File: globalgrid2050/testcode/202609060503/atlas/teleprinter-bootstrap.js (JavaScript, 21 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060503/atlas/teleprinter-bootstrap.js#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0508.html#f5 - Synopsis: A JavaScript module in the atlas folder of GlobalGrid2050 that draws atlas pin, atlas code, solar and battery storage (BESS). - What it does: It draws atlas pin, atlas code, solar and battery storage (BESS). Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file atlas-source-pin.json; JSON file atlas-source-code.manifest.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file atlas-source-pin.json; JSON file atlas-source-code.manifest.json]; out []; crs []; voltages [] - Edges: uses 6 estate files (import 6); used by 0; mentioned by 0 ### Testcode — Atlas Page - File: globalgrid2050/testcode/202609060537/atlas/index.html (HTML, 122 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060537/atlas/index.html#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/0508.html#f6 - Published at: https://globalgrid2050.com/testcode/202609060537/atlas/ - Synopsis: A web page in GlobalGrid2050 that validates atlas composition (`validateAtlasComposition`), using SHA-256. Published at https://globalgrid2050.com/testcode/202609060537/atlas/. - What it achieves (comment): It validates atlas composition (`validateAtlasComposition`) and is built from the invariant step (`invariant`) and the escape attribute helper (`escapeAttribute`). Test Code Atlas. It reads `./current.json`. - What it does: It draws its content. Defines invariant, escapeAttribute, sha256Hex, fail, validateAtlasComposition. Uses libraries ${escapeAttribute(blobUrl)}, ' + escapeAttribute(teleprinterUrl) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 6 files: Homepage V088 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v088.html); Homepage V089 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v089.html); Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); and 2 more. It is itself an entry point, published at https://globalgrid2050.com/testcode/202609060537/atlas/. - Signatures: `invariant(condition, message)`; `escapeAttribute(value)`; `sha256Hex(bytes)`; `fail(error)`; `validateAtlasComposition(current)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### Testcode — Code Map - File: globalgrid2050/testcode/202609141754/code-map/core.js (JavaScript, 203 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/code-map/core.js#L1-L203 - Page: https://code.globalgrid2050.com/explore-code/s/0508.html#f7 - Published at: https://globalgrid2050.com/testcode/202609141754/code-map/ - Synopsis: A JavaScript file in GlobalGrid2050 that draws blocks, families and names, and uses data from raw.githubusercontent.com and the stars repository. Served with the page at https://globalgrid2050.com/testcode/202609141754/code-map/. - What it achieves (comment): It gets JSON (`getJSON`), loads universe (`loadUniverse`) and sets address (`setAddress`). GlobalGrid2050 code map core, shared by the ten views (public copy of `testcode/202609141522/core.js`). It responds to click, popstate and input events. - What it does: It draws blocks, families and names. Defines 38 functions or classes, including CORP_BASE, say, sayType, pageLink, $. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "Wording: every data-derived string passes through `../corporate.js` (via `say()`, `sayType()` and `pageLink()` in `core.js`)." - Inputs & outputs: In: data source: raw.githubusercontent.com; data source: stars data; JSON file blocks.json; JSON file families.json; JSON file index.json; JSON file names.json. - Downstream impact: Used directly by 10 files: Code Map — V01 Dependency Drill Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/v01-dependency-drill/); Code Map — V02 Radial Hierarchy Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/v02-radial-hierarchy/); Code Map — V03 Block Map Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/v03-block-map/); Code Map — V04 Block Register Links Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/v04-block-register-links/); and 6 more. Reached from 2 other entry points, including Testcode — Code Map Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/); Testcode — Code Navigation Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-navigation/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/code-map/. - Signatures: `CORP(typeof window !== 'undefined' && window.Corporate)`; `CORP_BASE(() => { const s = [...document.scripts].find(x => /(^|\/)corporate\.js([?)`; `say(s, type)`; `sayType(t)`; `pageLink(url)`; `$(s, r = document)`; `esc(s)`; `el(tag, attrs = {}, ...kids)`; `getJSON(url)`; `fail(where, err)`; `loadUniverse()`; `catColour(id)`; `catTitle(id)`; `catName(c)`; `blockTitle(b)`; `blockDesc(b)`; `blockLabel(sym)`; `blockFamilies(sym)`; `blockDeps(sym)`; `blockUsers(sym)`; `blockPage(sym)`; `countsLine()`; `family(n)`; `familyLines(rec)`; `p(rec.places || [])` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: raw.githubusercontent.com; data source: stars data; JSON file blocks.json; JSON file families.json; JSON file index.json; JSON file names.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 10; mentioned by 0 ### Testcode — Code Map Page - File: globalgrid2050/testcode/202609141754/code-map/index.html (HTML, 24 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/code-map/index.html#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0508.html#f8 - Published at: https://globalgrid2050.com/testcode/202609141754/code-map/ - Synopsis: A web page in GlobalGrid2050. Published at https://globalgrid2050.com/testcode/202609141754/code-map/. - What it achieves (comment): Code map, ten views. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Testcode — Code Navigation Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-navigation/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/code-map/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 10 estate files (link 10); used by 1; mentioned by 0 ### Code Map — V02 Radial Hierarchy Page - File: globalgrid2050/testcode/202609141754/code-map/v02-radial-hierarchy/index.html (HTML, 75 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/code-map/v02-radial-hierarchy/index.html#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0508.html#f9 - Published at: https://globalgrid2050.com/testcode/202609141754/code-map/v02-radial-hierarchy/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that shows cat (`showCat`) and block (`showBlock`), opens family (`openFamily`) and draws SVG graphics. Published at https://globalgrid2050.com/testcode/202609141754/code-map/v02-radial-hierarchy/. - What it achieves (name): It shows cat (`showCat`), shows block (`showBlock`) and opens family (`openFamily`). Defines `arc`, `ring`, `centre` and 3 more. It responds to click events. - What it does: It draws its content. Defines 8 functions or classes, including sv, arc, p, ring, centre. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page; SVG drawing. - Downstream impact: Used directly by 1 file: Testcode — Code Map Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/). Reached from 1 other entry point, including Testcode — Code Navigation Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-navigation/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/code-map/v02-radial-hierarchy/. - Signatures: `sv(t, a)`; `arc(r0, r1, a0, a1)`; `p(r, a)`; `ring(items, r0, r1, onClick)`; `centre(title, sub, onClick)`; `showCat(id)`; `showBlock(sym)`; `openFamily(n)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 2 estate files (script-src 2); used by 1; mentioned by 0 ### Code Map — V03 Block Map Page - File: globalgrid2050/testcode/202609141754/code-map/v03-block-map/index.html (HTML, 77 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/code-map/v03-block-map/index.html#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/0508.html#f10 - Published at: https://globalgrid2050.com/testcode/202609141754/code-map/v03-block-map/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that selects star (`selectStar`), opens family (`openFamily`), calculates planar distances and draws on a canvas. Published at https://globalgrid2050.com/testcode/202609141754/code-map/v03-block-map/. - What it achieves (name): It selects star (`selectStar`) and opens family (`openFamily`). Defines `size`, `layout`, `scr` and 4 more. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws its content. Defines 7 functions or classes, including size, layout, scr, draw, hit. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page; canvas drawing. - Downstream impact: Used directly by 1 file: Testcode — Code Map Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/). Reached from 1 other entry point, including Testcode — Code Navigation Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-navigation/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/code-map/v03-block-map/. - Signatures: `size()`; `layout()`; `a0(ci / cats.length)`; `scr(s)`; `draw(now)`; `hit(x, y)`; `selectStar(sym)`; `openFamily(n)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (script-src 2); used by 1; mentioned by 0 ### Code Map — V04 Block Register Links Page - File: globalgrid2050/testcode/202609141754/code-map/v04-block-register-links/index.html (HTML, 59 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/code-map/v04-block-register-links/index.html#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/0509.html#f1 - Published at: https://globalgrid2050.com/testcode/202609141754/code-map/v04-block-register-links/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that opens family (`openFamily`) and draws SVG graphics. Published at https://globalgrid2050.com/testcode/202609141754/code-map/v04-block-register-links/. - What it achieves (comment): It opens family (`openFamily`) and is built from the build step (`build`) and the arrows step (`arrows`). V04 block register with dependencies. It responds to resize events. - What it does: It draws its content. Defines build, arrows, line, pick, openFamily. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page; SVG drawing. - Downstream impact: Used directly by 1 file: Testcode — Code Map Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/). Reached from 1 other entry point, including Testcode — Code Navigation Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-navigation/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/code-map/v04-block-register-links/. - Signatures: `build()`; `arrows(sym)`; `line(a, b, col)`; `pick(sym)`; `openFamily(n)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 2 estate files (script-src 2); used by 1; mentioned by 0 ### Code Map — V05 Chord Dependencies Page - File: globalgrid2050/testcode/202609141754/code-map/v05-chord-dependencies/index.html (HTML, 53 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/code-map/v05-chord-dependencies/index.html#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/0509.html#f2 - Published at: https://globalgrid2050.com/testcode/202609141754/code-map/v05-chord-dependencies/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that opens family (`openFamily`) and draws SVG graphics. Published at https://globalgrid2050.com/testcode/202609141754/code-map/v05-chord-dependencies/. It opens family (`openFamily`). - What it achieves (name): Defines `draw`, `pick` and `openFamily`. It responds to click events. - What it does: It draws its content. Defines 6 functions or classes, including sv, draw, p, xy, pick. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page; SVG drawing. - Downstream impact: Used directly by 1 file: Testcode — Code Map Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/). Reached from 1 other entry point, including Testcode — Code Navigation Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-navigation/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/code-map/v05-chord-dependencies/. - Signatures: `sv(t, a)`; `draw()`; `p(r, a)`; `xy(a)`; `pick(sym)`; `openFamily(n)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 2 estate files (script-src 2); used by 1; mentioned by 0 ### Code Map — V06 Treemap Page - File: globalgrid2050/testcode/202609141754/code-map/v06-treemap/index.html (HTML, 60 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/code-map/v06-treemap/index.html#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0509.html#f3 - Published at: https://globalgrid2050.com/testcode/202609141754/code-map/v06-treemap/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that shows cat (`showCat`) and block (`showBlock`) and opens family (`openFamily`). Published at https://globalgrid2050.com/testcode/202609141754/code-map/v06-treemap/. - What it achieves (name): It shows cat (`showCat`), shows block (`showBlock`) and opens family (`openFamily`). Defines `squarify`, `render`, `showCat` and 2 more. It responds to resize events. - What it does: It draws its content. Defines squarify, render, showCat, showBlock, openFamily. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Testcode — Code Map Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/). Reached from 1 other entry point, including Testcode — Code Navigation Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-navigation/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/code-map/v06-treemap/. - Signatures: `squarify(items, x, y, w, h)`; `render(items, onClick)`; `showCat(id)`; `showBlock(sym)`; `openFamily(n)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (script-src 2); used by 1; mentioned by 0 ### Code Map — V07 Flow Page - File: globalgrid2050/testcode/202609141754/code-map/v07-flow/index.html (HTML, 60 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/code-map/v07-flow/index.html#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0509.html#f4 - Published at: https://globalgrid2050.com/testcode/202609141754/code-map/v07-flow/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that shows block (`showBlock`), opens family (`openFamily`) and draws SVG graphics. Published at https://globalgrid2050.com/testcode/202609141754/code-map/v07-flow/. - What it achieves (name): It shows block (`showBlock`) and opens family (`openFamily`). Defines `draw`, `repoOf`, `place` and 4 more. It responds to click events. - What it does: It draws its content. Defines 8 functions or classes, including sv, draw, repoOf, place, band. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page; SVG drawing. - Downstream impact: Used directly by 1 file: Testcode — Code Map Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/). Reached from 1 other entry point, including Testcode — Code Navigation Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-navigation/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/code-map/v07-flow/. - Signatures: `sv(t, a)`; `draw()`; `repoOf(b)`; `place(list, x, key)`; `band(a, b, w, col, tag)`; `label(m, anchor, dx, text, onClick, colour)`; `hot(tag)`; `showBlock(sym)`; `openFamily(n)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 2 estate files (script-src 2); used by 1; mentioned by 0 ### Code Map — V08 Ring Navigation Page - File: globalgrid2050/testcode/202609141754/code-map/v08-ring-navigation/index.html (HTML, 85 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/code-map/v08-ring-navigation/index.html#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/0509.html#f5 - Published at: https://globalgrid2050.com/testcode/202609141754/code-map/v08-ring-navigation/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that opens block (`openBlock`) and fam (`openFam`) and draws SVG graphics. Published at https://globalgrid2050.com/testcode/202609141754/code-map/v08-ring-navigation/. - What it achieves (name): It opens block (`openBlock`) and opens fam (`openFam`). Defines `blockAt`, `draw`, `openBlock` and 1 more. It responds to click events. - What it does: It draws its content. Defines 6 functions or classes, including sv, pt, blockAt, draw, openBlock. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page; SVG drawing. - Downstream impact: Used directly by 1 file: Testcode — Code Map Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/). Reached from 1 other entry point, including Testcode — Code Navigation Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-navigation/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/code-map/v08-ring-navigation/. - Signatures: `sv(t, a)`; `pt(r, a)`; `blockAt(sym)`; `draw()`; `step(Math.PI * 2)`; `openBlock(sym)`; `openFam(n)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 2 estate files (script-src 2); used by 1; mentioned by 0 ### Code Map — V09 Line View Page - File: globalgrid2050/testcode/202609141754/code-map/v09-line-view/index.html (HTML, 62 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/code-map/v09-line-view/index.html#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/0509.html#f6 - Published at: https://globalgrid2050.com/testcode/202609141754/code-map/v09-line-view/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that shows block (`showBlock`) and opens family (`openFamily`). Published at https://globalgrid2050.com/testcode/202609141754/code-map/v09-line-view/. It shows block (`showBlock`) and opens family (`openFamily`). - What it achieves (name): Defines `showBlock`, `openFamily` and `list`. - What it does: It draws its content. Defines showBlock, openFamily, list. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Testcode — Code Map Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/). Reached from 1 other entry point, including Testcode — Code Navigation Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-navigation/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/code-map/v09-line-view/. - Signatures: `showBlock(sym)`; `openFamily(n)`; `list(title, items, colour)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (script-src 2); used by 1; mentioned by 0 ### Code Map — V10 Code Browser Page - File: globalgrid2050/testcode/202609141754/code-map/v10-code-browser/index.html (HTML, 71 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/code-map/v10-code-browser/index.html#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/0509.html#f7 - Published at: https://globalgrid2050.com/testcode/202609141754/code-map/v10-code-browser/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that opens family (`openFamily`). Published at https://globalgrid2050.com/testcode/202609141754/code-map/v10-code-browser/. - What it achieves (comment): It opens family (`openFamily`) and is built from the nav build helper (`navBuild`) and the SLD step (`sld`). V10 read-only code browser. It responds to toggle and click events. - What it does: It draws its content. Defines sv, navBuild, sld, openFamily. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Testcode — Code Map Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/). Reached from 1 other entry point, including Testcode — Code Navigation Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-navigation/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/code-map/v10-code-browser/. - Signatures: `sv(t, a)`; `navBuild()`; `sld(sym, rec, n)`; `openFamily(n)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (script-src 2); used by 1; mentioned by 0 ### Coder Walk R2 Probe - File: globalgrid2050/testcode/202609142225/proof/coder-walk-r2-probe.mjs (JavaScript, 32 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/coder-walk-r2-probe.mjs#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/0509.html#f8 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050. It is built from the sleep step (`sleep`). - What it achieves (comment): Round-2 side probe: is the lens bar really 1 px below the screen, and is the sheet's "✕ close" reachable under the sticky action row? It writes `coder-walk-r2-probe.json`. - What it does: Defines sleep. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. Out: JSON file coder-walk-r2-probe.json. - Signatures: `sleep(ms)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file coder-walk-r2-probe.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Coder Walk R2 Probe2 - File: globalgrid2050/testcode/202609142225/proof/coder-walk-r2-probe2.mjs (JavaScript, 23 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/coder-walk-r2-probe2.mjs#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/0509.html#f9 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050. It is built from the sleep step (`sleep`). - What it achieves (comment): Round-2 side probe 2: how much of the tray's chips a person can see once two things are in the recipe, and whether the remove (×) of the second chip is reachable by touch. It writes `coder-walk-r2-probe2.json`. - What it does: Defines sleep. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. Out: JSON file coder-walk-r2-probe2.json. - Signatures: `sleep(ms)`; `trayFacts()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file coder-walk-r2-probe2.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Coder Walk R2 - File: globalgrid2050/testcode/202609142225/proof/coder-walk-r2.mjs (JavaScript, 213 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/coder-walk-r2.mjs#L1-L213 - Page: https://code.globalgrid2050.com/explore-code/s/0510.html#f1 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050. It is built from the sleep step (`sleep`), the begin step (`begin`) and the note step (`note`). - What it achieves (comment): Mobile-coder critic, round 2: a person on a 430 px phone composes a small tool by touch alone, after the repair round. It writes `coder-walk-r2.json`. - What it does: It loads data. Defines 10 functions or classes, including sleep, begin, note, blocker, shot. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. Out: JSON file coder-walk-r2.json. - Signatures: `sleep(ms)`; `begin(name)`; `note(s)`; `blocker(s)`; `shot(name)`; `probe(sel, text)`; `tapEl(sel, text, why)`; `drag(x0, y0, x1, y1, steps = 8, dt = 20)`; `facts()`; `r(id)`; `vdInfo()`; `fingerMap()`; `lineState()`; `head0(await facts())`; `hp(await browser.pages())` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file coder-walk-r2.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Coder Walk - File: globalgrid2050/testcode/202609142225/proof/coder-walk.mjs (JavaScript, 225 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/coder-walk.mjs#L1-L225 - Page: https://code.globalgrid2050.com/explore-code/s/0510.html#f2 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that works with layout facts (`layoutFacts`). - What it achieves (comment): It is built from the sleep step (`sleep`), the begin step (`begin`) and the note step (`note`). Mobile-coder critic, round 1: a person on a 430 px phone composes a small tool by touch alone. It writes `coder-walk.json`. - What it does: It loads data. Defines 10 functions or classes, including sleep, begin, note, shot, probe. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file coder-walk.json; command-line arguments. Out: JSON file coder-walk.json. - Signatures: `sleep(ms)`; `begin(name)`; `note(s)`; `shot(name)`; `probe(sel, text)`; `tapEl(sel, text, why)`; `drag(x0, y0, x1, y1, steps = 8, dt = 20)`; `layoutFacts()`; `r(id)`; `ov(a, b)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file coder-walk.json; command-line arguments]; out [JSON file coder-walk.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Engine Route - File: globalgrid2050/testcode/202609162200-quantum-twin-flights/pipeline/engine-route.py (Python, 19 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609162200-quantum-twin-flights/pipeline/engine-route.py#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/0510.html#f3 - Synopsis: A Python module in the pipeline folder of GlobalGrid2050. - What it achieves (comment): Step ENGINE-ROUTE: which wafer keys each ventus-grid-engine module carries (memberships). - What it does: It loads data. Uses libraries json, glob, os, sys, collections. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: JSON file engine-route.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file engine-route.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Route - File: globalgrid2050/testcode/202609162200-quantum-twin-flights/pipeline/route.py (Python, 36 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609162200-quantum-twin-flights/pipeline/route.py#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0510.html#f4 - Synopsis: A Python module in the pipeline folder of GlobalGrid2050 that reads route GridAtlas and substations. - What it achieves (comment): Step ROUTE: which wafer keys does GridAtlas carry (memberships)? - What it does: It loads route GridAtlas and substations. Uses libraries json, glob, collections, os, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations. - Inputs & outputs: In: JSON file route-gridatlas.json. Out: JSON file. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file route-gridatlas.json]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Wafer Development Environment — GridAtlas Page - File: globalgrid2050/testcode/wafer-development-environment/202609170041-gridatlas/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609170041-gridatlas/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/0510.html#f5 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609170041-gridatlas/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170041-gridatlas/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 6 files: Testcode — Wafer Development Environment Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); and 2 more. Reached from 115 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170041-gridatlas/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 3, stylesheet 1); used by 6; mentioned by 0 ### Wafer Development Environment — Land GridAtlas Page - File: globalgrid2050/testcode/wafer-development-environment/202609170045-land-gridatlas/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609170045-land-gridatlas/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/0510.html#f6 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609170045-land-gridatlas/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170045-land-gridatlas/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 6 files: Testcode — Wafer Development Environment Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); and 2 more. Reached from 115 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170045-land-gridatlas/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 3, stylesheet 1); used by 6; mentioned by 0 ### Browser Map Reachability V9 7 - File: globalgrid2050/uk_renewables_pipeline/202609061329/tests/browser_map_reachability_v9_7.mjs (JavaScript, 425 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609061329/tests/browser_map_reachability_v9_7.mjs#L1-L425 - Page: https://code.globalgrid2050.com/explore-code/s/0511.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. - What it achieves (comment): It measures map anchor (`measureMapAnchor`) and is built from the record step (`record`). Can a thumb actually reach MAP? - What it does: It tests the REPD register. Defines record, measureMapAnchor. Uses libraries node:assert/strict, node:fs/promises, node:module, playwright. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data. - Downstream impact: Used directly by 1 file: Run V9 7 (globalgrid2050). - Signatures: `record(name, ok, detail)`; `measureMapAnchor(page, scrollTarget = "row")`; `fetchCall(receiverModule.match(/fetch\(RECEIVERS_URL,\s*\{[\s\S]*?\}\)/) || [""])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data]; out []; crs []; voltages [] - Edges: uses 3 estate files (url-import-meta 2, estate-url 1); used by 1; mentioned by 1 ### Check Map Contract All Rows - File: globalgrid2050/uk_renewables_pipeline/202609061329/tests/check_map_contract_all_rows.mjs (JavaScript, 90 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609061329/tests/check_map_contract_all_rows.mjs#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/0511.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): Every MAP button, not a sample of them. - What it does: It tests the REPD register. Uses libraries node:fs/promises, node:url, node:path, node:assert/strict. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 7 (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Browser Real Map to Engine Agent7 - File: globalgrid2050/uk_renewables_pipeline/202611160020/tests/browser_real_map_to_engine_agent7.mjs (JavaScript, 260 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611160020/tests/browser_real_map_to_engine_agent7.mjs#L1-L260 - Page: https://code.globalgrid2050.com/explore-code/s/0512.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests substations and solar, and uses data from the GridAtlas repository. It is built from the located step (`located`). - What it achieves (comment): Live GridAtlas deep-link proof. Unlike URL-only tests, physically clicks a Pipeline News MAP anchor, opens its actual external page, and demands a composed receiver, a terminal no-error technology layer and visible nearest substation result. - What it does: It tests substations and solar. Defines located. Uses libraries node:assert/strict, node:fs/promises, node:path, node:url, node:module. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, solar. - Inputs & outputs: In: data source: gridatlas data; JSON file build_manifest.json. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Agent7 V922 CI Workflow (globalgrid2050); GlobalGrid2050 Deploy Pages Workflow (globalgrid2050); GlobalGrid2050 V923 GridAtlas Real Map QA Workflow (globalgrid2050). - Signatures: `located(row)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 3; mentioned by 0 ### Atlas Receiver V9 7 - File: globalgrid2050/uk_renewables_pipeline/202611171507/scripts/core/atlas-receiver-v9-7.js (JavaScript, 265 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171507/scripts/core/atlas-receiver-v9-7.js#L1-L265 - Page: https://code.globalgrid2050.com/explore-code/s/0512.html#f2 - Synopsis: A JavaScript module in the core folder of GlobalGrid2050 that fetches receivers and the Renewable Energy Planning Database (REPD) register from the ventus-grid-engine and GridAtlas repositories. - What it achieves (comment): It verifies atlas receiver v9 (`verifyAtlasReceiverV9_7`), loads atlas receiver v9 (`loadAtlasReceiverV9_7`) and builds atlas deep link v9 (`buildAtlasDeepLinkV9_7`). Receiver provenance and original diagnostics: immutable parent V9.35 `atlas-receiver-v9-7.js`. - What it does: It fetches receivers and the REPD register. Defines 10 functions or classes, including stripTrailingSlash, isRetiredReceiverV9_7, atlasReceiverV9_7, atlasReceiverFailureV9_7, primeAtlasReceiverV9_7. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: gridatlas data; JSON file receivers.json. - Downstream impact: Used directly by 13 files: Atlas Interconnector Link V9 8 (globalgrid2050); Browser Map Reachability V9 7 (globalgrid2050); Check Map Contract All Rows (globalgrid2050); Check V9 0 (globalgrid2050); and 9 more. Reached from 17 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 Pn V973 Capacity Reports Workflow (globalgrid2050). - Signatures: `export isRetiredReceiverV9_7(route)`; `export atlasReceiverV9_7()`; `export atlasReceiverFailureV9_7()`; `export primeAtlasReceiverV9_7(document_)`; `export verifyAtlasReceiverV9_7()`; `export loadAtlasReceiverV9_7()`; `export atlasCentresOnRepdPointV9_7(project)`; `export buildAtlasDeepLinkV9_7(project)`; `export atlasUnavailableReasonV9_7(project)`; `stripTrailingSlash(route)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: gridatlas data; JSON file receivers.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 13; mentioned by 0 ### GridAtlas State - File: globalgrid2050/uk_renewables_pipeline/202611171550/scripts/plugins/gridatlas-state.js (JavaScript, 68 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171550/scripts/plugins/gridatlas-state.js#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/0512.html#f3 - Synopsis: A JavaScript file in the plugins folder of GlobalGrid2050 that draws map link state and the Renewable Energy Planning Database (REPD) register, and uses data from the GridAtlas repository. - What it achieves (name): It gets JSON (`getJson`) and is built from the start step (`start`). Defines `getJson`, `annotate`, `summary` and 1 more. It responds to DOMContentLoaded events. - What it does: It draws map link state and the REPD register. Defines getJson, annotate, summary, start. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file map_link_state.json; JSON file current.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `getJson(url)`; `annotate()`; `summary(state, checkedLive)`; `start()`; `search(composition.cartridges || [])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file map_link_state.json; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Map Entry - File: globalgrid2050/uk_renewables_pipeline/202611181019/map-entry.mjs (JavaScript, 89 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611181019/map-entry.mjs#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/0512.html#f4 - Synopsis: A JavaScript module in the UK renewables pipeline folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. - What it achieves (name): It is built from the remember category helper (`rememberCategory`), the restore step (`restore`) and the dc restore helper (`dcRestore`). Defines `action`, `refresh`, `rememberCategory` and 2 more. It responds to click and pipeline events. - What it does: It draws the REPD register. Defines action, refresh, rememberCategory, restore, dcRestore. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `action(map,identity,parent)`; `refresh()`; `rememberCategory()`; `restore()`; `dcRestore()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, estate-url 1); used by 1; mentioned by 0 ### Map Navigation V970 - File: globalgrid2050/uk_renewables_pipeline/202611221930/tests/map-navigation-v970.mjs (JavaScript, 86 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611221930/tests/map-navigation-v970.mjs#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/0513.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. - What it achieves (comment): V9.70 regression: prove real normal versus expanded MAP navigation, not click events. - What it does: It tests the REPD register. Uses libraries node:assert/strict, playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'navigation'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pn V970 Map Parity Workflow (globalgrid2050); GlobalGrid2050 Pn V971 Retire Legacy Maximise Workflow (globalgrid2050). - domain_stage: field_execution · commercial_user: IPP_developer, EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0 ### Atlas Receiver V9 7 - File: globalgrid2050/uk_renewables_pipeline/v9.7/scripts/core/atlas-receiver-v9-7.js (JavaScript, 168 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.7/scripts/core/atlas-receiver-v9-7.js#L1-L168 - Page: https://code.globalgrid2050.com/explore-code/s/0513.html#f2 - Synopsis: A JavaScript module in the core folder of GlobalGrid2050 that fetches receivers and the Renewable Energy Planning Database (REPD) register from the ventus-grid-engine repository. - What it achieves (comment): It loads atlas receiver v9 (`loadAtlasReceiverV9_7`) and builds atlas deep link v9 (`buildAtlasDeepLinkV9_7`). On the MAP button in this app was measured pointing at the V8 overlay the engine now publishes as retired. Its code works with 132 kV and 500 MW. - What it does: It fetches receivers and the REPD register. Defines 9 functions or classes, including stripTrailingSlash, isRetiredReceiverV9_7, atlasReceiverV9_7, atlasReceiverFailureV9_7, primeAtlasReceiverV9_7. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, 132kV. - Inputs & outputs: In: data source: ventus-grid-engine data; JSON file receivers.json. Voltage levels named: 132kV. - Downstream impact: Used directly by 2 files: Projects V9 5 1 (globalgrid2050); Check V9 5 1 (globalgrid2050). - Signatures: `export isRetiredReceiverV9_7(route)`; `export atlasReceiverV9_7()`; `export atlasReceiverFailureV9_7()`; `export primeAtlasReceiverV9_7(document_)`; `export loadAtlasReceiverV9_7()`; `export atlasCentresOnRepdPointV9_7(project)`; `export buildAtlasDeepLinkV9_7(project)`; `export atlasUnavailableReasonV9_7(project)`; `stripTrailingSlash(route)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; JSON file receivers.json]; out []; crs []; voltages [132kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Build Federation Systems Map - File: globalgrid2050-homepage/scripts/build_federation_systems_map.py (Python, 176 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/scripts/build_federation_systems_map.py#L1-L176 - Page: https://code.globalgrid2050.com/explore-code/s/0513.html#f3 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 Homepage that reads repo registry and repo edges. It verifies outputs (`verify_outputs`) and writes reports (`write_reports`). - What it achieves (name): Its name says it builds federation systems map. Defines `utcnow`, `sql_path`, `build_map` and 2 more. It accepts `--registry` and `--edges`. - What it does: It loads repo registry and repo edges. Defines 6 functions or classes, including utcnow, sql_path, build_map, verify_outputs, write_reports. Uses libraries __future__, argparse, datetime, json, pathlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: In: CSV file repo_registry.csv; CSV file repo_edges.csv; Parquet file nodes.parquet; Parquet file edges.parquet; DuckDB queries; command-line arguments. Out: JSON file FEDERATION_SYSTEMS_MAP_LATEST.json. - Downstream impact: Used directly by 1 file: Gridbot Federation Systems Map Workflow (globalgrid2050-homepage). - Signatures: `utcnow()`; `sql_path(path: Path)`; `build_map(registry: Path, edges: Path)`; `verify_outputs()`; `write_reports(report: dict[str, object])`; `main()` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [CSV file repo_registry.csv; CSV file repo_edges.csv; Parquet file nodes.parquet; Parquet file edges.parquet; DuckDB queries; command-line arguments]; out [JSON file FEDERATION_SYSTEMS_MAP_LATEST.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Release GridAtlas - File: globalgrid2050-homepage/scripts/release_gridatlas.py (Python, 153 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/scripts/release_gridatlas.py#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/0513.html#f4 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 Homepage that fetches active pages, using SHA-256 from GitHub API and the GridAtlas repository. - What it achieves (comment): It builds release (`build_release`) and is built from the fetch step (`fetch`) and the exists step (`exists`). One-command GridAtlas homepage release, plus the domain pin for GlobalGrid2050. It accepts `--published-at`, `--description` and `--reason`. - What it does: It fetches active pages. Defines 8 functions or classes, including fetch, exists, label, build_release, apply. Uses libraries argparse, datetime, hashlib, json, pathlib. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: GitHub API; data source: gridatlas data; JSON file current.json; JSON file homepage.json; JSON file active-pages.json; JSON file presentation.json; JSON file entity-types.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `fetch(url, limit=5_000_000)`; `exists(url)`; `label(version, published_at)`; `build_release(generation, version, published_at, source_ref, archive)`; `apply(data, release, reason, description=None)`; `release_command(args)`; `pin_command(args)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: GitHub API; data source: gridatlas data; JSON file current.json; JSON file homepage.json; JSON file active-pages.json; JSON file presentation.json; JSON file entity-types.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 1, script-call 1, estate-url 1); used by 0; mentioned by 0 ### Test Release GridAtlas - File: globalgrid2050-homepage/tests/test_release_gridatlas.py (Python, 42 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/tests/test_release_gridatlas.py#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/0513.html#f5 - Synopsis: A test in the tests folder of GlobalGrid2050 Homepage using data from the GridAtlas repository. It sets up (`setUp`) and is built from the grid atlas release tests class (`GridAtlasReleaseTests`). - What it achieves (name): Defines `GridAtlasReleaseTests`, `setUp`, `test_label_format` and 2 more. - What it does: It tests its inputs. Defines GridAtlasReleaseTests, setUp, test_label_format, test_next_release_is_promoted_and_history_retained, test_duplicate_release_refused. Uses libraries copy, importlib.util, json, pathlib, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data; JSON file homepage.json. - Downstream impact: Used directly by 3 files: Build Homepage Release Candidate Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage). - Signatures: `class GridAtlasReleaseTests`; `setUp(self)`; `test_label_format(self)`; `test_next_release_is_promoted_and_history_retained(self)`; `test_duplicate_release_refused(self)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file homepage.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GridAtlas GPU - File: graphics-engines-open-source/gridatlas_gpu.py (Python, 42 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/gridatlas_gpu.py#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/0513.html#f6 - Synopsis: A Python module in Graphics Engines Open Source covering atlas GPU summary, atlas nearest, solar and substations, using SHA-256 and haversine. - What it achieves (comment): It is built from the load step (`load`), the valid step (`valid`) and the unit step (`unit`). All valid solar points against all valid substations in supplied Atlas snapshots. - What it does: Defines load, valid, unit. Uses libraries argparse, hashlib, json, time, math. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, substations. README: "`gridatlas_gpu.py PROJECTS_JSON SUBSTATIONS_GEOJSON` compares every valid solar point against every valid substation in those supplied snapshots, in bounded GPU batches." - Inputs & outputs: In: command-line arguments. Out: JSON file atlas-gpu-summary.json; JSON file atlas-nearest.json. - Signatures: `load(path)`; `valid(lon,lat)`; `unit(r)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file atlas-gpu-summary.json; JSON file atlas-nearest.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GridAtlas Test - File: graphics-engines-open-source/tests/gridatlas.test.mjs (JavaScript, 38 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/tests/gridatlas.test.mjs#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0514.html#f1 - Synopsis: A test in the tests folder of Graphics Engines Open Source that checks GridAtlas. - What it achieves (name): Defines `payload`. - What it does: It tests solar. Defines payload. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: Geometry Check Workflow (graphics-engines-open-source); Pages Workflow (graphics-engines-open-source). - Signatures: `payload(rows)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Route File Test - File: graphics-engines-open-source/tests/route-file.test.mjs (JavaScript, 31 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/tests/route-file.test.mjs#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/0514.html#f2 - Synopsis: A test in the tests folder of Graphics Engines Open Source that checks Route File and Explore. - What it achieves (name): Defines `envelope`. - What it does: It tests its inputs. Defines envelope. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 2 files: Geometry Check Workflow (graphics-engines-open-source); Pages Workflow (graphics-engines-open-source). - Signatures: `envelope()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, url-import-meta 1); used by 2; mentioned by 0 ### Atlas Picker - File: graphics-engines-open-source/web/atlas-picker.mjs (JavaScript, 66 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/atlas-picker.mjs#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/0514.html#f3 - Published at: https://ventusltd.github.io/graphics-engines-open-source/web/ - Synopsis: A JavaScript module in Graphics Engines Open Source covering solar and the Renewable Energy Planning Database (REPD) register. Served with the page at https://ventusltd.github.io/graphics-engines-open-source/web/. - What it achieves (name): Defines `element` and `refresh`. It responds to input and click events. - What it does: It draws solar and the REPD register. Defines element, refresh. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register. - Downstream impact: Used directly by 2 files: Graphics Engines Open Source — Index Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/); Pages Workflow (graphics-engines-open-source). Reached from 1 other entry point, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/). It is itself an entry point, published at https://ventusltd.github.io/graphics-engines-open-source/web/. - Signatures: `element(tag, text, attributes = {})`; `refresh()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### GridAtlas - File: graphics-engines-open-source/web/gridatlas.mjs (JavaScript, 109 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/gridatlas.mjs#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/0514.html#f4 - Published at: https://ventusltd.github.io/graphics-engines-open-source/web/ - Synopsis: A JavaScript module in Graphics Engines Open Source that fetches projects and grid substations, using SHA-256 from the data-GridAtlas and GridAtlas repositories. Served with the page at https://ventusltd.github.io/graphics-engines-open-source/web/. - What it achieves (comment): It decodes grid atlas projects (`decodeGridAtlasProjects`), loads grid atlas projects (`loadGridAtlasProjects`) and searches projects (`searchProjects`). GridAtlas's public Renewable Energy Planning Database (REPD) routing index supplies points, not surveyed boundaries. - What it does: It fetches projects, grid substations and the REPD register. Defines 9 functions or classes, including coordinate, publishedCoordinate, decodeGridAtlasProjects, loadGridAtlasProjects, searchProjects. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: data-gridatlas data; data source: gridatlas data; JSON file projects.json; GeoJSON file grid_substations.geojson. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 3 files: Substation Picker (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/); GridAtlas Test (graphics-engines-open-source); Atlas Picker (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/). Reached from 4 other entry points, including Graphics Engines Open Source — Index Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/); Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Geometry Check Workflow (graphics-engines-open-source). - Signatures: `export decodeGridAtlasProjects(data)`; `export loadGridAtlasProjects({ signal } = {})`; `export searchProjects(projects, query = '', { limit = 30, technology = 'solar' } = {})`; `export projectToLocalMetres(point, origin)`; `export gridAtlasProjectUrl(project)`; `export decodeGridAtlasSubstations(data)`; `export loadGridAtlasSubstations({ signal } = {})`; `coordinate(latitude, longitude)`; `publishedCoordinate(latitude, longitude)`; `deltaLongitude((point.longitude - origin.longitude + 540) % 360)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: data-gridatlas data; data source: gridatlas data; JSON file projects.json; GeoJSON file grid_substations.geojson]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 3; mentioned by 0 ### Route File - File: graphics-engines-open-source/web/route-file.mjs (JavaScript, 29 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/route-file.mjs#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/0514.html#f5 - Published at: https://ventusltd.github.io/graphics-engines-open-source/web/ - Synopsis: A JavaScript module in Graphics Engines Open Source that calculates planar distances, covering cables. Served with the page at https://ventusltd.github.io/graphics-engines-open-source/web/. It is built from the serialize route file helper (`serializeRouteFile`). - What it achieves (comment): Portable local metric routes. No network requests or inferred site geometry. - What it does: Defines parseRouteFile, serializeRouteFile. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: cables. - Downstream impact: Used directly by 2 files: Route File Test (graphics-engines-open-source); Route Files UI (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/). Reached from 4 other entry points, including Graphics Engines Open Source — Index Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/); Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Geometry Check Workflow (graphics-engines-open-source). - Signatures: `export parseRouteFile(text)`; `export serializeRouteFile(routes)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Route Files UI - File: graphics-engines-open-source/web/route-files-ui.mjs (JavaScript, 19 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/route-files-ui.mjs#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/0514.html#f6 - Published at: https://ventusltd.github.io/graphics-engines-open-source/web/ - Synopsis: A JavaScript module in Graphics Engines Open Source that draws electrical routes and cables. Served with the page at https://ventusltd.github.io/graphics-engines-open-source/web/. - What it achieves (name): It responds to change and click events. - What it does: It draws electrical routes and cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: cables. - Inputs & outputs: Out: JSON file electrical-routes.json; downloaded file electrical-routes.json. - Downstream impact: Used directly by 2 files: Graphics Engines Open Source — Index Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/); Geometry Check Workflow (graphics-engines-open-source). Reached from 1 other entry point, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/). It is itself an entry point, published at https://ventusltd.github.io/graphics-engines-open-source/web/. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [JSON file electrical-routes.json; downloaded file electrical-routes.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Route Tool - File: graphics-engines-open-source/web/versions/202609262227-site-world/world/route-tool.mjs (JavaScript, 93 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/versions/202609262227-site-world/world/route-tool.mjs#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/0514.html#f7 - Synopsis: A JavaScript module in the world folder of Graphics Engines Open Source that describes controls (`describeControls`) and calculates planar distances. - What it achieves (comment): It describes controls (`describeControls`) and is built from the snapshot step (`snapshot`) and the changed step (`changed`). A small state machine for drawing a route on the ground, in Walk or Drone view. - What it does: It calculates its inputs. Defines createRouteTool, snapshot, changed, point, describeControls. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Design UI (graphics-engines-open-source). Reached from 3 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/); Substrate (graphics-engines-open-source). - Signatures: `export createRouteTool({ onChange = () => {} } = {})`; `export describeControls({ touch = false } = {})`; `snapshot()`; `changed()`; `addPoint(p)`; `movePoint(i, p)`; `removeLast()`; `finish()`; `clear()`; `point(p)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Geodesy - File: grid-distance-maths/src/geodesy.mjs (JavaScript, 410 lines) · role geodesy · stage transform - Source: https://github.com/Ventusltd/grid-distance-maths/blob/8e91b07d8312acca5bcaef43e839f06a3b1d642a/src/geodesy.mjs#L1-L410 - Page: https://code.globalgrid2050.com/explore-code/s/0515.html#f1 - Synopsis: A JavaScript module in Grid Distance Maths that works with cables and substations, using haversine and Vincenty. - What it achieves (comment): It is built from the curvature km helper (`curvatureKm`), the local scale km helper (`localScaleKm`) and the distance km helper (`distanceKm`). Every Ventus tool that measures a distance on the grid should call this, so that the same two points always produce the same number. - What it does: It calculates cables and substations. Defines 14 functions or classes, including curvatureKm, localScaleKm, distanceKm, distanceEllipsoidalKm, pathLengthKm. - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: cables, substations. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 5 files: Parity Driver (grid-distance-maths); Verify (grid-distance-maths); Verify Nearest (grid-distance-maths); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); and 1 more. Reached from 2 other entry points, including Genome Workflow (ventus-grid-engine); Verify Parity (grid-distance-maths). - Signatures: `export curvatureKm(latDeg)`; `export localScaleKm(latDeg)`; `export distanceKm(lon1, lat1, lon2, lat2, radius = R_ATLAS)`; `export distanceEllipsoidalKm(lon1, lat1, lon2, lat2)`; `export pathLengthKm(coords, radius = R_ATLAS)`; `export initialBearingDeg(lon1, lat1, lon2, lat2)`; `export destinationPoint(lon, lat, km, bearingDeg, radius = R_ATLAS)`; `export distanceToSegmentKm(lon, lat, aLon, aLat, bLon, bLat, radius = R_ATLAS)`; `export distanceToLineKm(lon, lat, coords, radius = R_ATLAS)`; `export geodesicCircle(lon, lat, radiusKm, vertices = 128, radius = R_ATLAS)`; `export circleApproximationError(vertices)`; `export polygonAreaKm2(coords, radius = R_ATLAS)`; `export areaUnits(areaKm2)`; `export class SpatialIndex`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `L(lon2 - lon1)`; `sinAlpha(cU1 * cU2 * sl)`; `C(f / 16)`; `u2(cos2Alpha * (a * a - b * b))`; `B(u2 / 1024)`; `dl(lon2 - lon1)`; `ax(aLon - lon)`; `bx(bLon - lon)`; `j(i + 1)` (and 12 more) - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: BEARING (GG2050-VEDIC-000005): GridAtlas / Geodesy · Mathematics / Trigonometry. coordinate_pair, coordinate_pair -> bearing_deg - VEDIC: DESTINATION (GG2050-VEDIC-000004): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, distance_km, bearing_deg -> coordinate_pair - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 1 ### Geodesy - File: grid-distance-maths/src/geodesy.py (Python, 408 lines) · role geodesy · stage transform - Source: https://github.com/Ventusltd/grid-distance-maths/blob/8e91b07d8312acca5bcaef43e839f06a3b1d642a/src/geodesy.py#L1-L408 - Page: https://code.globalgrid2050.com/explore-code/s/0516.html#f1 - Synopsis: A Python module in Grid Distance Maths that works with cables and substations, using haversine and Vincenty. - What it achieves (comment): It adds segment (`add_segment`) and is built from the curvature km helper (`curvature_km`) and the local scale km helper (`local_scale_km`). Canonical geodesy, Python twin of `src/geodesy.mjs`. - What it does: It calculates cables and substations. Defines 20 functions or classes, including curvature_km, local_scale_km, distance_km, distance_ellipsoidal_km, path_length_km. Uses libraries __future__, math, typing. - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: cables, substations. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Verify Parity (grid-distance-maths). - Signatures: `curvature_km(lat_deg: float)`; `local_scale_km(lat_deg: float)`; `distance_km(lon1: float, lat1: float, lon2: float, lat2: float, radius: float = R_ATLAS)`; `distance_ellipsoidal_km(lon1: float, lat1: float, lon2: float, lat2: float)`; `path_length_km(coords: Sequence[Sequence[float]], radius: float = R_ATLAS)`; `initial_bearing_deg(lon1: float, lat1: float, lon2: float, lat2: float)`; `destination_point(lon: float, lat: float, km: float, bearing_deg: float, radius: float = R_ATLAS)`; `distance_to_segment_km(lon: float, lat: float, a_lon: float, a_lat: float, b_lon: float, b_lat: float, radius: float = R_ATLAS)`; `distance_to_line_km(lon: float, lat: float, coords: Sequence[Sequence[float]], radius: float = R_ATLAS)`; `geodesic_circle(lon: float, lat: float, radius_km: float, vertices: int = 128, radius: float = R_ATLAS)`; `circle_approximation_error(vertices: int)`; `polygon_area_km2(coords: Sequence[Sequence[float]], radius: float = R_ATLAS)`; `area_units(area_km2: float)`; `class SpatialIndex`; `__init__(self, cell_degrees: float = 0.1)`; `cell_of(self, lon: float, lat: float)`; `add(self, ident, lon: float, lat: float)`; `add_segment(self, ident, a_lon, a_lat, b_lon, b_lat)`; `swept_clearance_km(self, lon: float, lat: float, ring: int)`; `nearest(self, lon: float, lat: float, measure: Callable[[object], float], max_rings: int = 90)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Readiness - File: gridatlas/202608310050-gridatlas-next-version-builders/tools/202608310050-build-readiness.mjs (JavaScript, 112 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/202608310050-gridatlas-next-version-builders/tools/202608310050-build-readiness.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0516.html#f2 - Synopsis: A JavaScript module in the tools folder of GridAtlas that reads handover and the Renewable Energy Planning Database (REPD) register, using SHA-256. It writes JSON (`writeJson`). - What it achieves (name): Its name says it builds readiness. Defines `sha256`, `writeJson` and `copy`. It writes `readiness.json`. - What it does: It loads handover and the REPD register. Defines sha256, writeJson, copy. Uses libraries node:crypto, node:fs, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file readiness.json; JSON file status.json; JSON file handover.json; command-line arguments. - Downstream impact: Used directly by 1 file: GridAtlas Next Version Builders Workflow (gridatlas). - Signatures: `sha256(file)`; `writeJson(name, value)`; `copy(relative, targetDirectory = 'source')` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file readiness.json; JSON file status.json; JSON file handover.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Finalise Stage - File: gridatlas/202608310050-gridatlas-next-version-builders/tools/202608310050-finalise-stage.mjs (JavaScript, 87 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/202608310050-gridatlas-next-version-builders/tools/202608310050-finalise-stage.mjs#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/0516.html#f3 - Synopsis: A JavaScript module in the tools folder of GridAtlas that uses SHA-256. It is built from the sha256 step (`sha256`). - What it achieves (name): Defines `outcome`, `success`, `list` and 1 more. - What it does: It loads data. Defines outcome, success, list, sha256. Uses libraries node:crypto, node:fs, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file source-lock.json; command-line arguments. Out: JSON file status.json. - Downstream impact: Used directly by 1 file: GridAtlas Next Version Builders Workflow (gridatlas). - Signatures: `outcome(name)`; `success(name)`; `list(directory)`; `sha256(file)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file source-lock.json; command-line arguments]; out [JSON file status.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Prove Federated Deep Links - File: gridatlas/202608310050-gridatlas-next-version-builders/tools/202608310050-prove-federated-deep-links.mjs (JavaScript, 114 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/202608310050-gridatlas-next-version-builders/tools/202608310050-prove-federated-deep-links.mjs#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/0517.html#f1 - Synopsis: A JavaScript module in the tools folder of GridAtlas. - What it does: Uses libraries node:fs, node:path, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: GridAtlas Next Version Builders Workflow (gridatlas). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 1; mentioned by 0 ### Select Build Plan - File: gridatlas/202608310050-gridatlas-next-version-builders/tools/202608310050-select-build-plan.mjs (JavaScript, 180 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/202608310050-gridatlas-next-version-builders/tools/202608310050-select-build-plan.mjs#L1-L180 - Page: https://code.globalgrid2050.com/explore-code/s/0517.html#f2 - Synopsis: A JavaScript module in the tools folder of GridAtlas that lists files (`listFiles`), using SHA-256. - What it achieves (name): It lists files (`listFiles`) and is built from the london generation helper (`londonGeneration`) and the output step (`output`). Defines `invariant`, `londonGeneration`, `pick` and 7 more. - What it does: It loads data. Defines 11 functions or classes, including invariant, londonGeneration, pick, output, listFiles. Uses libraries node:crypto, node:fs, node:os, node:path, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file status.json. Out: JSON file source-lock.json. - Downstream impact: Used directly by 1 file: GridAtlas Next Version Builders Workflow (gridatlas). - Signatures: `invariant(condition, message)`; `londonGeneration(date = new Date())`; `pick(type)`; `output(values)`; `listFiles(directory)`; `wordCount(text)`; `inspectBuildPlan(directory)`; `refs()`; `materialise(ref, destination)`; `completedStages()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file status.json]; out [JSON file source-lock.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Streaming Parquet Bridge V9 5 - File: gridatlas/atlas/cartridges/202610230100-streaming-parquet-bridge-v9-5.js (JavaScript, 336 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/cartridges/202610230100-streaming-parquet-bridge-v9-5.js#L1-L336 - Page: https://code.globalgrid2050.com/explore-code/s/0517.html#f3 - Synopsis: A JavaScript file in the cartridges folder of GridAtlas that reads grid 400kV, grid 275kV, grid 220kV and grid 132kV, using SHA-256 from the data-GridAtlas repository. - What it achieves (name): It maps ready key (`mapReadyKey`), gets manifest (`getManifest`) and gets runtime (`getRuntime`). Defines `invariant`, `requestPath`, `mapReadyKey` and 13 more. It responds to abort events. - What it does: It loads grid 400kV, grid 275kV, grid 220kV and grid 132kV. Defines 16 functions or classes, including invariant, requestPath, mapReadyKey, legacyStem, sha256Hex. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: data-gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson. - Signatures: `invariant(condition, message)`; `requestPath(input)`; `mapReadyKey(pathname)`; `legacyStem(pathname)`; `sha256Hex(bytes)`; `getManifest()`; `sharedDuckDBRuntime(moduleUrl)`; `getRuntime()`; `scheduleRuntimePrewarm()`; `start()`; `resolvePartition(pathname)`; `artifact(manifest.artifacts || [])`; `rowObject(row)`; `queryOnDemand(pathname)`; `abort()`; `cancel()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: data-gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Place Global Search V9 5 - File: gridatlas/atlas/cartridges/202611180026-place-global-search-v9-5.js (JavaScript, 931 lines) · role geodesy · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/cartridges/202611180026-place-global-search-v9-5.js#L1-L931 - Page: https://code.globalgrid2050.com/explore-code/s/0518.html#f1 - Synopsis: A JavaScript file in the cartridges folder of GridAtlas that maps Renewable Energy Planning Database (REPD) projects and offshore coordinates, using SHA-256, and uses data from postcodes.io and OpenStreetMap Nominatim. - What it achieves (comment): It marks deep link cancelled (`markDeepLinkCancelled`), normalises compact (`normaliseCompact`) and parses groups (`parseGroups`). ASSEMBLED by `tools/build-cartridge.mjs` from the parts below. It responds to gridatlas, click and input events. - What it does: It maps REPD projects, offshore coordinates, postcodes and the REPD register. Defines 41 functions or classes, including invariant, arrivalCoordinator, markDeepLinkCancelled, invalidatePendingDeepLink, escapeHtml. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register. - Inputs & outputs: In: data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; JSON file offshore-coordinates.json; DuckDB queries. Out: interactive map. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/). - Signatures: `invariant(condition, message)`; `arrivalCoordinator()`; `markDeepLinkCancelled(reason, epoch = null)`; `invalidatePendingDeepLink(reason)`; `escapeHtml(value)`; `sqlString(value)`; `normaliseCompact(value)`; `parseGroups(query)`; `sha256Hex(bytes)`; `verifyManifest()`; `sharedDuckDBRuntime(moduleUrl)`; `runtime()`; `resetOfficialRuntime()`; `installMapCapture()`; `construct(target, args, newTarget)`; `buildWhere(query)`; `buildScore(query)`; `rowObject(row)`; `queryOfficialRepd(query, serial = null, stillOwned = null)`; `hasSafeMapPoint(result)`; `loadDerivedCoordinates()`; `derivedCoordinateFor(repdRef)`; `setDeepLink(result)`; `selectResult(result, options = {})`; `geocoderGet(path, query)` (and 15 more) - VEDIC: QUERY (GG2050-VEDIC-000046): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_predicate - VEDIC: SCORE (GG2050-VEDIC-000047): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_sort_expression - VEDIC: UK GEOCODE (GG2050-VEDIC-000048): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> uk_location_candidates - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; JSON file offshore-coordinates.json; DuckDB queries]; out [interactive map]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Codex Lab - File: gridatlas/atlas/codex/202609020010/assets/lab.css (CSS, 12 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/codex/202609020010/assets/lab.css#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0519.html#f2 - Synopsis: A style sheet in the assets folder of GridAtlas. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Atlas — Codex Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/codex/202609020010/). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Codex Lab - File: gridatlas/atlas/codex/202609020010/assets/lab.js (JavaScript, 36 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/codex/202609020010/assets/lab.js#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0519.html#f3 - Synopsis: A JavaScript file in the assets folder of GridAtlas. - What it achieves (name): Defines `envelope`. It responds to submit events. - What it does: Defines envelope. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Atlas — Codex Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/codex/202609020010/). - Signatures: `envelope(values)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Atlas — Codex Page - File: gridatlas/atlas/codex/202609020010/index.html (HTML, 31 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/codex/202609020010/index.html#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/0519.html#f4 - Published at: https://gridatlas.globalgrid2050.com/atlas/codex/202609020010/ - Synopsis: A web page in GridAtlas that reads inputs for lon, lat and Renewable Energy Planning Database (REPD) ref. Published at https://gridatlas.globalgrid2050.com/atlas/codex/202609020010/. - What it achieves (comment): Codex computation lab. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`atlas/index.html` is the stable composer." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/codex/202609020010/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Codex Proof - File: gridatlas/atlas/codex/202609020010/proof.mjs (JavaScript, 112 lines) · role storage · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/codex/202609020010/proof.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0519.html#f5 - Published at: https://gridatlas.globalgrid2050.com/atlas/codex/202609020010/ - Synopsis: A JavaScript module in the atlas folder of GridAtlas that fetches route, using SHA-256. Served with the page at https://gridatlas.globalgrid2050.com/atlas/codex/202609020010/. - What it achieves (name): Defines `git`, `check` and `walk`. - What it does: It fetches route. Defines git, check, walk. Uses libraries node:crypto, node:child_process, node:fs/promises, node:path, node:url. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file route-manifest.json; browser IndexedDB. - Signatures: `git(...args)`; `check(label, condition)`; `walk(dir)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file route-manifest.json; browser IndexedDB]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GridAtlas — Atlas Page - File: gridatlas/atlas/index.html (HTML, 124 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/index.html#L1-L124 - Page: https://code.globalgrid2050.com/explore-code/s/0519.html#f6 - Published at: https://gridatlas.globalgrid2050.com/atlas/ - Synopsis: A web page that works with escape attribute (`escapeAttribute`) and sha256 hex (`sha256Hex`), using SHA-256. Published at https://gridatlas.globalgrid2050.com/atlas/. - What it achieves (readme): It is built from the invariant step (`invariant`), the escape attribute helper (`escapeAttribute`) and the sha256 hex helper (`sha256Hex`). The README says: `atlas/index.html` is the stable composer. It reads `./current.json`. - What it does: It draws its content. Defines invariant, escapeAttribute, sha256Hex, fail. Uses libraries ${escapeAttribute(blobUrl)}. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`atlas/index.html` is the stable composer." - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 242 files: Pilot (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/); Links (globalgrid2050); Build N1 Deep Link Candidates (code-generator); Single-Line Diagram (SLD) Mobile Arrival Card Browser (gridatlas); and 238 more. Reached from 317 other entry points, including Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html); Iterations — 32 Spider and Galaxy Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/). It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/. - Signatures: `invariant(condition, message)`; `escapeAttribute(value)`; `sha256Hex(bytes)`; `fail(error)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 242; mentioned by 1 ### Labs — Lightning Grid - File: gridatlas/atlas/labs/lightning-grid/app.mjs (JavaScript, 277 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/labs/lightning-grid/app.mjs#L1-L277 - Page: https://code.globalgrid2050.com/explore-code/s/0520.html#f1 - Published at: https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/ - Synopsis: A JavaScript module in the atlas folder of GridAtlas that draws UK lightning and uses data from the lightning and PipelineNews repositories. Served with the page at https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/. - What it achieves (comment): It maps status (`mapStatus`), downloads JSON (`downloadJSON`) and gets assets (`getAssets`). Standalone Lightning → existing MAP/nearest Grid Engine integration LAB. It responds to change and click events. - What it does: It draws UK lightning, grid substations and solar. Defines 18 functions or classes, including el, pretty, date, mapStatus, node. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: data source: lightning data; data source: pipelinenews data; GeoJSON file uk_lightning.geojson; GeoJSON file grid_substations.geojson. - Downstream impact: Used directly by 1 file: Labs — Lightning Grid Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/). It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/. - Signatures: `el(id)`; `pretty(n)`; `date(t)`; `mapStatus(msg)`; `node(tag,value,cls='')`; `clear(id)`; `line(target,what)`; `status(msg)`; `fail(message)`; `downloadJSON(url)`; `features(data)`; `getAssets()`; `currentFlash()`; `setObservation(f)`; `display(ctx,assets)`; `scenario()`; `inspect()`; `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: lightning data; data source: pipelinenews data; GeoJSON file uk_lightning.geojson; GeoJSON file grid_substations.geojson]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Feed Contract - File: gridatlas/atlas/labs/lightning-grid/feed-contract.mjs (JavaScript, 101 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/labs/lightning-grid/feed-contract.mjs#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/0520.html#f2 - Published at: https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/ - Synopsis: A JavaScript module in the lightning grid folder of GridAtlas that parses optical feed (`parseOpticalFeed`) and describes optical feed evidence (`describeOpticalFeedEvidence`). Served with the page at https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/. - What it achieves (comment): It parses optical feed (`parseOpticalFeed`) and describes optical feed evidence (`describeOpticalFeedEvidence`). Read-only source-evidence contract for the standalone Lightning → Grid Lab. - What it does: Defines utc, finite, validCoordinates, parseOpticalFeed, describeOpticalFeedEvidence. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Labs — Lightning Grid (gridatlas, https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/). Reached from 1 other entry point, including Labs — Lightning Grid Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/). - Signatures: `export parseOpticalFeed(data,{nowMs=Date.now(),staleAfterHours=6}={})`; `export describeOpticalFeedEvidence(e)`; `utc(t)`; `finite(n)`; `validCoordinates(p)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Labs — Lightning Grid Page - File: gridatlas/atlas/labs/lightning-grid/index.html (HTML, 116 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/labs/lightning-grid/index.html#L1-L116 - Page: https://code.globalgrid2050.com/explore-code/s/0520.html#f3 - Published at: https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/ - Synopsis: A web page in the atlas folder of GridAtlas that reads inputs for flash, radius and kV, covering solar and substations. Published at https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/. - What it achieves (comment): Lightning → Grid Scenario Lab. Its code works with 132 kV, 275 kV and 400 kV. - What it does: It draws solar, substations and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, substations, the REPD register, 400kV, 275kV, 132kV. README: "`atlas/index.html` is the stable composer." - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV, 275kV, 132kV. - Downstream impact: It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV, 275kV, 132kV] - Edges: uses 2 estate files (link 1, script-src 1); used by 0; mentioned by 0 ### Map View - File: gridatlas/atlas/labs/lightning-grid/map-view.mjs (JavaScript, 215 lines) · role render · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/labs/lightning-grid/map-view.mjs#L1-L215 - Page: https://code.globalgrid2050.com/explore-code/s/0521.html#f1 - Published at: https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/ - Synopsis: A JavaScript module in the lightning grid folder of GridAtlas that maps optical observations, optical clusters, optical cluster tap and optical dots. Served with the page at https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/. - What it achieves (comment): It adds sources layers (`addSourcesAndLayers`), paints selection (`paintSelection`) and paints context (`paintContext`). Optical-flash map view for the standalone Lightning → Grid laboratory. - What it does: It maps optical observations, optical clusters, optical cluster tap and optical dots. Defines 10 functions or classes, including blank, ref, checkedFeature, number, initLightningMap. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Labs — Lightning Grid (gridatlas, https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/). Reached from 1 other entry point, including Labs — Lightning Grid Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/labs/lightning-grid/). - Signatures: `export initLightningMap({onPick,onStatus=()=>{},onError=()=>{}}={})`; `blank()`; `ref(p)`; `checkedFeature(f)`; `number(n)`; `addSourcesAndLayers()`; `paint()`; `paintSelection()`; `paintContext()`; `fit(features,padding=40)`; `setObservations(rows)`; `selectFlash(f)`; `setContext(c)`; `clearContext()`; `fitFlashes()`; `fitSelection()`; `getBounds()`; `isReady()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Geodesy - File: gridatlas/atlas/modules/202609011950-geodesy.js (JavaScript, 145 lines) · role geodesy · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609011950-geodesy.js#L1-L145 - Page: https://code.globalgrid2050.com/explore-code/s/0521.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that works with distance km (`distanceKm`) and representative point (`representativePoint`) and calculates great-circle distances and angles (units: kV), using haversine. - What it achieves (comment): It is built from the distance km helper (`distanceKm`), the representative point helper (`representativePoint`) and the voltages kV helper (`voltagesKv`). One Earth radius for the whole estate, and the three operations every measurement here is built from. Its code works with 750 kV. - What it does: Defines distanceKm, representativePoint, voltagesKv, destinationPoint, initialBearingDeg. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 750kV. - Inputs & outputs: Voltage levels named: 750kV. - Downstream impact: Used directly by 4 files: Asset Context Test (gridatlas); Model Test (gridatlas); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Genome Workflow (ventus-grid-engine). - Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `distanceKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `representativePoint(geometry)`; `voltagesKv(properties)`; `destinationPoint(lon, lat, km, bearingDeg)`; `initialBearingDeg(lon1, lat1, lon2, lat2)`; `dl(lon2 - lon1)` - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [750kV] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Grid Scope - File: gridatlas/atlas/modules/202609012040-grid-scope.js (JavaScript, 165 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012040-grid-scope.js#L1-L165 - Page: https://code.globalgrid2050.com/explore-code/s/0521.html#f3 - Synopsis: A JavaScript file in the atlas folder of GridAtlas covering substations, using haversine. It is built from the class of helper (`classOf`) and the scope step (`scope`). - What it achieves (comment): "When you click on a blank space, the user should be able to see grid in the vicinity. Its code works with 110 kV, 132 kV and 50 kV. - What it does: It lists and searches substations. Defines classOf, scope. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 750kV, 132kV, 110kV, 50kV. - Inputs & outputs: Voltage levels named: 750kV, 132kV, 110kV, 50kV. - Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `classOf(kv)`; `scope(origin, substations, options)`; `bandsKm(options && options.bandsKm)`; `minimumKv(options && options.minimumKv)`; `nearestCount(options && options.nearestCount)`; `voltages(Array.isArray(substation.kv) ? substation.kv : [])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [750kV, 132kV, 110kV, 50kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Declared Connections - File: gridatlas/atlas/modules/202609012128-declared-connections.js (JavaScript, 258 lines) · role render · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012128-declared-connections.js#L1-L258 - Page: https://code.globalgrid2050.com/explore-code/s/0522.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that works with nearest transmission (`nearestTransmission`) (units: kV, MVA, MW), covering substations, 400kV, solar and 132kV. - What it achieves (comment): It is built from the works at helper (`worksAt`), the provisional step (`provisional`) and the resolve step (`resolve`). The 400kV public record: what each DCO-scale scheme has DECLARED as its point of connection, taken from Development Consent Orders, Planning Inspectorate documents and public project statements. Its code works with 400 kV, 132 kV and 33 kV. - What it does: It lists and searches substations, 400kV, solar and 132kV. Defines worksAt, provisional, resolve, nearestTransmission. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 400kV, solar, 132kV, 33kV. - Inputs & outputs: Voltage levels named: 400kV, 132kV, 33kV. - Downstream impact: Used directly by 6 files: Grid Vicinity (gridatlas); Document Context Test (gridatlas); Document Context (gridatlas); Standalone (stars); and 2 more. Reached from 389 other entry points, including Code Generator — Index Page (code-generator, https://ventusltd.github.io/code-generator/); Generate (code-generator, https://ventusltd.github.io/code-generator/); 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html). - Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `worksAt(name)`; `provisional(repdRef)`; `resolve(repdRef, origin, subs)`; `match(Array.isArray(subs) ? subs : [])`; `nearestTransmission(origin, subs)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 132kV, 33kV] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### Sizing Arithmetic - File: gridatlas/atlas/modules/202609012205-sizing-arithmetic.js (JavaScript, 573 lines) · role render · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012205-sizing-arithmetic.js#L1-L573 - Page: https://code.globalgrid2050.com/explore-code/s/0522.html#f2 - Synopsis: A JavaScript module in the atlas folder of GridAtlas that builds stats (`buildStats`) and applies development stage defaults (`applyDevelopmentStageDefaults`) and mounting bifacial (`applyMountingBifacial`) (units: MW, MVA, MWh). - What it achieves (comment): It builds stats (`buildStats`), applies development stage defaults (`applyDevelopmentStageDefaults`) and applies mounting bifacial (`applyMountingBifacial`). The screening arithmetic of the single-line diagram (SLD) sandbox: physical inputs to array statistics, the three named ratios (design, export, headroom), the string and central topologies with their corrected nameplates, the finance port of `gis-sld-v5-finance.js`. Its code works with 4.4 MVA, 352 kVA and 44.8 MW. - What it does: Defines 12 functions or classes, including physicalInputs, buildStats, consistency, stringStats, centralStats. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, cables. - Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `physicalInputs(inputs)`; `buildStats(inputs, o)`; `dcMwp(o.module_count * p.mod_wp)`; `consistency(inputs, stats)`; `stringStats(inputs)`; `inverterAcMaxMva(i.y_invs * i.string_inv_kva)`; `centralStats(inputs)`; `strDcKwp(i.x_mods_c * i.mod_wp_c)`; `financeNumber(value)`; `applyDevelopmentStageDefaults(financeInputs, stageValue)`; `applyMountingBifacial(financeByMode, mode, gcrValue)`; `values(financeByMode || {})`; `screeningFinance(financeInputs, stats, context)`; `centralInverterAc(stats?.mode || (context && context.fallbackMode))`; `computeStats(inputs, financeByMode, defaults)`; `fitToStatedCapacity(sld, computeSldStats)`; `oneMore(() => { sld.inputs[outerKey] = best.outer + 1; const s = computeSldStats(); sld.inputs[outerKey] = best.outer; const ...)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Electrical Distance - File: gridatlas/atlas/modules/202609012245-electrical-distance.js (JavaScript, 365 lines) · role geodesy · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012245-electrical-distance.js#L1-L365 - Page: https://code.globalgrid2050.com/explore-code/s/0523.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that starts nodes (`startNodes`) (units: kV, MVA), covering transformers and substations. - What it achieves (comment): It starts nodes (`startNodes`) and is built from the crossing step (`crossing`) and the describe step (`describe`). How far away a substation is, measured in the network operator's own published circuits rather than in kilometres. Its code works with 100 MVA. - What it does: It lists and searches transformers and substations. Defines 6 functions or classes, including crossing, describe, legality, startNodes, between. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, substations. - Downstream impact: Used directly by 3 files: Route Plan Test (gridatlas); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Genome Workflow (ventus-grid-engine). - Signatures: `crossing(graph, nearNode, farNode)`; `describe(graph, entry, nearNode)`; `legality(kind, cross)`; `startNodes(graph, site, voltageKv)`; `between(index, fromKey, toKey, options)`; `within(index, key, options)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Source Registry - File: gridatlas/atlas/modules/202609012245-source-registry.js (JavaScript, 163 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012245-source-registry.js#L1-L163 - Page: https://code.globalgrid2050.com/explore-code/s/0523.html#f3 - Synopsis: A JavaScript file in the atlas folder of GridAtlas covering substations and transformers. It is built from the survey step (`survey`) and the ready step (`ready`). - What it achieves (comment): "Click anywhere on a map and the neons that already work via Pipeline News look for cartridges and code." — Vikram, . - What it does: It lists and searches substations and transformers. Defines survey, ready. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, transformers. - Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `survey(scope)`; `ready(id, scope)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Rating Envelope - File: gridatlas/atlas/modules/202609012250-rating-envelope.js (JavaScript, 213 lines) · role electrical · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012250-rating-envelope.js#L1-L213 - Page: https://code.globalgrid2050.com/explore-code/s/0524.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas covering 400kV. It is built from the seasons of helper (`seasonsOf`) and the flags for helper (`flagsFor`). - What it achieves (comment): What the operator publishes a circuit can carry, season by season - and a structural refusal to add those numbers up. Its code works with 400 kV and 132 kV. - What it does: It lists and searches 400kV. Defines seasonsOf, flagsFor, at. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 132kV. - Inputs & outputs: Voltage levels named: 400kV, 132kV. - Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `seasonsOf(row)`; `flagsFor(published)`; `at(index, key, options)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 132kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Planned Change - File: gridatlas/atlas/modules/202609012345-planned-change.js (JavaScript, 323 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012345-planned-change.js#L1-L323 - Page: https://code.globalgrid2050.com/explore-code/s/0524.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that works with status rank (`statusRank`) and year rank (`yearRank`) (units: kV, MVA), covering transformers. - What it achieves (comment): It is built from the as string helper (`asString`), the as number helper (`asNumber`) and the status rank helper (`statusRank`). What the network operator has PUBLISHED as planned for the circuits and transformers that touch one site: additions, changes and removals, by the year they are published against. Its code works with 100 MVA. - What it does: It lists and searches transformers. Defines 8 functions or classes, including asString, asNumber, statusRank, yearRank, publishedToday. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers. - Signatures: `asString(v)`; `asNumber(v)`; `statusRank(status)`; `yearRank(year)`; `publishedToday(graph, nearNode, farNode)`; `index(product)`; `describe(landing, nearNode)`; `at(key, options)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Owner Boundary - File: gridatlas/atlas/modules/202609012350-owner-boundary.js (JavaScript, 354 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609012350-owner-boundary.js#L1-L354 - Page: https://code.globalgrid2050.com/explore-code/s/0525.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas covering transformers. - What it achieves (comment): It is built from the as string helper (`asString`), the as number helper (`asNumber`) and the band key helper (`bandKey`). Which transmission owner the published assets at a site belong to, and which circuits cross from one owner's network into another's. - What it does: It lists and searches transformers. Defines 12 functions or classes, including asString, asNumber, bandKey, index, ownerOfNode. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers. - Signatures: `asString(v)`; `asNumber(v)`; `bandKey(kv)`; `index(product)`; `ownerOfNode(name)`; `relation(nearOwner, farOwner)`; `describe(entry, nearNode)`; `at(key, options)`; `band(kv)`; `count(b, owner, what)`; `byPair(list)`; `boundaries()`; `o(node && asString(node.transmission_owner))` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Injection Response - File: gridatlas/atlas/modules/202609020015-injection-response.js (JavaScript, 568 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609020015-injection-response.js#L1-L568 - Page: https://code.globalgrid2050.com/explore-code/s/0526.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that makes union find (`makeUnionFind`) (units: MW, MVA, kV), covering transformers and 400kV. - What it achieves (name): It makes union find (`makeUnionFind`) and is built from the bus of helper (`busOf`) and the component of helper (`componentOf`). Defines `makeUnionFind`, `find`, `assemble` and 7 more. Its code works with 400 kV, 190 MW and 100 MVA. - What it does: Defines 10 functions or classes, including makeUnionFind, find, assemble, busOf, componentOf. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, 400kV. - Inputs & outputs: Voltage levels named: 400kV. - Signatures: `makeUnionFind()`; `find(x)`; `union(a, b)`; `assemble(graph, nodeNames, { voltageKv, includeTransformers })`; `busOf(name)`; `componentOf(bus)`; `multiply(model, x, slackIndex)`; `solve(model, injection, slackIndex, tolerance, maxIterations)`; `sinkFor(model, atNode)`; `respond(model, options)`; `flowPu(solved.theta[e.i] - solved.theta[e.j])`; `modelFor(index, options)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Pipeline News Layers - File: gridatlas/atlas/modules/202609030048-pipeline-news-layers.js (JavaScript, 479 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609030048-pipeline-news-layers.js#L1-L479 - Page: https://code.globalgrid2050.com/explore-code/s/0527.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps the Renewable Energy Planning Database (REPD) register, solar, wind and battery storage (BESS). - What it achieves (comment): It reads register source (`readRegisterSource`), loads register (`loadRegister`) and reads selection (`readSelection`). A PIPELINE NEWS (REPD) section in the layer dashboard, beside TOPOLOGY, ASSETS and TRANSIT, that summons the rest of the pipeline around whatever project is currently selected. It responds to change events. - What it does: It maps the REPD register, solar, wind and battery storage (BESS). Defines 17 functions or classes, including note, readRegisterSource, primeRegister, loadRegister, readSelection. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind, battery storage (BESS). - Inputs & outputs: Out: interactive map. - Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `note(message)`; `readRegisterSource(map)`; `coordinates(feature.geometry || {})`; `primeRegister()`; `loadRegister(map)`; `readSelection(map)`; `name(features[0].properties || {})`; `near(rows, selection)`; `collection(rows)`; `setSourceData(map, id, data)`; `ensureLayers(map, control)`; `properties(event.features && event.features[0] || {})`; `escapeHtml(value)`; `setVisibility(map, control, visible)`; `labelFor(control, count, selection)`; `paintLabels(selection)`; `refresh(map, control)`; `buildGroup(container, isFullscreen)`; `bind(map, container)`; `install()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Pinned Products - File: gridatlas/atlas/modules/202609030137-pinned-products.js (JavaScript, 176 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609030137-pinned-products.js#L1-L176 - Page: https://code.globalgrid2050.com/explore-code/s/0527.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that works with digest bytes and digest hex, covering connection points, GB transmission network, price decade rollup and transformers, using SHA-256. - What it achieves (comment): It is built from the pin step (`pin`), the URL step (`url`) and the encode step (`encode`). Pinned-products - the runtime data this Atlas reads, by commit and by digest. - What it does: Defines 6 functions or classes, including pin, url, encode, digestBytes, digestHex. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers. - Inputs & outputs: In: JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json. - Signatures: `pin(id)`; `url(id)`; `encode(text)`; `digestBytes(bytes)`; `subtle(window.crypto || {})`; `digestHex(text)`; `verify(id, text)`; `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Corridor Estimate - File: gridatlas/atlas/modules/202609030205-corridor-estimate.js (JavaScript, 114 lines) · role render · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609030205-corridor-estimate.js#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/0528.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas covering cables and overhead lines (OHL). It is built from the for cable helper (`forCable`). - What it achieves (comment): Corridor-estimate - a straight line is not a route, and this says how far off. - What it does: Defines forCable. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'estimate'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, overhead lines (OHL). - Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `forCable(km)`; `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Technology Coverage - File: gridatlas/atlas/modules/202609031310-technology-coverage.js (JavaScript, 279 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609031310-technology-coverage.js#L1-L279 - Page: https://code.globalgrid2050.com/explore-code/s/0528.html#f2 - Synopsis: A JavaScript module in the atlas folder of GridAtlas that works with named offshore and wider fleet names, covering grid substations, the Renewable Energy Planning Database (REPD) register and wind. - What it achieves (name): It is built from the bucket of helper (`bucketOf`), the named offshore helper (`namedOffshore`) and the wider fleet names helper (`widerFleetNames`). Defines `bucketOf`, `policy`, `namedOffshore` and 3 more. Its code works with 220 kV, 33 kV and 132 kV. - What it does: It lists and searches grid substations, the REPD register, wind and cables. Defines 6 functions or classes, including bucketOf, policy, namedOffshore, widerFleetNames, widerFleetBuckets. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, wind, cables, 400kV, 275kV, 220kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 220kV, 132kV, 33kV. - Signatures: `bucketOf(tech)`; `policy(tech)`; `namedOffshore(name)`; `widerFleetNames()`; `widerFleetBuckets()`; `measuredCount()`; `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 220kV, 132kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Arrival Tidy - File: gridatlas/atlas/modules/202609032220-arrival-tidy.js (JavaScript, 94 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609032220-arrival-tidy.js#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/0528.html#f3 - Synopsis: A JavaScript file in the atlas folder of GridAtlas. It is built from the tidy step (`tidy`), the retire step (`retire`) and the watch step (`watch`). - What it achieves (comment): The search machinery gets out of the way once it has answered. It responds to focus, input and DOMContentLoaded events. - What it does: Defines tidy, retire, watch. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `tidy()`; `retire()`; `watch()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Teleprint Controls - File: gridatlas/atlas/modules/202609051624-teleprint-controls.js (JavaScript, 1238 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609051624-teleprint-controls.js#L1-L1238 - Page: https://code.globalgrid2050.com/explore-code/s/0529.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register, using SHA-256 and uses data from the npm repository. - What it achieves (comment): It stops tracks (`stopTracks`), reads text (`readText`) and collects source code (`collectSourceCode`). Built by `teleprinter/drivers/gridatlas/build-part.mjs` from the drivers in that directory, which are where any change belongs. Its code works with 400 kV. It responds to click events. - What it does: It draws the REPD register. Defines 27 functions or classes, including stopTracks, pixelsFromSource, fromDisplay, screenFrame, bytes. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, 400kV. - Inputs & outputs: In: data source: npm data. Out: canvas drawing; SVG drawing. Voltage levels named: 400kV. - Signatures: `stopTracks(stream)`; `pixelsFromSource(source, width, height)`; `fromDisplay()`; `screenFrame({ capture } = {})`; `bytes(text)`; `join(parts)`; `pdfString(text)`; `deflate(data)`; `screenPdf(frame, note = {})`; `printPdf({ capture, note = {}, filename } = {})`; `textual(url, type)`; `readText(url)`; `screenState()`; `text((label && label.textContent) || node.name || node.id || '')`; `discover()`; `add(url, how)`; `collectSourceCode({ appName = 'GridAtlas', inlineDom = true } = {})`; `missing(targets.overflow || [])`; `downloadText(text, filename)`; `showTeleprintPanel(text, filename, parts)`; `prepareSourceCode(options = {})`; `deliverSourceCode(collected, { prefer, panel = true } = {})`; `printSourceCode(options = {})`; `statusLine(anchor)`; `say(text)` (and 3 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: npm data]; out [canvas drawing; SVG drawing]; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Popup Viewport - File: gridatlas/atlas/modules/202609241334-popup-viewport.js (JavaScript, 67 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202609241334-popup-viewport.js#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/0530.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that keeps ordinary feature cards clear of the fixed search/menu controls. - What it achieves (name): Defines `fit` and `schedule`. It responds to resize events. - What it does: Defines fit, schedule. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `fit()`; `schedule()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### UK Lightning Overlay - File: gridatlas/atlas/modules/202610291043-uk-lightning-overlay.js (JavaScript, 401 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202610291043-uk-lightning-overlay.js#L1-L401 - Page: https://code.globalgrid2050.com/explore-code/s/0531.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps Renewable Energy Planning Database (REPD) projects and REPD master, using SHA-256, and uses data from the lightning repository. - What it achieves (comment): EUMETSAT MTG LI L2-LFL optical flashes, OFF by default, never persisted; NOT confirmed ground strikes; unsearched is unknown, never zero. Its code works with 0 MW. It responds to click, toggle and change events. - What it does: It maps REPD projects, REPD master, the REPD register and substations. Defines q. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations. - Inputs & outputs: In: data source: lightning data; GeoJSON file uk_lightning.geojson; JSON file index.json; Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; JSON file repd_master.json; DuckDB queries; form fields (user input). - Signatures: `sw(raw.scan_windows||[])`; `ub(r.rows||[])`; `T()`; `q(s)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: lightning data; GeoJSON file uk_lightning.geojson; JSON file index.json; Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; JSON file repd_master.json; DuckDB queries; form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Ventus Compute Observer - File: gridatlas/atlas/modules/202611161645-ventus-compute-observer.js (JavaScript, 272 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611161645-ventus-compute-observer.js#L1-L272 - Page: https://code.globalgrid2050.com/explore-code/s/0531.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that describes compute receipt (`describeComputeReceipt`) and calculates great-circle distances and angles (units: kV), covering substations, using haversine. - What it achieves (comment): It creates compute observer (`createComputeObserver`) and describes compute receipt (`describeComputeReceipt`). Ventus Grid Engine: generated receipt observer; not a substitute nearest engine. Its code works with 750 kV. - What it does: Defines 15 functions or classes, including distanceKm, distanceKm, representativePoint, voltagesKv, destinationPoint. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 750kV. - Inputs & outputs: Voltage levels named: 750kV. - Signatures: `distanceKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `representativePoint(geometry)`; `voltagesKv(properties)`; `destinationPoint(lon, lat, km, bearingDeg)`; `initialBearingDeg(lon1, lat1, lon2, lat2)`; `dl(lon2 - lon1)`; `copy(value)`; `finite(value)`; `located(point)`; `sameLocation(a, b)`; `sameEntity(a, b)`; `createComputeObserver({ onEvent = () => {}, now = () => Date.now() } = {})`; `publish(attempt, status, extra = {})`; `get(id)`; `request({ entity, location = null, operation = 'nearest-grid', dataset = null })`; `unsupported(id, reason)`; `run(id, compute)`; `snapshot(id = latest)`; `assess(id, expected)`; `describeComputeReceipt(receipt)` - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [750kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Grid Journey Preview - File: gridatlas/atlas/modules/202611172355-grid-journey-preview.js (JavaScript, 859 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611172355-grid-journey-preview.js#L1-L859 - Page: https://code.globalgrid2050.com/explore-code/s/0532.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps network, transformers and cables, using SHA-256. It validates product (`validateProduct`), validates ledger (`validateLedger`) and classifies edges (`classifyEdges`). - What it achieves (comment): Canonical engine Ventusltd/ventus-grid-engine. No live pointer writes. Its code works with 100 MVA. It responds to change events. - What it does: It maps network, transformers and cables. Defines 67 functions or classes, including JourneyTopology, voltageOf, bandKey, ratingsOf, physicalUnits. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, cables. - Inputs & outputs: In: JSON file network.json. Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `voltageOf(node)`; `bandKey(kv)`; `ratingsOf(row)`; `physicalUnits(records)`; `parametersOf(row)`; `index(product)`; `land(nodeName, entry)`; `siteOf(nodeName)`; `graph()`; `resolve(key)`; `at(key, options)`; `fail(message)`; `object(v)`; `text(v, label)`; `ordinal(a, b)`; `canonicalJson(value)`; `encode(v)`; `sha256(bytes)`; `url(v, label)`; `receipt(v, label)`; `source(v, label)`; `rights(v, label)`; `identity(v, label)`; `position(v, label)`; `edgeUid(bundleSha, kind, sourceIndex)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file network.json]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Grid Vicinity - File: gridatlas/atlas/modules/202611180026-grid-vicinity.js (JavaScript, 1277 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611180026-grid-vicinity.js#L1-L1277 - Page: https://code.globalgrid2050.com/explore-code/s/0533.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps notice, grid substations, the Renewable Energy Planning Database (REPD) register and transformers, using SHA-256. - What it achieves (comment): It normalises origin (`normaliseOrigin`), parses vicinity intent (`parseVicinityIntent`) and validates news context base (`validateNewsContextBase`). GridAtlas vicinity : source-built spatial context, no inferred circuits. Its code works with 33 kV, 11 kV and 132 kV. It responds to click events. - What it does: It maps notice, grid substations, the REPD register and transformers. Defines 127 functions or classes, including validCoordinate, radiusKm, normaliseOrigin, parseVicinityIntent, numberText. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, transformers, 400kV, 275kV, 132kV, 66kV. - Inputs & outputs: In: JSON file notice.json; GeoJSON file grid_substations.geojson. Out: interactive map. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Signatures: `validCoordinate(at)`; `radiusKm(value)`; `normaliseOrigin(origin, {requireIdentity = false} = {})`; `parseVicinityIntent(search)`; `numberText(value)`; `validateNewsContextBase(value)`; `normaliseNewsTopic(value, origin)`; `newsContextHref(base, origin, topic)`; `voltageBands(kv)`; `stationRecords(features, geodesy)`; `exploreVicinity({origin, radius, records, bands, geodesy, limit = 200})`; `vicinityGeoJSON(result, geodesy)`; `assetCoordinate(at)`; `statedMw(value)`; `assetId(value)`; `assetPrecision(p)`; `collectAssetContext({map,registry={},origin,radiusKm,geodesy,limit=200}={})`; `get(id)`; `add(category,row)`; `freezeDocumentContext(value)`; `documentOrigin(origin)`; `documentContextFor(origin, {declaredConnections} = {})`; `trainCoordinate(at)`; `normaliseTrainStop(stop)`; `buildStationIndex(features, {geodesy, datasetPin = null} = {})` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file notice.json; GeoJSON file grid_substations.geojson]; out [interactive map]; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 1 ### UK Offtakers Overlay - File: gridatlas/atlas/modules/202611222000-uk-offtakers-overlay.js (JavaScript, 465 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611222000-uk-offtakers-overlay.js#L1-L465 - Page: https://code.globalgrid2050.com/explore-code/s/0535.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps offtakers filtered, UK datacentre pipeline, conventional power UK and Renewable Energy Planning Database (REPD) master, using SHA-256. - What it achieves (comment): It opens project vicinity (`openProjectVicinity`) and updates project swipe (`updateProjectSwipe`). Potential offtakers: sites listed in open registers (National Atmospheric Emissions Inventory (NAEI) 2023 point sources, GPPD) and OpenStreetMap, classified by the OT-filter rules (energy-intensive industry, power stations incl. closed and closing, data centres, large water works, other large users). Its code works with 33 kV, 275 kV and 66 kV. It responds to click, toggle and keydown events. - What it does: It maps offtakers filtered, UK datacentre pipeline, conventional power UK and REPD master. Defines 7 functions or classes, including D, q, openProjectVicinity, initProjectSwipe, b. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 275kV, 66kV, 33kV. - Inputs & outputs: In: GeoJSON file offtakers_filtered_202610292000.geojson; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; GeoJSON file conventional_power_uk_202610292000.geojson; JSON file repd_master.json; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; form fields (user input). Out: interactive map. Voltage levels named: 275kV, 66kV, 33kV. - Signatures: `D(v,q)`; `n(c.k||[])`; `ps(c.P||[])`; `q(s)`; `openProjectVicinity(input)`; `initProjectSwipe(map,card)`; `b(txt,aria)`; `updateProjectSwipe(card)`; `subs(card.k||[])`; `repd(card.P||[])`; `power(card.cv||[])`; `stepProjectSwipe(map,card,delta)` - VEDIC: OPEN VICINITY (GG2050-VEDIC-000050): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. project_reference, longitude_latitude, name_optional, technology_optional, capacity_MW_optional -> screening_card_opened_boolean - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file offtakers_filtered_202610292000.geojson; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; GeoJSON file conventional_power_uk_202610292000.geojson; JSON file repd_master.json; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; form fields (user input)]; out [interactive map]; crs []; voltages [275kV, 66kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Vicinity Entry - File: gridatlas/atlas/modules/202611222000-vicinity-entry.js (JavaScript, 28 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611222000-vicinity-entry.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0535.html#f3 - Synopsis: A JavaScript file in the atlas folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register. It is built from the mount step (`mount`). - What it achieves (comment): GridAtlas V9.194 additive PipelineNews MAP VICINITY button. It responds to click events. - What it does: It draws the REPD register. Defines mount. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Signatures: `position()`; `mount()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Vicinity Focus - File: gridatlas/atlas/modules/202611222130-vicinity-focus.js (JavaScript, 169 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611222130-vicinity-focus.js#L1-L169 - Page: https://code.globalgrid2050.com/explore-code/s/0535.html#f4 - Synopsis: A JavaScript file in the atlas folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register and substations. - What it achieves (comment): It is built from the module step (`module`), the map step (`map`) and the fmt step (`fmt`). GridAtlas V9.195 candidate: asset-first VICINITY focus. It responds to click, touchstart and touchend events. - What it does: It draws the REPD register and substations. Defines 10 functions or classes, including module, map, fmt, safely, label. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations. - Signatures: `module()`; `map()`; `fmt(n)`; `safely(v)`; `label(p,txt,attr)`; `asset(card)`; `render(card)`; `navigate(card,type,rank)`; `install(card)`; `sync()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/202612012118-secondary-vicinity-focus.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Vicinity Controls Rescue - File: gridatlas/atlas/modules/202611222343-vicinity-controls-rescue.js (JavaScript, 131 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611222343-vicinity-controls-rescue.js#L1-L131 - Page: https://code.globalgrid2050.com/explore-code/s/0536.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that works with float layers (`floatLayers`) and full mode (`fullMode`) (units: MW). - What it achieves (comment): It is built from the answered step (`answered`), the float layers helper (`floatLayers`) and the wake step (`wake`). The V9.194 launcher put this button INSIDE the map-controls stacking context. It responds to visibilitychange, pagehide and click events. - What it does: Defines 8 functions or classes, including answered, floatLayers, wake, fallback, tick. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `tech(q.get('technology')||'')`; `answered()`; `floatLayers()`; `wake()`; `fallback()`; `tick()`; `later()`; `fullMode()`; `reflect()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/g203-vicinity-controls-rescue.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Handoff - File: gridatlas/atlas/modules/202611242030-satnav-handoff.js (JavaScript, 351 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611242030-satnav-handoff.js#L1-L351 - Page: https://code.globalgrid2050.com/explore-code/s/0536.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps grid substations and postcodes, and uses data from the SatNav repository. - What it achieves (comment): It places search (`placeSearch`), searches input (`searchInput`) and closes panel (`closePanel`). Native GridAtlas M1 candidate; adapted from Agent33 . It responds to input, keydown and pagehide events. - What it does: It maps grid substations and postcodes. Defines 21 functions or classes, including button, field, disclosure, samePoint, satellite. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: postcodes. - Inputs & outputs: In: data source: satnav data; GeoJSON file grid_substations.geojson. Out: interactive map. Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `button(id, name, parent = actions)`; `field(label, id)`; `disclosure(id, title, content)`; `samePoint(a, b)`; `satellite()`; `projectRef()`; `placeSearch()`; `projectSelection()`; `searchInput()`; `closePanel()`; `currentCardPoint(kind)`; `reset(message)`; `render()`; `stage(kind, selection)`; `mapClick(event)`; `selectedProject()`; `selectedLocation()`; `stillCurrent()`; `destinationName(kind, value)`; `syncFullscreenHost()`; `refresh()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: satnav data; GeoJSON file grid_substations.geojson]; out [interactive map]; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Origin Focus - File: gridatlas/atlas/modules/202611242030-satnav-origin-focus.js (JavaScript, 169 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611242030-satnav-origin-focus.js#L1-L169 - Page: https://code.globalgrid2050.com/explore-code/s/0536.html#f3 - Synopsis: A JavaScript file in the atlas folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register and substations. - What it achieves (comment): It is built from the module step (`module`), the map step (`map`) and the fmt step (`fmt`). GridAtlas V9.195 candidate: asset-first VICINITY focus. It responds to click, touchstart and touchend events. - What it does: It draws the REPD register and substations. Defines 10 functions or classes, including module, map, fmt, safely, label. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: the REPD register, substations. - Signatures: `module()`; `map()`; `fmt(n)`; `safely(v)`; `label(p,txt,attr)`; `asset(card)`; `render(card)`; `navigate(card,type,rank)`; `install(card)`; `sync()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/202612012118-secondary-vicinity-focus.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Point Vicinity - File: gridatlas/atlas/modules/202611242030-satnav-point-vicinity.js (JavaScript, 474 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611242030-satnav-point-vicinity.js#L1-L474 - Page: https://code.globalgrid2050.com/explore-code/s/0537.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps offtakers filtered, UK datacentre pipeline, conventional power UK and Renewable Energy Planning Database (REPD) master, using SHA-256. - What it achieves (comment): It opens point vicinity (`openPointVicinity`), opens project vicinity (`openProjectVicinity`) and updates project swipe (`updateProjectSwipe`). UK-offtakers-overlay. Potential offtakers: sites listed in open registers (National Atmospheric Emissions Inventory (NAEI) 2023 point sources, GPPD) and OpenStreetMap, classified by the OT-filter rules (energy-intensive industry, power stations incl. closed and closing, data centres, large water works, other large users). Its code works with 33 kV, 275 kV and 66 kV. It responds to click, toggle and keydown events. - What it does: It maps offtakers filtered, UK datacentre pipeline, conventional power UK and REPD master. Defines 8 functions or classes, including D, q, openPointVicinity, openProjectVicinity, initProjectSwipe. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: 275kV, 66kV, 33kV. - Inputs & outputs: In: GeoJSON file offtakers_filtered_202610292000.geojson; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; GeoJSON file conventional_power_uk_202610292000.geojson; JSON file repd_master.json; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; form fields (user input). Out: interactive map. Voltage levels named: 275kV, 66kV, 33kV. - Signatures: `D(v,q)`; `n(c.k||[])`; `ps(c.P||[])`; `q(s)`; `openPointVicinity(input)`; `openProjectVicinity(input)`; `initProjectSwipe(map,card)`; `b(txt,aria)`; `updateProjectSwipe(card)`; `subs(card.k||[])`; `repd(card.P||[])`; `power(card.cv||[])`; `stepProjectSwipe(map,card,delta)` - VEDIC: OPEN VICINITY (GG2050-VEDIC-000050): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. project_reference, longitude_latitude, name_optional, technology_optional, capacity_MW_optional -> screening_card_opened_boolean - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file offtakers_filtered_202610292000.geojson; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; GeoJSON file conventional_power_uk_202610292000.geojson; JSON file repd_master.json; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; form fields (user input)]; out [interactive map]; crs []; voltages [275kV, 66kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Practice Line - File: gridatlas/atlas/modules/202611242248-satnav-practice-line.js (JavaScript, 280 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611242248-satnav-practice-line.js#L1-L280 - Page: https://code.globalgrid2050.com/explore-code/s/0538.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas using data from the SatNav repository. It formats metres (`formatMetres`), draws features (`drawFeatures`) and stops tracking (`stopTracking`). - What it achieves (comment): SatNav practice section preview. Positions and section coordinates are session-local. It responds to keydown, pagehide and pageshow events. - What it does: It maps its content. Defines 10 functions or classes, including button, readout, formatMetres, drawFeatures, render. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `button(id, label, parent)`; `readout(id, label)`; `formatMetres(value)`; `drawFeatures(features)`; `render()`; `stopTracking(message)`; `clearSelection(message)`; `mapClick(event)`; `showPanel(show)`; `refresh()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Vicinity Legal Evidence - File: gridatlas/atlas/modules/202611280016-vicinity-legal-evidence.js (JavaScript, 75 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611280016-vicinity-legal-evidence.js#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0538.html#f2 - Synopsis: A JavaScript module in the atlas folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register and uses data from the legislation repository. - What it achieves (comment): It is built from the evidence URL helper (`evidenceUrl`), the render step (`render`) and the sync step (`sync`). Read-only adapter for the selected origin in GridAtlas Vicinity. It responds to pagehide events. - What it does: It draws the REPD register. Defines evidenceUrl, render, sync. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Signatures: `evidenceUrl(arrival, selectedRef)`; `render(card, arrival)`; `sync()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### SatNav Compact Preview - File: gridatlas/atlas/modules/202611281237-satnav-compact-preview.js (JavaScript, 143 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281237-satnav-compact-preview.js#L1-L143 - Page: https://code.globalgrid2050.com/explore-code/s/0538.html#f3 - Synopsis: A JavaScript file in the atlas folder of GridAtlas using data from the SatNav repository. It maps click (`mapClick`), stops tracking (`stopTracking`) and applies location (`applyLocation`). - What it achieves (comment): GridAtlas map, independent endpoints, session-only GPS. It responds to keydown, pagehide and pageshow events. - What it does: It maps its content. Defines 7 functions or classes, including features, render, arm, mapClick, stopTracking. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `features()`; `render()`; `arm(which)`; `mapClick(event)`; `stopTracking(message)`; `applyLocation()`; `refresh()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Field Compass - File: gridatlas/atlas/modules/202611281255-satnav-field-compass.js (JavaScript, 147 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281255-satnav-field-compass.js#L1-L147 - Page: https://code.globalgrid2050.com/explore-code/s/0538.html#f4 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that updates bearing (`updateBearing`) and attaches map (`attachMap`). It updates bearing (`updateBearing`) and attaches map (`attachMap`). - What it achieves (comment): Add-on for the versioned SatNav maps. It responds to click, deviceorientationabsolute and deviceorientation events. - What it does: It draws its content. Defines 6 functions or classes, including orientation, stop, updateBearing, sourceChanged, attachMap. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'compass'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `orientation(event)`; `stop(message = '')`; `updateBearing()`; `sourceChanged(event)`; `attachMap()`; `resume()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Offline Plan - File: gridatlas/atlas/modules/202611281256-satnav-offline-plan.js (JavaScript, 29 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281256-satnav-offline-plan.js#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/0538.html#f5 - Synopsis: A JavaScript file in the atlas folder of GridAtlas. It is built from the attach step (`attach`). - What it achieves (comment): Optional cartridge for the versioned waypoint maps. It responds to satnav events. - What it does: It draws its content. Defines attach. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `attach()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Start Walk - File: gridatlas/atlas/modules/202611281340-satnav-start-walk.js (JavaScript, 230 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281340-satnav-start-walk.js#L1-L230 - Page: https://code.globalgrid2050.com/explore-code/s/0539.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode. - What it achieves (comment): It attaches map (`attachMap`), syncs plan (`syncPlan`) and stops walk (`stopWalk`). Explicit walking on the existing field map. It responds to resize, fullscreenchange and webkitfullscreenchange events. - What it does: It maps its content. Defines 13 functions or classes, including mount, choose, distance, bearing, clearHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: form fields (user input). - Signatures: `mount()`; `choose()`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `render()`; `stopWalk()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/202611281800-satnav-gate-walk.js) · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Walk Saved Plan - File: gridatlas/atlas/modules/202611281340-satnav-walk-saved-plan.js (JavaScript, 69 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281340-satnav-walk-saved-plan.js#L1-L69 - Page: https://code.globalgrid2050.com/explore-code/s/0539.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that restores this version's saved design pins to the same map used for a hand-placed walk. - What it achieves (name): Defines `mount`. It responds to satnav events. - What it does: It draws its content. Defines mount. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `mount()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Layers - File: gridatlas/atlas/modules/202611281342-satnav-layers.js (JavaScript, 60 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281342-satnav-layers.js#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0539.html#f3 - Synopsis: A JavaScript file in the atlas folder of GridAtlas. It is built from the mount step (`mount`) and the reflect step (`reflect`). - What it achieves (comment): The field map covers the ordinary dashboard. It responds to fullscreenchange, webkitfullscreenchange and keydown events. - What it does: It draws its content. Defines mount, reflect. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `mount()`; `reflect()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Field Survey - File: gridatlas/atlas/modules/202611281725-satnav-field-survey.js (JavaScript, 171 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281725-satnav-field-survey.js#L1-L171 - Page: https://code.globalgrid2050.com/explore-code/s/0539.html#f4 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that attaches map (`attachMap`), applies loop (`applyLoop`) and stops recording (`stopRecording`). - What it achieves (comment): It attaches map (`attachMap`), applies loop (`applyLoop`) and stops recording (`stopRecording`). Add a local field survey to the waypoint map's existing pins and GPS watch. It responds to satnav and toggle events. - What it does: It maps its content. Defines 8 functions or classes, including mount, length, draw, scheduleDraw, attachMap. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'field'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: form fields (user input). Out: downloaded file ventus-survey-. - Signatures: `mount()`; `length(metres)`; `draw()`; `scheduleDraw()`; `attachMap()`; `render()`; `applyLoop()`; `stopRecording()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [downloaded file ventus-survey-]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Layout Import - File: gridatlas/atlas/modules/202611281725-satnav-layout-import.js (JavaScript, 167 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281725-satnav-layout-import.js#L1-L167 - Page: https://code.globalgrid2050.com/explore-code/s/0539.html#f5 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that lists choices (`listChoices`). It draws layout (`drawLayout`) and lists choices (`listChoices`). - What it achieves (comment): Local engineering layouts for the versioned SatNav survey map. It responds to cancel and satnav events. - What it does: It maps its content. Defines mount, drawLayout, listChoices. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: user-supplied file (file picker); form fields (user input). Out: GeoJSON file -layout.geojson. - Signatures: `mount()`; `drawLayout()`; `listChoices()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker); form fields (user input)]; out [GeoJSON file -layout.geojson]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Gate Walk - File: gridatlas/atlas/modules/202611281800-satnav-gate-walk.js (JavaScript, 287 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281800-satnav-gate-walk.js#L1-L287 - Page: https://code.globalgrid2050.com/explore-code/s/0540.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode. - What it achieves (comment): It attaches map (`attachMap`), syncs plan (`syncPlan`) and stops walk (`stopWalk`). Explicit walking on the existing field map. It responds to resize, fullscreenchange and webkitfullscreenchange events. - What it does: It maps its content. Defines 13 functions or classes, including mount, choose, distance, bearing, clearHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: form fields (user input). - Signatures: `mount()`; `choose()`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `render()`; `stopWalk(reason)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Waypoint Map - File: gridatlas/atlas/modules/202611281800-satnav-waypoint-map.js (JavaScript, 478 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202611281800-satnav-waypoint-map.js#L1-L478 - Page: https://code.globalgrid2050.com/explore-code/s/0540.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that refreshes guidance (`refreshGuidance`), sets pin (`setPin`) and restores local plan (`restoreLocalPlan`). - What it achieves (comment): It updates text (`updateText`), refreshes guidance (`refreshGuidance`) and sets pin (`setPin`). Based on the immutable PR113 compact map and GPS lifecycle. It responds to visibilitychange, offline and online events. - What it does: It maps its content. Defines 25 functions or classes, including notify, updateText, distanceText, bearingText, collection. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `notify(name, detail)`; `updateText(element, value)`; `distanceText(metres)`; `bearingText(degrees)`; `collection(features)`; `refreshGuidance()`; `changePlan()`; `edit(operation)`; `setPin(which, at, fromGps = false)`; `place(at, fromGps = false)`; `restoreLocalPlan()`; `leaveExample()`; `replacePlan(coordinates, {example = false} = {})`; `undo()`; `setFix(next)`; `fieldState(sample)`; `refreshSources()`; `guidanceText()`; `render()`; `arm(which)`; `mapClick(event)`; `selectedIndex()`; `stopTracking(message)`; `centreOnFix()`; `refresh()` (and 1 more) - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Regional Card - File: gridatlas/atlas/modules/202612012117-regional-card.js (JavaScript, 73 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612012117-regional-card.js#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/0541.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas covering transformers and substations, and uses data from UK Power Networks open data. - What it achieves (comment): It is built from the visible step (`visible`), the augment popup helper (`augmentPopup`) and the line step (`line`). Interface-owned selected asset card. No menu mutation. - What it does: It draws transformers and substations. Defines 6 functions or classes, including visible, augmentPopup, line, current, add. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, substations. - Signatures: `visible()`; `augmentPopup()`; `line(label,value)`; `current()`; `add(label,value)`; `attach()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Regional Data - File: gridatlas/atlas/modules/202612012117-regional-data.js (JavaScript, 164 lines) · role storage · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612012117-regional-data.js#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/0541.html#f3 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that reads grid UK Power Networks (UKPN) secondary, UKPN transformers and 11kV, using SHA-256 from the data-grid-GB repository. - What it achieves (comment): It registers pinned (`registerPinned`) and is built from the shared database helper (`sharedDatabase`) and the details for helper (`detailsFor`). Native `ukConfig` extension, pinned UKPN transformer archive. Its code works with 11 kV and 400 kV. - What it does: It loads grid UKPN secondary, UKPN transformers and 11kV. Defines 9 functions or classes, including sharedDatabase, registerPinned, detailsFor, scalar, normalize. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV, 400kV. - Inputs & outputs: In: data source: data-grid-gb data; Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet; DuckDB queries. Voltage levels named: 400kV, 11kV. - Signatures: `sharedDatabase()`; `registerPinned(database,name)`; `detailsFor(site)`; `scalar(v)`; `normalize(raw)`; `unpack(bytes)`; `extend(options)`; `load()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: data-grid-gb data; Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet; DuckDB queries]; out []; crs []; voltages [400kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Regional Native - File: gridatlas/atlas/modules/202612012117-regional-native.js (JavaScript, 8607 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612012117-regional-native.js#L1-L8607 - Page: https://code.globalgrid2050.com/explore-code/s/0541.html#f4 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps elizabeth line and london underground, using haversine and SHA-256, and uses data from the ventus-grid-engine, data-federation-map-for-GlobalGrid2050-all-repos and spiders repositories. - What it achieves (comment): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). ASSEMBLED by `tools/build-cartridge.mjs` from the parts below. Its code works with 400 kV, 100 MVA and 132 kV. It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 239 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 750kV, 400kV, 275kV, 132kV, 66kV, 33kV. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; data source: npm data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson. Out: downloaded file gridatlas-; downloaded file globalgrid2050-grid-atlas-; interactive map; canvas drawing; SVG drawing. Voltage levels named: 750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawEdgeDots(i)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; data source: npm data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson]; out [downloaded file gridatlas-; downloaded file globalgrid2050-grid-atlas-; interactive map; canvas drawing; SVG drawing]; crs []; voltages [750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Secondary Vicinity Engine - File: gridatlas/atlas/modules/202612012118-secondary-vicinity-engine.js (JavaScript, 478 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612012118-secondary-vicinity-engine.js#L1-L478 - Page: https://code.globalgrid2050.com/explore-code/s/0554.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps offtakers filtered, UK datacentre pipeline, conventional power UK and Renewable Energy Planning Database (REPD) master, using SHA-256. - What it achieves (comment): It opens project vicinity (`openProjectVicinity`), opens secondary vicinity (`openSecondaryVicinity`) and updates project swipe (`updateProjectSwipe`). UK-offtakers-overlay. Potential offtakers: sites listed in open registers (National Atmospheric Emissions Inventory (NAEI) 2023 point sources, GPPD) and OpenStreetMap, classified by the OT-filter rules (energy-intensive industry, power stations incl. closed and closing, data centres, large water works, other large users). Its code works with 33 kV, 275 kV and 66 kV. It responds to click, toggle and keydown events. - What it does: It maps offtakers filtered, UK datacentre pipeline, conventional power UK and REPD master. Defines 8 functions or classes, including D, q, openProjectVicinity, openSecondaryVicinity, initProjectSwipe. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 275kV, 66kV, 33kV. README: "Added real rendered UKPN card selection, ranked Grid Engine transfer, poor-fix rejection, exact endpoint and GPS-watch preservation, and secondary Vicinity identity assertions to the existing combined browser gate." - Inputs & outputs: In: GeoJSON file offtakers_filtered_202610292000.geojson; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; GeoJSON file conventional_power_uk_202610292000.geojson; JSON file repd_master.json; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; form fields (user input). Out: interactive map. Voltage levels named: 275kV, 66kV, 33kV. - Signatures: `D(v,q)`; `n(c.k||[])`; `ps(c.P||[])`; `q(s)`; `openProjectVicinity(input)`; `openSecondaryVicinity(input)`; `initProjectSwipe(map,card)`; `b(txt,aria)`; `updateProjectSwipe(card)`; `subs(card.k||[])`; `repd(card.P||[])`; `power(card.cv||[])`; `stepProjectSwipe(map,card,delta)` - VEDIC: OPEN VICINITY (GG2050-VEDIC-000050): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. project_reference, longitude_latitude, name_optional, technology_optional, capacity_MW_optional -> screening_card_opened_boolean - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file offtakers_filtered_202610292000.geojson; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; GeoJSON file conventional_power_uk_202610292000.geojson; JSON file repd_master.json; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; form fields (user input)]; out [interactive map]; crs []; voltages [275kV, 66kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Secondary Vicinity Focus - File: gridatlas/atlas/modules/202612012118-secondary-vicinity-focus.js (JavaScript, 173 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612012118-secondary-vicinity-focus.js#L1-L173 - Page: https://code.globalgrid2050.com/explore-code/s/0554.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register and substations. - What it achieves (comment): It is built from the module step (`module`), the map step (`map`) and the fmt step (`fmt`). GridAtlas V9.195 candidate: asset-first VICINITY focus. It responds to click, touchstart and touchend events. - What it does: It draws the REPD register and substations. Defines 10 functions or classes, including module, map, fmt, safely, label. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations. - Signatures: `module()`; `map()`; `fmt(n)`; `safely(v)`; `label(p,txt,attr)`; `asset(card)`; `render(card)`; `navigate(card,type,rank)`; `install(card)`; `sync()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### G203 04 SatNav Walk Saved Plan - File: gridatlas/atlas/modules/20261202-g203-04-satnav-walk-saved-plan.js (JavaScript, 253 lines) · role interaction · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/20261202-g203-04-satnav-walk-saved-plan.js#L1-L253 - Page: https://code.globalgrid2050.com/explore-code/s/0555.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that formats distance (`formatDistance`), shows pin (`showPin`), mounts offline plan (`mountOfflinePlan`) and draws SVG graphics. - What it achieves (comment): It formats distance (`formatDistance`) and shows pin (`showPin`). G203-04: immutable successor; original offline-plan helper inlined to pin all executable mount code. It responds to statechange and satnav events. - What it does: It draws its content. Defines 12 functions or classes, including fieldPlan, displayPlan, byId, formatDistance, showPin. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Out: SVG drawing. - Downstream impact: Used directly by 1 file: SatNav G203 04 Saved Plan Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `fieldPlan(pins, maths)`; `displayPlan()`; `byId(id)`; `formatDistance(m)`; `scaleX(maxX - minX)`; `showPin()`; `offlinePlanDocument(pins, maths)`; `activateWorker(scope)`; `finish()`; `cleanup()`; `mountOfflinePlan({container, getPins, maths})`; `change(action)`; `mount()` - VEDIC: SAVE OFFLINE PLAN (GG2050-VEDIC-000100): SatNav · Location and navigation data. DOM container, selected pins callback, distance and bearing functions, secure browser with service worker and Cache Storage -> Offline plan controls and a locally cached standalone HTML plan after the user presses Save. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Secondary Neon Engine - File: gridatlas/atlas/modules/202612020205-secondary-neon-engine.js (JavaScript, 9008 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612020205-secondary-neon-engine.js#L1-L9008 - Page: https://code.globalgrid2050.com/explore-code/s/0555.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps connection points, GB transmission network, price decade rollup and grid substations, using haversine. - What it achieves (comment): It creates compute observer (`createComputeObserver`), describes compute receipt (`describeComputeReceipt`) and builds stats (`buildStats`). Receipt and distance owner: Ventusltd/ventus-grid-engine. Its code works with 400 kV, 132 kV and 33 kV. It responds to click, keydown and touchstart events. - What it does: It maps connection points, GB transmission network, price decade rollup and grid substations. Defines 274 functions or classes, including distanceKm, distanceKm, representativePoint, voltagesKv, destinationPoint. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV. - Inputs & outputs: In: JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; GeoJSON file grid_substations.geojson; JSON file neso-connection-sites.lean.json; GeoJSON file interconnectors.geojson; browser storage (getItem); DuckDB queries. Out: browser storage (setItem); interactive map. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 110kV, 66kV. - Signatures: `distanceKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `representativePoint(geometry)`; `voltagesKv(properties)`; `destinationPoint(lon, lat, km, bearingDeg)`; `initialBearingDeg(lon1, lat1, lon2, lat2)`; `dl(lon2 - lon1)`; `copy(value)`; `finite(value)`; `located(point)`; `sameLocation(a, b)`; `sameEntity(a, b)`; `createComputeObserver({ onEvent = () => {}, now = () => Date.now() } = {})`; `publish(attempt, status, extra = {})`; `get(id)`; `request({ entity, location = null, operation = 'nearest-grid', dataset = null })`; `unsupported(id, reason)`; `run(id, compute)`; `snapshot(id = latest)`; `assess(id, expected)`; `describeComputeReceipt(receipt)`; `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `classOf(kv)`; `scope(origin, substations, options)` (and 15 more) - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; GeoJSON file grid_substations.geojson; JSON file neso-connection-sites.lean.json; GeoJSON file interconnectors.geojson; browser storage (getItem); DuckDB queries]; out [browser storage (setItem); interactive map]; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 400kV, 275kV, 220kV, 132kV, 110kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Unified SatNav Dock - File: gridatlas/atlas/modules/202612020205-unified-satnav-dock.js (JavaScript, 696 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612020205-unified-satnav-dock.js#L1-L696 - Page: https://code.globalgrid2050.com/explore-code/s/0568.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps substations and 11kV. It sets panel open (`setPanelOpen`), updates text (`updateText`) and refreshes guidance (`refreshGuidance`). - What it achieves (comment): Derived from the immutable 2 km convergence cartridge; native shell geometry stays owned by GridAtlas. Its code works with 11 kV and 33 kV. It responds to click, visibilitychange and offline events. - What it does: It maps substations and 11kV. Defines 37 functions or classes, including setPanelOpen, notify, updateText, distanceText, bearingText. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: substations, 11kV, 33kV. - Inputs & outputs: Voltage levels named: 33kV, 11kV. - Signatures: `setPanelOpen(open)`; `notify(name, detail)`; `updateText(element, value)`; `distanceText(metres)`; `bearingText(degrees)`; `collection(features)`; `pauseFollow()`; `refreshGuidance()`; `changePlan()`; `edit(operation)`; `setPin(which, at, fromGps = false)`; `place(at, fromGps = false)`; `restoreLocalPlan()`; `leaveExample()`; `replacePlan(coordinates, {example = false} = {})`; `undo()`; `setFix(next)`; `fieldState(sample)`; `refreshSources()`; `guidanceText()`; `nativeLayer(id)`; `syncInfrastructureControls()`; `render()`; `arm(which)`; `mapClick(event)` (and 14 more) - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Orient14 Start Walk - File: gridatlas/atlas/modules/202612030153-orient14-start-walk.js (JavaScript, 299 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612030153-orient14-start-walk.js#L1-L299 - Page: https://code.globalgrid2050.com/explore-code/s/0569.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode and SatNav route objective. - What it achieves (comment): It attaches map (`attachMap`), syncs plan (`syncPlan`) and stops walk (`stopWalk`). Location and camera remain owned by the waypoint cartridge. It responds to resize, fullscreenchange and webkitfullscreenchange events. - What it does: It maps its content. Defines 14 functions or classes, including mount, unsupported, choose, distance, bearing. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'walk'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: form fields (user input). - Downstream impact: Used directly by 1 file: 14 Integration Test (neural-link-between-agents). - Signatures: `mount()`; `unsupported()`; `choose()`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `render()`; `stopWalk(reason)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Orient16 Start Walk - File: gridatlas/atlas/modules/202612031130-orient16-start-walk.js (JavaScript, 315 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612031130-orient16-start-walk.js#L1-L315 - Page: https://code.globalgrid2050.com/explore-code/s/0570.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that resets recovery (`resetRecovery`), attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode and SatNav route objective. - What it achieves (comment): It resets recovery (`resetRecovery`), attaches map (`attachMap`) and syncs plan (`syncPlan`). Location and camera remain owned by the waypoint cartridge. It responds to resize, fullscreenchange and webkitfullscreenchange events. - What it does: It maps its content. Defines 16 functions or classes, including mount, unsupported, choose, resetRecovery, manualRecovery. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'walk'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: form fields (user input). - Signatures: `mount()`; `unsupported()`; `choose()`; `resetRecovery()`; `manualRecovery(sample)`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `render()`; `stopWalk(reason)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/202612031235-orient16-recovery-walk.js) · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Orient16 Recovery Walk - File: gridatlas/atlas/modules/202612031235-orient16-recovery-walk.js (JavaScript, 317 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612031235-orient16-recovery-walk.js#L1-L317 - Page: https://code.globalgrid2050.com/explore-code/s/0570.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode and SatNav route objective. - What it achieves (comment): It resets recovery (`resetRecovery`), attaches map (`attachMap`) and syncs plan (`syncPlan`). Location and camera remain owned by the waypoint cartridge. It responds to resize, fullscreenchange and webkitfullscreenchange events. - What it does: It maps its content. Defines 16 functions or classes, including mount, unsupported, choose, resetRecovery, manualRecovery. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'walk'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: form fields (user input). - Signatures: `mount()`; `unsupported()`; `choose()`; `resetRecovery()`; `manualRecovery(sample)`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `render()`; `stopWalk(reason)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Orient17 Regional Walk - File: gridatlas/atlas/modules/202612031704-orient17-regional-walk.js (JavaScript, 348 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612031704-orient17-regional-walk.js#L1-L348 - Page: https://code.globalgrid2050.com/explore-code/s/0571.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that resets recovery (`resetRecovery`), attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode and SatNav route objective. - What it achieves (comment): It resets recovery (`resetRecovery`), attaches map (`attachMap`) and syncs plan (`syncPlan`). Location and camera remain owned by the waypoint cartridge. It responds to resize, fullscreenchange and webkitfullscreenchange events. - What it does: It maps its content. Defines 19 functions or classes, including mount, routed, unsupported, choose, resetRecovery. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'walk'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: form fields (user input). - Signatures: `mount()`; `routed()`; `unsupported()`; `choose()`; `resetRecovery()`; `manualRecovery(sample)`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `renderRegional(sample)`; `show(snapshot)`; `render()`; `stopWalk(reason)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/202612040110-orient17b-walk.js) · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Orient17a Camera - File: gridatlas/atlas/modules/202612040055-orient17a-camera.js (JavaScript, 731 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612040055-orient17a-camera.js#L1-L731 - Page: https://code.globalgrid2050.com/explore-code/s/0571.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps substations and 11kV. It sets panel open (`setPanelOpen`), updates text (`updateText`) and refreshes guidance (`refreshGuidance`). - What it achieves (comment): Unified GridAtlas/SatNav candidate. Derived from the immutable 2 km convergence cartridge; native shell geometry stays owned by GridAtlas. Its code works with 11 kV and 33 kV. It responds to click, visibilitychange and offline events. - What it does: It maps substations and 11kV. Defines 40 functions or classes, including setPanelOpen, notify, updateText, distanceText, bearingText. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 11kV, 33kV. - Inputs & outputs: Voltage levels named: 33kV, 11kV. - Signatures: `setPanelOpen(open)`; `notify(name, detail)`; `updateText(element, value)`; `distanceText(metres)`; `bearingText(degrees)`; `collection(features)`; `cameraTarget(map,fix,streetZoom)`; `shouldAcceptCameraFix(fix,quality,requestedAt,hidden)`; `pauseFollow()`; `pauseGesture(event)`; `refreshGuidance()`; `changePlan()`; `edit(operation)`; `setPin(which, at, fromGps = false)`; `place(at, fromGps = false)`; `restoreLocalPlan()`; `leaveExample()`; `replacePlan(coordinates, {example = false} = {})`; `undo()`; `setFix(next)`; `fieldState(sample)`; `refreshSources()`; `guidanceText()`; `nativeLayer(id)`; `syncInfrastructureControls()` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/g203-03-gps-camera-candidate.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Orient17a Walk - File: gridatlas/atlas/modules/202612040055-orient17a-walk.js (JavaScript, 352 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612040055-orient17a-walk.js#L1-L352 - Page: https://code.globalgrid2050.com/explore-code/s/0573.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that resets recovery (`resetRecovery`), attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode and SatNav route objective. - What it achieves (comment): It resets recovery (`resetRecovery`), attaches map (`attachMap`) and syncs plan (`syncPlan`). Location and camera remain owned by the waypoint cartridge. It responds to resize, fullscreenchange and webkitfullscreenchange events. - What it does: It maps its content. Defines 19 functions or classes, including mount, routed, unsupported, choose, resetRecovery. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'walk'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: form fields (user input). - Signatures: `mount()`; `routed()`; `unsupported()`; `choose()`; `resetRecovery()`; `manualRecovery(sample)`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `renderRegional(sample)`; `show(snapshot)`; `render()`; `stopWalk(reason)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/202612040110-orient17b-walk.js) · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Orient17b Walk - File: gridatlas/atlas/modules/202612040110-orient17b-walk.js (JavaScript, 354 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612040110-orient17b-walk.js#L1-L354 - Page: https://code.globalgrid2050.com/explore-code/s/0574.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that resets recovery (`resetRecovery`), attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode and SatNav route objective. - What it achieves (comment): It resets recovery (`resetRecovery`), attaches map (`attachMap`) and syncs plan (`syncPlan`). Location and camera remain owned by the waypoint cartridge. It responds to resize, fullscreenchange and webkitfullscreenchange events. - What it does: It maps its content. Defines 19 functions or classes, including mount, routed, unsupported, choose, resetRecovery. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'walk'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: form fields (user input). - Signatures: `mount()`; `routed()`; `unsupported()`; `choose()`; `resetRecovery()`; `manualRecovery(sample)`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `renderRegional(sample)`; `label(mode.value==='walking'?'Walking · mapped distance':objective.value==='fastest'?'Driving · estimated time':'Driving · ...)`; `show(snapshot)`; `render()`; `stopWalk(reason)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Orient17a Compass - File: gridatlas/atlas/modules/202612040126-orient17a-compass.js (JavaScript, 86 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/202612040126-orient17a-compass.js#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/0574.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that resets heading (`resetHeading`) and draws SVG graphics. - What it achieves (comment): It resets heading (`resetHeading`) and is built from the mount step (`mount`) and the screen angle helper (`screenAngle`). ORIENT-17A: compact view of the existing survey GPS and manual controller. It responds to deviceorientation, deviceorientationabsolute and change events. - What it does: It draws its content. Defines 7 functions or classes, including mount, resetHeading, screenAngle, attach, render. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'compass'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Out: SVG drawing. - Signatures: `mount()`; `resetHeading()`; `screenAngle()`; `attach()`; `render()`; `invalidate()`; `stop(status='stopped')` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### G203 03 Gps Camera Candidate - File: gridatlas/atlas/modules/g203-03-gps-camera-candidate.js (JavaScript, 735 lines) · role geodesy · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g203-03-gps-camera-candidate.js#L1-L735 - Page: https://code.globalgrid2050.com/explore-code/s/0575.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps substations and 11kV. It sets panel open (`setPanelOpen`), updates text (`updateText`) and refreshes guidance (`refreshGuidance`). - What it achieves (comment): Unified GridAtlas/SatNav candidate. Derived from the immutable 2 km convergence cartridge; native shell geometry stays owned by GridAtlas. Its code works with 11 kV and 33 kV. It responds to click, visibilitychange and offline events. - What it does: It maps substations and 11kV. Defines 40 functions or classes, including setPanelOpen, notify, updateText, distanceText, bearingText. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'gps'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: substations, 11kV, 33kV. - Inputs & outputs: Voltage levels named: 33kV, 11kV. - Downstream impact: Used directly by 1 file: G203 03 Gps Camera Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `setPanelOpen(open)`; `notify(name, detail)`; `updateText(element, value)`; `distanceText(metres)`; `bearingText(degrees)`; `collection(features)`; `cameraTarget(map,fix,streetZoom)`; `shouldAcceptCameraFix(fix,quality,requestedAt,hidden)`; `pauseFollow()`; `pauseGesture(event)`; `refreshGuidance()`; `changePlan()`; `edit(operation)`; `setPin(which, at, fromGps = false)`; `place(at, fromGps = false)`; `restoreLocalPlan()`; `leaveExample()`; `replacePlan(coordinates, {example = false} = {})`; `undo()`; `setFix(next)`; `fieldState(sample)`; `refreshSources()`; `guidanceText()`; `nativeLayer(id)`; `syncInfrastructureControls()` (and 15 more) - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV, 11kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### G203 Compact Dock - File: gridatlas/atlas/modules/g203-compact-dock.js (JavaScript, 46 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g203-compact-dock.js#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/0576.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas. It is built from the mount step (`mount`) and the ready step (`ready`). - What it achieves (comment): G203-01: one native layout owner; original controls and listeners retained. It responds to satnav, pageshow and pagehide events. - What it does: It draws its content. Defines mount, ready. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `mount()`; `ready()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### G203 Regional Data Viewport - File: gridatlas/atlas/modules/g203-regional-data-viewport.js (JavaScript, 219 lines) · role storage · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g203-regional-data-viewport.js#L1-L219 - Page: https://code.globalgrid2050.com/explore-code/s/0576.html#f3 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that reads grid UK Power Networks (UKPN) secondary, UKPN transformers and 11kV, using SHA-256 from the data-grid-GB repository. - What it achieves (comment): It registers pinned (`registerPinned`) and is built from the shared database helper (`sharedDatabase`) and the details for helper (`detailsFor`). Native `ukConfig` extension, pinned UKPN transformer archive. Its code works with 11 kV and 400 kV. It reads `grid_ukpn_secondary.parquet`. - What it does: It loads grid UKPN secondary, UKPN transformers and 11kV. Defines 14 functions or classes, including sharedDatabase, registerPinned, detailsFor, scalar, normalize. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV, 400kV. - Inputs & outputs: In: data source: data-grid-gb data; Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet; DuckDB queries. Voltage levels named: 400kV, 11kV. - Signatures: `sharedDatabase()`; `registerPinned(database,name)`; `detailsFor(site)`; `scalar(v)`; `normalize(raw)`; `unpack(bytes)`; `extend(options)`; `load()`; `viewportBounds(west,south,east,north,padding=0.15)`; `latitudePad(north-south)`; `outward(a,z)`; `viewportSQL(west,south,east,north,padding=0.15)`; `includesPoint(b,lon,lat)`; `viewportFeatures(west,south,east,north)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: data-grid-gb data; Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet; DuckDB queries]; out []; crs []; voltages [400kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### G203 Regional Native Viewport - File: gridatlas/atlas/modules/g203-regional-native-viewport.js (JavaScript, 8664 lines) · role geodesy · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g203-regional-native-viewport.js#L1-L8664 - Page: https://code.globalgrid2050.com/explore-code/s/0576.html#f4 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps elizabeth line and london underground, using haversine, and uses data from the ventus-grid-engine, data-federation-map-for-GlobalGrid2050-all-repos and spiders repositories. - What it achieves (comment): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). ASSEMBLED by `tools/build-cartridge.mjs` from the parts below. Its code works with 400 kV, 100 MVA and 132 kV. It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 241 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 750kV, 400kV, 275kV, 132kV, 66kV, 33kV. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; data source: npm data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson. Out: downloaded file gridatlas-; downloaded file globalgrid2050-grid-atlas-; interactive map; canvas drawing; SVG drawing. Voltage levels named: 750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Downstream impact: Used directly by 1 file: G203 Swarm 06 Viewport Lifecycle Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawEdgeDots(i)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; data source: npm data; GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson]; out [downloaded file gridatlas-; downloaded file globalgrid2050-grid-atlas-; interactive map; canvas drawing; SVG drawing]; crs []; voltages [750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 2 estate files (estate-url 2); used by 1; mentioned by 0 ### G203 Vicinity Controls Rescue - File: gridatlas/atlas/modules/g203-vicinity-controls-rescue.js (JavaScript, 132 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g203-vicinity-controls-rescue.js#L1-L132 - Page: https://code.globalgrid2050.com/explore-code/s/0588.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that works with float layers (`floatLayers`) and full mode (`fullMode`) (units: MW). - What it achieves (comment): It is built from the answered step (`answered`), the float layers helper (`floatLayers`) and the wake step (`wake`). The V9.194 launcher put this button INSIDE the map-controls stacking context. It responds to visibilitychange, pagehide and click events. - What it does: Defines 8 functions or classes, including answered, floatLayers, wake, fallback, tick. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `tech(q.get('technology')||'')`; `answered()`; `floatLayers()`; `wake()`; `fallback()`; `tick()`; `later()`; `fullMode()`; `reflect()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### G204 Compact Dock - File: gridatlas/atlas/modules/g204-compact-dock.js (JavaScript, 50 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g204-compact-dock.js#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0589.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas. It is built from the mount step (`mount`) and the ready step (`ready`). - What it achieves (comment): G203-01: one native layout owner; original controls and listeners retained. It responds to satnav, pageshow and pagehide events. - What it does: It draws its content. Defines mount, ready. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `mount()`; `ready()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/g203-compact-dock.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### G204 Gps Camera - File: gridatlas/atlas/modules/g204-gps-camera.js (JavaScript, 731 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g204-gps-camera.js#L1-L731 - Page: https://code.globalgrid2050.com/explore-code/s/0589.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps substations and 11kV. It sets panel open (`setPanelOpen`), updates text (`updateText`) and refreshes guidance (`refreshGuidance`). - What it achieves (comment): Unified GridAtlas/SatNav candidate. Derived from the immutable 2 km convergence cartridge; native shell geometry stays owned by GridAtlas. Its code works with 11 kV and 33 kV. It responds to click, visibilitychange and offline events. - What it does: It maps substations and 11kV. Defines 40 functions or classes, including setPanelOpen, notify, updateText, distanceText, bearingText. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'gps'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: substations, 11kV, 33kV. - Inputs & outputs: Voltage levels named: 33kV, 11kV. - Signatures: `setPanelOpen(open)`; `notify(name, detail)`; `updateText(element, value)`; `distanceText(metres)`; `bearingText(degrees)`; `collection(features)`; `cameraTarget(map,fix,streetZoom)`; `shouldAcceptCameraFix(fix,quality,requestedAt,hidden)`; `pauseFollow()`; `pauseGesture(event)`; `refreshGuidance()`; `changePlan()`; `edit(operation)`; `setPin(which, at, fromGps = false)`; `place(at, fromGps = false)`; `restoreLocalPlan()`; `leaveExample()`; `replacePlan(coordinates, {example = false} = {})`; `undo()`; `setFix(next)`; `fieldState(sample)`; `refreshSources()`; `guidanceText()`; `nativeLayer(id)`; `syncInfrastructureControls()` (and 15 more) - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/g203-03-gps-camera-candidate.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### G204 Start Walk - File: gridatlas/atlas/modules/g204-start-walk.js (JavaScript, 287 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/g204-start-walk.js#L1-L287 - Page: https://code.globalgrid2050.com/explore-code/s/0590.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode. - What it achieves (comment): It attaches map (`attachMap`), syncs plan (`syncPlan`) and stops walk (`stopWalk`). Explicit walking on the existing field map. It responds to resize, fullscreenchange and webkitfullscreenchange events. - What it does: It maps its content. Defines 13 functions or classes, including mount, choose, distance, bearing, clearHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'walk'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: form fields (user input). - Signatures: `mount()`; `choose()`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `render()`; `stopWalk(reason)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/202611281800-satnav-gate-walk.js) · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Convergence 2km Gate Walk - File: gridatlas/atlas/modules/satnav-convergence-2km-gate-walk.js (JavaScript, 288 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/satnav-convergence-2km-gate-walk.js#L1-L288 - Page: https://code.globalgrid2050.com/explore-code/s/0590.html#f3 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that attaches map (`attachMap`), syncs plan (`syncPlan`) and reads inputs for SatNav walk mode. - What it achieves (comment): It attaches map (`attachMap`), syncs plan (`syncPlan`) and stops walk (`stopWalk`). Explicit walking on the existing field map. It responds to resize, fullscreenchange and webkitfullscreenchange events. - What it does: It maps its content. Defines 13 functions or classes, including mount, choose, distance, bearing, clearHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: form fields (user input). - Signatures: `mount()`; `choose()`; `distance(m)`; `bearing(n)`; `clearHeader()`; `draw()`; `attachMap()`; `clearRoute(status)`; `calculate(points, revision)`; `syncPlan()`; `liveRoute(fix)`; `render()`; `stopWalk(reason)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/202611281800-satnav-gate-walk.js) · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Convergence 2km Waypoint Map - File: gridatlas/atlas/modules/satnav-convergence-2km-waypoint-map.js (JavaScript, 605 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/satnav-convergence-2km-waypoint-map.js#L1-L605 - Page: https://code.globalgrid2050.com/explore-code/s/0591.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps substations and 11kV. It updates text (`updateText`), refreshes guidance (`refreshGuidance`) and sets pin (`setPin`). - What it achieves (comment): Based on the immutable PR113 compact map and GPS lifecycle. Its code works with 11 kV and 33 kV. It responds to visibilitychange, offline and online events. - What it does: It maps substations and 11kV. Defines 33 functions or classes, including notify, updateText, distanceText, bearingText, collection. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: substations, 11kV, 33kV. - Inputs & outputs: Voltage levels named: 33kV, 11kV. - Signatures: `notify(name, detail)`; `updateText(element, value)`; `distanceText(metres)`; `bearingText(degrees)`; `collection(features)`; `refreshGuidance()`; `changePlan()`; `edit(operation)`; `setPin(which, at, fromGps = false)`; `place(at, fromGps = false)`; `restoreLocalPlan()`; `leaveExample()`; `replacePlan(coordinates, {example = false} = {})`; `undo()`; `setFix(next)`; `fieldState(sample)`; `refreshSources()`; `guidanceText()`; `nativeLayer(id)`; `syncInfrastructureControls()`; `render()`; `arm(which)`; `mapClick(event)`; `selectedIndex()`; `stopTracking(message)` (and 9 more) - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Unified Waypoint Map Agent1 - File: gridatlas/atlas/modules/satnav-unified-waypoint-map-agent1.js (JavaScript, 669 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/satnav-unified-waypoint-map-agent1.js#L1-L669 - Page: https://code.globalgrid2050.com/explore-code/s/0592.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps substations and 11kV. It sets panel open (`setPanelOpen`), updates text (`updateText`) and refreshes guidance (`refreshGuidance`). - What it achieves (comment): Derived from the immutable 2 km convergence cartridge; native shell geometry stays owned by GridAtlas. Its code works with 11 kV and 33 kV. It responds to click, visibilitychange and offline events. - What it does: It maps substations and 11kV. Defines 35 functions or classes, including setPanelOpen, notify, updateText, distanceText, bearingText. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: substations, 11kV, 33kV. - Inputs & outputs: Voltage levels named: 33kV, 11kV. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `setPanelOpen(open)`; `notify(name, detail)`; `updateText(element, value)`; `distanceText(metres)`; `bearingText(degrees)`; `collection(features)`; `pauseFollow()`; `refreshGuidance()`; `changePlan()`; `edit(operation)`; `setPin(which, at, fromGps = false)`; `place(at, fromGps = false)`; `restoreLocalPlan()`; `leaveExample()`; `replacePlan(coordinates, {example = false} = {})`; `undo()`; `setFix(next)`; `fieldState(sample)`; `refreshSources()`; `guidanceText()`; `nativeLayer(id)`; `syncInfrastructureControls()`; `render()`; `arm(which)`; `mapClick(event)` (and 12 more) - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV, 11kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Unified Destination Contract - File: gridatlas/atlas/modules/unified-destination-contract.mjs (JavaScript, 76 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/unified-destination-contract.mjs#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/0593.html#f1 - Synopsis: A JavaScript module in the atlas folder of GridAtlas that creates destination gate (`createDestinationGate`) and validates destination leg (`validateDestinationLeg`). It creates destination gate (`createDestinationGate`) and validates destination leg (`validateDestinationLeg`). - What it achieves (comment): GridAtlas V9.201 — synchronous search ownership; no DOM, GPS or network side effects. - What it does: It calculates its inputs. Defines 8 functions or classes, including createDestinationGate, invalidate, onInput, beginRequest, publish. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Unified Destination Contract Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export createDestinationGate()`; `export validDestinationCoordinate(at)`; `export validateDestinationLeg(previous, destination, distanceKm)`; `invalidate()`; `onInput(query)`; `beginRequest(ticket)`; `publish(ticket, results)`; `transfer(handle, commit)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Unified Destination Unlimited - File: gridatlas/atlas/modules/unified-destination-unlimited.mjs (JavaScript, 76 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/unified-destination-unlimited.mjs#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/0593.html#f2 - Synopsis: A JavaScript module in the atlas folder of GridAtlas that creates destination gate (`createDestinationGate`) and validates destination leg (`validateDestinationLeg`). It creates destination gate (`createDestinationGate`) and validates destination leg (`validateDestinationLeg`). - What it achieves (comment): GridAtlas V9.201 — synchronous search ownership; no DOM, GPS or network side effects. - What it does: It calculates its inputs. Defines 8 functions or classes, including createDestinationGate, invalidate, onInput, beginRequest, publish. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Distance Dock Proof (gridatlas). - Signatures: `export createDestinationGate()`; `export validDestinationCoordinate(at)`; `export validateDestinationLeg(previous, destination, distanceKm)`; `invalidate()`; `onInput(query)`; `beginRequest(ticket)`; `publish(ticket, results)`; `transfer(handle, commit)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/modules/unified-destination-contract.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Unified Layer Catalogue - File: gridatlas/atlas/modules/unified-layer-catalogue.mjs (JavaScript, 91 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/unified-layer-catalogue.mjs#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/0593.html#f3 - Synopsis: A JavaScript module in the atlas folder of GridAtlas that works with canonical voltage (`canonicalVoltage`) (units: kV). It normalizes layer text (`normalizeLayerText`) and creates layer catalogue (`createLayerCatalogue`). - What it achieves (comment): Metadata only: no DOM, network or map ownership. - What it does: It calculates its inputs. Defines 7 functions or classes, including canonicalVoltage, normalizeLayerText, createLayerCatalogue, cmp, register. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 3 files: Unified Layer Search UI (gridatlas); Unified Catalogue Independent Test (gridatlas); Unified Layer Catalogue Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export normalizeLayerText(value)`; `export createLayerCatalogue(initial = [])`; `canonicalVoltage(quantity, unit)`; `cmp(a,b)`; `register(entries)`; `remove(id)`; `search(query = '', {page=1,pageSize=100,selectedOnly=false,selectedIds=new Set()} = {})`; `skip(page-1)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Unified Layer Search UI - File: gridatlas/atlas/modules/unified-layer-search-ui.mjs (JavaScript, 105 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/unified-layer-search-ui.mjs#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/0593.html#f4 - Synopsis: A JavaScript module in the atlas folder of GridAtlas that resets page (`resetPage`). - What it achieves (comment): It resets page (`resetPage`) and is built from the tidy step (`tidy`) and the install unified layer search helper (`installUnifiedLayerSearch`). G201-06: additive search projection over the existing native Grid menu. It responds to click, input and change events. - What it does: It draws its content. Defines 10 functions or classes, including tidy, installUnifiedLayerSearch, inventory, make, button. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `export installUnifiedLayerSearch(doc = document)`; `tidy(text)`; `inventory()`; `make(tag,text)`; `button(text)`; `clearProjection()`; `render()`; `resetPage()`; `refresh()`; `onNativeChange()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Unified Native Gazetteer - File: gridatlas/atlas/modules/unified-native-gazetteer.js (JavaScript, 973 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/modules/unified-native-gazetteer.js#L1-L973 - Page: https://code.globalgrid2050.com/explore-code/s/0593.html#f5 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps Renewable Energy Planning Database (REPD) projects and offshore coordinates, using SHA-256, and uses data from postcodes.io and OpenStreetMap Nominatim. - What it achieves (comment): It marks deep link cancelled (`markDeepLinkCancelled`), normalises compact (`normaliseCompact`) and parses groups (`parseGroups`). V9.201 candidate derivative; original native gazetteer remains byte-identical. It responds to gridatlas, click and input events. - What it does: It maps REPD projects, offshore coordinates, postcodes and the REPD register. Defines 44 functions or classes, including invalidateSearch, invariant, arrivalCoordinator, markDeepLinkCancelled, invalidatePendingDeepLink. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register. - Inputs & outputs: In: data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; JSON file offshore-coordinates.json; DuckDB queries. Out: interactive map. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `invalidateSearch()`; `invariant(condition, message)`; `arrivalCoordinator()`; `markDeepLinkCancelled(reason, epoch = null)`; `invalidatePendingDeepLink(reason)`; `escapeHtml(value)`; `sqlString(value)`; `normaliseCompact(value)`; `parseGroups(query)`; `sha256Hex(bytes)`; `verifyManifest()`; `sharedDuckDBRuntime(moduleUrl)`; `runtime()`; `resetOfficialRuntime()`; `installMapCapture()`; `construct(target, args, newTarget)`; `buildWhere(query)`; `buildScore(query)`; `rowObject(row)`; `queryOfficialRepd(query, serial = null, stillOwned = null)`; `hasSafeMapPoint(result)`; `loadDerivedCoordinates()`; `derivedCoordinateFor(repdRef)`; `setDeepLink(result)`; `selectResult(result, options = {})` (and 15 more) - VEDIC: QUERY (GG2050-VEDIC-000046): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_predicate - VEDIC: SCORE (GG2050-VEDIC-000047): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_sort_expression - VEDIC: UK GEOCODE (GG2050-VEDIC-000048): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> uk_location_candidates - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; JSON file offshore-coordinates.json; DuckDB queries]; out [interactive map]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Ventus Corev8engine Layer Availability - File: gridatlas/atlas/parts/202609040212-ventus-corev8engine-layer-availability.js (JavaScript, 1541 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202609040212-ventus-corev8engine-layer-availability.js#L1-L1541 - Page: https://code.globalgrid2050.com/explore-code/s/0595.html#f1 - Synopsis: A JavaScript file in the parts folder of GridAtlas that maps elizabeth line, london underground, UK metros trams and HS2, using haversine. - What it achieves (code): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). It reads `/uk_renewables_pipeline/v9/data/v9.1/build_manifest.json`. It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 64 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; JSON file build_manifest.json; GeoJSON file grid_400kv.geojson; form fields (user input). Out: interactive map. - Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()`; `openPopup(lngLat, html, maxWidth)` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/parts/202609040229-ventus-corev8engine-exact-repd-delegation.js) · essay_status: readme_derived - data_contracts: in [GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; JSON file build_manifest.json; GeoJSON file grid_400kv.geojson; form fields (user input)]; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Ventus Corev8engine Exact Renewable Energy Planning Database (REPD) Delegation - File: gridatlas/atlas/parts/202609040229-ventus-corev8engine-exact-repd-delegation.js (JavaScript, 1497 lines) · role geodesy · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202609040229-ventus-corev8engine-exact-repd-delegation.js#L1-L1497 - Page: https://code.globalgrid2050.com/explore-code/s/0597.html#f2 - Synopsis: A JavaScript file in the parts folder of GridAtlas that maps elizabeth line, london underground, UK metros trams and HS2, using haversine. - What it achieves (code): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 64 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; GeoJSON file grid_400kv.geojson; form fields (user input). Out: interactive map. - Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()`; `openPopup(lngLat, html, maxWidth)` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; GeoJSON file grid_400kv.geojson; form fields (user input)]; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Ventus Corev8engine Polyzone Grabbable - File: gridatlas/atlas/parts/202609060254-ventus-corev8engine-polyzone-grabbable.js (JavaScript, 1576 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202609060254-ventus-corev8engine-polyzone-grabbable.js#L1-L1576 - Page: https://code.globalgrid2050.com/explore-code/s/0599.html#f2 - Synopsis: A JavaScript file in the parts folder of GridAtlas that maps elizabeth line, london underground, UK metros trams and HS2, using haversine. - What it achieves (code): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 67 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; GeoJSON file grid_400kv.geojson; form fields (user input). Out: interactive map. - Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawEdgeDots(i)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; GeoJSON file grid_400kv.geojson; form fields (user input)]; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Place Global Search Renewable Energy Planning Database (REPD) 2026q3 - File: gridatlas/atlas/parts/202611132345-place-global-search-repd-2026q3.js (JavaScript, 913 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/parts/202611132345-place-global-search-repd-2026q3.js#L1-L913 - Page: https://code.globalgrid2050.com/explore-code/s/0602.html#f1 - Synopsis: A JavaScript file in the parts folder of GridAtlas that maps REPD projects, offshore coordinates, postcodes and the REPD register, using SHA-256, and uses data from postcodes.io and OpenStreetMap Nominatim. - What it achieves (code): It marks deep link cancelled (`markDeepLinkCancelled`), normalises compact (`normaliseCompact`) and parses groups (`parseGroups`). Its `buildWhere` function gives SQL predicate from query text (VEDIC: query). It responds to gridatlas, click and input events. - What it does: It maps REPD projects, offshore coordinates, postcodes and the REPD register. Defines 41 functions or classes, including invariant, arrivalCoordinator, markDeepLinkCancelled, invalidatePendingDeepLink, escapeHtml. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register. - Inputs & outputs: In: data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; JSON file offshore-coordinates.json; DuckDB queries. Out: interactive map. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `invariant(condition, message)`; `arrivalCoordinator()`; `markDeepLinkCancelled(reason, epoch = null)`; `invalidatePendingDeepLink(reason)`; `escapeHtml(value)`; `sqlString(value)`; `normaliseCompact(value)`; `parseGroups(query)`; `sha256Hex(bytes)`; `verifyManifest()`; `sharedDuckDBRuntime(moduleUrl)`; `runtime()`; `resetOfficialRuntime()`; `installMapCapture()`; `construct(target, args, newTarget)`; `buildWhere(query)`; `buildScore(query)`; `rowObject(row)`; `queryOfficialRepd(query, serial = null, stillOwned = null)`; `hasSafeMapPoint(result)`; `loadDerivedCoordinates()`; `derivedCoordinateFor(repdRef)`; `setDeepLink(result)`; `selectResult(result, options = {})`; `geocoderGet(path, query)` (and 15 more) - VEDIC: QUERY (GG2050-VEDIC-000046): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_predicate - VEDIC: SCORE (GG2050-VEDIC-000047): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_sort_expression - VEDIC: UK GEOCODE (GG2050-VEDIC-000048): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> uk_location_candidates - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/cartridges/202611180026-place-global-search-v9-5.js) · essay_status: readme_derived - data_contracts: in [data source: postcodes.io; data source: OpenStreetMap Nominatim; Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json; JSON file offshore-coordinates.json; DuckDB queries]; out [interactive map]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Preview — Lightning Page - File: gridatlas/atlas/preview/lightning/index.html (HTML, 115 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/preview/lightning/index.html#L1-L115 - Page: https://code.globalgrid2050.com/explore-code/s/0603.html#f2 - Published at: https://gridatlas.globalgrid2050.com/atlas/preview/lightning/ - Synopsis: A web page in the atlas folder of GridAtlas that works with escape attribute (`escapeAttribute`) and sha256 hex (`sha256Hex`), using SHA-256. Published at https://gridatlas.globalgrid2050.com/atlas/preview/lightning/. - What it achieves (readme): It is built from the invariant step (`invariant`), the escape attribute helper (`escapeAttribute`) and the sha256 hex helper (`sha256Hex`). The README says: `atlas/index.html` is the stable composer. It reads `./current.json`. - What it does: It draws its content. Defines invariant, escapeAttribute, sha256Hex, fail. Uses libraries ${escapeAttribute(blobUrl)}, ' + escapeAttribute(weatherBlob) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`atlas/index.html` is the stable composer." - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/preview/lightning/. - Signatures: `invariant(condition, message)`; `escapeAttribute(value)`; `sha256Hex(bytes)`; `fail(error)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Weather Module - File: gridatlas/atlas/preview/lightning/weather-module.js (JavaScript, 194 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/preview/lightning/weather-module.js#L1-L194 - Page: https://code.globalgrid2050.com/explore-code/s/0603.html#f3 - Published at: https://gridatlas.globalgrid2050.com/atlas/preview/lightning/ - Synopsis: A JavaScript file in the lightning folder of GridAtlas that maps UK lightning and uses data from the lightning repository. Served with the page at https://gridatlas.globalgrid2050.com/atlas/preview/lightning/. - What it achieves (comment): It appends layers (`appendToLayers`) and sets active (`setActive`). Public UK Lightning, isolated from the immutable 60+3 control contract. It responds to change events. - What it does: It maps UK lightning. Defines install, appendToLayers, status, hydrate, setActive. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "It changes ONLY its isolated `streaming-parquet-bridge` to ignore cross-origin files, and injects `weather-module.js` verified by SHA-256." - Inputs & outputs: In: data source: lightning data; GeoJSON file uk_lightning.geojson. Out: interactive map. - Signatures: `install()`; `appendToLayers(hostId,kind)`; `status(word,details)`; `hydrate()`; `setActive(visible)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: lightning data; GeoJSON file uk_lightning.geojson]; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Renewable Energy Planning Database (REPD) Address Flyto - File: gridatlas/atlas/releases/202608291237-atlas-v9/cartridges/202608290716-repd-address-flyto.mjs (JavaScript, 113 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608291237-atlas-v9/cartridges/202608290716-repd-address-flyto.mjs#L1-L113 - Page: https://code.globalgrid2050.com/explore-code/s/0603.html#f4 - Synopsis: A JavaScript module in the cartridges folder of GridAtlas that normalizes search (`normalizeSearchText`), parses atlas query (`parseAtlasQuery`) and scores record (`scoreRecord`) (units: MW), covering the REPD register and postcodes. - What it achieves (name): It normalizes search text (`normalizeSearchText`), parses atlas query (`parseAtlasQuery`) and scores record (`scoreRecord`). Defines `normalizeSearchText`, `parseAtlasQuery`, `searchable` and 5 more. It responds to click and keydown events. - What it does: It draws the REPD register and postcodes. Defines 8 functions or classes, including normalizeSearchText, parseAtlasQuery, searchable, scoreRecord, rankRepdProjects. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, postcodes. - Downstream impact: Used directly by 2 files: Atlas V9 (gridatlas); UI Atlas V9 (gridatlas, https://gridatlas.globalgrid2050.com/ui/site/). - Signatures: `export normalizeSearchText(value)`; `export parseAtlasQuery(raw)`; `export rankRepdProjects(records, rawQuery, limit = 20)`; `export mountRepdAddressFlyTo({ map, records, root, onSelected = () => {} })`; `searchable(record)`; `scoreRecord(record, parsed)`; `text(tag, value, className)`; `run()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Atlas V9 - File: gridatlas/atlas/releases/202608291430-atlas-v9/assets/atlas-v9.mjs (JavaScript, 501 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608291430-atlas-v9/assets/atlas-v9.mjs#L1-L501 - Page: https://code.globalgrid2050.com/explore-code/s/0604.html#f1 - Synopsis: A JavaScript module in the assets folder of GridAtlas that maps UK primary roads, UK trunk roads, UK motorways and UK mainline railways, and uses data from OpenStreetMap tiles. - What it achieves (name): It sets selected URL (`setSelectedUrl`), marks map unavailable (`markMapUnavailable`) and adds project layers (`addProjectLayers`). Defines `popupNode`, `layerPopupNode`, `setSelectedUrl` and 20 more. It responds to change, click and pagehide events. - What it does: It maps UK primary roads, UK trunk roads, UK motorways and UK mainline railways. Defines 23 functions or classes, including popupNode, layerPopupNode, setSelectedUrl, hasMappableGeometry, select. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap tiles; Parquet file uk_primary_roads.parquet; Parquet file uk_trunk_roads.parquet; Parquet file uk_motorways.parquet; Parquet file uk_mainline_railways.parquet. Out: interactive map. - Signatures: `popupNode(record)`; `layerPopupNode(feature, layer)`; `setSelectedUrl(record)`; `hasMappableGeometry(record)`; `select(record)`; `flyTo(options)`; `markMapUnavailable(error)`; `addProjectLayers(records)`; `sourceId(layer)`; `renderLayerIds(layer)`; `minimumZoom(layer)`; `mapBounds()`; `createLayerManager(layers)`; `removeRendered(layer)`; `bindRendered(layer)`; `handler(event)`; `putRendered(layer, geojson)`; `refresh(layer, force = false)`; `activate(layer, checkbox)`; `renderControls()`; `loadDefaults()`; `initialiseMap(records, onReady)`; `resolveRequestedDeepLink(release)`; `boot()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap tiles; Parquet file uk_primary_roads.parquet; Parquet file uk_trunk_roads.parquet; Parquet file uk_motorways.parquet; Parquet file uk_mainline_railways.parquet]; out [interactive map]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 1 ### Data GridAtlas Client - File: gridatlas/atlas/releases/202608291430-atlas-v9/assets/data-gridatlas-client.mjs (JavaScript, 300 lines) · role storage · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608291430-atlas-v9/assets/data-gridatlas-client.mjs#L1-L300 - Page: https://code.globalgrid2050.com/explore-code/s/0605.html#f1 - Synopsis: A JavaScript module in the assets folder that fetches membership and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It normalises base URL (`normaliseBaseUrl`), validates release manifest (`validateReleaseManifest`) and fetches verified JSON (`fetchVerifiedJson`). Defines `invariant`, `hasPlaceholder`, `normaliseBaseUrl` and 21 more. - What it does: It fetches membership and the REPD register. Defines 24 functions or classes, including invariant, hasPlaceholder, normaliseBaseUrl, validateReleaseManifest, sha256Hex. Side effects: makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file release.json; JSON file browser-layer-registry.json; Parquet file layer_membership.parquet; JSON file release-manifest.json; DuckDB queries. Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: Atlas V9 (gridatlas); Renewable Energy Planning Database (REPD) Routing Client (gridatlas). - Signatures: `export validateReleaseManifest(manifest, { sealed = true } = {})`; `export fetchVerifiedJson(url, expectedSha256, expectedBytes = null)`; `export validateDataClosure(release, dataRelease, registry)`; `export normaliseBounds(bounds)`; `export buildLayerQuery(release, layer, bounds)`; `export rowsToGeoJSON(rows, layer)`; `export loadReleaseContract(manifestUrl = "./release-manifest.json")`; `export loadDataCatalog(release)`; `export createGridAtlasDataClient(release, { onStatus = () => {} } = {})`; `invariant(condition, message)`; `hasPlaceholder(value)`; `normaliseBaseUrl(value)`; `sha256Hex(bytes)`; `dataUrl(release, path)`; `payloadUrl(release, path)`; `flattenLayers(registry)`; `sqlLiteral(value)`; `finiteBound(value, name)`; `plainArrowRow(row)`; `instantiateDuckDb(release, onStatus)`; `runtime()`; `queryLayer(layer, bounds)`; `task()`; `close()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release.json; JSON file browser-layer-registry.json; Parquet file layer_membership.parquet; JSON file release-manifest.json; DuckDB queries]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Renewable Energy Planning Database (REPD) Routing Client - File: gridatlas/atlas/releases/202608291430-atlas-v9/assets/repd-routing-client.mjs (JavaScript, 152 lines) · role energy-data · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608291430-atlas-v9/assets/repd-routing-client.mjs#L1-L152 - Page: https://code.globalgrid2050.com/explore-code/s/0605.html#f2 - Synopsis: A JavaScript module in the assets folder of GridAtlas that works with the REPD register, using SHA-256. - What it achieves (name): It decodes routing projects (`decodeRoutingProjects`), resolves routing record (`resolveRoutingRecord`) and loads routing deep link fallback (`loadRoutingDeepLinkFallback`). Defines `invariant`, `dictionaryValue`, `immutableRoutingUrl` and 4 more. - What it does: It calculates the REPD register. Defines 7 functions or classes, including invariant, dictionaryValue, immutableRoutingUrl, decodeRoutingProjects, resolveRoutingRecord. - Why it exists in the grid workflow: Domain stage field_execution (path word 'routing'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: the REPD register. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Atlas V9 (gridatlas). - Signatures: `export decodeRoutingProjects(payload)`; `export resolveRoutingRecord(decoded, repdRef)`; `export loadRoutingDeepLinkFallback(manifest, repdRef)`; `export clearRoutingCacheForTests()`; `invariant(condition, message)`; `dictionaryValue(dictionaries, name, index)`; `immutableRoutingUrl(manifest, relative)` - domain_stage: field_execution · commercial_user: IPP_developer, EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Place Postcode Search - File: gridatlas/atlas/releases/202608291818-atlas-v9/202608291818-place-postcode-search.js (JavaScript, 325 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608291818-atlas-v9/202608291818-place-postcode-search.js#L1-L325 - Page: https://code.globalgrid2050.com/explore-code/s/0606.html#f1 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps Renewable Energy Planning Database (REPD) projects, postcodes and the REPD register, using SHA-256. - What it achieves (code): It normalises compact (`normaliseCompact`), parses groups (`parseGroups`) and verifies manifest (`verifyManifest`). Its `buildWhere` function gives SQL predicate from query text (VEDIC: query). It responds to click, input and keydown events. - What it does: It maps REPD projects, postcodes and the REPD register. Defines 19 functions or classes, including invariant, escapeHtml, sqlString, normaliseCompact, parseGroups. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register. - Inputs & outputs: In: Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; DuckDB queries. Out: interactive map. - Downstream impact: Used directly by 2 files: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Releases — Atlas V9 Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/). Reached from 95 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html). - Signatures: `invariant(condition, message)`; `escapeHtml(value)`; `sqlString(value)`; `normaliseCompact(value)`; `parseGroups(query)`; `sha256Hex(bytes)`; `verifyManifest()`; `runtime()`; `installMapCapture()`; `construct(target, args, newTarget)`; `buildWhere(query)`; `buildScore(query)`; `rowObject(row)`; `queryOfficialRepd(query)`; `hasSafeMapPoint(result)`; `setDeepLink(result)`; `selectResult(result)`; `renderResults(results, resultsEl)`; `executeSearch(input, resultsEl)`; `bindSearch()` - VEDIC: QUERY (GG2050-VEDIC-000046): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_predicate - VEDIC: SCORE (GG2050-VEDIC-000047): GridAtlas / Search and Vicinity · Geographic information / Infrastructure screening. query_text -> sql_sort_expression - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; DuckDB queries]; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Map Ready Fetch Bridge - File: gridatlas/atlas/releases/202608292126-atlas-v9/202608292126-map-ready-fetch-bridge.js (JavaScript, 251 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608292126-atlas-v9/202608292126-map-ready-fetch-bridge.js#L1-L251 - Page: https://code.globalgrid2050.com/explore-code/s/0606.html#f2 - Synopsis: A JavaScript file in the atlas folder of GridAtlas that reads grid 400kV, grid 275kV, grid 220kV and grid 132kV, using SHA-256 from the data-GridAtlas repository. - What it achieves (name): It maps ready key (`mapReadyKey`), gets manifest (`getManifest`) and gets runtime (`getRuntime`). Defines `invariant`, `requestPath`, `mapReadyKey` and 10 more. - What it does: It loads grid 400kV, grid 275kV, grid 220kV and grid 132kV. Defines 13 functions or classes, including invariant, requestPath, mapReadyKey, legacyStem, sha256Hex. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: data-gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson. - Signatures: `invariant(condition, message)`; `requestPath(input)`; `mapReadyKey(pathname)`; `legacyStem(pathname)`; `sha256Hex(bytes)`; `responseFromBytes(bytes, headers = {})`; `getManifest()`; `getRuntime()`; `resolvePartition(pathname)`; `artifact(manifest.artifacts || [])`; `rowObject(row)`; `queryOnDemand(pathname)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: data-gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Pre Snapped Config Adapter - File: gridatlas/atlas/releases/202608292126-atlas-v9/202608292126-pre-snapped-config-adapter.js (JavaScript, 50 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608292126-atlas-v9/202608292126-pre-snapped-config-adapter.js#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0606.html#f3 - Synopsis: A JavaScript file in the atlas folder of GridAtlas. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Releases — Atlas V9 Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/). Reached from 95 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### MapLibre Worker Bridge - File: gridatlas/atlas/releases/202608292311-atlas-v9/202608292311-maplibre-worker-bridge.js (JavaScript, 223 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608292311-atlas-v9/202608292311-maplibre-worker-bridge.js#L1-L223 - Page: https://code.globalgrid2050.com/explore-code/s/0607.html#f1 - Published at: https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/ - Synopsis: A JavaScript file in the atlas folder of GridAtlas that reads grid 400kV, grid 275kV and grid 220kV, using SHA-256 from the data-GridAtlas repository. Served with the page at https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/. - What it achieves (name): It maps ready key (`mapReadyKey`), gets manifest (`getManifest`) and gets runtime (`getRuntime`). Defines `invariant`, `requestPath`, `mapReadyKey` and 8 more. - What it does: It loads grid 400kV, grid 275kV, grid 220kV and grid 132kV. Defines 11 functions or classes, including invariant, requestPath, mapReadyKey, legacyStem, sha256Hex. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: data-gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson. - Downstream impact: Used directly by 1 file: Releases — Atlas V9 Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/). Reached from 95 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html). It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/. - Signatures: `invariant(condition, message)`; `requestPath(input)`; `mapReadyKey(pathname)`; `legacyStem(pathname)`; `sha256Hex(bytes)`; `getManifest()`; `getRuntime()`; `resolvePartition(pathname)`; `artifact(manifest.artifacts || [])`; `rowObject(row)`; `queryOnDemand(pathname)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: data-gridatlas data; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Releases — Atlas V9 Page - File: gridatlas/atlas/releases/202608292311-atlas-v9/index.html (HTML, 271 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608292311-atlas-v9/index.html#L1-L271 - Page: https://code.globalgrid2050.com/explore-code/s/0607.html#f2 - Published at: https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/ - Synopsis: A web page in GridAtlas that draws grid 400kV, grid 275kV, grid 220kV and grid 132kV. Published at https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/. - What it achieves (comment): UK Region v8 (Experimental). Its code works with 100 kW, 11 kV and 132 kV. - What it does: It draws grid 400kV, grid 275kV, grid 220kV and grid 132kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. README: "`atlas/index.html` is the stable composer." - Inputs & outputs: In: GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson. Out: web page. Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Downstream impact: Used directly by 8 files: GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html); Homepage V031 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v031.html); Homepage V032 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v032.html); and 4 more. Reached from 87 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson]; out [web page]; crs []; voltages [400kV, 275kV, 220kV, 132kV, 66kV, 11kV] - Edges: uses 5 estate files (script-src 4, stylesheet 1); used by 8; mentioned by 0 ### Ventus Corev8engine - File: gridatlas/atlas/releases/202608292311-atlas-v9/ventus-corev8engine.js (JavaScript, 1436 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/releases/202608292311-atlas-v9/ventus-corev8engine.js#L1-L1436 - Page: https://code.globalgrid2050.com/explore-code/s/0608.html#f1 - Published at: https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/ - Synopsis: A JavaScript file in the atlas folder of GridAtlas that maps elizabeth line, london underground, UK metros trams and HS2, using haversine. Served with the page at https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/. - What it achieves (code): It normalizes status (`normalizeStatus`), toggles zone draw mode (`toggleZoneDrawMode`) and opens popup (`openPopup`). Its `snapLines` function gives line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged from line features and substation point features (VEDIC: snap line ends to substations). It reads `/uk_renewables_pipeline/v9/data/v9.1/build_manifest.json`. It responds to fullscreenchange, webkitfullscreenchange and click events. - What it does: It maps elizabeth line, london underground, UK metros trams and hs2. Defines 58 functions or classes, including deepFreeze, escapeHTML, normalizeStatus, fmt, haversine. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; JSON file build_manifest.json; GeoJSON file grid_400kv.geojson; form fields (user input). Out: interactive map. - Downstream impact: Used directly by 2 files: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Releases — Atlas V9 Page (gridatlas, https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/). Reached from 95 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html). It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/releases/202608292311-atlas-v9/. - Signatures: `deepFreeze(obj)`; `escapeHTML(value)`; `normalizeStatus(status)`; `fmt(n, decimals)`; `haversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `_zoneDrawGetRadius()`; `_zoneDrawCirclePoints(lon, lat, radiusKm, n)`; `b(i / n)`; `_zoneDrawCalcArea(pts)`; `j(i + 1)`; `_zoneDrawUpdateLayers(dragOnly)`; `_zoneDrawShowPopup()`; `_zoneDrawShowPopupDebounced()`; `_zoneDrawClear()`; `zoneDrawUndo()`; `toggleZoneDrawMode()`; `_zoneDrawNearVertex(px)`; `_zoneDrawNearEdgeDot(px)`; `_zoneDrawOnClick(e)`; `mpp(km * 2000)`; `_zoneDrawOnMouseDown(e)`; `_zoneDrawOnMouseMove(e)`; `_zoneDrawOnMouseUp()`; `openPopup(lngLat, html, maxWidth)` (and 15 more) - VEDIC: SNAP LINE ENDS TO SUBSTATIONS (GG2050-VEDIC-000106): GridAtlas / Substations · Geospatial data processing. line_features, substation_point_features -> Line features whose first and last vertices are moved onto the nearest substation point within tolerance; other geometry unchanged. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson; JSON file style.json; JSON file build_manifest.json; GeoJSON file grid_400kv.geojson; form fields (user input)]; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Dock UI - File: gridatlas/atlas/testcode/202609110849/dock-ui.js (JavaScript, 149 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/testcode/202609110849/dock-ui.js#L1-L149 - Page: https://code.globalgrid2050.com/explore-code/s/0610.html#f2 - Synopsis: A JavaScript file in the testcode folder of GridAtlas that works with schedule position (`schedulePosition`) and native quick buttons (`nativeQuickButtons`) and reads inputs for sat policy and sat scene. - What it achieves (comment): It is built from the schedule position helper (`schedulePosition`), the scene options helper (`sceneOptions`) and the native quick buttons helper (`nativeQuickButtons`). This is the replacement UI tail of the satellite-only test cartridge. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws its content. Defines 13 functions or classes, including schedulePosition, sceneOptions, nativeQuickButtons, shownRect, bounds. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`dock-ui.js` is the authored UI tail" - Inputs & outputs: In: browser storage (getItem); form fields (user input). Out: browser storage (setItem). - Signatures: `schedulePosition()`; `sceneOptions(selected)`; `nativeQuickButtons()`; `shownRect(e)`; `bounds()`; `overlap(a,b,gap=6)`; `position()`; `clampX(x)`; `clampY(y)`; `dragStart(e)`; `dragMove(e)`; `dragEnd(e)`; `install(m)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [browser storage (getItem); form fields (user input)]; out [browser storage (setItem)]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Browser Proof - File: gridatlas/atlas/testcode/202609111007/browser-proof.py (Python, 125 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/testcode/202609111007/browser-proof.py#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/0610.html#f3 - Published at: https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/ - Synopsis: A Python module in the testcode folder of GridAtlas that draws survey boundary. It toggles quick (`toggle_quick`) and is built from the check step (`check`) and the handler step (`handler`). - What it achieves (comment): Bounded Chrome checks on a candidate or the published Satellite survey test. - What it does: It draws survey boundary. Defines 10 functions or classes, including check, handler, response, req, state. Uses libraries os, pathlib, json, re, shutil. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`browser-proof.py` runs bounded Chrome checks with live external imagery" - Inputs & outputs: In: GeoJSON file EN010101-boundary.geojson; GeoJSON file survey-test-boundary.geojson. Out: JSON file report.json. - Signatures: `check(name, ok, detail=None)`; `handler(route, request, *, data=data, mime=mime, name=name)`; `response(r)`; `req(r)`; `state()`; `snap(name)`; `grid(opened=True)`; `satellite(opened=True)`; `visible_quick()`; `toggle_quick(label,layer)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file EN010101-boundary.geojson; GeoJSON file survey-test-boundary.geojson]; out [JSON file report.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Build - File: gridatlas/atlas/testcode/202609111007/build.py (Python, 22 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/testcode/202609111007/build.py#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0610.html#f4 - Published at: https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/ - Synopsis: A Python module in the testcode folder of GridAtlas that builds an isolated Satellite survey test; production composition is unchanged, using SHA-256. - What it does: It loads data. Uses libraries hashlib, json, pathlib, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Atlas — Testcode Page - File: gridatlas/atlas/testcode/202609111007/index.html (HTML, 70 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/testcode/202609111007/index.html#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/0610.html#f5 - Published at: https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/ - Synopsis: A web page in GridAtlas covering substations, using SHA-256. Published at https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/. It is built from the assert step (`assert`), the escape step (`escape`) and the hash step (`hash`). - What it achieves (comment): GridAtlas Satellite survey test. - What it does: It draws substations. Defines assert, escape, hash, script. Uses libraries '+escape(blob)+', '+escape(addon)+'. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations. README: "`atlas/index.html` is the stable composer." - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/. - Signatures: `assert(ok, message)`; `escape(value)`; `hash(bytes)`; `script(url, expected)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Satellite - File: gridatlas/atlas/testcode/202609111007/satellite.js (JavaScript, 313 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/testcode/202609111007/satellite.js#L1-L313 - Page: https://code.globalgrid2050.com/explore-code/s/0611.html#f1 - Published at: https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/ - Synopsis: A JavaScript file in the testcode folder of GridAtlas that maps survey footprint line, survey boundary case and survey boundary line. Served with the page at https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/. - What it achieves (comment): It updates buttons (`updateButtons`), removes slot (`removeSlot`) and gets catalogue (`getCatalogue`). Satellite-only test cartridge. No project, grid, substation or branding edits. It responds to abort, click and change events. - What it does: It maps survey footprint line, survey boundary case and survey boundary line. Defines 36 functions or classes, including finite, visible, say, containsRing, covers. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: user-supplied file (file picker); form fields (user input). Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `finite(n)`; `visible(id, on)`; `say(text)`; `containsRing(p, ring)`; `covers(item, p)`; `sceneText(item)`; `allowed(url)`; `json(url, signal)`; `orderImagery()`; `updateButtons()`; `cancel()`; `basic(next)`; `removeSlot(slot, owner)`; `awaitTiles(sourceId, signal)`; `done(error)`; `abort()`; `data(e)`; `errorEvent(e)`; `empty()`; `byId(id)`; `dateISO(d)`; `schedulePosition()`; `currentScope()`; `sceneOptions(selected)`; `getCatalogue(scope, signal, force)` (and 12 more) - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker); form fields (user input)]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Survey UI - File: gridatlas/atlas/testcode/202609111007/survey-ui.js (JavaScript, 232 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/testcode/202609111007/survey-ui.js#L1-L232 - Page: https://code.globalgrid2050.com/explore-code/s/0611.html#f2 - Published at: https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/ - Synopsis: A JavaScript file in the testcode folder of GridAtlas that maps survey footprint line, survey boundary case and survey boundary line. Served with the page at https://gridatlas.globalgrid2050.com/atlas/testcode/202609111007/. - What it achieves (comment): It gets catalogue (`getCatalogue`), paints footprint (`paintFootprint`) and explains scene (`explainScene`). Survey UI and boundary/date selection. Original GRID/SUBS nodes are not moved. It responds to click and change events. - What it does: It maps survey footprint line, survey boundary case and survey boundary line. Defines 18 functions or classes, including empty, byId, dateISO, schedulePosition, currentScope. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: user-supplied file (file picker); form fields (user input). Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `empty()`; `byId(id)`; `dateISO(d)`; `schedulePosition()`; `currentScope()`; `sceneOptions(selected)`; `getCatalogue(scope, signal, force)`; `rows(found.features || [])`; `paintFootprint(item)`; `explainScene()`; `showResult(result, token, signal)`; `task(work)`; `sentinel(preferredId = null, force = false)`; `validateBoundary(input)`; `setBoundary(input, name)`; `closeGrid()`; `fitBoundary()`; `compareLabels()`; `install(m)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker); form fields (user input)]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Atlas — V Page - File: gridatlas/atlas/v/202609012141/index.html (HTML, 103 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/v/202609012141/index.html#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/0611.html#f3 - Published at: https://gridatlas.globalgrid2050.com/atlas/v/202609012141/ - Synopsis: A web page in GridAtlas that works with escape attribute (`escapeAttribute`) and sha256 hex (`sha256Hex`), using SHA-256. Published at https://gridatlas.globalgrid2050.com/atlas/v/202609012141/. - What it achieves (readme): It is built from the invariant step (`invariant`), the escape attribute helper (`escapeAttribute`) and the sha256 hex helper (`sha256Hex`). The README says: `atlas/index.html` is the stable composer. It reads `./current.json`. - What it does: It draws its content. Defines invariant, escapeAttribute, sha256Hex, fail. Uses libraries ${escapeAttribute(blobUrl)}. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`atlas/index.html` is the stable composer." - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/v/202609012141/. - Signatures: `invariant(condition, message)`; `escapeAttribute(value)`; `sha256Hex(bytes)`; `fail(error)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Offline Plan Worker - File: gridatlas/atlas/v/satnav-offline-plan-202611281315-worker.js (JavaScript, 33 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/v/satnav-offline-plan-202611281315-worker.js#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0611.html#f4 - Synopsis: A JavaScript file in the atlas folder of GridAtlas. It opens plan (`openPlan`). - What it achieves (comment): A version registers this worker for its own directory after an explicit save. It responds to install, activate and fetch events. - What it does: It fetches data. Defines openPlan. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `openPlan(request)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Atlas — World Page - File: gridatlas/atlas/world/index.html (HTML, 325 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atlas/world/index.html#L1-L325 - Page: https://code.globalgrid2050.com/explore-code/s/0612.html#f1 - Published at: https://gridatlas.globalgrid2050.com/atlas/world/ - Synopsis: A map page in GridAtlas that maps grid 400kV, grid line and scope pt. Published at https://gridatlas.globalgrid2050.com/atlas/world/. - What it achieves (readme): It is built from the close all helper (`closeAll`), the item step (`item`) and the toggle step (`toggle`). The README says: `atlas/index.html` is the stable composer. Its code works with 400 kV. It responds to click and change events. - What it does: It maps grid 400kV, grid line and scope pt. Defines 8 functions or classes, including closeAll, item, toggle, note, Flow. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. README: "`atlas/index.html` is the stable composer." - Inputs & outputs: In: GeoJSON file grid_400kv.geojson. Out: web page; interactive map. Voltage levels named: 400kV. - Downstream impact: Used directly by 2 files: Runners (claude); Summon (claude). It is itself an entry point, published at https://gridatlas.globalgrid2050.com/atlas/world/. - Signatures: `closeAll()`; `item(menu, label, fn)`; `toggle(menu, label, colour, on, fn)`; `note(menu, text)`; `class Flow`; `constructor(segments)`; `onAdd(_, gl)`; `mk(t, s)`; `render(gl, matrix)`; `stat(id, v)`; `bounds(fc)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_400kv.geojson]; out [web page; interactive map]; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Compare Live vs Candidate - File: gridatlas/atman/202608290828-compare-live-vs-candidate.py (Python, 125 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608290828-compare-live-vs-candidate.py#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/0612.html#f2 - Synopsis: A Python command-line tool in the atman folder of GridAtlas that reads postcodes and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): Defines `load_manifest` and `metrics`. It accepts `--incumbent-site`, `--candidate-site` and `--output`. - What it does: It loads postcodes and the REPD register. Defines load_manifest, metrics, main. Uses libraries argparse, hashlib, json, pathlib, duckdb. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register. - Inputs & outputs: In: DuckDB queries; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `load_manifest(site)`; `metrics(connection, relation)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Compare Incumbent Successor - File: gridatlas/atman/202608291239-compare-incumbent-successor.py (Python, 186 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608291239-compare-incumbent-successor.py#L1-L186 - Page: https://code.globalgrid2050.com/explore-code/s/0612.html#f3 - Synopsis: A Python command-line tool in the atman folder of GridAtlas that reads Renewable Energy Planning Database (REPD) browser registry, membership and the REPD register, using SHA-256. - What it achieves (comment): It reads JSON (`read_json`) and is built from the reject duplicate keys helper (`reject_duplicate_keys`) and the sha256 step (`sha256`). Classify every Atlas V9 live-successor promotion goal. It reads `release-manifest.json`. It accepts `--repository`, `--build-a` and `--build-b`. - What it does: It loads REPD browser registry, membership and the REPD register. Defines 7 functions or classes, including reject_duplicate_keys, read_json, sha256, tree, goal. Uses libraries __future__, argparse, hashlib, json, pathlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file release-manifest.json; JSON file browser-layer-registry.json; JSON file repd_browser_registry_202608290716.json; Parquet file layer_membership.parquet; DuckDB queries; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `reject_duplicate_keys(pairs: list[tuple[str, object]])`; `read_json(path: Path)`; `sha256(path: Path)`; `tree(directory: Path)`; `goal(status: str, evidence: object)`; `classified(condition: bool, evidence: object, *, expected_change: bool = False)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release-manifest.json; JSON file browser-layer-registry.json; JSON file repd_browser_registry_202608290716.json; Parquet file layer_membership.parquet; DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Compare Renewable Energy Planning Database (REPD) Coverage - File: gridatlas/atman/202608291430-compare-repd-coverage.mjs (JavaScript, 178 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608291430-compare-repd-coverage.mjs#L1-L178 - Page: https://code.globalgrid2050.com/explore-code/s/0613.html#f1 - Synopsis: A JavaScript module in the atman folder of GridAtlas that reads REPD browser registry and the REPD register, using SHA-256. It parses args (`parseArgs`) and sets hash (`setHash`). - What it achieves (name): Defines `parseArgs`, `sha256`, `tree` and 1 more. - What it does: It loads REPD browser registry and the REPD register. Defines parseArgs, sha256, tree, setHash. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file repd_browser_registry_202608290716.json; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `parseArgs(argv)`; `sha256(value)`; `tree(root, prefix = "")`; `setHash(values)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file repd_browser_registry_202608290716.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Public Browser Readback - File: gridatlas/atman/202608291430-public-browser-readback.mjs (JavaScript, 215 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608291430-public-browser-readback.mjs#L1-L215 - Page: https://code.globalgrid2050.com/explore-code/s/0613.html#f2 - Synopsis: A JavaScript module in the atman folder of GridAtlas that draws grid 400kV snapped, membership and public browser claim, and uses data from the data-GridAtlas repository. - What it achieves (name): It proves sentinel (`proveSentinel`) and is built from the wait ready helper (`waitReady`). Defines `collect`, `waitReady` and `proveSentinel`. Its code works with 400 kV. - What it does: It draws grid 400kV snapped, membership, public browser claim and the REPD register. Defines collect, waitReady, proveSentinel. Uses libraries node:assert/strict, node:fs, node:path, playwright. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, 400kV. - Inputs & outputs: In: data source: data-gridatlas data; Parquet file grid_400kv_snapped.parquet; Parquet file layer_membership.parquet; DuckDB queries; command-line arguments. Out: JSON file 202608291430-public-browser-readback.json; JSON file 202608291430-public-browser-claim.json. Voltage levels named: 400kV. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `collect(page)`; `waitReady(page)`; `proveSentinel(browser, repdRef, expected)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: data-gridatlas data; Parquet file grid_400kv_snapped.parquet; Parquet file layer_membership.parquet; DuckDB queries; command-line arguments]; out [JSON file 202608291430-public-browser-readback.json; JSON file 202608291430-public-browser-claim.json]; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Rendered Browser Audit - File: gridatlas/atman/202608291430-rendered-browser-audit.mjs (JavaScript, 241 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608291430-rendered-browser-audit.mjs#L1-L241 - Page: https://code.globalgrid2050.com/explore-code/s/0613.html#f3 - Synopsis: A JavaScript module in the atman folder of GridAtlas that maps projects and Renewable Energy Planning Database (REPD) browser registry, using SHA-256, and uses data from the data-GridAtlas repository. - What it achieves (name): It maps stub (`MapStub`) and is built from the JSON bytes helper (`jsonBytes`) and the source class (`Source`). Defines `sha256`, `canonical`, `jsonBytes` and 6 more. - What it does: It maps projects, REPD browser registry and the REPD register. Defines 9 functions or classes, including sha256, canonical, jsonBytes, Source, MapStub. Uses libraries node:assert/strict, node:crypto, node:fs, node:http, node:path. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: data-gridatlas data; JSON file projects.json; JSON file release-manifest.json; JSON file repd_browser_registry_202608290716.json; JSON file release.json; JSON file browser-layer-registry.json; command-line arguments. Out: JSON file 202608291430-browser-audit.json. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `sha256(body)`; `canonical(value)`; `jsonBytes(value)`; `class Source`; `class MapStub`; `constructor(options)`; `addControl()`; `addLayer(layer)`; `__push(key,value)`; `getSource(id)`; `removeLayer(id)`; `getZoom()`; `on(event, layerOrHandler, possibleHandler)`; `off(event, layerOrHandler, possibleHandler)`; `emit(event,payload)`; `flyTo(options)`; `class Popup`; `captureErrors(page)`; `configure(context, requests)`; `waitReady(page)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: data-gridatlas data; JSON file projects.json; JSON file release-manifest.json; JSON file repd_browser_registry_202608290716.json; JSON file release.json; JSON file browser-layer-registry.json; command-line arguments]; out [JSON file 202608291430-browser-audit.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Verify Live Release - File: gridatlas/atman/202608291430-verify-live-release.mjs (JavaScript, 213 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608291430-verify-live-release.mjs#L1-L213 - Page: https://code.globalgrid2050.com/explore-code/s/0614.html#f1 - Synopsis: A JavaScript module in the atman folder of GridAtlas that reads Renewable Energy Planning Database (REPD) browser registry, using SHA-256. It sets hash (`setHash`) and parses args (`parseArgs`). - What it achieves (name): Its name says it verifies live release. Defines `fail`, `invariant`, `digest` and 4 more. - What it does: It loads REPD browser registry. Defines 7 functions or classes, including fail, invariant, digest, setHash, sha256. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file build-manifest.json; JSON file release-manifest.json; JSON file live-set.json; JSON file current-v3.json; JSON file repd_browser_registry_202608290716.json; JSON file release.json; JSON file browser-layer-registry.json; Parquet file layer_membership.parquet. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `fail(message)`; `invariant(condition, message)`; `digest(bytes)`; `setHash(values)`; `sha256(file)`; `filesUnder(directory, prefix = "")`; `parseArgs(argv)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build-manifest.json; JSON file release-manifest.json; JSON file live-set.json; JSON file current-v3.json; JSON file repd_browser_registry_202608290716.json; JSON file release.json; JSON file browser-layer-registry.json; Parquet file layer_membership.parquet]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### V8 Product Parity - File: gridatlas/atman/202608291758-v8-product-parity.mjs (JavaScript, 160 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608291758-v8-product-parity.mjs#L1-L160 - Page: https://code.globalgrid2050.com/explore-code/s/0614.html#f2 - Synopsis: A JavaScript module in the atman folder of GridAtlas that compares snapshots (`compareSnapshots`). - What it achieves (name): It compares snapshots (`compareSnapshots`) and is built from the require condition helper (`requireCondition`) and the clean step (`clean`). Defines `requireCondition`, `ready`, `snapshot` and 5 more. - What it does: It draws its content. Defines 8 functions or classes, including requireCondition, ready, snapshot, clean, compareSnapshots. Uses libraries node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608291758-v8-product-parity.json. - Downstream impact: Used directly by 1 file: Build V8 Product Mirror (gridatlas). - Signatures: `requireCondition(condition, message)`; `ready(page)`; `snapshot(page)`; `clean(value)`; `compareSnapshots(oracle, candidate, viewport)`; `sameJson(a, b)`; `testBridge(page)`; `toggle(id)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608291758-v8-product-parity.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 1 ### Prove V8 Product Mirror - File: gridatlas/atman/202608291818-prove-v8-product-mirror.mjs (JavaScript, 218 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608291818-prove-v8-product-mirror.mjs#L1-L218 - Page: https://code.globalgrid2050.com/explore-code/s/0614.html#f3 - Synopsis: A JavaScript module in the atman folder of GridAtlas that draws mirror proof, using SHA-256. It normalises pixels (`normalisePixels`) and decodes png (`decodePng`). - What it achieves (name): Defines `requireCondition`, `blob`, `sha256` and 14 more. - What it does: It draws mirror proof. Defines 17 functions or classes, including requireCondition, blob, sha256, bytes, byteProof. Uses libraries node:crypto, node:fs/promises, pngjs, playwright. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608291818-v8-mirror-proof.json. - Downstream impact: Used directly by 1 file: Prove V8 Product Mirror (gridatlas). - Signatures: `requireCondition(ok, message)`; `blob(bytes)`; `sha256(bytes)`; `bytes(url)`; `byteProof()`; `ready(page)`; `snapshot(page)`; `round(n)`; `compare(a,b,viewport)`; `normalisePixels(page)`; `shot(page, region)`; `decodePng(buffer)`; `pixelProof(aPage,bPage,viewport)`; `controlState(page,id)`; `display(s)`; `interactionProof(a,b)`; `bridgeProof(page)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608291818-v8-mirror-proof.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Verify Place Postcode Release - File: gridatlas/atman/202608291818-verify-place-postcode-release.mjs (JavaScript, 202 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608291818-verify-place-postcode-release.mjs#L1-L202 - Page: https://code.globalgrid2050.com/explore-code/s/0615.html#f1 - Synopsis: A JavaScript module in the atman folder of GridAtlas that runs search (`runSearch`), covering place postcode proof, postcodes and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It runs search (`runSearch`) and is built from the require condition helper (`requireCondition`) and the clean step (`clean`). Its name says it verifies place postcode release. Defines `requireCondition`, `ready`, `snapshot` and 5 more. - What it does: It draws place postcode proof, postcodes and the REPD register. Defines 8 functions or classes, including requireCondition, ready, snapshot, clean, assertStructuralParity. Uses libraries node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register. - Inputs & outputs: In: JSON file 202608291818-place-postcode-proof.json; DuckDB queries. - Downstream impact: Used directly by 1 file: Build Place Postcode Search (gridatlas). - Signatures: `requireCondition(condition, message)`; `ready(page)`; `snapshot(page)`; `clean(value)`; `assertStructuralParity(oracle, candidate, viewport)`; `runSearch(page, query)`; `testSearch(page)`; `testV9DataBridge(page)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608291818-place-postcode-proof.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Layer Performance Comparator - File: gridatlas/atman/202608292126-layer-performance-comparator.mjs (JavaScript, 236 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608292126-layer-performance-comparator.mjs#L1-L236 - Page: https://code.globalgrid2050.com/explore-code/s/0615.html#f2 - Synopsis: A JavaScript module in the atman folder of GridAtlas that replaces exactly (`replaceExactlyOnce`), covering 400kV, using SHA-256. - What it achieves (comment): It replaces exactly once (`replaceExactlyOnce`) and is built from the git blob sha1 helper (`gitBlobSha1`) and the ratio step (`ratio`). The full comparator remains immutably recorded at the exact source commit below. Its code works with 400 kV. - What it does: Defines gitBlobSha1, replaceExactlyOnce, ratio. Uses libraries node:crypto, node:fs/promises, node:child_process, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: Voltage levels named: 400kV. - Downstream impact: Used directly by 2 files: Bootstrap Map Ready Source (gridatlas); Build Publish Map Ready V9 (gridatlas). - Signatures: `gitBlobSha1(bytes)`; `replaceExactlyOnce(source, before, after, label)`; `ratio(value)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Render Ready Comparator - File: gridatlas/atman/202608292311-render-ready-comparator.mjs (JavaScript, 99 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608292311-render-ready-comparator.mjs#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0615.html#f3 - Synopsis: A JavaScript module in the atman folder of GridAtlas that replaces exactly (`replaceExactlyOnce`). It replaces exactly once (`replaceExactlyOnce`) and is built from the git blob sha1 helper (`gitBlobSha1`). - What it achieves (comment): The complete render-ready comparator is pinned below. - What it does: Defines gitBlobSha1, replaceExactlyOnce. Uses libraries node:crypto, node:fs/promises, node:child_process, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 3 files: Build Verify Publish Render Ready V9 (gridatlas); Five Hour V8 V9 Watchdog (gridatlas); Build Verify Promote Exact Renewable Energy Planning Database (REPD) Deep Link (gridatlas). - Signatures: `gitBlobSha1(bytes)`; `replaceExactlyOnce(source, before, after, label)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Verify Exact Renewable Energy Planning Database (REPD) Deep Link - File: gridatlas/atman/202608300453-verify-exact-repd-deep-link.mjs (JavaScript, 146 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608300453-verify-exact-repd-deep-link.mjs#L1-L146 - Page: https://code.globalgrid2050.com/explore-code/s/0615.html#f4 - Synopsis: A JavaScript module in the atman folder of GridAtlas that reads the REPD register and postcodes. - What it achieves (name): Its name says it verifies exact REPD deep link. Defines `isKnownLegacyDuplicateEngineError`. - What it does: It loads the REPD register and postcodes. Defines isKnownLegacyDuplicateEngineError. Uses libraries node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, postcodes. - Inputs & outputs: In: JSON file style.json; DuckDB queries. - Downstream impact: Used directly by 1 file: Build Verify Promote Exact Renewable Energy Planning Database (REPD) Deep Link (gridatlas). - Signatures: `isKnownLegacyDuplicateEngineError(message)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file style.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Verify V9 5 Search - File: gridatlas/atman/202608301624-verify-v9-5-search.mjs (JavaScript, 192 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202608301624-verify-v9-5-search.mjs#L1-L192 - Page: https://code.globalgrid2050.com/explore-code/s/0616.html#f1 - Synopsis: A JavaScript module in the atman folder of GridAtlas that draws search proof, postcodes and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It cleans page (`cleanPage`) and is built from the wait ready helper (`waitReady`) and the query step (`query`). Its name says it verifies search. Defines `invariant`, `waitReady`, `record` and 2 more. - What it does: It draws search proof, postcodes and the REPD register. Defines invariant, waitReady, record, cleanPage, query. Uses libraries node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register. - Inputs & outputs: In: JSON file 202608301624-v9-5-search-proof.json. - Downstream impact: Used directly by 1 file: GridAtlas Verify Live Workflow (gridatlas). - Signatures: `invariant(condition, message)`; `waitReady(page)`; `record(name, action)`; `cleanPage(page)`; `query(page, text, { sequential = false } = {})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608301624-v9-5-search-proof.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Verify Atlas V9 - File: gridatlas/atman/202611132345-verify-atlas-v9.py (Python, 79 lines) · role storage · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/202611132345-verify-atlas-v9.py#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/0616.html#f2 - Synopsis: A Python command-line tool in the atman folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): Its name says it verifies atlas. Defines `sha`. It accepts `--site`. - What it does: It loads the REPD register. Defines sha, main. Uses libraries argparse, hashlib, importlib.util, json, pathlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: DuckDB queries; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha(path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Streaming Roads - File: gridatlas/atman/verify_streaming_roads.mjs (JavaScript, 126 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/atman/verify_streaming_roads.mjs#L1-L126 - Page: https://code.globalgrid2050.com/explore-code/s/0616.html#f3 - Synopsis: A JavaScript module in the atman folder of GridAtlas that reads streaming road proof, UK motorways, UK trunk roads and UK primary roads. - What it achieves (name): Its name says it verifies streaming roads. - What it does: It loads streaming road proof, UK motorways, UK trunk roads and UK primary roads. Uses libraries node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file streaming-road-proof.json; GeoJSON file uk_motorways.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_primary_roads.geojson; DuckDB queries. - Downstream impact: Used directly by 1 file: GridAtlas Verify Live Workflow (gridatlas). - Signatures: `seconds(performance.now() - started)`; `heapMb(await cdp.send('Runtime.getHeapUsage'))`; `bad(!state.label.includes('[OK]') || !state.loaded || state.rows !== target.rows || state.streamedResponses < 1 || state....)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file streaming-road-proof.json; GeoJSON file uk_motorways.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_primary_roads.geojson; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Highway Transport Repair - File: gridatlas/bootstrap/highway-forensics/build_highway_transport_repair.py (Python, 243 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/bootstrap/highway-forensics/build_highway_transport_repair.py#L1-L243 - Page: https://code.globalgrid2050.com/explore-code/s/0616.html#f4 - Synopsis: A Python command-line tool in the highway forensics folder of GridAtlas that reads UK motorways, UK trunk roads and UK primary roads, using SHA-256 from the GlobalGrid2050 repository. - What it achieves (comment): It builds error (`BuildError`), reads JSON (`read_json`) and writes atomic (`write_atomic`). Build the GridAtlas v9.5 highway transport repair as one hashed cartridge. It accepts `--generation`, `--current` and `--shell-bridge`. - What it does: It loads UK motorways, UK trunk roads, UK primary roads and REPD master. Defines 9 functions or classes, including BuildError, require, read_json, canonical_json, sha256_bytes. Uses libraries __future__, argparse, hashlib, json, os. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: globalgrid2050 data; GeoJSON file uk_motorways.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_primary_roads.geojson; JSON file repd_master.json; JSON file heavy_emitters_uk.json; JSON file current.json; DuckDB queries. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `class BuildError`; `require(condition: bool, message: str)`; `read_json(path: Path)`; `canonical_json(value: dict[str, Any])`; `sha256_bytes(value: bytes)`; `write_atomic(path: Path, content: str)`; `patch_bridge(source: str, generation: str)`; `make_contract(generation: str, cartridge_sha: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data; GeoJSON file uk_motorways.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_primary_roads.geojson; JSON file repd_master.json; JSON file heavy_emitters_uk.json; JSON file current.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Forensic Highways - File: gridatlas/bootstrap/highway-forensics/forensic_highways.mjs (JavaScript, 120 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/bootstrap/highway-forensics/forensic_highways.mjs#L1-L120 - Page: https://code.globalgrid2050.com/explore-code/s/0617.html#f1 - Synopsis: A JavaScript module in the highway forensics folder of GridAtlas that reads highway forensics, UK primary roads, UK trunk roads and UK motorways. - What it achieves (name): It cleans error (`cleanError`) and is built from the relevant URL helper (`relevantUrl`) and the cdp metrics helper (`cdpMetrics`). Defines `cleanError`, `relevantUrl`, `cdpMetrics` and 1 more. - What it does: It loads highway forensics, UK primary roads, UK trunk roads and UK motorways. Defines cleanError, relevantUrl, cdpMetrics, probe. Uses libraries playwright, node:fs/promises, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file highway-forensics.json; GeoJSON file uk_primary_roads.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_motorways.geojson; DuckDB queries. - Signatures: `REPAIRED_BROWSERS(process.env.REPAIRED_BROWSERS || 'chromium')`; `cleanError(error)`; `relevantUrl(url)`; `cdpMetrics(context, page, browserName)`; `probe({ browserName, label, url, mobile = false, expect })` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file highway-forensics.json; GeoJSON file uk_primary_roads.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_motorways.geojson; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Compile Atlas V9 Live - File: gridatlas/compiler/202608291430-compile-atlas-v9-live.py (Python, 322 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/compiler/202608291430-compile-atlas-v9-live.py#L1-L322 - Page: https://code.globalgrid2050.com/explore-code/s/0617.html#f2 - Synopsis: A Python command-line tool in the compiler folder of GridAtlas that reads atlas live release and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It reads JSON (`read_json`), replaces once (`replace_once`) and compiles release (`compile_release`). Deterministically compile the Atlas V9 coverage successor. It accepts `--repository`, `--output` and `--source-commit`. - What it does: It loads atlas live release and the REPD register. Defines 11 functions or classes, including reject_duplicate_keys, read_json, canonical_json, sha256, require. Uses libraries __future__, argparse, hashlib, json, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file 202608291430-atlas-v9-live-release.json; JSON file build-manifest.json; command-line arguments. Out: JSON file release-manifest.json; JSON file build-manifest.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `reject_duplicate_keys(pairs: list[tuple[str, object]])`; `read_json(path: Path)`; `canonical_json(value: object)`; `sha256(path: Path)`; `require(condition: bool, message: str)`; `replace_once(source: str, old: str, new: str, label: str)`; `unresolved_routing(value: object, location: str = "contract")`; `transform_data_client(source: str)`; `transform_atlas(source: str)`; `compile_release(args: argparse.Namespace)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608291430-atlas-v9-live-release.json; JSON file build-manifest.json; command-line arguments]; out [JSON file release-manifest.json; JSON file build-manifest.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Map Ready V9 - File: gridatlas/compiler/202608292126-build-map-ready-v9.py (Python, 480 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/compiler/202608292126-build-map-ready-v9.py#L1-L480 - Page: https://code.globalgrid2050.com/explore-code/s/0618.html#f1 - Synopsis: A Python command-line tool in the compiler folder of GridAtlas that fetches postcodes, using SHA-256. It fetches bytes (`fetch_bytes`), writes bytes (`write_bytes`) and loads JSON bytes (`load_json_bytes`). - What it achieves (comment): Build a deterministic V8-surface successor with map-ready preload cartridges. Its code works with 400 kV. It accepts `--contract`, `--output` and `--oracle-output`. - What it does: It fetches postcodes. Defines 15 functions or classes, including canonical, require, sha256_bytes, sha256_file, git_blob_sha1. Uses libraries __future__, argparse, hashlib, json, shutil. Side effects: reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, 400kV. - Inputs & outputs: In: JSON file map-ready-manifest.json; DuckDB queries; command-line arguments. Out: JSON file release-manifest.json; JSON file build-manifest.json. Voltage levels named: 400kV. - Downstream impact: Used directly by 2 files: Bootstrap Map Ready Source (gridatlas); Build Publish Map Ready V9 (gridatlas). - Signatures: `canonical(value: Any)`; `require(condition: bool, message: str)`; `sha256_bytes(payload: bytes)`; `sha256_file(path: Path)`; `git_blob_sha1(payload: bytes)`; `fetch_bytes(url: str, attempts: int = 5, timeout: int = 180)`; `raw_url(repository: str, commit: str, path: str)`; `write_bytes(path: Path, payload: bytes)`; `load_json_bytes(payload: bytes, label: str)`; `sql_path(path: Path)`; `parquet_to_geojson(parquet_path: Path, output_path: Path, expected_rows: int, expected_source_id: str)`; `deterministic_tree_manifest(root: Path)`; `write_sha256sums(root: Path)`; `copy_source(path: str, target: Path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file map-ready-manifest.json; DuckDB queries; command-line arguments]; out [JSON file release-manifest.json; JSON file build-manifest.json]; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Build Render Ready V9 - File: gridatlas/compiler/202608292311-build-render-ready-v9.py (Python, 60 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/compiler/202608292311-build-render-ready-v9.py#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0618.html#f2 - Synopsis: A Python module in the compiler folder of GridAtlas that fetches grid 400kV, grid 275kV, grid 220kV and grid 132kV. - What it achieves (comment): It replaces exactly once (`replace_exactly_once`) and is built from the git blob sha1 helper (`git_blob_sha1`). Run the pinned render-ready compiler with a complete deterministic V8 oracle. Its code works with 400 kV. - What it does: It fetches grid 400kV, grid 275kV, grid 220kV and grid 132kV. Defines git_blob_sha1, replace_exactly_once. Uses libraries __future__, hashlib, runpy, subprocess, pathlib. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: Voltage levels named: 400kV. - Downstream impact: Used directly by 1 file: Build Verify Publish Render Ready V9 (gridatlas). - Signatures: `git_blob_sha1(payload: bytes)`; `replace_exactly_once(source: str, before: str, after: str, label: str)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Exact Renewable Energy Planning Database (REPD) Deep Link Successor - File: gridatlas/compiler/202608300453-build-exact-repd-deep-link-successor.py (Python, 258 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/compiler/202608300453-build-exact-repd-deep-link-successor.py#L1-L258 - Page: https://code.globalgrid2050.com/explore-code/s/0619.html#f1 - Synopsis: A Python command-line tool in the compiler folder of GridAtlas that reads grid 400kV, map ready and deep link receiver, using SHA-256. It replaces once (`replace_once`) and writes JSON (`write_json`). - What it achieves (comment): Build an immutable GridAtlas successor that receives exact REPD deep links. Its code works with 400 kV. It writes `deep-link-receiver-manifest.json`. It accepts `--parent`, `--output` and `--release-id`. - What it does: It loads grid 400kV, map ready and deep link receiver. Defines replace_once, sha256, write_json, main. Uses libraries __future__, argparse, hashlib, json, shutil. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: In: GeoJSON file grid_400kv.geojson; JSON file build-manifest.json; JSON file map-ready-manifest.json; JSON file release-manifest.json; JSON file deep-link-receiver-manifest.json; command-line arguments. Voltage levels named: 400kV. - Downstream impact: Used directly by 1 file: Build Verify Promote Exact Renewable Energy Planning Database (REPD) Deep Link (gridatlas). - Signatures: `replace_once(source: str, before: str, after: str, label: str)`; `sha256(path: Path)`; `write_json(path: Path, value: object)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_400kv.geojson; JSON file build-manifest.json; JSON file map-ready-manifest.json; JSON file release-manifest.json; JSON file deep-link-receiver-manifest.json; command-line arguments]; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Compile Atlas V9 - File: gridatlas/compiler/202611132345-compile-atlas-v9.py (Python, 250 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/compiler/202611132345-compile-atlas-v9.py#L1-L250 - Page: https://code.globalgrid2050.com/explore-code/s/0619.html#f2 - Synopsis: A Python command-line tool in the compiler folder of GridAtlas that reads Renewable Energy Planning Database (REPD) publication q3, REPD q3 cleaned and solar, using EPSG:27700 and EPSG:4326. - What it achieves (name): It classifies tech (`classify_tech`), compiles rows (`compile_rows`) and writes Parquet (`write_parquet`). Its name says it compiles atlas. Defines `digest`, `clean`, `norm` and 7 more. It accepts `--source`, `--v8` and `--output`. - What it does: It loads REPD publication q3, REPD q3 cleaned, solar and the REPD register. Defines 11 functions or classes, including digest, clean, norm, postcode, public_applicant. Uses libraries argparse, csv, hashlib, json, math. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register. - Inputs & outputs: In: CSV file REPD_Publication_Q3_2026.csv; CSV file REPD_2026Q3_cleaned.csv; DuckDB queries; command-line arguments. Out: Parquet file. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `digest(path)`; `clean(value)`; `norm(value)`; `postcode(raw)`; `public_applicant(raw)`; `classify_tech(raw, mounting)`; `row_hash(row)`; `compile_rows(source)`; `write_parquet(rows, target)`; `v8_parity(rows, v8_path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file REPD_Publication_Q3_2026.csv; CSV file REPD_2026Q3_cleaned.csv; DuckDB queries; command-line arguments]; out [Parquet file]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GridAtlas — Index Page - File: gridatlas/index.html (HTML, 2 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/index.html#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0619.html#f3 - Published at: https://gridatlas.globalgrid2050.com/ - Synopsis: A web page. Published at https://gridatlas.globalgrid2050.com/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 32 files: Build N1 Deep Link Candidates (code-generator); Single-Line Diagram (SLD) Mobile Arrival Card Browser (gridatlas); GlobalGrid2050 — Atlas V9 Page (globalgrid2050, https://globalgrid2050.com/202608300453-atlas-v9/); Prove Federated Deep Links (gridatlas); and 28 more. Reached from 27 other entry points, including Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html); GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). It is itself an entry point, published at https://gridatlas.globalgrid2050.com/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 32; mentioned by 1 ### GridAtlas Local Arrival Grid - File: gridatlas/local-arrival-grid.mjs (JavaScript, 202 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/local-arrival-grid.mjs#L1-L202 - Page: https://code.globalgrid2050.com/explore-code/s/0620.html#f1 - Published at: https://gridatlas.globalgrid2050.com/ - Synopsis: A JavaScript module that reads harvest cache, the Renewable Energy Planning Database (REPD) register and solar. Served with the page at https://gridatlas.globalgrid2050.com/. - What it achieves (comment): It is built from the arg step (`arg`), the harvest step (`harvest`) and the grab step (`grab`). The gap that let every defect found on ship: no CI job has ever loaded a deep link in a real browser at any viewport. - What it does: It loads harvest cache, the REPD register and solar. Defines 6 functions or classes, including arg, harvest, grab, probe, url. Uses libraries playwright, node:fs, node:os. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: JSON file harvest-cache.json; command-line arguments. - Signatures: `arg(k, d)`; `harvest()`; `grab()`; `probe()`; `url(r)`; `worker(engine, engineName, vp, queue, stats)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file harvest-cache.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Evaluate Cross Repo Atlas V9 - File: gridatlas/orchestration/202608300232-evaluate-cross-repo-atlas-v9.py (Python, 187 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/orchestration/202608300232-evaluate-cross-repo-atlas-v9.py#L1-L187 - Page: https://code.globalgrid2050.com/explore-code/s/0620.html#f2 - Synopsis: A Python command-line tool in the orchestration folder of GridAtlas that reads GridAtlas current, atlas deep link audit and atlas company Renewable Energy Planning Database (REPD) links, using SHA-256. - What it achieves (comment): It loads optional (`load_optional`) and is built from the sha step (`sha`) and the milestone step (`milestone`). Evaluate the governed Atlas V9 publication/deep-link chain across four repositories. It accepts `--gridatlas`, `--globalgrid` and `--pipelinenews`. - What it does: It loads GridAtlas current, atlas deep link audit, atlas company REPD links and atlas deep link contract. Defines load_optional, sha, milestone, main. Uses libraries __future__, argparse, hashlib, json, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file live-set.json; JSON file gridatlas-v9-current.json; JSON file atlas-v9-current.json; JSON file atlas-v9-deep-link-audit.json; JSON file atlas-v9-company-repd-links-manifest.json; JSON file atlas-v9-deep-link-contract.v1.json; command-line arguments. - Downstream impact: Used directly by 1 file: Evaluate Cross Repo Atlas V9 (gridatlas). - Signatures: `load_optional(path: Path)`; `sha(path: Path)`; `milestone(identifier: str, passed: bool, observed: Any, gate: Any)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live-set.json; JSON file gridatlas-v9-current.json; JSON file atlas-v9-current.json; JSON file atlas-v9-deep-link-audit.json; JSON file atlas-v9-company-repd-links-manifest.json; JSON file atlas-v9-deep-link-contract.v1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Assemble Study Build Controller - File: gridatlas/orchestration/202608310015-gridatlas-overnight-next-versions/202608310015-assemble-study-build-controller.mjs (JavaScript, 32 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/orchestration/202608310015-gridatlas-overnight-next-versions/202608310015-assemble-study-build-controller.mjs#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/0620.html#f3 - Synopsis: A JavaScript module in the orchestration folder of GridAtlas that uses SHA-256. - What it achieves (name): Defines `sha256`. - What it does: It loads data. Defines sha256. Uses libraries node:crypto, node:fs/promises, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GridAtlas Overnight Next Versions Workflow (gridatlas). - Signatures: `sha256(value)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Finalise Overnight Candidate - File: gridatlas/orchestration/202608310015-gridatlas-overnight-next-versions/202608310015-finalise-overnight-candidate.mjs (JavaScript, 155 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/orchestration/202608310015-gridatlas-overnight-next-versions/202608310015-finalise-overnight-candidate.mjs#L1-L155 - Page: https://code.globalgrid2050.com/explore-code/s/0620.html#f4 - Synopsis: A JavaScript module in the orchestration folder of GridAtlas that reads GridAtlas programme ledger, using SHA-256. It appends output (`appendOutput`), reads JSON (`readJson`) and writes JSON (`writeJson`). - What it achieves (name): Defines `appendOutput`, `sha256`, `htmlEscape` and 3 more. - What it does: It loads GridAtlas programme ledger. Defines 6 functions or classes, including appendOutput, sha256, htmlEscape, readJson, writeJson. Uses libraries node:crypto, node:fs/promises, node:path, node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608310015-gridatlas-programme-ledger.json. - Downstream impact: Used directly by 1 file: GridAtlas Overnight Next Versions Workflow (gridatlas). - Signatures: `appendOutput(key, value)`; `sha256(buffer)`; `htmlEscape(value)`; `readJson(filePath)`; `writeJson(filePath, value)`; `listFilesRecursive(folder, relative = '')`; `ledgerCandidate(ledger.candidates || [])`; `rows(proof.tests || [])`; `files(await listFilesRecursive(candidateAbsolute))` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608310015-gridatlas-programme-ledger.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Verify Overnight Candidate - File: gridatlas/orchestration/202608310015-gridatlas-overnight-next-versions/202608310015-verify-overnight-candidate.mjs (JavaScript, 301 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/orchestration/202608310015-gridatlas-overnight-next-versions/202608310015-verify-overnight-candidate.mjs#L1-L301 - Page: https://code.globalgrid2050.com/explore-code/s/0621.html#f1 - Synopsis: A JavaScript module in the orchestration folder of GridAtlas that draws GridAtlas overnight candidate proof, UK motorways, UK trunk roads and UK primary roads. - What it achieves (name): It opens candidate (`openCandidate`) and is built from the ensure parent helper (`ensureParent`) and the wait composition ready helper (`waitCompositionReady`). Its name says it verifies overnight candidate. Defines `invariant`, `record`, `ensureParent` and 3 more. Its code works with 400 kV. - What it does: It draws GridAtlas overnight candidate proof, UK motorways, UK trunk roads and UK primary roads. Defines 6 functions or classes, including invariant, record, ensureParent, waitCompositionReady, openCandidate. Uses libraries node:fs/promises, node:path, playwright. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: In: JSON file 202608310015-gridatlas-overnight-candidate-proof.json; GeoJSON file uk_motorways.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_primary_roads.geojson. Voltage levels named: 400kV. - Downstream impact: Used directly by 1 file: GridAtlas Overnight Next Versions Workflow (gridatlas). - Signatures: `invariant(condition, message)`; `record(name, severity, action)`; `ensureParent(filePath)`; `waitCompositionReady()`; `openCandidate(search = '')`; `submitQuery(text, { sequential = false } = {})`; `seconds(performance.now() - started)`; `heapMb(await cdp.send('Runtime.getHeapUsage'))` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608310015-gridatlas-overnight-candidate-proof.json; GeoJSON file uk_motorways.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_primary_roads.geojson]; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### G203 03 Gps Camera Test - File: gridatlas/tests/g203-03-gps-camera.test.mjs (JavaScript, 50 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tests/g203-03-gps-camera.test.mjs#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0621.html#f2 - Synopsis: A test in the tests folder of GridAtlas that checks G203 03 Gps Camera Candidate. It runs gps regression (`runGpsRegression`) and sets fix (`setFix`). - What it achieves (comment): G203-03: deterministic GPS callback/camera tests against the actual candidate source. - What it does: It tests its inputs. Defines runGpsRegression, cut, fieldState, setFix, make. Uses libraries node:fs. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gps'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `runGpsRegression(source)`; `cut(a,b)`; `fieldState(f)`; `setFix(f)`; `make()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### GridAtlas Build Cartridge - File: gridatlas/tools/build-cartridge.mjs (JavaScript, 182 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/build-cartridge.mjs#L1-L182 - Page: https://code.globalgrid2050.com/explore-code/s/0621.html#f3 - Synopsis: A JavaScript module in the tools folder that reads substations, using SHA-256. It reads lf (`readLf`) and is built from the argv step (`argv`) and the sha256 step (`sha256`). - What it achieves (comment): Assemble a cartridge from modules, and record what went into it. - What it does: It loads substations. Defines argv, sha256, readLf, exists. Uses libraries node:fs/promises, node:fs, node:crypto, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: command-line arguments. - Signatures: `argv(flag, { many = false } = {})`; `sha256(text)`; `readLf(relativePath)`; `exists(path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Audit - File: gridatlas/tools/cartridges/audit.mjs (JavaScript, 110 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/cartridges/audit.mjs#L1-L110 - Page: https://code.globalgrid2050.com/explore-code/s/0621.html#f4 - Synopsis: A JavaScript module in the cartridges folder of GridAtlas that reads shift log. - What it achieves (name): Defines `walk` and `classify`. - What it does: It loads shift log. Defines walk, classify, mb. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file shift-log.json; JSON file current.json; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `walk(dir, out)`; `classify(refs)`; `mb(bytes)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file shift-log.json; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Local CI - File: gridatlas/tools/ci/202609012200-local-ci.mjs (JavaScript, 565 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/202609012200-local-ci.mjs#L1-L565 - Page: https://code.globalgrid2050.com/explore-code/s/0622.html#f1 - Synopsis: A JavaScript module in the tools folder of GridAtlas that strips comments (`stripComments`), using haversine. - What it achieves (comment): It is built from the argv step (`argv`), the git step (`git`) and the bar step (`bar`). Measure the change, coordinate the computation engine, find flaws. - What it does: It loads data. Defines 6 functions or classes, including argv, git, bar, computes, stripComments. Uses libraries node:child_process, node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Shift (gridatlas). - Signatures: `argv(flag)`; `git(repo, args)`; `bar(n, max, width = 28)`; `computes(path)`; `stamp(subject || '')`; `version(subject || '')`; `stripComments(text)`; `stampMinutes(s)`; `m(subject || '')`; `clockRule(run.results || [])`; `offCount(clockRule?.findings || [])`; `orderCount(clockRule?.findings || [])`; `failing(run.results || [])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 19 estate files (script-call 19); used by 1; mentioned by 0 ### CI Deep Scan - File: gridatlas/tools/ci/202609012230-deep-scan.mjs (JavaScript, 455 lines) · role automation · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/202609012230-deep-scan.mjs#L1-L455 - Page: https://code.globalgrid2050.com/explore-code/s/0623.html#f1 - Synopsis: A JavaScript module in the tools folder of GridAtlas that uses haversine. It is built from the flag step (`flag`), the value step (`value`) and the trace step (`trace`). - What it achieves (comment): Deep scan: origin to today, both applications, one understanding. - What it does: It loads data. Defines 8 functions or classes, including flag, value, trace, git, isCode. Uses libraries node:child_process, node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202609012230-deep-scan.json; command-line arguments. - Downstream impact: Used directly by 1 file: CI Estate Deep Scan (gridatlas). - Signatures: `flag(name)`; `value(name)`; `trace(message)`; `git(repo, args, { max = 256 } = {})`; `isCode(path)`; `familyOf(path)`; `seamsIn(text)`; `banners(text.match(/^\s*\/\*[\s\S]{0,4}[─=—-]{6,}/gm) || [])`; `functions(text.match(/^\s{0,4}(async\s+)?function\s+\w+/gm) || [])`; `consts(text.match(/^\s{0,2}const\s+[A-Z_]{3,}\s*=/gm) || [])`; `surfaces(text.match(/window\.__\w+__\s*=/g) || [])`; `scanFor(repoName, patterns, options = {})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609012230-deep-scan.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### CI Estate Deep Scan - File: gridatlas/tools/ci/202609012240-estate-deep-scan.mjs (JavaScript, 266 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/202609012240-estate-deep-scan.mjs#L1-L266 - Page: https://code.globalgrid2050.com/explore-code/s/0624.html#f1 - Synopsis: A JavaScript module in the tools folder of GridAtlas that queries contract (`queryContract`), using SHA-256. - What it achieves (comment): It queries contract (`queryContract`) and is built from the arg step (`arg`) and the trace step (`trace`). Independent estate scanner: evidence first, screening claims labelled. - What it does: It loads data. Defines 9 functions or classes, including arg, trace, git, code, sha. Uses libraries node:child_process, node:fs, node:crypto, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file 202609012240-estate-deep-scan.json; command-line arguments. - Downstream impact: Used directly by 1 file: Estate Deep Scan Proof (gridatlas). - Signatures: `arg(name, fallback)`; `trace(text)`; `git(repo, args, max = 256)`; `code(path)`; `sha(text)`; `lineOf(text, offset)`; `evidence(repo, path, text, index, claim)`; `finding(severity, confidence, title, detail, items = [])`; `queryContract(repo, mode, { gridAtlasOnly = false } = {})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file 202609012240-estate-deep-scan.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Reference Module F - File: gridatlas/tools/ci/lightning/fixtures/reference-module-F.js (JavaScript, 176 lines) · role automation · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/lightning/fixtures/reference-module-F.js#L1-L176 - Page: https://code.globalgrid2050.com/explore-code/s/0624.html#f2 - Synopsis: A JavaScript file in the fixtures folder of GridAtlas that maps UK lightning, using SHA-256 and uses data from the lightning repository. - What it achieves (comment): UK-lightning-overlay. EUMETSAT MTG LI (L2-LFL) optical flashes, OFF by default, appended last to the Layers panel and fullscreen curtain; nothing requested before switch-on; never persisted. It responds to click and change events. - What it does: It maps UK lightning. Defines q. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: lightning data; GeoJSON file uk_lightning.geojson; JSON file index.json; form fields (user input). - Downstream impact: Used directly by 1 file: Overlay Engine Test (gridatlas). - Signatures: `NS(window.__GRIDATLAS_MODULES__=window.__GRIDATLAS_MODULES__||{})`; `sw(raw.scan_windows||[])`; `q(s)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: lightning data; GeoJSON file uk_lightning.geojson; JSON file index.json; form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Minidom - File: gridatlas/tools/ci/lightning/minidom.mjs (JavaScript, 84 lines) · role automation · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/lightning/minidom.mjs#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/0624.html#f3 - Synopsis: A JavaScript module in the lightning folder of GridAtlas that makes document (`makeDocument`). It matches one (`matchOne`) and makes document (`makeDocument`). - What it achieves (comment): Just enough DOM for the lightning overlay under node:vm (harness: self-fixture, SYNTHETIC shell). - What it does: It lists and searches its content. Defines 8 functions or classes, including kebab, Text, El, matchOne, matches. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: Overlay Engine Test (gridatlas); Overlay Offtakers Test (gridatlas). - Signatures: `export class Text`; `export class El`; `export dispatch(target, type, errors)`; `export makeDocument()`; `kebab(k)`; `constructor(tag, doc)`; `setAttribute(a, v)`; `hasAttribute(a)`; `appendChild(n)`; `insertBefore(n, ref)`; `removeChild(n)`; `remove()`; `contains(n)`; `closest(sel)`; `querySelectorAll(sel)`; `querySelector(sel)`; `addEventListener(t, f)`; `getBoundingClientRect()`; `matchOne(e, s)`; `matches(e, sel)`; `parse(html, root, doc)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Overlay Engine Test - File: gridatlas/tools/ci/lightning/overlay-engine.test.mjs (JavaScript, 2505 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/lightning/overlay-engine.test.mjs#L1-L2505 - Page: https://code.globalgrid2050.com/explore-code/s/0625.html#f1 - Synopsis: A test in the lightning folder of GridAtlas that checks Minidom and Reference Module F, using SHA-256 and haversine. - What it achieves (name): It adds event listener (`addEventListener`), wraps fetch (`wrapFetch`) and dumps card (`dumpCard`). Defines `track`, `TResponse`, `iso` and 109 more. Its code works with 10 MW, 33 kV and 0 MW. It reads `/index.json`. - What it does: It tests the REPD register and solar. Defines 118 functions or classes, including track, TResponse, iso, ymd, enc. Uses libraries node:test, node:assert/strict, node:vm, node:fs, node:zlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, 33kV. - Inputs & outputs: In: GeoJSON file f.geojson; JSON file index.json; JSON file x.json; JSON file 05.json; JSON file 00.json; GeoJSON file uk_lightning.geojson; JSON file g.json; JSON file repd_master.json. Out: interactive map. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 33kV. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `track(p)`; `class TResponse`; `iso(t)`; `ymd(t)`; `enc(o)`; `flash(t, id, coords = [-1.5, 52])`; `feed(features, ageH = 1, extra = {})`; `dayFile(date, features)`; `mkIndex(over = {}, top = {}, nowT = null)`; `boot({ index = null, feedFn = () => feed([flash(Date.now() - 2 * H, 'f1')]), files = {}, noGrid = false, lazy = false, par...)`; `tapMap(pt, hitsByLayer = {})`; `class XHR`; `fetch(url)`; `addEventListener(t, f)`; `click(el)`; `toggle(on)`; `cap(k)`; `fire(t)`; `release()`; `drain()`; `sha(b)`; `fresh()`; `p(d)`; `attrsWith(root, re)`; `shard(date, n, t0)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file f.geojson; JSON file index.json; JSON file x.json; JSON file 05.json; JSON file 00.json; GeoJSON file uk_lightning.geojson; JSON file g.json; JSON file repd_master.json]; out [interactive map]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [33kV] - Edges: uses 2 estate files (import 1, url-import-meta 1); used by 0; mentioned by 0 ### Overlay Latest Test - File: gridatlas/tools/ci/lightning/overlay-latest.test.mjs (JavaScript, 148 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/lightning/overlay-latest.test.mjs#L1-L148 - Page: https://code.globalgrid2050.com/explore-code/s/0628.html#f2 - Synopsis: A test in the lightning folder of GridAtlas that uses SHA-256. It is built from the hours ago helper (`hoursAgo`), the feed step (`feed`) and the boot step (`boot`). - What it achieves (name): Defines `hoursAgo`, `stamp`, `flash` and 4 more. - What it does: It tests its inputs. Defines 7 functions or classes, including hoursAgo, stamp, flash, feed, boot. Uses libraries node:test, node:assert/strict, node:vm, node:fs. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 26.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `hoursAgo(h)`; `stamp(h)`; `flash(h,id,coords=[-1.5,52])`; `feed(features,age=1)`; `boot({getFeed=()=>feed([flash(2,'one')]),getJson=()=>({ok:false,status:404})}={})`; `setLayoutProperty(id,key,value)`; `class XHR`; `open(method,url)`; `send()`; `drain()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 26.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### CI Live Bytes Issue - File: gridatlas/tools/ci/live-bytes-issue.mjs (JavaScript, 192 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/live-bytes-issue.mjs#L1-L192 - Page: https://code.globalgrid2050.com/explore-code/s/0629.html#f1 - Synopsis: A JavaScript module in the tools folder of GridAtlas using data from GitHub API. It reads report (`readReport`) and syncs issue (`syncIssue`). - What it achieves (comment): Open, refresh or close the one GitHub issue labelled "live-bytes" from the result of the live-bytes job (-verify-live.yml). - What it does: It fetches data. Defines 9 functions or classes, including argument, readReport, issueText, syncIssue, githubApi. Uses libraries node:fs, node:assert/strict, node:url. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: GitHub API; JSON file current.json; JSON file live-bytes.json; command-line arguments. - Downstream impact: Used directly by 1 file: GridAtlas Verify Live Workflow (gridatlas). - Signatures: `export readReport(file)`; `export issueText(report, { runUrl = '', now = new Date() } = {})`; `export syncIssue(api, { outcome, report, runUrl = '', now = new Date() })`; `export githubApi(repo, token, base = 'https:)`; `argument(argv, name, fallback)`; `call(method, path, payload)`; `openIssues(label)`; `ensureLabel(name, color, description)`; `fakeApi(seed = [])`; `create(title, body, label)`; `update(number, fields)`; `comment(number, body)`; `selfTest()`; `main(argv)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file current.json; JSON file live-bytes.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Browser DC Smoke - File: gridatlas/tools/ci/offtakers/browser-dc-smoke.mjs (JavaScript, 132 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/offtakers/browser-dc-smoke.mjs#L1-L132 - Page: https://code.globalgrid2050.com/explore-code/s/0629.html#f2 - Synopsis: A JavaScript module in the offtakers folder of GridAtlas. It is built from the run step (`run`). - What it achieves (comment): Issue #73 real-Chromium screening smoke test for a draft preview. - What it does: It tests its inputs. Defines run. Uses libraries node:assert/strict, node:fs, node:path, node:http, node:url. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `run(width,height)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Overlay Offtakers Test - File: gridatlas/tools/ci/offtakers/overlay-offtakers.test.mjs (JavaScript, 530 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/offtakers/overlay-offtakers.test.mjs#L1-L530 - Page: https://code.globalgrid2050.com/explore-code/s/0629.html#f3 - Synopsis: A test in the tools folder of GridAtlas that checks Minidom and GridAtlas — Index Page, using SHA-256 and haversine. - What it achieves (name): It opens tab (`openTab`) and is built from the orig nearest helper (`origNearest`) and the kV of helper (`kvOf`). Defines `sha`, `hav`, `GSSRC` and 33 more. Its code works with 100 MW, 72 MW and 0 MW. It reads `atlas/releases/202608300453-atlas-v9/data/grid_substations.geojson`. - What it does: It tests the REPD register, solar, wind and battery storage (BESS). Defines 41 functions or classes, including sha, hav, GSSRC, GEO, origNearest. Uses libraries node:test, node:assert/strict, node:vm, node:fs, node:zlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind, battery storage (BESS), 400kV, 275kV. - Inputs & outputs: In: GeoJSON file grid_substations.geojson; GeoJSON file x.geojson. Voltage levels named: 400kV, 275kV, 132kV, 33kV. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `sha(b)`; `DREL(SRC.match(/DATA='https:\/\/ventusltd\.github\.io\/gridatlas\/(data\/offtakers_filtered_\d{12}\.geojson)'/) || [])`; `DCREL(SRC.match(/DCF='https:\/\/ventusltd\.github\.io\/gridatlas\/(data\/[\w.-]+)'/) || [])`; `RGEN(SRC.match(/repd_projects_(\d{12})\.parquet/) || [])`; `hav(lo1, la1, lo2, la2)`; `GSSRC(() => { const b = SLD.indexOf('if (NS.gridScope) return;'), a = SLD.lastIndexOf('(() => {', b), e = SLD.indexOf('})()...)`; `GEO(() => { const w = {}; vm.runInNewContext(GEOSRC, { window: w, Math, Number, Array, Object, Error }); return w.__GRIDA...)`; `origNearest(lon, lat, subs)`; `kvOf(v)`; `tick()`; `drain(n = 60)`; `boot({ tamper = false, lightning = false, neon = true, register = REG.features, duck = true, offtakers = true, srcOverride...)`; `src(id, o)`; `qrf()`; `tapMap(pt, hits = {})`; `class XHR`; `fetch(u, o)`; `class CE`; `group()`; `toggle(on)`; `ltoggle(on)`; `card()`; `dot(pred)`; `tapDot(r)`; `text(e)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_substations.geojson; GeoJSON file x.geojson]; out []; crs []; voltages [400kV, 275kV, 132kV, 33kV] - Edges: uses 2 estate files (import 1, estate-url 1); used by 0; mentioned by 0 ### CI PR Gate - File: gridatlas/tools/ci/pr-gate.mjs (JavaScript, 489 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/pr-gate.mjs#L1-L489 - Page: https://code.globalgrid2050.com/explore-code/s/0630.html#f2 - Synopsis: A JavaScript module in the tools folder of GridAtlas that runs async (`runAsync`), using SHA-256. - What it achieves (comment): It is built from the record step (`record`), the run step (`run`) and the tail step (`tail`). The pull-request gate: every check that was run by hand before a cut, run by the runner on every PR to main. - What it does: It loads data. Defines 13 functions or classes, including record, run, tail, group, step. Uses libraries node:fs, node:os, node:path, node:child_process, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file current.json; command-line arguments. - Downstream impact: Used directly by 2 files: Map Promotion Rehearsal (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `record(name, ok, detail = '')`; `run(argv, opts = {})`; `tail(text, lines = 6)`; `group(title, fn)`; `step(name, argv)`; `baseHas(file)`; `check(indexRel, currentRel)`; `runAsync(argv, opts = {})`; `suites(fs.existsSync(suiteDir) ? fs.readdirSync(suiteDir).filter(f => f.endsWith('.test.mjs')).sort() : [])`; `min(head.match(/@gate-min-generation\s+(\d{12})\b/) || [])`; `overlayFile(g)`; `overlayGenerationOf(pointer)`; `own(pointer.cartridges || [])`; `sldEntry(pointer.cartridges || [])`; `pinned(fs.existsSync(vDir) ? fs.readdirSync(vDir) : [])`; `counts(r.stdout.match(/^)`; `offFile(g)`; `modOf(p, id, re)`; `add(o, l, why)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 15 estate files (script-call 15); used by 2; mentioned by 0 ### CI Unified Preservation Gate - File: gridatlas/tools/ci/unified-preservation-gate.py (Python, 69 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/ci/unified-preservation-gate.py#L1-L69 - Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f1 - Synopsis: A Python command-line tool in the tools folder of GridAtlas covering unified authorised changes, using SHA-256. - What it achieves (comment): It is built from the git step (`git`), the paths step (`paths`) and the check step (`check`). V9.201 additive change gate. Run from a full Git checkout of the exact candidate. - What it does: Defines git, paths, check, workflows, main. Uses libraries json, subprocess, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file unified-authorised-changes.json; JSON file current.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `git(root, *args)`; `paths(root, rev)`; `check(root, base, head, register)`; `workflows(items)`; `main()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file unified-authorised-changes.json; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Scan GridAtlas Versions - File: gridatlas/tools/history/scan_gridatlas_versions.py (Python, 211 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/history/scan_gridatlas_versions.py#L1-L211 - Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f2 - Synopsis: A Python command-line tool in the history folder that scans repo (`scan_repo`). It is built from the run step (`run`). - What it achieves (comment): Bounded Git-history scanner for GridAtlas release and workflow pattern recognition. It accepts `--repo`, `--reference-repo` and `--output`. - What it does: It lists and searches its content. Defines run, scan_repo, main. Uses libraries __future__, argparse, json, os, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `run(repo: Path, args: list[str], deadline: float, *, allow_fail: bool = False)`; `scan_repo(repo: Path, deadline: float, *, include_parent_duplicate_check: bool)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Browser Test - File: gridatlas/tools/journey/browser.test.mjs (JavaScript, 152 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/browser.test.mjs#L1-L152 - Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f3 - Synopsis: A test in the journey folder of GridAtlas that checks Build and Serve, using SHA-256. - What it achieves (comment): Real native GridAtlas composer acceptance; local HTTP serves Git-published LF text bytes. - What it does: It tests its inputs. Uses libraries node:fs, node:path, node:os, node:assert/strict, node:crypto. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "browser.test.mjs uses the actual Atlas composer and native MapLibre, with the local fixture composition generated by build.mjs (not committed or published by this source change)." - Inputs & outputs: In: JSON file receipt.json. Out: JSON file receipt.json; JSON file failure.json; interactive map; WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file receipt.json]; out [JSON file receipt.json; JSON file failure.json; interactive map; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Build Module - File: gridatlas/tools/journey/build-module.mjs (JavaScript, 13 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/build-module.mjs#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f4 - Synopsis: A JavaScript module in the journey folder of GridAtlas that uses SHA-256. It is built from the option step (`option`). - What it achieves (comment): Assemble the reusable Journey cartridge only; never writes compositions or pointers. - What it does: Defines option. Uses libraries node:fs, node:path, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Signatures: `option(name)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Build - File: gridatlas/tools/journey/build.mjs (JavaScript, 39 lines) · role storage · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/build.mjs#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f5 - Synopsis: A JavaScript module in the journey folder of GridAtlas that reads synthetic branch, using SHA-256. - What it achieves (comment): It is built from the read step (`read`), the hash step (`hash`) and the assemble step (`assemble`). Deterministic, pinned-source preview assembly. Never modifies a live pointer. It reads `tools/journey/fixtures/synthetic-branch.v1.json`. - What it does: It loads synthetic branch. Defines read, hash, assemble, build. Uses libraries node:fs, node:path, node:url, node:crypto, node:assert/strict. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "assembleModule({generation}) from build.mjs returns {body,pin,fixture}" - Inputs & outputs: In: JSON file synthetic-branch.v1.json; JSON file current.json; command-line arguments. - Downstream impact: Used directly by 4 files: Browser Test (gridatlas); Serve (gridatlas); Cut Grid Explorer (gridatlas); Grid Explorer Proof (gridatlas). Reached from 11 other entry points, including GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas); Browser Test (gridatlas). - Signatures: `export assemble()`; `export build(check = false)`; `read(p)`; `hash(b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file synthetic-branch.v1.json; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 4; mentioned by 0 ### Contract Test - File: gridatlas/tools/journey/contract.test.mjs (JavaScript, 30 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/contract.test.mjs#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f6 - Synopsis: A test in the journey folder of GridAtlas that uses SHA-256. - What it achieves (name): Defines `read`, `clone` and `make`. It reads `./fixtures/synthetic-branch.v1.json`. - What it does: It tests its inputs. Defines read, clone, make. Uses libraries node:assert/strict, node:fs, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file synthetic-branch.v1.json; JSON file reviewed-pair.v1.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `read(p)`; `clone(x)`; `make(f, chosenNode)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file synthetic-branch.v1.json; JSON file reviewed-pair.v1.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Controller Test - File: gridatlas/tools/journey/controller.test.mjs (JavaScript, 75 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/controller.test.mjs#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f7 - Synopsis: A test in the journey folder of GridAtlas that checks Controller and Bootstrap. It is built from the clone step (`clone`), the target class (`Target`) and the harness step (`harness`). - What it achieves (comment): Lifecycle negatives use a small DOM/map stub. It reads `./fixtures/synthetic-branch.v1.json`. - What it does: It tests the REPD register. Defines 8 functions or classes, including clone, Target, harness, E, all. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file synthetic-branch.v1.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `clone(x)`; `class Target`; `addEventListener(t,f)`; `removeEventListener(t,f)`; `emit(t,e={})`; `listeners()`; `harness({planner=planJourney,input=fixture,reduced=false,ready=true,layerHosts=false,layerReady=true}={})`; `class E`; `constructor(tag)`; `setAttribute(k,v)`; `appendChild(e)`; `replaceChildren()`; `remove()`; `focus()`; `all(e=container)`; `button(s)`; `choose()`; `settled(h)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file synthetic-branch.v1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, url-import-meta 1); used by 1; mentioned by 0 ### GridAtlas — Journey - File: gridatlas/tools/journey/module.mjs (JavaScript, 40 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/module.mjs#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f8 - Synopsis: A JavaScript module in the tools folder that reads vendor pin, reviewed pair and synthetic branch, using SHA-256. - What it achieves (comment): It is built from the read step (`read`), the hash step (`hash`) and the assemble module helper (`assembleModule`). Deterministic, pinned-source preview assembly. Never modifies a live pointer. It reads `tools/journey/vendor-pin.json`. - What it does: It loads vendor pin, reviewed pair and synthetic branch. Defines read, hash, assembleModule. Uses libraries node:fs, node:path, node:url, node:crypto, node:assert/strict. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file vendor-pin.json; JSON file reviewed-pair.v1.json; JSON file synthetic-branch.v1.json. - Downstream impact: Used directly by 2 files: Build Module (gridatlas); Build (gridatlas). Reached from 12 other entry points, including GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas); Browser Test (gridatlas). - Signatures: `export assembleModule({generation = G} = {})`; `read(p)`; `hash(b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file vendor-pin.json; JSON file reviewed-pair.v1.json; JSON file synthetic-branch.v1.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Serve - File: gridatlas/tools/journey/serve.mjs (JavaScript, 20 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/serve.mjs#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f9 - Synopsis: A JavaScript module in the journey folder of GridAtlas. It creates preview server (`createPreviewServer`). - What it achieves (comment): Read-only local preview server, serving the same LF text bytes as GitHub Pages. - What it does: It loads data. Defines createPreviewServer. Uses libraries node:fs, node:path, node:http, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 10 files: UKPN Paired Browser (gridatlas); UKPN Secondary Browser (gridatlas); Browser Test (gridatlas); Vicinity Entry Browser (gridatlas); and 6 more. Reached from 2 other entry points, including GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export createPreviewServer(port=0)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 10; mentioned by 0 ### Bootstrap - File: gridatlas/tools/journey/src/bootstrap.js (JavaScript, 20 lines) · role render · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/src/bootstrap.js#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0631.html#f10 - Synopsis: A JavaScript file in the journey folder of GridAtlas. It is built from the mount step (`mount`) and the attach step (`attach`). - What it achieves (comment): Bounded public-map attachment. No private card closures, new map or network fetch. - What it does: It loads data. Defines mount, attach. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Controller Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `mount(map = window.__GRIDATLAS_V9_MAP__)`; `attach()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Controller - File: gridatlas/tools/journey/src/controller.mjs (JavaScript, 202 lines) · role render · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/journey/src/controller.mjs#L1-L202 - Page: https://code.globalgrid2050.com/explore-code/s/0632.html#f1 - Synopsis: A JavaScript module in the journey folder of GridAtlas that maps cables, using SHA-256. It creates journey controller (`createJourneyController`), removes map (`removeMap`) and writes cursor (`writeCursor`). - What it achieves (comment): Native MapLibre presentation only. The pinned engine owns evidence and traversal. It responds to change events. - What it does: It maps cables. Defines 26 functions or classes, including createJourneyController, empty, el, listen, isReduced. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables. - Downstream impact: Used directly by 1 file: Controller Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export createJourneyController({map, document: D, window: W, planner, fixture, css, generation})`; `empty()`; `el(tag, text, parent, attrs = {})`; `listen(e, type, fn)`; `isReduced()`; `report(s)`; `pauseMotion()`; `controlsState()`; `removeMap()`; `installMap()`; `writeCursor(coordinates)`; `lineFor(s)`; `frameRoute()`; `showStep(index)`; `advance()`; `resetPlan()`; `animate()`; `frame(now)`; `choose()`; `installLayerControls()`; `setOrigin(origin)`; `shut()`; `open(options)`; `realSelection(clearContext = true)`; `styleLoad()` (and 3 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build - File: gridatlas/tools/lightning/build.mjs (JavaScript, 160 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/build.mjs#L1-L160 - Page: https://code.globalgrid2050.com/explore-code/s/0632.html#f2 - Synopsis: A JavaScript module in the lightning folder of GridAtlas that reads generations, using SHA-256. - What it achieves (comment): It reads generations (`readGenerations`) and is built from the sha256 step (`sha256`) and the module path helper (`modulePath`). Build the UK lightning overlay module (`atlas/modules/` `-uk-lightning-overlay.js`) from its readable source in `tools/lightning/src/`. - What it does: It loads generations. Defines 7 functions or classes, including sha256, modulePath, readGenerations, sourceFiles, assemble. Uses libraries node:fs, node:path, node:crypto, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generations.json; command-line arguments. - Downstream impact: Used directly by 3 files: CI PR Gate (gridatlas); Make Generation (gridatlas); Build (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Map Promotion Rehearsal (gridatlas). - Signatures: `export modulePath(gen)`; `export readGenerations(file = GENERATIONS)`; `export sourceFiles(srcDir = SRC_DIR)`; `export assemble({ variant, gen, variants, srcDir = SRC_DIR })`; `export newestModule()`; `export check()`; `sha256(buf)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generations.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Annotations - File: gridatlas/tools/lightning/lineage/annotations.mjs (JavaScript, 279 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/annotations.mjs#L1-L279 - Page: https://code.globalgrid2050.com/explore-code/s/0632.html#f3 - Synopsis: A JavaScript module in the lineage folder of GridAtlas that fetches the Renewable Energy Planning Database (REPD) register and substations, using SHA-256. - What it achieves (comment): The source-only layer of `tools/lightning/src`: file sections and `///` comments, anchored to text in the M4 module ('A', variant layers) or, with in:'B', the M4b module (variant dots). Its code works with 33 kV. It responds to change events. - What it does: It fetches the REPD register and substations. Defines N. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations, 33kV. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Reconstruct (gridatlas). - Signatures: `N(at, text, opt = {})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build M - File: gridatlas/tools/lightning/lineage/build-M.mjs (JavaScript, 86 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/build-M.mjs#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f1 - Synopsis: A JavaScript module in the lineage folder of GridAtlas that maps Renewable Energy Planning Database (REPD) master, the REPD register, substations and solar. - What it achieves (name): It is built from the all step (`all`). Defines `KEEP`, `fin`, `once` and 1 more. It reads `/dist/repd_master.json`. - What it does: It maps REPD master, the REPD register, substations and solar. Defines KEEP, fin, once, all, b. Uses libraries node:fs. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations, solar. - Inputs & outputs: In: JSON file repd_master.json; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `KEEP(t)`; `fin(t)`; `once(from, to, n = 1)`; `all(from, to)`; `b(x)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file repd_master.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Build M2 - File: gridatlas/tools/lightning/lineage/build-M2.mjs (JavaScript, 39 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/build-M2.mjs#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f2 - Synopsis: A JavaScript module in the lineage folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register and substations. - What it achieves (comment): It is built from the once step (`once`) and the cut step (`cut`). Cartridge gate 500,000 B, module cap 64,781 B). It responds to click events. - What it does: It loads the REPD register and substations. Defines once, cut. Uses libraries node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations. - Inputs & outputs: In: command-line arguments. - Signatures: `once(id, a, b)`; `cut(id, from, to, b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 0; mentioned by 0 ### Build M3 - File: gridatlas/tools/lightning/lineage/build-M3.mjs (JavaScript, 53 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/build-M3.mjs#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f3 - Synopsis: A JavaScript module in the lineage folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It is built from the once step (`once`) and the cut step (`cut`). Build M2 module (, as published on main) -> M3 module. It responds to toggle and change events. - What it does: It loads the REPD register. Defines once, cut. Uses libraries node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: command-line arguments. - Signatures: `once(id, a, b)`; `cut(id, from, to, b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (url-import-meta 2); used by 0; mentioned by 0 ### Build M4 - File: gridatlas/tools/lightning/lineage/build-M4.mjs (JavaScript, 35 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/build-M4.mjs#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f4 - Synopsis: A JavaScript module in the lineage folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register. It is built from the once step (`once`). - What it achieves (comment): Build M3 module (, as on main) -> M4 module. - What it does: It loads the REPD register. Defines once. Uses libraries node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: command-line arguments. - Signatures: `once(id, a, b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 0; mentioned by 0 ### Build M4b - File: gridatlas/tools/lightning/lineage/build-M4b.mjs (JavaScript, 60 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/build-M4b.mjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f5 - Synopsis: A JavaScript module in the lineage folder of GridAtlas that maps the Renewable Energy Planning Database (REPD) register, solar, wind and battery storage (BESS). - What it achieves (comment): It is built from the once step (`once`) and the cut step (`cut`). M4 module -> M4b module (owner option). It responds to change events. - What it does: It maps the REPD register, solar, wind and battery storage (BESS). Defines once, cut. Uses libraries node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind, battery storage (BESS). - Inputs & outputs: In: command-line arguments. - Signatures: `once(id, a, b)`; `cut(id, from, to, b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Const2let - File: gridatlas/tools/lightning/lineage/const2let.mjs (JavaScript, 42 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/const2let.mjs#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f6 - Synopsis: A JavaScript module in the lineage folder of GridAtlas. It is built from the const2let step (`const2let`). - What it achieves (comment): Rewrite `const` declarations as `let` (2 bytes each) after proving, with scope resolution, that no binding a declaration creates is ever the target of an assignment, update or for-in/of head. - What it does: It calculates its inputs. Defines const2let. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Build M (gridatlas). - Signatures: `export const2let(src, keep = () => false)`; `names(p, out)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Fixes M4 - File: gridatlas/tools/lightning/lineage/fixes-m4.mjs (JavaScript, 17 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/fixes-m4.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f7 - Synopsis: A JavaScript module in the lineage folder of GridAtlas. It is built from the fixes step (`fixes`). - What it achieves (comment): Review fixes folded into M4 (called by `build-M4.mjs` with its exact-once `once`). - What it does: It calculates its inputs. Defines fixes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Build M4 (gridatlas). - Signatures: `export fixes(once)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Layers M3 Part - File: gridatlas/tools/lightning/lineage/layers-m3.part.js (JavaScript, 14 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/layers-m3.part.js#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f8 - Synopsis: A JavaScript file in the lineage folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register, solar, wind and battery storage (BESS). - What it achieves (comment): M3: the REPD map layers of the listed projects --------------------------------------------------------------- The owner (28 Oct 2026, 21:39 UTC): "auto activate the REPD layers of the targeted 10 nearest projects". - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind, battery storage (BESS). - Downstream impact: Used directly by 1 file: Build M3 (gridatlas). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Make Generation M4 - File: gridatlas/tools/lightning/lineage/make-generation-M4.mjs (JavaScript, 281 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/make-generation-M4.mjs#L1-L281 - Page: https://code.globalgrid2050.com/explore-code/s/0633.html#f9 - Synopsis: A JavaScript module in the lineage folder of GridAtlas that reads composition, Renewable Energy Planning Database (REPD) publication q1 and the REPD register, using SHA-256. - What it achieves (comment): It reads buf (`readBuf`), reads text (`readText`) and derives composition (`deriveComposition`). `make-generation.mjs` -- cut a NEW immutable candidate generation of the UK lightning implant (issue #32 §8 Step F, §12 E). Its code works with 0 MW. It reads `atlas/current.json`. - What it does: It loads composition, REPD publication q1 and the REPD register. Defines 12 functions or classes, including die, need, R, readBuf, readText. Uses libraries node:fs, node:path, node:crypto. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file current.json; JSON file -composition.json; JSON file current-v5.json; JSON file live-set.json; CSV file REPD_publication_Q1_2026.csv; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `die(msg)`; `need(ok, msg)`; `R(p)`; `readBuf(p)`; `readText(p)`; `sha(buf)`; `shaLF(buf)`; `json(obj)`; `countOf(hay, needle)`; `versionNum(v)`; `deriveComposition(src, prefix, kind)`; `write(p, data)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file -composition.json; JSON file current-v5.json; JSON file live-set.json; CSV file REPD_publication_Q1_2026.csv; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Reconstruct - File: gridatlas/tools/lightning/lineage/reconstruct.mjs (JavaScript, 257 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/reconstruct.mjs#L1-L257 - Page: https://code.globalgrid2050.com/explore-code/s/0634.html#f1 - Synopsis: A JavaScript module in the lineage folder of GridAtlas that works with line diff (`lineDiff`) and line start (`lineStart`). - What it achieves (comment): It is built from the norm step (`norm`), the analyse step (`analyse`) and the depth step (`depth`). `reconstruct.mjs` (CD-source lane, 29 Oct 2026, one-off; kept as the provenance of `tools/lightning/src`): the committed M4 and M4b module bytes -> `tools/lightning/src/*.js` (readable layout, the comments of `annotations.mjs`, ///#if variant blocks from a token-level diff of the two modules). - What it does: It loads data. Defines 20 functions or classes, including rd, norm, analyse, depth, inTpl. Uses libraries node:fs, node:os, node:path, acorn. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Signatures: `rd(g)`; `norm(t, g)`; `analyse(T)`; `depth()`; `inTpl()`; `lineDiff(a, b)`; `off(ls)`; `segments()`; `P(I, s, e)`; `posA(i)`; `ws(c)`; `lineStart(T, p)`; `lineEnd(T, p)`; `pieces(I, s, e, extra)`; `lead(T.slice(ls).match(/^ */) || [''])`; `ind(q)`; `render()`; `place(units)`; `at(u, o, p)`; `find(needle, where)`; `firstDiff(x, y)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Renewable Energy Planning Database (REPD) M2 Part - File: gridatlas/tools/lightning/lineage/repd-m2.part.js (JavaScript, 82 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/repd-m2.part.js#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/0634.html#f2 - Synopsis: A JavaScript file in the lineage folder of GridAtlas that maps REPD master, the REPD register, solar and wind. - What it achieves (comment): REPD projects near a tap (M2) ---------------------------------------------------------------------------------- The register the map already holds (the engine's src-REPD data when a REPD layer has loaded it, else the engine URL `/dist/repd_master.json` through the untouched bridge). Its code works with 0 MW. It responds to click events. - What it does: It maps REPD master, the REPD register, solar and wind. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind. - Inputs & outputs: In: JSON file repd_master.json; DuckDB queries. - Downstream impact: Used directly by 1 file: Build M2 (gridatlas). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file repd_master.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) M3 Part - File: gridatlas/tools/lightning/lineage/repd-m3.part.js (JavaScript, 100 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/repd-m3.part.js#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/0634.html#f3 - Synopsis: A JavaScript file in the lineage folder of GridAtlas that maps REPD master, the REPD register, solar and wind. - What it achieves (comment): REPD projects near a tap (M2, M3) -------------------------------------------------------------------------------- The register the map already holds (the engine's src-REPD data when a REPD layer has loaded it, else the engine URL `/dist/repd_master.json` through the untouched bridge). Its code works with 0 MW. It responds to click events. - What it does: It maps REPD master, the REPD register, solar and wind. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind. - Inputs & outputs: In: JSON file repd_master.json; DuckDB queries. - Downstream impact: Used directly by 1 file: Build M3 (gridatlas). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file repd_master.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Verify Lineage - File: gridatlas/tools/lightning/lineage/verify-lineage.mjs (JavaScript, 37 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/lineage/verify-lineage.mjs#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0634.html#f4 - Synopsis: A JavaScript module in the lightning folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register. - What it achieves (name): Its name says it verifies lineage. Defines `mod`. - What it does: It loads the REPD register. Defines mod. Uses libraries node:fs, node:os, node:path, node:child_process, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `mod(g)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Make Generation - File: gridatlas/tools/lightning/make-generation.mjs (JavaScript, 202 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/make-generation.mjs#L1-L202 - Page: https://code.globalgrid2050.com/explore-code/s/0634.html#f5 - Synopsis: A JavaScript module in the lightning folder of GridAtlas that reads composition, using SHA-256. It reads buf (`readBuf`) and reads text (`readText`). - What it achieves (comment): Cut a NEW immutable candidate generation of the UK lightning overlay from `tools/lightning/src`. It reads `atlas/current.json`. - What it does: It loads composition. Defines 12 functions or classes, including die, need, R, readBuf, readText. Uses libraries node:fs, node:path, node:crypto, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file -composition.json; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `die(msg)`; `need(ok, msg)`; `R(p)`; `readBuf(p)`; `readText(p)`; `sha(buf)`; `shaLF(buf)`; `json(obj)`; `countOf(hay, needle)`; `files(g)`; `derive(src, prefix, kind)`; `write(p, data)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file -composition.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### 00 Header - File: gridatlas/tools/lightning/src/00-header.js (JavaScript, 64 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/00-header.js#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f1 - Synopsis: A JavaScript file in the lightning folder of GridAtlas covering UK lightning and the Renewable Energy Planning Database (REPD) register, and uses data from the lightning repository. - What it achieves (comment): UK-lightning-overlay, generation @@GEN@@ . EUMETSAT MTG LI L2-LFL optical flashes, OFF by default, never persisted; NOT confirmed ground strikes; unsearched is unknown, never zero. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 01 Helpers - File: gridatlas/tools/lightning/src/01-helpers.js (JavaScript, 63 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/01-helpers.js#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f2 - Synopsis: A JavaScript file in the lightning folder of GridAtlas. - What it achieves (comment): Date and number formatting, GeoJSON guards, the device cap, month arithmetic and the published state S. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 02 Transport - File: gridatlas/tools/lightning/src/02-transport.js (JavaScript, 39 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/02-transport.js#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f3 - Synopsis: A JavaScript file in the lightning folder of GridAtlas. - What it achieves (comment): Fetch for .JSON (no redirects, 15 s timeout that also covers the body), XMLHttpRequest for the live feed, and the LRU of day/grid promises. - What it does: It fetches data. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 03 Index - File: gridatlas/tools/lightning/src/03-index.js (JavaScript, 81 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/03-index.js#L1-L81 - Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f4 - Synopsis: A JavaScript file in the lightning folder of GridAtlas. - What it achieves (comment): 03 archive index v2 (Ventusltd/lightning `data/history/index.json`): every row validated; coverage from `scan_windows`. - What it does: It lists and searches its content. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file index.json. - Signatures: `sw(raw.scan_windows||[])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 04 Windows - File: gridatlas/tools/lightning/src/04-windows.js (JavaScript, 49 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/04-windows.js#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f5 - Synopsis: A JavaScript file in the lightning folder of GridAtlas that uses SHA-256. - What it achieves (comment): 04 windows and day files: UTC, end-anchored [start,end) windows; hourly or daily shard targets; a 4-wide fan-out. - What it does: It lists and searches its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 05 Cells - File: gridatlas/tools/lightning/src/05-cells.js (JavaScript, 75 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/05-cells.js#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f6 - Synopsis: A JavaScript file in the lightning folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): 05 flashes and cells: feature validation and de-duplication, month grids, the REPD land mask, the cell layer data. - What it does: It lists and searches the REPD register. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 06 Load - File: gridatlas/tools/lightning/src/06-load.js (JavaScript, 61 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/06-load.js#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f7 - Synopsis: A JavaScript file in the lightning folder of GridAtlas that uses SHA-256. - What it achieves (comment): 06 tiers: the live feed (7 days only), the archive overview (cells), the archive detail (points, budgeted). - What it does: It lists and searches its content. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 07 Captions - File: gridatlas/tools/lightning/src/07-captions.js (JavaScript, 84 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/07-captions.js#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f8 - Synopsis: A JavaScript file in the lightning folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): 07 state and captions: the state machine (cf) and the caption lines (cp). - What it does: It lists and searches the REPD register. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Signatures: `ub(r.rows||[])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 08 Map - File: gridatlas/tools/lightning/src/08-map.js (JavaScript, 176 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/08-map.js#L1-L176 - Page: https://code.globalgrid2050.com/explore-code/s/0635.html#f9 - Synopsis: A JavaScript file in the lightning folder of GridAtlas that maps the Renewable Energy Planning Database (REPD) register and substations. - What it achieves (comment): The map handle, the card position, the cell layers, the point layers and the tap handler. - What it does: It maps the REPD register and substations. Defines go. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations. - Signatures: `go(z)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 09 Card - File: gridatlas/tools/lightning/src/09-card.js (JavaScript, 99 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/09-card.js#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0636.html#f1 - Synopsis: A JavaScript file in the lightning folder of GridAtlas that works with the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): The docked card (flash, cell or REPD project), the cell card and the short flash ID. It responds to click and toggle events. - What it does: It calculates the REPD register. Defines T. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `T()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 10 Neon - File: gridatlas/tools/lightning/src/10-neon.js (JavaScript, 177 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/10-neon.js#L1-L177 - Page: https://code.globalgrid2050.com/explore-code/s/0636.html#f2 - Synopsis: A JavaScript file in the lightning folder of GridAtlas that maps substations and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): 10 nearest substations and the camera: the original's own measure drawn as its neon arrival in Lightning-owned layers, and the framing rules (M2R-layout F1-F3, M2R-camera fix C, M2R-taps T1). Its code works with 33 kV. - What it does: It maps substations and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, the REPD register, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 11 Renewable Energy Planning Database (REPD) Map - File: gridatlas/tools/lightning/src/11-repd-map.js (JavaScript, 61 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/11-repd-map.js#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/0636.html#f3 - Synopsis: A JavaScript file in the lightning folder of GridAtlas that maps the REPD register, solar, wind and battery storage (BESS). - What it achieves (comment): M4b: the listed REPD sites, drawn in the original REPD style ---------------------------------------------------- One dot per listed project at its site, with the engine's own paint (`ventus-corev8engine.js`:1305-1337). - What it does: It maps the REPD register, solar, wind and battery storage (BESS). Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind, battery storage (BESS). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 11b Renewable Energy Planning Database (REPD) Records - File: gridatlas/tools/lightning/src/11b-repd-records.js (JavaScript, 73 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/11b-repd-records.js#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/0636.html#f4 - Synopsis: A JavaScript file in the lightning folder of GridAtlas that reads REPD projects, the REPD register, postcodes and substations, using SHA-256. - What it achieves (comment): 11b M5: the full REPD record of a listed project (owner, 29 Oct 2026 02:21 UTC: "list all 10 sites, their names and distances and full addresses as per REPD following the pattern from the grid engine"). Its code works with 400 kV. It responds to click events. - What it does: It loads REPD projects, the REPD register, postcodes and substations. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, postcodes, substations, 400kV. - Inputs & outputs: In: Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; DuckDB queries. Voltage levels named: 400kV. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [Parquet file repd_projects_202608290716.parquet; JSON file repd_v9_manifest_202608290716.json; DuckDB queries]; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 12 Renewable Energy Planning Database (REPD) - File: gridatlas/tools/lightning/src/12-repd.js (JavaScript, 209 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/12-repd.js#L1-L209 - Page: https://code.globalgrid2050.com/explore-code/s/0636.html#f5 - Synopsis: A JavaScript file in the lightning folder of GridAtlas that maps REPD master, the REPD register, solar and wind. - What it achieves (comment): REPD projects near a tap (M2, M3) -------------------------------------------------------------------------------- The register the map already holds (the engine's src-REPD data when a REPD layer has loaded it, else the engine URL `/dist/repd_master.json` through the untouched bridge). Its code works with 0 MW. It responds to click events. - What it does: It maps REPD master, the REPD register, solar and wind. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind. - Inputs & outputs: In: JSON file repd_master.json; DuckDB queries. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file repd_master.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 14 Actions - File: gridatlas/tools/lightning/src/14-actions.js (JavaScript, 124 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/14-actions.js#L1-L124 - Page: https://code.globalgrid2050.com/explore-code/s/0637.html#f1 - Synopsis: A JavaScript file in the lightning folder of GridAtlas. - What it achieves (comment): Period, navigation, load, the ON/OFF switch, the toggle binding and the HIDE LAYERS clearance. It responds to change events. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 15 Install - File: gridatlas/tools/lightning/src/15-install.js (JavaScript, 32 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/lightning/src/15-install.js#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/0637.html#f2 - Synopsis: A JavaScript file in the lightning folder of GridAtlas. - What it achieves (comment): After the menu bar, Pipeline News and the map exist; the public NS.ukLightning surface. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch NESO Connection Sites - File: gridatlas/tools/offshore/fetch_neso_connection_sites.py (Python, 337 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offshore/fetch_neso_connection_sites.py#L1-L337 - Page: https://code.globalgrid2050.com/explore-code/s/0637.html#f3 - Synopsis: A Python command-line tool in the offshore folder of GridAtlas that fetches Renewable Energy Planning Database (REPD) browser registry, grid substations and NESO connection sites lean from NESO data portal. - What it achieves (comment): It is built from the normalise step (`normalise`), the fetch step (`fetch`) and the substation names helper (`substation_names`). Bind every register project to the substation NESO says it connects at. Its code works with 182 MW, 183.6 MW and 480 MW. It accepts `--apply` and `--limit`. - What it does: It fetches REPD browser registry, grid substations, NESO connection sites lean and the REPD register. Defines normalise, fetch, substation_names, site_key, main. Uses libraries __future__, argparse, datetime, json, re. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'neso'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, 400kV. - Inputs & outputs: In: data source: NESO data portal; JSON file repd_browser_registry_202608290716.json; GeoJSON file grid_substations.geojson; JSON file neso-connection-sites.json; JSON file neso-connection-sites.lean.json; command-line arguments. Voltage levels named: 400kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `normalise(value: str)`; `fetch(resource_id: str, limit: int = 5000)`; `substation_names()`; `site_key(site: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: NESO data portal; JSON file repd_browser_registry_202608290716.json; GeoJSON file grid_substations.geojson; JSON file neso-connection-sites.json; JSON file neso-connection-sites.lean.json; command-line arguments]; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Reconcile Offshore Coordinates - File: gridatlas/tools/offshore/reconcile_offshore_coordinates.py (Python, 759 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offshore/reconcile_offshore_coordinates.py#L1-L759 - Page: https://code.globalgrid2050.com/explore-code/s/0638.html#f1 - Synopsis: A Python command-line tool in the tools folder of GridAtlas that fetches Renewable Energy Planning Database (REPD) browser registry and crown estate wind sites, using EPSG:4326 and Helmert from postcodes.io. - What it achieves (comment): It fetches layer (`fetch_layer`) and loads registry (`load_registry`). Give every unlocated REPD row a coordinate, or say plainly why it has none. Its code works with 2907 MW, 1008 MW and 1000 MW. It accepts `--out`, `--offline` and `--check`. - What it does: It fetches REPD browser registry, crown estate wind sites, crown estate scotland wind sites and the REPD register. Defines 11 functions or classes, including point_on_surface, shoelace, osgb36_en_to_wgs84, haversine_km, fetch_layer. Uses libraries __future__, argparse, datetime, json, math. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. README: "Offshore coordinates are reconciled by `tools/offshore/reconcile_offshore_coordinates.py`, run annually and on demand by `.github/workflows/offshore-coordinate-reconcile.yml`, writing `atlas/data/offshore-coordinates.json`." - Inputs & outputs: In: data source: postcodes.io; JSON file repd_browser_registry_202608290716.json; JSON file offshore-coordinates.json; GeoJSON file crown-estate-wind-sites.geojson; GeoJSON file crown-estate-scotland-wind-sites.geojson; command-line arguments. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `point_on_surface(geometry: dict)`; `shoelace(ring: list)`; `osgb36_en_to_wgs84(easting: float, northing: float)`; `haversine_km(a: tuple[float, float], b: tuple[float, float])`; `fetch_layer(filename: str, spec: dict, offline: bool)`; `repair(text: str)`; `load_registry()`; `unlocated(records: list[dict])`; `build(offline: bool)`; `sanity(report: dict)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: postcodes.io; JSON file repd_browser_registry_202608290716.json; JSON file offshore-coordinates.json; GeoJSON file crown-estate-wind-sites.geojson; GeoJSON file crown-estate-scotland-wind-sites.geojson; command-line arguments]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build - File: gridatlas/tools/offtakers/build.mjs (JavaScript, 77 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/build.mjs#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/0639.html#f2 - Synopsis: A JavaScript module in the offtakers folder of GridAtlas that reads generations and vicinity delta, using SHA-256. - What it achieves (comment): It is built from the sha256 step (`sha256`), the module path helper (`modulePath`) and the build step (`build`). Build the potential-offtakers overlay module (`atlas/modules/` `-uk-offtakers-overlay.js`) from its readable source in `tools/offtakers/src/`, with the same deterministic text transform as the lightning overlay (`tools/lightning/build.mjs` `assemble`: files concatenated in name order, `///` source-only lines dropped, `///` line continuations joined, `@@GEN@@` stamped). - What it does: It loads generations and vicinity delta. Defines sha256, modulePath, build, check. Uses libraries node:fs, node:path, node:crypto, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generations.json; JSON file 202611222000-vicinity-delta.json; command-line arguments. - Downstream impact: Used directly by 2 files: CI PR Gate (gridatlas); Offtakers Cartridge (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Map Promotion Rehearsal (gridatlas). - Signatures: `export modulePath(gen)`; `export build(gen)`; `export check()`; `sha256(b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generations.json; JSON file 202611222000-vicinity-delta.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Ot Filter - File: gridatlas/tools/offtakers/filter/ot_filter.py (Python, 693 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/filter/ot_filter.py#L1-L693 - Page: https://code.globalgrid2050.com/explore-code/s/0639.html#f3 - Synopsis: A Python command-line tool in the offtakers folder of GridAtlas that reads heavy emitters UK, industrial offtakers, datacentres and power plants, using SHA-256 from the GlobalGrid2050 repository. - What it achieves (comment): It loads NAEI (`load_naei`), loads GeoJSON (`load_geojson`) and loads gppd (`load_gppd`). Potential-offtakers filter (lane OT-filter), 29 Oct 2026. It accepts `--data`, `--out` and `--dukes`. - What it does: It loads heavy emitters UK, industrial offtakers, datacentres and power plants. Defines 26 functions or classes, including sha256, hav_km, in_bbox, norm, tokens. Uses libraries argparse, csv, hashlib, json, math. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: globalgrid2050 data; JSON file heavy_emitters_uk.json; JSON file manifest_heavy_emitters.json; GeoJSON file industrial_offtakers.geojson; GeoJSON file datacentres.geojson; GeoJSON file power_plants.geojson; CSV file gppd.csv; CSV file status_curated.csv. Out: JSON file excluded_counts.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha256(path)`; `hav_km(a, b)`; `in_bbox(c)`; `norm(s)`; `tokens(s)`; `unknown(s)`; `band(t)`; `power_subclass(name, operator, t)`; `load_naei(path)`; `load_geojson(path, src)`; `load_gppd(path)`; `load_status(path)`; `load_dukes(path)`; `load_tec(path)`; `classify_naei(r)`; `btm_flag(cls, sub, s_lower, t, sources)`; `nation(country, lon, lat)`; `main()`; `L(*x)`; `status_of(name)`; `opkey(o)`; `sitetok(n)`; `merge_into_B(rec, src_label, dist_km=2.5)`; `size_metric(s)`; `licence_for(s)` (and 1 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data; JSON file heavy_emitters_uk.json; JSON file manifest_heavy_emitters.json; GeoJSON file industrial_offtakers.geojson; GeoJSON file datacentres.geojson; GeoJSON file power_plants.geojson; CSV file gppd.csv; CSV file status_curated.csv]; out [JSON file excluded_counts.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 00 Header - File: gridatlas/tools/offtakers/src/00-header.js (JavaScript, 4 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/00-header.js#L1-L4 - Page: https://code.globalgrid2050.com/explore-code/s/0640.html#f2 - Synopsis: A JavaScript file in the offtakers folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register and substations. - What it achieves (comment): UK-offtakers-overlay, generation @@GEN@@ . Potential offtakers: sites listed in open registers (National Atmospheric Emissions Inventory (NAEI) 2023 point sources, GPPD) and OpenStreetMap, classified by the OT-filter rules (energy-intensive industry, power stations incl. closed and closing, data centres, large water works, other large users). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 01 Data - File: gridatlas/tools/offtakers/src/01-data.js (JavaScript, 99 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/01-data.js#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0640.html#f3 - Synopsis: A JavaScript file in the offtakers folder of GridAtlas that draws offtakers filtered, UK datacentre pipeline, conventional power UK and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it does: It draws offtakers filtered, UK datacentre pipeline, conventional power UK and the REPD register. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: GeoJSON file offtakers_filtered_202610292000.geojson; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; GeoJSON file conventional_power_uk_202610292000.geojson. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file offtakers_filtered_202610292000.geojson; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; GeoJSON file conventional_power_uk_202610292000.geojson]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 02 Map Neon - File: gridatlas/tools/offtakers/src/02-map-neon.js (JavaScript, 45 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/02-map-neon.js#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0640.html#f4 - Synopsis: A JavaScript file in the offtakers folder of GridAtlas. - What it achieves (comment): Map layers (added on the first switch-on only) ---- the class chips and, for power stations, the status chips; a ring (closed, closing or converted) is hollow. - What it does: It maps its content. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 03 Renewable Energy Planning Database (REPD) Register - File: gridatlas/tools/offtakers/src/03-repd-register.js (JavaScript, 13 lines) · role energy-data · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/03-repd-register.js#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/0640.html#f5 - Synopsis: A JavaScript file in the offtakers folder of GridAtlas covering REPD master, solar, wind and battery storage (BESS). - What it achieves (comment): REPD register (the map's own, as M2+). - What it does: It lists and searches REPD master, solar, wind and battery storage (BESS). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind, battery storage (BESS). - Inputs & outputs: In: JSON file repd_master.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file repd_master.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 04 Renewable Energy Planning Database (REPD) Record M5 - File: gridatlas/tools/offtakers/src/04-repd-record-m5.js (JavaScript, 29 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/04-repd-record-m5.js#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/0640.html#f6 - Synopsis: A JavaScript file in the offtakers folder of GridAtlas that reads REPD projects and the REPD register, using SHA-256. - What it achieves (comment): 04 the full REPD record of a listed project: M5-build's exact join (RU..RpB), copied byte for byte from the built M5 module (`evidence/M5-build/tools/build-M5.mjs`; `tests/offtakers.test`.mjs T8 compares it with M5_MODULE). - What it does: It loads REPD projects and the REPD register. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [Parquet file repd_projects_202611132345.parquet; JSON file repd_v9_manifest_202611132345.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 05 Card Camera - File: gridatlas/tools/offtakers/src/05-card-camera.js (JavaScript, 27 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/05-card-camera.js#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0640.html#f7 - Synopsis: A JavaScript file in the offtakers folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): The card (lightning's dock, width, collapse; Escape closes). It responds to click, toggle and keydown events. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 06 Tap Card - File: gridatlas/tools/offtakers/src/06-tap-card.js (JavaScript, 88 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/06-tap-card.js#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/0640.html#f8 - Synopsis: A JavaScript file in the offtakers folder of GridAtlas that lists and searches the Renewable Energy Planning Database (REPD) register and substations. - What it achieves (comment): A tap on a site. It responds to click and keydown events. - What it does: It lists and searches the REPD register and substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 06b DC Engine - File: gridatlas/tools/offtakers/src/06b-dc-engine.js (JavaScript, 167 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/offtakers/src/06b-dc-engine.js#L1-L167 - Page: https://code.globalgrid2050.com/explore-code/s/0640.html#f9 - Synopsis: A JavaScript file in the offtakers folder of GridAtlas that maps substations, the Renewable Energy Planning Database (REPD) register, 33kV and cables. - What it achieves (comment): The original is still called on every tap: its 5 must be the head of the scope's list (else noted in S.errors), and it names the nearest beyond 40 km when none is within. Its code works with 33 kV, 132 kV and 275 kV. It responds to click and keydown events. - What it does: It maps substations, the REPD register, 33kV and cables. Defines D. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, the REPD register, 33kV, cables, 275kV, 132kV. - Inputs & outputs: Voltage levels named: 275kV, 132kV, 66kV, 33kV. - Signatures: `D(v,q)`; `n(c.k||[])`; `ps(c.P||[])` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [275kV, 132kV, 66kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Shift - File: gridatlas/tools/overnight/202609012200-shift.mjs (JavaScript, 329 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/202609012200-shift.mjs#L1-L329 - Page: https://code.globalgrid2050.com/explore-code/s/0641.html#f1 - Synopsis: A JavaScript module in the overnight folder of GridAtlas that fetches shift log, using SHA-256 from GitHub API. - What it achieves (comment): It is built from the flag step (`flag`), the opt step (`opt`) and the utc now helper (`utcNow`). The night shift: one queued step per invocation, cut on this laptop, proven here, pushed to GitHub, verified live. It reads `atlas/current.json`. - What it does: It fetches shift log. Defines 17 functions or classes, including flag, opt, utcNow, sha256, lf. Uses libraries node:fs, node:path, node:child_process, node:crypto, node:url. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: GitHub API; JSON file shift-log.json; JSON file current.json; command-line arguments. - Signatures: `flag(name)`; `opt(name)`; `utcNow()`; `sha256(buf)`; `lf(s)`; `slash(p)`; `run(cmd, args, { cwd = ROOT, allowFail = false, quiet = false } = {})`; `out(r.stdout || '')`; `git(...args)`; `status()`; `untracked()`; `record(entry)`; `step(await import(pathToFileURL(path.resolve(stepPath)).href))`; `stage(name, detail)`; `undo()`; `fail(reason, extra = {})`; `read(rel)`; `write(rel, text)`; `patch(rel, pairs)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file shift-log.json; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 7 estate files (script-call 6, estate-url 1); used by 0; mentioned by 0 ### Sizing Arithmetic - File: gridatlas/tools/overnight/steps/202609012205-sizing-arithmetic.mjs (JavaScript, 186 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609012205-sizing-arithmetic.mjs#L1-L186 - Page: https://code.globalgrid2050.com/explore-code/s/0641.html#f2 - Synopsis: A JavaScript module in the steps folder of GridAtlas that applies development stage defaults (`applyDevelopmentStageDefaults`) and mounting bifacial (`applyMountingBifacial`) and computes screening finance (`computeScreeningFinance`). - What it achieves (comment): It applies development stage defaults (`applyDevelopmentStageDefaults`), applies mounting bifacial (`applyMountingBifacial`) and computes screening finance (`computeScreeningFinance`). The sizing arithmetic leaves the body for a module. - What it does: Defines 6 functions or classes, including activePhysicalInputs, applyDevelopmentStageDefaults, applyMountingBifacial, computeScreeningFinance, computeSldStats. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `SIZING(window.__GRIDATLAS_MODULES__ || {})`; `activePhysicalInputs()`; `applyDevelopmentStageDefaults(financeInputs, stageValue)`; `applyMountingBifacial(mode, gcrValue)`; `computeScreeningFinance(financeInputs, stats)`; `computeSldStats()`; `fitToStatedCapacity()`; `apply({ read, write, patch, sandboxProof })` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Data Contract Parity - File: gridatlas/tools/overnight/steps/202609012217-data-contract-parity.mjs (JavaScript, 264 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609012217-data-contract-parity.mjs#L1-L264 - Page: https://code.globalgrid2050.com/explore-code/s/0642.html#f1 - Synopsis: A JavaScript module in the steps folder of GridAtlas that draws connection points, GB transmission network, price decade rollup and substations. It is built from the once step (`once`). - What it achieves (comment): The manifest tells the truth about what the bytes fetch. - What it does: It draws connection points, GB transmission network, price decade rollup and substations. Defines once. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: JSON file current.json; JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; JSON file connection-points.v2.json. - Signatures: `apply({ read, write, patch, sandboxProof })`; `once(from, to)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; JSON file price-decade-rollup.json; JSON file connection-points.v2.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Electrical Distance - File: gridatlas/tools/overnight/steps/202609012245-electrical-distance.mjs (JavaScript, 172 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609012245-electrical-distance.mjs#L1-L172 - Page: https://code.globalgrid2050.com/explore-code/s/0642.html#f2 - Synopsis: A JavaScript module in the steps folder of GridAtlas that works with distance module (`distanceModule`) (units: kV), covering transformers. - What it achieves (comment): It is built from the distance module helper (`distanceModule`) and the reach step (`reach`). The map learns to measure in circuits, not only in kilometres. - What it does: Defines distanceModule, reach. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers. - Signatures: `apply({ read, write, patch, sandboxProof })`; `distanceModule()`; `reach(() => { const mod = distanceModule(); if (!mod) return null; try { return mod.within(topology.index, point.site_code,...)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Rating Envelope - File: gridatlas/tools/overnight/steps/202609012250-rating-envelope.mjs (JavaScript, 157 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609012250-rating-envelope.mjs#L1-L157 - Page: https://code.globalgrid2050.com/explore-code/s/0642.html#f3 - Synopsis: A JavaScript module in the steps folder of GridAtlas. It is built from the ratings step (`ratings`). - What it achieves (comment): The card reports summer as well as winter, and refuses to add up. - What it does: Defines ratings. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `apply({ read, write, patch, sandboxProof })`; `ratings(() => { const mod = ratingModule(); if (!mod) return null; try { return mod.at(topology.index, point.site_code, kv !=...)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Injection Response - File: gridatlas/tools/overnight/steps/202609012320-injection-response.mjs (JavaScript, 242 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609012320-injection-response.mjs#L1-L242 - Page: https://code.globalgrid2050.com/explore-code/s/0643.html#f1 - Synopsis: A JavaScript module in the steps folder of GridAtlas covering 400kV. It is built from the flow model for helper (`flowModelFor`) and the injection step (`injection`). - What it achieves (comment): The Atlas answers where a project's power would actually go. Its code works with 400 kV, 100 MVA and 100 MW. - What it does: It lists and searches 400kV. Defines flowModelFor, injection. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: Voltage levels named: 400kV. - Signatures: `apply({ read, write, patch, sandboxProof })`; `flowModelFor(index)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Grid at Point - File: gridatlas/tools/overnight/steps/202609012330-grid-at-point.mjs (JavaScript, 371 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609012330-grid-at-point.mjs#L1-L371 - Page: https://code.globalgrid2050.com/explore-code/s/0643.html#f2 - Synopsis: A JavaScript module in the steps folder of GridAtlas covering cables. It runs grid point (`runGridAtPoint`) and is built from the once step (`once`) and the show step (`show`). - What it achieves (comment): The grid computation stops needing a project. It responds to click events. - What it does: It draws cables. Defines once, runGridAtPoint, show, topologyBlockHtml, reflect. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables. - Inputs & outputs: In: browser storage (getItem). Out: browser storage (setItem). - Signatures: `apply({ read, write, sandboxProof })`; `once(from, to, label)`; `runGridAtPoint(map, lon, lat)`; `show(html)`; `topologyBlockHtml(queries)`; `reflect()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [browser storage (getItem)]; out [browser storage (setItem)]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Planned Change - File: gridatlas/tools/overnight/steps/202609012345-planned-change.mjs (JavaScript, 177 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609012345-planned-change.mjs#L1-L177 - Page: https://code.globalgrid2050.com/explore-code/s/0644.html#f1 - Synopsis: A JavaScript module in the steps folder of GridAtlas that works with planned module (`plannedModule`) and flow module (`flowModule`) (units: kV), covering transformers. - What it achieves (comment): It is built from the once step (`once`), the planned module helper (`plannedModule`) and the flow module helper (`flowModule`). What the operator has PUBLISHED as planned, kept apart from what exists. - What it does: Defines once, plannedModule, flowModule, planned. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers. - Signatures: `apply({ read, write, sandboxProof })`; `once(from, to, label)`; `plannedModule()`; `flowModule()`; `years(planned.by_year || [])`; `parts(band.by_status || [])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Owner Boundary - File: gridatlas/tools/overnight/steps/202609012350-owner-boundary.mjs (JavaScript, 700 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609012350-owner-boundary.mjs#L1-L700 - Page: https://code.globalgrid2050.com/explore-code/s/0644.html#f2 - Synopsis: A JavaScript module in the steps folder of GridAtlas that reads substation intelligence seed parts and substations, using haversine. - What it achieves (comment): It is built from the once step (`once`), the owner module helper (`ownerModule`) and the ownership step (`ownership`). The computation leaves the sandbox, and ownership arrives. - What it does: It loads substation intelligence seed parts and substations. Defines lf, once, ownerModule, ownership. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: JSON file current.json; JSON file 202609012350-substation-intelligence-seed-parts.json. - Signatures: `apply({ read, write, sandboxProof })`; `lf(s)`; `once(from, to, label)`; `ownerModule()`; `seams(ownership.boundary_circuits || [])`; `composedSource(await Promise.all( (CURRENT.cartridges || []).map(entry => readPublished(join(REPO, 'atlas', String(entry.path).repla...)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file 202609012350-substation-intelligence-seed-parts.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Powerflow Stopship - File: gridatlas/tools/overnight/steps/202609020015-powerflow-stopship.mjs (JavaScript, 210 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/overnight/steps/202609020015-powerflow-stopship.mjs#L1-L210 - Page: https://code.globalgrid2050.com/explore-code/s/0645.html#f2 - Synopsis: A JavaScript module in the steps folder of GridAtlas that works with 400kV. It is built from the once step (`once`). - What it achieves (comment): Codex's powerflow stop-ship, closed. Its code works with 400 kV and 100 MVA. - What it does: It calculates 400kV. Defines once. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: Voltage levels named: 400kV. - Signatures: `apply({ read, write, sandboxProof })`; `once(from, to, label)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build - File: gridatlas/tools/pipeline-lifecycle/build.mjs (JavaScript, 44 lines) · role storage · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/pipeline-lifecycle/build.mjs#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/0645.html#f3 - Synopsis: A JavaScript module in the pipeline lifecycle folder of GridAtlas that reads generations, using SHA-256. It applies edits (`applyEdits`) and builds substation (`buildSubstation`). - What it achieves (comment): Successor-only recipe for the inherited Pipeline News map lifecycle. - What it does: It loads generations. Defines digest, applyEdits, buildSubstation, arg. Uses libraries node:fs, node:path, node:assert/strict, node:crypto, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generations.json; command-line arguments. - Downstream impact: Used directly by 3 files: Map Removal Test (gridatlas); Cut Grid Explorer (gridatlas); Grid Explorer Proof (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export applyEdits(source, edits)`; `export buildSubstation(generation, root = ROOT)`; `digest(bytes)`; `arg(name)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generations.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Map Removal Test - File: gridatlas/tools/pipeline-lifecycle/map-removal.test.mjs (JavaScript, 104 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/pipeline-lifecycle/map-removal.test.mjs#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/0645.html#f4 - Synopsis: A test in the pipeline lifecycle folder of GridAtlas that checks Build and Substation Intelligence V9 63. It is built from the extract step (`extract`) and the fixture step (`fixture`). - What it achieves (comment): Exercises real inherited/patched functions; VM evaluates only pinned local test inputs. It reads `./src/map-removal-edits.json`. - What it does: It tests its inputs. Defines extract, fixture. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file map-removal-edits.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `extract(source, name)`; `fixture(source = patched, { waiting = false } = {})`; `addSource()`; `getLayer(id)`; `setLayoutProperty()`; `buildGroup()`; `readRegisterSource()`; `ensureLayers()`; `setSourceData()`; `setInterval(fn)`; `setTimeout(resolve)`; `remove()`; `clearSelection()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file map-removal-edits.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, url-import-meta 1); used by 1; mentioned by 0 ### Build - File: gridatlas/tools/pipeline-vicinity/build.mjs (JavaScript, 16 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/pipeline-vicinity/build.mjs#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/0645.html#f5 - Synopsis: A JavaScript module in the pipeline vicinity folder of GridAtlas that uses SHA-256. - What it does: It loads data. Uses libraries node:fs, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Mobile Static Audit - File: gridatlas/tools/proofs/202609010030-mobile-static.audit.mjs (JavaScript, 189 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609010030-mobile-static.audit.mjs#L1-L189 - Page: https://code.globalgrid2050.com/explore-code/s/0646.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with CSS block (`cssBlock`) and active rules (`activeRules`). - What it achieves (comment): It is built from the CSS block helper (`cssBlock`), the audit step (`audit`) and the active rules helper (`activeRules`). Static mobile gate for the composed GridAtlas shell and single-line diagram (SLD) cartridge. It responds to mousedown and pointerdown events. - What it does: It draws its content. Defines cssBlock, px, audit, activeRules. Uses libraries node:assert/strict, node:fs, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `cssBlock(source, selector)`; `px(declarations, property)`; `audit(cartridge, baseCss, shellHtml)`; `controlCount(shellHtml.match(/class="map-ctrl-btn"/g) || [])`; `activeRules(width, height)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Parts Integrity Proof - File: gridatlas/tools/proofs/202609012105-parts-integrity.proof.mjs (JavaScript, 124 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609012105-parts-integrity.proof.mjs#L1-L124 - Page: https://code.globalgrid2050.com/explore-code/s/0646.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that uses SHA-256. It is built from the check step (`check`) and the sha256 step (`sha256`). - What it achieves (comment): Proof: an assembled cartridge still matches the parts it was built from. - What it does: It loads data. Defines check, sha256. Uses libraries node:fs/promises, node:fs, node:crypto, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file -parts.json; JSON file current.json. - Downstream impact: Used directly by 2 files: Local CI (gridatlas); Shift (gridatlas). - Signatures: `check(label, condition, detail)`; `sha256(text)`; `entries(await readdir(MANIFESTS))` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file -parts.json; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### All Versions Proof - File: gridatlas/tools/proofs/202609012150-all-versions.proof.mjs (JavaScript, 462 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609012150-all-versions.proof.mjs#L1-L462 - Page: https://code.globalgrid2050.com/explore-code/s/0646.html#f3 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, solar and 750kV, using haversine. - What it achieves (comment): It makes element (`makeElement`) and is built from the check step (`check`) and the sandbox step (`sandbox`). Built vs all previous versions. Its code works with 750 kV and 415 kV. - What it does: It loads composition, solar and 750kV. Defines 8 functions or classes, including check, sandbox, makeElement, MutationObserverStub, cartridgeContext. Uses libraries node:fs/promises, node:path, node:url, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, 750kV, 415kV, 415V. - Inputs & outputs: In: JSON file current.json; JSON file -composition.json. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 415kV, 415V. - Downstream impact: Used directly by 2 files: Local CI (gridatlas); Shift (gridatlas). - Signatures: `check(label, condition, detail)`; `sandbox()`; `makeElement(tag)`; `appendChild()`; `removeEventListener()`; `class MutationObserverStub`; `cartridgeContext()`; `addEventListener()`; `getStyle()`; `getContainer()`; `walk(directory)`; `withoutComments(text)`; `currentSandboxFile(() => { const entry = (CURRENT_COMPOSITION.cartridges || []).find(c => c.id === 'sld-sandbox'); return entry ? String...)`; `entry(CURRENT_COMPOSITION.cartridges || [])`; `SURFACES(await readdir(join(ATLAS, 'cartridges')))`; `compositions(await readdir(join(ATLAS, 'manifests')))` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file -composition.json]; out []; crs [WGS84 / EPSG:4326]; voltages [750kV, 415kV, 415V] - Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0 ### Data Contract Parity Proof - File: gridatlas/tools/proofs/202609012214-data-contract-parity.proof.mjs (JavaScript, 145 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609012214-data-contract-parity.proof.mjs#L1-L145 - Page: https://code.globalgrid2050.com/explore-code/s/0647.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads connection points from the data-grid-GB repository. It reads JSON (`readJson`) and joins literals (`joinLiterals`). - What it achieves (comment): Data-contract parity: what a cartridge's bytes fetch is what its manifest entry declares, product for product and schema for schema. It reads `atlas/current.json`. - What it does: It loads connection points. Defines 7 functions or classes, including read, readJson, check, joinLiterals, productsNamedBy. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: data-grid-gb data; JSON file connection-points.v3.json; JSON file current.json. - Downstream impact: Used directly by 3 files: Local CI (gridatlas); Shift (gridatlas); GridAtlas — Release (gridatlas). Reached from 27 other entry points, including GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas); GridAtlas Verify Live Workflow (gridatlas). - Signatures: `read(rel)`; `readJson(rel)`; `check(name, ok, detail)`; `joinLiterals(source)`; `productsNamedBy(source)`; `schemaFromModule(source, product)`; `declaredBy(entry)`; `compositionSource(current.cartridges || [])`; `twin(manifest.cartridges || [])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: data-grid-gb data; JSON file connection-points.v3.json; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Estate Deep Scan Proof - File: gridatlas/tools/proofs/202609012240-estate-deep-scan.proof.mjs (JavaScript, 40 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609012240-estate-deep-scan.proof.mjs#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/0647.html#f3 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. - What it achieves (name): Defines `check`. - What it does: It loads data. Defines check. Uses libraries node:assert/strict, node:child_process, node:fs, node:path, node:os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202609012240-estate-deep-scan.json. - Signatures: `check(name, condition)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file 202609012240-estate-deep-scan.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Quantumspawn Recovery Proof - File: gridatlas/tools/proofs/202609012305-quantumspawn-recovery.proof.mjs (JavaScript, 174 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609012305-quantumspawn-recovery.proof.mjs#L1-L174 - Page: https://code.globalgrid2050.com/explore-code/s/0647.html#f4 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads shift log. It is built from the check step (`check`) and the git step (`git`). - What it achieves (comment): QuantumSpawn recovery: the capsule is checked against current Git. - What it does: It loads shift log. Defines check, git. Uses libraries node:fs, node:path, node:url, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file shift-log.json. - Signatures: `check(name, condition, detail = '')`; `git(...args)`; `sld(current.cartridges || [])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file shift-log.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Transit Layer Availability Proof - File: gridatlas/tools/proofs/202609040212-transit-layer-availability.proof.mjs (JavaScript, 173 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609040212-transit-layer-availability.proof.mjs#L1-L173 - Page: https://code.globalgrid2050.com/explore-code/s/0647.html#f5 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that fetches UK metros trams root, using SHA-256 from the data-GridAtlas repository. It is built from the public bytes helper (`publicBytes`). - What it achieves (name): Defines `sha256` and `publicBytes`. - What it does: It fetches UK metros trams root. Defines sha256, publicBytes. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: data-gridatlas data; Parquet file uk_metros_trams_root.parquet; JSON file release.json; JSON file browser-layer-registry.json. - Signatures: `sha256(bytes)`; `publicBytes(path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: data-gridatlas data; Parquet file uk_metros_trams_root.parquet; JSON file release.json; JSON file browser-layer-registry.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Arrival Identity Browser - File: gridatlas/tools/proofs/202609040229-arrival-identity.browser.mjs (JavaScript, 309 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609040229-arrival-identity.browser.mjs#L1-L309 - Page: https://code.globalgrid2050.com/explore-code/s/0648.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads Renewable Energy Planning Database (REPD) and solar. It is built from the proof map class (`ProofMap`). - What it achieves (name): Defines `capture` and `ProofMap`. - What it does: It loads REPD and solar. Defines capture, ProofMap. Uses libraries node:assert/strict, node:http, node:fs/promises, node:path, node:module. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file current.json; JSON file repd_v9_manifest_202608290716.json. - Downstream impact: Used directly by 2 files: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); GridAtlas Cartridge Proof Workflow (gridatlas). - Signatures: `capture(candidate)`; `ProofMap(...args)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file repd_v9_manifest_202608290716.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### PDF Export Outcomes Browser - File: gridatlas/tools/proofs/202609051329-pdf-export-outcomes.browser.mjs (JavaScript, 179 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609051329-pdf-export-outcomes.browser.mjs#L1-L179 - Page: https://code.globalgrid2050.com/explore-code/s/0648.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. It is built from the check step (`check`). - What it achieves (comment): DOES PRESSING "SAVE THIS VIEW AS A PDF" PUT A REAL PDF ON THE READER'S DISK? --------------------------------------------------------------------------- Not "does a function called `savePdf` exist", not "is /DCTDecode present in the source". - What it does: It loads data. Defines check. Uses libraries playwright, node:fs, node:os, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Signatures: `check(name, ok, detail)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Arrival Engine Sweep Browser - File: gridatlas/tools/proofs/202609072356-arrival-engine-sweep.browser.mjs (JavaScript, 311 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609072356-arrival-engine-sweep.browser.mjs#L1-L311 - Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads Renewable Energy Planning Database (REPD) browser registry, interconnector endpoints, interconnectors and the REPD register. - What it achieves (comment): It is built from the arg step (`arg`) and the pad step (`pad`). Which engine answered? - What it does: It loads REPD browser registry, interconnector endpoints, interconnectors and the REPD register. Defines arg, pad, n. Uses libraries node:http, node:fs/promises, node:path, node:module, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file repd_browser_registry_202608290716.json; JSON file current.json; JSON file interconnector-endpoints.json; DuckDB queries; command-line arguments. - Signatures: `arg(flag, fallback)`; `sld(current.cartridges || [])`; `rows(registry.records || [])`; `pad(s, n)`; `n(o)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file repd_browser_registry_202608290716.json; JSON file current.json; JSON file interconnector-endpoints.json; DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Streaming Parquet Bridge Proof - File: gridatlas/tools/proofs/202609241251-streaming-parquet-bridge.proof.mjs (JavaScript, 266 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202609241251-streaming-parquet-bridge.proof.mjs#L1-L266 - Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that fetches grid 400kV, not grid and UK metros trams local unwired, using SHA-256 from example.test. - What it achieves (name): It is built from the native fetch helper (`nativeFetch`) and the native fetch2 helper (`nativeFetch2`). Defines `nativeFetch` and `nativeFetch2`. - What it does: It fetches grid 400kV, not grid, UK metros trams local unwired and REPD master. Defines nativeFetch, nativeFetch2. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:process. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: In: data source: example.test; JSON file current.json; GeoJSON file grid_400kv.geojson; JSON file not-grid-data.json; GeoJSON file uk_metros_trams.geojson; Parquet file uk_metros_trams_local_unwired.parquet; JSON file repd_master.json; DuckDB queries. Voltage levels named: 400kV. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `nativeFetch(input, init)`; `queueMicrotask()`; `instantiate()`; `connect()`; `nativeFetch2(input)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: example.test; JSON file current.json; GeoJSON file grid_400kv.geojson; JSON file not-grid-data.json; GeoJSON file uk_metros_trams.geojson; Parquet file uk_metros_trams_local_unwired.parquet; JSON file repd_master.json; DuckDB queries]; out []; crs []; voltages [400kV] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### UK Lightning Overlay Proof - File: gridatlas/tools/proofs/202610312138-uk-lightning-overlay.proof.mjs (JavaScript, 3 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202610312138-uk-lightning-overlay.proof.mjs#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f3 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Grid Journey Preview Proof - File: gridatlas/tools/proofs/202611172355-grid-journey-preview.proof.mjs (JavaScript, 2 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611172355-grid-journey-preview.proof.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f4 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Grid Vicinity Proof - File: gridatlas/tools/proofs/202611180026-grid-vicinity.proof.mjs (JavaScript, 2 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611180026-grid-vicinity.proof.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f5 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### UK Gazetteer Flyto Proof - File: gridatlas/tools/proofs/202611180026-uk-gazetteer-flyto.proof.mjs (JavaScript, 2 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611180026-uk-gazetteer-flyto.proof.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f6 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Pipeline Vicinity Button Proof - File: gridatlas/tools/proofs/202611222000-pipeline-vicinity-button.proof.mjs (JavaScript, 11 lines) · role energy-data · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611222000-pipeline-vicinity-button.proof.mjs#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f7 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that uses SHA-256. - What it does: It loads data. Uses libraries node:fs, node:assert/strict. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Vicinity Entry Browser - File: gridatlas/tools/proofs/202611222000-vicinity-entry.browser.mjs (JavaScript, 55 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611222000-vicinity-entry.browser.mjs#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f8 - Synopsis: A JavaScript module in the proofs folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register and substations. - What it does: It lists and searches the REPD register and substations. Uses libraries node:assert/strict, node:fs, node:path, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations. - Inputs & outputs: Out: JSON file receipt.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Vicinity Entry Proof - File: gridatlas/tools/proofs/202611222000-vicinity-entry.proof.mjs (JavaScript, 46 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611222000-vicinity-entry.proof.mjs#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/0649.html#f9 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that uses SHA-256. - What it does: It loads data. Uses libraries node:fs, node:path, node:assert/strict, node:crypto, node:vm. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json. - Downstream impact: Used directly by 2 files: Pipeline Vicinity Button Proof (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Vicinity Focus Browser - File: gridatlas/tools/proofs/202611222130-vicinity-focus.browser.mjs (JavaScript, 99 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611222130-vicinity-focus.browser.mjs#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas covering substations and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): Its code works with 132 kV. - What it does: Uses libraries node:assert/strict, node:fs, node:path, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, the REPD register, 132kV. - Inputs & outputs: Out: JSON file receipt.json. Voltage levels named: 132kV. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file receipt.json]; crs []; voltages [132kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Vicinity A4 Browser - File: gridatlas/tools/proofs/202611222325-vicinity-a4.browser.mjs (JavaScript, 74 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611222325-vicinity-a4.browser.mjs#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register. - What it does: It loads the REPD register. Uses libraries node:assert/strict, node:fs, node:path, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Out: JSON file receipt.json. - Downstream impact: Used directly by 2 files: GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `ref(await row.getAttribute('id'))`; `pdf(await fs.promises.readFile(await downloaded.path()))` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 2 estate files (import 1, estate-url 1); used by 2; mentioned by 0 ### Layers Visible Browser - File: gridatlas/tools/proofs/202611222343-layers-visible.browser.mjs (JavaScript, 109 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611222343-layers-visible.browser.mjs#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f3 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with panel visible (`panelVisible`). It is built from the panel visible helper (`panelVisible`). - What it achieves (name): Defines `launch`, `fullscreen`, `state` and 1 more. - What it does: Defines launch, fullscreen, state, panelVisible. Uses libraries node:assert/strict, node:fs, node:path, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: JSON file receipt.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `launch(generation,viewport)`; `fullscreen(page)`; `state(page)`; `panelVisible(s)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Vicinity Controls Rescue Proof - File: gridatlas/tools/proofs/202611222343-vicinity-controls-rescue.proof.mjs (JavaScript, 76 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611222343-vicinity-controls-rescue.proof.mjs#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f4 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition and substations, using SHA-256. - What it achieves (name): Defines `click`. It reads `atlas/current.json`. - What it does: It loads composition and substations. Defines click. Uses libraries node:assert/strict, node:fs, node:crypto, node:vm, node:path. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: JSON file current.json; JSON file 202611222343-composition.json. - Downstream impact: Used directly by 2 files: GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `setAttribute(name,value)`; `getElementById(k)`; `addEventListener()`; `click()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file 202611222343-composition.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Vicinity Legal Evidence Proof - File: gridatlas/tools/proofs/202611280016-vicinity-legal-evidence.proof.mjs (JavaScript, 39 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202611280016-vicinity-legal-evidence.proof.mjs#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f5 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register, using SHA-256 from the legislation repository. - What it achieves (name): Defines `read` and `json`. - What it does: It loads the REPD register. Defines read, json. Uses libraries node:assert/strict, node:fs, node:path, node:vm, node:crypto. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: legislation data; JSON file current.json. - Signatures: `read(p)`; `json(p)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: legislation data; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### SatNav Start Walk Proof - File: gridatlas/tools/proofs/202612012118-satnav-start-walk.proof.mjs (JavaScript, 2 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612012118-satnav-start-walk.proof.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f6 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### SatNav Waypoint Map Proof - File: gridatlas/tools/proofs/202612012118-satnav-waypoint-map.proof.mjs (JavaScript, 2 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612012118-satnav-waypoint-map.proof.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f7 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### UK Offtakers Overlay Proof - File: gridatlas/tools/proofs/202612012118-uk-offtakers-overlay.proof.mjs (JavaScript, 2 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612012118-uk-offtakers-overlay.proof.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f8 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Vicinity Focus Proof - File: gridatlas/tools/proofs/202612012118-vicinity-focus.proof.mjs (JavaScript, 2 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612012118-vicinity-focus.proof.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f9 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Unified Owner Test Proof - File: gridatlas/tools/proofs/202612020056-unified-owner-test.proof.mjs (JavaScript, 44 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612020056-unified-owner-test.proof.mjs#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f10 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that tests composition, using SHA-256. It is built from the read step (`read`) and the digest step (`digest`). - What it achieves (comment): V9.201 proof for the inherited shallow-checkout cartridge gate. It reads `atlas/current.json`. - What it does: It tests composition. Defines read, digest. Uses libraries node:assert/strict, node:fs, node:crypto, node:path, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file -composition.json. - Signatures: `read(p)`; `digest(p,c)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file -composition.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (script-call 3); used by 0; mentioned by 0 ### Owner Test Proof - File: gridatlas/tools/proofs/202612020205-owner-test.proof.mjs (JavaScript, 27 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612020205-owner-test.proof.mjs#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f11 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that tests composition, using SHA-256. - What it achieves (name): Defines `read` and `verify`. It reads `atlas/current.json`. - What it does: It tests composition. Defines read, verify. Uses libraries node:assert/strict, node:fs, node:crypto, node:path, node:vm. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file -composition.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `read(p)`; `verify(file,e)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file -composition.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Convergence Proof - File: gridatlas/tools/proofs/202612020930-convergence.proof.mjs (JavaScript, 46 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612020930-convergence.proof.mjs#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f12 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition and substations, using SHA-256. - What it achieves (name): It is built from the normalized step (`normalized`), the normalized shell helper (`normalizedShell`) and the normalized provenance helper (`normalizedProvenance`). Defines `read`, `hash`, `verify` and 3 more. It reads `atlas/current.json`. - What it does: It loads composition and substations. Defines 6 functions or classes, including read, hash, verify, normalized, normalizedShell. Uses libraries node:assert/strict, node:fs, node:crypto, node:path, node:vm. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: JSON file current.json; JSON file -composition.json. - Signatures: `read(p)`; `hash(b)`; `verify(file,e)`; `normalized(x,base)`; `normalizedShell(x,base)`; `normalizedProvenance(x,base)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file -composition.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Distance Dock Proof - File: gridatlas/tools/proofs/202612021205-distance-dock.proof.mjs (JavaScript, 36 lines) · role geodesy · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612021205-distance-dock.proof.mjs#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f13 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256. - What it achieves (name): Defines `hash` and `fix`. It reads `/current.json`. - What it does: It loads composition. Defines hash, fix. Uses libraries node:assert/strict, node:fs, node:crypto, node:path, node:vm. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file 202612021205-composition.json. - Signatures: `hash(b)`; `fix(at,timestampMs)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file 202612021205-composition.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 0; mentioned by 0 ### Orient14 Proof - File: gridatlas/tools/proofs/202612030153-orient14.proof.mjs (JavaScript, 36 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612030153-orient14.proof.mjs#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f14 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256. - What it achieves (name): Defines `exercise`, `load` and `msg`. It reads `/current.json`. - What it does: It loads composition. Defines exercise, load, msg. Uses libraries node:assert/strict, node:fs, node:crypto, node:path. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file 202612030153-composition.json. - Signatures: `exercise(source)`; `class E`; `load(u)`; `msg()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file 202612030153-composition.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Orient16 Proof - File: gridatlas/tools/proofs/202612031130-orient16.proof.mjs (JavaScript, 6 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612031130-orient16.proof.mjs#L1-L6 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f15 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256. - What it achieves (name): It reads `/current.json`. - What it does: It loads composition. Uses libraries node:assert/strict. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file 202612031130-composition.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file 202612031130-composition.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Orient16 Recovery Proof - File: gridatlas/tools/proofs/202612031235-orient16-recovery.proof.mjs (JavaScript, 6 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612031235-orient16-recovery.proof.mjs#L1-L6 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f16 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256. - What it achieves (name): It reads `/current.json`. - What it does: It loads composition. Uses libraries node:assert/strict. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file 202612031235-composition.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file 202612031235-composition.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Orient16 Responsive Proof - File: gridatlas/tools/proofs/202612031346-orient16-responsive.proof.mjs (JavaScript, 6 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612031346-orient16-responsive.proof.mjs#L1-L6 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f17 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256. - What it achieves (name): It reads `/current.json`. - What it does: It loads composition. Uses libraries node:assert/strict. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file 202612031346-composition.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file 202612031346-composition.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Orient17 Regional Proof - File: gridatlas/tools/proofs/202612031704-orient17-regional.proof.mjs (JavaScript, 12 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612031704-orient17-regional.proof.mjs#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f18 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256. - What it achieves (name): It reads `/current.json`. - What it does: It loads composition. Uses libraries node:assert/strict, node:fs, node:crypto, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file -composition.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file -composition.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (dynamic-import 1); used by 0; mentioned by 0 ### Orient17b Proof - File: gridatlas/tools/proofs/202612040110-orient17b.proof.mjs (JavaScript, 13 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612040110-orient17b.proof.mjs#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f19 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256. - What it achieves (name): It reads `/current.json`. - What it does: It loads composition. Uses libraries node:assert/strict, node:fs, node:crypto, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file -composition.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file -composition.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (dynamic-import 1); used by 0; mentioned by 0 ### Orient17a Proof - File: gridatlas/tools/proofs/202612040127-orient17a.proof.mjs (JavaScript, 23 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/202612040127-orient17a.proof.mjs#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/0650.html#f20 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads composition, using SHA-256. - What it achieves (name): Defines `inspect`. It reads `/current.json`. - What it does: It loads composition. Defines inspect. Uses libraries node:assert/strict, node:fs, node:crypto, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file -composition.json. - Signatures: `inspect(path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file -composition.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (dynamic-import 1); used by 0; mentioned by 0 ### About Estate and Attribution Proof - File: gridatlas/tools/proofs/about-estate-and-attribution.proof.mjs (JavaScript, 329 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/about-estate-and-attribution.proof.mjs#L1-L329 - Page: https://code.globalgrid2050.com/explore-code/s/0651.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads engine graph and substations from the ventus-grid-engine, data-federation-map-for-GlobalGrid2050-all-repos and spiders repositories. - What it achieves (comment): It is built from the check step (`check`), the run value helper (`runValue`) and the report step (`report`). The About panel carries the attribution and the estate's published method. It responds to afterprint events. - What it does: It loads engine graph and substations. Defines check, runValue, report. Uses libraries node:fs/promises, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; JSON file current.json; JSON file engine-graph.json. - Signatures: `check(name, ok, detail)`; `entry(current.cartridges || [])`; `runValue(() => { const at = composed.indexOf('var RUN_COMMAND ='); if (at < 0) return null; const end = composed.indexOf(';', ...)`; `report()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; JSON file current.json; JSON file engine-graph.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### All Controls Browser - File: gridatlas/tools/proofs/all-controls.browser.mjs (JavaScript, 119 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/all-controls.browser.mjs#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/0651.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with pipeline frame (`pipelineFrame`) and settled frame (`settledFrame`), covering solar, using SHA-256. - What it achieves (name): It is built from the check step (`check`), the menu step (`menu`) and the pipeline frame helper (`pipelineFrame`). Defines `save`, `tap`, `snap` and 4 more. It responds to beforeprint events. - What it does: It draws solar. Defines 7 functions or classes, including save, tap, snap, check, menu. Uses libraries playwright, node:fs, node:path, node:http, node:assert/strict. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file current.json; command-line arguments. Out: JSON file report.json. - Downstream impact: Used directly by 1 file: GridAtlas Cartridge Proof Workflow (gridatlas). - Signatures: `save()`; `tap(loc)`; `snap(name)`; `state()`; `check(name,fn)`; `menu(name)`; `pipelineFrame(id)`; `points(source?._data?.features||[])`; `settledFrame(id)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out [JSON file report.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### All Layer Clicks Browser - File: gridatlas/tools/proofs/all-layer-clicks.browser.mjs (JavaScript, 92 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/all-layer-clicks.browser.mjs#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/0651.html#f3 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. It is built from the arg step (`arg`), the open step (`open`) and the point step (`point`). - What it achieves (comment): Drive every real Grid control and verify paint, feature picking and off-state. - What it does: It fetches data. Defines arg, open, point. Uses libraries playwright, node:fs, node:path, node:http. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. Out: JSON file results.json. - Downstream impact: Used directly by 1 file: GridAtlas Cartridge Proof Workflow (gridatlas). - Signatures: `arg(key,fallback)`; `open()`; `value(e,f)`; `eligible(data.features||[])`; `point(g)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Arrival Visibility and One Runtime Proof - File: gridatlas/tools/proofs/arrival-visibility-and-one-runtime.proof.mjs (JavaScript, 163 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/arrival-visibility-and-one-runtime.proof.mjs#L1-L163 - Page: https://code.globalgrid2050.com/explore-code/s/0652.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. It is built from the composed step (`composed`) and the check step (`check`). - What it achieves (comment): What this generation has to keep true, asserted against the COMPOSED bytes named by `atlas/current.json` - not against the parts they were built from. - What it does: It loads data. Defines composed, check. Uses libraries node:fs/promises, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; DuckDB queries. - Signatures: `composed(id)`; `check(name, condition)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Deep Link Technology Buckets Browser - File: gridatlas/tools/proofs/deep-link-technology-buckets.browser.mjs (JavaScript, 258 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/deep-link-technology-buckets.browser.mjs#L1-L258 - Page: https://code.globalgrid2050.com/explore-code/s/0652.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register and battery storage (BESS). It is built from the check step (`check`). - What it achieves (comment): Proof: every technology bucket Pipeline News' MAP link can send arrives with the project's own layer switched on -- or, for the one bucket that genuinely has no layer. - What it does: It loads the REPD register and battery storage (BESS). Defines check. Uses libraries node:assert/strict, node:http, node:fs/promises, node:path, node:vm. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, battery storage (BESS). - Inputs & outputs: In: JSON file current.json. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `check(label, condition, detail)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Deep Link Visibility Browser - File: gridatlas/tools/proofs/deep-link-visibility.browser.mjs (JavaScript, 224 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/deep-link-visibility.browser.mjs#L1-L224 - Page: https://code.globalgrid2050.com/explore-code/s/0652.html#f3 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads solar. It is built from the check step (`check`). - What it achieves (comment): Proof: a deep-link arrival opened in a HIDDEN tab does not run while hidden, does not burn its layer-control budget while hidden, and completes -- camera, card and links -- once the tab is actually shown. - What it does: It loads solar. Defines check. Uses libraries node:assert/strict, node:http, node:fs/promises, node:path, playwright. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file current.json. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `check(label, condition, detail)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Export Print and Image Outcomes Browser - File: gridatlas/tools/proofs/export-print-and-image-outcomes.browser.mjs (JavaScript, 829 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/export-print-and-image-outcomes.browser.mjs#L1-L829 - Page: https://code.globalgrid2050.com/explore-code/s/0653.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that exports control (`exportControl`), opens export menu (`openExportMenu`), calculates planar distances and draws on a canvas, using SHA-256. - What it achieves (name): It exports control (`exportControl`) and opens export menu (`openExportMenu`). Its name says it exports print and image outcomes browser. Defines `argv`, `check`, `pdfFacts` and 10 more. It responds to click events. - What it does: It draws its content. Defines 13 functions or classes, including argv, check, pdfFacts, number, streamOf. Uses libraries node:http, node:fs/promises, node:os, node:path, node:zlib. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; command-line arguments. Out: canvas drawing. - Signatures: `argv(flag, fallback)`; `EXPORT_CARTRIDGE(CURRENT.cartridges || [])`; `check(name, ok, detail)`; `pdfFacts(base64)`; `number(dict, key)`; `streamOf(entry)`; `decoded(entry)`; `sample(buffer, width, height)`; `times(m, n)`; `exportControl(page, kind)`; `shape(value)`; `openExportMenu(label)`; `at((y * probe.width) + x)`; `coverageOf(image)`; `describe(row)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Grid Subs Chips on Desktop Browser - File: gridatlas/tools/proofs/grid-subs-chips-on-desktop.browser.mjs (JavaScript, 79 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/grid-subs-chips-on-desktop.browser.mjs#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/0654.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. - What it achieves (comment): ARE GRID AND SUBS UNDER THE CURSOR, NOT INSIDE A MENU? --------------------------------------------------------------------------- "in mobile view the Grid and subs buttons are nice show them on desktop TOO" -- the architect, . - What it does: It lists and searches its content. Uses libraries playwright. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Layer Census GPU - File: gridatlas/tools/proofs/layer-census-gpu.py (Python, 35 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/layer-census-gpu.py#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/0654.html#f3 - Synopsis: A Python module in the proofs folder of GridAtlas that reads GPU receipt, using SHA-256. It is built from the gpu step (`gpu`). - What it achieves (comment): Bounded CuPy geometry and filter census, independently checked against scalar CPU masks. It accepts `--input`. - What it does: It loads GPU receipt. Defines gpu. Uses libraries argparse, hashlib, json, pathlib, time. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. Out: JSON file gpu-receipt.json. - Signatures: `gpu(e)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file gpu-receipt.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Layer Census - File: gridatlas/tools/proofs/layer-census.py (Python, 61 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/layer-census.py#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/0654.html#f4 - Synopsis: A Python module in the proofs folder of GridAtlas that prepares the real published layer corpus for CPU/GPU parity; never synthesize cases, using SHA-256. - What it achieves (name): Defines `value`, `coordinates` and `gather`. It accepts `--data-root`, `--config` and `--out`. - What it does: It loads data. Defines value, coordinates, gather. Uses libraries argparse, collections, hashlib, json, pathlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file layer-config.json; command-line arguments. - Signatures: `value(e,props)`; `coordinates(c)`; `gather(e)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file layer-config.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Lightning Cartridge - File: gridatlas/tools/proofs/lightning-cartridge.mjs (JavaScript, 152 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/lightning-cartridge.mjs#L1-L152 - Page: https://code.globalgrid2050.com/explore-code/s/0654.html#f5 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that uses SHA-256. It reads JSON (`readJson`) and is built from the sha step (`sha`) and the route of helper (`routeOf`). - What it achieves (comment): The proof of a modular lightning generation: the UK lightning overlay composed as its OWN cartridge ('UK-lightning-overlay', slot after-cartridge, after single-line diagram (SLD)-sandbox), with SLD-sandbox back to the original bytes. It reads `atlas/current.json`. - What it does: It loads data. Defines 6 functions or classes, including sha, readJson, routeOf, proveLightningCartridge, at. Uses libraries node:assert/strict, node:fs, node:path, node:vm, node:crypto. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json. - Downstream impact: Used directly by 1 file: UK Lightning Overlay Proof (gridatlas). - Signatures: `export routeOf(G)`; `export proveLightningCartridge(G)`; `sha(b)`; `readJson(rel)`; `at(p)`; `read(p)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, dynamic-import 1); used by 1; mentioned by 0 ### Loader Composition - File: gridatlas/tools/proofs/loader-composition.mjs (JavaScript, 86 lines) · role render · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/loader-composition.mjs#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/0654.html#f6 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with loader script (`loaderScript`) and stub URL (`StubURL`). - What it achieves (comment): It is built from the response step (`response`), the loader script helper (`loaderScript`) and the compose step (`compose`). Run the GridAtlas composer (`atlas/index.html`) in Node, without a browser, and return exactly what it would hand to document.write: the composed HTML and, in document order, the source of every script tag it points at a verified cartridge blob. - What it does: It draws its content. Defines response, loaderScript, compose, StubURL, fetch. Uses libraries node:fs, node:path, node:vm, node:crypto, node:url. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json. - Downstream impact: Used directly by 6 files: Lightning Cartridge (gridatlas); Loader Equivalence Proof (gridatlas); Offtakers Cartridge (gridatlas); Loader Swap (gridatlas); and 2 more. Reached from 5 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); GridAtlas Verify Live Workflow (gridatlas); CI PR Gate (gridatlas). - Signatures: `export loaderScript(loaderHtml)`; `export compose({ loaderHtml, route = 'atlas/', files = {} })`; `response(file, virtual)`; `json()`; `text()`; `arrayBuffer()`; `class StubURL`; `open()`; `fetch(input)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### Loader Equivalence Proof - File: gridatlas/tools/proofs/loader-equivalence.proof.mjs (JavaScript, 121 lines) · role render · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/loader-equivalence.proof.mjs#L1-L121 - Page: https://code.globalgrid2050.com/explore-code/s/0654.html#f7 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that uses SHA-256. It is built from the sha step (`sha`), the read step (`read`) and the extra step (`extra`). - What it achieves (comment): Loader v2 (`tools/scope/payloads/atlas-loader-v2.html`) adds one slot type, 'after-cartridge': a verified cartridge as its own script tag straight after a cartridge composed before it. It reads `atlas/current.json`. - What it does: It loads data. Defines sha, read, up, extra, run. Uses libraries node:assert/strict, node:fs, node:path, node:crypto. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json. - Downstream impact: Used directly by 1 file: CI PR Gate (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Map Promotion Rehearsal (gridatlas). - Signatures: `sha(b)`; `read(rel)`; `up(p)`; `extra(id, file, after, digest)`; `run(loaderHtml, cartridges, order)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, dynamic-import 1); used by 1; mentioned by 0 ### Map Receiver Restoration Browser - File: gridatlas/tools/proofs/map-receiver-restoration.browser.mjs (JavaScript, 51 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/map-receiver-restoration.browser.mjs#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/0655.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that draws National Energy System Operator (NESO) connection sites lean, map receiver timeout and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It writes `work/map-receiver-timeout.json`. - What it does: It draws NESO connection sites lean, map receiver timeout and the REPD register. Uses libraries node:fs/promises, node:path, node:assert/strict. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file neso-connection-sites.lean.json; JSON file current.json. Out: JSON file map-receiver-timeout.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file neso-connection-sites.lean.json; JSON file current.json]; out [JSON file map-receiver-timeout.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Menu Bar Attrib Clearance Browser - File: gridatlas/tools/proofs/menu-bar-attrib-clearance.browser.mjs (JavaScript, 277 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/menu-bar-attrib-clearance.browser.mjs#L1-L277 - Page: https://code.globalgrid2050.com/explore-code/s/0655.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with attrib hit (`attribHit`) and installed hit (`installedHit`). - What it achieves (comment): It is built from the fixture HTML helper (`fixtureHtml`), the attrib hit helper (`attribHit`) and the installed hit helper (`installedHit`). Proof: the OpenStreetMap / CARTO / Open Charge Map credit (`.custom-map-attrib`, in the immutable shell) is never occluded by the v9.107 menu bar (`atlas/modules/202609031958-menu-bar.js`), at any width. - What it does: Defines fixtureHtml, attribHit, installedHit, check. Uses libraries node:assert/strict, node:path, node:url, playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: form fields (user input). - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `fixtureHtml(bodyClass)`; `attribHit(page)`; `installedHit(page, { width, height, touch })`; `check(label, condition, detail)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Menu Bar Dom Proof - File: gridatlas/tools/proofs/menu-bar-dom.proof.mjs (JavaScript, 514 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/menu-bar-dom.proof.mjs#L1-L514 - Page: https://code.globalgrid2050.com/explore-code/s/0655.html#f3 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with selector parts (`selectorParts`) and fake element (`FakeElement`). - What it achieves (name): It proves menu bar (`proveMenuBar`) and is built from the selector parts helper (`selectorParts`) and the fake element class (`FakeElement`). Defines `classes`, `selectorParts`, `matches` and 10 more. It responds to click and change events. - What it does: It draws its content. Defines 13 functions or classes, including classes, selectorParts, matches, FakeElement, visit. Uses libraries node:fs/promises, node:vm. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `export proveMenuBar(menuPath, servedSource = '')`; `classes(node)`; `selectorParts(selector)`; `matches(node, selector)`; `class FakeElement`; `constructor(tag, doc)`; `appendChild(child)`; `insertBefore(child, before)`; `setAttribute(name, value)`; `getAttribute(name)`; `hasAttribute(name)`; `removeAttribute(name)`; `addEventListener(type, fn)`; `dispatch(type, supplied = {})`; `stopPropagation()`; `preventDefault()`; `click()`; `focus()`; `contains(other)`; `closest(selector)`; `querySelectorAll(selector)`; `visit(node)`; `querySelector(selector)`; `class FakeDocument`; `createElement(tag)` (and 10 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Menu Bar Mobile Hit Browser - File: gridatlas/tools/proofs/menu-bar-mobile-hit.browser.mjs (JavaScript, 174 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/menu-bar-mobile-hit.browser.mjs#L1-L174 - Page: https://code.globalgrid2050.com/explore-code/s/0656.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. It is built from the bound card to map helper (`boundCardToMap`). - What it achieves (name): Defines `boundCardToMap`. It responds to click and change events. - What it does: It loads data. Defines boundCardToMap. Uses libraries node:assert/strict, node:fs/promises, node:path, node:url, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: form fields (user input). - Downstream impact: Used directly by 1 file: GridAtlas Cartridge Proof Workflow (gridatlas). - Signatures: `boundCardToMap()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Module Parity Proof - File: gridatlas/tools/proofs/modules/202609011950-module-parity.proof.mjs (JavaScript, 293 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609011950-module-parity.proof.mjs#L1-L293 - Page: https://code.globalgrid2050.com/explore-code/s/0656.html#f3 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads substations, 400kV, transformers and solar. It loads modules (`loadModules`) and makes element (`makeElement`). - What it achieves (comment): Parity proof: the new modules against the 4,000-line incumbent. Its code works with 400 kV and 750 kV. - What it does: It loads substations, 400kV, transformers and solar. Defines check, loadModules, makeElement, MutationObserverStub, sandboxContext. Uses libraries node:fs/promises, node:url, node:path, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 400kV, transformers, solar, 750kV, 415V. - Inputs & outputs: In: JSON file current.json. Voltage levels named: 750kV, 400kV, 415V. - Downstream impact: Used directly by 1 file: Local CI (gridatlas). - Signatures: `check(label, condition, detail)`; `loadModules()`; `makeElement(tag)`; `add()`; `appendChild(child)`; `addEventListener()`; `remove()`; `class MutationObserverStub`; `sandboxContext()`; `getElementById()`; `getStyle()`; `getContainer()`; `same(a?.site_code ?? null)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [750kV, 400kV, 415V] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Assembler Proof - File: gridatlas/tools/proofs/modules/202609012010-assembler.proof.mjs (JavaScript, 202 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012010-assembler.proof.mjs#L1-L202 - Page: https://code.globalgrid2050.com/explore-code/s/0657.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that uses SHA-256. It is built from the check step (`check`), the run step (`run`) and the sha256 step (`sha256`). - What it achieves (comment): Proof for `tools/build-cartridge.mjs`. - What it does: It loads data. Defines 7 functions or classes, including check, run, sha256, outputFor, manifestFor. Uses libraries node:fs/promises, node:fs, node:crypto, node:child_process, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Local CI (gridatlas). - Signatures: `check(label, condition, detail)`; `run(args, extraEnv = {})`; `sha256(text)`; `outputFor(generation)`; `manifestFor(generation)`; `existsForProof(path)`; `cleanup()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Grid Scope Proof - File: gridatlas/tools/proofs/modules/202609012040-grid-scope.proof.mjs (JavaScript, 194 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012040-grid-scope.proof.mjs#L1-L194 - Page: https://code.globalgrid2050.com/explore-code/s/0657.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads substations, 400kV, 750kV and 110kV, using haversine. - What it achieves (comment): It is built from the check step (`check`) and the list step (`list`). The arithmetic is easy; the discipline is the point. Its code works with 110 kV, 400 kV and 50 kV. - What it does: It loads substations, 400kV, 750kV and 110kV. Defines check, at, list. Uses libraries node:fs/promises, node:url, node:path, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 400kV, 750kV, 110kV, 132kV, 66kV. - Inputs & outputs: Voltage levels named: 750kV, 400kV, 132kV, 110kV, 66kV, 50kV, 33kV, 32kV. - Downstream impact: Used directly by 1 file: Local CI (gridatlas). - Signatures: `check(label, condition, detail)`; `at(dLat)`; `class list` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [750kV, 400kV, 132kV, 110kV, 66kV, 50kV, 33kV, 32kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Declared Connections Proof - File: gridatlas/tools/proofs/modules/202609012130-declared-connections.proof.mjs (JavaScript, 181 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012130-declared-connections.proof.mjs#L1-L181 - Page: https://code.globalgrid2050.com/explore-code/s/0657.html#f3 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads substations and 400kV. - What it achieves (comment): It is built from the plain step (`plain`), the same step (`same`) and the check step (`check`). The module was cut out of the single-line diagram (SLD)-sandbox body, so the question that matters most is PARITY: does the module hold exactly the records the served cartridge held. Its code works with 400 kV and 132 kV. - What it does: It loads substations and 400kV. Defines 6 functions or classes, including plain, same, check, fresh, inlineObject. Uses libraries node:fs/promises, node:path, node:url, node:vm, node:util. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 400kV, 132kV. - Inputs & outputs: Voltage levels named: 400kV, 132kV. - Downstream impact: Used directly by 1 file: Local CI (gridatlas). - Signatures: `plain(value)`; `same(a, b)`; `check(label, condition, detail)`; `fresh()`; `inlineObject(text, name)`; `servedFunctions()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 132kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Sizing Arithmetic Proof - File: gridatlas/tools/proofs/modules/202609012205-sizing-arithmetic.proof.mjs (JavaScript, 222 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012205-sizing-arithmetic.proof.mjs#L1-L222 - Page: https://code.globalgrid2050.com/explore-code/s/0658.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with fresh finance inputs (`freshFinanceInputs`) (units: MW, kVA, MVA). - What it achieves (comment): It is built from the plain step (`plain`), the same step (`same`) and the check step (`check`). The module was lifted out of the single-line diagram (SLD)-sandbox body, so the question that matters is PARITY: on the same inputs, does the module return exactly what the inline arithmetic returned? - What it does: It fetches data. Defines 8 functions or classes, including plain, same, check, fresh, slice. Uses libraries node:fs/promises, node:path, node:url, node:vm, node:util. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Local CI (gridatlas). - Signatures: `plain(value)`; `same(a, b)`; `check(label, condition, detail)`; `fresh()`; `slice(text, from, to, label)`; `freshFinanceInputs()`; `pick(s)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Electrical Distance Proof - File: gridatlas/tools/proofs/modules/202609012245-electrical-distance.proof.mjs (JavaScript, 339 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012245-electrical-distance.proof.mjs#L1-L339 - Page: https://code.globalgrid2050.com/explore-code/s/0658.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that fetches GB transmission network, transformers, 400kV and 132kV. - What it achieves (comment): It is built from the check step (`check`) and the fake index helper (`fakeIndex`). Run against the REAL published payload, not a fixture. Its code works with 400 kV and 132 kV. - What it does: It fetches GB transmission network, transformers, 400kV and 132kV. Defines check, fakeIndex, N. Uses libraries node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, 400kV, 132kV. - Inputs & outputs: In: JSON file gb-transmission-network.v1.json. Voltage levels named: 400kV, 132kV. - Downstream impact: Used directly by 1 file: Local CI (gridatlas). - Signatures: `check(name, condition, detail = '')`; `denials(codeOnly.match(/const NOT_A_[A-Z_]+\s*=[\s\S]*?;/g) || [])`; `fakeIndex(nodes, edges, sites)`; `N(node, site_code, voltage_kv, ok = true)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file gb-transmission-network.v1.json]; out []; crs []; voltages [400kV, 132kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Source Registry Proof - File: gridatlas/tools/proofs/modules/202609012245-source-registry.proof.mjs (JavaScript, 147 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012245-source-registry.proof.mjs#L1-L147 - Page: https://code.globalgrid2050.com/explore-code/s/0659.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads substations. It is built from the check step (`check`) and the state step (`state`). - What it achieves (comment): The registry's whole value is that it tells the truth about ABSENCE, so most of these checks build a window with a source deliberately missing, half-loaded or broken, and assert that the answer says so. - What it does: It loads substations. Defines check, state. Uses libraries node:fs/promises, node:path, node:url, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Downstream impact: Used directly by 1 file: Local CI (gridatlas). - Signatures: `check(label, condition, detail)`; `state(survey, id)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Rating Envelope Proof - File: gridatlas/tools/proofs/modules/202609012250-rating-envelope.proof.mjs (JavaScript, 258 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012250-rating-envelope.proof.mjs#L1-L258 - Page: https://code.globalgrid2050.com/explore-code/s/0659.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads GB transmission network, 400kV and overhead lines (OHL). - What it achieves (comment): It is built from the check step (`check`), the banned step (`banned`) and the fake index helper (`fakeIndex`). The load-bearing check in this file is a NEGATIVE one: that no code path anywhere in the module produces a sum of circuit ratings. Its code works with 400 kV, 9999 MVA and 130 MVA. - What it does: It loads GB transmission network, 400kV and overhead lines (OHL). Defines check, banned, fakeIndex, N. Uses libraries node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, overhead lines (OHL), 132kV. - Inputs & outputs: In: JSON file gb-transmission-network.v1.json. Voltage levels named: 400kV, 132kV. - Downstream impact: Used directly by 1 file: Local CI (gridatlas). - Signatures: `check(name, condition, detail = '')`; `banned(text)`; `fakeIndex(nodes, edges, sites)`; `N(node, site_code, voltage_kv, ok = true)`; `implausible(product.circuits || [])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file gb-transmission-network.v1.json]; out []; crs []; voltages [400kV, 132kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Planned Change Proof - File: gridatlas/tools/proofs/modules/202609012345-planned-change.proof.mjs (JavaScript, 390 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012345-planned-change.proof.mjs#L1-L390 - Page: https://code.globalgrid2050.com/explore-code/s/0660.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that fetches GB transmission network, transformers, 400kV and overhead lines (OHL). - What it achieves (comment): It is built from the check step (`check`), the fake product helper (`fakeProduct`) and the pair step (`pair`). The load-bearing checks are the negative ones: that a planned row is never presented as a circuit that exists, never walked as a path, and never made into a capacity claim. Its code works with 400 kV and 275 kV. - What it does: It fetches GB transmission network, transformers, 400kV and overhead lines (OHL). Defines 7 functions or classes, including check, N, S, fakeProduct, pair. Uses libraries node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, 400kV, overhead lines (OHL), 275kV, 220kV. - Inputs & outputs: In: JSON file gb-transmission-network.v1.json. Voltage levels named: 400kV, 275kV, 220kV. - Downstream impact: Used directly by 1 file: Local CI (gridatlas). - Signatures: `check(name, condition, detail = '')`; `denials(codeOnly.match(/const NOT_[A-Z_]+\s*=[\s\S]*?;/g) || [])`; `N(node, site_code, voltage_kv, ok = true, transmission_owner = 'NGET')`; `S(code, name, owner = 'NGET')`; `fakeProduct({ nodes = [], sites = [], circuits = [], transformers = [], planned_changes = [] })`; `pair(e)`; `tally(field)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file gb-transmission-network.v1.json]; out []; crs []; voltages [400kV, 275kV, 220kV] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Owner Boundary Proof - File: gridatlas/tools/proofs/modules/202609012350-owner-boundary.proof.mjs (JavaScript, 349 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609012350-owner-boundary.proof.mjs#L1-L349 - Page: https://code.globalgrid2050.com/explore-code/s/0661.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that fetches GB transmission network, transformers, 400kV and 220kV. - What it achieves (comment): It is built from the check step (`check`), the fake product helper (`fakeProduct`) and the is boundary helper (`isBoundary`). Two things must hold and are asserted by construction on small products built by hand: an owner is never inferred (a null is unknown, a circuit with an unknown end is undetermined). Its code works with 400 kV and 132 kV. - What it does: It fetches GB transmission network, transformers, 400kV and 220kV. Defines check, N, S, fakeProduct, isBoundary. Uses libraries node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, 400kV, 220kV, 132kV. - Inputs & outputs: In: JSON file gb-transmission-network.v1.json. Voltage levels named: 400kV, 220kV, 132kV. - Downstream impact: Used directly by 1 file: Local CI (gridatlas). - Signatures: `check(name, condition, detail = '')`; `denials(codeOnly.match(/const (?:NOT_[A-Z_]+|NEVER_INFERRED)\s*=[\s\S]*?;/g) || [])`; `N(node, site_code, voltage_kv, transmission_owner, ok = true)`; `S(code, name, transmission_owner)`; `fakeProduct({ nodes = [], sites = [], circuits = [], transformers = [], planned_changes = [] })`; `isBoundary(r)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file gb-transmission-network.v1.json]; out []; crs []; voltages [400kV, 220kV, 132kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Injection Response Proof - File: gridatlas/tools/proofs/modules/202609020015-injection-response.proof.mjs (JavaScript, 429 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/modules/202609020015-injection-response.proof.mjs#L1-L429 - Page: https://code.globalgrid2050.com/explore-code/s/0661.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads GB transmission network and 400kV. - What it achieves (comment): It is built from the check step (`check`), the close step (`close`) and the graph of helper (`graphOf`). Codex's standing condition on any load-flow work is validation against a trusted solver. Its code works with 400 kV, 100 MW and 17.97 MW. - What it does: It loads GB transmission network and 400kV. Defines 6 functions or classes, including check, close, graphOf, X, shareOn. Uses libraries node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: In: JSON file gb-transmission-network.v1.json. Voltage levels named: 400kV. - Downstream impact: Used directly by 1 file: Local CI (gridatlas). - Signatures: `check(name, condition, detail = '')`; `close(a, b, tol = 1e-9)`; `graphOf(nodes, edges)`; `X(node_1, node_2, x, extra = {})`; `shareOn(result, a, b)`; `nodes400(product.nodes || [])`; `add(node, mw)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file gb-transmission-network.v1.json]; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Offtakers Cartridge - File: gridatlas/tools/proofs/offtakers-cartridge.mjs (JavaScript, 100 lines) · role storage · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/offtakers-cartridge.mjs#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/0662.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that fetches generations and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It reads JSON (`readJson`) and is built from the sha step (`sha`). The proof of a generation that composes the potential-offtakers overlay as its OWN cartridge ('UK-offtakers-overlay', slot after-cartridge, after UK-lightning-overlay). It reads `atlas/current.json`. - What it does: It fetches generations and the REPD register. Defines sha, readJson, proveOfftakersCartridge. Uses libraries node:assert/strict, node:fs, node:path, node:vm, node:crypto. Side effects: reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file current.json; JSON file generations.json. - Signatures: `export proveOfftakersCartridge(G)`; `sha(b)`; `readJson(rel)`; `regM(JSON.parse(fs.readFileSync(path.join(ROOT, 'tools/offtakers/generations.json'), 'utf8')).generations || {})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file generations.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (dynamic-import 2, import 1, estate-url 1); used by 0; mentioned by 0 ### Prepare Layer Census - File: gridatlas/tools/proofs/prepare-layer-census.mjs (JavaScript, 12 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/prepare-layer-census.mjs#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0662.html#f3 - Synopsis: A JavaScript module in the proofs folder of GridAtlas. - What it achieves (name): Its name says it prepares layer census. - What it does: It loads data. Uses libraries node:fs, node:vm, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json. Out: JSON file layer-config.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [JSON file layer-config.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Regional Interface Browser - File: gridatlas/tools/proofs/regional-interface.browser.mjs (JavaScript, 269 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/regional-interface.browser.mjs#L1-L269 - Page: https://code.globalgrid2050.com/explore-code/s/0662.html#f4 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads grid UK Power Networks (UKPN) secondary, UKPN transformers, secondary click and 11kV. - What it achieves (name): It reads menu (`readMenu`) and verifies file menus (`verifyFileAndMenus`). Defines `capture`, `readMenu`, `verifyFileAndMenus` and 6 more. It writes `-secondary-click.json`. - What it does: It loads grid UKPN secondary, UKPN transformers, secondary click and 11kV. Defines 9 functions or classes, including capture, readMenu, verifyFileAndMenus, open, closed. Uses libraries node:assert/strict, node:fs, playwright. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV. - Inputs & outputs: In: Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet. Out: JSON file -secondary-click.json; JSON file receipt.json. Voltage levels named: 11kV. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `capture(label)`; `readMenu()`; `verifyFileAndMenus()`; `open(name)`; `closed(title,panel)`; `waitFileClosed()`; `deny()`; `memory()`; `zoomTo(zoom)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [Parquet file grid_ukpn_secondary.parquet; Parquet file ukpn_transformers.parquet]; out [JSON file -secondary-click.json; JSON file receipt.json]; crs []; voltages [11kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Deep Link Sweep Browser - File: gridatlas/tools/proofs/repd-deep-link-sweep.browser.mjs (JavaScript, 140 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/repd-deep-link-sweep.browser.mjs#L1-L140 - Page: https://code.globalgrid2050.com/explore-code/s/0662.html#f5 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads REPD browser registry and the REPD register. It is built from the arg step (`arg`). - What it achieves (comment): Arrive on many REPD deep links, not five. - What it does: It loads REPD browser registry and the REPD register. Defines arg. Uses libraries node:http, node:fs/promises, node:path, node:module, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file current.json; JSON file repd_browser_registry_202608290716.json; command-line arguments. - Signatures: `arg(flag, fallback)`; `rows(registry.records || [])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file repd_browser_registry_202608290716.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Run Current - File: gridatlas/tools/proofs/run-current.mjs (JavaScript, 62 lines) · role electrical · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/run-current.mjs#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/0662.html#f6 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that runs the proof belonging to the cartridge that is actually composed. - What it does: It loads data. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json. - Downstream impact: Used directly by 7 files: Local CI (gridatlas); CI PR Gate (gridatlas); Shift (gridatlas); GridAtlas — Release (gridatlas); and 3 more. Reached from 25 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); GridAtlas Verify Live Workflow (gridatlas); Acceptance (gridatlas). - Signatures: `cartridge(current.cartridges || [])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### Screen Grab Print Outcomes Browser - File: gridatlas/tools/proofs/screen-grab-print-outcomes.browser.mjs (JavaScript, 251 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/screen-grab-print-outcomes.browser.mjs#L1-L251 - Page: https://code.globalgrid2050.com/explore-code/s/0663.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that works with any ancestor hidden (`anyAncestorHidden`). - What it achieves (comment): It is built from the check step (`check`), the box step (`box`) and the any ancestor hidden helper (`anyAncestorHidden`). DOES THE SHEET SHOW WHAT THE READER WAS LOOKING AT? --------------------------------------------------------------------------- Not "did a PDF come out" -- -pdf-export-outcomes.browser.mjs already establishes that bytes arrive and that they carry a map. - What it does: It lists and searches its content. Defines check, box, anyAncestorHidden. Uses libraries playwright. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Signatures: `check(view, name, ok, detail)`; `box(selector)`; `anyAncestorHidden(selector)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Teleprint Evidence Browser - File: gridatlas/tools/proofs/teleprint-evidence.browser.mjs (JavaScript, 357 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/teleprint-evidence.browser.mjs#L1-L357 - Page: https://code.globalgrid2050.com/explore-code/s/0663.html#f2 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads teleprint evidence summary. - What it achieves (comment): It reads app status (`readAppStatus`) and is built from the scenario step (`scenario`) and the ensure dir helper (`ensureDir`). "You must record evidence via at least 50 chrome sessions 25 for print source code feature and 25 for print pdf feature via our app NOT CHROME or any other browser.". - What it does: It loads teleprint evidence summary. Defines scenario, ensureDir, readAppStatus, inspectPdf, inspectSource. Uses libraries playwright, node:fs/promises, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. Out: JSON file teleprint-evidence-summary.json. - Signatures: `scenario(index)`; `ensureDir(dir)`; `readAppStatus(page)`; `inspectPdf(buffer, expect)`; `inspectSource(text)`; `files(text.match(/^FILE: /gm) || [])`; `notRead(text.match(/^NOT READ -- (\d+)/m) || [])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file teleprint-evidence-summary.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### UK Lightning Preview Browser - File: gridatlas/tools/proofs/uk-lightning-preview.browser.mjs (JavaScript, 184 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/uk-lightning-preview.browser.mjs#L1-L184 - Page: https://code.globalgrid2050.com/explore-code/s/0664.html#f1 - Synopsis: A JavaScript module in the proofs folder of GridAtlas that reads comparison from the lightning repository. It opens profile (`openProfile`). - What it achieves (comment): Compare the restored live Atlas with isolated UK lightning V2. - What it does: It loads comparison. Defines openProfile. Uses libraries node:assert/strict, node:fs, node:path, node:http, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: lightning data; GeoJSON file uk_lightning.geojson. Out: JSON file comparison.json. - Signatures: `openProfile(width,mode)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: lightning data; GeoJSON file uk_lightning.geojson]; out [JSON file comparison.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Unified Catalogue Independent Test - File: gridatlas/tools/proofs/unified-catalogue-independent.test.mjs (JavaScript, 72 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/unified-catalogue-independent.test.mjs#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/0664.html#f2 - Synopsis: A test in the proofs folder of GridAtlas that checks Unified Layer Catalogue. It is built from the check step (`check`), the ids step (`ids`) and the expect step (`expect`). - What it achieves (comment): G201-06: independent acceptance oracle; run with Node, no browser or network. Its code works with 11 kV, 0.11 kV and 33 kV. - What it does: It tests 211kV, 133kV and transformers. Defines check, ids, expect. Uses libraries node:assert/strict. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 211kV, 133kV, transformers, 400kV, 33kV, 11kV. - Inputs & outputs: Voltage levels named: 400kV, 211kV, 133kV, 33kV, 11kV, 4kV, 0.4kV, 400V. - Downstream impact: Used directly by 2 files: Unified Owner Test Proof (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `check(name, fn)`; `ids(q, options)`; `expect(q, expected)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 211kV, 133kV, 33kV, 11kV, 4kV, 0.4kV, 400V] - Edges: uses 1 estate file (dynamic-import 1); used by 2; mentioned by 0 ### Unified Destination Contract Test - File: gridatlas/tools/proofs/unified-destination-contract.test.mjs (JavaScript, 55 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/unified-destination-contract.test.mjs#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/0664.html#f3 - Synopsis: A test in the proofs folder of GridAtlas that checks Unified Destination Contract. It runs tests (`runTests`). - What it achieves (name): Defines `runTests` and `commit`. - What it does: It tests the REPD register. Defines runTests, commit. Uses libraries node:assert/strict. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 2 files: Unified Owner Test Proof (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `runTests(check, throws)`; `commit()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Unified Layer Catalogue Test - File: gridatlas/tools/proofs/unified-layer-catalogue.test.mjs (JavaScript, 100 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/unified-layer-catalogue.test.mjs#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/0664.html#f4 - Synopsis: A test in the proofs folder of GridAtlas that checks Unified Layer Catalogue. It runs catalogue checks (`runCatalogueChecks`) and is built from the sorted ids helper (`sortedIds`). - What it achieves (name): Defines `runCatalogueChecks`, `throws` and `sortedIds`. Its code works with 11 kV, 33 kV and 400 kV. - What it does: It tests 11kV, 400kV, solar and 33kV. Defines runCatalogueChecks, eq, throws, id, sortedIds. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV, 400kV, solar, 33kV, 211kV, 133kV. - Inputs & outputs: Voltage levels named: 400kV, 211kV, 133kV, 33kV, 11kV, 4kV, 0.4kV, 400V. - Downstream impact: Used directly by 2 files: Unified Owner Test Proof (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `runCatalogueChecks(createLayerCatalogue,normalizeLayerText)`; `eq(actual,expected,message)`; `throws(fn,message)`; `id(r)`; `sortedIds(q)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 211kV, 133kV, 33kV, 11kV, 4kV, 0.4kV, 400V] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Verify Layers Local - File: gridatlas/tools/proofs/verify-layers-local.ps1 (PowerShell, 31 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/proofs/verify-layers-local.ps1#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/0664.html#f5 - Synopsis: A PowerShell script in the proofs folder of GridAtlas. - What it achieves (name): Its name says it verifies layers local. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GridAtlas Recompose - File: gridatlas/tools/recompose.mjs (JavaScript, 484 lines) · role storage · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/recompose.mjs#L1-L484 - Page: https://code.globalgrid2050.com/explore-code/s/0665.html#f1 - Synopsis: A JavaScript module in the tools folder that uses SHA-256. It reads JSON (`readJson`) and writes JSON (`writeJson`). - What it achieves (comment): Cut a new composition generation. - What it does: It loads data. Defines 9 functions or classes, including argv, utcNow, die, scoped, minute. Uses libraries node:fs, node:path, node:child_process, node:crypto, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file live-set.json; JSON file current-v5.json; command-line arguments. - Downstream impact: Used directly by 2 files: Shift (gridatlas); GridAtlas Rollback (gridatlas). Reached from 28 other entry points, including GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas); GridAtlas Rollback Composition Workflow (gridatlas). - Signatures: `argv(flag, { many = false } = {})`; `utcNow()`; `die(message)`; `scoped(flag)`; `minute(s)`; `sha256(text)`; `readJson(file)`; `writeJson(file, value)`; `cartridge(current.cartridges || [])`; `forThis(edit)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file live-set.json; JSON file current-v5.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Acceptance - File: gridatlas/tools/release/acceptance.mjs (JavaScript, 80 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/acceptance.mjs#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/0665.html#f2 - Synopsis: A JavaScript module in the tools folder of GridAtlas that labels cmd (`labelCmd`). - What it achieves (comment): It labels cmd (`labelCmd`) and is built from the die step (`die`) and the comment cmd helper (`commentCmd`). Step 3 of the delivery flow: the owner's acceptance of a preview generation. - What it does: Defines die, commentCmd, labelCmd. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `die(m, code = 1)`; `commentCmd(pr)`; `labelCmd(pr)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Check Live - File: gridatlas/tools/release/check-live.mjs (JavaScript, 85 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/check-live.mjs#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/0665.html#f3 - Synopsis: A JavaScript module in the tools folder of GridAtlas that works with live bytes job (`liveBytesJob`). - What it achieves (comment): It is built from the die step (`die`), the sleep step (`sleep`) and the live bytes job helper (`liveBytesJob`). Step 5 of the delivery flow: prove the public Pages site serves the committed bytes after a release (or a rollback) reached main. - What it does: Defines die, sleep, liveBytesJob. Uses libraries node:child_process. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `die(m, code = 2)`; `sleep(s)`; `liveBytesJob(sha)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (script-call 3); used by 0; mentioned by 0 ### Check Served - File: gridatlas/tools/release/check-served.mjs (JavaScript, 107 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/check-served.mjs#L1-L107 - Page: https://code.globalgrid2050.com/explore-code/s/0666.html#f1 - Synopsis: A JavaScript module in the tools folder of GridAtlas that reads homepage owner, using SHA-256. - What it achieves (comment): It is built from the sha256 step (`sha256`), the sleep step (`sleep`) and the get step (`get`). Step 7 of the delivery flow: a served check of www.globalgrid2050.com. - What it does: It loads homepage owner. Defines sha256, sleep, get, finish. Uses libraries node:fs, node:os, node:path, node:child_process, node:crypto. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file homepage-owner.json; JSON file homepage.json; command-line arguments. - Downstream impact: Used directly by 2 files: Release Status (gridatlas); GridAtlas Verify Live Workflow (gridatlas). - Signatures: `sha256(b)`; `sleep(s)`; `get(url)`; `finish(status, code)`; `row(html.match(/[\s\S]*?<\/tr>/) || [''])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file homepage-owner.json; JSON file homepage.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 2; mentioned by 0 ### Cut Grid Explorer - File: gridatlas/tools/release/cut-grid-explorer.mjs (JavaScript, 106 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/cut-grid-explorer.mjs#L1-L106 - Page: https://code.globalgrid2050.com/explore-code/s/0666.html#f2 - Synopsis: A JavaScript module in the tools folder of GridAtlas that reads composition, generations, mobile arrival card edits and substations, using SHA-256. - What it achieves (comment): It is built from the read step (`read`), the hash step (`hash`) and the JSON step (`json`). Cut additive source-built explorer candidates. Never moves the live pointer. - What it does: It loads composition, generations, mobile arrival card edits and substations. Defines read, hash, json, write, arg. Uses libraries node:fs, node:path, node:assert/strict, node:crypto, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: JSON file current.json; JSON file -composition.json; JSON file generations.json; JSON file mobile-arrival-card-edits.json; command-line arguments. - Signatures: `read(p)`; `hash(b)`; `json(p)`; `write(p, body)`; `arg(k)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file -composition.json; JSON file generations.json; JSON file mobile-arrival-card-edits.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 7 estate files (script-call 7); used by 0; mentioned by 0 ### Flow Lib - File: gridatlas/tools/release/flow-lib.mjs (JavaScript, 246 lines) · role automation · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/flow-lib.mjs#L1-L246 - Page: https://code.globalgrid2050.com/explore-code/s/0666.html#f3 - Synopsis: A JavaScript module in the tools folder of GridAtlas that classifies pr (`classifyPr`), parses verdict (`parseVerdict`) and reads acceptance (`readAcceptance`). - What it achieves (comment): It classifies pr (`classifyPr`), parses verdict (`parseVerdict`) and reads acceptance (`readAcceptance`). Shared helpers for the delivery-flow scripts in `tools/release/` (cut, preview, acceptance, release, live bytes, homepage label, served check, status). - What it does: It loads data. Defines 24 functions or classes, including generationFiles, PROGRESS_DOC, runningAsAgent, GhError, gh. Uses libraries node:fs, node:path, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json. - Downstream impact: Used directly by 8 files: Acceptance (gridatlas); Check Live (gridatlas); Check Served (gridatlas); Flow Test (gridatlas); and 4 more. Reached from 1 other entry point, including GridAtlas Verify Live Workflow (gridatlas). - Signatures: `export OWNER_LOGINS(process.env.GRIDATLAS_OWNER_LOGINS || 'Ventusltd')`; `export generationFiles(G)`; `export PROGRESS_DOC(G, name)`; `export runningAsAgent()`; `export class GhError`; `export gh(endpoint, { method = 'GET', fields = {}, raw = false, input } = {})`; `export ghAll(endpoint, { perPage = 100, maxPages = 30 } = {})`; `export ghFile(repo, ref, relative)`; `export ghHeadSha(repo, branch = 'main')`; `export prsNaming(G, { pulls } = {})`; `export prFiles(number)`; `export classifyPr(pr, files, G)`; `export acceptLabel(G)`; `export parseVerdict(body, G)`; `export trustedActor(user, app, body = '')`; `export decideAcceptance(G, { comments = [], events = [] })`; `export readAcceptance(G, { since, pulls } = {})`; `export cutAtUtc(G)`; `export workflowRuns(repo, workflow, { branch, headSha, event, perPage = 20 } = {})`; `export checkRunsFor(repo, sha)`; `export dispatchWorkflow(repo, workflow, ref, inputs = {})`; `export openDraftPr({ repo = GRIDATLAS, head, base = 'main', title, body })`; `export writeJson(file, data)`; `export readCommittedJson(rev, relative, cwd = ROOT)`; `export pad(rows)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 1, estate-url 1); used by 8; mentioned by 0 ### Flow Test - File: gridatlas/tools/release/flow.test.mjs (JavaScript, 91 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/flow.test.mjs#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/0666.html#f4 - Synopsis: A test in the tools folder of GridAtlas that checks Flow Lib and GridAtlas — Release. It is built from the comment step (`comment`). - What it achieves (comment): Offline tests of the delivery-flow rules in `flow-lib.mjs` (run by `tools/ci/pr-gate.mjs`, check release-tools). - What it does: It tests its inputs. Defines comment, ev, pr, f. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json. - Signatures: `comment(body, at, extra = {})`; `ev(event, at, actor = owner, app = null)`; `pr(ref)`; `f(...names)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Grid Explorer Proof - File: gridatlas/tools/release/grid-explorer-proof.mjs (JavaScript, 53 lines) · role automation · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/grid-explorer-proof.mjs#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/0666.html#f5 - Synopsis: A JavaScript module in the tools folder of GridAtlas that reads station, using SHA-256. It proves explorer generation (`proveExplorerGeneration`). - What it achieves (name): Defines `read`, `hash` and `proveExplorerGeneration`. It reads `tools/train/station-source.json`. - What it does: It loads station. Defines read, hash, proveExplorerGeneration. Uses libraries node:fs, node:path, node:assert/strict, node:url, node:crypto. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file station-source.json. - Downstream impact: Used directly by 4 files: Grid Journey Preview Proof (gridatlas); Grid Vicinity Proof (gridatlas); UK Gazetteer Flyto Proof (gridatlas); Cut Grid Explorer (gridatlas). - Signatures: `export proveExplorerGeneration(G, id)`; `read(p)`; `hash(b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file station-source.json]; out []; crs []; voltages [] - Edges: uses 6 estate files (script-call 6); used by 4; mentioned by 0 ### Homepage Bump - File: gridatlas/tools/release/homepage-bump.mjs (JavaScript, 247 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/homepage-bump.mjs#L1-L247 - Page: https://code.globalgrid2050.com/explore-code/s/0667.html#f1 - Synopsis: A JavaScript module in the tools folder of GridAtlas that reads homepage owner, using SHA-256. - What it achieves (comment): It cleans origin main (`cleanAtOriginMain`) and is built from the die step (`die`) and the git in helper (`gitIn`). Step 6 of the delivery flow: put the released GridAtlas on www.globalgrid2050.com. - What it does: It loads homepage owner. Defines 9 functions or classes, including die, ok, sh, gitIn, sha256. Uses libraries node:fs, node:path, node:child_process, node:crypto. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file homepage.json; JSON file homepage-owner.json; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `die(m)`; `ok(m)`; `sh(cmd, argv, cwd, opts = {})`; `gitIn(dir, ...a)`; `sha256(b)`; `cleanAtOriginMain(dir, name)`; `pointerCommit()`; `liveBytesPassed(sha)`; `job(gh(`repos/${GRIDATLAS}/actions/runs/${run.id}/jobs?per_page=50`).jobs || [])`; `homepageGridatlas(text)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file homepage.json; JSON file homepage-owner.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 0; mentioned by 0 ### GridAtlas — Release - File: gridatlas/tools/release/lib.mjs (JavaScript, 213 lines) · role automation · stage ingest - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/lib.mjs#L1-L213 - Page: https://code.globalgrid2050.com/explore-code/s/0667.html#f2 - Synopsis: A JavaScript module in the tools folder that derives current (`deriveCurrent`), cleans tree (`cleanTree`) and runs gates (`runGates`), using SHA-256. - What it achieves (comment): It parses args (`parseArgs`), reads text (`readText`) and derives current (`deriveCurrent`). Shared helpers for `tools/release/release-generation.mjs` and `tools/release/rollback-generation.mjs`. - What it does: It loads data. Defines 23 functions or classes, including registeredLoaderOf, pointerSlots, die, parseArgs, run. Uses libraries node:fs, node:path, node:child_process, node:crypto, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json. - Downstream impact: Used directly by 18 files: Build (gridatlas); Acceptance (gridatlas); Check Live (gridatlas); Check Served (gridatlas); and 14 more. Reached from 15 other entry points, including GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas); GridAtlas Verify Live Workflow (gridatlas). - Signatures: `export registeredLoaderOf(buffer)`; `export pointerSlots(pointer)`; `export die(tool, message)`; `export parseArgs(argv, spec)`; `export run(cmd, args, { cwd = ROOT, allowFail = false, input } = {})`; `export git(...args)`; `export gitOk(...args)`; `export gitBlob(rev, relative)`; `export sha256(buffer)`; `export sha256File(relative)`; `export readText(relative)`; `export exists(relative)`; `export deriveCurrent(manifestText)`; `export rerootForPreview(currentText)`; `export cleanTree()`; `export changedPaths()`; `export isTracked(relative)`; `export parityFailRows()`; `export runGates({ expectGeneration, proofs = [], parityBaseline = [], rollbackTo = null })`; `export printGates(rows)`; `export commitWithMessage(message)`; `export trailerBlock(trailers)`; `record(gate, ok, detail, out)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 6 estate files (script-call 6); used by 18; mentioned by 0 ### Loader Swap - File: gridatlas/tools/release/loader-swap.mjs (JavaScript, 153 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/loader-swap.mjs#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/0667.html#f3 - Synopsis: A JavaScript module in the tools folder of GridAtlas that works with cli check (`cliCheck`) and cli release (`cliRelease`), using SHA-256. - What it achieves (comment): It is built from the die step (`die`), the cli check helper (`cliCheck`) and the cli release helper (`cliRelease`). The live loader on its own: step 1 (and its rollback) of a two-step release of a generation whose own loader differs from the live one (`docs/RELEASE.md` "Loader first, then the pointer"; `docs/LIGHTNING-CARTRIDGE.md` "Cache window"). - What it does: It loads data. Defines 7 functions or classes, including proveLoaderSwap, die, ok, cliCheck, cliRelease. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; command-line arguments. - Downstream impact: Used directly by 3 files: CI PR Gate (gridatlas); Loader Swap Test (gridatlas); Rollback Generation (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Map Promotion Rehearsal (gridatlas). - Signatures: `export proveLoaderSwap({ fromLoader, toLoader, pointerText })`; `die(m)`; `ok(m)`; `cliCheck(argv)`; `cliRelease(argv)`; `finish(code)`; `abort()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 3; mentioned by 0 ### Loader Swap Test - File: gridatlas/tools/release/loader-swap.test.mjs (JavaScript, 158 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/loader-swap.test.mjs#L1-L158 - Page: https://code.globalgrid2050.com/explore-code/s/0668.html#f1 - Synopsis: A test in the tools folder of GridAtlas that checks GridAtlas — Scope and GridAtlas — Release, using SHA-256. - What it achieves (comment): It is built from the sandbox step (`sandbox`), the commit step (`commit`) and the node step (`node`). Offline tests of the loader-only step (`tools/release/loader-swap.mjs`), the pr-gate rule that calls it, and the guarded loader rollback in `rollback-generation.mjs`. - What it does: It tests its inputs. Defines sandbox, g, commit, node, cleanup. Uses libraries node:test, node:assert/strict, node:fs, node:os, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: JSON file current.json. - Signatures: `sandbox()`; `g(args, cwd = wt)`; `commit(msg)`; `node(args)`; `cleanup()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file current.json]; crs []; voltages [] - Edges: uses 5 estate files (script-call 5); used by 0; mentioned by 0 ### Map Promotion Rehearsal - File: gridatlas/tools/release/map-promotion-rehearsal.mjs (JavaScript, 85 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/map-promotion-rehearsal.mjs#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/0668.html#f2 - Synopsis: A JavaScript module in the tools folder of GridAtlas that reads before, after and rollback. - What it achieves (comment): It is built from the run step (`run`), the git step (`git`) and the JSON step (`json`). Full local-only release and route-C rollback; never push or read acceptance. - What it does: It loads before, after and rollback. Defines run, git, json, invoke. Uses libraries node:fs, node:path, node:assert/strict, node:url, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file before.json; JSON file after.json; JSON file rollback.json. Out: JSON file map-promotion-rehearsal.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `run(cwd,command,args,{allowFailure=false}={})`; `output(r.stdout||'')`; `git(cwd,...args)`; `json(name)`; `invoke(script,args)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file before.json; JSON file after.json; JSON file rollback.json]; out [JSON file map-promotion-rehearsal.json]; crs []; voltages [] - Edges: uses 3 estate files (script-call 3); used by 1; mentioned by 0 ### Publish Preview - File: gridatlas/tools/release/publish-preview.mjs (JavaScript, 188 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/publish-preview.mjs#L1-L188 - Page: https://code.globalgrid2050.com/explore-code/s/0668.html#f3 - Synopsis: A JavaScript module in the tools folder of GridAtlas that works with change set (`changeSet`). - What it achieves (comment): It is built from the die step (`die`), the show step (`show`) and the check step (`check`). Step 2 of the delivery flow: publish one or more generations cut by `tools/lightning/make-generation.mjs` (step 1) as a preview PR. - What it does: It loads data. Defines 6 functions or classes, including die, ok, show, check, changeSet. Uses libraries node:fs, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `die(m)`; `ok(m)`; `show(rev, rel)`; `check(name, pass, detail = '')`; `changeSet()`; `version(G)`; `scopeTail(meta[G].acceptance?.scope || '')` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Release Accepted - File: gridatlas/tools/release/release-accepted.mjs (JavaScript, 106 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/release-accepted.mjs#L1-L106 - Page: https://code.globalgrid2050.com/explore-code/s/0668.html#f4 - Synopsis: A JavaScript module in the tools folder of GridAtlas. It is built from the die step (`die`). - What it achieves (comment): Step 4 of the delivery flow: release an ACCEPTED preview generation. - What it does: It loads data. Defines die, ok. Uses libraries node:fs, node:path, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `die(m)`; `ok(m)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (script-call 3); used by 0; mentioned by 0 ### Release Generation - File: gridatlas/tools/release/release-generation.mjs (JavaScript, 367 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/release-generation.mjs#L1-L367 - Page: https://code.globalgrid2050.com/explore-code/s/0669.html#f1 - Synopsis: A JavaScript module in the tools folder of GridAtlas that checks prep (`checkPrep`), using SHA-256. - What it achieves (comment): It checks prep (`checkPrep`) and is built from the die step (`die`) and the step step (`step`). Release a published preview generation G to the live route. - What it does: It lists and searches its content. Defines 6 functions or classes, including die, step, ok, finish, checkPrep. Uses libraries node:fs, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; command-line arguments. Out: JSON file current.json. - Downstream impact: Used directly by 3 files: Loader Swap Test (gridatlas); Map Promotion Rehearsal (gridatlas); Release Accepted (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `die(m)`; `step(m)`; `ok(m)`; `finish(code)`; `checkPrep(label)`; `restore()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out [JSON file current.json]; crs []; voltages [] - Edges: uses 2 estate files (import 1, estate-url 1); used by 3; mentioned by 0 ### Release Status - File: gridatlas/tools/release/release-status.mjs (JavaScript, 147 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/release-status.mjs#L1-L147 - Page: https://code.globalgrid2050.com/explore-code/s/0669.html#f2 - Synopsis: A JavaScript module in the tools folder of GridAtlas that reads homepage owner. - What it achieves (comment): It is built from the is line helper (`isLine`), the live bytes helper (`liveBytes`) and the pr state helper (`prState`). Where every candidate is in the delivery flow (`docs/RELEASE.md`). - What it does: It loads homepage owner. Defines isLine, liveBytes, ci, prState. Uses libraries node:fs, node:path, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file homepage.json; JSON file homepage-owner.json; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `pinnedOnMain(gh(`repos/${GRIDATLAS}/contents/atlas/v?ref=${mainSha}`) || [])`; `isLine(g)`; `job(gh(`repos/${GRIDATLAS}/actions/runs/${run.id}/jobs?per_page=50`).jobs || [])`; `ci(sha)`; `prState(p)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file homepage.json; JSON file homepage-owner.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (script-call 3); used by 0; mentioned by 0 ### Rollback Generation - File: gridatlas/tools/release/rollback-generation.mjs (JavaScript, 204 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/rollback-generation.mjs#L1-L204 - Page: https://code.globalgrid2050.com/explore-code/s/0670.html#f1 - Synopsis: A JavaScript module in the tools folder of GridAtlas that works with rollback loader only (`rollbackLoaderOnly`), using SHA-256. - What it achieves (comment): It is built from the die step (`die`), the step step (`step`) and the finish step (`finish`). Roll a release back by reverting its release commit (route C of `RELEASE-COMMANDS.md`) and prove the pointer is restored byte for byte. - What it does: It lists and searches its content. Defines 7 functions or classes, including die, step, ok, finish, abort. Uses libraries node:fs, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; command-line arguments. - Downstream impact: Used directly by 2 files: Loader Swap Test (gridatlas); Map Promotion Rehearsal (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `die(m)`; `step(m)`; `ok(m)`; `finish(code)`; `abort()`; `rollbackLoaderOnly(R)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Split Lightning Cartridge - File: gridatlas/tools/release/split-lightning-cartridge.mjs (JavaScript, 136 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/release/split-lightning-cartridge.mjs#L1-L136 - Page: https://code.globalgrid2050.com/explore-code/s/0670.html#f2 - Synopsis: A JavaScript module in the tools folder of GridAtlas that reads substations, using SHA-256. - What it achieves (comment): It reads JSON (`readJson`) and is built from the die step (`die`) and the rel step (`rel`). Cut a MODULAR lightning generation G from a monolithic one R: the same composition, with the UK lightning overlay as its own cartridge ('UK-lightning-overlay', slot after-cartridge, after single-line diagram (SLD)-sandbox) and SLD-sandbox back to the original cartridge (435,218 bytes). It reads `atlas/current.json`. - What it does: It loads substations. Defines die, rel, abs, readJson. Uses libraries node:fs, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: JSON file current.json; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `die(m)`; `rel(...p)`; `abs(p)`; `readJson(p)`; `lightningSources(refSld.data_sources || [])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### GridAtlas Rollback - File: gridatlas/tools/rollback.mjs (JavaScript, 251 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/rollback.mjs#L1-L251 - Page: https://code.globalgrid2050.com/explore-code/s/0670.html#f3 - Synopsis: A JavaScript module in the tools folder that works with committed bytes (`committedBytes`), using SHA-256. It reads JSON (`readJson`) and writes JSON (`writeJson`). - What it achieves (comment): Roll the live composition back to a generation that has already shipped. - What it does: It loads data. Defines argv, die, readJson, writeJson, committedBytes. Uses libraries node:fs, node:path, node:child_process, node:crypto, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file live-set.json; command-line arguments. - Downstream impact: Used directly by 2 files: GridAtlas — Release (gridatlas); GridAtlas Rollback Composition Workflow (gridatlas). Reached from 27 other entry points, including GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas); GridAtlas Verify Live Workflow (gridatlas). - Signatures: `argv(flag)`; `die(message)`; `readJson(file)`; `writeJson(file, value)`; `committedBytes(relative)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file live-set.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 2; mentioned by 0 ### SatNav Browser - File: gridatlas/tools/satnav/browser.py (Python, 405 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/browser.py#L1-L405 - Page: https://code.globalgrid2050.com/explore-code/s/0671.html#f1 - Synopsis: A Python module in the tools folder of GridAtlas covering postcodes, the Renewable Energy Planning Database (REPD) register and substations, and uses data from postcodes.io and the SatNav repository. - What it achieves (name): It checks launcher during search reflow (`check_launcher_during_search_reflow`) and is built from the ready step (`ready`) and the choose compass helper (`choose_compass`). Defines `load_map`, `click_launcher`, `open_satnav` and 10 more. - What it does: It draws postcodes, the REPD register and substations. Defines 13 functions or classes, including load_map, click_launcher, open_satnav, check_launcher_during_search_reflow, ready. Uses libraries json, math, os, urllib.parse, playwright.sync_api. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: postcodes, the REPD register, substations. - Signatures: `load_map(page, url)`; `click_launcher(page)`; `open_satnav(page)`; `check_launcher_during_search_reflow(page)`; `ready(page, url)`; `choose_compass(page, name, point)`; `open_native_card(page)`; `open_card(page)`; `click_uncovered_map(page)`; `pick_search_result(page, query, result_selector)`; `stale_project_refused(page, action)`; `postcode_handoff(page, use_live_provider)`; `selected(page, kind)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Build Line Preview - File: gridatlas/tools/satnav/build-line-preview.mjs (JavaScript, 35 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/build-line-preview.mjs#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/0671.html#f2 - Synopsis: A JavaScript module in the tools folder of GridAtlas that uses SHA-256. - What it achieves (name): Defines `read`, `write` and `hash`. It reads `current.json` and writes `index.html`. - What it does: It loads data. Defines read, write, hash. Uses libraries node:assert/strict, node:crypto, node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file current.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `read(path)`; `write(path, text)`; `hash(text)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### SatNav Build Unified Agent1 CI - File: gridatlas/tools/satnav/build-unified-agent1-ci.mjs (JavaScript, 73 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/build-unified-agent1-ci.mjs#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/0671.html#f3 - Synopsis: A JavaScript module in the tools folder of GridAtlas that reads composition, using SHA-256. It is built from the read step (`read`) and the sha step (`sha`). - What it achieves (comment): Build an isolated, disposable CI composition; never change production or a released generation. - What it does: It loads composition. Defines read, sha. Uses libraries node:assert/strict, node:crypto, node:fs, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file current.json; JSON file -composition.json; command-line arguments. Out: JSON file current.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `read(p)`; `sha(b)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file -composition.json; command-line arguments]; out [JSON file current.json]; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### SatNav Build - File: gridatlas/tools/satnav/build.mjs (JavaScript, 60 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/build.mjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0671.html#f4 - Synopsis: A JavaScript module in the tools folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): Defines `read`, `hash` and `write`. It reads `atlas/current.json` and writes `index.html`. - What it does: It loads the REPD register. Defines read, hash, write. Uses libraries node:fs, node:path, node:crypto, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file current.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `read(p)`; `hash(s)`; `write(p,s)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### SatNav Compact Browser - File: gridatlas/tools/satnav/compact-browser.py (Python, 170 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/compact-browser.py#L1-L170 - Page: https://code.globalgrid2050.com/explore-code/s/0672.html#f1 - Synopsis: A Python command-line tool in the tools folder of GridAtlas using data from the SatNav repository. It maps canvas tap (`map_canvas_tap`) and checks browser (`check_browser`). - What it achieves (comment): Compact SatNav acceptance against the real GridAtlas composer. - What it does: Defines surface_distance, leg_point, map_canvas_tap, overlay_roles, check_browser. Uses libraries math, os, re, urllib.parse, playwright.sync_api. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `surface_distance(first, second)`; `leg_point(start, end, fraction, offset)`; `map_canvas_tap(page, excluded=None)`; `overlay_roles(page, required, absent=())`; `check_browser(browser, label, width, height)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Compass Browser - File: gridatlas/tools/satnav/compass-browser.py (Python, 206 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/compass-browser.py#L1-L206 - Page: https://code.globalgrid2050.com/explore-code/s/0672.html#f2 - Synopsis: A Python command-line tool in the tools folder of GridAtlas that checks notice (`check_notice`) and heading (`check_heading`), checks viewport (`check_viewport`) and calculates angles. - What it achieves (comment): It is built from the initial bearing helper (`initial_bearing`), the expect true bearing helper (`expect_true_bearing`) and the sample step (`sample`). Touch-test the real GridAtlas compass page, using simulated heading and GPS samples. - What it does: It draws its content. Defines 6 functions or classes, including initial_bearing, expect_true_bearing, check_notice, sample, check_heading. Uses libraries importlib.util, math, os, pathlib, re. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'compass'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `initial_bearing(from_point, to_point)`; `expect_true_bearing(reading, origin_label, start, end)`; `check_notice(page)`; `sample(page, event_type, **properties)`; `check_heading(page)`; `check_viewport(browser, label, width, height)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Convergence Browser - File: gridatlas/tools/satnav/convergence-browser.py (Python, 219 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/convergence-browser.py#L1-L219 - Page: https://code.globalgrid2050.com/explore-code/s/0672.html#f3 - Synopsis: A Python command-line tool in the tools folder of GridAtlas that checks asset actions (`check_asset_actions`) and opens walk panel (`open_walk_panel`) (units: kV), covering 11kV and substations. - What it achieves (comment): It is built from the walk diagnostic helper (`walk_diagnostic`) and the check step (`check`). Combined regional/SatNav browser acceptance; uses the existing GPS boundary spy. - What it does: It lists and searches 11kV and substations. Defines check_asset_actions, walk_diagnostic, open_walk_panel, check. Uses libraries os, json, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: 11kV, substations. - Inputs & outputs: Voltage levels named: 11kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `check_asset_actions(page)`; `walk_diagnostic(page, engine, viewport)`; `open_walk_panel(page)`; `check(browser, engine, viewport)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Offline Plan - File: gridatlas/tools/satnav/field-reliability/offline-plan.mjs (JavaScript, 179 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/field-reliability/offline-plan.mjs#L1-L179 - Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f1 - Synopsis: A JavaScript module in the field reliability folder of GridAtlas that formats distance (`formatDistance`), shows pin (`showPin`) and draws SVG graphics. It formats distance (`formatDistance`) and shows pin (`showPin`). - What it achieves (comment): Saves the planned pins on this device only, after the user presses Save. It responds to statechange events. - What it does: It draws its content. Defines 11 functions or classes, including fieldPlan, displayPlan, byId, formatDistance, showPin. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage field_execution (path word 'field'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Out: SVG drawing. - Signatures: `export offlinePlanDocument(pins, maths)`; `export mountOfflinePlan({container, getPins, maths})`; `fieldPlan(pins, maths)`; `displayPlan()`; `byId(id)`; `formatDistance(m)`; `scaleX(maxX - minX)`; `showPin()`; `activateWorker(scope)`; `finish()`; `cleanup()`; `change(action)` - VEDIC: SAVE OFFLINE PLAN (GG2050-VEDIC-000100): SatNav · Location and navigation data. DOM container, selected pins callback, distance and bearing functions, secure browser with service worker and Cache Storage -> Offline plan controls and a locally cached standalone HTML plan after the user presses Save. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### State - File: gridatlas/tools/satnav/field-reliability/state.mjs (JavaScript, 17 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/field-reliability/state.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f2 - Synopsis: A JavaScript module in the field reliability folder of GridAtlas. It is built from the assess field state helper (`assessFieldState`). - What it achieves (comment): Pure field-state adapter: no watch, cache, DOM, or permission side effects. - What it does: It calculates its inputs. Defines assessFieldState. - Why it exists in the grid workflow: Domain stage field_execution (path word 'field'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: State Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export assessFieldState({tracking=false,hidden=false,resumedAt=null,fix=null,now=Date.now(),networkOnline=null,verifiedOfflineResources=false...)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### State Test - File: gridatlas/tools/satnav/field-reliability/state.test.mjs (JavaScript, 33 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/field-reliability/state.test.mjs#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f3 - Synopsis: A test in the field reliability folder of GridAtlas that checks State. It runs tests (`runTests`). - What it achieves (name): Defines `runTests`. - What it does: It tests its inputs. Defines runTests. Uses libraries node:url, node:path. - Why it exists in the grid workflow: Domain stage field_execution (path word 'field'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `runTests(assess,quality)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### SatNav G203 04 Saved Plan Test - File: gridatlas/tools/satnav/g203-04-saved-plan.test.mjs (JavaScript, 55 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/g203-04-saved-plan.test.mjs#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f4 - Synopsis: A test in the tools folder of GridAtlas that checks G203 04 SatNav Walk Saved Plan. It is built from the fixture step (`fixture`). - What it achieves (comment): G203-04: actual cartridge source executed in a small mocked browser; real browser acceptance separate. - What it does: It tests its inputs. Defines fixture. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `fixture(path, secure = true)`; `createElement(tag)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### SatNav G203 Dock Browser - File: gridatlas/tools/satnav/g203-dock-browser.py (Python, 156 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/g203-dock-browser.py#L1-L156 - Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f5 - Synopsis: A Python command-line tool in the tools folder of GridAtlas that opens map (`open_map`). - What it achieves (comment): It is built from the diagnostic step (`diagnostic`), the historical step (`historical`) and the row ok helper (`row_ok`). G203-01 real-map dock comparison; injected layout is not a published release. - What it does: It lists and searches its content. Defines open_map, diagnostic, historical, row_ok, run. Uses libraries os, json, re, pathlib, runpy. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `open_map(page,route,require_dock=True)`; `diagnostic(page)`; `historical(browser,name,w,h,generation)`; `row_ok(rects,w,h)`; `run(browser,name,w,h)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### SatNav G203 Soak - File: gridatlas/tools/satnav/g203-soak.py (Python, 48 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/g203-soak.py#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f6 - Synopsis: A Python module in the tools folder of GridAtlas. - What it achieves (comment): Matched 30-minute candidate soak; simulated GPS, actual application, no auto-reload. - What it does: Uses libraries os, time, json, pathlib, runpy. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: 11kV. - Inputs & outputs: Voltage levels named: 11kV. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav G203 Swarm 05 Offline Browser - File: gridatlas/tools/satnav/g203-swarm-05-offline-browser.py (Python, 119 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/g203-swarm-05-offline-browser.py#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f7 - Synopsis: A Python command-line tool in the tools folder of GridAtlas that works with no gps (`no_gps`). - What it achieves (comment): It is built from the live step (`live`), the pins step (`pins`) and the put step (`put`). G203-SWARM-05: exact composed route, real service worker and CacheStorage. - What it does: It loads data. Defines 7 functions or classes, including live, pins, put, no_gps, key_present. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `live(page)`; `pins(page)`; `put(page, points)`; `no_gps(page)`; `key_present(page)`; `save(area)`; `run(browser, name)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### SatNav G203 Verify Composition - File: gridatlas/tools/satnav/g203-verify-composition.mjs (JavaScript, 12 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/g203-verify-composition.mjs#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f8 - Synopsis: A JavaScript module in the tools folder of GridAtlas that uses SHA-256. - What it achieves (name): It reads `atlas/current.json`. - What it does: It loads data. Uses libraries node:fs, node:crypto, node:path, node:assert/strict. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file current.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### SatNav G203 Viewport Browser - File: gridatlas/tools/satnav/g203-viewport-browser.py (Python, 32 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/g203-viewport-browser.py#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/0673.html#f9 - Synopsis: A Python command-line tool in the tools folder of GridAtlas. It is built from the run step (`run`). - What it achieves (comment): G203: real pinned UK Power Networks (UKPN) viewport, no duplicate download, source eviction and neon regression. - What it does: Defines run. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `run(browser,name)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Convergence 2km - File: gridatlas/tools/satnav/guidance/convergence-2km.mjs (JavaScript, 72 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/convergence-2km.mjs#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/0674.html#f1 - Synopsis: A JavaScript module in the guidance folder of GridAtlas that classifies direct leg (`classifyDirectLeg`), reconciles navigation layers (`reconcileNavigationLayers`) and prepares asset destination (`prepareAssetDestination`) (units: kV). - What it achieves (comment): It classifies direct leg (`classifyDirectLeg`), prepares asset destination (`prepareAssetDestination`) and ranks higher voltage (`rankHigherVoltage`). Direct navigation is not a pedestrian route or evidence of access. - What it does: It calculates its inputs. Defines 7 functions or classes, including classifyDirectLeg, directLegGeometry, reconcileNavigationLayers, prepareAssetDestination, valid. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 3 files: Convergence 2km Test (gridatlas); Ordered Convergence 2km (gridatlas); Direct Convergence 2km (gridatlas). Reached from 3 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); CI PR Gate (gridatlas); Map Promotion Rehearsal (gridatlas). - Signatures: `export classifyDirectLeg(maths, from, to)`; `export directLegGeometry(maths, from, to)`; `export reconcileNavigationLayers(map, ids)`; `export prepareAssetDestination(maths, fix, at, tracking, quality)`; `export rankHigherVoltage(nodes, origin, distanceKm, minimumKv = 33, limit = 5)`; `valid(p)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 1 ### Convergence 2km Test - File: gridatlas/tools/satnav/guidance/convergence-2km.test.mjs (JavaScript, 153 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/convergence-2km.test.mjs#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/0674.html#f2 - Synopsis: A test in the guidance folder of GridAtlas that checks Convergence 2km and Ordered Convergence 2km. - What it achieves (name): Defines `fix`. - What it does: It tests 11kV. Defines to, fix. Uses libraries node:test, node:assert/strict, node:vm. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: 11kV. - Inputs & outputs: Voltage levels named: 11kV. - Downstream impact: Used directly by 2 files: CI PR Gate (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). Reached from 1 other entry point, including Map Promotion Rehearsal (gridatlas). - Signatures: `to(metres)`; `fix(at,timestampMs)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [11kV] - Edges: uses 4 estate files (import 4); used by 2; mentioned by 0 ### Convergence Preview - File: gridatlas/tools/satnav/guidance/convergence-preview.mjs (JavaScript, 83 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/convergence-preview.mjs#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/0674.html#f3 - Synopsis: A JavaScript module in the guidance folder of GridAtlas that reads manifest (`readManifest`), using SHA-256. - What it achieves (comment): It reads manifest (`readManifest`) and is built from the sha step (`sha`) and the pin step (`pin`). Run `regional-preview.mjs` first in a checkout containing both PRs. It reads `atlas/current.json` and writes `/current.json`. - What it does: It loads data. Defines sha, readManifest, pin, verify. Uses libraries node:fs, node:path, node:assert/strict, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file current.json. Out: JSON file current.json. - Downstream impact: Used directly by 2 files: CI PR Gate (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). Reached from 1 other entry point, including Map Promotion Rehearsal (gridatlas). - Signatures: `sha(bytes)`; `readManifest(dir)`; `pin(entry,filename,bytes)`; `verify(dir,entry)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [JSON file current.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Convergence Unlimited - File: gridatlas/tools/satnav/guidance/convergence-unlimited.mjs (JavaScript, 69 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/convergence-unlimited.mjs#L1-L69 - Page: https://code.globalgrid2050.com/explore-code/s/0674.html#f4 - Synopsis: A JavaScript module in the guidance folder of GridAtlas that classifies direct leg (`classifyDirectLeg`), reconciles navigation layers (`reconcileNavigationLayers`) and prepares asset destination (`prepareAssetDestination`) (units: kV). - What it achieves (comment): It classifies direct leg (`classifyDirectLeg`), prepares asset destination (`prepareAssetDestination`) and ranks higher voltage (`rankHigherVoltage`). Direct navigation is not a pedestrian route or evidence of access. - What it does: It calculates its inputs. Defines 7 functions or classes, including classifyDirectLeg, directLegGeometry, reconcileNavigationLayers, prepareAssetDestination, valid. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 5 files: Distance Dock Proof (gridatlas); Ordered Convergence Unlimited (gridatlas); Orient17a Continuity Ordered (gridatlas); Orient17a Ordered (gridatlas); and 1 more. - Signatures: `export classifyDirectLeg(maths, from, to)`; `export directLegGeometry(maths, from, to)`; `export reconcileNavigationLayers(map, ids)`; `export prepareAssetDestination(maths, fix, at, tracking, quality)`; `export rankHigherVoltage(nodes, origin, distanceKm, minimumKv = 33, limit = 5)`; `valid(p)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/guidance/convergence-2km.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Ordered Convergence 2km - File: gridatlas/tools/satnav/guidance/ordered-convergence-2km.mjs (JavaScript, 125 lines) · role render · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/ordered-convergence-2km.mjs#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/0674.html#f5 - Synopsis: A JavaScript module in the guidance folder of GridAtlas that creates waypoint guidance (`createWaypointGuidance`), selects leg (`selectLeg`) and sets route (`setRoute`). - What it achieves (code): It copies pin (`copyPin`), creates waypoint guidance (`createWaypointGuidance`) and selects leg (`selectLeg`). Its `createWaypointGuidance` function gives guidance state with next target, distance, bearing, remaining distance and bounded deviation information from Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes (VEDIC: follow waypoints). - What it does: Defines 9 functions or classes, including copyPin, createWaypointGuidance, selectLeg, setRoute, snapshot. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: Convergence 2km Test (gridatlas); Direct Convergence 2km (gridatlas). Reached from 3 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); CI PR Gate (gridatlas); Map Promotion Rehearsal (gridatlas). - Signatures: `export createWaypointGuidance(maths, compass)`; `copyPin(pin, ids)`; `selectLeg()`; `setRoute(pins)`; `snapshot(status, quality)`; `locate(fix, now = Date.now())`; `bearingToNext()`; `unsupported()`; `limitReceipt()` - VEDIC: FOLLOW WAYPOINTS (GG2050-VEDIC-000097): SatNav · Location and navigation data. Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes -> Guidance state with next target, distance, bearing, remaining distance and bounded deviation information. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 1 ### Ordered Convergence Unlimited - File: gridatlas/tools/satnav/guidance/ordered-convergence-unlimited.mjs (JavaScript, 115 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/ordered-convergence-unlimited.mjs#L1-L115 - Page: https://code.globalgrid2050.com/explore-code/s/0674.html#f6 - Synopsis: A JavaScript module in the guidance folder of GridAtlas that creates waypoint guidance (`createWaypointGuidance`), selects leg (`selectLeg`) and sets route (`setRoute`). - What it achieves (code): It copies pin (`copyPin`), creates waypoint guidance (`createWaypointGuidance`) and selects leg (`selectLeg`). Its `createWaypointGuidance` function gives guidance state with next target, distance, bearing, remaining distance and bounded deviation information from Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes (VEDIC: follow waypoints). - What it does: Defines 7 functions or classes, including copyPin, createWaypointGuidance, selectLeg, setRoute, snapshot. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: Distance Dock Proof (gridatlas); Direct Convergence Unlimited (gridatlas). - Signatures: `export createWaypointGuidance(maths, compass)`; `copyPin(pin, ids)`; `selectLeg()`; `setRoute(pins)`; `snapshot(status, quality)`; `locate(fix, now = Date.now())`; `bearingToNext()` - VEDIC: FOLLOW WAYPOINTS (GG2050-VEDIC-000097): SatNav · Location and navigation data. Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes -> Guidance state with next target, distance, bearing, remaining distance and bounded deviation information. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/guidance/ordered.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Ordered - File: gridatlas/tools/satnav/guidance/ordered.mjs (JavaScript, 116 lines) · role render · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/ordered.mjs#L1-L116 - Page: https://code.globalgrid2050.com/explore-code/s/0675.html#f1 - Synopsis: A JavaScript module in the guidance folder of GridAtlas that creates waypoint guidance (`createWaypointGuidance`), selects leg (`selectLeg`) and sets route (`setRoute`). - What it achieves (code): It copies pin (`copyPin`), creates waypoint guidance (`createWaypointGuidance`) and selects leg (`selectLeg`). Its `createWaypointGuidance` function gives guidance state with next target, distance, bearing, remaining distance and bounded deviation information from Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes (VEDIC: follow waypoints). - What it does: Defines 7 functions or classes, including copyPin, createWaypointGuidance, selectLeg, setRoute, snapshot. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: Ordered Test (gridatlas); Direct (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Direct Test (gridatlas). - Signatures: `export createWaypointGuidance(maths, compass)`; `copyPin(pin, ids)`; `selectLeg()`; `setRoute(pins)`; `snapshot(status, quality)`; `locate(fix, now = Date.now())`; `bearingToNext()` - VEDIC: FOLLOW WAYPOINTS (GG2050-VEDIC-000097): SatNav · Location and navigation data. Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes -> Guidance state with next target, distance, bearing, remaining distance and bounded deviation information. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Ordered Test - File: gridatlas/tools/satnav/guidance/ordered.test.mjs (JavaScript, 185 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/ordered.test.mjs#L1-L185 - Page: https://code.globalgrid2050.com/explore-code/s/0675.html#f2 - Synopsis: A test in the guidance folder of GridAtlas that checks Ordered. It is built from the close step (`close`). - What it achieves (name): Defines `fix`, `pin`, `route` and 1 more. - What it does: It tests its inputs. Defines fix, pin, route, close. Uses libraries node:test, node:assert/strict, node:path, node:url. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `fix(at, timestampMs = now, accuracyM = 3)`; `pin(id, coordinate)`; `route(points = pins)`; `close(actual, expected, tolerance = 0.01)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Orient17a Continuity Ordered - File: gridatlas/tools/satnav/guidance/orient17a-continuity-ordered.mjs (JavaScript, 129 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/orient17a-continuity-ordered.mjs#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/0675.html#f3 - Synopsis: A JavaScript module in the guidance folder of GridAtlas that creates waypoint guidance (`createWaypointGuidance`), selects leg (`selectLeg`) and resets evidence (`resetEvidence`). - What it achieves (code): It copies pin (`copyPin`), creates waypoint guidance (`createWaypointGuidance`) and selects leg (`selectLeg`). Its `createWaypointGuidance` function gives guidance state with next target, distance, bearing, remaining distance and bounded deviation information from Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes (VEDIC: follow waypoints). - What it does: Defines 9 functions or classes, including copyPin, createWaypointGuidance, selectLeg, resetEvidence, suspend. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Orient17a Continuity Direct (gridatlas). - Signatures: `export createWaypointGuidance(maths, compass)`; `copyPin(pin, ids)`; `selectLeg()`; `resetEvidence()`; `suspend(now = Date.now())`; `setRoute(pins)`; `snapshot(status, quality)`; `locate(fix, now = Date.now())`; `bearingToNext()` - VEDIC: FOLLOW WAYPOINTS (GG2050-VEDIC-000097): SatNav · Location and navigation data. Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes -> Guidance state with next target, distance, bearing, remaining distance and bounded deviation information. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Orient17a Ordered - File: gridatlas/tools/satnav/guidance/orient17a-ordered.mjs (JavaScript, 122 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/orient17a-ordered.mjs#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/0675.html#f4 - Synopsis: A JavaScript module in the guidance folder of GridAtlas that creates waypoint guidance (`createWaypointGuidance`), selects leg (`selectLeg`) and sets route (`setRoute`). - What it achieves (code): It copies pin (`copyPin`), creates waypoint guidance (`createWaypointGuidance`) and selects leg (`selectLeg`). Its `createWaypointGuidance` function gives guidance state with next target, distance, bearing, remaining distance and bounded deviation information from Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes (VEDIC: follow waypoints). - What it does: Defines 7 functions or classes, including copyPin, createWaypointGuidance, selectLeg, setRoute, snapshot. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Orient17a Direct (gridatlas). - Signatures: `export createWaypointGuidance(maths, compass)`; `copyPin(pin, ids)`; `selectLeg()`; `setRoute(pins)`; `snapshot(status, quality)`; `locate(fix, now = Date.now())`; `bearingToNext()` - VEDIC: FOLLOW WAYPOINTS (GG2050-VEDIC-000097): SatNav · Location and navigation data. Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes -> Guidance state with next target, distance, bearing, remaining distance and bounded deviation information. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/guidance/ordered.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Orient17a V9212 Ordered - File: gridatlas/tools/satnav/guidance/orient17a-v9212-ordered.mjs (JavaScript, 129 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/orient17a-v9212-ordered.mjs#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/0675.html#f5 - Synopsis: A JavaScript module in the guidance folder of GridAtlas that creates waypoint guidance (`createWaypointGuidance`), selects leg (`selectLeg`) and resets evidence (`resetEvidence`). - What it achieves (code): It copies pin (`copyPin`), creates waypoint guidance (`createWaypointGuidance`) and selects leg (`selectLeg`). Its `createWaypointGuidance` function gives guidance state with next target, distance, bearing, remaining distance and bounded deviation information from Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes (VEDIC: follow waypoints). - What it does: Defines 9 functions or classes, including copyPin, createWaypointGuidance, selectLeg, resetEvidence, suspend. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Orient17a V9212 Direct (gridatlas). - Signatures: `export createWaypointGuidance(maths, compass)`; `copyPin(pin, ids)`; `selectLeg()`; `resetEvidence()`; `suspend(now = Date.now())`; `setRoute(pins,now=Date.now())`; `snapshot(status, quality)`; `locate(fix, now = Date.now())`; `bearingToNext()` - VEDIC: FOLLOW WAYPOINTS (GG2050-VEDIC-000097): SatNav · Location and navigation data. Geographical maths and compass modules, uniquely identified WGS84 pins, timestamped GPS fixes -> Guidance state with next target, distance, bearing, remaining distance and bounded deviation information. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/guidance/orient17a-continuity-ordered.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Secondary Vicinity - File: gridatlas/tools/satnav/guidance/secondary-vicinity.mjs (JavaScript, 92 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/guidance/secondary-vicinity.mjs#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/0676.html#f1 - Synopsis: A JavaScript module in the guidance folder of GridAtlas that reads the Renewable Energy Planning Database (REPD) register, substations and transformers, using SHA-256. - What it achieves (comment): It is built from the patch step (`patch`). Only transformation of the two immutable V9.197 Vicinity modules. - What it does: It loads the REPD register, substations and transformers. Defines patch, buildSecondaryVicinity. Uses libraries node:fs, node:crypto, node:vm. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: the REPD register, substations, transformers. - Downstream impact: Used directly by 3 files: Convergence 2km Test (gridatlas); Convergence Preview (gridatlas); Owner Test Proof (gridatlas). Reached from 4 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); CI PR Gate (gridatlas); Map Promotion Rehearsal (gridatlas). - Signatures: `export buildSecondaryVicinity(root=new URL('../../../',import.meta.url))`; `patch(source,edits)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 3; mentioned by 0 ### GeoJSON Interchange - File: gridatlas/tools/satnav/interchange/geojson-interchange.mjs (JavaScript, 65 lines) · role geodesy · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/interchange/geojson-interchange.mjs#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/0676.html#f2 - Synopsis: A JavaScript module in the SatNav folder of GridAtlas that imports GIS route snapshot (`importGisRouteSnapshot`). It exports geo JSON (`exportGeoJSON`), imports geo JSON (`importGeoJSON`) and imports GIS route snapshot (`importGisRouteSnapshot`). - What it achieves (comment): SV07: pure, explicit local interchange; no GPS, network or financial mutation. - What it does: It calculates its inputs. Defines 12 functions or classes, including fail, point, points, same, ring. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 3 files: GeoJSON Interchange Test (gridatlas); Layout Import (gridatlas); Layout Import Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export exportGeoJSON({pins=[],plannedRoute=null,perimeter=null,walkedTrack=[]}={})`; `export importGeoJSON(doc)`; `export importGisRouteSnapshot(snapshot)`; `fail(msg)`; `point(p)`; `points(a, min=0)`; `same(a,b)`; `ring(a)`; `fix(f)`; `track(a)`; `feature(role,type,coordinates,props={})`; `ordered(a)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GeoJSON Interchange Test - File: gridatlas/tools/satnav/interchange/geojson-interchange.test.mjs (JavaScript, 17 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/interchange/geojson-interchange.test.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/0676.html#f3 - Synopsis: A test in the SatNav folder of GridAtlas that checks GeoJSON Interchange. - What it achieves (name): Defines `raw`. - What it does: It tests its inputs. Defines raw. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `raw(type,coordinates,properties={})` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GeoJSON - File: gridatlas/tools/satnav/interchange/geojson.mjs (JavaScript, 72 lines) · role geodesy · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/interchange/geojson.mjs#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/0676.html#f4 - Synopsis: A JavaScript module in the interchange folder of GridAtlas. It normalises geo JSON (`normaliseGeoJSON`) and exports geo JSON (`exportGeoJSON`). - What it achieves (comment): Local 2D WGS84 interchange only; no network, legal access, engineering accuracy or route calculation. - What it does: It calculates its inputs. Defines 7 functions or classes, including normaliseGeoJSON, fail, point, line, feature. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 3 files: GeoJSON Test (gridatlas); Interchange (gridatlas); Model (gridatlas). Reached from 4 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Interchange Test (gridatlas); Layout Import Test (gridatlas). - Signatures: `export normaliseGeoJSON(input)`; `export fromGisSnapshot(snapshot)`; `export exportGeoJSON(input)`; `fail(message)`; `point(p)`; `line(p,min)`; `feature(f)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GeoJSON Test - File: gridatlas/tools/satnav/interchange/geojson.test.mjs (JavaScript, 38 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/interchange/geojson.test.mjs#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0676.html#f5 - Synopsis: A test in the interchange folder of GridAtlas that checks GeoJSON. It runs tests (`runTests`). - What it achieves (name): Defines `runTests` and `reject`. - What it does: It tests its inputs. Defines runTests, eq, reject, f. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `runTests(normaliseGeoJSON,fromGisSnapshot,exportGeoJSON)`; `eq(a,b)`; `reject(fn,msg)`; `f(type,coordinates,properties={})` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Layout Browser - File: gridatlas/tools/satnav/interchange/layout-browser.py (Python, 128 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/interchange/layout-browser.py#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/0676.html#f6 - Synopsis: A Python command-line tool in the interchange folder of GridAtlas that reads field, native GIS single-line diagram (SLD), cables and 33kV, using EPSG:27700. - What it achieves (comment): It checks browser (`check_browser`) and is built from the feature step (`feature`) and the local file helper (`local_file`). Exercise local layout import, edit, export and failure recovery on the V4 map. Its code works with 33 kV. - What it does: It loads field, native GIS SLD, cables and 33kV. Defines feature, local_file, check_browser. Uses libraries json, os, runpy, pathlib, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: cables, 33kV. - Inputs & outputs: In: user-supplied file (file picker). Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 33kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `feature(kind, coords, **properties)`; `local_file(input_element, data)`; `check_browser(browser, name, width, height)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker)]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Layout Import - File: gridatlas/tools/satnav/interchange/layout-import.mjs (JavaScript, 129 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/interchange/layout-import.mjs#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/0676.html#f7 - Synopsis: A JavaScript module in the interchange folder of GridAtlas that checks reference system (`checkReferenceSystem`) and reads features (`readFeatures`), covering cables, using EPSG:4326. - What it achieves (code): It checks reference system (`checkReferenceSystem`), reads features (`readFeatures`) and reads layout (`readLayout`). Its `readLayout` function gives validated survey layout features with geometry and role metadata from GeoJSON object or JSON text, supported layout schema and WGS84 coordinates (VEDIC: import engineering layout). - What it does: Defines 6 functions or classes, including checkReferenceSystem, sourceFeature, readFeatures, readLayout, layoutChoices. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: cables. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Layout Import Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export readLayout(input)`; `export layoutChoices(layout)`; `export walkLayoutChoice(survey, layout, choice)`; `checkReferenceSystem(value)`; `sourceFeature(feature, nativeLayout = false)`; `readFeatures(doc)` - VEDIC: IMPORT ENGINEERING LAYOUT (GG2050-VEDIC-000101): SatNav · Location and navigation data. GeoJSON object or JSON text, supported layout schema and WGS84 coordinates -> Validated survey layout features with geometry and role metadata. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Layout Import Test - File: gridatlas/tools/satnav/interchange/layout-import.test.mjs (JavaScript, 170 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/interchange/layout-import.test.mjs#L1-L170 - Page: https://code.globalgrid2050.com/explore-code/s/0677.html#f1 - Synopsis: A test in the interchange folder of GridAtlas that checks Layout Import and GeoJSON Interchange, using EPSG:27700. - What it achieves (name): Defines `feature`, `collection` and `fix`. Its code works with 33 kV. It reads `./fixtures/native-gis-sld.geojson`. - What it does: It tests cables and 33kV. Defines feature, collection, fix. Uses libraries node:test, node:assert/strict, node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: cables, 33kV. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `feature(type, coordinates, properties = {})`; `collection(...features)`; `fix(coords, timestampMs)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [33kV] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### SatNav Line Browser - File: gridatlas/tools/satnav/line-browser.py (Python, 216 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/line-browser.py#L1-L216 - Page: https://code.globalgrid2050.com/explore-code/s/0677.html#f2 - Synopsis: A Python command-line tool in the tools folder of GridAtlas using data from the SatNav repository. It maps canvas tap (`map_canvas_tap`), checks basemap (`check_basemap`) and checks browser (`check_browser`). - What it achieves (comment): Detached browser checks for the GridAtlas line-tracking practice preview. - What it does: It lists and searches its content. Defines 7 functions or classes, including surface_distance, leg_point, map_canvas_tap, overlay_roles, check_basemap. Uses libraries math, os, re, urllib.parse, playwright.sync_api. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `surface_distance(first, second)`; `leg_point(start, end, fraction, offset)`; `map_canvas_tap(page, excluded=None)`; `overlay_roles(page, required, absent=())`; `check_basemap(page, selector, visibility, geometry)`; `check_browser(browser, label)`; `run()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Orient15 Recovery - File: gridatlas/tools/satnav/line/orient15-recovery.mjs (JavaScript, 113 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/line/orient15-recovery.mjs#L1-L113 - Page: https://code.globalgrid2050.com/explore-code/s/0677.html#f3 - Synopsis: A JavaScript module in the line folder of GridAtlas that sets journey (`setJourney`). It creates recovery (`createRecovery`) and sets journey (`setJourney`). - What it achieves (name): Defines `point`, `finite`, `createRecovery` and 19 more. - What it does: It calculates its inputs. Defines 22 functions or classes, including point, finite, createRecovery, now, policy. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Orient15 Recovery Test (gridatlas). - Signatures: `export createRecovery({maths,provider=null,clock=Date.now,timeoutMs=8000,cooldownMs=10000})`; `point(p)`; `finite(n)`; `now()`; `policy()`; `usable(f,t)`; `clearOutput()`; `cancel()`; `clearRoute()`; `invalidate(next)`; `snapshot()`; `setJourney({mode:m,target:t,objective:o='shortest'})`; `start()`; `stop()`; `pause()`; `resume()`; `network(value)`; `requestRoute(t)`; `current()`; `evaluate(f,t)`; `dt(f.timestampMs-progress.time)`; `tick()`; `ingest(f)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Orient15 Recovery Test - File: gridatlas/tools/satnav/line/orient15-recovery.test.mjs (JavaScript, 63 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/line/orient15-recovery.test.mjs#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/0677.html#f4 - Synopsis: A test in the line folder of GridAtlas that checks Orient15 Recovery. It is built from the sample step (`sample`). - What it achieves (name): Defines `settle`, `harness`, `provider` and 1 more. - What it does: It tests its inputs. Defines xy, settle, harness, provider, sample. Uses libraries node:assert/strict. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `xy(x,y)`; `settle()`; `harness(opts={})`; `provider(req)`; `sample(x,y,a=4,advance=1000)`; `journey(mode='walking',target=xy(200,0),objective='shortest')`; `resolve(i,coords=[xy(0,0),xy(200,0)],over={})` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Orient16 Recovery Safe - File: gridatlas/tools/satnav/line/orient16-recovery-safe.mjs (JavaScript, 120 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/line/orient16-recovery-safe.mjs#L1-L120 - Page: https://code.globalgrid2050.com/explore-code/s/0677.html#f5 - Synopsis: A JavaScript module in the line folder of GridAtlas that sets journey (`setJourney`). It creates recovery (`createRecovery`) and sets journey (`setJourney`). - What it achieves (name): Defines `point`, `finite`, `createRecovery` and 20 more. - What it does: It calculates its inputs. Defines 23 functions or classes, including point, finite, createRecovery, now, policy. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 2 files: Orient16 Recovery Safe Test (gridatlas); Valhalla Provider Test (gridatlas). - Signatures: `export createRecovery({maths,provider=null,clock=Date.now,timeoutMs=8000,cooldownMs=10000,maxAttempts=3})`; `point(p)`; `finite(n)`; `now()`; `policy()`; `usable(f,t)`; `clearOutput()`; `cancel()`; `clearRoute()`; `invalidate(next)`; `snapshot()`; `setJourney({mode:m,target:t,objective:o='shortest'})`; `start()`; `stop()`; `pause()`; `resume()`; `network(value)`; `requestRoute(t)`; `current()`; `close(a,b)`; `evaluate(f,t)`; `dt(f.timestampMs-progress.time)`; `tick()`; `ingest(f)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Orient16 Recovery Safe Test - File: gridatlas/tools/satnav/line/orient16-recovery-safe.test.mjs (JavaScript, 19 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/line/orient16-recovery-safe.test.mjs#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/0678.html#f1 - Synopsis: A test in the line folder of GridAtlas that checks Orient16 Recovery Safe. - What it does: It tests its inputs. Uses libraries node:assert/strict. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Orient16 Recovery - File: gridatlas/tools/satnav/line/orient16-recovery.mjs (JavaScript, 120 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/line/orient16-recovery.mjs#L1-L120 - Page: https://code.globalgrid2050.com/explore-code/s/0678.html#f2 - Synopsis: A JavaScript module in the line folder of GridAtlas that sets journey (`setJourney`). It creates recovery (`createRecovery`) and sets journey (`setJourney`). - What it achieves (name): Defines `point`, `finite`, `createRecovery` and 20 more. - What it does: It calculates its inputs. Defines 23 functions or classes, including point, finite, createRecovery, now, policy. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Orient16 Recovery Test (gridatlas). - Signatures: `export createRecovery({maths,provider=null,clock=Date.now,timeoutMs=8000,cooldownMs=10000,maxAttempts=3})`; `point(p)`; `finite(n)`; `now()`; `policy()`; `usable(f,t)`; `clearOutput()`; `cancel()`; `clearRoute()`; `invalidate(next)`; `snapshot()`; `setJourney({mode:m,target:t,objective:o='shortest'})`; `start()`; `stop()`; `pause()`; `resume()`; `network(value)`; `requestRoute(t)`; `current()`; `close(a,b)`; `evaluate(f,t)`; `dt(f.timestampMs-progress.time)`; `tick()`; `ingest(f)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/line/orient16-recovery-safe.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Orient16 Recovery Test - File: gridatlas/tools/satnav/line/orient16-recovery.test.mjs (JavaScript, 14 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/line/orient16-recovery.test.mjs#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0678.html#f3 - Synopsis: A test in the line folder of GridAtlas that checks Orient16 Recovery. - What it does: It tests its inputs. Uses libraries node:assert/strict. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### SatNav Offline Plan Browser - File: gridatlas/tools/satnav/offline-plan-browser.py (Python, 212 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/offline-plan-browser.py#L1-L212 - Page: https://code.globalgrid2050.com/explore-code/s/0678.html#f4 - Synopsis: A Python command-line tool in the tools folder of GridAtlas that sets pins (`set_pins`). - What it achieves (comment): It is built from the handler class (`Handler`), the log message helper (`log_message`) and the end headers helper (`end_headers`). Exercise the offline plan module and worker in a real browser against a local origin. It accepts `--executable` and `--geodesy`. - What it does: It fetches data. Defines 10 functions or classes, including test_site, Handler, log_message, end_headers, do_GET. Uses libraries argparse, json, socket, contextlib, functools. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `test_site(geodesy)`; `class Handler`; `log_message(self, *args)`; `end_headers(self)`; `do_GET(self)`; `scopes_and_keys(page)`; `set_pins(page, points)`; `save(page, pins)`; `expect_plan(page, url, expected)`; `exercise(browser, origin, unavailable)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Orient14 Browser - File: gridatlas/tools/satnav/orient14-browser.py (Python, 58 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient14-browser.py#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/0678.html#f5 - Synopsis: A Python module in the tools folder of GridAtlas. - What it achieves (comment): ORIENT-14: real numbered GridAtlas composition; only the GPS boundary is simulated. - What it does: Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Orient16 Browser - File: gridatlas/tools/satnav/orient16-browser.py (Python, 63 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient16-browser.py#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/0678.html#f6 - Synopsis: A Python module in the tools folder of GridAtlas. - What it achieves (comment): ORIENT-14: real numbered GridAtlas composition; only the GPS boundary is simulated. - What it does: Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Orient16 Recovery Browser - File: gridatlas/tools/satnav/orient16-recovery-browser.py (Python, 171 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient16-recovery-browser.py#L1-L171 - Page: https://code.globalgrid2050.com/explore-code/s/0678.html#f7 - Synopsis: A Python module in the tools folder of GridAtlas. - What it achieves (comment): ORIENT-14: real numbered GridAtlas composition; only the GPS boundary is simulated. - What it does: Uses libraries os, json, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Orient16 Responsive Browser - File: gridatlas/tools/satnav/orient16-responsive-browser.py (Python, 185 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient16-responsive-browser.py#L1-L185 - Page: https://code.globalgrid2050.com/explore-code/s/0679.html#f1 - Synopsis: A Python module in the tools folder of GridAtlas. - What it achieves (comment): ORIENT-14: real numbered GridAtlas composition; only the GPS boundary is simulated. - What it does: Uses libraries os, json, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Orient17 Regional Browser - File: gridatlas/tools/satnav/orient17-regional-browser.py (Python, 72 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient17-regional-browser.py#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/0679.html#f2 - Synopsis: A Python module in the tools folder of GridAtlas that routes fixture (`route_fixture`). It is built from the encode step (`encode`). - What it achieves (comment): ORIENT-17.2 composed browser fixture, explicitly synthetic transport, not actual routing. - What it does: Defines encode, route_fixture. Uses libraries os, json, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `encode(points)`; `route_fixture(route)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Orient17a Browser - File: gridatlas/tools/satnav/orient17a-browser.py (Python, 57 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient17a-browser.py#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0679.html#f3 - Synopsis: A Python module in the tools folder of GridAtlas. - What it achieves (comment): ORIENT17A partial composed checkpoint. WMM missing: must fail closed, not fake true heading. - What it does: Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Orient17a V9211 Browser - File: gridatlas/tools/satnav/orient17a-v9211-browser.py (Python, 99 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient17a-v9211-browser.py#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0679.html#f4 - Synopsis: A Python module in the tools folder of GridAtlas that emits heading (`emit_heading`). - What it achieves (comment): V9.211 composed application acceptance: simulated acquisition, not device evidence. - What it does: Defines emit_heading. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `emit_heading(heading, accuracy=3, beta=0)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Orient17a V9212 Browser - File: gridatlas/tools/satnav/orient17a-v9212-browser.py (Python, 99 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient17a-v9212-browser.py#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0679.html#f5 - Synopsis: A Python module in the tools folder of GridAtlas that emits heading (`emit_heading`). - What it achieves (comment): V9.212 composed application acceptance: simulated acquisition, not device evidence. - What it does: Defines emit_heading. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `emit_heading(heading, accuracy=3, beta=0)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Orient17a V9214 Browser - File: gridatlas/tools/satnav/orient17a-v9214-browser.py (Python, 101 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient17a-v9214-browser.py#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/0679.html#f6 - Synopsis: A Python module in the tools folder of GridAtlas that emits heading (`emit_heading`). - What it achieves (comment): V9.214 composed application acceptance: simulated acquisition, not device evidence. - What it does: Defines emit_heading. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `emit_heading(heading, accuracy=3, beta=0)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Orient17a V9215 Browser - File: gridatlas/tools/satnav/orient17a-v9215-browser.py (Python, 112 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient17a-v9215-browser.py#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f1 - Synopsis: A Python module in the tools folder of GridAtlas that emits heading (`emit_heading`). - What it achieves (comment): V9.215 composed application acceptance: simulated acquisition, not device evidence. - What it does: Defines emit_heading. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `emit_heading(heading, accuracy=3, beta=0)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Orient17a V9216 Browser - File: gridatlas/tools/satnav/orient17a-v9216-browser.py (Python, 138 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orient17a-v9216-browser.py#L1-L138 - Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f2 - Synopsis: A Python module in the tools folder of GridAtlas that emits heading (`emit_heading`). - What it achieves (comment): V9.216 composed application acceptance: simulated acquisition, not device evidence. - What it does: Defines emit_heading. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `emit_heading(heading, accuracy=3, beta=0)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Orient17a Heading Filter - File: gridatlas/tools/satnav/orientation/orient17a-heading-filter.mjs (JavaScript, 39 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-heading-filter.mjs#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f3 - Synopsis: A JavaScript module in the orientation folder of GridAtlas. It creates heading filter (`createHeadingFilter`) and is built from the norm step (`norm`) and the delta step (`delta`). - What it achieves (comment): Heading filter with persistence-confirmed jumps and decaying accuracy inflation. - What it does: It calculates its inputs. Defines 6 functions or classes, including norm, delta, createHeadingFilter, reset, inflate. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Orient17a V9214 Compass Test (gridatlas). - Signatures: `export createHeadingFilter({tauMs=300,jumpDeg=60,confirmMs=250,confirmDeg=25}={})`; `norm(d)`; `delta(a,b)`; `reset()`; `inflate(o,t)`; `push(o)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Orient17a Navigation - File: gridatlas/tools/satnav/orientation/orient17a-navigation.mjs (JavaScript, 47 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-navigation.mjs#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f4 - Synopsis: A JavaScript module in the orientation folder of GridAtlas that creates arrival (`createArrival`) and calculates planar distances and angles. - What it achieves (comment): It creates arrival (`createArrival`) and is built from the geometry step (`geometry`) and the point step (`point`). ORIENT-17A safe spherical geometry (GridAtlas radius), proximity and reference boundary. - What it does: It calculates its inputs. Defines 7 functions or classes, including geometry, point, vector, createArrival, reset. - Why it exists in the grid workflow: Domain stage field_execution (path word 'navigation'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 6 files: Orient17a Continuity Ordered (gridatlas); Orient17a Ordered (gridatlas); Orient17a Navigation Test (gridatlas); Wmm2025 Test (gridatlas); and 2 more. - Signatures: `export geometry(fix,target,now=Date.now())`; `export createArrival({radiusM=15,maxGapMs=2500,minSpanMs=2000}={})`; `export relativeGuidance(metrics,heading,now=Date.now())`; `point(p)`; `vector([x,y])`; `reset()`; `observe({fix,metrics,key,now=Date.now(),eligible=true})`; `r((metrics.bearingDeg-heading.degrees+540)%360)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 1 ### Orient17a Navigation Test - File: gridatlas/tools/satnav/orientation/orient17a-navigation.test.mjs (JavaScript, 13 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-navigation.test.mjs#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f5 - Synopsis: A test in the orientation folder of GridAtlas that checks Orient17a Navigation. - What it achieves (name): Defines `tests`. - What it does: It tests its inputs. Defines tests. - Why it exists in the grid workflow: Domain stage field_execution (path word 'navigation'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `tests(geometry,createArrival,relativeGuidance)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Orient17a Reference Wmm - File: gridatlas/tools/satnav/orientation/orient17a-reference-wmm.mjs (JavaScript, 31 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-reference-wmm.mjs#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f6 - Synopsis: A JavaScript module in the orientation folder of GridAtlas. It is built from the true heading from observation helper (`trueHeadingFromObservation`). - What it achieves (comment): ORIENT-17A integration boundary: magnetic observation -> true heading. - What it does: It calculates its inputs. Defines trueHeadingFromObservation. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Wmm2025 Test (gridatlas). - Signatures: `export trueHeadingFromObservation(observation, fix, now = Date.now())` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Orient17a Reference - File: gridatlas/tools/satnav/orientation/orient17a-reference.mjs (JavaScript, 5 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-reference.mjs#L1-L5 - Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f7 - Synopsis: A JavaScript module in the orientation folder of GridAtlas. It is built from the true heading from observation helper (`trueHeadingFromObservation`). - What it achieves (comment): ORIENT-17A integration boundary. Pending independently validated WMM2025 evaluator. - What it does: It calculates its inputs. Defines trueHeadingFromObservation. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `export trueHeadingFromObservation(observation,fix,now=Date.now())` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Orient17a V9211 Heading - File: gridatlas/tools/satnav/orientation/orient17a-v9211-heading.mjs (JavaScript, 61 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-v9211-heading.mjs#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f8 - Synopsis: A JavaScript module in the orientation folder of GridAtlas that creates heading filter (`createHeadingFilter`) and reference (`createReference`). It creates heading filter (`createHeadingFilter`) and creates reference (`createReference`). - What it achieves (comment): Strict V9.211 acquisition boundary. No GPS-course substitution. - What it does: It calculates its inputs. Defines 10 functions or classes, including norm, delta, eligibleObservation, createHeadingFilter, reset. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Orient17a V9211 Heading Test (gridatlas). - Signatures: `export eligibleObservation(event,frame,t)`; `export createHeadingFilter()`; `export createReference()`; `export stableLabel(g,previous)`; `norm(d)`; `delta(a,b)`; `reset()`; `push(o)`; `resolve(o,f,now=Date.now())` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/orientation/orient17a-v9212-heading.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 1 ### Orient17a V9211 Heading Test - File: gridatlas/tools/satnav/orientation/orient17a-v9211-heading.test.mjs (JavaScript, 16 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-v9211-heading.test.mjs#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f9 - Synopsis: A test in the orientation folder of GridAtlas that checks Orient17a V9211 Heading. - What it achieves (name): Defines `obs`. - What it does: It tests its inputs. Defines obs. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `obs(degrees,t=now)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Orient17a V9212 Heading - File: gridatlas/tools/satnav/orientation/orient17a-v9212-heading.mjs (JavaScript, 62 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-v9212-heading.mjs#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f10 - Synopsis: A JavaScript module in the orientation folder of GridAtlas that creates heading filter (`createHeadingFilter`) and reference (`createReference`). It creates heading filter (`createHeadingFilter`) and creates reference (`createReference`). - What it achieves (comment): Strict V9.211 acquisition boundary. No GPS-course substitution. - What it does: It calculates its inputs. Defines 10 functions or classes, including norm, delta, eligibleObservation, createHeadingFilter, reset. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Orient17a V9212 Test (gridatlas). - Signatures: `export eligibleObservation(event,frame,t)`; `export createHeadingFilter()`; `export createReference()`; `export stableLabel(g,previous)`; `norm(d)`; `delta(a,b)`; `reset()`; `push(o)`; `resolve(o,f,now=Date.now())` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Orient17a V9212 Navigation - File: gridatlas/tools/satnav/orientation/orient17a-v9212-navigation.mjs (JavaScript, 50 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-v9212-navigation.mjs#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f11 - Synopsis: A JavaScript module in the orientation folder of GridAtlas that creates arrival (`createArrival`) and calculates planar distances and angles. - What it achieves (comment): It creates arrival (`createArrival`) and is built from the geometry step (`geometry`) and the point step (`point`). ORIENT-17A safe spherical geometry (GridAtlas radius), proximity and reference boundary. - What it does: It calculates its inputs. Defines 7 functions or classes, including geometry, point, vector, createArrival, reset. - Why it exists in the grid workflow: Domain stage field_execution (path word 'navigation'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 3 files: Orient17a V9212 Ordered (gridatlas); Orient17a V9212 Test (gridatlas); Orient17a V9212 Direct (gridatlas). - Signatures: `export geometry(fix,target,now=Date.now())`; `export createArrival({radiusM=15,maxGapMs=2500,minSpanMs=2000}={})`; `export relativeGuidance(metrics,heading,now=Date.now())`; `point(p)`; `vector([x,y])`; `reset()`; `observe({fix,metrics,key,now=Date.now(),eligible=true})`; `r((metrics.bearingDeg-heading.degrees+540)%360)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/orientation/orient17a-navigation.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Orient17a V9212 Test - File: gridatlas/tools/satnav/orientation/orient17a-v9212.test.mjs (JavaScript, 20 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-v9212.test.mjs#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f12 - Synopsis: A test in the orientation folder of GridAtlas that checks Orient17a V9212 Navigation and Orient17a V9212 Heading. - What it does: It tests its inputs. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Orient17a V9214 Compass Test - File: gridatlas/tools/satnav/orientation/orient17a-v9214-compass.test.mjs (JavaScript, 20 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-v9214-compass.test.mjs#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f13 - Synopsis: A test in the orientation folder of GridAtlas that checks Orient17a V9214 Event Clock and Orient17a Heading Filter. - What it achieves (name): Defines `obs`. - What it does: It tests its inputs. Defines obs. Uses libraries node:assert/strict. - Why it exists in the grid workflow: Domain stage field_execution (path word 'compass'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `obs(degrees,timestampMs)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Orient17a V9214 Event Clock - File: gridatlas/tools/satnav/orientation/orient17a-v9214-event-clock.mjs (JavaScript, 16 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/orient17a-v9214-event-clock.mjs#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/0680.html#f14 - Synopsis: A JavaScript module in the orientation folder of GridAtlas that normalises event epoch to the integer wall-clock domain used by the GPS/reference gates. It creates event clock (`createEventClock`). - What it achieves (name): Defines `createEventClock`, `reset` and `stamp`. - What it does: It calculates its inputs. Defines createEventClock, reset, stamp. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Orient17a V9214 Compass Test (gridatlas). - Signatures: `export createEventClock({now=Date.now,origin=()=>performance.timeOrigin}={})`; `reset()`; `stamp(event)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Wmm2025 - File: gridatlas/tools/satnav/orientation/wmm2025.mjs (JavaScript, 222 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/wmm2025.mjs#L1-L222 - Page: https://code.globalgrid2050.com/explore-code/s/0681.html#f1 - Synopsis: A JavaScript module in the orientation folder of GridAtlas that works with decimal year (`decimalYear`) and evaluate field (`evaluateField`) and calculates great-circle distances and planar distances, using SHA-256. - What it achieves (comment): It is built from the index step (`index`), the decimal year helper (`decimalYear`) and the check step (`check`). ORIENT-17A support: World Magnetic Model 2025 (WMM2025) declination evaluator. - What it does: It calculates its inputs. Defines 9 functions or classes, including index, decimalYear, check, evaluateField, declinationSigmaDeg. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 4 files: Orient17a Reference Wmm (gridatlas); Orient17a V9211 Heading (gridatlas); Orient17a V9212 Heading (gridatlas); Wmm2025 Test (gridatlas). - Signatures: `export decimalYear(date)`; `export evaluateField({ latitude, longitude, altitudeKm = 0, year })`; `export declinationSigmaDeg(hNt)`; `export declination({ latitude, longitude, altitudeKm = 0, when = Date.now() })`; `export magneticToTrue(heading, position, { when = heading?.timestampMs ?? Date.now(), sigmaMultiplier = 2, sensorIsMagnetic = false } = {})`; `index(n, m)`; `check({ latitude, longitude, altitudeKm, year })`; `p(rc + altitudeKm)`; `z(rc * (1 - E2) + altitudeKm)`; `k1(2 * n - 1)`; `Hd(X * Xd + Y * Yd)`; `Fd(X * Xd + Y * Yd + Z * Zd)`; `Dd(X * Yd - Y * Xd)`; `Id(Hh * Zd - Z * Hd)`; `normalise(d)`; `fail(reason, d = null)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Wmm2025 Test - File: gridatlas/tools/satnav/orientation/wmm2025.test.mjs (JavaScript, 157 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/orientation/wmm2025.test.mjs#L1-L157 - Page: https://code.globalgrid2050.com/explore-code/s/0681.html#f2 - Synopsis: A test in the orientation folder of GridAtlas that checks Wmm2025 and Orient17a Reference Wmm, using SHA-256. - What it achieves (name): Defines `here` and `wrap`. It reads `./wmm2025-fixtures/WMM2025_TEST_VALUES.txt`. - What it does: It tests its inputs. Defines here, wrap. Uses libraries node:test, node:assert/strict, node:crypto, node:fs, node:url. Side effects: reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: browser IndexedDB. - Signatures: `here(p)`; `wrap(d)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [browser IndexedDB]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Bristol Browser - File: gridatlas/tools/satnav/pedestrian-pilot/bristol-browser.py (Python, 104 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/pedestrian-pilot/bristol-browser.py#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/0681.html#f3 - Synopsis: A Python command-line tool in the pedestrian pilot folder of GridAtlas that works with tap endpoint (`tap_endpoint`), covering bristol footpaths. - What it achieves (comment): It checks browser (`check_browser`) and is built from the features step (`features`). Touch acceptance against the combined V4 GridAtlas map and Bristol footpath data. - What it does: Defines features, tap_endpoint, check_browser. Uses libraries os, playwright.sync_api. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: GeoJSON file bristol-footpaths.geojson. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `features(page, count)`; `tap_endpoint(page, field, coordinates)`; `check_browser(browser, label, width, height)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file bristol-footpaths.geojson]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Bristol - File: gridatlas/tools/satnav/pedestrian-pilot/bristol.mjs (JavaScript, 165 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/pedestrian-pilot/bristol.mjs#L1-L165 - Page: https://code.globalgrid2050.com/explore-code/s/0681.html#f4 - Synopsis: A JavaScript module in the pedestrian pilot folder of GridAtlas that maps bristol footpaths. - What it achieves (name): It shows result (`showResult`) and is built from the install bristol footpaths helper (`installBristolFootpaths`) and the refresh step (`refresh`). Defines `installBristolFootpaths`, `paint`, `showResult` and 5 more. It responds to toggle events. - What it does: It maps bristol footpaths. Defines 8 functions or classes, including installBristolFootpaths, paint, showResult, refresh, load. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: GeoJSON file bristol-footpaths.geojson. - Signatures: `export installBristolFootpaths({map, container, maths, getEndpoints})`; `paint()`; `showResult(result)`; `refresh()`; `load()`; `points(code)`; `select(next)`; `hide()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file bristol-footpaths.geojson]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Mapped Footpaths - File: gridatlas/tools/satnav/pedestrian/mapped-footpaths.mjs (JavaScript, 155 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/pedestrian/mapped-footpaths.mjs#L1-L155 - Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f1 - Synopsis: A JavaScript module in the pedestrian folder of GridAtlas that reads sections (`readSections`) and creates bristol footpath router (`createBristolFootpathRouter`). It reads sections (`readSections`) and creates bristol footpath router (`createBristolFootpathRouter`). - What it achieves (comment): The Bristol extract has section IDs and shapes but no cross-path junction IDs. - What it does: It lists and searches its content. Defines 8 functions or classes, including same, valid, unavailable, readSections, consecutive. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 2 files: Bristol (gridatlas); Mapped Footpaths Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export createBristolFootpathRouter(collection, maths)`; `same(a, b)`; `valid(p)`; `unavailable(reason)`; `readSections(collection)`; `consecutive(a, b)`; `chainsFor(routes, maths)`; `locate(point, chains, maths)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Mapped Footpaths Test - File: gridatlas/tools/satnav/pedestrian/mapped-footpaths.test.mjs (JavaScript, 107 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/pedestrian/mapped-footpaths.test.mjs#L1-L107 - Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f2 - Synopsis: A test in the pedestrian folder of GridAtlas that checks Mapped Footpaths using data from the grid-distance-maths repository. - What it achieves (name): It is built from the synthetic step (`synthetic`) and the interp step (`interp`). Defines `source`, `endpoints`, `section` and 2 more. It reads `bristol-footpaths.geojson`. - What it does: It tests its inputs. Defines source, endpoints, section, synthetic, interp. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:test. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: data source: grid-distance-maths data. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `source(code)`; `endpoints(first, last)`; `section(code, coords, status = 'FP')`; `synthetic(features)`; `interp(t)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: grid-distance-maths data]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Perimeter - File: gridatlas/tools/satnav/perimeter/perimeter.mjs (JavaScript, 50 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/perimeter/perimeter.mjs#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f3 - Synopsis: A JavaScript module in the SatNav folder of GridAtlas. It is built from the fail step (`fail`), the valid step (`valid`) and the same step (`same`). - What it achieves (comment): SV05: Pure local field-perimeter adapter; no GPS, routing or access authority. blob . - What it does: It calculates its inputs. Defines 8 functions or classes, including buildPerimeter, fail, valid, same, cross. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 2 files: Perimeter Test (gridatlas); Model (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Model Test (gridatlas). - Signatures: `export buildPerimeter(vertices, maths)`; `fail(code)`; `valid(p)`; `same(a,b)`; `cross(a,b,c)`; `on(a,b,c)`; `hit(a,b,c,d)`; `closed()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Perimeter Test - File: gridatlas/tools/satnav/perimeter/perimeter.test.mjs (JavaScript, 30 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/perimeter/perimeter.test.mjs#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f4 - Synopsis: A test in the SatNav folder of GridAtlas that checks Perimeter. It runs tests (`runTests`). - What it achieves (name): Defines `runTests`, `check` and `rejects`. - What it does: It tests its inputs. Defines runTests, check, rejects. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `runTests(build)`; `check(v,m)`; `rejects(v,code)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### SatNav Place - File: gridatlas/tools/satnav/place.mjs (JavaScript, 27 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/place.mjs#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f5 - Synopsis: A JavaScript module in the tools folder of GridAtlas that parses destination (`parseDestination`) and builds destination (`buildDestination`). It parses destination (`parseDestination`) and builds destination (`buildDestination`). - What it achieves (comment): Coordinate contract: GeoJSON order [longitude, latitude], WGS84. - What it does: Defines coordinate, parseDestination, buildDestination. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Preview — Nav (satnav). - Signatures: `export parseDestination(search)`; `export buildDestination({coordinates,mode='compass',name='',asset=null})`; `coordinate(value,max)` - VEDIC: READ DESTINATION LINK (GG2050-VEDIC-000064): SatNav · Location and navigation data. url_query_string -> destination_record_or_null - VEDIC: BUILD DESTINATION LINK (GG2050-VEDIC-000065): SatNav · Location and navigation data. longitude_latitude_degrees, mode_optional, name_optional, asset_source_and_id_optional -> navigation_query_string - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Regional Benchmark - File: gridatlas/tools/satnav/regional/regional-benchmark.py (Python, 48 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/regional-benchmark.py#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f6 - Synopsis: A Python module in the SatNav folder of GridAtlas that fetches benchmark rows and benchmark summary. It is built from the dist step (`dist`). - What it achieves (comment): ORIENT-17.2: public fixture measurements, not an independent access oracle. - What it does: It fetches benchmark rows and benchmark summary. Defines dist. Uses libraries json, math, pathlib, sys, time. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: command-line arguments. Out: JSON file benchmark-rows.json; JSON file benchmark-summary.json. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `dist(a,b)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file benchmark-rows.json; JSON file benchmark-summary.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Regional Config - File: gridatlas/tools/satnav/regional/regional-config.mjs (JavaScript, 3 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/regional-config.mjs#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f7 - Synopsis: A JavaScript module in the SatNav folder of GridAtlas. - What it achieves (comment): Deployment-owned immutable configuration. Disabled until a controlled same-origin service and verified graph exist. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 3 files: Orient17 Regional Proof (gridatlas); Orient17b Proof (gridatlas); Orient17a Proof (gridatlas). - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Regional Gateway - File: gridatlas/tools/satnav/regional/regional-gateway.mjs (JavaScript, 34 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/regional-gateway.mjs#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f8 - Synopsis: A JavaScript module in the SatNav folder of GridAtlas. It is built from the send step (`send`). - What it achieves (comment): Loopback-only private upstream gateway. Deploy behind a controlled same-origin HTTPS reverse proxy. - What it does: It fetches data. Defines send. Uses libraries node:http. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `send(res,status,body)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Regional Pilot - File: gridatlas/tools/satnav/regional/regional-pilot.sh (Shell, 79 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/regional-pilot.sh#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f9 - Synopsis: A shell script in the SatNav folder of GridAtlas that uses SHA-256. - What it does: It fetches data. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file status.json; command-line arguments. Out: JSON file source-manifest.json. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file status.json; command-line arguments]; out [JSON file source-manifest.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Valhalla Provider - File: gridatlas/tools/satnav/regional/valhalla-provider.mjs (JavaScript, 41 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/valhalla-provider.mjs#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f10 - Synopsis: A JavaScript module in the regional folder of GridAtlas that decodes shape (`decodeShape`) and creates regional provider (`createRegionalProvider`). It decodes shape (`decodeShape`) and creates regional provider (`createRegionalProvider`). - What it achieves (comment): Controlled Valhalla adapter. No discovery, public demo endpoint, GPS watch or camera ownership. - What it does: It lists and searches its content. Defines point, decodeShape, delta, createRegionalProvider, metres. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Valhalla Provider Test (gridatlas). - Signatures: `export decodeShape(s)`; `export createRegionalProvider({endpoint,graphRevision,maths,fetcher=globalThis.fetch,origin=globalThis.location?.origin}={})`; `point(p)`; `delta()`; `metres(a,b)`; `maneuvers(trip.legs[0].maneuvers??[])` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Valhalla Provider Test - File: gridatlas/tools/satnav/regional/valhalla-provider.test.mjs (JavaScript, 32 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/valhalla-provider.test.mjs#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f11 - Synopsis: A test in the regional folder of GridAtlas that checks Valhalla Provider and Orient16 Recovery Safe. - What it achieves (name): Defines `encode` and `response`. - What it does: It tests its inputs. Defines encode, response. Uses libraries node:assert/strict. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `encode(points)`; `response(points=[from,target],hash=graphRevision,status=200)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### VEDIC Snapshot Provider V9214 Test - File: gridatlas/tools/satnav/regional/vedic-snapshot-provider-v9214.test.mjs (JavaScript, 21 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/vedic-snapshot-provider-v9214.test.mjs#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f12 - Synopsis: A test in the regional folder of GridAtlas that checks VEDIC Snapshot Provider and VEDIC Snapshot Routing, using SHA-256. - What it achieves (name): Defines `make`. - What it does: It tests its inputs. Defines make. Uses libraries node:assert/strict, node:fs, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `make(mode,origin,target,objective='shortest')` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### VEDIC Snapshot Provider - File: gridatlas/tools/satnav/regional/vedic-snapshot-provider.mjs (JavaScript, 50 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/vedic-snapshot-provider.mjs#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f13 - Synopsis: A JavaScript module in the regional folder of GridAtlas covering topology, using SHA-256 and uses data from the neural-link-between-agents repository. It selects node (`selectNode`) and creates snapshot provider (`createSnapshotProvider`). - What it achieves (comment): Explicit, bounded OSM pilot only. No GPS data leaves the browser. - What it does: It calculates topology. Defines inside, point, selectNode, createSnapshotProvider, fail. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file topology.json. - Downstream impact: Used directly by 2 files: VEDIC Snapshot Provider V9214 Test (gridatlas); VEDIC Snapshot Provider Test (gridatlas). - Signatures: `export selectNode(graph,at,maths)`; `export createSnapshotProvider({maths,fetcher=globalThis.fetch,subtle=globalThis.crypto?.subtle}={})`; `inside(p)`; `point(n)`; `fail(reason)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file topology.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### VEDIC Snapshot Provider Test - File: gridatlas/tools/satnav/regional/vedic-snapshot-provider.test.mjs (JavaScript, 20 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/regional/vedic-snapshot-provider.test.mjs#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f14 - Synopsis: A test in the regional folder of GridAtlas that checks VEDIC Snapshot Provider and VEDIC Snapshot Routing, using SHA-256. - What it achieves (name): Defines `make`. - What it does: It tests its inputs. Defines make. Uses libraries node:assert/strict, node:fs, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `make(mode,origin,target,objective='shortest')` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### SatNav Serve - File: gridatlas/tools/satnav/serve.mjs (JavaScript, 3 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/serve.mjs#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0682.html#f15 - Synopsis: A JavaScript module in the tools folder of GridAtlas. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Browser - File: gridatlas/tools/satnav/survey/browser.py (Python, 103 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/survey/browser.py#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/0683.html#f1 - Synopsis: A Python command-line tool in the survey folder of GridAtlas. It is built from the check step (`check`). - What it achieves (comment): Test the actual survey controls and local download using simulated device fixes. - What it does: It loads data. Defines check. Uses libraries json, os, runpy, pathlib, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `check(browser, label, width, height)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Interchange - File: gridatlas/tools/satnav/survey/interchange.mjs (JavaScript, 183 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/survey/interchange.mjs#L1-L183 - Page: https://code.globalgrid2050.com/explore-code/s/0683.html#f2 - Synopsis: A JavaScript module in the survey folder of GridAtlas that counts coordinates, normalises feature and validates point order, covering 33kV, cables, substations and battery storage (BESS), using EPSG:4326. - What it achieves (comment): It counts coordinates (`countCoordinates`), normalises feature (`normaliseFeature`) and validates point order (`validatePointOrder`). Bridge the two Ventus GeoJSON encodings without promoting measured fixes to design. Its code works with 33 kV. - What it does: It lists and searches 33kV, cables, substations and battery storage (BESS). Defines 8 functions or classes, including featuresOf, sampleProperty, countCoordinates, normaliseFeature, validatePointOrder. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: 33kV, cables, substations, battery storage (BESS). - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 33kV. - Downstream impact: Used directly by 2 files: Layout Import (gridatlas); Interchange Test (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Layout Import Test (gridatlas). - Signatures: `export readSurveyLayout(input)`; `export editableCoordinates(feature)`; `featuresOf(data)`; `sampleProperty(properties, key, legacyKey)`; `countCoordinates(feature)`; `normaliseFeature(feature)`; `validatePointOrder(features, role)`; `validateMeasuredOrder(features)`; `count(counts.get(group) ?? 0)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [33kV] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Interchange Test - File: gridatlas/tools/satnav/survey/interchange.test.mjs (JavaScript, 103 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/survey/interchange.test.mjs#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/0683.html#f3 - Synopsis: A test in the survey folder of GridAtlas that checks Interchange, using EPSG:27700. It is built from the legacy fix helper (`legacyFix`). - What it achieves (name): Defines `feature`, `collection` and `legacyFix`. - What it does: It tests its inputs. Defines feature, collection, legacyFix. Uses libraries node:assert/strict, node:test. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `feature(type, coordinates, properties = {})`; `collection(...features)`; `legacyFix(point, order, timestamp)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Model - File: gridatlas/tools/satnav/survey/model.mjs (JavaScript, 131 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/survey/model.mjs#L1-L131 - Page: https://code.globalgrid2050.com/explore-code/s/0683.html#f4 - Synopsis: A JavaScript module in the survey folder of GridAtlas that tracks feature (`trackFeature`) and creates field survey (`createFieldSurvey`). It tracks feature (`trackFeature`) and creates field survey (`createFieldSurvey`). - What it achieves (code): Its `createFieldSurvey` function gives survey session with recorded distance, track features, perimeter and role-labelled GeoJSON export from Fix-quality classifier, distance function, timestamped GPS fixes and planned WGS84 pins (VEDIC: conduct field survey). - What it does: It calculates its inputs. Defines 14 functions or classes, including feature, trackFeature, coordinate, createFieldSurvey, start. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Model Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export createFieldSurvey({ fixQuality, distanceKm })`; `feature(id, role, geometry, properties = {})`; `trackFeature(segment, index)`; `coordinate(fix)`; `start()`; `pause()`; `resume()`; `stop()`; `ingest(fix, now = Date.now())`; `close(pins)`; `reopen()`; `measuredFeatures()`; `mapData()`; `exportData(pins)` - VEDIC: CONDUCT FIELD SURVEY (GG2050-VEDIC-000099): SatNav · Location and navigation data. Fix-quality classifier, distance function, timestamped GPS fixes and planned WGS84 pins -> Survey session with recorded distance, track features, perimeter and role-labelled GeoJSON export. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Model Test - File: gridatlas/tools/satnav/survey/model.test.mjs (JavaScript, 87 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/survey/model.test.mjs#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/0683.html#f5 - Synopsis: A test in the survey folder of GridAtlas that checks Model. - What it achieves (name): Defines `create`, `fix` and `get`. - What it does: It tests its inputs. Defines create, fix, get. Uses libraries node:assert/strict, node:test. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `create()`; `fix(longitude, timestampMs, accuracyM = 4)`; `get(data, role)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Recorder - File: gridatlas/tools/satnav/track/recorder.mjs (JavaScript, 26 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/track/recorder.mjs#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/0683.html#f6 - Synopsis: A JavaScript module in the track folder of GridAtlas. It creates track recorder (`createTrackRecorder`) and is built from the snapshot step (`snapshot`) and the start step (`start`). - What it achieves (comment): Session-only measured GPS recorder; inject pinned compass.fixQuality. - What it does: It calculates its inputs. Defines 7 functions or classes, including createTrackRecorder, snapshot, start, pause, resume. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 2 files: Model (gridatlas); Recorder Test (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Model Test (gridatlas). - Signatures: `export createTrackRecorder({fixQuality,maxGapMs=10000,maxPoints=20000}={})`; `snapshot()`; `start()`; `pause()`; `resume()`; `stop()`; `ingest(fix,now=Date.now())` - VEDIC: RECORD GPS TRACK (GG2050-VEDIC-000096): SatNav · Location and navigation data. Fix-quality classifier, timestamped WGS84 fixes with accuracy in metres, optional gap and point limits -> Session recorder with lifecycle controls, accepted or rejected fixes and segmented snapshots. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Recorder Test - File: gridatlas/tools/satnav/track/recorder.test.mjs (JavaScript, 21 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/track/recorder.test.mjs#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0683.html#f7 - Synopsis: A test in the track folder of GridAtlas that checks Recorder. It runs tests (`runTests`) and is built from the fix quality helper (`fixQuality`) and the fix step (`fix`). - What it achieves (code): Its `fixQuality` function gives location fix quality from longitude latitude accuracy timestamp fix and optional reference time ms (VEDIC: check location fix). - What it does: It tests its inputs. Defines runTests, fixQuality, fix. Uses libraries node:assert/strict. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `runTests(createTrackRecorder,assert)`; `fixQuality(f,n)`; `fix(t,accuracyM=5,longitude=-0.3)` - VEDIC: CHECK LOCATION FIX (GG2050-VEDIC-000062): SatNav · Location and navigation data. longitude_latitude_accuracy_timestamp_fix, reference_time_ms_optional -> location_fix_quality - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### SatNav Unified Agent1 Browser - File: gridatlas/tools/satnav/unified-agent1-browser.py (Python, 109 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/unified-agent1-browser.py#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/0684.html#f1 - Synopsis: A Python command-line tool in the tools folder of GridAtlas covering postcodes and uses data from postcodes.io. It is built from the check step (`check`). - What it achieves (comment): Real unified composition: native search, independent panel and GPS state. Its code works with 11 kV. - What it does: It draws postcodes. Defines check. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: postcodes, 11kV. - Inputs & outputs: In: data source: postcodes.io. Voltage levels named: 11kV. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `check(browser, name, width, height)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: postcodes.io]; out []; crs []; voltages [11kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### SatNav Unified Gps Movement Browser - File: gridatlas/tools/satnav/unified-gps-movement-browser.py (Python, 90 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/unified-gps-movement-browser.py#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/0684.html#f2 - Synopsis: A Python command-line tool in the tools folder of GridAtlas. It is built from the check step (`check`). - What it achieves (comment): Exact-composition GPS movement regression; only the GPS sensor is simulated. - What it does: Defines check. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gps'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `check(browser, engine, width, height)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav V9202 Neon Dock Browser - File: gridatlas/tools/satnav/v9202-neon-dock-browser.py (Python, 45 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/v9202-neon-dock-browser.py#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0684.html#f3 - Synopsis: A Python command-line tool in the tools folder of GridAtlas. - What it achieves (name): Defines `check`. - What it does: Defines check. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `check(browser,name,width,height)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### SatNav Verify Unified Release - File: gridatlas/tools/satnav/verify-unified-release.mjs (JavaScript, 106 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/verify-unified-release.mjs#L1-L106 - Page: https://code.globalgrid2050.com/explore-code/s/0684.html#f4 - Synopsis: A JavaScript module in the tools folder of GridAtlas that verifies manifest (`verifyManifest`), using SHA-256. - What it achieves (comment): It verifies manifest (`verifyManifest`) and is built from the need step (`need`) and the check step (`check`). G201-07: additive independent release verification; no writes or network. - What it does: It loads data. Defines 8 functions or classes, including verifyManifest, need, check, digest, git. Uses libraries node:crypto, node:fs, node:path, node:url, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file current.json; command-line arguments. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `verifyManifest(m, read, expected)`; `need(ok,msg)`; `check(entry,kind)`; `digest(b)`; `git(...args)`; `blob(rev,path)`; `same(a,b,label)`; `local(base,path)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Council Router - File: gridatlas/tools/satnav/walk/council/council-router.mjs (JavaScript, 82 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/council/council-router.mjs#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/0684.html#f5 - Synopsis: A JavaScript module in the walk folder of GridAtlas that fetches bristol footpaths and mickleham footpaths, using SHA-256. - What it achieves (comment): It reads mickleham sections (`readMicklehamSections`), creates pedestrian router (`createPedestrianRouter`) and loads pedestrian router (`loadPedestrianRouter`). Local, fixed council extracts. No endpoint or GPS fix is sent to a provider. - What it does: It fetches bristol footpaths and mickleham footpaths. Defines readMicklehamSections, createPedestrianRouter, loadPedestrianRouter. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Plan Test (gridatlas). - Signatures: `export createPedestrianRouter({ bristol, mickleham }, maths)`; `export loadPedestrianRouter(maths)`; `readMicklehamSections(pack)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Mapped Footpaths - File: gridatlas/tools/satnav/walk/council/mapped-footpaths.mjs (JavaScript, 161 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/council/mapped-footpaths.mjs#L1-L161 - Page: https://code.globalgrid2050.com/explore-code/s/0684.html#f6 - Synopsis: A JavaScript module in the council folder of GridAtlas that reads sections (`readSections`) and creates bristol footpath router (`createBristolFootpathRouter`) and mapped footpath router (`createMappedFootpathRouter`). - What it achieves (comment): It reads sections (`readSections`), creates bristol footpath router (`createBristolFootpathRouter`) and creates mapped footpath router (`createMappedFootpathRouter`). The Bristol extract has section IDs and shapes but no cross-path junction IDs. - What it does: It lists and searches its content. Defines 9 functions or classes, including same, valid, unavailable, readSections, consecutive. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Council Router (gridatlas). - Signatures: `export createBristolFootpathRouter(collection, maths)`; `export createMappedFootpathRouter(sections, maths, source)`; `same(a, b)`; `valid(p)`; `unavailable(reason)`; `readSections(collection)`; `consecutive(a, b)`; `chainsFor(routes, maths)`; `locate(point, chains, maths)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Public Map Browser - File: gridatlas/tools/satnav/walk/council/public-map-browser.py (Python, 71 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/council/public-map-browser.py#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/0684.html#f7 - Synopsis: A Python command-line tool in the council folder of GridAtlas covering bristol footpaths. It is built from the check step (`check`). - What it achieves (comment): Check the normal phone map and its automatic Bristol routing in both engines. - What it does: Defines check. Uses libraries functools, json, os, threading, http.server. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `check(browser, url, width, height)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Direct Convergence 2km - File: gridatlas/tools/satnav/walk/direct-convergence-2km.mjs (JavaScript, 53 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/direct-convergence-2km.mjs#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/0685.html#f1 - Synopsis: A JavaScript module in the walk folder of GridAtlas that creates direct walk (`createDirectWalk`) and sets targets (`setTargets`). It creates direct walk (`createDirectWalk`) and sets targets (`setTargets`). - What it achieves (code): Its `createDirectWalk` function gives direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available from Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy (VEDIC: detect destination arrival). - What it does: It calculates its inputs. Defines 6 functions or classes, including samePin, walkTargets, createDirectWalk, setTargets, restart. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Convergence 2km Test (gridatlas). Reached from 3 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); CI PR Gate (gridatlas); Map Promotion Rehearsal (gridatlas). - Signatures: `export walkTargets(pins, from, loop)`; `export createDirectWalk(maths, compass)`; `samePin(a, b)`; `setTargets(next)`; `restart()`; `locate(fix, now = Date.now())` - VEDIC: DETECT DESTINATION ARRIVAL (GG2050-VEDIC-000102): SatNav · Location and navigation data. Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy -> Direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 1 ### Direct Convergence Unlimited - File: gridatlas/tools/satnav/walk/direct-convergence-unlimited.mjs (JavaScript, 45 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/direct-convergence-unlimited.mjs#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0685.html#f2 - Synopsis: A JavaScript module in the walk folder of GridAtlas that creates direct walk (`createDirectWalk`) and sets targets (`setTargets`). It creates direct walk (`createDirectWalk`) and sets targets (`setTargets`). - What it achieves (code): Its `createDirectWalk` function gives direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available from Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy (VEDIC: detect destination arrival). - What it does: It calculates its inputs. Defines 6 functions or classes, including samePin, walkTargets, createDirectWalk, setTargets, restart. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Distance Dock Proof (gridatlas). - Signatures: `export walkTargets(pins, from, loop)`; `export createDirectWalk(maths, compass)`; `samePin(a, b)`; `setTargets(next)`; `restart()`; `locate(fix, now = Date.now())` - VEDIC: DETECT DESTINATION ARRIVAL (GG2050-VEDIC-000102): SatNav · Location and navigation data. Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy -> Direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/walk/direct.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Direct - File: gridatlas/tools/satnav/walk/direct.mjs (JavaScript, 43 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/direct.mjs#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/0685.html#f3 - Synopsis: A JavaScript module in the walk folder of GridAtlas that sets targets (`setTargets`). It creates direct walk (`createDirectWalk`) and sets targets (`setTargets`). - What it achieves (code): Its `createDirectWalk` function gives direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available from Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy (VEDIC: detect destination arrival). - What it does: It calculates its inputs. Defines 6 functions or classes, including samePin, walkTargets, createDirectWalk, setTargets, restart. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 2 files: Direct Test (gridatlas); Handoff (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export walkTargets(pins, from, loop)`; `export createDirectWalk(maths, compass)`; `samePin(a, b)`; `setTargets(next)`; `restart()`; `locate(fix, now = Date.now())` - VEDIC: DETECT DESTINATION ARRIVAL (GG2050-VEDIC-000102): SatNav · Location and navigation data. Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy -> Direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Direct Test - File: gridatlas/tools/satnav/walk/direct.test.mjs (JavaScript, 52 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/direct.test.mjs#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/0685.html#f4 - Synopsis: A test in the walk folder of GridAtlas that checks Direct. - What it achieves (name): Defines `north` and `fix`. - What it does: It tests its inputs. Defines north, fix. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `north(metres)`; `fix(coordinate, timestampMs, accuracyM = 4)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Browser - File: gridatlas/tools/satnav/walk/gate/browser.py (Python, 206 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/browser.py#L1-L206 - Page: https://code.globalgrid2050.com/explore-code/s/0685.html#f5 - Synopsis: A Python command-line tool in the gate folder of GridAtlas that checks baseline (`check_baseline`), covering road. - What it achieves (comment): It is built from the quiet handler class (`QuietHandler`), the log message helper (`log_message`) and the point step (`point`). Gate acceptance through the isolated GridAtlas phone map with synthetic GPS. - What it does: Defines 7 functions or classes, including QuietHandler, log_message, point, emit, network. Uses libraries functools, math, os, threading, http.server. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file road.json; JSON file style.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `class QuietHandler`; `log_message(self, *_)`; `point(east, north)`; `emit(page, east, north, accuracy=4)`; `network(route, host, broken_road)`; `check_baseline(browser, engine, base)`; `check(browser, engine, width, height, url, broken_road=False)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file road.json; JSON file style.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Controls - File: gridatlas/tools/satnav/walk/gate/controls.mjs (JavaScript, 142 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/controls.mjs#L1-L142 - Page: https://code.globalgrid2050.com/explore-code/s/0685.html#f6 - Synopsis: A JavaScript module in the gate folder of GridAtlas that maps road. It attaches map (`attachMap`) and loads road (`loadRoad`). - What it achieves (name): Defines `metres`, `mountGateControls`, `selected` and 7 more. - What it does: It maps road. Defines 10 functions or classes, including metres, mountGateControls, selected, framePlan, draw. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file road.json. - Signatures: `export mountGateControls({api, compass, message, start, mode, render})`; `metres(value)`; `selected()`; `framePlan()`; `draw()`; `attachMap()`; `loadRoad(epoch)`; `select()`; `matchesPlan()`; `describe(active, stopped)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file road.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Handoff - File: gridatlas/tools/satnav/walk/gate/handoff.mjs (JavaScript, 122 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/handoff.mjs#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/0685.html#f7 - Synopsis: A JavaScript module in the gate folder of GridAtlas that sets road (`setRoad`). It creates gate handoff (`createGateHandoff`) and sets road (`setRoad`). - What it achieves (code): Its `createGateHandoff` function gives road or field leg, crossing or manual entry state, quality and available guidance metrics from Agreed gate plan with geometry and width, saved road route (VEDIC: detect gate crossing). - What it does: It calculates its inputs. Defines 9 functions or classes, including validPoint, createGateHandoff, metres, position, setRoad. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 5 files: Controls (gridatlas); Handoff Test (gridatlas); Controls (gridatlas); Plan (gridatlas); and 1 more. - Signatures: `export createGateHandoff(plan, maths, compass)`; `validPoint(p)`; `metres(a, b)`; `position(at)`; `angle(maths.initialBearingDeg(...gate.centre, ...at) - axis)`; `setRoad(saved)`; `enterField(reason)`; `restart()`; `observe(at, fix)`; `locate(fix, now = Date.now())` - VEDIC: DETECT GATE CROSSING (GG2050-VEDIC-000098): SatNav · Location and navigation data. Agreed gate plan with geometry and width, saved road route, maths and compass modules, timestamped GPS fixes -> Road or field leg, crossing or manual entry state, quality and available guidance metrics. - domain_stage: agent_infra · commercial_user: landowner_planner, ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 5; mentioned by 0 ### Handoff Test - File: gridatlas/tools/satnav/walk/gate/handoff.test.mjs (JavaScript, 148 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/handoff.test.mjs#L1-L148 - Page: https://code.globalgrid2050.com/explore-code/s/0686.html#f1 - Synopsis: A test in the gate folder of GridAtlas that checks Handoff and Plan. It is built from the step step (`step`). - What it achieves (name): Defines `point`, `fix`, `session` and 1 more. It reads `./pilot/road.json`. - What it does: It tests its inputs. Defines point, fix, session, step. Uses libraries node:assert/strict, node:fs, node:test. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file road.json. - Signatures: `point(east, north)`; `fix(east, north, accuracyM, timestampMs)`; `session(plan = pilot, saved = road)`; `step(east, north, accuracy = 4)` - domain_stage: agent_infra · commercial_user: landowner_planner, ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file road.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Browser - File: gridatlas/tools/satnav/walk/gate/jobs/browser.py (Python, 187 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/jobs/browser.py#L1-L187 - Page: https://code.globalgrid2050.com/explore-code/s/0686.html#f2 - Synopsis: A Python command-line tool in the jobs folder of GridAtlas that draws south meadow fictional and local entrance. - What it achieves (comment): It is built from the load step (`load`), the position step (`position`) and the check step (`check`). Load two jobs through the phone UI and replay a visit to the second entrance. - What it does: It draws south meadow fictional and local entrance. Defines load, position, check, emit. Uses libraries functools, json, math, os, threading. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file south-meadow-fictional.json; JSON file local-entrance.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `load(page, doc)`; `position(x, y)`; `check(browser, width, height, url)`; `emit(x, y, accuracy=3, age=0)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file south-meadow-fictional.json; JSON file local-entrance.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Controls - File: gridatlas/tools/satnav/walk/gate/jobs/controls.mjs (JavaScript, 221 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/jobs/controls.mjs#L1-L221 - Page: https://code.globalgrid2050.com/explore-code/s/0686.html#f3 - Synopsis: A JavaScript module in the jobs folder of GridAtlas that maps road. It attaches map (`attachMap`) and loads road (`loadRoad`). - What it achieves (name): Defines `metres`, `mountGateControls`, `isJob` and 11 more. It responds to visibilitychange and click events. - What it does: It maps road. Defines 14 functions or classes, including metres, mountGateControls, isJob, selected, framePlan. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file road.json. - Signatures: `export mountGateControls({api, compass, message, start, mode, render, isActive})`; `metres(value)`; `isJob()`; `selected()`; `framePlan()`; `draw()`; `attachMap()`; `loadRoad(epoch)`; `begin(action = 'start-walk')`; `select()`; `useJob(job)`; `matchesPlan()`; `describe(active, stopped)`; `end(reason)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file road.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 0; mentioned by 0 ### Observations - File: gridatlas/tools/satnav/walk/gate/jobs/observations.mjs (JavaScript, 64 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/jobs/observations.mjs#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/0686.html#f4 - Synopsis: A JavaScript module in the jobs folder of GridAtlas that creates gate log (`createGateLog`). - What it achieves (comment): It creates gate log (`createGateLog`) and is built from the append step (`append`) and the start step (`start`). Observations are held only for this page and included in an explicit survey export. - What it does: It calculates its inputs. Defines 6 functions or classes, including createGateLog, append, start, observe, stop. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Controls (gridatlas). - Signatures: `export createGateLog(generation, userAgent, platform)`; `append(event, data = {})`; `start(plan, road, action)`; `observe(fix, result, assetName)`; `stop(reason)`; `snapshot(device, safariVersion)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Plan - File: gridatlas/tools/satnav/walk/gate/jobs/plan.mjs (JavaScript, 68 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/jobs/plan.mjs#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/0686.html#f5 - Synopsis: A JavaScript module in the jobs folder of GridAtlas that prepares gate job (`prepareGateJob`). It prepares gate job (`prepareGateJob`). - What it achieves (name): Defines `label`, `point` and `prepareGateJob`. - What it does: It calculates its inputs. Defines label, point, prepareGateJob. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Plan Test (gridatlas). - Signatures: `export prepareGateJob(doc, maths, compass)`; `label(value, field)`; `point(value, field)`; `angle(roadsideBearing - bearing)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Plan Test - File: gridatlas/tools/satnav/walk/gate/jobs/plan.test.mjs (JavaScript, 91 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/jobs/plan.test.mjs#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f1 - Synopsis: A test in the jobs folder of GridAtlas that checks Council Router and Plan. It is built from the coords step (`coords`). - What it achieves (name): Defines `read`, `open`, `step` and 1 more. It reads `./south-meadow-fictional.json`. - What it does: It tests its inputs. Defines read, open, step, coords. Uses libraries node:assert/strict, node:fs, node:test. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file south-meadow-fictional.json; JSON file road.json; GeoJSON file bristol-footpaths.geojson. - Signatures: `read(path)`; `open(doc = job)`; `step(coordinates, accuracyM = 3)`; `coords(code)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file south-meadow-fictional.json; JSON file road.json; GeoJSON file bristol-footpaths.geojson]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Plan - File: gridatlas/tools/satnav/walk/gate/pilot/plan.mjs (JavaScript, 46 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/pilot/plan.mjs#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f2 - Synopsis: A JavaScript module in the pilot folder of GridAtlas. - What it achieves (comment): Illustrative coordinates and opening, designed for replay. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 4 files: Controls (gridatlas); Handoff Test (gridatlas); Controls (gridatlas); Replay (gridatlas). - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Replay - File: gridatlas/tools/satnav/walk/gate/pilot/replay.mjs (JavaScript, 23 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/gate/pilot/replay.mjs#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f3 - Synopsis: A JavaScript module in the pilot folder of GridAtlas. It replays gate checks (`replayGateChecks`). - What it achieves (comment): Off-site phone replay. Its fixes stay inside separate model instances. - What it does: It calculates its inputs. Defines replayGateChecks. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 2 files: Controls (gridatlas); Controls (gridatlas). - Signatures: `export replayGateChecks(saved, maths, compass)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Layers Browser - File: gridatlas/tools/satnav/walk/layers-browser.py (Python, 79 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/layers-browser.py#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f4 - Synopsis: A Python command-line tool in the walk folder of GridAtlas. It is built from the check step (`check`). - What it achieves (comment): Exercise the actual field-map Layers control while direct guidance is active. Its code works with 400 kV. - What it does: Defines check. Uses libraries os, pathlib, runpy, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: 400kV. - Inputs & outputs: Voltage levels named: 400kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `check(browser, engine, width, height)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Local Distance Browser - File: gridatlas/tools/satnav/walk/local-distance-browser.py (Python, 102 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/local-distance-browser.py#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f5 - Synopsis: A Python command-line tool in the walk folder of GridAtlas. It is built from the check step (`check`). - What it achieves (comment): Exercise the switch from the fictional entrance to a personal walk with synthetic GPS. - What it does: Defines check. Uses libraries functools, os, re, threading, http.server. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `check(browser, size, url)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Orient17a Continuity Direct - File: gridatlas/tools/satnav/walk/orient17a-continuity-direct.mjs (JavaScript, 53 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/orient17a-continuity-direct.mjs#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f6 - Synopsis: A JavaScript module in the walk folder of GridAtlas that creates direct walk (`createDirectWalk`) and sets targets (`setTargets`). It creates direct walk (`createDirectWalk`) and sets targets (`setTargets`). - What it achieves (code): Its `createDirectWalk` function gives direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available from Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy (VEDIC: detect destination arrival). - What it does: It calculates its inputs. Defines 7 functions or classes, including samePin, walkTargets, createDirectWalk, setTargets, restart. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Orient17a Continuity Test (gridatlas). - Signatures: `export walkTargets(pins, from, loop)`; `export createDirectWalk(maths, compass)`; `samePin(a, b)`; `setTargets(next)`; `restart()`; `suspend(now = Date.now())`; `locate(fix, now = Date.now())` - VEDIC: DETECT DESTINATION ARRIVAL (GG2050-VEDIC-000102): SatNav · Location and navigation data. Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy -> Direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Orient17a Continuity Test - File: gridatlas/tools/satnav/walk/orient17a-continuity.test.mjs (JavaScript, 34 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/orient17a-continuity.test.mjs#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f7 - Synopsis: A test in the walk folder of GridAtlas that checks Orient17a Continuity Direct. - What it achieves (name): Defines `observe`. - What it does: It tests its inputs. Defines observe, eq. Uses libraries node:assert/strict. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `observe(t,p=0,a=3,now=t)`; `eq(actual,expected,label)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Orient17a Direct - File: gridatlas/tools/satnav/walk/orient17a-direct.mjs (JavaScript, 48 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/orient17a-direct.mjs#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f8 - Synopsis: A JavaScript module in the walk folder of GridAtlas that creates direct walk (`createDirectWalk`) and sets targets (`setTargets`). It creates direct walk (`createDirectWalk`) and sets targets (`setTargets`). - What it achieves (code): Its `createDirectWalk` function gives direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available from Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy (VEDIC: detect destination arrival). - What it does: It calculates its inputs. Defines 6 functions or classes, including samePin, walkTargets, createDirectWalk, setTargets, restart. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `export walkTargets(pins, from, loop)`; `export createDirectWalk(maths, compass)`; `samePin(a, b)`; `setTargets(next)`; `restart()`; `locate(fix, now = Date.now())` - VEDIC: DETECT DESTINATION ARRIVAL (GG2050-VEDIC-000102): SatNav · Location and navigation data. Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy -> Direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/walk/direct.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Orient17a V9212 Direct - File: gridatlas/tools/satnav/walk/orient17a-v9212-direct.mjs (JavaScript, 53 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/orient17a-v9212-direct.mjs#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f9 - Synopsis: A JavaScript module in the walk folder of GridAtlas that creates direct walk (`createDirectWalk`) and sets targets (`setTargets`). It creates direct walk (`createDirectWalk`) and sets targets (`setTargets`). - What it achieves (code): Its `createDirectWalk` function gives direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available from Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy (VEDIC: detect destination arrival). - What it does: It calculates its inputs. Defines 7 functions or classes, including samePin, walkTargets, createDirectWalk, setTargets, restart. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `export walkTargets(pins, from, loop)`; `export createDirectWalk(maths, compass)`; `samePin(a, b)`; `setTargets(next,now=Date.now())`; `restart(now=Date.now())`; `suspend(now = Date.now())`; `locate(fix, now = Date.now())` - VEDIC: DETECT DESTINATION ARRIVAL (GG2050-VEDIC-000102): SatNav · Location and navigation data. Maths and compass modules, ordered targets and timestamped GPS fixes with accuracy -> Direct guidance session reporting choose, waiting, guiding or complete, with distance and bearing where available. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/satnav/walk/orient17a-continuity-direct.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Saved Plan Browser - File: gridatlas/tools/satnav/walk/saved-plan-browser.py (Python, 144 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/walk/saved-plan-browser.py#L1-L144 - Page: https://code.globalgrid2050.com/explore-code/s/0687.html#f10 - Synopsis: A Python command-line tool in the walk folder of GridAtlas that opens map (`open_map`), covering walk. - What it achieves (comment): It checks browser (`check_browser`) and is built from the disclosure step (`disclosure`) and the direct step (`direct`). Start the same walk from map taps, the device's saved plan and a native file import. - What it does: It lists and searches walk. Defines open_map, disclosure, direct, feature, check_browser. Uses libraries json, math, os, re, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `open_map(page)`; `disclosure(page, name)`; `direct(page, metres, bearing)`; `feature(kind, coordinates, role, **properties)`; `check_browser(engine, name, width, height)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Waypoint Browser - File: gridatlas/tools/satnav/waypoint-browser.py (Python, 256 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/waypoint-browser.py#L1-L256 - Page: https://code.globalgrid2050.com/explore-code/s/0688.html#f1 - Synopsis: A Python command-line tool in the tools folder of GridAtlas that emits fix (`emit_fix`), checks bearing (`check_bearing`) and map gestures (`check_map_gestures`) and calculates planar distances and angles. - What it achieves (comment): It is built from the pins step (`pins`), the clear map pixel helper (`clear_map_pixel`) and the place step (`place`). Touch and GPS regression for the composed GridAtlas waypoint map. - What it does: It lists and searches its content. Defines 8 functions or classes, including pins, clear_map_pixel, place, emit_fix, measured. Uses libraries math, os, re, pathlib, runpy. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `pins(page, count=None, previous=None)`; `clear_map_pixel(page, cell, used=())`; `place(page, control, cell, used=None)`; `emit_fix(page, at, accuracy=5, age=0)`; `measured(page, at)`; `check_bearing(page, planned, at)`; `check_map_gestures(page, expected)`; `check_browser(browser, name, width, height)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### State Test - File: gridatlas/tools/satnav/waypoints/state.test.mjs (JavaScript, 21 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/satnav/waypoints/state.test.mjs#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0688.html#f2 - Synopsis: A test in the waypoints folder of GridAtlas. It runs tests (`runTests`). - What it achieves (name): Defines `runTests`, `reject` and `test`. - What it does: It tests its inputs. Defines runTests, eq, reject, test. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `runTests(createWaypointState)`; `eq(a,b)`; `reject(fn)`; `test(name,fn)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Advance - File: gridatlas/tools/scope/advance.mjs (JavaScript, 432 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/scope/advance.mjs#L1-L432 - Page: https://code.globalgrid2050.com/explore-code/s/0688.html#f3 - Synopsis: A JavaScript module in the scope folder of GridAtlas that fetches grid 400kV and CVAA ratchets, using SHA-256 from postcodes.io. - What it achieves (name): It removes path (`removePath`), runs node check (`runNodeCheck`) and replaces exactly once (`replaceExactlyOnce`). Defines `moveDirectory`, `removePath`, `runNodeCheck` and 15 more. It reads `./current.json`. - What it does: It fetches grid 400kV and CVAA ratchets. Defines 18 functions or classes, including moveDirectory, removePath, runNodeCheck, finishScope, finishFinal. Uses libraries node:fs, node:path, node:child_process. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: postcodes.io; JSON file current-v5.json; JSON file live-set.json; JSON file current.json; GeoJSON file grid_400kv.geojson; JSON file modules.json; JSON file cvaa-ratchets.json; DuckDB queries. - Downstream impact: Used directly by 1 file: GridAtlas Scope Loop Workflow (gridatlas). - Signatures: `moveDirectory(from, to)`; `removePath(target)`; `runNodeCheck(filePath)`; `finishScope(document, nextScope, slug, title, body)`; `finishFinal(document)`; `temporaryAtlasRouter()`; `rootRouter()`; `rewriteLivePointers(routerGeneration)`; `scope1(document)`; `scope2(document)`; `scope3(document)`; `replaceExactlyOnce(source, search, replacement, label)`; `buildLocationSearchCartridge(source)`; `scope4(document)`; `updateCompositionPointers(current, manifestPath)`; `scope5(document)`; `retireScopeLoopWorkflow()`; `scope6(document)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: postcodes.io; JSON file current-v5.json; JSON file live-set.json; JSON file current.json; GeoJSON file grid_400kv.geojson; JSON file modules.json; JSON file cvaa-ratchets.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 4 estate files (script-call 3, estate-url 1); used by 1; mentioned by 0 ### Bootstrap - File: gridatlas/tools/scope/bootstrap.mjs (JavaScript, 75 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/scope/bootstrap.mjs#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0689.html#f2 - Synopsis: A JavaScript module in the scope folder of GridAtlas that reads scope bootstrap, using SHA-256. It writes output (`writeOutput`). - What it achieves (name): Defines `writeOutput` and `sha256`. - What it does: It loads scope bootstrap. Defines writeOutput, sha256. Uses libraries node:fs, node:path, node:zlib, node:crypto. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file scope-bootstrap.json. - Downstream impact: Used directly by 1 file: GridAtlas Scope Loop Workflow (gridatlas). - Signatures: `writeOutput(values)`; `sha256(bytes)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file scope-bootstrap.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GridAtlas — Scope - File: gridatlas/tools/scope/lib.mjs (JavaScript, 308 lines) · role storage · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/scope/lib.mjs#L1-L308 - Page: https://code.globalgrid2050.com/explore-code/s/0689.html#f3 - Synopsis: A JavaScript module in the tools folder that normalises newlines (`normaliseNewlines`) and parses scalar (`parseScalar`) and front matter (`parseFrontMatterText`), using SHA-256. - What it achieves (name): It normalises newlines (`normaliseNewlines`), parses scalar (`parseScalar`) and serialises scalar (`serialiseScalar`). Defines `registeredLoader`, `slotsUsed`, `invariant` and 25 more. - What it does: It loads data. Defines 28 functions or classes, including registeredLoader, slotsUsed, invariant, normaliseNewlines, parseScalar. Uses libraries node:fs, node:path, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 11 files: CI PR Gate (gridatlas); Lightning Cartridge (gridatlas); Loader Equivalence Proof (gridatlas); Offtakers Cartridge (gridatlas); and 7 more. Reached from 28 other entry points, including GridAtlas Cartridge Proof Workflow (gridatlas); GridAtlas Next Version Builders Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export registeredLoader(filePath)`; `export slotsUsed(current)`; `export invariant(condition, message)`; `export normaliseNewlines(value)`; `export parseFrontMatterText(text, file = '')`; `export readFrontMatter(filePath)`; `export writeFrontMatter(filePath, patch)`; `export writeText(filePath, content)`; `export writeJson(filePath, value)`; `export readJson(filePath)`; `export listScopeDocuments()`; `export masterDocument(documents = listScopeDocuments())`; `export numberedScopes(documents = listScopeDocuments())`; `export activeScope(documents = listScopeDocuments())`; `export sha256Buffer(bytes)`; `export sha256File(filePath)`; `export sha256PublishedFile(filePath)`; `export londonGeneration(date = new Date())`; `export nextGeneration(previous)`; `export scopeFileName(generation, scope, slug)`; `export scopeMarkdown({ generation, scope, parent, title, body })`; `export githubOutput(values)`; `export relativePosix(filePath)`; `parseScalar(raw)`; `serialiseScalar(value)` (and 3 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 11; mentioned by 0 ### Loop - File: gridatlas/tools/scope/loop.mjs (JavaScript, 307 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/scope/loop.mjs#L1-L307 - Page: https://code.globalgrid2050.com/explore-code/s/0689.html#f4 - Synopsis: A JavaScript module in the scope folder of GridAtlas that reads grid 400kV and substations, using SHA-256. - What it achieves (name): It verifies release checksums (`verifyReleaseChecksums`), validates scope ledger (`validateScopeLedger`) and validates workflow budget (`validateWorkflowBudget`). Defines `existingDirectories`, `existingFiles`, `verifyReleaseChecksums` and 6 more. Its code works with 400 kV. - What it does: It loads grid 400kV and substations. Defines 9 functions or classes, including existingDirectories, existingFiles, verifyReleaseChecksums, validateScopeLedger, validateWorkflowBudget. Uses libraries node:fs, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 400kV. - Inputs & outputs: In: GeoJSON file grid_400kv.geojson; JSON file current.json; JSON file current-v5.json; JSON file live-set.json; command-line arguments. Voltage levels named: 400kV. - Downstream impact: Used directly by 8 files: Local CI (gridatlas); CI PR Gate (gridatlas); GridAtlas — Release (gridatlas); Advance (gridatlas); and 4 more. Reached from 25 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); GridAtlas Verify Live Workflow (gridatlas); Acceptance (gridatlas). - Signatures: `existingDirectories(directory)`; `existingFiles(directory, pattern = null)`; `verifyReleaseChecksums(releaseDirectory)`; `validateScopeLedger()`; `validateWorkflowBudget(master)`; `validateAtlasLayout(scopeState)`; `lint({ quiet = false } = {})`; `renderState(scopeState, { toStdout = false } = {})`; `next(scopeState)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_400kv.geojson; JSON file current.json; JSON file current-v5.json; JSON file live-set.json; command-line arguments]; out []; crs []; voltages [400kV] - Edges: uses 2 estate files (import 1, estate-url 1); used by 8; mentioned by 0 ### Verify Compose - File: gridatlas/tools/scope/verify-compose.mjs (JavaScript, 111 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/scope/verify-compose.mjs#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/0690.html#f1 - Synopsis: A JavaScript module in the scope folder of GridAtlas that reads grid 400kV and postcodes, using SHA-256 from postcodes.io. It is built from the release directories helper (`releaseDirectories`). - What it achieves (name): Its name says it verifies compose. Defines `releaseDirectories`. Its code works with 400 kV. - What it does: It loads grid 400kV and postcodes. Defines releaseDirectories. Uses libraries node:fs, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, 400kV. - Inputs & outputs: In: data source: postcodes.io; JSON file current.json; GeoJSON file grid_400kv.geojson. Voltage levels named: 400kV. - Downstream impact: Used directly by 8 files: Local CI (gridatlas); CI PR Gate (gridatlas); GridAtlas — Release (gridatlas); Advance (gridatlas); and 4 more. Reached from 24 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Acceptance (gridatlas); Browser Test (gridatlas). - Signatures: `releaseDirectories(directory)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: postcodes.io; JSON file current.json; GeoJSON file grid_400kv.geojson]; out []; crs []; voltages [400kV] - Edges: uses 1 estate file (import 1); used by 8; mentioned by 0 ### Verify Live Bytes - File: gridatlas/tools/scope/verify-live-bytes.mjs (JavaScript, 195 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/scope/verify-live-bytes.mjs#L1-L195 - Page: https://code.globalgrid2050.com/explore-code/s/0690.html#f2 - Synopsis: A JavaScript module in the scope folder of GridAtlas that resolves atlas reference (`resolveAtlasReference`) and collects targets (`collectTargets`), using SHA-256. - What it achieves (comment): It resolves atlas reference (`resolveAtlasReference`), collects targets (`collectTargets`) and fetches live (`fetchLive`). Byte-for-byte check that the public GitHub Pages site serves exactly what a commit declares. - What it does: It fetches data. Defines 12 functions or classes, including argument, sha256, committedBytes, committedFiles, walk. Uses libraries node:fs, node:path, node:crypto, node:child_process, node:url. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; command-line arguments. - Downstream impact: Used directly by 2 files: Check Live (gridatlas); GridAtlas Verify Live Workflow (gridatlas). - Signatures: `argument(name, fallback)`; `sha256(bytes)`; `committedBytes(relative)`; `committedFiles(prefix)`; `isCommittedFile(relative)`; `resolveAtlasReference(value)`; `collectTargets()`; `add(relative, why)`; `walk(value, where)`; `fetchLive(relative, attempt)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0 ### Verify Live - File: gridatlas/tools/scope/verify-live.mjs (JavaScript, 195 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/scope/verify-live.mjs#L1-L195 - Page: https://code.globalgrid2050.com/explore-code/s/0690.html#f3 - Synopsis: A JavaScript module in the scope folder of GridAtlas covering the Renewable Energy Planning Database (REPD) register and postcodes, and uses data from postcodes.io. - What it achieves (name): It writes report (`writeReport`) and is built from the state snapshot helper (`stateSnapshot`) and the wait for deployed current helper (`waitForDeployedCurrent`). Its name says it verifies live. Defines `invariant`, `clone`, `stateSnapshot` and 4 more. - What it does: It draws the REPD register and postcodes. Defines 7 functions or classes, including invariant, clone, stateSnapshot, waitForDeployedCurrent, record. Uses libraries node:fs, node:path, node:url, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, postcodes. - Inputs & outputs: In: data source: postcodes.io; JSON file current.json. - Signatures: `invariant(condition, message)`; `clone(value)`; `stateSnapshot()`; `waitForDeployedCurrent()`; `record(name, action)`; `run()`; `writeReport()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: postcodes.io; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Build - File: gridatlas/tools/secondary/build.mjs (JavaScript, 7 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/build.mjs#L1-L7 - Page: https://code.globalgrid2050.com/explore-code/s/0690.html#f4 - Synopsis: A JavaScript module in the secondary folder of GridAtlas. - What it does: It loads data. Uses libraries node:fs, node:vm. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 0; mentioned by 0 ### G203 Swarm 06 Viewport Lifecycle Test - File: gridatlas/tools/secondary/g203-swarm-06-viewport-lifecycle.test.mjs (JavaScript, 20 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/g203-swarm-06-viewport-lifecycle.test.mjs#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0690.html#f5 - Synopsis: A test in the secondary folder of GridAtlas that checks G203 Regional Native Viewport. It is built from the flush step (`flush`) and the check step (`check`). - What it achieves (comment): Execute the actual candidate lifecycle with controlled asynchronous query outcomes. - What it does: It tests its inputs. Defines flush, check. Uses libraries node:fs, node:assert/strict. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `flush()`; `check(name,condition)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Owner Test Proof - File: gridatlas/tools/secondary/owner-test-proof.mjs (JavaScript, 23 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/owner-test-proof.mjs#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/0690.html#f6 - Synopsis: A JavaScript module in the secondary folder of GridAtlas that tests composition and substations, using SHA-256. It is built from the sha step (`sha`) and the prove step (`prove`). - What it achieves (comment): Rebuild and verify each cut cartridge and its preview manifest. It reads `-composition.json`. - What it does: It tests composition and substations. Defines sha, prove. Uses libraries node:fs, node:assert/strict, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: JSON file -composition.json; JSON file current.json. - Downstream impact: Used directly by 7 files: Substation Intelligence Proof (gridatlas); UKPN Secondary Card Proof (gridatlas); UKPN Secondary Substations Proof (gridatlas); SatNav Start Walk Proof (gridatlas); and 3 more. Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export prove(g,id)`; `sha(b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file -composition.json; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 7; mentioned by 0 ### Regional Interface - File: gridatlas/tools/secondary/regional-interface.mjs (JavaScript, 108 lines) · role render · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/regional-interface.mjs#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/0690.html#f7 - Synopsis: A JavaScript module in the secondary folder of GridAtlas that reads composition, substations and 11kV, using SHA-256. It replaces once (`replaceOnce`), patches native engine (`patchNativeEngine`) and splits secondary adapter (`splitSecondaryAdapter`). - What it achieves (comment): Generate replacement native engine plus separate data/card modules. Its code works with 11 kV. It reads `manifests/202612010912-composition.json`. - What it does: It loads composition, substations and 11kV. Defines 11 functions or classes, including replaceOnce, patchNativeEngine, regionalEligible, handleLayerToggle, splitSecondaryAdapter. Uses libraries node:fs, node:crypto, node:vm, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 11kV. - Inputs & outputs: In: JSON file 202612010912-composition.json; command-line arguments. Voltage levels named: 11kV. - Downstream impact: Used directly by 3 files: Owner Test Proof (gridatlas); Regional Interface Test (gridatlas); Regional Preview (gridatlas). Reached from 4 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); CI PR Gate (gridatlas); Map Promotion Rehearsal (gridatlas). - Signatures: `export patchNativeEngine(s)`; `export splitSecondaryAdapter(s)`; `export assertDataBoundary(source)`; `export readPinnedEngine()`; `export buildRegional()`; `replaceOnce(s, a, b)`; `regionalEligible(layerId)`; `handleLayerToggle(layerId, isVisible)`; `visible()`; `attach()`; `read(p)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202612010912-composition.json; command-line arguments]; out []; crs []; voltages [11kV] - Edges: uses 1 estate file (url-import-meta 1); used by 3; mentioned by 0 ### Regional Interface Test - File: gridatlas/tools/secondary/regional-interface.test.mjs (JavaScript, 136 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/regional-interface.test.mjs#L1-L136 - Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f1 - Synopsis: A test in the secondary folder of GridAtlas that checks Regional Interface and UK Power Networks (UKPN) Secondary Substations. It makes element (`makeElement`), makes popup (`makePopup`) and gets card (`getCard`). - What it achieves (name): Defines `harness`, `makeElement`, `site` and 5 more. Its code works with 11 kV and 400 kV. - What it does: It tests 11kV, transformers, solar and substations. Defines 8 functions or classes, including harness, makeElement, site, makePopup, click. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV, transformers, solar, substations, 400kV. - Inputs & outputs: Voltage levels named: 400kV, 11kV. - Downstream impact: Used directly by 2 files: CI PR Gate (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). Reached from 1 other entry point, including Map Promotion Rehearsal (gridatlas). - Signatures: `harness()`; `makeElement()`; `appendChild(child)`; `replaceChildren()`; `setAttribute()`; `site(id)`; `makePopup(id)`; `click()`; `changeZoom(value)`; `getCard()`; `flatten(node)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 11kV] - Edges: uses 2 estate files (import 1, url-import-meta 1); used by 2; mentioned by 0 ### Regional Preview - File: gridatlas/tools/secondary/regional-preview.mjs (JavaScript, 45 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/regional-preview.mjs#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f2 - Synopsis: A JavaScript module in the secondary folder of GridAtlas that reads substations, using SHA-256. It is built from the sha step (`sha`) and the pin step (`pin`). - What it achieves (comment): Build a disposable, hashed browser candidate using the existing immutable v2 loader. It reads `/current.json` and writes `/current.json`. - What it does: It loads substations. Defines sha, pin. Uses libraries node:fs, node:path, node:assert/strict, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: JSON file current.json. Out: JSON file current.json. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `sha(bytes)`; `pin(entry,filename,source)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [JSON file current.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Viewport Query - File: gridatlas/tools/secondary/viewport-query.mjs (JavaScript, 30 lines) · role storage · stage ingest - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/viewport-query.mjs#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f3 - Synopsis: A JavaScript module in the secondary folder of GridAtlas that reads grid UK Power Networks (UKPN) secondary. - What it achieves (comment): It is built from the viewport bounds helper (`viewportBounds`), the outward step (`outward`) and the viewport SQL helper (`viewportSQL`). G203-05: bounded query candidate for the existing pinned map Parquet. It reads `grid_ukpn_secondary.parquet`. - What it does: It loads grid UKPN secondary. Defines viewportBounds, outward, viewportSQL, includesPoint. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: Parquet file grid_ukpn_secondary.parquet. - Downstream impact: Used directly by 1 file: Viewport Query Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export viewportBounds(west,south,east,north,padding=0.15)`; `export viewportSQL(west,south,east,north,padding=0.15)`; `export includesPoint(b,lon,lat)`; `latitudePad(north-south)`; `outward(a,z)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [Parquet file grid_ukpn_secondary.parquet]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Viewport Query Test - File: gridatlas/tools/secondary/viewport-query.test.mjs (JavaScript, 8 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/secondary/viewport-query.test.mjs#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f4 - Synopsis: A test in the secondary folder of GridAtlas that checks Viewport Query. - What it does: It tests its inputs. Uses libraries node:assert/strict. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: Parquet file grid_ukpn_secondary.parquet. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [Parquet file grid_ukpn_secondary.parquet]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Browser Test - File: gridatlas/tools/train/browser.test.mjs (JavaScript, 99 lines) · role test · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/browser.test.mjs#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f5 - Synopsis: A test in the train folder of GridAtlas covering substations and postcodes, using SHA-256. - What it achieves (comment): It runs train ui acceptance (`runTrainUiAcceptance`) and is built from the sample rendered train cursor helper (`sampleRenderedTrainCursor`) and the state step (`state`). Native new-UI acceptance helper. No route graph/provider interception or scripted selection. - What it does: It tests substations and postcodes. Defines 9 functions or classes, including sampleRenderedTrainCursor, waitForPaintedCursorProgress, runTrainUiAcceptance, state, clear. Uses libraries node:assert/strict. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, postcodes. - Downstream impact: Used directly by 2 files: Painted Observation Test (gridatlas); Browser Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export sampleRenderedTrainCursor()`; `export waitForPaintedCursorProgress({page,diagnostics,timeoutMs=15000,intervalMs=100,minimumPixels=2,now=Date.now})`; `export runTrainUiAcceptance({page,panel,snapshot,visibleTap,output,pageErrors=[],diagnostics={}})`; `rendered(m.getLayer(id)?m.queryRenderedFeatures(undefined,{layers:[id]}):[])`; `state()`; `clear()`; `find(id)`; `choose(id,position)`; `cursor()`; `visitsBeforeClose(await state())`; `ownedCounts()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Build - File: gridatlas/tools/train/gazetteer/build.mjs (JavaScript, 10 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/gazetteer/build.mjs#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f6 - Synopsis: A JavaScript module in the gazetteer folder of GridAtlas that reads generations, using SHA-256. It builds gazetteer (`buildGazetteer`). - What it achieves (comment): Successor-only public seam, derived from the exact currently composed gazetteer. - What it does: It loads generations. Defines buildGazetteer. Uses libraries node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generations.json; command-line arguments. - Downstream impact: Used directly by 2 files: Cut Grid Explorer (gridatlas); Grid Explorer Proof (gridatlas). - Signatures: `export buildGazetteer(generation,root=ROOT)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file generations.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Painted Observation Test - File: gridatlas/tools/train/painted-observation.test.mjs (JavaScript, 8 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/painted-observation.test.mjs#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f7 - Synopsis: A test in the train folder of GridAtlas that checks Browser Test. - What it achieves (name): Defines `sample` and `fake`. - What it does: It tests its inputs. Defines sample, fake. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `sample(x,fraction=.1,playing=true)`; `fake(samples)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Route Plan Test - File: gridatlas/tools/train/route-plan.test.mjs (JavaScript, 159 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/route-plan.test.mjs#L1-L159 - Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f8 - Synopsis: A test in the train folder of GridAtlas that checks Route Plan and Learning Networks. It is built from the bus network helper (`busNetwork`). - What it achieves (name): Defines `stop`, `network` and `busNetwork`. - What it does: It tests transformers and the REPD register. Defines stop, network, busNetwork. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: transformers, the REPD register. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `stop(id,kv=400)`; `network(removeTransformer=false)`; `busNetwork(nodes,edges)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 5 estate files (import 4, url-import-meta 1); used by 1; mentioned by 0 ### Itinerary - File: gridatlas/tools/train/src/itinerary.mjs (JavaScript, 54 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/src/itinerary.mjs#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f9 - Synopsis: A JavaScript module in the train folder of GridAtlas that sets law (`setLaw`) and normalises journey law (`normaliseJourneyLaw`). It copies station (`copyStation`), sets law (`setLaw`) and normalises journey law (`normaliseJourneyLaw`). - What it achieves (comment): Selected stops, including endpoints. Intermediate traversal nodes are not stored here. - What it does: It calculates its inputs. Defines 9 functions or classes, including createItinerary, copyStation, selectedStation, snapshot, setLaw. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Route Plan Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export createItinerary({mode = 'journey', stationIndex, scenarioStore = null, law: initialLaw = {}} = {})`; `export normaliseJourneyLaw(value = {})`; `copyStation(row)`; `selectedStation(stop)`; `snapshot()`; `setLaw(value)`; `position(value)`; `insert(stop,index=stops.length)`; `replace(value,stop)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Place Bridge - File: gridatlas/tools/train/src/place-bridge.mjs (JavaScript, 33 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/src/place-bridge.mjs#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0691.html#f10 - Synopsis: A JavaScript module in the train folder of GridAtlas. It is built from the invalidate step (`invalidate`). - What it achieves (comment): Adapter to the existing gazetteer result shape. - What it does: It calculates its inputs. Defines createPlaceBridge, invalidate. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `export createPlaceBridge({resolve,index,geodesy}={})`; `invalidate()`; `lookup(label,{radiusKm=10,limit}={})`; `bind(token,stationId)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Route Plan - File: gridatlas/tools/train/src/route-plan.mjs (JavaScript, 165 lines) · role render · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/src/route-plan.mjs#L1-L165 - Page: https://code.globalgrid2050.com/explore-code/s/0692.html#f1 - Synopsis: A JavaScript module in the train folder of GridAtlas that creates eligible train index (`createEligibleTrainIndex`) (units: kV), covering cables. - What it achieves (comment): It creates eligible train index (`createEligibleTrainIndex`) and is built from the train voltage allowed helper (`trainVoltageAllowed`) and the plan train buses helper (`planTrainBuses`). Ordered user itinerary; proximity never establishes electrical connectivity. - What it does: It lists and searches cables. Defines 12 functions or classes, including buildRoutePlan, trainVoltageAllowed, planTrainBuses, binding, voltages. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: cables. - Downstream impact: Used directly by 2 files: Route Plan Test (gridatlas); Train Motion Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export buildRoutePlan({stops, stationIndex = null, scenarioStore = null, planEpoch = null, synthetic = false, geodesy, allowSimulated = fal...)`; `export createEligibleTrainIndex(index, {allowedVoltages, allowOtherVoltage=false, allowTransformers}, isReviewedEdge)`; `kv(Array.isArray(trusted.kv) ? trusted.kv : [trusted.kv])`; `trainVoltageAllowed(kv, allowed,other=false)`; `planTrainBuses(stops, eligible, network, allowed, simulate,other)`; `binding(stop)`; `voltages(stop)`; `statesAt(stop)`; `order(a,b)`; `trainExactBusPath(eligible, network, from, to)`; `permitted(node)`; `same(a, b)`; `validLine(line)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Scenario Stations - File: gridatlas/tools/train/src/scenario-stations.mjs (JavaScript, 9 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/src/scenario-stations.mjs#L1-L9 - Page: https://code.globalgrid2050.com/explore-code/s/0692.html#f2 - Synopsis: A JavaScript module in the train folder of GridAtlas that creates scenario station store (`createScenarioStationStore`) (units: kV). - What it achieves (comment): It creates scenario station store (`createScenarioStationStore`) and is built from the clone step (`clone`). Session-owned drawing input. Never an official station, inventory or connection. - What it does: It calculates its inputs. Defines createScenarioStationStore, clone. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Route Plan Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export createScenarioStationStore({sessionId=globalThis.crypto?.randomUUID?.()}={})`; `clone(row)`; `record(id,value)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Station Index - File: gridatlas/tools/train/src/station-index.mjs (JavaScript, 57 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/src/station-index.mjs#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0692.html#f3 - Synopsis: A JavaScript module in the train folder of GridAtlas that works with substations. - What it achieves (comment): It normalises train stop (`normaliseTrainStop`) and is built from the train coordinate helper (`trainCoordinate`) and the copy step (`copy`). Full source inventory. Display limits never change inventory or itinerary limits. - What it does: It calculates substations. Defines 6 functions or classes, including trainCoordinate, normaliseTrainStop, buildStationIndex, copy, limitValue. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. README: "`station-index.mjs` reads the original loaded `src-subs` FeatureCollection." - Downstream impact: Used directly by 3 files: Itinerary (gridatlas); Place Bridge (gridatlas); Scenario Stations (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Route Plan Test (gridatlas). - Signatures: `export trainCoordinate(at)`; `export normaliseTrainStop(stop)`; `export buildStationIndex(features, {geodesy, datasetPin = null} = {})`; `copy(row)`; `limitValue(limit)`; `result(matches, limit, query = null)`; `search(query, {limit} = {})`; `near(at, {radiusKm, limit} = {})`; `get(stationId)`; `snapshot()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Train Motion - File: gridatlas/tools/train/src/train-motion.mjs (JavaScript, 181 lines) · role render · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/src/train-motion.mjs#L1-L181 - Page: https://code.globalgrid2050.com/explore-code/s/0692.html#f4 - Synopsis: A JavaScript module in the tools folder of GridAtlas that maps substations. It creates train ride (`createTrainRide`), paints cursor (`paintCursor`) and sets plan (`setPlan`). - What it achieves (comment): Native MapLibre learning cursor. Travel direction is never electrical flow. - What it does: It maps substations. Defines 25 functions or classes, including createTrainRide, state, notify, collection, point. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Downstream impact: Used directly by 1 file: Train Motion Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `state()`; `notify()`; `collection(features)`; `point(at, properties = {})`; `cancel()`; `schedule()`; `pause()`; `cancelRetry()`; `waitForStyle()`; `ensure()`; `add(spec)`; `position()`; `paint()`; `paintCursor()`; `tick(time)`; `setPlan(next)`; `play(options = {})`; `seekStop(index)`; `step()`; `stopData(stops)`; `clearPlan({stops=[]}={})`; `styleReload()`; `removed()`; `destroy()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Train Motion Test - File: gridatlas/tools/train/train-motion.test.mjs (JavaScript, 122 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/train-motion.test.mjs#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/0692.html#f5 - Synopsis: A test in the tools folder of GridAtlas that checks Route Plan and Train Motion. It makes plan (`makePlan`) and is built from the run step (`run`). - What it achieves (name): Defines `makePlan`, `fixture`, `access` and 1 more. - What it does: It tests its inputs. Defines makePlan, fixture, access, run. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `makePlan()`; `fixture(reducedMotion=false,extras={},busyAfterSetData=false)`; `access()`; `getSource(id)`; `addSource(id,s)`; `removeSource(id)`; `setPaintProperty(id,k,v)`; `run(time)`; `remove()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### UI - File: gridatlas/tools/train/ui.js (JavaScript, 100 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/train/ui.js#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/0692.html#f6 - Synopsis: A JavaScript file in the train folder of GridAtlas that maps substations, transformers and postcodes. It creates great grid journey (`createGreatGridJourney`), sets mode (`setMode`) and renders stops (`renderStops`). - What it achieves (comment): Shared native journey UI; all network evidence stays in the route planner. Its code works with 11 kV and 33 kV. - What it does: It maps substations, transformers and postcodes. Defines 15 functions or classes, including createGreatGridJourney, el, on, say, invalidate. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, transformers, postcodes, 33kV, 11kV. - Inputs & outputs: Out: interactive map. Voltage levels named: 33kV, 11kV. - Signatures: `createGreatGridJourney({map, registry, geodesy, parent, readFeatures,onProposedPick=()=>{},onMapView=()=>{},onRideState=()=>{},onStatus=()=>{}})`; `el(tag,text,host,attrs={})`; `on(node,type,fn)`; `say(message)`; `fullIndex()`; `invalidate()`; `setMode(mode)`; `add(row)`; `renderStops()`; `showChoices(result,binding)`; `searchStations()`; `searchPlaces()`; `law()`; `applyLawChange()`; `cancelProposedPick()`; `paintProposed()`; `clearProposedOverlay()`; `renderProposed()`; `proposedClick(event)`; `proposedRemoved()`; `drawPlan()`; `planIsCurrent()`; `loadDemo(kind)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [interactive map]; crs []; voltages [33kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Keys - File: gridatlas/tools/twin/keys.mjs (JavaScript, 237 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/twin/keys.mjs#L1-L237 - Page: https://code.globalgrid2050.com/explore-code/s/0693.html#f1 - Synopsis: A JavaScript module in the twin folder of GridAtlas that reads sources, grid substations and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the claim step (`claim`), the grab step (`grab`) and the nearest step (`nearest`). The register of keys of a generation, in the Kuiper manner (Ventusltd/kuiper-belt `README.md`, "The first law: no claim without a key": a statement with a key is a fact anyone can recompute; a statement without one is a candidate). - What it does: It loads sources, grid substations and the REPD register. Defines 6 functions or classes, including claim, n, grab, nearest, get. Uses libraries node:fs, node:path, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file current.json; JSON file sources.json; GeoJSON file grid_substations.geojson. - Downstream impact: Used directly by 2 files: CI PR Gate (gridatlas); GridAtlas Verify Live Workflow (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Map Promotion Rehearsal (gridatlas). - Signatures: `claim(id, text, holds, keys, measured = {})`; `n(v)`; `grab(name)`; `nearest(lon, lat)`; `get(rel)`; `keyText(k)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file sources.json; GeoJSON file grid_substations.geojson]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### GridAtlas — Twin - File: gridatlas/tools/twin/lib.mjs (JavaScript, 71 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/twin/lib.mjs#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/0693.html#f2 - Synopsis: A JavaScript module in the tools folder that reads sources, using SHA-256. It reads JSON (`readJson`) and is built from the abs step (`abs`) and the exists step (`exists`). - What it achieves (comment): Shared by the three twin tools. It reads `tools/twin/sources.json`. - What it does: It loads sources. Defines 15 functions or classes, including abs, exists, sha256, sha256Of, readJson. Uses libraries node:fs, node:os, node:path, node:crypto, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file sources.json; JSON file current.json; command-line arguments. - Downstream impact: Used directly by 3 files: Keys (gridatlas); Preserve (gridatlas); Replicate Generation (gridatlas). Reached from 4 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); GridAtlas Verify Live Workflow (gridatlas); CI PR Gate (gridatlas). - Signatures: `export abs(rel)`; `export exists(rel)`; `export sha256(bytes)`; `export sha256Of(file)`; `export readJson(rel)`; `export sources()`; `export liveGeneration()`; `export tmpDir(tag)`; `export arg(flag, fallback = null)`; `export has(flag)`; `export run(argv, opts = {})`; `export keyOf(rel, needle)`; `export composition(gen)`; `export reporter(title)`; `cartridges(pointer.cartridge_order || [])`; `say(state, name, detail = '')`; `finish(extra = '')` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file sources.json; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Preserve - File: gridatlas/tools/twin/preserve.mjs (JavaScript, 172 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/twin/preserve.mjs#L1-L172 - Page: https://code.globalgrid2050.com/explore-code/s/0693.html#f3 - Synopsis: A JavaScript module in the twin folder of GridAtlas that reads parts and composition, using SHA-256. - What it achieves (comment): Preservation: every published generation stays a version. It reads `atlas/current.json`. - What it does: It loads parts and composition. Uses libraries node:fs, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file -parts.json; JSON file -composition.json. - Downstream impact: Used directly by 2 files: CI PR Gate (gridatlas); GridAtlas Verify Live Workflow (gridatlas). Reached from 2 other entry points, including GridAtlas PR File Size Guard Workflow (gridatlas); Map Promotion Rehearsal (gridatlas). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file -parts.json; JSON file -composition.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Replicate Generation - File: gridatlas/tools/twin/replicate-generation.mjs (JavaScript, 379 lines) · role energy-data · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/twin/replicate-generation.mjs#L1-L379 - Page: https://code.globalgrid2050.com/explore-code/s/0694.html#f1 - Synopsis: A JavaScript module in the twin folder of GridAtlas that reads generations and substations, using SHA-256. - What it achieves (comment): It fetches pinned (`fetchPinned`) and is built from the done step (`done`) and the same step (`same`). The twin of a generation: rebuild it from its pinned source in a clean temporary directory, with the repository's own compiler and cut tools, and compare every rebuilt file with the committed one byte for byte. It reads `tools/train/gazetteer/generations.json`. - What it does: It loads generations and substations. Defines done, same, constant, fetchPinned. Uses libraries node:fs, node:path. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: JSON file current.json; JSON file generations.json; DuckDB queries; command-line arguments. - Downstream impact: Used directly by 3 files: CI PR Gate (gridatlas); GridAtlas Verify Live Workflow (gridatlas); GridAtlas PR File Size Guard Workflow (gridatlas). Reached from 1 other entry point, including Map Promotion Rehearsal (gridatlas). - Signatures: `done(code)`; `same(name, rebuilt, committedRel)`; `constant(name)`; `fetchPinned(what, to)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file generations.json; DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Build Streaming Bridge - File: gridatlas/tools/v9_5/build_streaming_bridge.py (Python, 297 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/v9_5/build_streaming_bridge.py#L1-L297 - Page: https://code.globalgrid2050.com/explore-code/s/0694.html#f2 - Synopsis: A Python command-line tool in the tools folder of GridAtlas that reads streaming road fix, streaming road build and 400kV, using SHA-256. - What it achieves (comment): It loads JSON (`load_json`), dumps JSON (`dump_json`) and compiles bridge (`compile_bridge`). Compile a streaming-response bridge cartridge over the immutable GridAtlas shell. Its code works with 400 kV. It accepts `--generation`, `--request` and `--report`. - What it does: It loads streaming road fix, streaming road build and 400kV. Defines load_json, dump_json, sha256_bytes, compile_bridge, main. Uses libraries __future__, argparse, copy, hashlib, json. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: In: JSON file current.json; JSON file streaming-road-fix.json; JSON file streaming-road-build.json; DuckDB queries; command-line arguments. Voltage levels named: 400kV. - Downstream impact: Used directly by 1 file: GridAtlas Verify Live Workflow (gridatlas). - Signatures: `load_json(path: Path)`; `dump_json(path: Path, value: Any)`; `sha256_bytes(value: bytes)`; `compile_bridge(source: str, generation: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file streaming-road-fix.json; JSON file streaming-road-build.json; DuckDB queries; command-line arguments]; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build V9 5 - File: gridatlas/tools/v9_5/build_v9_5.py (Python, 200 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/v9_5/build_v9_5.py#L1-L200 - Page: https://code.globalgrid2050.com/explore-code/s/0695.html#f1 - Synopsis: A Python command-line tool in the tools folder of GridAtlas that reads request, postcodes and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): Build GridAtlas v9.5 as one immutable-shell search cartridge. It accepts `--request` and `--report`. - What it does: It loads request, postcodes and the REPD register. Defines main. Uses libraries __future__, argparse, copy, json, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register. - Inputs & outputs: In: JSON file current.json; JSON file v9-5-request.json; JSON file v9-5-build.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file v9-5-request.json; JSON file v9-5-build.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Compiler - File: gridatlas/tools/v9_5/compiler.py (Python, 276 lines) · role render · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/v9_5/compiler.py#L1-L276 - Page: https://code.globalgrid2050.com/explore-code/s/0695.html#f2 - Synopsis: A Python module in the tools folder of GridAtlas covering postcodes and the Renewable Energy Planning Database (REPD) register, using SHA-256, and uses data from postcodes.io and OpenStreetMap Nominatim. - What it achieves (comment): It replaces once (`replace_once`), loads JSON (`load_json`) and dumps JSON (`dump_json`). Deterministic source transformations for GridAtlas v9.5. - What it does: It draws postcodes and the REPD register. Defines 6 functions or classes, including sha256_bytes, replace_once, regex_replace_once, load_json, dump_json. Uses libraries __future__, hashlib, json, re, pathlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register. - Inputs & outputs: In: data source: postcodes.io; data source: OpenStreetMap Nominatim. - Downstream impact: Used directly by 1 file: Build V9 5 (gridatlas). - Signatures: `sha256_bytes(data: bytes)`; `replace_once(text: str, old: str, new: str, label: str)`; `regex_replace_once(text: str, pattern: str, replacement: str, label: str)`; `load_json(path: Path)`; `dump_json(path: Path, value: Any)`; `compile_cartridge(source: str, generation: str)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: postcodes.io; data source: OpenStreetMap Nominatim]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Release Stream Payload Cache - File: gridatlas/tools/v9_5/release_stream_payload_cache.py (Python, 108 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/v9_5/release_stream_payload_cache.py#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/0695.html#f3 - Synopsis: A Python command-line tool in the tools folder of GridAtlas that reads streaming road build, using SHA-256. - What it achieves (comment): It patches registry (`patch_registry`) and is built from the load step (`load`) and the dump step (`dump`). Release the bridge's reconstructed payload after serialisation and re-pin the cartridge. It accepts `--generation` and `--report`. - What it does: It loads streaming road build. Defines load, dump, main, patch_registry. Uses libraries __future__, argparse, hashlib, json, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file streaming-road-build.json; JSON file current.json; command-line arguments. - Downstream impact: Used directly by 1 file: GridAtlas Verify Live Workflow (gridatlas). - Signatures: `load(path: Path)`; `dump(path: Path, value)`; `main()`; `patch_registry(document: dict)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file streaming-road-build.json; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### VEDIC OSM Pilot - File: gridatlas/tools/vedic/osm-pilot.py (Python, 44 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vedic/osm-pilot.py#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/0695.html#f4 - Synopsis: A Python module in the tools folder of GridAtlas that fetches topology, using SHA-256. It is built from the attrs step (`attrs`). - What it achieves (comment): Bounded one-shot OSM source acquisition. Do not run from movement or a browser. - What it does: It fetches topology. Defines attrs. Uses libraries hashlib, json, pathlib, sys, urllib.request. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file topology.json; JSON file receipt.json. - Signatures: `attrs(e)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file topology.json; JSON file receipt.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### VEDIC Regional Core - File: gridatlas/tools/vedic/regional-core.mjs (JavaScript, 95 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vedic/regional-core.mjs#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f1 - Synopsis: A JavaScript module in the tools folder of GridAtlas that tiles cover (`tileCover`) and identity (`tileIdentity`) and creates regional pool (`createRegionalPool`). It creates regional pool (`createRegionalPool`) and sets desired (`setDesired`). - What it achieves (comment): VEDIC exact tile cover v1; independent, network-free projected-metre capability. - What it does: It calculates its inputs. Defines 20 functions or classes, including tileCover, mm, orient, on, opposite. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 2 files: VEDIC Regional Core Test (gridatlas); VEDIC Regional Io (gridatlas). - Signatures: `export tileCover(points,{pitch=2048,origin=[0,0],radius=0,metric="euclidean",maxCandidates=100000,maxTiles=20000}={})`; `export regionalWindow(center,{pitch=2048,origin=[0,0],width=10000,halo=0,maxTiles=256}={})`; `export tileIdentity({dataset,revision,crs,pitch,origin=[0,0],i,j,representation})`; `export createRegionalPool({maxBytes,maxConcurrent=2,maxEntries=64}={})`; `mm(x)`; `orient(a,b,c)`; `on(a,b,c)`; `opposite(a,b)`; `cross(a,b,c,d)`; `near(a,b,c,R)`; `hit(a,b,x,y)`; `inside(q)`; `boxDist(q)`; `snapshot()`; `evict(key)`; `oldest()`; `setDesired(entries)`; `admit()`; `settle(token,{bytes=0,ok=false}={})`; `clear()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### VEDIC Regional Core Test - File: gridatlas/tools/vedic/regional-core.test.mjs (JavaScript, 48 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vedic/regional-core.test.mjs#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f2 - Synopsis: A test in the tools folder of GridAtlas that checks VEDIC Regional Core, using EPSG:27700. - What it achieves (name): It runs tests (`runTests`) and is built from the oracle step (`oracle`) and the clip step (`clip`). Defines `runTests`, `ids`, `key` and 3 more. - What it does: It tests its inputs. Defines 6 functions or classes, including runTests, ids, key, oracle, clip. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `runTests()`; `ids(a)`; `key(i,j)`; `oracle(a,b,x,y,p,r,metric)`; `clip(L,D,H,U)`; `dist(q,c,e)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### VEDIC Regional Io - File: gridatlas/tools/vedic/regional-io.mjs (JavaScript, 95 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vedic/regional-io.mjs#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f3 - Synopsis: A JavaScript module in the tools folder of GridAtlas that reads verified shard (`readVerifiedShard`), creates shard session (`createShardSession`) and syncs desired (`syncDesired`), using SHA-256. - What it achieves (comment): It reads verified shard (`readVerifiedShard`), creates shard session (`createShardSession`) and syncs desired (`syncDesired`). Regional shard transport. No map, DOM, routing provider, or national fallback. - What it does: It lists and searches its content. Defines 10 functions or classes, including readVerifiedShard, createShardSession, drop, syncDesired, pump. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 3 files: VEDIC Snapshot Provider V9214 Test (gridatlas); VEDIC Snapshot Provider (gridatlas); VEDIC Regional Stream Test (gridatlas). - Signatures: `export readVerifiedShard(entry,{signal,fetcher=globalThis.fetch,subtle=globalThis.crypto?.subtle}={})`; `export createShardSession({maxBytes,maxEntries=64,maxConcurrent=2,fetcher,subtle}={})`; `drop(key)`; `syncDesired()`; `pump()`; `setDesired(entries)`; `borrow(key,fn)`; `idle()`; `snapshot()`; `close()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### VEDIC Regional Stream Test - File: gridatlas/tools/vedic/regional-stream.test.mjs (JavaScript, 70 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vedic/regional-stream.test.mjs#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f4 - Synopsis: A test in the tools folder of GridAtlas that checks VEDIC Regional Io and VEDIC Road Topology, using SHA-256. - What it achieves (name): It is built from the good step (`good`), the fetcher step (`fetcher`) and the rel step (`rel`). Defines `check`, `equal`, `rejects` and 3 more. - What it does: It tests its inputs. Defines 9 functions or classes, including check, equal, rejects, e, good. Uses libraries node:assert/strict, node:crypto, node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `check(value,message)`; `equal(a,b)`; `rejects(fn,pattern)`; `e(key)`; `good()`; `fetcher(url,{signal})`; `n(id,lat,lon)`; `w(id,nodes,tags={})`; `rel(id,from,via,to,rule)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### VEDIC Snapshot Routing - File: gridatlas/tools/vedic/snapshot-routing.mjs (JavaScript, 39 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vedic/snapshot-routing.mjs#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f5 - Synopsis: A JavaScript module in the tools folder of GridAtlas that builds routing graph (`buildRoutingGraph`) and routes candidate (`routeCandidate`). It builds routing graph (`buildRoutingGraph`) and routes candidate (`routeCandidate`). - What it achieves (comment): VEDIC E03: bounded snapshot pilot, not a live navigation provider. - What it does: It calculates its inputs. Defines 7 functions or classes, including buildRoutingGraph, conditional, nodeAllowed, distance, speed. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 4 files: VEDIC Snapshot Provider V9214 Test (gridatlas); VEDIC Snapshot Provider (gridatlas); VEDIC Snapshot Provider Test (gridatlas); VEDIC Snapshot Routing Test (gridatlas). - Signatures: `export buildRoutingGraph(source,mode,compiler=compileTopology)`; `export routeCandidate(g,start,end,objective="shortest",{maxStates=100000}={})`; `export weakComponents(g)`; `conditional(t)`; `nodeAllowed(n)`; `distance(a,b)`; `speed(t)`; `fail(reason)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### VEDIC Snapshot Routing Test - File: gridatlas/tools/vedic/snapshot-routing.test.mjs (JavaScript, 38 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vedic/snapshot-routing.test.mjs#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f6 - Synopsis: A test in the tools folder of GridAtlas that checks VEDIC Snapshot Routing, using SHA-256. - What it achieves (name): Defines `digest`. It reads `/topology.json`. - What it does: It tests its inputs. Defines digest, w. Uses libraries node:assert/strict, node:fs, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file topology.json; command-line arguments. - Signatures: `digest(p)`; `w(e)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file topology.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Build - File: gridatlas/tools/vicinity-controls/build.mjs (JavaScript, 24 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity-controls/build.mjs#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f7 - Synopsis: A JavaScript module in the vicinity controls folder of GridAtlas that uses SHA-256. It is built from the flag step (`flag`). - What it achieves (comment): `V9.196/V9.197` independently reproducible vicinity control cartridges. - What it does: It loads data. Defines flag. Uses libraries node:fs, node:path, node:assert/strict, node:crypto, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Signatures: `flag(x)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build - File: gridatlas/tools/vicinity-focus/build.mjs (JavaScript, 23 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity-focus/build.mjs#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f8 - Synopsis: A JavaScript module in the vicinity focus folder of GridAtlas that uses SHA-256. It is built from the flag step (`flag`). - What it achieves (comment): V9.195 immutable vicinity-focus cartridge source build. - What it does: It loads data. Defines flag. Uses libraries node:fs, node:path, node:assert/strict, node:crypto, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Signatures: `flag(x)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Asset Context Test - File: gridatlas/tools/vicinity/asset-context.test.mjs (JavaScript, 14 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/asset-context.test.mjs#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f9 - Synopsis: A test in the vicinity folder of GridAtlas that checks Geodesy. - What it achieves (name): Defines `feature`, `map` and `collect`. - What it does: It tests battery storage (BESS), solar and the REPD register. Defines feature, map, collect. Uses libraries node:test. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: battery storage (BESS), solar, the REPD register. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `feature(id,tech,capacity,at=[-0.401,51.5],extra={})`; `map(features)`; `collect(extra={})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Browser Test - File: gridatlas/tools/vicinity/browser.test.mjs (JavaScript, 165 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/browser.test.mjs#L1-L165 - Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f10 - Synopsis: A test in the vicinity folder of GridAtlas that checks Build and Model, using SHA-256. - What it achieves (comment): It is built from the intent step (`intent`), the snapshot step (`snapshot`) and the visible tap helper (`visibleTap`). Independent native Android QA. Injection mode never counts as publication acceptance. Its code works with 11 kV, 132 kV and 275 kV. - What it does: It tests the REPD register. Defines 7 functions or classes, including intent, snapshot, visibleTap, open, ownData. Uses libraries node:fs, node:path, node:os, node:assert/strict, node:crypto. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, 400kV, 275kV, 132kV, 66kV, 33kV. - Inputs & outputs: In: JSON file receipt.json. Out: JSON file receipt.json; JSON file failure.json. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `intent(origin,radius=10)`; `snapshot()`; `visibleTap(locator)`; `open(origin,radius=10)`; `ownData()`; `assertOwnPoints(radius)`; `sourceFingerprint()`; `assetsBefore(await snapshot())`; `assetContext(await snapshot())`; `contextBound(await snapshot())`; `station(await ownData())` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file receipt.json]; out [JSON file receipt.json; JSON file failure.json]; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 4 estate files (script-call 4); used by 1; mentioned by 0 ### Build - File: gridatlas/tools/vicinity/build.mjs (JavaScript, 27 lines) · role storage · stage output - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/build.mjs#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0696.html#f11 - Synopsis: A JavaScript module in the vicinity folder of GridAtlas that reads station, using SHA-256. - What it achieves (readme): It is built from the assemble step (`assemble`), the read step (`read`) and the train read helper (`trainRead`). The README says: `build.mjs` deterministically assembles `src/model.mjs`, `src/bootstrap.js` and `src/vicinity.css` into one bounded module. - What it does: It loads station. Defines assemble, read, trainRead. Uses libraries node:fs, node:path, node:url, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`build.mjs` deterministically assembles `src/model.mjs`, `src/bootstrap.js` and `src/vicinity.css` into one bounded module." - Inputs & outputs: In: JSON file station-source.json; command-line arguments. - Downstream impact: Used directly by 4 files: Cut Grid Explorer (gridatlas); Grid Explorer Proof (gridatlas); Browser Test (gridatlas); Model Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export assemble({root = ROOT, generation = 'UNRELEASED'} = {})`; `read(p)`; `trainRead(file)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file station-source.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Document Context Test - File: gridatlas/tools/vicinity/document-context.test.mjs (JavaScript, 103 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/document-context.test.mjs#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/0697.html#f1 - Synopsis: A test in the vicinity folder of GridAtlas that checks Document Context and Declared Connections, using SHA-256. - What it does: It tests the REPD register and substations. Uses libraries node:test, node:assert/strict, node:fs, node:vm, node:crypto. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, url-import-meta 1); used by 1; mentioned by 0 ### Model Test - File: gridatlas/tools/vicinity/model.test.mjs (JavaScript, 88 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/model.test.mjs#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/0697.html#f2 - Synopsis: A test in the vicinity folder of GridAtlas that checks Model and Build, using SHA-256. - What it achieves (name): Defines `feature`. - What it does: It tests the REPD register and wind. Defines feature. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, wind. - Downstream impact: Used directly by 1 file: GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `feature(id, at, voltage, extra = {})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 2, url-import-meta 1); used by 1; mentioned by 0 ### Asset Context - File: gridatlas/tools/vicinity/src/asset-context.mjs (JavaScript, 54 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/src/asset-context.mjs#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/0697.html#f3 - Synopsis: A JavaScript module in the vicinity folder of GridAtlas that works with the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It is built from the asset coordinate helper (`assetCoordinate`), the stated MW helper (`statedMw`) and the asset id helper (`assetId`). Read-only context from existing Atlas source owners. - What it does: It calculates the REPD register. Defines 6 functions or classes, including assetCoordinate, statedMw, assetId, collectAssetContext, get. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Signatures: `export collectAssetContext({map,registry={},origin,radiusKm,geodesy,limit=200}={})`; `assetCoordinate(at)`; `statedMw(value)`; `assetId(value)`; `assetPrecision(p)`; `get(id)`; `add(category,row)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Bootstrap - File: gridatlas/tools/vicinity/src/bootstrap.js (JavaScript, 347 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/src/bootstrap.js#L1-L347 - Page: https://code.globalgrid2050.com/explore-code/s/0697.html#f4 - Synopsis: A JavaScript file in the vicinity folder of GridAtlas that maps substations and the Renewable Energy Planning Database (REPD) register. - What it achieves (readme): It creates controller (`createController`), renders asset context (`renderAssetContext`) and renders document context (`renderDocumentContext`). The README says: `build.mjs` deterministically assembles `src/model.mjs`, `src/bootstrap.js` and `src/vicinity.css` into one bounded module. Its code works with 33 kV. It responds to click events. - What it does: It maps substations and the REPD register. Defines 31 functions or classes, including createController, el, listen, sourceAnchor, rowOrigin. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, the REPD register, 33kV. README: "`build.mjs` deterministically assembles `src/model.mjs`, `src/bootstrap.js` and `src/vicinity.css` into one bounded module." - Inputs & outputs: Voltage levels named: 33kV. - Signatures: `createController(map)`; `el(tag, text, parent, attrs = {})`; `listen(target, type, fn)`; `sourceAnchor(parent, title, href)`; `rowOrigin(row)`; `text(node, value)`; `renderAssetContext()`; `renderDocumentContext()`; `readRecords()`; `draw()`; `removeMap(mapRemoved = false)`; `foreignDependency(map.getStyle()?.layers || [])`; `showError(message)`; `clearNews()`; `clearSelectedContext()`; `addStation(row)`; `refresh()`; `setOrigin(next)`; `mapCentre()`; `fitRadius()`; `installControls()`; `open(options = {}, invoker = null)`; `shut()`; `clicked(event)`; `sourced(event)` (and 7 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Document Context - File: gridatlas/tools/vicinity/src/document-context.mjs (JavaScript, 94 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/src/document-context.mjs#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/0697.html#f5 - Synopsis: A JavaScript module in the vicinity folder of GridAtlas that works with notice, the Renewable Energy Planning Database (REPD) register and substations, using SHA-256. - What it achieves (comment): It is built from the freeze document context helper (`freezeDocumentContext`), the document origin helper (`documentOrigin`) and the document context for helper (`documentContextFor`). Existing documentary context only. No fetch, name matching or spatial joins. - What it does: It calculates notice, the REPD register and substations. Defines freezeDocumentContext, documentOrigin, documentContextFor. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations. - Inputs & outputs: In: JSON file notice.json. - Downstream impact: Used directly by 1 file: Document Context Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export documentContextFor(origin, {declaredConnections} = {})`; `freezeDocumentContext(value)`; `documentOrigin(origin)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file notice.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Model - File: gridatlas/tools/vicinity/src/model.mjs (JavaScript, 140 lines) · role geodesy · stage transform - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/tools/vicinity/src/model.mjs#L1-L140 - Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f1 - Synopsis: A JavaScript module in the vicinity folder of GridAtlas that works with substations and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It normalises origin (`normaliseOrigin`), parses vicinity intent (`parseVicinityIntent`) and validates news context base (`validateNewsContextBase`). Spatial exploration only. Canonical Atlas geodesy is injected, never forked. Its code works with 11 kV, 132 kV and 275 kV. - What it does: It calculates substations and the REPD register. Defines 12 functions or classes, including validCoordinate, radiusKm, normaliseOrigin, parseVicinityIntent, numberText. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, the REPD register, 400kV, 275kV, 132kV, 66kV. README: "`build.mjs` deterministically assembles `src/model.mjs`, `src/bootstrap.js` and `src/vicinity.css` into one bounded module." - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Downstream impact: Used directly by 2 files: Browser Test (gridatlas); Model Test (gridatlas). Reached from 1 other entry point, including GridAtlas PR File Size Guard Workflow (gridatlas). - Signatures: `export validCoordinate(at)`; `export radiusKm(value)`; `export normaliseOrigin(origin, {requireIdentity = false} = {})`; `export parseVicinityIntent(search)`; `export validateNewsContextBase(value)`; `export normaliseNewsTopic(value, origin)`; `export newsContextHref(base, origin, topic)`; `export voltageBands(kv)`; `export stationRecords(features, geodesy)`; `export exploreVicinity({origin, radius, records, bands, geodesy, limit = 200})`; `export vicinityGeoJSON(result, geodesy)`; `numberText(value)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### UK Gazetteer Flyto - File: gridatlas/ui/cartridges/202608301136-uk-gazetteer-flyto.mjs (JavaScript, 10 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/ui/cartridges/202608301136-uk-gazetteer-flyto.mjs#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GridAtlas. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Global Gazetteer Flyto V9 5 - File: gridatlas/ui/cartridges/202609011141-global-gazetteer-flyto-v9-5.mjs (JavaScript, 16 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/ui/cartridges/202609011141-global-gazetteer-flyto-v9-5.mjs#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f3 - Synopsis: A JavaScript module in the cartridges folder of GridAtlas. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Global Gazetteer Flyto V9 106 - File: gridatlas/ui/cartridges/202609040337-global-gazetteer-flyto-v9-106.mjs (JavaScript, 17 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/ui/cartridges/202609040337-global-gazetteer-flyto-v9-106.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f4 - Synopsis: A JavaScript module in the cartridges folder of GridAtlas. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Streaming Parquet Bridge V9 5 - File: gridatlas/ui/cartridges/202609241251-streaming-parquet-bridge-v9-5.mjs (JavaScript, 12 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/ui/cartridges/202609241251-streaming-parquet-bridge-v9-5.mjs#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f5 - Synopsis: A JavaScript module in the cartridges folder of GridAtlas. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: Voltage levels named: 400kV. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### UI Atlas V9 - File: gridatlas/ui/site/atlas-v9.mjs (JavaScript, 183 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/ui/site/atlas-v9.mjs#L1-L183 - Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f6 - Published at: https://gridatlas.globalgrid2050.com/ui/site/ - Synopsis: A JavaScript module in GridAtlas that maps Renewable Energy Planning Database (REPD) clusters and REPD cluster count, and uses data from OpenStreetMap tiles. Served with the page at https://gridatlas.globalgrid2050.com/ui/site/. - What it achieves (name): It sets selected URL (`setSelectedUrl`), marks map unavailable (`markMapUnavailable`) and adds project layers (`addProjectLayers`). Defines `popupNode`, `setSelectedUrl`, `select` and 4 more. - What it does: It maps REPD clusters, REPD cluster count, REPD points and REPD selected. Defines 7 functions or classes, including popupNode, setSelectedUrl, select, markMapUnavailable, addProjectLayers. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: OpenStreetMap tiles. Out: interactive map. - Signatures: `popupNode(record)`; `setSelectedUrl(record)`; `select(record)`; `flyTo(options)`; `markMapUnavailable(error)`; `addProjectLayers(records)`; `initialiseMap(records)`; `boot()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap tiles]; out [interactive map]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### GridAtlas — UI Page - File: gridatlas/ui/site/index.html (HTML, 40 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/ui/site/index.html#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f7 - Published at: https://gridatlas.globalgrid2050.com/ui/site/ - Synopsis: A web page that reads inputs for atlas query, covering the Renewable Energy Planning Database (REPD) register and postcodes. Published at https://gridatlas.globalgrid2050.com/ui/site/. - What it achieves (comment): Grid Atlas V9 — official REPD address and postcode search with deterministic project fly-to. - What it does: It draws the REPD register and postcodes. Uses libraries assets/atlas-v9.css, assets/atlas-v9.mjs. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, postcodes. - Inputs & outputs: In: JSON file repd_v9_manifest_202608290716.json; DuckDB queries; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://gridatlas.globalgrid2050.com/ui/site/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file repd_v9_manifest_202608290716.json; DuckDB queries; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GridAtlas Webkit Arrival Probe - File: gridatlas/webkit-arrival-probe.mjs (JavaScript, 48 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/webkit-arrival-probe.mjs#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f8 - Published at: https://gridatlas.globalgrid2050.com/ - Synopsis: A JavaScript module covering solar. Served with the page at https://gridatlas.globalgrid2050.com/. - What it achieves (name): Defines `run`. - What it does: Defines run. Uses libraries playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Signatures: `run(engine, name)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### GridAtlas Webkit Register Probe - File: gridatlas/webkit-register-probe.mjs (JavaScript, 35 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/webkit-register-probe.mjs#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f9 - Published at: https://gridatlas.globalgrid2050.com/ - Synopsis: A JavaScript module covering solar. Served with the page at https://gridatlas.globalgrid2050.com/. - What it does: Uses libraries playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Signatures: `dl(P&&P.deep_link)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Geodesy Check - File: gridmachine1/reports/20260907T180500Z-maths-and-linkage-study/geodesy-check.mjs (JavaScript, 75 lines) · role geodesy · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridmachine1/blob/16cd3db49d03e6faa0e4e24f06f08184422049be/reports/20260907T180500Z-maths-and-linkage-study/geodesy-check.mjs#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f10 - Synopsis: A JavaScript module in the reports folder of Gridmachine1 that reads interconnector endpoints, using Vincenty and haversine. - What it achieves (comment): It is built from the rad step (`rad`), the haversine step (`haversine`) and the vincenty step (`vincenty`). Measure the radius question instead of arguing it. - What it does: It loads interconnector endpoints. Defines rad, haversine, vincenty, radii, pick. Uses libraries node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: In: JSON file interconnector-endpoints.json. Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `rad(d)`; `haversine(a, b, R)`; `vincenty(p1, p2)`; `u2(cos2Alpha * (a * a - b * b))`; `B(u2 / 1024)`; `radii(latDeg)`; `pick(re)`; `midLat(c.a.lat + c.b.lat)`; `best(v / (haversine(c.a, c.b, 1)))` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unreached_review · essay_status: auto - data_contracts: in [JSON file interconnector-endpoints.json]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GridAtlas Browser - File: legislation/apps/gridatlas/browser.cjs (JavaScript, 51 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/apps/gridatlas/browser.cjs#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f11 - Synopsis: A JavaScript module in Legislation that draws adapter pin, exercise, catalogue and regulatory references, using SHA-256. - What it achieves (name): It responds to click events. - What it does: It draws adapter pin, exercise, catalogue and regulatory references. Uses libraries playwright, node:assert/strict, node:fs, node:path, node:crypto. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file adapter-pin.json; JSON file exercise.json; JSON file catalogue.json; JSON file regulatory-references.json; JSON file ia6.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file adapter-pin.json; JSON file exercise.json; JSON file catalogue.json; JSON file regulatory-references.json; JSON file ia6.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GridAtlas Test - File: legislation/apps/gridatlas/test.cjs (JavaScript, 49 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/apps/gridatlas/test.cjs#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/0698.html#f12 - Synopsis: A JavaScript module in Legislation that tests adapter pin, exercise, the Renewable Energy Planning Database (REPD) register and substations, using SHA-256. - What it does: It tests adapter pin, exercise, the REPD register and substations. Uses libraries node:test, node:assert/strict, node:fs, node:vm, node:crypto. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations. - Inputs & outputs: In: JSON file adapter-pin.json; JSON file exercise.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file adapter-pin.json; JSON file exercise.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### LiDAR Build Site - File: lidar/src/build_site.py (Python, 84 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/lidar/blob/2ddf7257e4847e5f387e03aaecbc1cc425c4e387/src/build_site.py#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/0699.html#f1 - Synopsis: A Python command-line tool that works with LiDAR terrain. It is built from the snapped box helper (`snapped_box`) and the build step (`build`). - What it achieves (comment): Build a .ght tile set for one site from the EA LiDAR Composite DTM 1m. It accepts `--name`, `--e` and `--n`. - What it does: It calculates LiDAR terrain. Defines snapped_box, build, main. Uses libraries argparse, math, os, sys, time. - Why it exists in the grid workflow: Domain stage site_feasibility (repository name word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: command-line arguments. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `snapped_box(e, n, size)`; `build(name, e, n, size, out_dir=None, cache_dir=None, log=print)`; `main(argv=None)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### LiDAR Cut Tiles - File: lidar/src/cut_tiles.py (Python, 154 lines) · role storage · stage output - Source: https://github.com/Ventusltd/lidar/blob/2ddf7257e4847e5f387e03aaecbc1cc425c4e387/src/cut_tiles.py#L1-L154 - Page: https://code.globalgrid2050.com/explore-code/s/0699.html#f2 - Synopsis: A Python module that works with cut grid (`cut_grid`), using EPSG:27700 and SHA-256. It encodes tile (`encode_tile`), decodes tile (`decode_tile`) and loads tiles (`load_tiles`). - What it achieves (comment): Cut a south-up 1 m height grid into .ght tiles, and decode them again. - What it does: It loads data. Defines encode_tile, decode_tile, cut_grid, load_tiles. Uses libraries hashlib, json, os, struct, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage site_feasibility (repository name word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: In: JSON file tiles.json. Out: JSON file. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 2 files: LiDAR Build Site (lidar); Test Roundtrip (lidar). - Signatures: `encode_tile(heights, origin_e, origin_n)`; `decode_tile(blob)`; `cut_grid(grid, origin_e, origin_n, out_dir, site_name, source="")`; `load_tiles(out_dir)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file tiles.json]; out [JSON file]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### LiDAR Earthworks Pair - File: lidar/src/earthworks_pair.py (Python, 350 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/lidar/blob/2ddf7257e4847e5f387e03aaecbc1cc425c4e387/src/earthworks_pair.py#L1-L350 - Page: https://code.globalgrid2050.com/explore-code/s/0699.html#f3 - Synopsis: A Python command-line tool that reads earthworks receipt, using SHA-256. It is built from the ground class (`Ground`), the ground from helper (`ground_from`) and the routes step (`routes`). - What it achieves (comment): How much spoil does a trench (or a platform) make, counted two ways? It accepts `--tiles`, `--seed` and `--trenches`. - What it does: It loads earthworks receipt. Defines 16 functions or classes, including Ground, __init__, h, ground_from, routes. Uses libraries argparse, hashlib, json, math, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (repository name word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. README: "Derive slope and aspect tiles (`src/slope_tiles.py`) and earthworks volumes for trenches and platforms (`src/earthworks_pair.py`), each checked the same way." - Inputs & outputs: In: JSON file earthworks_receipt.json; command-line arguments. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Test Earthworks (lidar). - Signatures: `class Ground`; `__init__(self, grid, oe, on, sp, xp)`; `h(self, x, y)`; `ground_from(tiles_dir, xp)`; `routes(e0, n0, heading, L1, theta, R, L2, w, d, oe=0.0, on=0.0)`; `centre(P, k, s, xp, piece=None)`; `positron(P, G, ks)`; `candidates(P, ks)`; `claim(P, k, X, Y, xp)`; `electron(P, G, ks)`; `trench_pair(P, G)`; `inside_poly(X, Y, vx, vy, xp)`; `platform_pair(poly_bng, level, G)`; `draw(rng, n, G, margin=5.0)`; `sweep(tiles_dir, seed=SEED, trenches=4000, seconds=20.0, batch=250, use_gpu=True, witness=3)`; `main(argv=None)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file earthworks_receipt.json; command-line arguments]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### LiDAR Fetch Wcs - File: lidar/src/fetch_wcs.py (Python, 88 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/lidar/blob/2ddf7257e4847e5f387e03aaecbc1cc425c4e387/src/fetch_wcs.py#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/0699.html#f4 - Synopsis: A Python command-line tool that fetches LiDAR terrain, using EPSG:27700 from Environment Agency. It fetches one (`fetch_one`) and fetches box (`fetch_box`). - What it achieves (comment): Fetch Environment Agency LiDAR Composite DTM 1m GeoTIFFs over WCS 2.0.1. - What it does: It fetches LiDAR terrain. Defines coverage_url, chunk_ranges, fetch_one, fetch_box. Uses libraries os, sys, time, urllib.request. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (repository name word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: data source: Environment Agency; command-line arguments. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: LiDAR Build Site (lidar). - Signatures: `coverage_url(e0, e1, n0, n1)`; `chunk_ranges(lo, hi, step=CHUNK_M)`; `fetch_one(e0, e1, n0, n1, cache_dir, retries=3)`; `fetch_box(e0, e1, n0, n1, cache_dir, log=print)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: Environment Agency; command-line arguments]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### LiDAR Geotiff Read - File: lidar/src/geotiff_read.py (Python, 119 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/lidar/blob/2ddf7257e4847e5f387e03aaecbc1cc425c4e387/src/geotiff_read.py#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/0700.html#f1 - Synopsis: A Python module that masks nodata (`mask_nodata`), using EPSG:27700. It reads geotiff (`read_geotiff`) and is built from the mosaic step (`mosaic`). - What it achieves (comment): Read EA DTM GeoTIFF chunks with tifffile and mosaic them into one grid. - What it does: Defines _geokeys, _raw_nodata, read_geotiff, mask_nodata, mosaic. Uses libraries logging, numpy, tifffile. - Why it exists in the grid workflow: Domain stage site_feasibility (repository name word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 2 files: LiDAR Build Site (lidar); Test Roundtrip (lidar). - Signatures: `_geokeys(tags)`; `_raw_nodata(tags)`; `read_geotiff(path)`; `mask_nodata(z, nodata=None)`; `mosaic(paths, e0, n0, width, height)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### LiDAR Pair GPU - File: lidar/src/pair_gpu.py (Python, 371 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/lidar/blob/2ddf7257e4847e5f387e03aaecbc1cc425c4e387/src/pair_gpu.py#L1-L371 - Page: https://code.globalgrid2050.com/explore-code/s/0700.html#f2 - Synopsis: A Python command-line tool that reads pair receipt and tiles, using SHA-256. It reads ght (`read_ght`), writes ght (`write_ght`) and loads source (`load_source`). - What it achieves (comment): Height tile pair: do the .ght tiles say what the float64 source said? It accepts `--tiles`, `--source` and `--seed`. - What it does: It loads pair receipt and tiles. Defines 16 functions or classes, including read_ght, write_ght, synth, load_source, bilinear. Uses libraries argparse, glob, hashlib, json, math. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (repository name word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. README: "Check on the GPU with two independent formulations and CPU witnesses (`src/pair_gpu.py`): every stored height against the source, heights between samples two ways, and shared tile edges." - Inputs & outputs: In: JSON file pair_receipt.json; JSON file source.json; JSON file tiles.json; command-line arguments. Out: JSON file tiles.json. - Downstream impact: Used directly by 2 files: LiDAR Earthworks Pair (lidar); Test Pair (lidar). Reached from 1 other entry point, including Test Earthworks (lidar). - Signatures: `read_ght(path)`; `write_ght(path, h, oe, on, spacing_mm)`; `synth(out, tiles_e=2, tiles_n=2, spacing_m=1.0, oe=400000, on=300000, seed=SEED)`; `load_source(npy)`; `bilinear(xp, g, gx, gy)`; `corners(H, t, u, v, xp)`; `two_lerps(h00, h10, h01, h11, fx, fy)`; `polynomial(h00, h10, h01, h11, fx, fy)`; `weights(h00, h10, h01, h11, fx, fy)`; `worst(xp, err, info, k=KEEP)`; `merge(kept, new)`; `to_host(a)`; `run(tiles_dir, source_npy, seed=SEED, points=1 << 22, seconds=20.0, batch=1 << 20, use_gpu=True)`; `check_points(tiles, Hh, oe, on, sp, rng)`; `write_receipt(tiles_dir, receipt)`; `main(argv=None)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file pair_receipt.json; JSON file source.json; JSON file tiles.json; command-line arguments]; out [JSON file tiles.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### LiDAR Slope Tiles - File: lidar/src/slope_tiles.py (Python, 280 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/lidar/blob/2ddf7257e4847e5f387e03aaecbc1cc425c4e387/src/slope_tiles.py#L1-L280 - Page: https://code.globalgrid2050.com/explore-code/s/0701.html#f1 - Synopsis: A Python command-line tool that reads slope receipt, using EPSG:27700 and SHA-256. It writes tiles (`write_tiles`) and is built from the neighbours step (`neighbours`) and the horn step (`horn`). - What it achieves (comment): Slope and aspect tiles from a south-up 1 m height grid, computed as a pair on the GPU. It accepts `--site`, `--out` and `--cpu`. - What it does: It loads slope receipt. Defines 15 functions or classes, including neighbours, horn, zevenbergen_thorne, pad, slope_pct. Uses libraries argparse, hashlib, json, os, struct. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (repository name word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. README: "Derive slope and aspect tiles (`src/slope_tiles.py`) and earthworks volumes for trenches and platforms (`src/earthworks_pair.py`), each checked the same way." - Inputs & outputs: In: JSON file slope-tiles.json; JSON file slope_receipt.json; JSON file source.json; command-line arguments. Out: JSON file. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Test Slope (lidar). - Signatures: `neighbours(xp, z)`; `horn(xp, z, sp)`; `zevenbergen_thorne(xp, z, sp)`; `pad(xp, core)`; `slope_pct(xp, p, q)`; `classify(xp, s)`; `octant(xp, p, q, s)`; `laplacian(xp, z, sp)`; `witness(z, sp)`; `encode(cls, asp, e0, n0, spacing_mm=1000)`; `decode(blob)`; `write_tiles(out_dir, cls, asp, oe, on, site_name, spacing_mm=1000)`; `to_host(a)`; `run(grid, oe=0, on=0, sp=1.0, use_gpu=True, witness_on=True)`; `main(argv=None)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file slope-tiles.json; JSON file slope_receipt.json; JSON file source.json; command-line arguments]; out [JSON file]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Earthworks - File: lidar/tests/test_earthworks.py (Python, 111 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lidar/blob/2ddf7257e4847e5f387e03aaecbc1cc425c4e387/tests/test_earthworks.py#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/0701.html#f2 - Synopsis: A test in the tests folder of LiDAR that checks LiDAR Earthworks Pair. It is built from the plane step (`plane`), the close step (`close`) and the one step (`one`). - What it achieves (comment): Tests for `src/earthworks_pair.py` on synthetic planes with known volumes. It writes `source.json`. - What it does: It tests its inputs. Defines 9 functions or classes, including plane, close, one, test_flat_straight, test_sloped_along_and_across. Uses libraries inspect, json, math, os, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (repository name word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: Out: JSON file source.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `plane(xp, a=100.0, gx=0.0, gy=0.0, n=301)`; `close(v, want, rel=2e-3)`; `one(G, *a)`; `test_flat_straight()`; `test_sloped_along_and_across()`; `test_bent_flat_and_pappus()`; `test_platform_on_plane()`; `test_sweep_receipt(tmp_path)`; `test_bounded_by_seconds(tmp_path)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [JSON file source.json]; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 0; mentioned by 0 ### Test Pair - File: lidar/tests/test_pair.py (Python, 167 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lidar/blob/2ddf7257e4847e5f387e03aaecbc1cc425c4e387/tests/test_pair.py#L1-L167 - Page: https://code.globalgrid2050.com/explore-code/s/0701.html#f3 - Synopsis: A test in the tests folder of LiDAR that checks LiDAR Pair GPU, using SHA-256. It makes tiles (`make_tiles`) and checks clean (`check_clean`). - What it achieves (comment): Tests for `src/pair_gpu.py` against a synthetic hilly grid. - What it does: It tests its inputs. Defines 16 functions or classes, including make_tiles, run, poke, test_header_layout, test_clean_tiles_annihilate. Uses libraries hashlib, inspect, json, os, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (repository name word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: In: JSON file tiles.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `make_tiles(tmp_path)`; `run(d, gpu=False, **kw)`; `poke(path, row, col, delta_q=0, header=None)`; `test_header_layout(tiles)`; `test_clean_tiles_annihilate(tiles)`; `check_clean(r)`; `test_gpu_and_cpu_agree(tiles)`; `test_seeded_repeatable(tiles)`; `test_check_points_retest(tiles)`; `test_bad_sample_is_a_photon(tiles)`; `test_edge_mismatch_is_a_photon(tiles)`; `test_header_lie_is_a_photon(tiles)`; `test_nodata_counted_not_hidden(tiles)`; `test_receipt_and_tiles_json(tiles)`; `test_bounded_by_seconds(tiles)`; `test_main_synth(tmp_path)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file tiles.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 0; mentioned by 0 ### Test Roundtrip - File: lidar/tests/test_roundtrip.py (Python, 104 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/lidar/blob/2ddf7257e4847e5f387e03aaecbc1cc425c4e387/tests/test_roundtrip.py#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/0701.html#f4 - Synopsis: A test in the tests folder of LiDAR that checks LiDAR Cut Tiles and LiDAR Geotiff Read, using EPSG:27700. It is built from the synthetic step (`synthetic`). - What it achieves (comment): Synthetic grid -> .ght tiles -> decode -> heights within 5 mm. - What it does: It tests its inputs. Defines synthetic, test_header_layout, test_row_order_south_to_north, test_roundtrip_within_5mm, test_shared_edges_match. Uses libraries json, os, struct, sys, tempfile. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage site_feasibility (repository name word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: In: JSON file tiles.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `synthetic(size=512, seed=7)`; `test_header_layout()`; `test_row_order_south_to_north()`; `test_roundtrip_within_5mm()`; `test_shared_edges_match()` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file tiles.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 2 estate files (sys-path 2); used by 0; mentioned by 0 ### Test Slope - File: lidar/tests/test_slope.py (Python, 119 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/lidar/blob/2ddf7257e4847e5f387e03aaecbc1cc425c4e387/tests/test_slope.py#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/0702.html#f1 - Synopsis: A test in the tests folder of LiDAR that checks LiDAR Slope Tiles, using SHA-256. It is built from the plane step (`plane`). - What it achieves (comment): Tests for `src/slope_tiles.py` on synthetic ground. - What it does: It tests its inputs. Defines 8 functions or classes, including plane, test_plane_has_no_photons_and_right_slope, test_class_edges, test_aspect_octants_point_downslope, test_crease_makes_photons_beside_the_crease_only. Uses libraries hashlib, inspect, json, os, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (repository name word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `plane(pe, pn, n=65)`; `test_plane_has_no_photons_and_right_slope()`; `test_class_edges()`; `test_aspect_octants_point_downslope()`; `test_crease_makes_photons_beside_the_crease_only()`; `test_nan_marks_neighbours_nodata()`; `test_tiles_roundtrip_and_index(tmp)`; `test_decode_refuses_damage()` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 0; mentioned by 0 ### Measure GridAtlas - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010/team-1/measure-gridatlas.cjs (JavaScript, 123 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010/team-1/measure-gridatlas.cjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0702.html#f2 - Synopsis: A JavaScript module in the evidence folder of Neural Link Between Agents. - What it achieves (name): Its name says it measures GridAtlas. Defines `wire` and `measure`. - What it does: It draws its content. Defines wire, measure, r, cs. Uses libraries playwright, fs. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file style.json. - Signatures: `wire(page, tag)`; `measure(page, tag)`; `r(el)`; `cs(el, props)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [JSON file style.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Kuiper Map - File: neural-link-between-agents/FIXES/NL-011/build_kuiper_map.py (Python, 342 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-011/build_kuiper_map.py#L1-L342 - Page: https://code.globalgrid2050.com/explore-code/s/0702.html#f3 - Synopsis: A Python command-line tool in Neural Link Between Agents that selects lines (`select_lines`), loads comments (`load_comments`) and parses comment (`parse_comment`) (units: kV). - What it achieves (comment): It is built from the utc step (`utc`), the overnight type helper (`overnight_type`) and the overnight who helper (`overnight_who`). Build `FIXES/NL-011/KUIPER-MAP.md`: the neural link keyed the way the Kuiper keys lines. It accepts `--comments-dir` and `--out`. - What it does: It loads data. Defines 16 functions or classes, including sh, utc, overnight_type, overnight_who, decisions_row. Uses libraries argparse, glob, json, os, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sh(*cmd, text=True)`; `utc(ts)`; `overnight_type(t)`; `overnight_who(t)`; `decisions_row(t)`; `blame(path)`; `line_at(sha, path, n)`; `select_lines(lines, selector)`; `file_rows()`; `load_comments(cdir)`; `parse_comment(r)`; `comment_rows(raw)`; `model_of(label)`; `norm_label(label)`; `esc(s)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GridAtlas A3 Map Links - File: neural-link-between-agents/FIXES/NL-016/gridatlas/tools/a3_map_links.py (Python, 101 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-016/gridatlas/tools/a3_map_links.py#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/0702.html#f4 - Synopsis: A Python command-line tool in the tools folder of Neural Link Between Agents that reads offshore coordinates. - What it achieves (comment): It is built from the safe step (`safe`) and the rows of helper (`rows_of`). A3: what GridAtlas returns for each MAP link of the operative Pipeline News page (`uk_renewables_pipeline`/), live (records Parquet, Q2) versus the October preview . - What it does: It loads offshore coordinates. Defines safe, km, rows_of, main. Uses libraries glob, json, math, sys, collections. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file offshore-coordinates.json; DuckDB queries; command-line arguments. Out: JSON file. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `safe(lon, lat)`; `km(a, b)`; `rows_of(rel)`; `main(rel, work, prev, outp)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer, ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in [JSON file offshore-coordinates.json; DuckDB queries; command-line arguments]; out [JSON file]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GridAtlas Clockshift - File: neural-link-between-agents/FIXES/NL-016/gridatlas/tools/clockshift.mjs (JavaScript, 5 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-016/gridatlas/tools/clockshift.mjs#L1-L5 - Page: https://code.globalgrid2050.com/explore-code/s/0702.html#f5 - Synopsis: A JavaScript module in the tools folder of Neural Link Between Agents. - What it achieves (comment): Preload: shift the JS clock to `FAKE_NOW` (ISO) while letting it tick. - What it does: It calculates its inputs. Defines FD. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `class FD` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GridAtlas M5 Precision Evidence - File: neural-link-between-agents/FIXES/NL-016/gridatlas/tools/m5_precision_evidence.py (Python, 133 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-016/gridatlas/tools/m5_precision_evidence.py#L1-L133 - Page: https://code.globalgrid2050.com/explore-code/s/0703.html#f1 - Synopsis: A Python command-line tool in the tools folder of Neural Link Between Agents that reads the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It is built from the rpz step (`rpz`), the load step (`load`) and the cands at helper (`cands_at`). Evidence for the capacity-precision question of the M5 REPD record join (offline replica of `tools/lightning/src/11b-repd-records.js` `RpQ/RpZ/RpJ`, same rules as `/auto/gridatlas/scripts/m5_join_rate.py`). Its code works with 100 MW and 50 MW. - What it does: It loads the REPD register. Defines 7 functions or classes, including rpz, n, load, cands_at, join. Uses libraries csv, json, re, sys, unicodedata. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: DuckDB queries; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `rpz(s)`; `n(v)`; `load(parquet)`; `cands_at(grid, x, y)`; `join(grid, f)`; `decimals(v)`; `main(reg, q2p, octp, staged, out, csvp)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer, ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in [DuckDB queries; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 03 Test - File: neural-link-between-agents/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/03-test.mjs (JavaScript, 50 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/03-test.mjs#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0703.html#f2 - Synopsis: A JavaScript module in Neural Link Between Agents that formats degrees (`formatDegrees`) and calculates planar distances and angles. - What it achieves (comment): It formats degrees (`formatDegrees`) and is built from the normalise step (`normalise`) and the device heading helper (`deviceHeading`). Frozen source extract from blob. - What it does: It tests its inputs. Defines normalise, formatDegrees, deviceHeading. Uses libraries node:assert/strict. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `normalise(degrees)`; `formatDegrees(degrees)`; `deviceHeading(event, screenAngle = 0)`; `beta(Number.isFinite(event.beta) ? event.beta : 0)`; `gamma(Number.isFinite(event.gamma) ? event.gamma : 0)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 04 Replay - File: neural-link-between-agents/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/04-replay.mjs (JavaScript, 79 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/04-replay.mjs#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/0703.html#f3 - Synopsis: A JavaScript module in Neural Link Between Agents. It is built from the run step (`run`), the fix step (`fix`) and the tick step (`tick`). - What it achieves (name): Defines `replay`, `norm`, `angle` and 3 more. - What it does: It calculates its inputs. Defines 7 functions or classes, including replay, norm, angle, run, fix. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `replay(events)`; `norm(x)`; `angle(x)`; `run()`; `fix(at=0,extras={})`; `h(deg,at=0,extras={})`; `tick(at)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 05 Estimator - File: neural-link-between-agents/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/05-estimator.mjs (JavaScript, 54 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/05-estimator.mjs#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/0703.html#f4 - Synopsis: A JavaScript module in Neural Link Between Agents that calculates planar distances and angles. - What it achieves (name): It is built from the estimator step (`estimator`), the label step (`label`) and the metrics step (`metrics`). Defines `benchmark`, `norm`, `trace` and 3 more. - What it does: It calculates its inputs. Defines 6 functions or classes, including benchmark, norm, trace, estimator, label. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'estimator'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `benchmark()`; `norm(x)`; `trace(name,truth,observed,step=null)`; `estimator(kind)`; `label(h,previous,hyst)`; `metrics(kind,tr)` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 06 Reference - File: neural-link-between-agents/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/06-reference.mjs (JavaScript, 46 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/06-reference.mjs#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/0703.html#f5 - Synopsis: A JavaScript module in Neural Link Between Agents that calculates planar distances. It is built from the valid step (`valid`), the sigma step (`sigma`) and the convert step (`convert`). - What it achieves (name): Defines `benchmark`, `norm`, `delta` and 4 more. - What it does: It calculates its inputs. Defines 7 functions or classes, including benchmark, norm, delta, valid, sigma. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `benchmark()`; `norm(x)`; `delta(a,b)`; `valid(x)`; `sigma(h)`; `convert(s,m)`; `fail(reason)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 07 Lifecycle - File: neural-link-between-agents/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/07-lifecycle.mjs (JavaScript, 34 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/07-lifecycle.mjs#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/0703.html#f6 - Synopsis: A JavaScript module in Neural Link Between Agents that works with lifecycle benchmark (`lifecycleBenchmark`). - What it achieves (name): It is built from the lifecycle benchmark helper (`lifecycleBenchmark`), the stop step (`stop`) and the start step (`start`). Defines `lifecycleBenchmark`, `model`, `create` and 9 more. - What it does: Defines 13 functions or classes, including lifecycleBenchmark, eq, model, create, stop. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `lifecycleBenchmark()`; `eq(a,b,label)`; `model()`; `create()`; `stop(x,reason="stopped",phase="unavailable")`; `start(x,gesture,available=true)`; `resolve(x,token,result)`; `sample(x,token,t,value,quality=true)`; `read(x)`; `hide()`; `show()`; `leave()`; `restore()`; `scenario(fn)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 08 Relative - File: neural-link-between-agents/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/08-relative.mjs (JavaScript, 30 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/08-relative.mjs#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/0703.html#f7 - Synopsis: A JavaScript module in Neural Link Between Agents that works with valid angle (`validAngle`) and calculates angles. - What it achieves (name): It is built from the stable step (`stable`), the valid angle helper (`validAngle`) and the model step (`model`). Defines `benchmark`, `norm`, `nominal` and 4 more. - What it does: It calculates its inputs. Defines 7 functions or classes, including benchmark, norm, nominal, stable, validAngle. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `benchmark()`; `norm(x)`; `nominal(d)`; `stable(d,prev)`; `validAngle(x)`; `model()`; `fail(reason)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 09 Arrow - File: neural-link-between-agents/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/09-arrow.html (HTML, 11 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/09-arrow.html#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/0703.html#f8 - Synopsis: A web page in Neural Link Between Agents that draws SVG graphics. - What it achieves (comment): ORIENT-09 neutral study. - What it does: It draws its content. Defines $. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: Out: web page; SVG drawing. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `$(id)`; `render(s)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner, ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 09 Browser - File: neural-link-between-agents/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/09-browser.py (Python, 55 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/09-browser.py#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/0703.html#f9 - Synopsis: A Python module in Neural Link Between Agents. - What it achieves (name): Defines `check` and `lum`. - What it does: It loads data. Defines check, lum. Uses libraries pathlib, playwright.sync_api, json, math. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `check(group, ok)`; `lum(rgb)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 10 Camera - File: neural-link-between-agents/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/10-camera.mjs (JavaScript, 73 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/10-camera.mjs#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/0703.html#f10 - Synopsis: A JavaScript module in Neural Link Between Agents that creates controller (`createController`). It creates controller (`createController`) and is built from the camera study helper (`cameraStudy`) and the finite step (`finite`). - What it achieves (name): Defines `cameraStudy`, `norm`, `delta` and 10 more. - What it does: It calculates its inputs. Defines 15 functions or classes, including cameraStudy, norm, delta, finite, createController. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `cameraStudy()`; `norm(a)`; `delta(a,b)`; `finite(n)`; `createController(map)`; `fresh(s,age)`; `goodHeading(s)`; `goodFix(s)`; `tick(t)`; `check(v,m)`; `fixture()`; `write(p,owner)`; `h(deg,t=0,extra={})`; `f(at,t=0,extra={})`; `invariant()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 11 Modes Arrival - File: neural-link-between-agents/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/11-modes-arrival.mjs (JavaScript, 97 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/11-modes-arrival.mjs#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/0703.html#f11 - Synopsis: A JavaScript module in Neural Link Between Agents. It is built from the invalidate step (`invalidate`), the identity step (`identity`) and the same step (`same`). - What it achieves (name): Defines `study`, `norm`, `controller` and 12 more. - What it does: It calculates its inputs. Defines 15 functions or classes, including study, norm, controller, invalidate, identity. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `study()`; `norm(x)`; `controller()`; `invalidate()`; `identity()`; `same(k)`; `quality(f)`; `hGood()`; `eligible(f,m)`; `view()`; `check(x,m)`; `setup(mode="walking",verified=true)`; `route(c,extra={})`; `sample(c,t,extra={},mextra={})`; `compass(c,t,extra={})` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 12 Pedestrian - File: neural-link-between-agents/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/12-pedestrian.mjs (JavaScript, 53 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/12-pedestrian.mjs#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/0704.html#f1 - Synopsis: A JavaScript module in Neural Link Between Agents that calculates planar distances, using Dijkstra. - What it achieves (name): It is built from the key step (`key`), the bound step (`bound`) and the solve step (`solve`). Defines `study`, `check`, `permitted` and 7 more. - What it does: It calculates its inputs. Defines 10 functions or classes, including study, check, permitted, key, bound. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `study()`; `check(x,msg)`; `permitted(e,stepFree)`; `key(v,last)`; `bound(a,b)`; `solve(g,s,t,stepFree=false)`; `oracle(g,s,t,stepFree)`; `compare(g,s,t,stepFree=false,expected=undefined)`; `edge(id,a,b,m,o={})`; `named(name,h,s,t,expected,stepFree=false)`; `endpoint(candidates,accuracy)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 13 Driving - File: neural-link-between-agents/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/13-driving.mjs (JavaScript, 64 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/13-driving.mjs#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/0704.html#f2 - Synopsis: A JavaScript module in Neural Link Between Agents. It is built from the key step (`key`), the solve step (`solve`) and the fail step (`fail`). - What it achieves (name): Defines `study`, `check`, `legal` and 8 more. - What it does: It lists and searches its content. Defines 14 functions or classes, including study, check, e, legal, key. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `study()`; `check(x,m)`; `e(id,a,b,m,sec,extra={})`; `legal(x,v)`; `key(v,last)`; `solve(g,s,t,objective,v=vehicle)`; `fail(reason)`; `oracle(g,s,t,obj,v)`; `ok(x)`; `w(x)`; `compare(g,s,t,obj,v=vehicle,expected)`; `named(name,h,s,t,obj,expected,v=vehicle)`; `next(route,index,matched)`; `transition(state,ev)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 14 Integration Test - File: neural-link-between-agents/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/14-integration-test.mjs (JavaScript, 28 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/2026-12-02-SATNAV-ORIENT-20/FINDINGS/14-integration-test.mjs#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0704.html#f3 - Synopsis: A JavaScript module in Neural Link Between Agents that calculates planar distances. - What it achieves (name): Defines `exercise`, `load` and `msg`. - What it does: It tests its inputs. Defines exercise, load, msg. Uses libraries node:fs. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `exercise(source)`; `class E`; `load(u)`; `msg()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner, ai_agent · canonical_status: duplicate_candidate (duplicate of gridatlas/tools/proofs/202612030153-orient14.proof.mjs) · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 0; mentioned by 0 ### Handoff - File: neural-link-between-agents/SESSIONS/2026-12-04-SATNAV-KUIPER-20/handoff.mjs (JavaScript, 54 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/2026-12-04-SATNAV-KUIPER-20/handoff.mjs#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/0704.html#f4 - Synopsis: A JavaScript module in Neural Link Between Agents that works with immutable write (`immutableWrite`). It is built from the immutable write helper (`immutableWrite`). - What it achieves (name): Defines `handoff`, `endpoint` and `immutableWrite`. - What it does: It loads data. Defines handoff, gh, endpoint, immutableWrite, main. Uses libraries node:fs, node:child_process, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Handoff Test (neural-link-between-agents). - Signatures: `export handoff(input)`; `gh(args, body)`; `endpoint(repo,path)`; `immutableWrite(path,record)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Handoff Test - File: neural-link-between-agents/SESSIONS/2026-12-04-SATNAV-KUIPER-20/handoff.test.mjs (JavaScript, 17 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/2026-12-04-SATNAV-KUIPER-20/handoff.test.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/0704.html#f5 - Synopsis: A test in Neural Link Between Agents that checks Handoff. - What it does: It tests its inputs. Uses libraries node:assert/strict. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file AGENT-A-INVENTORY.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [JSON file AGENT-A-INVENTORY.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Audit Resolution - File: neural-link-between-agents/SESSIONS/SATNAV-02/audit_resolution.py (Python, 84 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/SATNAV-02/audit_resolution.py#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/0704.html#f6 - Synopsis: A Python command-line tool in Neural Link Between Agents that reads dictionary and command execution bindings, using SHA-256. - What it achieves (comment): It is built from the audit step (`audit`), the digest step (`digest`) and the save step (`save`). Read-only exhaustive command/sense audit; no package execution. It accepts `--out` and `--projection`. - What it does: It loads dictionary and command execution bindings. Defines audit, digest, save. Uses libraries argparse, hashlib, importlib.util, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file dictionary.json; JSON file command-execution-bindings.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `audit(root, output, projection=False)`; `digest(path)`; `save()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner, ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in [JSON file dictionary.json; JSON file command-execution-bindings.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 2026 11 28 Privacy Lifecycle Test - File: neural-link-between-agents/SESSIONS/SATNAV-05/2026-11-28-privacy-lifecycle.test.mjs (JavaScript, 32 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/SATNAV-05/2026-11-28-privacy-lifecycle.test.mjs#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/0704.html#f7 - Synopsis: A test in Neural Link Between Agents. - What it achieves (comment): SatNav-05 independent test receipt. Node 22; no dependencies. - What it does: It tests its inputs. Defines el. Uses libraries node:assert/strict. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `el(id)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Privacy Runner - File: neural-link-between-agents/SESSIONS/SATNAV-05/privacy_runner.py (Python, 79 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/SATNAV-05/privacy_runner.py#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/0704.html#f8 - Synopsis: A Python command-line tool in Neural Link Between Agents that uses SHA-256. It is built from the blob step (`blob`), the run step (`run`) and the save step (`save`). - What it achieves (comment): SatNav-05: replay existing mock lifecycle test on pinned inputs. - What it does: Defines blob, run, save, stage. Uses libraries hashlib, json, pathlib, re, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `blob(data)`; `run(app, test, output)`; `save()`; `stage(name, **details)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner, ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Audit Atlas V8 Deep Link Quarantine - File: pipelinenews/atman/202608271329-audit-atlas-v8-deep-link-quarantine.py (Python, 163 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608271329-audit-atlas-v8-deep-link-quarantine.py#L1-L163 - Page: https://code.globalgrid2050.com/explore-code/s/0704.html#f9 - Synopsis: A Python command-line tool in the atman folder of PipelineNews that loads pages gate (`load_pages_gate`) and parses arguments (`parse_arguments`). - What it achieves (comment): It is built from the require step (`require`), the git text helper (`git_text`) and the governed release helper (`governed_release`). Audit the committed Atlas V8 successor against the production Pages gate. It accepts `--root`, `--generation` and `--output-commit`. - What it does: It loads data. Defines 6 functions or classes, including require, git_text, load_pages_gate, governed_release, parse_arguments. Uses libraries __future__, argparse, json, os, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `require(condition: bool, message: str)`; `git_text(root: Path, *arguments: str)`; `load_pages_gate(root: Path)`; `governed_release(module, root: Path)`; `parse_arguments()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Compare Atlas V8 Deep Links - File: pipelinenews/atman/202608271329-compare-atlas-v8-deep-links.mjs (JavaScript, 169 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608271329-compare-atlas-v8-deep-links.mjs#L1-L169 - Page: https://code.globalgrid2050.com/explore-code/s/0705.html#f1 - Synopsis: A JavaScript module in the atman folder of PipelineNews that reads the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It parses adapter argument (`parseAdapterArgument`) and is built from the project decoder helper (`projectDecoder`) and the parameter order helper (`parameterOrder`). Defines `sha256`, `projectDecoder`, `parseAdapterArgument` and 2 more. - What it does: It loads the REPD register. Defines 6 functions or classes, including sha256, projectDecoder, parseAdapterArgument, parameterOrder, atlasParameters. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; command-line arguments. - Signatures: `sha256(bytes)`; `projectDecoder(payload)`; `parseAdapterArgument(argv)`; `parameterOrder(url)`; `atlasParameters(source, functionName)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Resolve GridAtlas Pointer - File: pipelinenews/atman/202608291504-resolve-gridatlas-pointer.mjs (JavaScript, 184 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608291504-resolve-gridatlas-pointer.mjs#L1-L184 - Page: https://code.globalgrid2050.com/explore-code/s/0705.html#f2 - Synopsis: A JavaScript module in the atman folder of PipelineNews that fetches fast site, using SHA-256 from GitHub API. It parses args (`parseArgs`), reads bundle (`readBundle`) and validates pointer bundle (`validatePointerBundle`). - What it achieves (name): Defines `parseArgs`, `sha256`, `record` and 4 more. - What it does: It fetches fast site. Defines 8 functions or classes, including parseArgs, sha256, record, githubJson, githubFile. Uses libraries node:assert/strict, node:crypto, node:child_process, node:fs/promises, node:path. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: GitHub API; JSON file current-v3.json; JSON file live-set.json; JSON file 202608271524-v8-fast-site-manifest.json; JSON file release-manifest.json; command-line arguments. - Downstream impact: Used directly by 1 file: Atlas Pointer Deep Link Successor (pipelinenews). - Signatures: `export validatePointerBundle(bundle, expectations = {})`; `export main(argv = process.argv.slice(2))`; `parseArgs(argv)`; `sha256(raw)`; `record(relative, raw)`; `githubJson(url, token)`; `githubFile(repository, commit, relative, token)`; `readBundle(args)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file current-v3.json; JSON file live-set.json; JSON file 202608271524-v8-fast-site-manifest.json; JSON file release-manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Verify Current Atlas V9 Deep Link - File: pipelinenews/atman/202608300309-verify-current-atlas-v9-deep-link.mjs (JavaScript, 328 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608300309-verify-current-atlas-v9-deep-link.mjs#L1-L328 - Page: https://code.globalgrid2050.com/explore-code/s/0705.html#f3 - Synopsis: A JavaScript module in the atman folder of PipelineNews that fetches diagnostic and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It writes JSON (`writeJson`) and is built from the page diagnostics helper (`pageDiagnostics`) and the dictionary step (`dictionary`). Activated for verified GridAtlas. - What it does: It fetches diagnostic and the REPD register. Defines writeJson, pageDiagnostics, dictionary, isKnownLegacyDuplicateEngineError. Uses libraries node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file -diagnostic.json; JSON file 202608291447-registry.json. - Downstream impact: Used directly by 2 files: PipelineNews Current GridAtlas V9 Deep Link Successor Workflow (pipelinenews); PipelineNews Resume Exact Atlas Pages Promotion Workflow (pipelinenews). - Signatures: `writeJson(path, value)`; `pageDiagnostics(page)`; `dictionary(name, index)`; `isKnownLegacyDuplicateEngineError(message)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file -diagnostic.json; JSON file 202608291447-registry.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Extend Pages Atlas Link V2 - File: pipelinenews/automation/202608301200-extend-pages-atlas-link-v2.py (Python, 363 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/automation/202608301200-extend-pages-atlas-link-v2.py#L1-L363 - Page: https://code.globalgrid2050.com/explore-code/s/0706.html#f1 - Synopsis: A Python command-line tool in the automation folder of PipelineNews that reads atlas link contract and atlas current, using SHA-256 from the GridAtlas repository. - What it achieves (comment): It replaces once (`replace_once`), validates current atlas link v2 (`validate_current_atlas_link_v2`) and validates current predecessor pointer (`validate_current_or_predecessor_pointer`). Extend the PipelineNews Pages gate for the current Atlas-link v2 release. - What it does: It loads atlas link contract and atlas current. Defines replace_once, main, _atlas_link_v2_outputs, validate_current_atlas_link_v2, validate_current_or_predecessor_pointer. Uses libraries pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data; JSON file atlas-link-manifest.json; JSON file build-manifest.json; JSON file release-manifest.json; JSON file live-set.json; JSON file current-v4.json; JSON file current-v3.json; JSON file atlas-v9-current.json. - Downstream impact: Used directly by 1 file: Repair Pages Historical Source Attestation V2 (pipelinenews). - Signatures: `replace_once(text: str, before: str, after: str, label: str)`; `main()`; `_atlas_link_v2_outputs(root: Path, folder_relative: str)`; `validate_current_atlas_link_v2(root: Path, release_id: str, generation: str, folder_relative: str, folder: Path, release_manifest_relative: str, rel...)`; `validate_current_or_predecessor_pointer(root: Path, timestamp_folder: dict)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file atlas-link-manifest.json; JSON file build-manifest.json; JSON file release-manifest.json; JSON file live-set.json; JSON file current-v4.json; JSON file current-v3.json; JSON file atlas-v9-current.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Compile V8 Atlas Deep Link - File: pipelinenews/index/202608271329-compile-v8-atlas-deep-link.mjs (JavaScript, 386 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/index/202608271329-compile-v8-atlas-deep-link.mjs#L1-L386 - Page: https://code.globalgrid2050.com/explore-code/s/0707.html#f1 - Synopsis: A JavaScript module in the index folder of PipelineNews that reads fast site and fast registry, using SHA-256 from the GridAtlas repository. - What it achieves (name): It replaces exactly (`replaceExactly`), reads pinned (`readPinned`) and decodes project (`decodeProject`). Its name says it compiles atlas deep link. Defines `absolute`, `sha256`, `jsonBytes` and 8 more. - What it does: It loads fast site and fast registry. Defines 12 functions or classes, including absolute, sha256, jsonBytes, replaceExactly, readPinned. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data; JSON file 202608270844-v8-fast-site-manifest.json; JSON file 202608270844-v8-fast-registry.json; JSON file 202608270844-9ab451f4bf19-v8-fast-news.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202608270055-8ab1807551bc-v8-fast-search.json; command-line arguments. - Signatures: `absolute(relativePath)`; `sha256(bytes)`; `jsonBytes(value)`; `replaceExactly(source, from, to, expectedCount = 1)`; `readPinned(relativePath)`; `decodeProject(payload, row)`; `dictionary(name)`; `rewriteRuntime(parentSource, cacheIdentity)`; `rewriteHtml(parentSource)`; `build()`; `argument(argv, name)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file 202608270844-v8-fast-site-manifest.json; JSON file 202608270844-v8-fast-registry.json; JSON file 202608270844-9ab451f4bf19-v8-fast-news.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202608270055-8ab1807551bc-v8-fast-search.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Compile Atlas V9 Deep Link - File: pipelinenews/index/202608291310-compile-atlas-v9-deep-link.mjs (JavaScript, 450 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/index/202608291310-compile-atlas-v9-deep-link.mjs#L1-L450 - Page: https://code.globalgrid2050.com/explore-code/s/0708.html#f1 - Synopsis: A JavaScript module in the index folder of PipelineNews that reads sector intelligence, audit, ledger receipt and part, using SHA-256 from the GridAtlas repository. - What it achieves (name): It parses args (`parseArgs`), reads pinned (`readPinned`) and replaces exactly (`replaceExactly`). Its name says it compiles atlas deep link. Defines `parseArgs`, `sha256`, `jsonBytes` and 9 more. - What it does: It loads sector intelligence, audit, ledger receipt and part. Defines 13 functions or classes, including parseArgs, sha256, jsonBytes, record, safePath. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data; JSON file 202608272130-sector-intelligence.json; JSON file 202608272130-parquet-audit.json; JSON file 202608272130-source-ledger-receipt.json; Parquet file 202608272130-part-000.parquet; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202608270055-8ab1807551bc-v8-fast-search.json; JSON file 202608271524-fd2212a8c76d-v8-fast-news.json. - Downstream impact: Used directly by 1 file: Atlas V9 Deep Link Successor (pipelinenews). - Signatures: `parseArgs(argv)`; `sha256(raw)`; `jsonBytes(value)`; `record(relative, raw)`; `safePath(root, relative)`; `readPinned(root, pin, label)`; `replaceExactly(source, needle, replacement, count = 1)`; `compileHtml(parentBytes)`; `compileRegistry(parent, sourceCommit, compilerRaw, cartridgeRaw, dependencies)`; `compileRuntime(parentBytes, cacheIdentity)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file 202608272130-sector-intelligence.json; JSON file 202608272130-parquet-audit.json; JSON file 202608272130-source-ledger-receipt.json; Parquet file 202608272130-part-000.parquet; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202608270055-8ab1807551bc-v8-fast-search.json; JSON file 202608271524-fd2212a8c76d-v8-fast-news.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Compile Atlas Pointer Deep Link - File: pipelinenews/index/202608291504-compile-atlas-pointer-deep-link.mjs (JavaScript, 505 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/index/202608291504-compile-atlas-pointer-deep-link.mjs#L1-L505 - Page: https://code.globalgrid2050.com/explore-code/s/0709.html#f1 - Synopsis: A JavaScript module in the index folder of PipelineNews that reads sector intelligence, audit, ledger receipt and part, using SHA-256 from the GridAtlas repository. - What it achieves (name): It parses args (`parseArgs`), reads pinned (`readPinned`) and replaces exactly (`replaceExactly`). Its name says it compiles atlas pointer deep link. Defines `parseArgs`, `sha256`, `jsonBytes` and 9 more. - What it does: It loads sector intelligence, audit, ledger receipt and part. Defines 13 functions or classes, including parseArgs, sha256, jsonBytes, record, safePath. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data; JSON file 202608272130-sector-intelligence.json; JSON file 202608272130-parquet-audit.json; JSON file 202608272130-source-ledger-receipt.json; Parquet file 202608272130-part-000.parquet; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202608270055-8ab1807551bc-v8-fast-search.json; JSON file 202608271524-fd2212a8c76d-v8-fast-news.json. - Downstream impact: Used directly by 1 file: Atlas Pointer Deep Link Successor (pipelinenews). - Signatures: `parseArgs(argv)`; `sha256(raw)`; `jsonBytes(value)`; `record(relative, raw)`; `safePath(root, relative)`; `readPinned(root, pin, label)`; `replaceExactly(source, needle, replacement, count = 1)`; `compileHtml(parentBytes)`; `compileRegistry(parent, sourceCommit, compilerRaw, cartridgeRaw, dependencies, receiver)`; `compileRuntime(parentBytes, cacheIdentity)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file 202608272130-sector-intelligence.json; JSON file 202608272130-parquet-audit.json; JSON file 202608272130-source-ledger-receipt.json; Parquet file 202608272130-part-000.parquet; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202608270055-8ab1807551bc-v8-fast-search.json; JSON file 202608271524-fd2212a8c76d-v8-fast-news.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Current Atlas Link Successor - File: pipelinenews/orchestration/202608300309-build-current-atlas-link-successor.py (Python, 303 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/orchestration/202608300309-build-current-atlas-link-successor.py#L1-L303 - Page: https://code.globalgrid2050.com/explore-code/s/0710.html#f1 - Synopsis: A Python command-line tool in the orchestration folder of PipelineNews that reads the Renewable Energy Planning Database (REPD) register, using SHA-256 from the GridAtlas repository. - What it achieves (comment): It loads JSON (`load_json`), validates atlas (`validate_atlas`) and verifies unchanged (`verify_unchanged`). Build a timestamped PipelineNews successor changing only the verified Atlas receiver. It accepts `--source`, `--output` and `--release-id`. - What it does: It loads the REPD register. Defines 8 functions or classes, including require, sha256, load_json, validate_atlas, pointer_module. Uses libraries __future__, argparse, hashlib, json, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file atlas-link-manifest.json; JSON file build-manifest.json; JSON file release-manifest.json; command-line arguments. Out: JSON file atlas-link-manifest.json; JSON file build-manifest.json; JSON file release-manifest.json. - Downstream impact: Used directly by 1 file: PipelineNews Current GridAtlas V9 Deep Link Successor Workflow (pipelinenews). - Signatures: `require(condition: bool, message: str)`; `sha256(path: Path)`; `load_json(path: Path)`; `validate_atlas(state: dict[str, Any], minimum_generation: str)`; `pointer_module(generation: str, atlas: dict[str, str], golden_repd_ref: str, state_url: str)`; `verify_unchanged(source: Path, target: Path)`; `write_manifests(target: Path, source_release_id: str, release_id: str, generation: str, source_commit: str, atlas: dict[str, str], go...)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file atlas-link-manifest.json; JSON file build-manifest.json; JSON file release-manifest.json; command-line arguments]; out [JSON file atlas-link-manifest.json; JSON file build-manifest.json; JSON file release-manifest.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Promote Current Atlas Link - File: pipelinenews/orchestration/202608300309-promote-current-atlas-link.py (Python, 223 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/orchestration/202608300309-promote-current-atlas-link.py#L1-L223 - Page: https://code.globalgrid2050.com/explore-code/s/0710.html#f2 - Synopsis: A Python command-line tool in the orchestration folder of PipelineNews that reads the Renewable Energy Planning Database (REPD) register, using SHA-256 from the GridAtlas repository. - What it achieves (comment): It validates atlas (`validate_atlas`) and is built from the require step (`require`) and the load step (`load`). Promote a publicly proven PipelineNews release bound to a verified Atlas V9 receiver. It accepts `--release-dir`, `--release-id` and `--generation`. - What it does: It loads the REPD register. Defines 6 functions or classes, including require, load, sha256, file_record, validate_atlas. Uses libraries __future__, argparse, hashlib, json, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file release-manifest.json; JSON file build-manifest.json; JSON file atlas-link-manifest.json; command-line arguments. - Downstream impact: Used directly by 2 files: PipelineNews Current GridAtlas V9 Deep Link Successor Workflow (pipelinenews); PipelineNews Resume Exact Atlas Pages Promotion Workflow (pipelinenews). - Signatures: `require(condition: bool, message: str)`; `load(path: Path)`; `sha256(path: Path)`; `file_record(path: Path, repository_path: str)`; `validate_atlas(state: dict[str, Any], minimum_generation: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file release-manifest.json; JSON file build-manifest.json; JSON file atlas-link-manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Repair Exact Renewable Energy Planning Database (REPD) Route - File: pipelinenews/orchestration/202608300358-repair-exact-repd-route.py (Python, 188 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/orchestration/202608300358-repair-exact-repd-route.py#L1-L188 - Page: https://code.globalgrid2050.com/explore-code/s/0711.html#f1 - Synopsis: A Python command-line tool in the orchestration folder of PipelineNews that reads atlas link and the REPD register, using SHA-256. - What it achieves (comment): It loads JSON (`load_json`), writes JSON (`write_json`) and replaces exactly once (`replace_exactly_once`). Repair PipelineNews exact-REPD routing without changing data, news, or project bytes. It accepts `--release-dir` and `--golden-repd-ref`. - What it does: It loads atlas link and the REPD register. Defines 8 functions or classes, including require, load_json, sha256, write_json, replace_exactly_once. Uses libraries __future__, argparse, hashlib, json, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file build-manifest.json; JSON file release-manifest.json; JSON file atlas-link-manifest.json; command-line arguments. - Downstream impact: Used directly by 1 file: PipelineNews Current GridAtlas V9 Deep Link Successor Workflow (pipelinenews). - Signatures: `require(condition: bool, message: str)`; `load_json(path: Path)`; `sha256(path: Path)`; `write_json(path: Path, value: dict[str, Any])`; `replace_exactly_once(source: str, before: str, after: str, label: str)`; `refresh_file_inventory(root: Path, build: dict[str, Any])`; `write_sha256sums(root: Path)`; `main()` - domain_stage: field_execution · commercial_user: IPP_developer, EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build-manifest.json; JSON file release-manifest.json; JSON file atlas-link-manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### PipelineNews Atlas Pointer Deep Link - File: pipelinenews/releases/202608312018-pipelinenews/assets/202608312018-atlas-pointer-deep-link.mjs (JavaScript, 249 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/202608312018-pipelinenews/assets/202608312018-atlas-pointer-deep-link.mjs#L1-L249 - Page: https://code.globalgrid2050.com/explore-code/s/0711.html#f2 - Synopsis: A JavaScript module in the assets folder that works with solar and uses data from the GridAtlas repository. - What it achieves (comment): It builds atlas v9 deep link (`buildAtlasV9DeepLink`) and is built from the invariant step (`invariant`) and the finite in range helper (`finiteInRange`). PipelineNews -> GridAtlas deep-link cartridge. - What it does: It calculates solar. Defines invariant, finiteInRange, buildAtlasV9DeepLink, selfTest, add. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file live-set.json. - Downstream impact: Used directly by 3 files: Releases — PipelineNews (pipelinenews); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 2 other entry points, including Releases — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202611132345-pipelinenews/); Genome Workflow (ventus-grid-engine). - Signatures: `export buildAtlasV9DeepLink(project)`; `export selfTest()`; `invariant(condition, message)`; `finiteInRange(value, limit)`; `add(name, ok, detail)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live-set.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 3; mentioned by 0 ### PipelineNews Codex Atlas Lab Proof - File: pipelinenews/releases/202609020010-pipelinenews/202609020010-codex-atlas-lab.proof.mjs (JavaScript, 123 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/202609020010-pipelinenews/202609020010-codex-atlas-lab.proof.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0711.html#f3 - Synopsis: A JavaScript module that reads the Renewable Energy Planning Database (REPD) register from the GridAtlas repository. - What it achieves (comment): It is built from the check step (`check`), the text step (`text`) and the JSON step (`json`). Executable acceptance proof for the isolated Codex MAP journey. - What it does: It loads the REPD register. Defines check, text, json, decode. Uses libraries node:fs/promises, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file release-manifest.json; JSON file 202608291447-registry.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file current.json. - Signatures: `check(name, condition, detail = '')`; `text(relative)`; `json(relative)`; `decode(row)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of pipelinenews/tools/intelligence/cartridges/atlas-live-handoff/proof.mjs) · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file release-manifest.json; JSON file 202608291447-registry.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Codex Atlas Lab Deep Link - File: pipelinenews/releases/202609020010-pipelinenews/assets/202609020010-codex-atlas-lab-deep-link.mjs (JavaScript, 96 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/202609020010-pipelinenews/assets/202609020010-codex-atlas-lab-deep-link.mjs#L1-L96 - Page: https://code.globalgrid2050.com/explore-code/s/0711.html#f4 - Synopsis: A JavaScript module in the assets folder that works with solar and uses data from the GridAtlas repository. - What it achieves (comment): It builds atlas v9 deep link (`buildAtlasV9DeepLink`) and is built from the invariant step (`invariant`) and the finite in range helper (`finiteInRange`). Pipeline News -> immutable Codex GridAtlas laboratory generation. - What it does: It calculates solar. Defines invariant, finiteInRange, buildAtlasV9DeepLink, selfTest. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar. - Inputs & outputs: In: JSON file current.json. - Signatures: `export buildAtlasV9DeepLink(project)`; `export selfTest()`; `invariant(condition, message)`; `finiteInRange(value, limit)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### JavaScript Atlas V8 Deep Link Cartridge - File: pipelinenews/releases/javascript/202608271329-atlas-v8-deep-link-cartridge.js (JavaScript, 79 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/javascript/202608271329-atlas-v8-deep-link-cartridge.js#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/0712.html#f1 - Synopsis: A JavaScript module in PipelineNews that works with solar. It builds atlas v8 deep link (`buildAtlasV8DeepLink`). - What it achieves (name): Defines `buildAtlasV8DeepLink`. - What it does: It calculates solar. Defines buildAtlasV8DeepLink. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: JavaScript V8 Fast Runtime (pipelinenews). Reached from 126 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). - Signatures: `export buildAtlasV8DeepLink(project)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### PipelineNews Sync Atlas V9 Deep Links - File: pipelinenews/scripts/202608300232-sync-atlas-v9-deep-links.py (Python, 234 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/scripts/202608300232-sync-atlas-v9-deep-links.py#L1-L234 - Page: https://code.globalgrid2050.com/explore-code/s/0712.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads GridAtlas current, atlas deep link audit, solar and battery storage (BESS). - What it achieves (comment): It normalises base (`normalise_base`), builds URL (`build_url`) and validates URL (`validate_url`). Synchronise PipelineNews mutable sources to the promoted Atlas V9 deep-link contract. It accepts `--gridatlas`, `--globalgrid` and `--repo-root`. - What it does: It loads GridAtlas current, atlas deep link audit, solar and battery storage (BESS). Defines 9 functions or classes, including require, load, normalise_base, mutable_files, rewrite_source. Uses libraries __future__, argparse, json, re, sys. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file live-set.json; JSON file gridatlas-v9-current.json; JSON file atlas-v9-current.json; JSON file atlas-v9-deep-link-audit.json; command-line arguments. - Downstream impact: Used directly by 2 files: PipelineNews Sync Atlas V9 Deep Links Workflow (pipelinenews); PipelineNews Bootstrap Five Hour Atlas Integration Workflow (pipelinenews). - Signatures: `require(condition: bool, message: str)`; `load(path: Path)`; `normalise_base(value: str, release_id: str)`; `mutable_files(root: Path)`; `rewrite_source(text: str, base_url: str)`; `build_url(base_url: str, repd_ref: str, technology: str, **optional: object)`; `validate_url(url: str, expected_ref: str, expected_technology: str)`; `javascript_module(release_id: str, base_url: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live-set.json; JSON file gridatlas-v9-current.json; JSON file atlas-v9-current.json; JSON file atlas-v9-deep-link-audit.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0 ### Verify Atlas Deep Link Contract - File: pipelinenews/tools/intelligence/202609012300-verify-atlas-deep-link-contract.mjs (JavaScript, 157 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/202609012300-verify-atlas-deep-link-contract.mjs#L1-L157 - Page: https://code.globalgrid2050.com/explore-code/s/0712.html#f3 - Synopsis: A JavaScript module in the intelligence folder of PipelineNews that reads cartridge. It is built from the check step (`check`) and the exists step (`exists`). - What it achieves (comment): The deep link is a contract, and this is the side of it Pipeline News owns. - What it does: It loads cartridge. Defines check, exists. Uses libraries node:fs/promises, node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file cartridge.json; JSON file current.json; command-line arguments. - Downstream impact: Used directly by 1 file: Shift (pipelinenews). - Signatures: `check(name, condition, detail = '')`; `exists(path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Atlas Pointer Deep Link - File: pipelinenews/tools/intelligence/cartridges/atlas-live-handoff/assets/{GEN}-atlas-pointer-deep-link.mjs (JavaScript, 252 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/atlas-live-handoff/assets/%7BGEN%7D-atlas-pointer-deep-link.mjs#L1-L252 - Page: https://code.globalgrid2050.com/explore-code/s/0713.html#f1 - Synopsis: A JavaScript module in the assets folder of PipelineNews that works with solar and uses data from the GridAtlas repository. - What it achieves (comment): It builds atlas v9 deep link (`buildAtlasV9DeepLink`) and is built from the invariant step (`invariant`) and the finite in range helper (`finiteInRange`). PipelineNews -> GridAtlas deep-link cartridge. Its code works with 132 kV. - What it does: It calculates solar. Defines invariant, finiteInRange, buildAtlasV9DeepLink, selfTest, add. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar, 132kV. - Inputs & outputs: In: JSON file live-set.json. Voltage levels named: 132kV. - Signatures: `export buildAtlasV9DeepLink(project)`; `export selfTest()`; `invariant(condition, message)`; `finiteInRange(value, limit)`; `add(name, ok, detail)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of pipelinenews/releases/202608312018-pipelinenews/assets/202608312018-atlas-pointer-deep-link.mjs) · essay_status: readme_derived - data_contracts: in [JSON file live-set.json]; out []; crs []; voltages [132kV] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Proof - File: pipelinenews/tools/intelligence/cartridges/atlas-live-handoff/proof.mjs (JavaScript, 160 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/atlas-live-handoff/proof.mjs#L1-L160 - Page: https://code.globalgrid2050.com/explore-code/s/0713.html#f2 - Synopsis: A JavaScript module in the atlas live handoff folder of PipelineNews that reads the Renewable Energy Planning Database (REPD) register from the GridAtlas repository. - What it achieves (comment): It is built from the check step (`check`), the text step (`text`) and the JSON step (`json`). Independent proof for the Pipeline News -> composed GridAtlas handoff. Its code works with 840 MW. - What it does: It loads the REPD register. Defines check, text, json, decode. Uses libraries node:fs/promises, node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file release-manifest.json; JSON file 202608291447-registry.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; command-line arguments. - Downstream impact: Used directly by 1 file: Shift (pipelinenews). - Signatures: `check(name, condition, detail = '')`; `text(relative)`; `json(relative)`; `decode(row)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file release-manifest.json; JSON file 202608291447-registry.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Atlas Pointer Deep Link - File: pipelinenews/tools/intelligence/cartridges/map-corpus-contract/assets/{GEN}-atlas-pointer-deep-link.mjs (JavaScript, 128 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/map-corpus-contract/assets/%7BGEN%7D-atlas-pointer-deep-link.mjs#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/0713.html#f3 - Synopsis: A JavaScript module in the assets folder of PipelineNews that works with the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. - What it achieves (comment): It builds atlas v9 deep link (`buildAtlasV9DeepLink`) and is built from the number in range helper (`numberInRange`) and the project fields helper (`projectFields`). One fail-closed Pipeline News -> GridAtlas transport contract. - What it does: It calculates the REPD register. Defines numberInRange, projectFields, buildAtlasV9DeepLink, selfTest, check. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Wider Fleet (pipelinenews). - Signatures: `export buildAtlasV9DeepLink(project)`; `export selfTest()`; `numberInRange(value, minimum, maximum)`; `projectFields(project)`; `check(name, ok)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/pipelinenews_intelligence/202609040144/assets/202609040044-atlas-pointer-deep-link.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Wider Fleet - File: pipelinenews/tools/intelligence/cartridges/map-corpus-contract/assets/{GEN}-wider-fleet.mjs (JavaScript, 532 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/map-corpus-contract/assets/%7BGEN%7D-wider-fleet.mjs#L1-L532 - Page: https://code.globalgrid2050.com/explore-code/s/0714.html#f1 - Synopsis: A JavaScript module in the assets folder of PipelineNews that writes deep link (`writeDeepLink`) and selects technology (`selectTechnology`), covering the Renewable Energy Planning Database (REPD) register, solar, postcodes and wind. - What it achieves (comment): It maps links row (`mapLinksForRow`), maps actions (`mapActions`) and renders wider (`renderWider`). The REPD technology types the spine does not carry, behind ONE labelled control in the product's own technology row. It responds to change and click events. - What it does: It draws the REPD register, solar, postcodes and wind. Defines 15 functions or classes, including esc, repdRecords, mapLinksForRow, mapActions, displayRefs. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, postcodes, wind. - Inputs & outputs: In: form fields (user input). Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export mapLinksForRow(row)`; `export mountWiderFleet({ host, payloadAsset, presentSummary })`; `esc(value)`; `repdRecords(row)`; `mapActions(row)`; `displayRefs(row)`; `displayStatuses(row)`; `num(value)`; `carried(value)`; `declineExport(request, technology, shown)`; `visible()`; `clearWider()`; `renderWider()`; `writeDeepLink(type)`; `selectTechnology(type)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/testcode/202609060340/pipeline/assets/202609040044-wider-fleet.mjs) · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Prepare - File: pipelinenews/tools/intelligence/cartridges/map-corpus-contract/prepare.mjs (JavaScript, 155 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/map-corpus-contract/prepare.mjs#L1-L155 - Page: https://code.globalgrid2050.com/explore-code/s/0714.html#f2 - Synopsis: A JavaScript module in the map corpus contract folder of PipelineNews that reads wider fleet and the Renewable Energy Planning Database (REPD) register from the GridAtlas repository. - What it achieves (comment): It maps links row (`mapLinksForRow`) and maps actions (`mapActions`). Deterministically derive the deduplicated wider payload and its UI module. - What it does: It loads wider fleet and the REPD register. Defines 9 functions or classes, including identity, esc, atlasLink, esc, repdRecords. Uses libraries node:fs/promises, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file 202609030009-wider-fleet.json. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `export mapLinksForRow(row)`; `identity(row)`; `esc(value)`; `atlasLink(row)`; `repdRecords(row)`; `mapActions(row)`; `displayRefs(row)`; `displayStatuses(row)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file 202609030009-wider-fleet.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Proof - File: pipelinenews/tools/intelligence/cartridges/map-corpus-contract/proof.mjs (JavaScript, 244 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/map-corpus-contract/proof.mjs#L1-L244 - Page: https://code.globalgrid2050.com/explore-code/s/0715.html#f1 - Synopsis: A JavaScript module in the map corpus contract folder of PipelineNews that reads wider fleet, using SHA-256. - What it achieves (comment): It is built from the check step (`check`), the text step (`text`) and the JSON step (`json`). Prove every coordinate-bearing source row and the exact Grid receiver API. Its code works with 47.30 MW. - What it does: It loads wider fleet. Defines 7 functions or classes, including check, text, json, sha256, decode. Uses libraries node:child_process, node:crypto, node:fs, node:fs/promises, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608291447-registry.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202609030009-wider-fleet.json; command-line arguments. - Downstream impact: Used directly by 1 file: PipelineNews Map Corpus Contract Workflow (pipelinenews). - Signatures: `check(name, condition, detail = "")`; `text(relative)`; `json(relative)`; `sha256(bytes)`; `decode(row)`; `canonicalName(value)`; `identity(row)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608291447-registry.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202609030009-wider-fleet.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Workflow Proof - File: pipelinenews/tools/intelligence/cartridges/map-corpus-contract/workflow-proof.mjs (JavaScript, 34 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/map-corpus-contract/workflow-proof.mjs#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/0715.html#f2 - Synopsis: A JavaScript module in the map corpus contract folder of PipelineNews. - What it does: It loads data. Uses libraries node:fs/promises, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### UI Atlas V9 Deep Links - File: pipelinenews/ui/atlas-v9-deep-links.js (JavaScript, 21 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/atlas-v9-deep-links.js#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0715.html#f3 - Synopsis: A JavaScript file in PipelineNews using data from the GridAtlas repository. It builds atlas v9 URL (`buildAtlasV9Url`). - What it achieves (name): Defines `buildAtlasV9Url`. - What it does: Defines buildAtlasV9Url. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: PipelineNews Sync Atlas V9 Deep Links Workflow (pipelinenews). - Signatures: `buildAtlasV9Url(project)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Atlas V8 Deep Link - File: pipelinenews/ui/cartridges/202608271329-atlas-v8-deep-link.mjs (JavaScript, 79 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/cartridges/202608271329-atlas-v8-deep-link.mjs#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/0715.html#f4 - Synopsis: A JavaScript module in the cartridges folder of PipelineNews that works with solar and uses data from the GridAtlas repository. - What it achieves (name): Defines `buildAtlasV8DeepLink`. - What it does: It calculates solar. Defines buildAtlasV8DeepLink. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Compare Atlas V8 Deep Links (pipelinenews). - Signatures: `export buildAtlasV8DeepLink(project)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Atlas V9 Deep Link - File: pipelinenews/ui/cartridges/202608291310-atlas-v9-deep-link.mjs (JavaScript, 66 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/cartridges/202608291310-atlas-v9-deep-link.mjs#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/0715.html#f5 - Synopsis: A JavaScript module in the cartridges folder of PipelineNews that works with the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. - What it achieves (name): Defines `buildAtlasV9DeepLink`. - What it does: It calculates the REPD register. Defines buildAtlasV9DeepLink. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Signatures: `export buildAtlasV9DeepLink(project)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Atlas Pointer Deep Link - File: pipelinenews/ui/cartridges/202608291504-atlas-pointer-deep-link.mjs (JavaScript, 92 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/cartridges/202608291504-atlas-pointer-deep-link.mjs#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/0715.html#f6 - Synopsis: A JavaScript module in the cartridges folder of PipelineNews that uses SHA-256. It builds atlas v9 deep link (`buildAtlasV9DeepLink`). - What it achieves (name): Defines `invariant` and `buildAtlasV9DeepLink`. - What it does: It calculates its inputs. Defines invariant, buildAtlasV9DeepLink. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `export buildAtlasV9DeepLink(project)`; `invariant(condition, message)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Preview — Nav - File: satnav/preview/9698781539e549deaa6ecaa4a2b34610c1f9fd29/nav/app.mjs (JavaScript, 63 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/satnav/blob/ea69138ca5d5a9632233220e5cbe1cd3f1c83432/preview/9698781539e549deaa6ecaa4a2b34610c1f9fd29/nav/app.mjs#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/0715.html#f7 - Synopsis: A JavaScript module in SatNav that sets target (`setTarget`). It sets target (`setTarget`) and is built from the stop step (`stop`). - What it achieves (name): Defines `setTarget`, `render`, `acquire` and 1 more. It responds to submit, release and visibilitychange events. - What it does: Defines el, setTarget, render, acquire, stop. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'nav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Signatures: `el(id)`; `setTarget(t)`; `render()`; `acquire()`; `stop(message='Location stopped')` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Compass - File: satnav/preview/9698781539e549deaa6ecaa4a2b34610c1f9fd29/nav/compass.mjs (JavaScript, 18 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/satnav/blob/ea69138ca5d5a9632233220e5cbe1cd3f1c83432/preview/9698781539e549deaa6ecaa4a2b34610c1f9fd29/nav/compass.mjs#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/0715.html#f8 - Synopsis: A JavaScript module in the nav folder of SatNav that works with fix quality (`fixQuality`). It is built from the fix quality helper (`fixQuality`) and the guide step (`guide`). - What it achieves (code): Its `fixQuality` function gives location fix quality from longitude latitude accuracy timestamp fix and optional reference time ms (VEDIC: check location fix). - What it does: It calculates its inputs. Defines fixQuality, guide. - Why it exists in the grid workflow: Domain stage field_execution (path word 'compass'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Preview — Nav (satnav). - Signatures: `export fixQuality(fix,now=Date.now())`; `export guide(fix,target,now=Date.now())` - VEDIC: CHECK LOCATION FIX (GG2050-VEDIC-000062): SatNav · Location and navigation data. longitude_latitude_accuracy_timestamp_fix, reference_time_ms_optional -> location_fix_quality - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### SatNav — Scope Page - File: satnav/scope/index.html (HTML, 63 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/satnav/blob/ea69138ca5d5a9632233220e5cbe1cd3f1c83432/scope/index.html#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/0715.html#f9 - Published at: https://ventusltd.github.io/satnav/scope/ - Synopsis: A web page that draws pipeline headlines snapshot, solar, battery storage (BESS) and LiDAR terrain, and uses data from the GridAtlas, kuiper-belt and ventus-grid-engine repositories. Published at https://ventusltd.github.io/satnav/scope/. - What it achieves (comment): It sets reading (`setReading`) and is built from the safe link helper (`safeLink`) and the valid step (`valid`). UK electricity infrastructure navigation in development, with a GPS field compass test preview. It responds to click, focusin and pointerdown events. - What it does: It draws pipeline headlines snapshot, solar, battery storage (BESS) and LiDAR terrain. Defines safeLink, valid, render, setReading, load. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage field_execution (repository name word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: solar, battery storage (BESS), LiDAR terrain. - Inputs & outputs: In: data source: gridatlas data; data source: kuiper-belt data; data source: ventus-grid-engine data; data source: globalgrid2050 data; JSON file pipeline_headlines.json; JSON file pipeline_headlines.snapshot.json. Out: web page. - Downstream impact: Used directly by 3 files: Build (cosmic); SatNav Public Scope Served Workflow (satnav); SatNav Public Scope Workflow (satnav). Reached from 4 other entry points, including Cadastre 27 (cosmic); Ship (cosmic); Test Build (cosmic). It is itself an entry point, published at https://ventusltd.github.io/satnav/scope/. - Signatures: `safeLink(value)`; `valid(doc)`; `render(doc,saved)`; `setReading(on)`; `load(url)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: kuiper-belt data; data source: ventus-grid-engine data; data source: globalgrid2050 data; JSON file pipeline_headlines.json; JSON file pipeline_headlines.snapshot.json]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 3; mentioned by 0 ### GPU Check - File: soil/gpu_check.py (Python, 49 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/soil/blob/d26288ed03df533507739b9f218358fc7aa36a01/gpu_check.py#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/0716.html#f1 - Synopsis: A Python module in Soil that reads sssi and provenance, using SHA-256. It is built from the classify step (`classify`) and the polygon step (`polygon`). - What it achieves (comment): Bounded double-precision GPU screening of imported conservation polygons. - What it does: It loads sssi and provenance. Defines classify, polygon. Uses libraries json, hashlib, time, pathlib, numpy. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'soil'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. README: "`gpu_check.py`: CuPy polygon membership checked against an independent CPU winding-angle calculation, plus labelled thermal-unit fixtures." - Inputs & outputs: In: GeoJSON file sssi.geojson; JSON file provenance.json. Out: JSON file checks.json. - Signatures: `classify(points,ring)`; `polygon(points,rings)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file sssi.geojson; JSON file provenance.json]; out [JSON file checks.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Import Environment - File: soil/import_environment.py (Python, 112 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/soil/blob/d26288ed03df533507739b9f218358fc7aa36a01/import_environment.py#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0716.html#f2 - Synopsis: A Python command-line tool in Soil that fetches environment sources, service, count and sssi, using EPSG:4326 and SHA-256 from arcgis.com. It is built from the fetch step (`fetch`). - What it achieves (comment): Download a bounded, provenance-preserving Natural England SSSI polygon sample. It accepts `--bbox` and `--output`. - What it does: It fetches environment sources, service, count and sssi. Defines main, fetch. Uses libraries argparse, hashlib, json, math, datetime. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'soil'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. README: "`import_environment.py`: bounded Natural England SSSI polygon import for conservation context." - Inputs & outputs: In: data source: arcgis.com; JSON file environment_sources.json; JSON file service.json; JSON file item.json; JSON file layer.json; JSON file count.json; GeoJSON file sssi.geojson; command-line arguments. Out: JSON file provenance.json. Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()`; `fetch(url, filename, params=None)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: arcgis.com; JSON file environment_sources.json; JSON file service.json; JSON file item.json; JSON file layer.json; JSON file count.json; GeoJSON file sssi.geojson; command-line arguments]; out [JSON file provenance.json]; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Import Soil - File: soil/import_soil.py (Python, 42 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/soil/blob/d26288ed03df533507739b9f218358fc7aa36a01/import_soil.py#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/0716.html#f3 - Synopsis: A Python command-line tool that fetches soil sources, catalogue and provenance, using SHA-256. - What it achieves (comment): Bounded UKCEH metadata import; measurements remain explicitly pending. It accepts `--output` and `--offline`. - What it does: It fetches soil sources, catalogue and provenance. Defines main. Uses libraries argparse, datetime, hashlib, json, pathlib. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'soil'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. README: "`import_soil.py`: bounded UKCEH metadata import." - Inputs & outputs: In: JSON file soil_sources.json; command-line arguments. Out: JSON file catalogue.json; JSON file provenance.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file soil_sources.json; command-line arguments]; out [JSON file catalogue.json; JSON file provenance.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Thermal - File: soil/test_thermal.py (Python, 43 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/soil/blob/d26288ed03df533507739b9f218358fc7aa36a01/test_thermal.py#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/0716.html#f4 - Synopsis: A test in Soil that checks Thermal. It is built from the thermal tests class (`ThermalTests`). - What it achieves (comment): Unit and provenance checks; fixture values are arithmetic scenarios, not soils. - What it does: It tests its inputs. Defines ThermalTests, test_reciprocal_units_and_round_trip, test_reject_invalid_and_overflow, test_record_preserves_evidence_and_conditioning, test_reject_wrong_quantity_and_missing_provenance. Uses libraries math, unittest. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'soil'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class ThermalTests`; `test_reciprocal_units_and_round_trip(self)`; `test_reject_invalid_and_overflow(self)`; `test_record_preserves_evidence_and_conditioning(self)`; `test_reject_wrong_quantity_and_missing_provenance(self)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Thermal - File: soil/thermal.py (Python, 70 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/soil/blob/d26288ed03df533507739b9f218358fc7aa36a01/thermal.py#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/0716.html#f5 - Synopsis: A Python module in Soil that works with cables. It converts record (`convert_record`) and is built from the conductivity to resistivity helper (`conductivity_to_resistivity`). - What it achieves (comment): Scalar/isotropic soil thermal-property conversion; no cable ampacity model. - What it does: It calculates cables. Defines _positive_finite, conductivity_to_resistivity, convert_record. Uses libraries copy, math, numbers. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'soil'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: Used directly by 2 files: GPU Check (soil); Test Thermal (soil). - Signatures: `_positive_finite(value, name)`; `conductivity_to_resistivity(values)`; `convert_record(record)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Estate Survey - File: spiders/tools/estate-survey.mjs (JavaScript, 503 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/tools/estate-survey.mjs#L1-L503 - Page: https://code.globalgrid2050.com/explore-code/s/0716.html#f6 - Synopsis: A JavaScript module in the tools folder of Spiders that uses SHA-256 using data from GitHub API. It parses JSON (`parseJson`), validates registry (`validateRegistry`) and fetches JSON (`fetchJson`). - What it achieves (name): Defines `valueAfter`, `portable`, `sha256` and 13 more. - What it does: It fetches data. Defines 17 functions or classes, including valueAfter, portable, sha256, byteCompare, shardFor. Uses libraries node:crypto, node:fs, node:path. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; command-line arguments. - Downstream impact: Used directly by 1 file: Estate Survey Workflow (spiders). - Signatures: `valueAfter(flag)`; `portable(path)`; `sha256(bytes)`; `byteCompare(left, right)`; `shardFor(owner, name, count)`; `stableWrite(path, value)`; `parseJson(path, label)`; `validateRegistry(path)`; `localReceipt(path)`; `fetchJson(url, token)`; `fixtureReader(path)`; `liveReader(owner, token, repository)`; `normaliseObservation(repository, raw)`; `surveyShard(registryPath, shardIndex, fixturePath)`; `findingRows(observation)`; `aggregate(registryPath, localPath, shardPaths)`; `main()`; `shards(valueAfter('--shards') || '')` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Estate Survey - File: spiders/tools/test-estate-survey.mjs (JavaScript, 150 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/tools/test-estate-survey.mjs#L1-L150 - Page: https://code.globalgrid2050.com/explore-code/s/0717.html#f2 - Synopsis: A JavaScript module in the tools folder of Spiders that tests estate survey registry, fixture incomplete, local repeated and aggregate failed. - What it achieves (name): Defines `assert`, `run` and `read`. - What it does: It tests estate survey registry, fixture incomplete, local repeated and aggregate failed. Defines assert, run, read. Uses libraries node:fs, node:os, node:path, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file 20260904-estate-survey-registry.json; JSON file fixture.json; JSON file local.json; JSON file local-repeated.json; JSON file aggregate.json; JSON file shard-0-repeated.json; JSON file fixture-incomplete.json; JSON file shard-failed.json. - Downstream impact: Used directly by 1 file: Estate Survey Workflow (spiders). - Signatures: `assert(condition, message)`; `run(arguments_)`; `read(path)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file 20260904-estate-survey-registry.json; JSON file fixture.json; JSON file local.json; JSON file local-repeated.json; JSON file aggregate.json; JSON file shard-0-repeated.json; JSON file fixture-incomplete.json; JSON file shard-failed.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GridAtlas Build Part - File: teleprinter/drivers/gridatlas/build-part.mjs (JavaScript, 197 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/gridatlas/build-part.mjs#L1-L197 - Page: https://code.globalgrid2050.com/explore-code/s/0717.html#f3 - Synopsis: A JavaScript module in the drivers folder of Teleprinter that uses SHA-256. It is built from the flatten step (`flatten`) and the normalise step (`normalise`). - What it achieves (comment): Vendor the GridAtlas Teleprinter drivers into one GridAtlas cartridge part. --------------------------------------------------------------------------- GridAtlas ships an immutable shell plus hashed cartridges, and a cartridge is ONE classic script assembled from a list of parts. - What it does: It loads data. Defines flatten, normalise. Uses libraries node:fs/promises, node:crypto, node:path, node:child_process, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; command-line arguments. - Signatures: `flatten(name, text)`; `normalise(text)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GridAtlas CI - File: teleprinter/drivers/gridatlas/ci.mjs (JavaScript, 236 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/gridatlas/ci.mjs#L1-L236 - Page: https://code.globalgrid2050.com/explore-code/s/0718.html#f1 - Synopsis: A JavaScript module in the drivers folder of Teleprinter that uses SHA-256 using data from the npm repository. - What it achieves (comment): It is built from the record step (`record`), the parses step (`parses`) and the git step (`git`). One command, a JSON verdict, and an exit code — so the same check runs on this laptop, in a hook, or in a workflow, and gives the same answer. - What it does: It loads data. Defines record, parses, git. Uses libraries node:fs/promises, node:child_process, node:crypto, node:os, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: npm data; JSON file current.json; command-line arguments. - Signatures: `record(name, ok, detail)`; `parses(file)`; `git(args)`; `text((out.stdout || '') + (out.stderr || ''))`; `said((out.stdout || '') + (out.stderr || ''))`; `pass(text.match(/^)`; `fail(text.match(/^)`; `firstError(text.match(/(ReferenceError|TypeError|AssertionError)[^\n]*/) || [])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: npm data; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GridAtlas Wiring - File: teleprinter/drivers/gridatlas/gridatlas-wiring.js (JavaScript, 177 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/gridatlas/gridatlas-wiring.js#L1-L177 - Page: https://code.globalgrid2050.com/explore-code/s/0718.html#f2 - Synopsis: A JavaScript file in the drivers folder of Teleprinter that works with status line (`statusLine`) and begin preparing (`beginPreparing`). - What it achieves (comment): It is built from the status line helper (`statusLine`), the say step (`say`) and the begin preparing helper (`beginPreparing`). WIRING: put the two functions in the File menu, and nowhere else. -------------------------------------------------------------------------- The reader already knows where printing lives -- they found it once and printed a sheet from it. It responds to click events. - What it does: It draws its content. Defines statusLine, say, beginPreparing, button, install. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `statusLine(anchor)`; `say(text)`; `beginPreparing()`; `button(label, id, onClick)`; `install()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GridAtlas Print PDF - File: teleprinter/drivers/gridatlas/print-pdf.js (JavaScript, 191 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/gridatlas/print-pdf.js#L1-L191 - Page: https://code.globalgrid2050.com/explore-code/s/0718.html#f3 - Synopsis: A JavaScript module in the drivers folder of Teleprinter that works with screen PDF (`screenPdf`). - What it achieves (comment): It is built from the bytes step (`bytes`), the join step (`join`) and the PDF string helper (`pdfString`). PRINT PDF -- one PDF unit per captured pixel, and a strip that says where it came from. --------------------------------------------------------------------------- This is the FIRST of the two Teleprinter functions and it is entirely separate from the second. Its code works with 400 kV. - What it does: It draws its content. Defines 6 functions or classes, including bytes, join, pdfString, deflate, screenPdf. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: Voltage levels named: 400kV. - Downstream impact: Used directly by 1 file: GridAtlas Smoke Test (teleprinter). - Signatures: `export screenPdf(frame, note = {})`; `export printPdf({ capture, note = {}, filename } = {})`; `bytes(text)`; `join(parts)`; `pdfString(text)`; `deflate(data)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GridAtlas Print Source Code - File: teleprinter/drivers/gridatlas/print-source-code.js (JavaScript, 549 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/gridatlas/print-source-code.js#L1-L549 - Page: https://code.globalgrid2050.com/explore-code/s/0719.html#f1 - Synopsis: A JavaScript module in the drivers folder of Teleprinter covering the Renewable Energy Planning Database (REPD) register and uses data from the npm repository. - What it achieves (comment): It reads text (`readText`), collects source code (`collectSourceCode`) and downloads text (`downloadText`). PRINT SOURCE CODE -- the entire source and its dependencies, as the browser actually has them, in one plain text file an AI can read. --------------------------------------------------------------------------- This is the SECOND Teleprinter function and it shares nothing with the first. It responds to click events. - What it does: It draws the REPD register. Defines 12 functions or classes, including textual, readText, screenState, discover, add. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. README: "Its controls say Print, Print source code, Copy source code, and, where supported, Share source code." - Inputs & outputs: In: data source: npm data. - Downstream impact: Used directly by 1 file: GridAtlas Smoke Test (teleprinter). - Signatures: `export collectSourceCode({ appName = 'GridAtlas', inlineDom = true } = {})`; `export prepareSourceCode(options = {})`; `export deliverSourceCode(collected, { prefer, panel = true } = {})`; `export printSourceCode(options = {})`; `textual(url, type)`; `readText(url)`; `screenState()`; `text((label && label.textContent) || node.name || node.id || '')`; `discover()`; `add(url, how)`; `missing(targets.overflow || [])`; `downloadText(text, filename)`; `showTeleprintPanel(text, filename, parts)`; `button(label)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: npm data]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GridAtlas Screen Frame - File: teleprinter/drivers/gridatlas/screen-frame.js (JavaScript, 290 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/gridatlas/screen-frame.js#L1-L290 - Page: https://code.globalgrid2050.com/explore-code/s/0720.html#f1 - Synopsis: A JavaScript module in the drivers folder of Teleprinter that stops tracks (`stopTracks`) and draws on a canvas. - What it achieves (comment): It stops tracks (`stopTracks`) and is built from the pixels from source helper (`pixelsFromSource`) and the from display helper (`fromDisplay`). One job, and one refusal. - What it does: It draws its content. Defines stopTracks, pixelsFromSource, fromDisplay, screenFrame. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: canvas drawing; SVG drawing. - Downstream impact: Used directly by 1 file: GridAtlas Print PDF (teleprinter). - Signatures: `export screenFrame({ capture } = {})`; `stopTracks(stream)`; `pixelsFromSource(source, width, height)`; `fromDisplay()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing; SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GridAtlas Smoke Test - File: teleprinter/drivers/gridatlas/smoke.test.mjs (JavaScript, 130 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/gridatlas/smoke.test.mjs#L1-L130 - Page: https://code.globalgrid2050.com/explore-code/s/0720.html#f2 - Synopsis: A test in the drivers folder of Teleprinter that checks GridAtlas Print Source Code and GridAtlas Print PDF. - What it achieves (comment): It is built from the install browser helper (`installBrowser`) and the node step (`node`). On `print-source-code.js` referenced three identifiers that were never defined -- `headerLines`, `fileBlocks` and `splitIntoVolumes`, each appearing exactly ONCE in the file. - What it does: It tests its inputs. Defines installBrowser, node. Uses libraries node:test, node:assert/strict. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `installBrowser({ resources = [] } = {})`; `node(tag)`; `setAttribute()`; `appendChild(child)`; `removeChild(child)`; `focus()`; `getBoundingClientRect()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (dynamic-import 2); used by 0; mentioned by 0 ### GridAtlas Lightning Immutable Test - File: testcode/drivers/gridatlas-lightning-immutable.test.mjs (JavaScript, 100 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/drivers/gridatlas-lightning-immutable.test.mjs#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/0720.html#f3 - Synopsis: A test in the drivers folder of Testcode that uses SHA-256. It is built from the file step (`file`), the JSON step (`json`) and the hash step (`hash`). - What it achieves (comment): Independent GridAtlas Lightning candidate preservation audit. - What it does: It tests its inputs. Defines file, json, hash, get. Uses libraries node:test, node:assert/strict, node:fs, node:path, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file -composition.json. - Downstream impact: Used directly by 1 file: GridAtlas Lightning Independent Workflow (testcode). - Signatures: `file(p)`; `json(p)`; `hash(b)`; `get(j,id)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file -composition.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Menu Map - File: testcode/drivers/menu-map.mjs (JavaScript, 192 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/drivers/menu-map.mjs#L1-L192 - Page: https://code.globalgrid2050.com/explore-code/s/0721.html#f1 - Synopsis: A JavaScript module in the drivers folder of Testcode that reads engines. It is built from the check step (`check`). - What it achieves (comment): Map every menu on every surface, offline. - What it does: It loads engines. Defines check. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`drivers/menu-map.mjs` maps every menu on every surface from the composed bytes in the local clones — never the network, never a part that might not have been composed — and emits `menu-map.json`." - Inputs & outputs: In: JSON file current.json; JSON file engines.json. Out: JSON file menu-map.json. - Downstream impact: Used directly by 1 file: Testcode Workflow (testcode). - Signatures: `check(name, ok, detail = '')`; `entry(current.cartridges || [])`; `menus(composed.match(/var MENUS = \[([^\]]+)\]/)`; `expected(registry.surfaces || [])`; `gaps(registry.surfaces || [])` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file engines.json]; out [JSON file menu-map.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Menu Bar - File: testcode/sandbox/202609052028/atlas/source/menu-bar.js (JavaScript, 1478 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609052028/atlas/source/menu-bar.js#L1-L1478 - Page: https://code.globalgrid2050.com/explore-code/s/0721.html#f2 - Synopsis: A JavaScript file in the source folder of Testcode that draws engine graph and uses data from the ventus-grid-engine, data-federation-map-for-GlobalGrid2050-all-repos and spiders repositories. - What it achieves (comment): It cleans text (`cleanText`), syncs attrib clearance (`syncAttribClearance`) and syncs layer (`syncLayer`). V9.94 proved that the conventional menu is the right shape and the wrong implementation can still strand the product. It responds to click, keydown and afterprint events. - What it does: It draws engine graph. Defines 42 functions or classes, including array, cleanText, layerKey, layerLabel, layerGroup. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; JSON file engine-graph.json; form fields (user input). Out: downloaded file gridatlas-; canvas drawing. - Signatures: `NS(window.__GRIDATLAS_MODULES__ = window.__GRIDATLAS_MODULES__ || {})`; `array(value)`; `cleanText(value)`; `layerKey(input)`; `layerLabel(input)`; `layerGroup(input)`; `inventory(doc)`; `required(doc)`; `installStyle(doc)`; `syncAttribClearance(doc)`; `closeAll(focusTitle)`; `syncLayer(key)`; `syncAll()`; `clampPanel(doc, menu, panel)`; `vw(view && view.innerWidth)`; `openMenu(menu, title, panel)`; `buildBar(doc)`; `appendGroup(panel, text)`; `appendEngineModules(panel)`; `nodes(graph && graph.nodes)`; `kindLabels(graph && graph.kind_labels)`; `done(ok)`; `appendStudies(panel)`; `exportStamp()`; `attributionText(doc)` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: spiders data; JSON file engine-graph.json; form fields (user input)]; out [downloaded file gridatlas-; canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Sandbox — Atlas Page - File: testcode/sandbox/202609060459/atlas/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609060459/atlas/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/0723.html#f2 - Synopsis: A web page in Testcode that works with escape attribute (`escapeAttribute`) and sha256 hex (`sha256Hex`), using SHA-256. - What it achieves (comment): It is built from the invariant step (`invariant`), the escape attribute helper (`escapeAttribute`) and the sha256 hex helper (`sha256Hex`). Test Code Atlas. It reads `./current.json`. - What it does: It draws its content. Defines invariant, escapeAttribute, sha256Hex, fail. Uses libraries ${escapeAttribute(blobUrl)}, ' + escapeAttribute(teleprinterUrl) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "The publication checkout is sparse: `index.html` and the complete `uk_renewables_pipeline/` tree." - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `invariant(condition, message)`; `escapeAttribute(value)`; `sha256Hex(bytes)`; `fail(error)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of gridatlas/atlas/index.html) · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Teleprinter Bootstrap - File: testcode/sandbox/202609060503/atlas/teleprinter-bootstrap.js (JavaScript, 21 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609060503/atlas/teleprinter-bootstrap.js#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0723.html#f3 - Synopsis: A JavaScript module in the atlas folder of Testcode that draws atlas pin, atlas code, solar and battery storage (BESS). - What it does: It draws atlas pin, atlas code, solar and battery storage (BESS). Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file atlas-source-pin.json; JSON file atlas-source-code.manifest.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file atlas-source-pin.json; JSON file atlas-source-code.manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Atlas Composition Contract - File: testcode/sandbox/capsules/atlas-composition-contract.mjs (JavaScript, 12 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/atlas-composition-contract.mjs#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0723.html#f4 - Synopsis: A JavaScript module in the capsules folder of Testcode. It validates atlas composition (`validateAtlasComposition`). - What it achieves (comment): A composition must name every core cartridge exactly once before loading the shell. - What it does: It calculates its inputs. Defines validateAtlasComposition. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Build Composition Guard (testcode). - Signatures: `export validateAtlasComposition(current)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Offshore Route Browser - File: testcode/sandbox/tools/offshore-route.browser.cjs (JavaScript, 71 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/offshore-route.browser.cjs#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/0723.html#f5 - Synopsis: A JavaScript module in the tools folder of Testcode. - What it achieves (name): Defines `save`. - What it does: It loads data. Defines save. Uses libraries node:fs, node:path, node:http, node:child_process, C:/Users/vikra/OneDrive/Documents/GitHub/gridatlas-main-202609050200/node_modules/playwright. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: JSON file results.json. - Downstream impact: Used directly by 1 file: Offshore Route Workflow (testcode). - Signatures: `save()` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### VEDIC Verify Reuse Routes - File: vedic-/tools/verify_reuse_routes.py (Python, 38 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/verify_reuse_routes.py#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0723.html#f6 - Synopsis: A Python command-line tool in the tools folder using data from the stars and kuiper-belt repositories. It is built from the pinned step (`pinned`) and the public step (`public`). - What it achieves (comment): Read-only CI checks of the existing Modular Star and Kuiper reuse routes. - What it does: It fetches data. Defines pinned, public, main. Uses libraries hashlib, urllib.request. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage field_execution (path word 'routes'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: data source: stars data; data source: kuiper-belt data. - Downstream impact: Used directly by 1 file: VEDIC Anatomy Workflow (vedic-). - Signatures: `pinned(record)`; `public(url)`; `main()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner, ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; data source: kuiper-belt data]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, estate-url 1); used by 1; mentioned by 0 ### Geo Area - File: ventus-grid-engine/engine/geo-area.js (JavaScript, 100 lines) · role geodesy · stage transform · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/geo-area.js#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/0723.html#f7 - Synopsis: A JavaScript module in Ventus Grid Engine that works with polygon area km2 (`polygonAreaKm2`) and polyline perimeter km (`polylinePerimeterKm`), using haversine. - What it achieves (comment): It is built from the conversions step (`conversions`), the polygon area km2 helper (`polygonAreaKm2`) and the polyline perimeter km helper (`polylinePerimeterKm`). Polygon area, perimeter, and spherical-cap area. - What it does: It calculates its inputs. Defines conversions, polygonAreaKm2, polylinePerimeterKm, circleCapAreaKm2. - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Downstream impact: Used directly by 5 files: Grid Engine — Solar Farm Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060318-solar-farm/); Geodesy Proof (ventus-grid-engine); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Grid Engine — Site Geometry Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060238-site-geometry/); and 1 more. Reached from 4 other entry points, including Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). - Signatures: `export polygonAreaKm2(pts, radiusKm = EARTH_RADIUS_KM)`; `export polylinePerimeterKm(pts, closed = false, radiusKm = EARTH_RADIUS_KM)`; `export circleCapAreaKm2(km, radiusKm = EARTH_RADIUS_KM)`; `conversions(areaKm2, perimKm)`; `j(i + 1)` - VEDIC: AREA (GG2050-VEDIC-000017): Ventus Grid Engine / Geometry · Mathematics / Spherical geometry. ordered_points, radius_km -> area_record - VEDIC: LENGTH (GG2050-VEDIC-000018): Ventus Grid Engine / Geometry · Mathematics / Spherical geometry. ordered_points, closed, radius_km -> length_km - VEDIC: AREA (GG2050-VEDIC-000019): Ventus Grid Engine / Geometry · Mathematics / Spherical geometry. geodesic_radius_km, earth_radius_km -> area_record - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 5; mentioned by 0 ### Geo Core - File: ventus-grid-engine/engine/geo-core.js (JavaScript, 95 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/geo-core.js#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/0724.html#f1 - Synopsis: A JavaScript module in Ventus Grid Engine that works with haversine UK (`haversineUK`) and calculates great-circle distances and angles. - What it achieves (comment): It is built from the haversine step (`haversine`) and the haversine UK helper (`haversineUK`). The one distance primitive, and the earth model it stands on. - What it does: It calculates its inputs. Defines haversine, haversineUK. - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 6 files: Geo Area (ventus-grid-engine); Geo Shapes (ventus-grid-engine); Geodesy Proof (ventus-grid-engine); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); and 2 more. Reached from 7 other entry points, including Grid Engine — Site Geometry Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060238-site-geometry/); Grid Engine — Solar Farm Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060318-solar-farm/); Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html). - Signatures: `export haversine(lon1, lat1, lon2, lat2, radiusKm = EARTH_RADIUS_KM)`; `export haversineUK(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### Geo GeoJSON - File: ventus-grid-engine/engine/geo-geojson.js (JavaScript, 27 lines) · role geodesy · stage transform · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/geo-geojson.js#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0724.html#f2 - Synopsis: A JavaScript module in Ventus Grid Engine that works with circle feature collection (`circleFeatureCollection`). It is built from the circle feature collection helper (`circleFeatureCollection`). - What it achieves (comment): GeoJSON shaping, kept out of the maths modules. - What it does: It calculates its inputs. Defines circleFeatureCollection. - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Downstream impact: Used directly by 3 files: Geodesy Proof (ventus-grid-engine); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `export circleFeatureCollection(lon, lat, radiusKm)` - VEDIC: DRAW GEODESIC CIRCLE (GG2050-VEDIC-000075): Ventus Grid Engine · Geospatial and terrain intelligence. lon, lat, radiusKm -> GeoJSON FeatureCollection containing one polygon. - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Geo Shapes - File: ventus-grid-engine/engine/geo-shapes.js (JavaScript, 46 lines) · role geodesy · stage transform · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/geo-shapes.js#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/0724.html#f3 - Synopsis: A JavaScript module in Ventus Grid Engine that works with destination circle points (`destinationCirclePoints`) and circle vertex count (`circleVertexCount`) and calculates great-circle distances and angles. - What it achieves (comment): It is built from the destination circle points helper (`destinationCirclePoints`) and the circle vertex count helper (`circleVertexCount`). Walking a circle of points around a centre on the sphere. - What it does: It calculates its inputs. Defines destinationCirclePoints, circleVertexCount. - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Downstream impact: Used directly by 4 files: Geo GeoJSON (ventus-grid-engine); Geodesy Proof (ventus-grid-engine); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `export destinationCirclePoints(lon, lat, radiusKm, n, earthRadiusKm = EARTH_RADIUS_KM)`; `export circleVertexCount(radiusKm)`; `b(i / n)` - VEDIC: TRACE GEODESIC CIRCLE (GG2050-VEDIC-000103): Ventus Grid Engine / Geometry · Mathematics / Spherical geometry. lon, lat, radiusKm, n, earthRadiusKm -> Open ring of n [lon, lat] degree pairs evenly spaced in bearing around the centre. - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Route Obstacles - File: ventus-grid-engine/engine/route-obstacles.js (JavaScript, 262 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/route-obstacles.js#L1-L262 - Page: https://code.globalgrid2050.com/explore-code/s/0724.html#f4 - Synopsis: A JavaScript module in Ventus Grid Engine that works with motorways, cables and A roads, using haversine. - What it achieves (comment): It routes estimate (`routeEstimate`) and is built from the positive step (`positive`) and the crossing length m helper (`crossingLengthM`). What actually gets in the way of a cable route, and what each obstacle costs in length and in method. - What it does: It calculates motorways, cables and A roads. Defines positive, crossingLengthM, crossingSchedule, routeEstimate. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: motorways, cables, A roads. - Downstream impact: Used directly by 3 files: Grid Engine — Route Obstacles Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060213-route-obstacles/); Route Obstacles Proof (ventus-grid-engine); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 4 other entry points, including Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). - Signatures: `export crossingLengthM({ widthM, setbackM, depthM = 0 })`; `export crossingSchedule({ crossings })`; `export routeEstimate({ straightLineKm, crossings = [], corridorFactor })`; `positive(name, v)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### V9 Geodesy - File: ventus-grid-engine/engine/v9-geodesy.js (JavaScript, 141 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/v9-geodesy.js#L1-L141 - Page: https://code.globalgrid2050.com/explore-code/s/0724.html#f5 - Synopsis: A JavaScript module in Ventus Grid Engine that works with distance km (`distanceKm`) and representative point (`representativePoint`) and calculates great-circle distances and angles (units: kV), using haversine. - What it achieves (comment): It is built from the distance km helper (`distanceKm`), the representative point helper (`representativePoint`) and the voltages kV helper (`voltagesKv`). Extracted verbatim (formula and constant unchanged) from `gridatlas/atlas/modules/202609011950-geodesy.js`. Its code works with 750 kV. - What it does: Defines distanceKm, representativePoint, voltagesKv, destinationPoint, initialBearingDeg. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 750kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 750kV. README: "`v9-geodesy.distanceKm` and the V8 `haversine` are bit-identical on every reference leg, and the proof asserts that exactly rather than to a tolerance." - Inputs & outputs: Voltage levels named: 750kV. - Downstream impact: Used directly by 7 files: Grid Engine — Solar Farm Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060318-solar-farm/); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Browser Observer Proof (ventus-grid-engine); V9 Engine Proof (ventus-grid-engine); and 3 more. Reached from 4 other entry points, including Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). - Signatures: `export distanceKm(lon1, lat1, lon2, lat2)`; `export representativePoint(geometry)`; `export voltagesKv(properties)`; `export destinationPoint(lon, lat, km, bearingDeg)`; `export initialBearingDeg(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `dl(lon2 - lon1)` - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [750kV] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### Geodesy Proof - File: ventus-grid-engine/proofs/geodesy.proof.mjs (JavaScript, 201 lines) · role geodesy · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/geodesy.proof.mjs#L1-L201 - Page: https://code.globalgrid2050.com/explore-code/s/0725.html#f1 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine that uses haversine. It is built from the check step (`check`) and the near step (`near`). - What it achieves (comment): The maths this repo isolated must keep answering the same numbers, and must keep disagreeing where it is right to disagree. - What it does: Defines check, near. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Signatures: `check(name, condition)`; `near(a, b, tol)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 0; mentioned by 0 ### Route Obstacles Proof - File: ventus-grid-engine/proofs/route-obstacles.proof.mjs (JavaScript, 178 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/route-obstacles.proof.mjs#L1-L178 - Page: https://code.globalgrid2050.com/explore-code/s/0725.html#f2 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine that calculates planar distances, covering motorways. - What it achieves (comment): It is built from the check step (`check`), the near step (`near`) and the throws step (`throws`). The check a scalar corridor function could not make. - What it does: It lists and searches motorways. Defines check, near, throws. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: motorways. - Signatures: `check(n, c)`; `near(a, b, tol)`; `throws(fn, p)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: duplicate_candidate (duplicate of ventus-grid-engine/proofs/electrification-model.proof.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Atlas Pointer Deep Link - File: ventus-grid-engine/sources/deeplink-extracts/emitter/atlas-pointer-deep-link.mjs (JavaScript, 261 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/sources/deeplink-extracts/emitter/atlas-pointer-deep-link.mjs#L1-L261 - Page: https://code.globalgrid2050.com/explore-code/s/0725.html#f3 - Synopsis: A JavaScript module in the emitter folder of Ventus Grid Engine that works with solar and uses data from the GridAtlas repository. - What it achieves (comment): It builds atlas v9 deep link (`buildAtlasV9DeepLink`) and is built from the invariant step (`invariant`) and the finite in range helper (`finiteInRange`). `head_sha` (PipelineNews): lines: 1-249 (whole file) NOTE: this is the file `app.mjs` actually imports (import line 1 of `app.mjs`). - What it does: It calculates solar. Defines invariant, finiteInRange, buildAtlasV9DeepLink, selfTest, add. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file live-set.json. - Signatures: `export buildAtlasV9DeepLink(project)`; `export selfTest()`; `invariant(condition, message)`; `finiteInRange(value, limit)`; `add(name, ok, detail)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of pipelinenews/releases/202608312018-pipelinenews/assets/202608312018-atlas-pointer-deep-link.mjs) · essay_status: readme_derived - data_contracts: in [JSON file live-set.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Atlas Lattice - File: worlds-/src/atlas_lattice.py (Python, 237 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/atlas_lattice.py#L1-L237 - Page: https://code.globalgrid2050.com/explore-code/s/0726.html#f1 - Synopsis: A Python command-line tool in Worlds that builds axes (`build_axes`) (units: kV, kVA). - What it achieves (comment): It is built from the stations step (`stations`), the kernel src helper (`kernel_src`) and the reference step (`reference`). The lattice over the atlas that is already there. It accepts `--run` and `--cap`. - What it does: It lists and searches its content. Defines stations, build_axes, kernel_src, reference, main. Uses libraries argparse, io, json, os, re. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file atlas-lattice.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `stations()`; `build_axes(n_stations)`; `kernel_src(rad)`; `reference(idx, rad)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file atlas-lattice.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Atlas V8 Fixes - File: youengineer-code-review/civilisation-atlas-v8/atlas-v8-fixes.css (CSS, 138 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/civilisation-atlas-v8/atlas-v8-fixes.css#L1-L138 - Page: https://code.globalgrid2050.com/explore-code/s/0726.html#f2 - Published at: https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/ - Synopsis: A style sheet in Youengineer Code Review. Served with the page at https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Youengineer Code Review — Civilisation Atlas V8 Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/). Reached from 2 other entry points, including Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html); Youengineer Code Review — Index Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Atlas V8 Polish - File: youengineer-code-review/civilisation-atlas-v8/atlas-v8-polish.js (JavaScript, 186 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/civilisation-atlas-v8/atlas-v8-polish.js#L1-L186 - Page: https://code.globalgrid2050.com/explore-code/s/0726.html#f3 - Published at: https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/ - Synopsis: A JavaScript file in Youengineer Code Review that sets changed (`setTextIfChanged`), gets popup field (`getPopupField`) and builds knowledge query (`buildKnowledgeQuery`). Served with the page at https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/. - What it achieves (name): It sets text if changed (`setTextIfChanged`), gets popup field (`getPopupField`) and builds knowledge query (`buildKnowledgeQuery`). Defines `setTextIfChanged`, `polishViewLabel`, `isSatelliteActive` and 9 more. It responds to change, click and DOMContentLoaded events. - What it does: It draws its content. Defines 12 functions or classes, including setTextIfChanged, polishViewLabel, isSatelliteActive, polishSatelliteButton, polishLayerStatuses. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Youengineer Code Review — Civilisation Atlas V8 Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/). Reached from 2 other entry points, including Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html); Youengineer Code Review — Index Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/. - Signatures: `setTextIfChanged(element, value)`; `polishViewLabel()`; `isSatelliteActive()`; `polishSatelliteButton()`; `polishLayerStatuses()`; `getPopupField(content, fieldName)`; `buildKnowledgeQuery(content)`; `addKnowledgeButtonsToPopup(content)`; `polishPopups()`; `addBasemapControls(containerId)`; `syncBasemapRadios()`; `startAtlasPolish()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Youengineer Code Review — Civilisation Atlas V8 Page - File: youengineer-code-review/civilisation-atlas-v8/index.html (HTML, 47 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/civilisation-atlas-v8/index.html#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/0726.html#f4 - Published at: https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/ - Synopsis: A web page that draws ancient greek sites, roman world, ancient egypt and mesopotamia persia. Published at https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/. - What it achieves (readme): The README says: Download or clone the repo, then open `index.html` or `civilisation-atlas-v8/index.html` in a browser. - What it does: It draws ancient greek sites, roman world, ancient egypt and mesopotamia persia. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "Download or clone the repo, then open `index.html` or `civilisation-atlas-v8/index.html` in a browser." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 1 file: Youengineer Code Review — Index Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/). Reached from 1 other entry point, including Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (stylesheet 2, script-src 2); used by 1; mentioned by 0 ### Ventus Corev8engine - File: youengineer-code-review/civilisation-atlas-v8/ventus-corev8engine.js (JavaScript, 392 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/civilisation-atlas-v8/ventus-corev8engine.js#L1-L392 - Page: https://code.globalgrid2050.com/explore-code/s/0727.html#f1 - Published at: https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/ - Synopsis: A JavaScript file in Youengineer Code Review that maps civilisation atlas visible layers and satellite. Served with the page at https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/. - What it achieves (name): It gets name (`getName`), gets summary (`getSummary`) and updates clock (`updateClock`). Defines `escapeHTML`, `getName`, `getSummary` and 19 more. It responds to change, click and keydown events. - What it does: It maps civilisation atlas visible layers and satellite. Defines 22 functions or classes, including escapeHTML, getName, getSummary, updateClock, sourceId. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file style.json. Out: CSV file civilisation_atlas_visible_layers.csv; downloaded file civilisation_atlas_visible_layers.csv; interactive map. - Downstream impact: Used directly by 1 file: Youengineer Code Review — Civilisation Atlas V8 Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/). Reached from 2 other entry points, including Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html); Youengineer Code Review — Index Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/. - Signatures: `escapeHTML(value)`; `getName(properties)`; `getSummary(properties)`; `updateClock()`; `sourceId(layerId)`; `layerId(layerId)`; `addSatelliteLayer()`; `setSatelliteMode(active)`; `toggleSatelliteMode()`; `buildPointPaint(layer)`; `addLayerToMap(layer, data)`; `ensureLayerLoaded(layer)`; `setLayerVisibility(layerIdValue, visible)`; `updateLayerStatus(layerIdValue, text)`; `renderLayerControls(containerId)`; `getVisibleFeatures()`; `popupCoordinates(feature)`; `openFeaturePopup(feature, layer)`; `runSearch()`; `exportVisibleCSV()`; `clearLayers()`; `resetView()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file style.json]; out [CSV file civilisation_atlas_visible_layers.csv; downloaded file civilisation_atlas_visible_layers.csv; interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Ventus v8 - File: youengineer-code-review/civilisation-atlas-v8/ventusv8.css (CSS, 67 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/civilisation-atlas-v8/ventusv8.css#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/0727.html#f2 - Published at: https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/ - Synopsis: A style sheet in Youengineer Code Review. Served with the page at https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Youengineer Code Review — Civilisation Atlas V8 Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/). Reached from 2 other entry points, including Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html); Youengineer Code Review — Index Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/civilisation-atlas-v8/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Atlas Helpers - File: youengineer-code-review/civilisation-atlas/atlas-helpers.js (JavaScript, 38 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/civilisation-atlas/atlas-helpers.js#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0727.html#f3 - Synopsis: A JavaScript file in the civilisation atlas folder of Youengineer Code Review that formats coordinates (`formatCoordinates`), makes SVG element (`makeSvgElement`) and draws SVG graphics. - What it achieves (name): It formats coordinates (`formatCoordinates`) and makes SVG element (`makeSvgElement`). Defines `normalise`, `uniqueSorted`, `lonLatToPoint` and 3 more. - What it does: It lists and searches its content. Defines 7 functions or classes, including $, normalise, uniqueSorted, lonLatToPoint, formatCoordinates. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: SVG drawing. - Signatures: `$(id)`; `normalise(value)`; `uniqueSorted(values)`; `lonLatToPoint(coordinates)`; `x((lon + 180) / 360)`; `y((90 - lat) / 180)`; `formatCoordinates(coordinates)`; `featureText(feature)`; `makeSvgElement(tagName, attributes = {})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Atlas Map - File: youengineer-code-review/civilisation-atlas/atlas-map.js (JavaScript, 164 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/civilisation-atlas/atlas-map.js#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/0727.html#f4 - Synopsis: A JavaScript file in the civilisation atlas folder of Youengineer Code Review that draws graticule (`drawGraticule`) and land hints (`drawLandHints`) and draws routes (`drawRoutes`). - What it achieves (name): It draws graticule (`drawGraticule`), draws land hints (`drawLandHints`) and draws routes (`drawRoutes`). Defines `drawGraticule`, `drawLandHints`, `drawRoutes` and 5 more. It responds to click and keydown events. - What it does: It draws its content. Defines 8 functions or classes, including drawGraticule, drawLandHints, drawRoutes, getMarkerClass, drawSites. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `drawGraticule()`; `drawLandHints()`; `drawRoutes()`; `getMarkerClass(feature)`; `drawSites()`; `drawLegend()`; `renderMap()`; `initialiseMap()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Atlas State - File: youengineer-code-review/civilisation-atlas/atlas-state.js (JavaScript, 15 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/civilisation-atlas/atlas-state.js#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/0727.html#f5 - Synopsis: A JavaScript file in the civilisation atlas folder of Youengineer Code Review. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Atlas UI - File: youengineer-code-review/civilisation-atlas/atlas-ui.js (JavaScript, 176 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/civilisation-atlas/atlas-ui.js#L1-L176 - Page: https://code.globalgrid2050.com/explore-code/s/0728.html#f1 - Synopsis: A JavaScript file in the civilisation atlas folder of Youengineer Code Review that gets features (`getAllFeatures`), applies filters (`applyFilters`) and updates count (`updateCount`). - What it achieves (name): It gets features (`getAllFeatures`), applies filters (`applyFilters`) and updates count (`updateCount`). Defines `getAllFeatures`, `populateSelect`, `populateFilters` and 10 more. It responds to input, change and click events. - What it does: It draws its content. Defines 13 functions or classes, including getAllFeatures, populateSelect, populateFilters, featurePassesLayerFilter, applyFilters. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `getAllFeatures()`; `populateSelect(selectElement, values, allLabel)`; `populateFilters()`; `featurePassesLayerFilter(feature)`; `applyFilters()`; `updateCount()`; `renderSelectedFeature()`; `refreshAtlas()`; `selectFeature(featureId)`; `selectRandomFeature()`; `resetFilters()`; `wireControls()`; `bootAtlas()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Civilisation Map Data - File: youengineer-code-review/civilisation-map-data.js (JavaScript, 103 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/civilisation-map-data.js#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/0728.html#f2 - Published at: https://ventusltd.github.io/youengineer-code-review/ - Synopsis: A JavaScript file in Youengineer Code Review that builds civilisation feature (`buildCivilisationFeature`). Served with the page at https://ventusltd.github.io/youengineer-code-review/. It builds civilisation feature (`buildCivilisationFeature`). - What it achieves (name): Defines `buildCivilisationFeature`. - What it does: Defines buildCivilisationFeature. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Downstream impact: Used directly by 1 file: Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/. - Signatures: `buildCivilisationFeature(site)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Civilisation Map - File: youengineer-code-review/civilisation-map.css (CSS, 458 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/civilisation-map.css#L1-L458 - Page: https://code.globalgrid2050.com/explore-code/s/0728.html#f3 - Published at: https://ventusltd.github.io/youengineer-code-review/ - Synopsis: A style sheet in Youengineer Code Review. Served with the page at https://ventusltd.github.io/youengineer-code-review/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Downstream impact: Used directly by 1 file: Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/. - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Civilisation Map - File: youengineer-code-review/civilisation-map.html (HTML, 107 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/civilisation-map.html#L1-L107 - Page: https://code.globalgrid2050.com/explore-code/s/0729.html#f2 - Published at: https://ventusltd.github.io/youengineer-code-review/civilisation-map.html - Synopsis: A web page in Youengineer Code Review that draws SVG graphics and reads inputs for site and unesco only. Published at https://ventusltd.github.io/youengineer-code-review/civilisation-map.html. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Inputs & outputs: In: form fields (user input). Out: web page; SVG drawing. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/civilisation-map.html. - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 4 estate files (script-src 2, stylesheet 1, link 1); used by 0; mentioned by 0 ### Civilisation Map - File: youengineer-code-review/civilisation-map.js (JavaScript, 392 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/civilisation-map.js#L1-L392 - Page: https://code.globalgrid2050.com/explore-code/s/0729.html#f3 - Published at: https://ventusltd.github.io/youengineer-code-review/ - Synopsis: A JavaScript file in Youengineer Code Review that projects lon lat, creates SVG element, gets layer config and calculates great-circle distances and angles. Served with the page at https://ventusltd.github.io/youengineer-code-review/. - What it achieves (name): It creates SVG element (`createSvgElement`), gets layer config (`getLayerConfig`) and gets feature text (`getFeatureText`). Defines `escapeHTML`, `projectLonLat`, `haversineKm` and 19 more. It responds to change, click and keydown events. - What it does: It draws its content. Defines 22 functions or classes, including escapeHTML, projectLonLat, haversineKm, createSvgElement, getLayerConfig. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage site_feasibility (topic 'maps-gis'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Downstream impact: Used directly by 1 file: Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/. - Signatures: `escapeHTML(value)`; `projectLonLat(lon, lat)`; `x((lon + 180) / 360)`; `y((90 - lat) / 180)`; `haversineKm(a, b)`; `createSvgElement(tag, attributes = {})`; `getLayerConfig(layerId)`; `getFeatureText(feature)`; `getVisibleFeatures()`; `drawGraticule()`; `drawSimpleContinents()`; `buildLayerControls()`; `renderMarkers(features)`; `renderSiteList(features)`; `renderInfoPanel(features)`; `getNearestFeature(selected)`; `selectFeature(id, zoomToFeature = false)`; `setViewForFeatures(features, padding = 55)`; `setRegion(region)`; `updateStats(features)`; `renderAtlas()`; `chooseRandomSite()`; `resetMap()`; `initAtlas()` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Bounded Companies House - File: companies/tests/test_202608271507_bounded_companies_house.py (Python, 432 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/tests/test_202608271507_bounded_companies_house.py#L1-L432 - Page: https://code.globalgrid2050.com/explore-code/s/0730.html#f1 - Synopsis: A test in the tests folder that checks GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v8 Page, using SHA-256. - What it achieves (comment): It writes verifier fixture (`write_verifier_fixture`) and is built from the load step (`load`) and the rejected step (`rejected`). Deterministic fixtures for the bounded Companies House candidate generation. It writes `BasicCompanyDataAsOneFile-2026-08-01.csv`. - What it does: It tests its inputs. Defines 15 functions or classes, including load, rejected, test_source_manifest, test_plan, fake_probe. Uses libraries __future__, hashlib, importlib.util, json, os. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608271507-bounded-companies-house-candidate.json; JSON file rest-evidence.json; JSON file plan.json; JSON file extraction.json; JSON file extraction-second.json; JSON file duplicate.json; CSV file BasicCompanyDataAsOneFile-2026-08-01.csv; JSON file basic-validation.json. Out: JSON file projects.json; JSON file manifest-v1.json. - Downstream impact: Used directly by 1 file: Bounded Companies House Candidate (companies). - Signatures: `load(name: str, relative: str)`; `rejected(callable_, contains: str)`; `test_source_manifest()`; `test_plan()`; `fake_probe(row)`; `too_large(row)`; `test_optional_rest_skips_without_secret(root: Path)`; `fixture_plan(root: Path)`; `test_download_plan_loading(root: Path)`; `xbrl(company_number: str, total_assets: int, date: str)`; `test_extractor(root: Path)`; `write_verifier_fixture(root: Path)`; `tree_bytes(root: Path)`; `test_verifier(root: Path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file 202608271507-bounded-companies-house-candidate.json; JSON file rest-evidence.json; JSON file plan.json; JSON file extraction.json; JSON file extraction-second.json; JSON file duplicate.json; CSV file BasicCompanyDataAsOneFile-2026-08-01.csv; JSON file basic-validation.json]; out [JSON file projects.json; JSON file manifest-v1.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Test Candidate Semantics - File: companies/tests/test_202608271634_candidate_semantics.py (Python, 218 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/tests/test_202608271634_candidate_semantics.py#L1-L218 - Page: https://code.globalgrid2050.com/explore-code/s/0730.html#f2 - Synopsis: A test in the tests folder of Companies covering the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It builds parent candidate (`build_parent_candidate`) and is built from the load step (`load`) and the rejected step (`rejected`). Deterministic contract for the semantics overlay. - What it does: It tests the REPD register. Defines 8 functions or classes, including load, rejected, test_source_manifest, upgrade_fixture_to_1547, build_parent_candidate. Uses libraries __future__, hashlib, importlib.util, json, shutil. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file 202608271634-companies-candidate-semantics.json; Parquet file replacement.parquet; JSON file manifest-v1.json; JSON file 202608271547-bounded-companies-house-candidate.json; JSON file verification-v1.json; DuckDB queries. - Downstream impact: Used directly by 1 file: Normalise Companies Candidate (companies). - Signatures: `load(name: str, relative: str)`; `rejected(callable_, contains: str)`; `test_source_manifest()`; `upgrade_fixture_to_1547(root: Path)`; `build_parent_candidate(root: Path)`; `rewrite_parquet(root: Path, select_sql: str, compression: str)`; `test_overlay(root: Path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file 202608271634-companies-candidate-semantics.json; Parquet file replacement.parquet; JSON file manifest-v1.json; JSON file 202608271547-bounded-companies-house-candidate.json; JSON file verification-v1.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Document Ceiling - File: companies/tests/test_202608272016_document_ceiling.py (Python, 258 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/tests/test_202608272016_document_ceiling.py#L1-L258 - Page: https://code.globalgrid2050.com/explore-code/s/0731.html#f1 - Synopsis: A test in the tests folder of Companies that uses SHA-256. It is built from the load step (`load`), the rejected step (`rejected`) and the member step (`member`). - What it achieves (comment): Deterministic boundary contract for the `iXBRL` ceiling repair. - What it does: It tests its inputs. Defines 13 functions or classes, including load, rejected, member, counters, test_generation_boundary. Uses libraries __future__, hashlib, importlib.util, json, shutil. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608272016-bounded-companies-house-candidate.json; Parquet file copied.parquet; DuckDB queries. - Downstream impact: Used directly by 1 file: Bounded Companies House Candidate (companies). - Signatures: `load(name: str, relative: str)`; `rejected(callable_, contains: str)`; `member(name: str, size: int, compressed: int | None = None)`; `counters(expanded: int = 0)`; `test_generation_boundary()`; `test_source_manifest()`; `test_document_ceiling()`; `test_inherited_bomb_guards()`; `analytical_record(number: str)`; `analytical_fixture(root: Path, records: list[dict])`; `test_analytical_contract()`; `test_company_number_domain_and_rights_separation()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file 202608272016-bounded-companies-house-candidate.json; Parquet file copied.parquet; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Company Identity and Grains - File: companies/tests/test_202608272120_company_identity_and_grains.py (Python, 459 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/tests/test_202608272120_company_identity_and_grains.py#L1-L459 - Page: https://code.globalgrid2050.com/explore-code/s/0731.html#f2 - Synopsis: A test in the tests folder of Companies that uses SHA-256. It replaces Parquet (`replace_parquet`) and is built from the load step (`load`) and the rejected step (`rejected`). - What it achieves (comment): Source-only contracts for the Companies successor. - What it does: It tests its inputs. Defines 17 functions or classes, including load, rejected, test_generation_and_fixed_plan, drifted, ixbrl_payload. Uses libraries __future__, hashlib, importlib.util, json, shutil. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file plan.json; JSON file rest-evidence.json; JSON file report.json; JSON file fixed-rest-evidence.json; JSON file manifest-v1.json; JSON file 202608272120-bounded-companies-house-candidate.json; JSON file 202608261927-build-manifest-v9-1.json; DuckDB queries. Out: Parquet file. - Downstream impact: Used directly by 1 file: Bounded Companies House Candidate (companies). - Signatures: `load(relative: str, name: str)`; `rejected(callable_, contains: str)`; `test_generation_and_fixed_plan()`; `drifted(request)`; `ixbrl_payload(asset_value: int)`; `test_extractor_company_number_end_to_end()`; `relationship(ref: str, match_type: str = "EXACT_OPERATOR_NAME", **changes)`; `record(number: str = "R0000001", relationships: list[dict] | None = None)`; `cartridge_fixture(root: Path, records: list[dict])`; `test_relationship_key_law()`; `replace_parquet(source: Path, query: str, compression: str = "ZSTD")`; `test_actual_landed_two_grain_readback()`; `tree_bytes(root: Path)`; `successor_seal_fixture(root: Path)`; `test_full_successor_seal_and_verify()`; `test_source_manifest_and_workflow()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file plan.json; JSON file rest-evidence.json; JSON file report.json; JSON file fixed-rest-evidence.json; JSON file manifest-v1.json; JSON file 202608272120-bounded-companies-house-candidate.json; JSON file 202608261927-build-manifest-v9-1.json; DuckDB queries]; out [Parquet file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Sharded Cartridges - File: companies/tests/test_202608272155_sharded_cartridges.py (Python, 507 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/tests/test_202608272155_sharded_cartridges.py#L1-L507 - Page: https://code.globalgrid2050.com/explore-code/s/0732.html#f2 - Synopsis: A test in the tests folder of Companies covering the Renewable Energy Planning Database (REPD) register, using SHA-256. It refreshes physical receipt (`refresh_physical_receipt`) and builds deterministic fixture (`build_deterministic_fixture`). - What it achieves (comment): Deterministic shard and Parquet contracts for the successor. - What it does: It tests the REPD register. Defines 22 functions or classes, including load, rejected, relationship, record, shard_target_for_test. Uses libraries __future__, hashlib, importlib.util, json, shutil. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file fixed-rest-evidence.json; JSON file manifest-v1.json; JSON file manifest-v2.json; DuckDB queries. Out: JSON file manifest-v2.json. - Downstream impact: Used directly by 1 file: Bounded Companies House Candidate (companies). - Signatures: `load(relative: str, name: str)`; `rejected(callable_, contains: str)`; `relationship(ref: str)`; `record(index: int, padding: int = 0, company_name: str | None = None)`; `shard_target_for_test(value: int)`; `tree_bytes(root: Path)`; `refresh_physical_receipt(root: Path, receipt: dict)`; `test_generation_and_partition_contract()`; `build_deterministic_fixture(root: Path, records: list[dict])`; `test_forced_multishard_exact_bytes_and_deterministic_tree()`; `one_cartridge(root: Path, records: list[dict])`; `test_missing_and_tampered_shards_fail_closed()`; `test_reordered_and_noncontiguous_shards_fail_closed()`; `test_range_and_digest_receipts_fail_closed()`; `test_cross_cartridge_drift_fails_closed()`; `expected_schema(columns: tuple[tuple[str, str, bool], ...])`; `expected_readback(columns: tuple[tuple[str, str, bool], ...])`; `test_small_fixture_preserves_duckdb_parquet_grains_and_schemas()`; `successor_seal_fixture(root: Path)`; `test_exact_boundary_and_single_record_overflow()`; `test_full_direct_seal_verify_and_structured_resource_failures()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file fixed-rest-evidence.json; JSON file manifest-v1.json; JSON file manifest-v2.json; DuckDB queries]; out [JSON file manifest-v2.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Compact Parquet Companies - File: companies/tests/test_202608281337_compact_parquet_companies.py (Python, 946 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/tests/test_202608281337_compact_parquet_companies.py#L1-L946 - Page: https://code.globalgrid2050.com/explore-code/s/0733.html#f1 - Synopsis: A test in the tests folder that uses SHA-256. It writes basic zip (`write_basic_zip`) and writes full tiny candidate (`write_full_tiny_candidate`). - What it achieves (comment): Deterministic contracts for the relationship/report-only Companies successor. It writes `BasicCompanyData-fixture.csv`. - What it does: It tests its inputs. Defines 25 functions or classes, including load, rejected, expected_schema, expected_readback, expected_contract_schema. Uses libraries __future__, importlib.util, io, json, shutil. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: Parquet file tampered.parquet; Parquet file million-key-only-edges.parquet; CSV file BasicCompanyData-fixture.csv; Parquet file companies-v1.parquet; Parquet file linked.parquet; DuckDB queries. Out: JSON file projects.json; JSON file selected-companies.json. - Downstream impact: Used directly by 2 files: Compact Parquet Companies Candidate (companies); Compact Parquet Companies Candidate Workflow (companies). - Signatures: `load(relative: str, name: str)`; `rejected(callable_, contains: str)`; `expected_schema(columns: tuple[tuple[str, str, bool], ...])`; `expected_readback(columns: tuple[tuple[str, str, bool], ...])`; `expected_contract_schema(columns: tuple[tuple[str, str, bool], ...])`; `tiny_records()`; `project_map(records: list[dict])`; `tree_bytes(root: Path)`; `doctor_fixture(root: Path)`; `test_relationship_report_contract_and_doctor_fail_closed()`; `assert_dataset_contract(dataset: dict, rows: int)`; `test_two_deterministic_relationship_parquets_and_solar_exact_subset()`; `test_bridge_keys_and_pinned_technology_fail_closed()`; `test_one_million_key_only_edges_fit_the_file_cap()`; `write_basic_zip(path: Path, rows: list[str], header: str | None = None)`; `test_transient_basic_csv_scan_counts_selection_and_normalized_edges()`; `closure_fixture(root: Path, evidence: list[dict] | None = None)`; `test_exact_closure_rejects_company_master_raw_json_and_symlinks()`; `compact_limits(file_bytes: int, total_bytes: int)`; `test_compact_byte_policy_is_a_hard_gate()`; `expected_company_count(value: int)`; `pinned_fixture_sources(root: Path)`; `write_full_tiny_candidate(output: Path, records: list[dict], source_commit: str, sources: dict)`; `test_verify_full_tiny_report_manifest_with_pinned_count_override()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [Parquet file tampered.parquet; Parquet file million-key-only-edges.parquet; CSV file BasicCompanyData-fixture.csv; Parquet file companies-v1.parquet; Parquet file linked.parquet; DuckDB queries]; out [JSON file projects.json; JSON file selected-companies.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Pipeline - File: cosmic/tools/explore/lab/pipeline.py (Python, 145 lines) · role energy-data · stage transform - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/lab/pipeline.py#L1-L145 - Page: https://code.globalgrid2050.com/explore-code/s/0734.html#f2 - Synopsis: A Python module in the lab folder of Cosmic. It is built from the tarjan step (`tarjan`), the layers step (`layers`) and the run step (`run`). - What it achieves (comment): Experiment 7: pipeline inference from structure alone (Tarjan SCC condensation + longest-path layering). - What it does: It calculates its inputs. Defines tarjan, layers, run. Uses libraries collections. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: Explore — Lab (cosmic); Test Lab (cosmic). Reached from 4 other entry points, including Extras (cosmic); Ship (cosmic); Test Extras (cosmic). - Signatures: `tarjan(n, out_adj)`; `layers(n, out_adj)`; `run(G)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Pilot Renewable Energy Planning Database (REPD) - File: cosmic/tools/explore/theme/pilot-repd.css (CSS, 27 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-repd.css#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0734.html#f3 - Synopsis: A style sheet in the theme folder of Cosmic covering the REPD register. - What it achieves (comment): Pilot module W06 (TURBINE-46): REPD sites panel and card. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Renewable Energy Planning Database (REPD) - File: cosmic/tools/explore/theme/pilot-repd.js (JavaScript, 464 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-repd.js#L1-L464 - Page: https://code.globalgrid2050.com/explore-code/s/0735.html#f1 - Synopsis: A JavaScript file in the theme folder of Cosmic that maps the REPD register, solar, wind and postcodes, and uses data from the GridAtlas repository. - What it achieves (comment): It sets state (`setState`), sets filter (`setFilter`) and builds panel (`buildPanel`). Pilot module W06 (TURBINE-46): REPD sites layer, search and jump-to. It responds to change, click and input events. - What it does: It maps the REPD register, solar, wind and postcodes. Defines 39 functions or classes, including safeSrc, techOf, setState, load, creditFrom. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind, postcodes. - Inputs & outputs: In: data source: gridatlas data; browser storage (getItem). Out: browser storage (setItem). - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - Signatures: `GA(P.data && P.data.GA)`; `safeSrc(search, href)`; `techOf(code)`; `setState(s, msg)`; `load()`; `creditFrom(reg)`; `okUK(la, lo)`; `pack(reg)`; `inBox(s, w, n, e)`; `passes(i)`; `setFilter(kind, val)`; `lodMinMW(lod)`; `radius(i)`; `draw(g, v)`; `labels(g, v)`; `pick(sx, sy)`; `fmtMW(m)`; `cardOf(i)`; `select(i, fly, instant)`; `show(i, instant)`; `flyTo(i, instant)`; `nextFrom(i)`; `act(kind, ref)`; `nearest(lat, lon, n, radiusM, all)`; `brief(o)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; browser storage (getItem)]; out [browser storage (setItem)]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### CVAA Generation Correction Test - File: cvaa/tools/generation-correction.test.mjs (JavaScript, 18 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/tools/generation-correction.test.mjs#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/0735.html#f2 - Synopsis: A test in the tools folder. - What it achieves (name): Defines `run`. - What it does: It tests its inputs. Defines run. Uses libraries node:assert/strict, node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `run(entries, commits = [next, first])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Price Decade Rollup - File: data-gb-electricity/derived/build_price_decade_rollup.py (Python, 266 lines) · role energy-data · stage ingest · entry point - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/derived/build_price_decade_rollup.py#L1-L266 - Page: https://code.globalgrid2050.com/explore-code/s/0736.html#f1 - Synopsis: A Python command-line tool in the derived folder of Data GB Electricity that reads solar. - What it achieves (comment): It is built from the price input glob helper (`price_input_glob`), the require price grain helper (`require_price_grain`) and the mean step (`mean`). Derive the price record rollup: a browser-sized product over this repo's own Parquet. - What it does: It loads solar. Defines 6 functions or classes, including price_input_glob, require_price_grain, mean, percentage, extreme. Uses libraries calendar, io, json, os, collections. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: In: JSON file price-decade-rollup.json; DuckDB queries. - Downstream impact: Used directly by 3 files: Price Daily Browser (data-gb-electricity); Verify Price Decade Rollup (data-gb-electricity); Refresh Price Decade Rollup Workflow (data-gb-electricity). Reached from 2 other entry points, including Monthly Update Workflow (data-gb-electricity); Test Price Daily Browser (data-gb-electricity). - Signatures: `price_input_glob(repo)`; `require_price_grain(connection, parquet_glob)`; `mean(values)`; `percentage(numerator, denominator)`; `extreme(con, glob, direction)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file price-decade-rollup.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Price Daily Browser - File: data-gb-electricity/derived/price_daily_browser.py (Python, 199 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/derived/price_daily_browser.py#L1-L199 - Page: https://code.globalgrid2050.com/explore-code/s/0736.html#f2 - Synopsis: A Python command-line tool in the derived folder of Data GB Electricity that reads sources, using SHA-256 from Elexon Balancing Mechanism Reporting Service (BMRS). - What it achieves (comment): It compiles products (`compile_products`) and is built from the encode step (`encode`) and the digest step (`digest`). Offline, typed daily system-sell products for bounded browser consumption. It accepts `--repo`, `--output` and `--verify`. - What it does: It loads sources. Defines 8 functions or classes, including encode, digest, six, source_manifest, daily_rows. Uses libraries __future__, argparse, datetime, decimal, hashlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: Elexon BMRS; Parquet file daily.parquet; JSON file sources.json; JSON file index.json; DuckDB queries; command-line arguments. Out: JSON file sources.json; JSON file index.json. - Downstream impact: Used directly by 2 files: Test Price Daily Browser (data-gb-electricity); Refresh Price Decade Rollup Workflow (data-gb-electricity). Reached from 1 other entry point, including Monthly Update Workflow (data-gb-electricity). - Signatures: `encode(value)`; `digest(raw)`; `six(value)`; `source_manifest(repo)`; `daily_rows(repo)`; `compile_products(repo, folder)`; `run(repo, output, verify=False)`; `main(argv=None)` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; Parquet file daily.parquet; JSON file sources.json; JSON file index.json; DuckDB queries; command-line arguments]; out [JSON file sources.json; JSON file index.json]; crs []; voltages [] - Edges: uses 2 estate files (sys-path 1, import 1); used by 2; mentioned by 0 ### Verify Price Decade Rollup - File: data-gb-electricity/derived/verify_price_decade_rollup.py (Python, 126 lines) · role energy-data · stage ingest · entry point - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/derived/verify_price_decade_rollup.py#L1-L126 - Page: https://code.globalgrid2050.com/explore-code/s/0736.html#f3 - Synopsis: A Python command-line tool in the derived folder of Data GB Electricity. It is built from the close step (`close`). - What it achieves (comment): Fail-closed semantic proof for the browser-sized GB price product. - What it does: It loads data. Defines close, main. Uses libraries calendar, json, os, duckdb. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file price-decade-rollup.json; DuckDB queries. - Downstream impact: Used directly by 1 file: Refresh Price Decade Rollup Workflow (data-gb-electricity). - Signatures: `close(left, right, tolerance=0.011)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file price-decade-rollup.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Fetch Elexon API to Parquet Hardened - File: data-gb-electricity/pipelines/fetch_elexon_api_to_parquet_hardened.py (Python, 473 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/pipelines/fetch_elexon_api_to_parquet_hardened.py#L1-L473 - Page: https://code.globalgrid2050.com/explore-code/s/0737.html#f1 - Synopsis: A Python command-line tool in the pipelines folder of Data GB Electricity that fetches solar and wind from Elexon Balancing Mechanism Reporting Service (BMRS). - What it achieves (name): It reads Parquet file (`read_parquet_file`) and reads existing (`read_existing`). Its name says it fetches Elexon API to Parquet hardened. Defines `utc_now_dt`, `utc_now_text`, `parse_dt` and 22 more. It accepts `--start-date`, `--end-date` and `--datasets`. - What it does: It fetches solar and wind. Defines 26 functions or classes, including utc_now_dt, utc_now_text, parse_dt, dt_key, pick. Uses libraries __future__, argparse, datetime, json, time. Side effects: reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'elexon'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind. - Inputs & outputs: In: data source: Elexon BMRS; Parquet file data_0.parquet; DuckDB queries; command-line arguments. Out: JSON file elexon_api_to_parquet_latest.json. - Downstream impact: Used directly by 2 files: Fetch Latest Month (data-gb-electricity); Test Bounded Monthly Update (data-gb-electricity). Reached from 2 other entry points, including Monthly Update Workflow (data-gb-electricity); Refresh Price Decade Rollup Workflow (data-gb-electricity). - Signatures: `utc_now_dt()`; `utc_now_text()`; `parse_dt(value: Any)`; `dt_key(value: Any)`; `pick(row: dict[str, Any], names: Iterable[str])`; `as_float(value: Any)`; `as_int(value: Any)`; `request_json(url: str, retries: int, delay: float)`; `windows(start: dt.date, end: dt.date, span_days: int)`; `days_between(start: dt.date, end: dt.date)`; `default_previous_month()`; `group_for(fuel: str)`; `period_start_from_date_period(date_text: str, period: int | None)`; `partition_file(dataset: str, year: int, month: int)`; `key_for(dataset: str, row: dict[str, Any])`; `read_parquet_file(path: Path)`; `table_records(dataset: str, table: pa.Table)`; `read_existing(dataset: str, path: Path)`; `validate_rows(dataset: str, rows: list[dict[str, Any]], context: str)`; `validate_table_schema(dataset: str, table: pa.Table, context: str)`; `write_records(dataset: str, records: list[dict[str, Any]], apply: bool, *, replace_existing: bool = False, refuse_existing: bool = ...)`; `fetch_fuelinst(start: dt.date, end: dt.date, window_days: int, retries: int, delay: float)`; `fetch_fuelhh(start: dt.date, end: dt.date, window_days: int, retries: int, delay: float)`; `fetch_prices(start: dt.date, end: dt.date, retries: int, delay: float)`; `write_reports(payload: dict[str, Any])` (and 1 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; Parquet file data_0.parquet; DuckDB queries; command-line arguments]; out [JSON file elexon_api_to_parquet_latest.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Fetch Latest Month - File: data-gb-electricity/pipelines/fetch_latest_month.py (Python, 389 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/pipelines/fetch_latest_month.py#L1-L389 - Page: https://code.globalgrid2050.com/explore-code/s/0738.html#f1 - Synopsis: A Python command-line tool in the pipelines folder of Data GB Electricity that reads audit and fetch month. It audits payload (`audit_payload`) and writes audit (`write_audit`). - What it achieves (comment): Bounded monthly Elexon updater for data-GB-electricity. It accepts `--start-date`, `--end-date` and `--refetch-months`. - What it does: It loads audit and fetch month. Defines 13 functions or classes, including previous_complete_month, shift_month, month_bounds, months_from_range, parquet_audit. Uses libraries __future__, argparse, datetime, json, math. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "The active monthly process is `pipelines/fetch_latest_month.py` plus `.github/workflows/monthly_update.yml`." - Inputs & outputs: In: command-line arguments. Out: JSON file latest_parquet_audit.json; JSON file fetch_latest_month_latest.json. - Downstream impact: Used directly by 2 files: Monthly Update Workflow (data-gb-electricity); Test Bounded Monthly Update (data-gb-electricity). Reached from 1 other entry point, including Refresh Price Decade Rollup Workflow (data-gb-electricity). - Signatures: `previous_complete_month(today: dt.date | None = None)`; `shift_month(year: int, month: int, offset: int)`; `month_bounds(year: int, month: int)`; `months_from_range(start: dt.date, end: dt.date)`; `parquet_audit()`; `fail_if_empty(dataset: str, rows: list[dict[str, Any]], year: int, month: int)`; `fail_if_outside_month(dataset: str, rows: list[dict[str, Any]], year: int, month: int)`; `rows_in_utc_partition_month(dataset: str, rows: list[dict[str, Any]], year: int, month: int)`; `api_bounds(dataset: str, year: int, month: int)`; `estimated_api_requests(dataset: str, year: int, month: int, fuelinst_window: int, fuelhh_window: int)`; `audit_payload(args: argparse.Namespace, target_months: list[tuple[int, int]], plan: list[dict[str, Any]], per_month_counts: dict[st...)`; `write_audit(payload: dict[str, Any])`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file latest_parquet_audit.json; JSON file fetch_latest_month_latest.json]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### GB Calendar - File: data-gb-electricity/pipelines/gb_calendar.py (Python, 56 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/pipelines/gb_calendar.py#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/0738.html#f2 - Synopsis: A Python module in the pipelines folder of Data GB Electricity that works with last sunday (`last_sunday`) and bst utc bounds (`bst_utc_bounds`). - What it achieves (comment): It is built from the london date at helper (`london_date_at`), the london today helper (`london_today`) and the london midnight utc helper (`london_midnight_utc`). Dependency-free Great Britain civil-date helpers for electricity data. - What it does: It calculates its inputs. Defines last_sunday, bst_utc_bounds, london_date_at, london_today, london_midnight_utc. Uses libraries __future__, datetime. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 4 files: Price Daily Browser (data-gb-electricity); Fetch Elexon API to Parquet Hardened (data-gb-electricity); Fetch Latest Month (data-gb-electricity); Test Bounded Monthly Update (data-gb-electricity). Reached from 3 other entry points, including Monthly Update Workflow (data-gb-electricity); Refresh Price Decade Rollup Workflow (data-gb-electricity); Test Price Daily Browser (data-gb-electricity). - Signatures: `last_sunday(year: int, month: int)`; `bst_utc_bounds(year: int)`; `london_date_at(instant_utc: dt.datetime)`; `london_today()`; `london_midnight_utc(day: dt.date)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Monthly Growth Policy - File: data-gb-electricity/pipelines/monthly_growth_policy.py (Python, 86 lines) · role storage · stage ingest · entry point - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/pipelines/monthly_growth_policy.py#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/0738.html#f3 - Synopsis: A Python module in the pipelines folder of Data GB Electricity that builds plan (`build_plan`). - What it achieves (comment): It writes key (`write_key`) and is built from the partition directory helper (`partition_directory`) and the existing partition files helper (`existing_partition_files`). Pure planning rules for bounded, history-preserving monthly updates. - What it does: It loads data. Defines 6 functions or classes, including partition_directory, existing_partition_files, build_plan, writable_plan, enforce_plan_bound. Uses libraries __future__, pathlib, typing. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: Fetch Latest Month (data-gb-electricity); Test Bounded Monthly Update (data-gb-electricity). Reached from 2 other entry points, including Monthly Update Workflow (data-gb-electricity); Refresh Price Decade Rollup Workflow (data-gb-electricity). - Signatures: `partition_directory(root: Path, dataset: str, year: int, month: int)`; `existing_partition_files(root: Path, dataset: str, year: int, month: int)`; `build_plan(root: Path, datasets: Iterable[str], months: Iterable[tuple[int, int]], *, repair_existing: bool)`; `writable_plan(plan: Iterable[dict[str, Any]])`; `enforce_plan_bound(plan: Iterable[dict[str, Any]], max_dataset_months: int)`; `write_key(dataset: str, month_text: str)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Port CSV to Parquet - File: data-gb-electricity/pipelines/port_csv_to_parquet.py (Python, 6 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/pipelines/port_csv_to_parquet.py#L1-L6 - Page: https://code.globalgrid2050.com/explore-code/s/0738.html#f4 - Synopsis: A Python module in the pipelines folder of Data GB Electricity. - What it achieves (code): Entry point only: it runs `main()` from `port_csv_to_parquet_impl`. - What it does: Uses libraries __future__. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "It clones the retiring source repo inside the runner and runs `pipelines/port_csv_to_parquet.py`." - Downstream impact: Used directly by 1 file: Backfill History Workflow (data-gb-electricity). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Port CSV to Parquet Impl - File: data-gb-electricity/pipelines/port_csv_to_parquet_impl.py (Python, 200 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/pipelines/port_csv_to_parquet_impl.py#L1-L200 - Page: https://code.globalgrid2050.com/explore-code/s/0739.html#f1 - Synopsis: A Python command-line tool in the pipelines folder of Data GB Electricity that reads half hourly, years, combined and audit. - What it achieves (readme): It checks counts (`check_counts`) and is built from the exclude combined sources helper (`exclude_combined_sources`) and the sources step (`sources`). The README says: That wrapper calls `pipelines/port_csv_to_parquet_impl.py`, where the current implementation lives. It accepts `--source-root`, `--output-root` and `--apply`. - What it does: It loads half hourly, years, combined and audit. Defines 8 functions or classes, including mb, exclude_combined_sources, sources, check_counts, convert. Uses libraries __future__, argparse, glob, json, shutil. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "That wrapper calls `pipelines/port_csv_to_parquet_impl.py`, where the current implementation lives." - Inputs & outputs: In: CSV file _half_hourly.csv; CSV file _all_years.csv; CSV file _combined.csv; JSON file latest_parquet_audit.json; DuckDB queries; command-line arguments. - Downstream impact: Used directly by 1 file: Port CSV to Parquet (data-gb-electricity). Reached from 1 other entry point, including Backfill History Workflow (data-gb-electricity). - Signatures: `mb(path: Path)`; `exclude_combined_sources(files: list[str])`; `sources(root: Path)`; `check_counts(src: dict[str, list[str]])`; `convert(src_root: Path, out_root: Path)`; `duplicate_key_groups(con: duckdb.DuckDBPyConnection, query: str)`; `verify(out_root: Path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [CSV file _half_hourly.csv; CSV file _all_years.csv; CSV file _combined.csv; JSON file latest_parquet_audit.json; DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Verify Bounded Growth - File: data-gb-electricity/pipelines/verify_bounded_growth.py (Python, 141 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/pipelines/verify_bounded_growth.py#L1-L141 - Page: https://code.globalgrid2050.com/explore-code/s/0739.html#f2 - Synopsis: A Python command-line tool in the pipelines folder of Data GB Electricity that reads audit, fetch month and bounded growth gate. - What it achieves (comment): It is built from the git output helper (`git_output`), the working tree changes helper (`working_tree_changes`) and the evaluate changes helper (`evaluate_changes`). Fail CI if a monthly update exceeds its declared repository-growth scope. It accepts `--audit`, `--base` and `--max-new-parquet-files`. - What it does: It loads audit, fetch month and bounded growth gate. Defines git_output, working_tree_changes, evaluate_changes, main. Uses libraries __future__, argparse, json, re, subprocess. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file latest_parquet_audit.json; JSON file fetch_latest_month_latest.json; JSON file bounded_growth_gate_latest.json; command-line arguments. - Downstream impact: Used directly by 2 files: Monthly Update Workflow (data-gb-electricity); Test Bounded Monthly Update (data-gb-electricity). Reached from 1 other entry point, including Refresh Price Decade Rollup Workflow (data-gb-electricity). - Signatures: `git_output(*args: str)`; `working_tree_changes(base: str)`; `evaluate_changes(audit: dict[str, Any], changes: list[tuple[str, str]], root: Path, *, max_new_parquet_files: int, max_new_parquet_byt...)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file latest_parquet_audit.json; JSON file fetch_latest_month_latest.json; JSON file bounded_growth_gate_latest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Test Price Daily Browser - File: data-gb-electricity/tests/test_price_daily_browser.py (Python, 152 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/tests/test_price_daily_browser.py#L1-L152 - Page: https://code.globalgrid2050.com/explore-code/s/0739.html#f3 - Synopsis: A test in the tests folder of Data GB Electricity that checks Price Daily Browser. It sets up (`setUp`) and adds day (`add_day`). - What it achieves (comment): Synthetic daily `source-grain/DST/coverage` checks, plus actual-source replay. It writes `replacement.parquet`. - What it does: It tests its inputs. Defines 18 functions or classes, including DailyBrowserTests, setUp, tearDown, add_day, result. Uses libraries datetime, json, pathlib, sys, tempfile. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file index.json; Parquet file data_extra.parquet; JSON file 2026.json; Parquet file replacement.parquet; DuckDB queries. - Downstream impact: Used directly by 2 files: Monthly Update Workflow (data-gb-electricity); Refresh Price Decade Rollup Workflow (data-gb-electricity). - Signatures: `class DailyBrowserTests`; `setUp(self)`; `tearDown(self)`; `add_day(self, date, periods, first_utc, missing=(), null_price=(), split=False)`; `result(self)`; `test_spring46_and_autumn50_are_complete_source_days(self)`; `test_every_physical_part_is_combined_without_market_index_prices(self)`; `test_absent_dates_are_explicit_gaps_with_null_prices(self)`; `test_missing_and_null_periods_are_partial_not_zero_or_imputed(self)`; `test_legacy_utc_clock_disagreement_is_retained_and_counted(self)`; `test_legacy_october_clock_collision_loss_stays_partial_on_oct31(self)`; `test_unremoved_legacy_clock_key_collision_is_rejected(self)`; `test_twenty_four_period_floor_never_certifies_a_complete_day(self)`; `test_no_sell_observations_keep_null_mean_and_zero_price_coverage(self)`; `test_duplicate_declared_periods_fail_before_replacing_output(self)`; `test_impossible_spring_period47_is_not_allowed(self)`; `test_corrupted_product_is_not_accepted_by_shape_only(self)`; `test_negative_prices_remain_negative_and_full_parquet_readback_passes(self)` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file index.json; Parquet file data_extra.parquet; JSON file 2026.json; Parquet file replacement.parquet; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 2; mentioned by 0 ### Test Price Rollup Parts - File: data-gb-electricity/tests/test_price_rollup_parts.py (Python, 85 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/tests/test_price_rollup_parts.py#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/0739.html#f4 - Synopsis: A test in the tests folder of Data GB Electricity. It splits price parts tests (`SplitPricePartsTests`), sets up (`setUp`) and runs builder (`run_builder`). - What it achieves (comment): Synthetic split-part regression; no upstream fetch or historical rewrite. - What it does: It tests its inputs. Defines 8 functions or classes, including SplitPricePartsTests, setUp, tearDown, run_builder, test_all_physical_parts_combine_before_daily_inclusion_and_verify. Uses libraries datetime, importlib, json, pathlib, sys. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file price-decade-rollup.json; Parquet file data_0.parquet; Parquet file data_2.parquet; DuckDB queries. - Downstream impact: Used directly by 2 files: Monthly Update Workflow (data-gb-electricity); Refresh Price Decade Rollup Workflow (data-gb-electricity). - Signatures: `class SplitPricePartsTests`; `setUp(self)`; `tearDown(self)`; `run_builder(self)`; `test_all_physical_parts_combine_before_daily_inclusion_and_verify(self)`; `test_a_duplicate_in_an_extra_part_fails_before_output_replacement(self)`; `test_null_period_in_extra_part_is_not_hidden_by_daily_aggregation(self)`; `test_nonfinite_price_does_not_become_an_aggregate(self)` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file price-decade-rollup.json; Parquet file data_0.parquet; Parquet file data_2.parquet; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Pipeline - File: data-grid-gb/assetpipe/pipeline.py (Python, 316 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/assetpipe/pipeline.py#L1-L316 - Page: https://code.globalgrid2050.com/explore-code/s/0740.html#f1 - Synopsis: A Python module in the assetpipe folder of Data Grid GB that fetches sources, using SHA-256. It writes text (`write_text`), reads JSON (`read_json`) and loads registry (`load_registry`). - What it achieves (comment): Fetch, pin and normalise: the one code path every source goes through. It reads `MANIFEST.json` and writes `INDEX.json`. - What it does: It fetches sources. Defines 19 functions or classes, including raw_requests, normalise, PipelineError, sha256_bytes, canonical_text. Uses libraries __future__, hashlib, importlib, importlib.util, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file uk.json; JSON file sources.json; JSON file INDEX.json. - Downstream impact: Used directly by 4 files: Fetch Assets (data-grid-gb); Test Assets (data-grid-gb); Lanes (data-grid-gb); Reproduce (data-grid-gb). Reached from 4 other entry points, including Fetch Assets Workflow (data-grid-gb); Test Assets Workflow (data-grid-gb); Run Lanes (data-grid-gb). - Signatures: `raw_requests()`; `normalise(raw: dict[str, bytes])`; `class PipelineError`; `sha256_bytes(data: bytes)`; `canonical_text(obj)`; `collection_text(obj: dict)`; `write_text(path: Path, text: str)`; `read_json(path: Path, default=None)`; `domain_dir(domain: str, root: Path = ROOT)`; `load_registry(domain: str, root: Path = ROOT)`; `load_module(domain: str, entry: dict, root: Path = ROOT)`; `http_get(request: dict)`; `_safe_file(name: str)`; `fetch_domain(domain: str, *, root: Path = ROOT, only=None, include_unverified=False, update_pins=False, opener=http_get, fetched_a...)`; `read_raw(domain: str, source_id: str, *, root: Path = ROOT)`; `build_collection(domain: str, entry: dict, records: list, raw_manifest: dict)`; `normalise_domain(domain: str, *, root: Path = ROOT, only=None, log=print)`; `domain_paths(root: Path = ROOT)`; `env_flag(name: str)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file uk.json; JSON file sources.json; JSON file INDEX.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (python-relative 2); used by 4; mentioned by 0 ### Data Grid GB — Datacentres - File: data-grid-gb/datacentres/__init__.py (Python, 1 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/__init__.py#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/0740.html#f2 - Synopsis: A Python module. - What it achieves (comment): UK data-centre sites and pipeline entries: see `datacentres/README.md`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentres'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Dsit AI Growth Zones - File: data-grid-gb/datacentres/fetchers/dsit_ai_growth_zones.py (Python, 20 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/fetchers/dsit_ai_growth_zones.py#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0740.html#f3 - Synopsis: A Python module in the fetchers folder of Data Grid GB. It is built from the raw requests helper (`raw_requests`) and the normalise step (`normalise`). - What it achieves (comment): Lane TBC (DC-A1..A6) owns this source; its fetcher replaces this file when it lands, keeping the contract in `assetpipe/pipeline.py` (`FETCHER_CONTRACT`). - What it does: It calculates its inputs. Defines raw_requests, normalise. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentres'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `raw_requests()`; `normalise(raw)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### NESO Connections - File: data-grid-gb/datacentres/fetchers/neso_connections.py (Python, 20 lines) · role energy-data · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/fetchers/neso_connections.py#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0740.html#f4 - Synopsis: A Python module in the fetchers folder of Data Grid GB. It is built from the raw requests helper (`raw_requests`) and the normalise step (`normalise`). - What it achieves (comment): NESO Transmission Entry Capacity register and connection queue data (demand rows). - What it does: It calculates its inputs. Defines raw_requests, normalise. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentres'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `raw_requests()`; `normalise(raw)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Planning Data Gov UK - File: data-grid-gb/datacentres/fetchers/planning_data_gov_uk.py (Python, 20 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/fetchers/planning_data_gov_uk.py#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0740.html#f5 - Synopsis: A Python module in the fetchers folder of Data Grid GB. It is built from the raw requests helper (`raw_requests`) and the normalise step (`normalise`). - What it achieves (comment): Planning.data.gov.uk planning applications mentioning data centres. - What it does: It calculates its inputs. Defines raw_requests, normalise. - Why it exists in the grid workflow: Domain stage site_feasibility (path word 'planning'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Signatures: `raw_requests()`; `normalise(raw)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Wikidata Datacentres - File: data-grid-gb/datacentres/fetchers/wikidata_datacentres.py (Python, 20 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/fetchers/wikidata_datacentres.py#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0740.html#f6 - Synopsis: A Python module in the fetchers folder of Data Grid GB. It is built from the raw requests helper (`raw_requests`) and the normalise step (`normalise`). - What it achieves (comment): Wikidata items that are instances of data center in the UK. - What it does: It calculates its inputs. Defines raw_requests, normalise. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentres'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `raw_requests()`; `normalise(raw)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fetch NESO - File: data-grid-gb/datacentres/lanes/dc-a1-neso/fetch_neso.py (Python, 515 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/lanes/dc-a1-neso/fetch_neso.py#L1-L515 - Page: https://code.globalgrid2050.com/explore-code/s/0741.html#f1 - Synopsis: A Python command-line tool in the lanes folder of Data Grid GB that fetches tec register october, embedded register october and NESO connections normalised, using SHA-256 from NESO data portal. - What it achieves (comment): It maps status (`map_status`), picks like (`pick_like`) and normalises row (`normalise_row`). DC-A1: fetch NESO connection registers and normalise data-centre-like rows. Its code works with 132 kV, 275 kV and 400 kV. It accepts `--out`, `--include-ea` and `--from-file`. - What it does: It fetches tec register october, embedded register october, NESO connections normalised and NESO DC like normalised. Defines 17 functions or classes, including map_status, to_mw, to_date, pick, pick_like. Uses libraries __future__, argparse, csv, datetime, hashlib. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 400kV, 275kV, 132kV. - Inputs & outputs: In: data source: NESO data portal; CSV file tec-register-27-october-2026.csv; CSV file embedded-register-27-october-2026.csv; JSON file neso_connections.normalised.json; JSON file neso_dc_like.normalised.json; GeoJSON file neso_dc_like.geojson; JSON file counts.json; CSV file tec-selftest.csv. Voltage levels named: 400kV, 275kV, 132kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `map_status(raw: str | None)`; `to_mw(value)`; `to_date(value)`; `pick(row: dict, *names: str)`; `pick_like(row: dict, pattern: str)`; `dc_rules(name, customer, ptype)`; `normalise_row(src_key: str, src: dict, row: dict, idx: int, snap: dict)`; `parse_csv(raw: bytes)`; `parse_xlsx(raw: bytes)`; `col_index(ref: str)`; `http_get(url: str, timeout: int = 90)`; `resolve_url(src: dict)`; `snapshot(out: Path, key: str, raw: bytes, url: str, origin: str)`; `run(out: Path, keys: list[str], from_files: dict[str, Path])`; `dump(name, obj)`; `selftest()`; `main(argv=None)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: NESO data portal; CSV file tec-register-27-october-2026.csv; CSV file embedded-register-27-october-2026.csv; JSON file neso_connections.normalised.json; JSON file neso_dc_like.normalised.json; GeoJSON file neso_dc_like.geojson; JSON file counts.json; CSV file tec-selftest.csv]; out []; crs []; voltages [400kV, 275kV, 132kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### DC Planning Fetch - File: data-grid-gb/datacentres/lanes/dc-a2-planning/dc_planning_fetch.py (Python, 523 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/lanes/dc-a2-planning/dc_planning_fetch.py#L1-L523 - Page: https://code.globalgrid2050.com/explore-code/s/0742.html#f1 - Synopsis: A Python command-line tool in the lanes folder of Data Grid GB that fetches doncaster planning applications, infrastructure project, nsip and doncaster conditions planning application, using SHA-256. - What it achieves (comment): It extracts MW (`extract_mw`) and maps status (`map_status`). DC-A2: data-centre planning applications from FULLY OPEN planning sources. Its code works with 1 GW, 132 kV and 150 MVA. It accepts `--out`, `--cafile` and `--offline`. - What it does: It fetches doncaster planning applications, infrastructure project, nsip and doncaster conditions planning application. Defines 15 functions or classes, including classify, extract_mw, map_status, point_from, g. Uses libraries argparse, csv, hashlib, io, json. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (path word 'planning'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: 132kV. - Inputs & outputs: In: CSV file planning-application.csv; CSV file infrastructure-project.csv; CSV file nsip.csv; CSV file doncaster-2024-planning-applications.csv; CSV file doncaster-conditions-data-2023-planning-application.csv; CSV file adur-planning.csv; CSV file worthing-planning.csv; CSV file 2eiu-s2cw.csv. Out: JSON file. Voltage levels named: 132kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `classify(text)`; `extract_mw(text)`; `map_status(*raw)`; `point_from(row)`; `g(row, *keys)`; `norm_pdgu(row)`; `norm_pdgu_nsip(row)`; `norm_pins(row)`; `norm_lga(row)`; `norm_camden(row)`; `fetch(url, cafile, timeout=120)`; `sha256(b)`; `run(args)`; `verify(args)`; `selftest()` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [CSV file planning-application.csv; CSV file infrastructure-project.csv; CSV file nsip.csv; CSV file doncaster-2024-planning-applications.csv; CSV file doncaster-conditions-data-2023-planning-application.csv; CSV file adur-planning.csv; CSV file worthing-planning.csv; CSV file 2eiu-s2cw.csv]; out [JSON file]; crs []; voltages [132kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Gov Sites - File: data-grid-gb/datacentres/lanes/dc-a3-gov/gov_sites.py (Python, 565 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/lanes/dc-a3-gov/gov_sites.py#L1-L565 - Page: https://code.globalgrid2050.com/explore-code/s/0743.html#f1 - Synopsis: A Python command-line tool in the lanes folder of Data Grid GB that fetches battery storage (BESS), using SHA-256 and Helmert. - What it achieves (comment): It is built from the OSGB to WGS84 helper (`osgb_to_wgs84`), the build step (`build`) and the sha step (`sha`). DC-A3: government-published UK data-centre sites (issue #73, step 3 schema). Its code works with 500 MW, 0.01 GW and 1 GW. - What it does: It fetches battery storage (BESS). Defines 7 functions or classes, including osgb_to_wgs84, mw, build, sha, check. Uses libraries hashlib, json, math, os, sys. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS). - Inputs & outputs: In: JSON file gov_sites.json; GeoJSON file gov_sites.geojson; command-line arguments. Out: JSON file. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `osgb_to_wgs84(E, N)`; `mw(value, measure, quote, url, approx=False, qualifier=None)`; `build()`; `sha(path)`; `check()`; `all_urls(doc)`; `fetch(verify=False)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file gov_sites.json; GeoJSON file gov_sites.geojson; command-line arguments]; out [JSON file]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Dcingest - File: data-grid-gb/datacentres/lanes/dc-a7-merge/dcingest.py (Python, 523 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/lanes/dc-a7-merge/dcingest.py#L1-L523 - Page: https://code.globalgrid2050.com/explore-code/s/0744.html#f1 - Synopsis: A Python command-line tool in the lanes folder of Data Grid GB that reads UK datacentre pipeline, using SHA-256 from National Energy System Operator (NESO) data portal. - What it achieves (comment): It loads lanes (`load_lanes`) and is built from the norm licence helper (`norm_licence`) and the norm status helper (`norm_status`). Ingest lane outputs (`hardening/evidence/DC-A1..A5/*.json`|*.GeoJSON), normalise to `dc_pipeline`.schema.json, validate, merge, and write `uk_datacentre_pipeline.geojson`. It accepts `--lanes` and `--out`. - What it does: It loads UK datacentre pipeline, DC pipeline schema, rejects and postcodes. Defines 16 functions or classes, including _get, _num, _mw_src, norm_licence, norm_status. Uses libraries argparse, glob, hashlib, json, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: postcodes. - Inputs & outputs: In: data source: NESO data portal; GeoJSON file uk_datacentre_pipeline.geojson; JSON file dc_pipeline.schema.json; JSON file .rejects.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 1 file: Test Dcmerge (data-grid-gb). - Signatures: `_get(d, keys)`; `_num(v)`; `_mw_src(v)`; `norm_licence(s)`; `norm_status(s)`; `norm_precision(v)`; `norm_date(v)`; `_records_from(doc)`; `_point_of(r, geom)`; `normalise(raw, geom, meta, fid, lane, fname, file_sha)`; `mw(keys)`; `load_lanes(dirs)`; `_round(o)`; `_reasons(rejects)`; `build(dirs, out)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: NESO data portal; GeoJSON file uk_datacentre_pipeline.geojson; JSON file dc_pipeline.schema.json; JSON file .rejects.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Dcmerge - File: data-grid-gb/datacentres/lanes/dc-a7-merge/dcmerge.py (Python, 561 lines) · role geodesy · stage transform · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/lanes/dc-a7-merge/dcmerge.py#L1-L561 - Page: https://code.globalgrid2050.com/explore-code/s/0745.html#f1 - Synopsis: A Python module in the lanes folder of Data Grid GB that works with postcodes, using SHA-256. - What it achieves (comment): It merges group (`merge_group`) and is built from the source tier helper (`source_tier`) and the norm name helper (`norm_name`). Dedupe / merge engine for the UK data-centre pipeline (GridAtlas #73 step 4). - What it does: It calculates postcodes. Defines 40 functions or classes, including source_tier, _tokens, norm_name, norm_operator, norm_authority. Uses libraries difflib, hashlib, math, re, json. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: postcodes. - Downstream impact: Used directly by 2 files: Dcingest (data-grid-gb); Test Dcmerge (data-grid-gb). - Signatures: `source_tier(src)`; `_tokens(s)`; `norm_name(s)`; `norm_operator(s)`; `norm_authority(s)`; `norm_ref(s)`; `designators(name)`; `name_similarity(a, b)`; `_op_core(s)`; `operator_match(a, b)`; `haversine_km(lat1, lon1, lat2, lon2)`; `coarser(p1, p2)`; `site_id(site_key)`; `rec_key(r)`; `rec_tier(r)`; `rec_datasets(r)`; `_point(r)`; `_precision(r)`; `plan_keys(r)`; `conn_keys(r)`; `norm_url(u)`; `raw_url_keys(r)`; `url_keys(r)`; `_lanes(r)`; `url_link(a, b, dist)` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Dcschema - File: data-grid-gb/datacentres/lanes/dc-a7-merge/dcschema.py (Python, 193 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/lanes/dc-a7-merge/dcschema.py#L1-L193 - Page: https://code.globalgrid2050.com/explore-code/s/0746.html#f1 - Synopsis: A Python command-line tool in the lanes folder of Data Grid GB that reads DC pipeline schema, using SHA-256. It loads schema (`load_schema`) and validates file (`validate_file`). - What it achieves (comment): Standard-library validator for `dc_pipeline`.schema.json (GridAtlas #73 step 3). - What it does: It loads DC pipeline schema. Defines 8 functions or classes, including load_schema, _resolve, _check, site_id, semantic_errors. Uses libraries hashlib, json, os, re, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file dc_pipeline.schema.json; command-line arguments. - Downstream impact: Used directly by 2 files: Dcingest (data-grid-gb); Test Dcmerge (data-grid-gb). - Signatures: `load_schema(path=SCHEMA_PATH)`; `_resolve(root, ref)`; `_check(node, value, root, path, errors)`; `site_id(site_key)`; `semantic_errors(rec, path="$")`; `validate(rec, schema=None, cross_check=False, path="$")`; `feature_to_record(feat)`; `validate_file(path, cross_check=True)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file dc_pipeline.schema.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Test Dcmerge - File: data-grid-gb/datacentres/lanes/dc-a7-merge/test_dcmerge.py (Python, 533 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/lanes/dc-a7-merge/test_dcmerge.py#L1-L533 - Page: https://code.globalgrid2050.com/explore-code/s/0746.html#f2 - Synopsis: A test in the lanes folder of Data Grid GB that checks Dcingest and Dcmerge, using SHA-256 using data from National Energy System Operator (NESO) data portal. - What it achieves (comment): It merges tests (`MergeTests`) and is built from the schema tests class (`SchemaTests`) and the normaliser tests class (`NormaliserTests`). Synthetic unit tests for dcschema / dcmerge / dcingest (stdlib unittest). Its code works with 12 MW and 400 kV. - What it does: It tests its inputs. Defines 64 functions or classes, including mk, SchemaTests, test_valid_record, test_status_enum, test_mw_needs_source. Uses libraries copy, json, os, random, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 400kV. - Inputs & outputs: In: data source: NESO data portal; GeoJSON file osm.geojson; JSON file plan.json; GeoJSON file out.geojson; JSON file x.json. Out: JSON file. Voltage levels named: 400kV. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `mk(lane, dataset, ref, name, lat=None, lon=None, precision="exact_site", operator=None, status="unknown", it=None, grid=...)`; `class SchemaTests`; `test_valid_record(self)`; `test_status_enum(self)`; `test_mw_needs_source(self)`; `test_mw_source_must_exist(self)`; `test_non_open_licence_rejected(self)`; `test_dates_and_precision(self)`; `test_half_point(self)`; `test_id_must_hash_key(self)`; `test_jsonschema_agrees_on_structure(self)`; `class NormaliserTests`; `test_name_similarity(self)`; `test_operator_match(self)`; `test_designators(self)`; `test_haversine(self)`; `test_licence_mapping(self)`; `test_status_mapping(self)`; `class MergeTests`; `test_cross_operator_name_and_location_never_merge(self)`; `test_parenthesised_operator_gloss_is_not_a_split(self)`; `test_cross_operator_shared_document_and_ref_never_merge(self)`; `test_cross_operator_cannot_chain_through_unknown(self)`; `test_same_name_close_points_merge(self)`; `test_same_name_far_apart_do_not_merge(self)` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: NESO data portal; GeoJSON file osm.geojson; JSON file plan.json; GeoJSON file out.geojson; JSON file x.json]; out [JSON file]; crs []; voltages [400kV] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Datacentres — Locations - File: data-grid-gb/datacentres/locations/__init__.py (Python, 1 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/locations/__init__.py#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/0747.html#f2 - Synopsis: A Python module in Data Grid GB. - What it achieves (comment): Address/location stage for the existing data-centre data owners. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentres'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build - File: data-grid-gb/datacentres/locations/build.py (Python, 252 lines) · role storage · stage ingest - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/locations/build.py#L1-L252 - Page: https://code.globalgrid2050.com/explore-code/s/0747.html#f3 - Synopsis: A Python module in the locations folder of Data Grid GB that reads postcodes, using SHA-256 from postcodes.io and the GridAtlas repository. - What it achieves (comment): It writes Parquet (`write_parquet`) and is built from the encoded step (`encoded`) and the sha step (`sha`). Offline DC address/location projection. No identity or grid-capacity approval. - What it does: It loads postcodes. Defines 14 functions or classes, including encoded, sha, postcode, point, statements. Uses libraries __future__, hashlib, json, math, re. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentres'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes. - Inputs & outputs: In: data source: gridatlas data; data source: postcodes.io; DuckDB queries. - Downstream impact: Used directly by 2 files: Pipeline (data-grid-gb); Test DC Address Locations (data-grid-gb). Reached from 2 other entry points, including Datacentre Addresses Workflow (data-grid-gb); Test Assets Workflow (data-grid-gb). - Signatures: `encoded(value)`; `sha(data)`; `postcode(value)`; `point(lon, lat)`; `statements(entity, prop)`; `statement_value(statement)`; `text_claims(entity, prop)`; `address_metadata(entity, country)`; `screening_url(geometry, name)`; `distance_m(a, b)`; `source_qids(properties)`; `cross_references(feature, references)`; `build(cohort, entities, geocodes, receipt, references=())`; `write_parquet(document, path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: postcodes.io; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0 ### Pipeline - File: data-grid-gb/datacentres/locations/pipeline.py (Python, 252 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/datacentres/locations/pipeline.py#L1-L252 - Page: https://code.globalgrid2050.com/explore-code/s/0747.html#f4 - Synopsis: A Python command-line tool in the locations folder of Data Grid GB that fetches inputs, cohort, datacentre locations and readback repeat, using SHA-256 from postcodes.io. - What it achieves (comment): It extracts entities (`extract_entities`), parses geocodes (`parse_geocodes`) and loads snapshot (`load_snapshot`). Bounded manual address stage beside the existing DC-A4 producer. It reads `cohort.json`. It accepts `--inputs`, `--snapshot` and `--output`. - What it does: It fetches inputs, cohort, datacentre locations and readback repeat. Defines 10 functions or classes, including resource_path, Collector, __init__, fetch, extract_entities. Uses libraries __future__, argparse, datetime, gzip, io. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentres'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: postcodes.io; JSON file source-snapshot.json; JSON file inputs.json; JSON file cohort.json; GeoJSON file datacentre-locations.geojson; Parquet file datacentre-locations.parquet; Parquet file readback-repeat.parquet; DuckDB queries. Out: JSON file inputs.json; JSON file source-snapshot.json; GeoJSON file datacentre-locations.geojson. - Downstream impact: Used directly by 1 file: Test DC Address Locations (data-grid-gb). Reached from 2 other entry points, including Datacentre Addresses Workflow (data-grid-gb); Test Assets Workflow (data-grid-gb). - Signatures: `resource_path(folder, relative)`; `class Collector`; `__init__(self, folder)`; `fetch(self, relative, url, payload=None, expected=None)`; `extract_entities(responses)`; `parse_geocodes(document)`; `load_snapshot(folder)`; `collect(config_path, folder)`; `product(folder, document, parquet=False)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: postcodes.io; JSON file source-snapshot.json; JSON file inputs.json; JSON file cohort.json; GeoJSON file datacentre-locations.geojson; Parquet file datacentre-locations.parquet; Parquet file readback-repeat.parquet; DuckDB queries]; out [JSON file inputs.json; JSON file source-snapshot.json; GeoJSON file datacentre-locations.geojson]; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 1; mentioned by 0 ### Fetch Assets - File: data-grid-gb/pipelines/fetch_assets.py (Python, 71 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/pipelines/fetch_assets.py#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/0747.html#f5 - Synopsis: A Python command-line tool in the pipelines folder of Data Grid GB covering sources, using SHA-256. It is built from the cmd list helper (`cmd_list`). - What it achieves (comment): Fetch, pin and normalise the data-centre and conventional-generation sources. It accepts `--source`, `--include-unverified` and `--update-pins`. - What it does: Defines cmd_list, main. Uses libraries __future__, argparse, sys, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file sources.json; JSON file INDEX.json; command-line arguments. - Downstream impact: Used directly by 1 file: Fetch Assets Workflow (data-grid-gb). - Signatures: `cmd_list(domains)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file sources.json; JSON file INDEX.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Fetch Sources - File: data-grid-gb/pipelines/fetch_sources.py (Python, 131 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/pipelines/fetch_sources.py#L1-L131 - Page: https://code.globalgrid2050.com/explore-code/s/0748.html#f1 - Synopsis: A Python command-line tool in the pipelines folder of Data Grid GB that fetches grid substations, using SHA-256 from National Energy System Operator (NESO) data portal and the GridAtlas repository. - What it achieves (comment): It is built from the get step (`get`) and the write step (`write`). Fetch the public sources this repository derives from, and pin them. Its code works with 100 MVA. - What it does: It fetches grid substations. Defines get, write, main. Uses libraries hashlib, io, json, os, sys. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data; data source: NESO data portal; GeoJSON file grid_substations.geojson; JSON file sources-manifest.json; command-line arguments. - Downstream impact: Used directly by 1 file: Refresh Network Products Workflow (data-grid-gb). - Signatures: `get(url)`; `write(path, payload)`; `main(include_reference=False)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: NESO data portal; GeoJSON file grid_substations.geojson; JSON file sources-manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Run Lanes - File: data-grid-gb/pipelines/run_lanes.py (Python, 146 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/pipelines/run_lanes.py#L1-L146 - Page: https://code.globalgrid2050.com/explore-code/s/0748.html#f2 - Synopsis: A Python command-line tool in the pipelines folder of Data Grid GB that works with cmd fetch (`cmd_fetch`) and cmd inputs (`cmd_inputs`), using SHA-256. - What it achieves (comment): It is built from the selected step (`selected`), the cmd build helper (`cmd_build`) and the cmd selftest helper (`cmd_selftest`). Run the vendored #73 lane scripts and pin what they produce. It accepts `--lane` and `--include-unverified`. - What it does: Defines 7 functions or classes, including selected, cmd_fetch, cmd_inputs, cmd_build, cmd_selftest. Uses libraries __future__, argparse, json, sys, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 4 files: Fetch Assets Workflow (data-grid-gb); Test Assets Workflow (data-grid-gb); Test Lanes (data-grid-gb); Reproduce (data-grid-gb). Reached from 1 other entry point, including Test Assets (data-grid-gb). - Signatures: `selected(doc: dict, only)`; `cmd_fetch(domain, only, include_unverified)`; `cmd_inputs(domain, only)`; `cmd_build(domain, only, include_unverified)`; `cmd_selftest(domain, only)`; `summary_lines(domain)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 4; mentioned by 0 ### Data Grid GB — Renewable Energy Planning Database (REPD) Columnar - File: data-grid-gb/repd_columnar/__init__.py (Python, 1 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/repd_columnar/__init__.py#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/0748.html#f3 - Synopsis: A Python module covering the REPD register. - What it achieves (comment): Offline pinned REPD analytical export; no live importer or source refresh. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Data Grid GB — Renewable Energy Planning Database (REPD) Columnar - File: data-grid-gb/repd_columnar/__main__.py (Python, 3 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/repd_columnar/__main__.py#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0748.html#f4 - Synopsis: A Python module. - What it achieves (code): Entry point only: it runs `main()` from `.export`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 0; mentioned by 0 ### Export - File: data-grid-gb/repd_columnar/export.py (Python, 305 lines) · role storage · stage output - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/repd_columnar/export.py#L1-L305 - Page: https://code.globalgrid2050.com/explore-code/s/0748.html#f5 - Synopsis: A Python module in the REPD columnar folder of Data Grid GB that reads Renewable Energy Planning Database (REPD), load, benchmark baseline and filtered, using SHA-256. - What it achieves (comment): It loads source (`load_source`) and exports product (`export_product`). DuckDB/Parquet prototype preserving the exact frozen canonical records. It accepts `--source-root`, `--pin` and `--out`. - What it does: It loads REPD, load, benchmark baseline and filtered. Defines 12 functions or classes, including encoded, sha, git_blob, load_source, _q. Uses libraries argparse, datetime, gzip, hashlib, json. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file build_manifest.json; Parquet file repd.parquet; JSON file source-load.json; JSON file benchmark-baseline.json; JSON file filtered.json; JSON file solar1000-manifest.json; JSON file measurements.json; JSON file v939-source.json. Out: JSON file filtered.json; JSON file solar1000-manifest.json; JSON file measurements.json. - Downstream impact: Used directly by 2 files: Data Grid GB — Renewable Energy Planning Database (REPD) Columnar (data-grid-gb); Test Export (data-grid-gb). Reached from 1 other entry point, including Renewable Energy Planning Database (REPD) Columnar Workflow (data-grid-gb). - Signatures: `encoded(value)`; `sha(raw)`; `git_blob(root, commit, path)`; `load_source(source_root, pin)`; `_q(name)`; `schema_for(rows)`; `filters(technology=None, submitted_year=None, updated_year=None, operational_year=None)`; `projection(parquet, limit=100, **query)`; `_matches(row, query)`; `measure(json_path, parquet, limit, query)`; `export_product(source_root, output, pin, limit=100, **query)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json; Parquet file repd.parquet; JSON file source-load.json; JSON file benchmark-baseline.json; JSON file filtered.json; JSON file solar1000-manifest.json; JSON file measurements.json; JSON file v939-source.json]; out [JSON file filtered.json; JSON file solar1000-manifest.json; JSON file measurements.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Test Export - File: data-grid-gb/repd_columnar/tests/test_export.py (Python, 174 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/repd_columnar/tests/test_export.py#L1-L174 - Page: https://code.globalgrid2050.com/explore-code/s/0749.html#f1 - Synopsis: A test in the tests folder of Data Grid GB that checks Export, using SHA-256. It exports tests (`ExportTests`) and sets up (`setUp`). - What it achieves (comment): Offline prototype checks. Real integration uses an explicit pinned local checkout. - What it does: It tests its inputs. Defines 14 functions or classes, including synthetic, ExportTests, setUp, test_all_fields_dates_null_capacity_nested_unicode_and_order_roundtrip, test_changed_byte_pin_refuses_before_output_write. Uses libraries copy, datetime, json, os, pathlib. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file v939-source.json; JSON file part-001.json; JSON file build_manifest.json; JSON file raw-descriptor.json; Parquet file repd.parquet; JSON file filtered.json; JSON file solar1000-manifest.json; JSON file measurements.json. - Downstream impact: Used directly by 1 file: Renewable Energy Planning Database (REPD) Columnar Workflow (data-grid-gb). - Signatures: `synthetic()`; `class ExportTests`; `setUp(self)`; `test_all_fields_dates_null_capacity_nested_unicode_and_order_roundtrip(self)`; `test_changed_byte_pin_refuses_before_output_write(self)`; `test_unknown_capacity_is_never_zero_imputed(self)`; `test_duplicate_identity_and_invalid_day_are_refused(self)`; `test_population_mismatch_and_solar_order_are_refused(self)`; `test_existing_or_inside_source_output_is_refused(self)`; `test_another_git_worktree_output_is_refused(self)`; `test_filters_are_bounded_and_parameterized(self)`; `test_source_path_and_mutable_ref_are_refused(self)`; `class PinnedSourceTests`; `test_full_7775_record_source_roundtrip(self)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file v939-source.json; JSON file part-001.json; JSON file build_manifest.json; JSON file raw-descriptor.json; Parquet file repd.parquet; JSON file filtered.json; JSON file solar1000-manifest.json; JSON file measurements.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Addresses - File: energy-transition-simulator/prototype/mod/addresses.js (JavaScript, 151 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/addresses.js#L1-L151 - Page: https://code.globalgrid2050.com/explore-code/s/0749.html#f2 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that fetches postcodes, using OSTN15 and Helmert from postcodes.io. - What it achieves (comment): It looks up postcode (`lookupPostcode`) and is built from the on grid helper (`onGrid`) and the classify step (`classify`). Type a UK postcode, a National Grid reference, an easting/northing pair or a lat, lon into the find box ("go SW1A 1AA", "go TQ 30624 78388", "go 530624 178388", "go 51.5, -0.12") and fly to the right spot. It responds to keydown events. - What it does: It fetches postcodes. Defines 10 functions or classes, including onGrid, classify, gridToLatLon, lookupPostcode, metres. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: postcodes. - Inputs & outputs: In: data source: postcodes.io; browser storage (getItem). Out: browser storage (setItem). Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Signatures: `onGrid(e, n)`; `classify(raw)`; `gridToLatLon(e, n)`; `set(k, v)`; `lookupPostcode(pc)`; `r(await res.json())`; `metres(a, b)`; `marker(lon, lat)`; `land(S, lat, lon, text, zoom)`; `ref10(e, n)`; `conv(o)`; `go(S, raw)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/energy-transition-simulator/202610290235/mod/addresses.js) · essay_status: readme_derived - data_contracts: in [data source: postcodes.io; browser storage (getItem)]; out [browser storage (setItem)]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Connect Here - File: energy-transition-simulator/prototype/mod/connect-here.js (JavaScript, 177 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/connect-here.js#L1-L177 - Page: https://code.globalgrid2050.com/explore-code/s/0749.html#f3 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that draws grid substations and cables, and uses data from the GridAtlas repository. - What it achieves (comment): It starts pulse (`startPulse`) and is built from the ready step (`ready`) and the init step (`init`). From the map centre, find the nearest GridAtlas substation point at a chosen voltage, draw a wireframe cable route to it in real coordinates (straight, or snapped to roads via the public OSRM router on OpenStreetMap data). - What it does: It draws grid substations and cables. Defines 16 functions or classes, including ready, init, btn, hav, segLen. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; GeoJSON file grid_substations.geojson. Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `ready()`; `init()`; `btn(label, fn)`; `hav(a, b)`; `segLen(a, b)`; `densify(path)`; `chunk(path)`; `boxBlock(lon, lat, s, h, extra)`; `pulseBlock(lon, lat)`; `subs()`; `roadPath(a, b)`; `run(from)`; `elec(len)`; `fit(path)`; `clear()`; `startPulse(path)`; `s((t - t0) / 1000 * speed)`; `f(s - cum[i - 1])` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; GeoJSON file grid_substations.geojson]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Coords Readout - File: energy-transition-simulator/prototype/mod/coords-readout.js (JavaScript, 133 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/coords-readout.js#L1-L133 - Page: https://code.globalgrid2050.com/explore-code/s/0749.html#f4 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that loads tile (`loadTile`) and draws on a canvas, covering LiDAR terrain, using OSTN15 and Helmert. - What it achieves (comment): It loads tile (`loadTile`) and is built from the start step (`start`) and the place step (`place`). An always-visible coordinate HUD in the morning engine's style (small monospace, grey on black, red for the rule line). It responds to resize and click events. - What it does: It draws LiDAR terrain. Defines 12 functions or classes, including start, place, tileFor, loadTile, heightAt. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: LiDAR terrain. - Inputs & outputs: Out: canvas drawing. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Signatures: `start(SIM)`; `place()`; `tileFor(lat, lon)`; `y(0.5 - Math.log((1 + s) / (1 - s)) / (4 * Math.PI))`; `loadTile(tx, ty)`; `heightAt(lat, lon)`; `h(c, r)`; `surveyOn()`; `lidarCached(lat, lon)`; `inGB(lat, lon)`; `esc(s)`; `render()`; `hd(map.getBearing() % 360 + 360)`; `kick()` - VEDIC: HEIGHT (GG2050-VEDIC-000011): Solar Design Studio / LiDAR · Mathematics / Raster sampling. bng_easting_m, bng_northing_m -> height_receipt_or_null - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Engine Lock - File: energy-transition-simulator/prototype/mod/engine-lock.js (JavaScript, 305 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine-lock.js#L1-L305 - Page: https://code.globalgrid2050.com/explore-code/s/0750.html#f1 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that maps cables, LiDAR terrain and transformers, using OSTN15. It rebuilds same (`rebuildSame`) and stops ride (`stopRide`). - What it achieves (comment): The site-world 10MVA block, imported BY URL from its immutable site-world release (never copied), locked to real coordinates first and animated second. Its code works with 10 MVA and 33 kV. It responds to click and keydown events. - What it does: It maps cables, LiDAR terrain and transformers. Defines 48 functions or classes, including ENGINE, PF, stream, clamp, lerp. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, LiDAR terrain, transformers, 33kV. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 33kV. - Signatures: `ENGINE(s)`; `PF()`; `stream()`; `clamp(v, a, b)`; `lerp(a, b, t)`; `routeAt(r, d)`; `cableCamera(r, distance, reverse = 1)`; `route(pts)`; `load()`; `exag()`; `elevNow()`; `rawAt(lon, lat)`; `demAt(lon, lat)`; `grounds()`; `ground(e, n)`; `fallback(e, n)`; `rot(E, N, a)`; `build(o = {})`; `bearing(o.bearingDeg || 0)`; `toV(x, y, h)`; `pack(verts)`; `ll(P, R, E, N, e, n)`; `tilesTouched(bb)`; `tileState(t)`; `arriveAt(t, why)` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Block Build - File: energy-transition-simulator/prototype/mod/engine/block-build.mjs (JavaScript, 255 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/block-build.mjs#L1-L255 - Page: https://code.globalgrid2050.com/explore-code/s/0750.html#f2 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables, transformers, overhead lines (OHL) and substations. - What it achieves (comment): It builds block (`buildBlock`) and is built from the group step (`group`) and the put step (`put`). The owner's 10MVA solar block (`station.mjs`, ported from his explorer) placed on the measured ground, with the 33kV rings to the grid (`block-mv.mjs`), as line groups ordered for the build sequence. Its code works with 10 MVA, 33 kV and 5 MVA. - What it does: It calculates cables, transformers, overhead lines (OHL) and substations. Defines 25 functions or classes, including group, put, seg, poly, mark. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, transformers, overhead lines (OHL), substations, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Signatures: `export padEarthworks(g, e0, n0, e1, n1, level = null)`; `export buildBlock({ anchor, ground, fallback = () => NaN, stations = 4, pocKv = 400, towers = [], gpuPads = [], topology = 'radial', co...)`; `export overheadClearance([E, N], stations, towers)`; `export blockCounts(b)`; `group()`; `put(G, p)`; `seg(G, a, b)`; `poly(G, pts)`; `mark(G)`; `box(G, [x, y, z], w, d, h)`; `median(a)`; `pileTotals(P)`; `g(e, n)`; `zLocal(x)`; `baseOf(n, y)`; `onTable(n, x, y)`; `gq(e, n)`; `at(x, y, z)`; `edge(off, dz)`; `padOf(S)`; `buried(a, b)`; `lift(pts, table, inv, endZ)`; `odMv(a)`; `inside(poly, x, y)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/block-build.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 7 estate files (import 7); used by 0; mentioned by 1 ### Block MV - File: energy-transition-simulator/prototype/mod/engine/block-mv.mjs (JavaScript, 139 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/block-mv.mjs#L1-L139 - Page: https://code.globalgrid2050.com/explore-code/s/0750.html#f3 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with transformers, solar and cables, using IEC 60287 and IEC 60949. - What it achieves (comment): It is built from the MV chain helper (`mvChain`), the col x helper (`colX`) and the path step (`path`). Stations of the solar block chained on 33kV feeders to the MV board, the grid transformer(s) and the connection, laid out and sized from the load. Its code works with 33 kV and 400 kV. - What it does: It calculates transformers, solar and cables. Defines 12 functions or classes, including mvChain, colX, up, path, groupOf. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: transformers, solar, cables, 400kV, 33kV. - Inputs & outputs: Voltage levels named: 400kV, 33kV. - Downstream impact: Used directly by 2 files: Cmd Trench (energy-transition-simulator); Block Build (energy-transition-simulator). - Signatures: `export mvChain({ stations = 4, stationMVA = 9.856, pocKv = 400, topology = 'radial', layout = MV_LAYOUT, ...opts } = {})`; `fieldE(cols - 1)`; `colX(col)`; `up(s)`; `path(A, B)`; `groupOf(h)`; `size(mva, h)`; `drop()`; `dropWith(a)`; `side(hs, sts)`; `lineOf(key)`; `off(key, lane)`; `xy(key, v, lane)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271552-site-world/world/block-mv.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 33kV] - Edges: uses 4 estate files (import 4); used by 2; mentioned by 0 ### Bng - File: energy-transition-simulator/prototype/mod/engine/bng.mjs (JavaScript, 214 lines) · role geodesy · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/bng.mjs#L1-L214 - Page: https://code.globalgrid2050.com/explore-code/s/0751.html#f1 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that converts to cartesian (`toCartesian`), parses grid ref (`parseGridRef`) and calculates planar distances and angles, using Helmert and OSTN15. - What it achieves (comment): It parses grid ref (`parseGridRef`) and is built from the invert3 step (`invert3`) and the apply step (`apply`). `bngToWgs84` mirrors `osgb36_to_wgs84` in GlobalGrid2050 `uk_renewables_pipeline/v9.7/scripts/data/build_v7_2_spine.py` term for term (one deliberate difference: the meridian-arc loop, see `tmInverse`). - What it does: It calculates its inputs. Defines 14 functions or classes, including invert3, apply, toCartesian, fromCartesian, meridional. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: Journey (energy-transition-simulator); Place Frame Samples (energy-transition-simulator). - Signatures: `export tmForward(lat, lon)`; `export tmInverse(easting, northing)`; `export bngToWgs84(e, n, ostn)`; `export wgs84ToBng(lat, lon, ostn)`; `export parseGridRef(ref)`; `export gridRef(e, n, digits = 10)`; `N_(AIRY_A - AIRY_B)`; `invert3(m)`; `apply(m, v)`; `toCartesian(lat, lon, h, a, e2)`; `fromCartesian(x, y, z, a, e2)`; `meridional(lat)`; `ma(1 + n + 5 / 4 * n ** 2 + 5 / 4 * n ** 3)`; `mb(3 * n + 3 * n ** 2 + 21 / 8 * n ** 3)`; `mc(15 / 8 * n ** 2 + 15 / 8 * n ** 3)`; `offset(o)`; `e100((l1 - 2) % 5)`; `n100(19 - Math.floor(l1 / 5) * 5)`; `pad(d)`; `l1(19 - n100)`; `l2((19 - n100) * 5)`; `fmt(v)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of energy-transition-simulator/prototype/world/bng.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Bs7671 Checks - File: energy-transition-simulator/prototype/mod/engine/bs7671-checks.mjs (JavaScript, 41 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/bs7671-checks.mjs#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0751.html#f2 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables, using BS 7671. - What it achieves (comment): It is built from the buried overload helper (`buriedOverload`), the buried protection helper (`buriedProtection`) and the disconnection step (`disconnection`). Checks on the LV cable engines from a cross-check against the national wiring rules. - What it does: It calculates cables. Defines buriedOverload, buriedProtection, disconnection. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Downstream impact: Used directly by 1 file: LV DC Sizing (energy-transition-simulator). - Signatures: `export buriedOverload({ In, izAt, soilKmW, factor = SOIL_SENSITIVITY })`; `export buriedProtection({ armoured = false, ducted = false, kind = 'LV' } = {})`; `export disconnection(p)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/bs7671-checks.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Cmd Derive - File: energy-transition-simulator/prototype/mod/engine/cmd-derive.mjs (JavaScript, 101 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/cmd-derive.mjs#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/0751.html#f3 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables and 33kV. - What it achieves (comment): It is built from the noon sun helper (`noonSun`), the row shade helper (`rowShade`) and the formation of helper (`formationOf`). The quantities a typed command changes, worked out from its inputs. Its code works with 33 kV. - What it does: It calculates cables and 33kV. Defines 12 functions or classes, including noonSun, rowShade, formationOf, cableFor, bendOf. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Cmd Model (energy-transition-simulator). - Signatures: `export noonSun(latDeg)`; `export rowShade({ rise, depth, pitch, elevDeg })`; `export formationOf(formation, od)`; `export cableFor(catalogue, size, metal = 'al')`; `export bendOf(catalogue, cable)`; `export trenchOf({ depth, width, formation, od })`; `export shoelace(pts)`; `export stringLoops({ mps, moduleShortM = 1.134, moduleLongM = 2.384, moduleGapM = 0.02 }, a = LOOP_ASSUMED)`; `export coldVoc({ voc, coeff = -0.0025, minC = -10 }, n)`; `export soilEffect(here)`; `rules(catalogue?.rules || [])`; `m(when)`; `cap(s)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/cmd-derive.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 1 ### Cmd Grammar Earth - File: energy-transition-simulator/prototype/mod/engine/cmd-grammar-earth.mjs (JavaScript, 62 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/cmd-grammar-earth.mjs#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/0751.html#f4 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator covering cables. - What it achieves (comment): It parses earth (`parseEarth`) and is built from the is num helper (`isNum`) and the is thermal soil helper (`isThermalSoil`). The earthing words of the command line (earthing, earth, soil rho, bonding), split out of `cmd-grammar.mjs` to keep each cartridge under 400 lines. - What it does: It lists and searches cables. Defines isNum, isThermalSoil, parseEarth, has, chk. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Downstream impact: Used directly by 1 file: Cmd Grammar (energy-transition-simulator). - Signatures: `export isThermalSoil(rest)`; `export parseEarth(v, rest, bad, eg)`; `isNum(t)`; `has(w)`; `chk(k, x)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/cmd-grammar-earth.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Cmd Grammar Plant - File: energy-transition-simulator/prototype/mod/engine/cmd-grammar-plant.mjs (JavaScript, 60 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/cmd-grammar-plant.mjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0751.html#f5 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator. It parses plant (`parsePlant`) and is built from the has step (`has`). - What it achieves (comment): The typed words for the plant's inverter class, its packing and the study presets. Its code works with 2500 kVA, 300 kVA and 400 kVA. - What it does: It lists and searches its content. Defines parsePlant, has, at. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Cmd Grammar (energy-transition-simulator). - Signatures: `export parsePlant(v, rest, out, { put, bad, isNum })`; `has(w)`; `at(w)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/cmd-grammar-plant.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Cmd Grammar Senses - File: energy-transition-simulator/prototype/mod/engine/cmd-grammar-senses.mjs (JavaScript, 25 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/cmd-grammar-senses.mjs#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/0751.html#f6 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator. It parses senses (`parseSenses`) and is built from the is num helper (`isNum`). - What it achieves (comment): The binoculars words of the command line (binoculars, zoom, range), split out of `cmd-grammar.mjs` to keep each cartridge under 400 lines. - What it does: Defines isNum, parseSenses. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Cmd Grammar (energy-transition-simulator). - Signatures: `export parseSenses(v, rest, bad)`; `isNum(t)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/cmd-grammar-senses.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Cmd Grammar - File: energy-transition-simulator/prototype/mod/engine/cmd-grammar.mjs (JavaScript, 400 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/cmd-grammar.mjs#L1-L400 - Page: https://code.globalgrid2050.com/explore-code/s/0752.html#f1 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator covering solar, overhead lines (OHL), cables and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It is built from the said step (`said`), the guard step (`guard`) and the words step (`words`). The typed design language of the site world. Its code works with 10 MVA, 100 MVA and 50 MW. - What it does: It lists and searches solar, overhead lines (OHL), cables and the REPD register. Defines 15 functions or classes, including r, said, guard, words, search. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, overhead lines (OHL), cables, the REPD register. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Cmd Model (energy-transition-simulator). - Signatures: `export guard(key, v)`; `export words(line)`; `export search(text, limit = 8)`; `export example(c, text = '')`; `export parse(line)`; `export help(topic = '')`; `r(v, d = 2)`; `said(v)`; `hay(c)`; `refuse(why, line)`; `isNum(t)`; `takes(VOCAB[v] || [])`; `put(key, val)`; `num(i, key, units = [])`; `after(w)`; `has(w)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/cmd-grammar.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 8 estate files (import 8); used by 1; mentioned by 0 ### Cmd Model - File: energy-transition-simulator/prototype/mod/engine/cmd-model.mjs (JavaScript, 357 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/cmd-model.mjs#L1-L357 - Page: https://code.globalgrid2050.com/explore-code/s/0753.html#f1 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables, 33kV and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It applies set (`applySet`), creates session (`createSession`) and runs layout (`runLayout`). The design as typed. A session holds the typed values, runs each command through an engine (the page's plant, block and layers, or a plain CPU layout in tests), echoes what changed in words, keeps an undo stack. Its code works with 33 kV. - What it does: It calculates cables, 33kV and the REPD register. Defines 27 functions or classes, including STRUCT, PACK, moduleOf, tplOpts, f. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, 33kV, the REPD register, 1500V. - Inputs & outputs: Voltage levels named: 33kV, 1500V. - Signatures: `export moduleOf(st, env = {})`; `export derive(st, env = {}, lay = null)`; `export postOf(st, T)`; `export spoilOf(lay, st, sections = [])`; `export echo(a, b)`; `export layoutInput(st, env = {})`; `export createSession({ engine, env = {} })`; `export explain(what, d)`; `export summarize(r)`; `STRUCT(st)`; `PACK(st)`; `tplOpts(st, env)`; `f(v, d = 2)`; `int(v)`; `sec(sections || [])`; `warnings(d)`; `inWords(e)`; `applySet(st0, c, env)`; `strOf(st)`; `same(a, b, keys)`; `fmtPts(pts)`; `view()`; `runLayout()`; `exec(line, { replay = false } = {})`; `view_(fn)` (and 3 more) - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/cmd-model.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV, 1500V] - Edges: uses 10 estate files (import 10); used by 0; mentioned by 1 ### Connect Here - File: energy-transition-simulator/prototype/mod/engine/connect-here.mjs (JavaScript, 135 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/connect-here.mjs#L1-L135 - Page: https://code.globalgrid2050.com/explore-code/s/0753.html#f2 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables, solar, 33kV and substations, using IEC 60287 and IEC 60287-1-1. - What it achieves (comment): It parses connect (`parseConnect`) and is built from the refuse step (`refuse`) and the connect kV helper (`connectKv`). The third step of the journey (owner direction 8.3): "connect here solar 50 at 132" drops a site where you stand and plans an illustrative cable back to the nearest substation at that voltage. Its code works with 33 kV and 1 kV. - What it does: It calculates cables, solar, 33kV and substations. Defines 6 functions or classes, including refuse, parseConnect, connectKv, cableOpts, fmtLen. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, solar, 33kV, substations, 132kV, 1kV. - Inputs & outputs: Voltage levels named: 132kV, 33kV, 1kV. - Signatures: `export parseConnect(line)`; `export connectKv({ kv, mw })`; `export cableOpts(kv, extra = {})`; `export planConnection({ from, to, kv, mw = null, pf = CONNECT_PF, groundAt = () => 0, circuitGroupFactor = 0.8 })`; `refuse(msg, line)`; `rest(m[1] || '')`; `fmtLen(m)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/energy-transition-simulator/202609280014/mod/engine/connect-here.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [132kV, 33kV, 1kV] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Elec Style - File: energy-transition-simulator/prototype/mod/engine/elec-style.mjs (JavaScript, 36 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/elec-style.mjs#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0753.html#f3 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with elec CSS (`elecCss`). - What it achieves (comment): It is built from the rgba step (`rgba`) and the elec CSS helper (`elecCss`). One table for what an electrical line looks like, by voltage level (e4 UI spec, section 3). Its code works with 1.5 kV, 33 kV and 400 kV. - What it does: It calculates its inputs. Defines rgba, elecCss. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV, 33kV, 1.5kV. - Inputs & outputs: Voltage levels named: 400kV, 33kV, 1.5kV. - Downstream impact: Used directly by 1 file: Single-Line Diagram (SLD) Rules (energy-transition-simulator). - Signatures: `export rgba(key, a = 1)`; `export elecCss(scope)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/elec-style.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 33kV, 1.5kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Fault Level - File: energy-transition-simulator/prototype/mod/engine/fault-level.mjs (JavaScript, 14 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/fault-level.mjs#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0753.html#f4 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with transformers. It is built from the transformer fault ka helper (`transformerFaultKA`). - What it achieves (comment): Prospective fault current at a solar block's LV board, by the impedance method. Its code works with 5 MVA. - What it does: It calculates transformers. Defines transformerFaultKA. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: transformers. - Downstream impact: Used directly by 2 files: Cmd Trench (energy-transition-simulator); LV DC Sizing (energy-transition-simulator). - Signatures: `export transformerFaultKA(o = {})` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Journey - File: energy-transition-simulator/prototype/mod/engine/journey.mjs (JavaScript, 90 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/journey.mjs#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/0753.html#f5 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with go to (`goTo`) and calculates planar distances (units: kV), covering substations. - What it achieves (comment): It is built from the stand at helper (`standAt`), the kV text helper (`kvText`) and the card text helper (`cardText`). The first step of the journey (owner direction 8): "go substation 132" goes to the nearest substation that works at 132kV (or 400, 275, 66, 33, 11) and stands you outside its real compound fence (the footprints, lib.compound). Its code works with 132 kV. - What it does: It lists and searches substations. Defines 9 functions or classes, including parseJourney, standAt, kvText, cardText, createJourney. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations, 132kV. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 132kV. - Downstream impact: Used directly by 1 file: Sub Grammar (energy-transition-simulator). - Signatures: `export parseJourney(line)`; `export standAt(s, land)`; `export cardText(s, kv, d, land)`; `export createJourney({ world, grid, doc = globalThis.document })`; `kvText(v)`; `here()`; `$(id)`; `show(card)`; `goTo(v, fresh)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/energy-transition-simulator/202609280014/mod/engine/journey.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [132kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### LV DC Sizing - File: energy-transition-simulator/prototype/mod/engine/lv-dc-sizing.mjs (JavaScript, 400 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/lv-dc-sizing.mjs#L1-L400 - Page: https://code.globalgrid2050.com/explore-code/s/0754.html#f1 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables, using IEC 60287 and IEC 60287-1-1. - What it achieves (comment): It is built from the rdc step (`rdc`), the rac step (`rac`) and the build step (`build`). LV AC and 1.5 kV DC PV cable sizing, with our own code and editable inputs. Its code works with 1 kV. - What it does: It calculates cables. Defines 27 functions or classes, including rdc, rac, build, adiabaticK, air. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, 1.5kV, 1kV. - Inputs & outputs: Voltage levels named: 1.5kV, 1kV. - Downstream impact: Used directly by 1 file: Cmd Trench (energy-transition-simulator). - Signatures: `export rdc(area, t, cable)`; `export rac(area, t, cable, { freq = 50, spacingMm = null } = {})`; `export build(area, cable)`; `export adiabaticK(metal, ti = 90, tf = 250)`; `export nuCylinder(ra, pr = 0.71)`; `export airLoss(dM, ts, ta, { emissivity = 0.9, solarWm2 = 0, absorptivity = 0.6 } = {})`; `export annulusLoss(di, dOut, ti, to, { e1 = 0.9, e2 = 0.9 } = {})`; `export bundleFactor(m)`; `export trefoilRow(n, spacingM, depthM, odMm)`; `export row(n, spacingM, depthM)`; `export rating(spec)`; `export operatingC(ratingResult, I)`; `export chooseIn(Ib, { device = 'mccb', adjustable = false, setStep = 5, ratings = PREFERRED } = {})`; `export coordinate({ Ib, In, Iz, device = 'mccb', overloadLimit = 1.45 })`; `export voltDrop({ dc = false, I, lengthM, r, x = 0, U, pf = 1 })`; `export reactance(area, cable, { freq = 50, spacingMm = null, flat = false } = {})`; `export faultArea(metal, kA, seconds, ti = 90, tf = 250)`; `export stringCircuit(opts = {})`; `export inverterCircuit(opts = {})`; `export minSpacing(o)`; `xs4(8 * PI * freq / r * 1e-7)`; `air(tC)`; `lc(dOut - di)`; `x(c - (n - 1) / 2)`; `mutualT(rho, p, q)` (and 6 more) - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/lv-dc-sizing.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [1.5kV, 1kV] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 1 ### Measure Format - File: energy-transition-simulator/prototype/mod/engine/measure-format.mjs (JavaScript, 114 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/measure-format.mjs#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/0754.html#f2 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables. It formats number (`formatNumber`), formats length (`formatLength`) and formats area (`formatArea`). - What it achieves (comment): Plain British English lines from the numbers `measure.mjs` returns. - What it does: It calculates cables. Defines 16 functions or classes, including formatNumber, formatLength, formatArea, formatVolume, formatGradient. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Downstream impact: Used directly by 2 files: Single-Line Diagram (SLD) Rules (energy-transition-simulator); Cmd Model (energy-transition-simulator). - Signatures: `export formatNumber(x, dp = 1)`; `export formatLength(m, dp = 1)`; `export formatArea(m2, dp = 1)`; `export formatVolume(m3, dp = 1)`; `export formatGradient(g, dp = 1)`; `export formatTrenchLine(ts, cs = null)`; `export formatCableLine(cs)`; `export formatPlatformLine(cf)`; `export formatProfileLine(p)`; `export fmtSig(x, sf = 3)`; `export fmtQ(v, unit = '', sf = 3)`; `export fmtPct(p)`; `export fmtLen(m)`; `export fmtVolt(v)`; `plural(n, one, many)`; `belowPhrase(cs)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/measure-format.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Module Catalogue - File: energy-transition-simulator/prototype/mod/engine/module-catalogue.mjs (JavaScript, 105 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/module-catalogue.mjs#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/0754.html#f3 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with cables, using IEC 62548-1. It checks catalogue (`checkCatalogue`) and splits row (`splitRow`). - What it achieves (comment): The generic module catalogue (`data/modules.json`): schema check, the cell grid of a class, the cold open-circuit voltage, and the string and table counts a class gives on a table face. - What it does: It calculates cables. Defines 14 functions or classes, including NUM, checkCatalogue, classOf, nominal, highestVoc. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Downstream impact: Used directly by 4 files: Cmd Derive (energy-transition-simulator); LV DC Sizing (energy-transition-simulator); Plant Template (energy-transition-simulator); String Design (energy-transition-simulator). - Signatures: `export checkCatalogue(doc)`; `export classOf(doc, id)`; `export nominal(c)`; `export highestVoc(c)`; `export splitRow(c)`; `export sizeM(c)`; `export cellGrid(c)`; `export vocAt(c, tC, bin = nominal(c))`; `export coldVocOf({ voc, coeffPctPerK, tC })`; `export coldVoc(c, tC, bin = highestVoc(c))`; `export modulesPerString(c, coldC, systemV = 1500)`; `export faceFit(c, spanM, runM, gapM = 0.02, orient = 'portrait')`; `export countsFor(c, faces, coldC, systemV = 1500)`; `NUM(v)`; `gapT(lL - rows * ch - splitGap)`; `s0(W - lW)`; `tOf(r)`; `split(tOf(half) - splitGap / 2 - gapT / 2)`; `fit(a, b)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/module-catalogue.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Pile Rules - File: energy-transition-simulator/prototype/mod/engine/pile-rules.mjs (JavaScript, 122 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/pile-rules.mjs#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/0755.html#f1 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with tracker hub (`trackerHub`) and reveal band (`revealBand`). - What it achieves (comment): It is built from the rules for helper (`rulesFor`), the reveal at helper (`revealAt`) and the tracker hub helper (`trackerHub`). The one set of pile rules shared by the pile row tool (`piles.mjs`), the plant layout (`plant-piles.mjs`) and the solar block (`block-build.mjs`), with two profiles: fixed tilt and single-axis tracker. - What it does: Defines 8 functions or classes, including rulesFor, revealAt, trackerHub, revealBand, heightFlags. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 3 files: Block Build (energy-transition-simulator); Piles (energy-transition-simulator); Plant Piles (energy-transition-simulator). - Signatures: `export rulesFor(system)`; `export revealAt({ lowEdgeM, rise, f, railDepthM = PILE_RULES.railDepthM })`; `export trackerHub(R = TRACKER_RULES)`; `export revealBand(nominal, rules = PILE_RULES)`; `export heightFlags(reveal, design, rules = PILE_RULES)`; `export withSoil(rules, soil)`; `export tableLines({ lowEdgeM, rise, posts = 2, eastWest = false, tracker = false, rules = PILE_RULES })`; `export twistDeg(bFront, bRear, len, depth, dz = 0)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/pile-rules.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 1 ### Piles - File: energy-transition-simulator/prototype/mod/engine/piles.mjs (JavaScript, 278 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/piles.mjs#L1-L278 - Page: https://code.globalgrid2050.com/explore-code/s/0755.html#f2 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that fits top line (`fitTopLine`) and calculates planar distances and angles. - What it achieves (comment): It fits top line (`fitTopLine`) and is built from the pile stations helper (`pileStations`) and the spread at helper (`spreadAt`). Where the piles of a row of solar tables go, how far each stands out of the ground, how deep it goes in, and what grading a row needs where the ground is too uneven for a straight table. - What it does: It calculates its inputs. Defines 9 functions or classes, including pileStations, spreadAt, fitTopLine, clip, slopeAt. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Block Build (energy-transition-simulator); Plant Piles (energy-transition-simulator). - Signatures: `export pileStations(len, tableLength, pileSpacing, tableGap = 0)`; `export fitTopLine(s, g, reveal, maxSlope = Infinity)`; `export planPiles(opts)`; `export followTopLine(s, g, nominal, bayMax, passes = 400)`; `export revealPercentiles(piles)`; `FIXED_RISE(2 * 2.384 + 0.02)`; `off(len - used)`; `over(tableLength - (np - 1) * pileSpacing)`; `spreadAt(s, g, b)`; `clip(b)`; `slopeAt(groundAt, x, y, h)`; `gx(groundAt(x + h, y) - groundAt(x - h, y))`; `gy(groundAt(x, y + h) - groundAt(x, y - h))`; `ux(x1 - x0)`; `topOf(k)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/piles.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 1 ### Plant Central - File: energy-transition-simulator/prototype/mod/engine/plant-central.mjs (JavaScript, 48 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/plant-central.mjs#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0755.html#f3 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with transformers. It is built from the central items helper (`centralItems`) and the item solids helper (`itemSolids`). - What it achieves (comment): What a central-inverter plant adds to the drawing. - What it does: It calculates transformers. Defines centralItems, itemSolids. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: transformers. - Signatures: `export centralItems(r)`; `export itemSolids(kind, at = [0, 0, 0], id = kind, heading = 0)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-central.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 1 ### Plant Layout - File: energy-transition-simulator/prototype/mod/engine/plant-layout.mjs (JavaScript, 376 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/plant-layout.mjs#L1-L376 - Page: https://code.globalgrid2050.com/explore-code/s/0756.html#f1 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that maps overhead lines (OHL) and substations. - What it achieves (comment): It is built from the table geometry helper (`tableGeometry`), the frame of helper (`frameOf`) and the inside step (`inside`). A solar plant laid out on measured ground inside a drawn boundary, from generic rules. Its code works with 33 kV and 5000 MW. - What it does: It maps overhead lines (OHL) and substations. Defines 23 functions or classes, including tableGeometry, frameOf, inside, segDist, edgeDist. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: overhead lines (OHL), substations, 33kV. - Inputs & outputs: Out: interactive map. Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Cmd Model (energy-transition-simulator). - Signatures: `export tableGeometry(layout, p, tpl)`; `export frameOf(layout)`; `export inside(poly, x, y)`; `export edgeDist(poly, x, y)`; `export polyArea(poly)`; `export waterIndex(lines, reach, cell = 64)`; `export layoutSteps(input)`; `export layoutPlant(input)`; `export layoutPlantAsync(input, { sliceMs = 12, onProgress = () => {}, now = () => performance.now(), pause } = {})`; `segDist(x, y, ax, ay, bx, by)`; `nearestEdge(poly, x, y)`; `byFields(o.packing ?? LAYOUT_DEFAULTS.packing)`; `tplOf(mw)`; `g(u, v)`; `water(input.water || [])`; `inOhl(u, v)`; `us(us0 + us1)`; `inCompound(ua, ub, va, vb)`; `inAccess(ua, ub, va, vb)`; `avoid(input.avoid || [])`; `alongPts(ua, ub, vs)`; `stretchAt(va, vb, fi = -1)`; `consider(ua, ub, va, vb, m)`; `um(ua + ub)`; `gu(e5 - w5)` (and 5 more) - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-layout.mjs) · essay_status: readme_derived - data_contracts: in []; out [interactive map]; crs []; voltages [33kV] - Edges: uses 6 estate files (import 6); used by 1; mentioned by 1 ### Plant Packing - File: energy-transition-simulator/prototype/mod/engine/plant-packing.mjs (JavaScript, 139 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/plant-packing.mjs#L1-L139 - Page: https://code.globalgrid2050.com/explore-code/s/0756.html#f2 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with seg dist (`segDist`) and inside poly (`insidePoly`) and calculates planar distances. - What it achieves (comment): It is built from the seg dist helper (`segDist`), the inside poly helper (`insidePoly`) and the fields of helper (`fieldsOf`). How the tables of a plant fill its land. - What it does: It calculates its inputs. Defines 10 functions or classes, including segDist, insidePoly, fieldsOf, fieldSet, within. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Plant Layout (energy-transition-simulator). - Signatures: `export fieldsOf(boundary)`; `export fieldSet(polys, { fenceSetbackM, hedgeSetbackM = fenceSetbackM })`; `export slice(poly, v)`; `export packFields(c)`; `segDist(x, y, ax, ay, bx, by)`; `insidePoly(poly, x, y)`; `within(f, u, v)`; `okIn(i, u, v)`; `intersect(A, B)`; `fits(L)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-packing.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Plant Piles - File: energy-transition-simulator/prototype/mod/engine/plant-piles.mjs (JavaScript, 206 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/plant-piles.mjs#L1-L206 - Page: https://code.globalgrid2050.com/explore-code/s/0757.html#f1 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with ls slope (`lsSlope`) and plan tables (`planTables`). - What it achieves (comment): It is built from the ls slope helper (`lsSlope`), the plan tables helper (`planTables`) and the clear step (`clear`). The piles of every table of a laid-out plant (`plant-layout.mjs`), fixed tilt or single-axis tracker, worked out automatically on the measured ground. - What it does: It calculates its inputs. Defines 18 functions or classes, including lsSlope, planTables, gq, gs, at. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Plant Layout (energy-transition-simulator). - Signatures: `export planTables(tablesIn, { groundAt, system = 'fixed', posts = 2, rules, along = 'ew', pileSpacing, railDepthM } = {})`; `export gradingSuggestions(tables, { rules = PILE_RULES, key = t => t.T.key } = {})`; `export pileSummary(res, { mwp = 0, rules = res.rules || PILE_RULES } = {})`; `export pileBoqItems(id, s, pileType = 'plant')`; `export layoutTables(r)`; `export pilesForLayout(r, groundAt, { posts = 2, rules, soil, mwp = r.built?.mwp ?? 0 } = {})`; `lsSlope(s, g)`; `gq(e, n)`; `gs(e, n)`; `at(f, v)`; `dd(lines[1].f - lines[0].f)`; `sm(f)`; `clear(f)`; `tableResult(T, lines, lr, twist, extra, R, tracker)`; `surf(i, ff)`; `has(f)`; `act(t)`; `acts(a)`; `pct(h)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-piles.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 1 ### Plant Template - File: energy-transition-simulator/prototype/mod/engine/plant-template.mjs (JavaScript, 267 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/plant-template.mjs#L1-L267 - Page: https://code.globalgrid2050.com/explore-code/s/0757.html#f2 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with transformers, cables, solar and 33kV, using IEC 60287 and IEC 60949. - What it achieves (comment): It sizes feeder (`sizeFeeder`) and is built from the auto poc kV helper (`autoPocKv`) and the module cold voc helper (`moduleColdVoc`). A generic, parameterised solar plant block diagram, sized from engineering rules. Its code works with 33 kV, 10 MVA and 5000 kVA. - What it does: It calculates transformers, cables, solar and 33kV. Defines 17 functions or classes, including up, r3, autoPocKv, moduleColdVoc, modulesPerString. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: transformers, cables, solar, 33kV, 400kV, 1500V. - Inputs & outputs: Voltage levels named: 400kV, 33kV, 1500V. - Downstream impact: Used directly by 4 files: MV Network (energy-transition-simulator); Block MV (energy-transition-simulator); Cmd Model (energy-transition-simulator); Plant Layout (energy-transition-simulator). - Signatures: `export autoPocKv(mw)`; `export moduleColdVoc(p)`; `export modulesPerString(p)`; `export faultMinArea(kA, s)`; `export plantTemplate(opts = {})`; `export gridChoice(mw, total, fixedUnits = null, feeders = [])`; `export pack(feeders, n)`; `export layoutDiagram(d)`; `up(steps, v)`; `r3(v)`; `node(id, kind, label, rating = {})`; `link(from, to, kind, kv, mva, extra = {})`; `check(name, value, max, min = -Infinity)`; `maxLoad(n)`; `L(i)`; `sizeFeeder(chain, p, cableOpts, minArea)`; `drop()`; `mid(Math.max(0, ...[...pos.values()].map(v => v.x)))` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-template.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 33kV, 1500V] - Edges: uses 2 estate files (import 2); used by 4; mentioned by 1 ### Renewable Energy Planning Database (REPD) Grammar - File: energy-transition-simulator/prototype/mod/engine/repd-grammar.mjs (JavaScript, 72 lines) · role energy-data · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/repd-grammar.mjs#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/0757.html#f3 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with solar, the REPD register and battery storage (BESS). It parses REPD (`parseRepd`) and filters text (`filterText`). - What it achieves (comment): The typed words for flying between solar and battery projects on the public register (REPD). Its code works with 50 MW. - What it does: It calculates solar, the REPD register and battery storage (BESS). Defines refuse, parseRepd, filterText. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, the REPD register, battery storage (BESS). - Downstream impact: Used directly by 1 file: Cmd Grammar (energy-transition-simulator). - Signatures: `export parseRepd(line)`; `export filterText({ tech, cls, minMw })`; `refuse(why, line)` - domain_stage: experimental · commercial_user: IPP_developer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/energy-transition-simulator/202609280014/mod/engine/repd-grammar.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Site Checks - File: energy-transition-simulator/prototype/mod/engine/site-checks.mjs (JavaScript, 50 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/site-checks.mjs#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0757.html#f4 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with survey check (`surveyCheck`) and survey note (`surveyNote`). - What it achieves (comment): It is built from the day of helper (`dayOf`), the survey check helper (`surveyCheck`) and the survey note helper (`surveyNote`). A date field as a sortable day number (ms since 1970); '2020', '2020-11' and '' are all read. - What it does: It calculates its inputs. Defines dayOf, surveyCheck, surveyNote, sourceConflict. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Plant Layout (energy-transition-simulator). - Signatures: `export dayOf(v)`; `export surveyCheck(s = {})`; `export surveyNote(s)`; `export sourceConflict(values = [], { tolerance = 0.1, unit = '' } = {})` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/site-checks.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Station - File: energy-transition-simulator/prototype/mod/engine/station.mjs (JavaScript, 262 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/station.mjs#L1-L262 - Page: https://code.globalgrid2050.com/explore-code/s/0758.html#f1 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with transformers, cables and solar. - What it achieves (comment): It is built from the cfg step (`cfg`), the table shape helper (`tableShape`) and the table origin helper (`tableOrigin`). Solar station library: paired tables, pole inverters, DC home cables in ducts, AC trenches, 2 x 5MVA. Its code works with 5 MVA. - What it does: It calculates transformers, cables and solar. Defines 20 functions or classes, including cfg, tableShape, tableOrigin, stringsPerTable, tableStrings. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: transformers, cables, solar. - Downstream impact: Used directly by 5 files: Block Trenches (energy-transition-simulator); Cmd Trench (energy-transition-simulator); MV Network (energy-transition-simulator); Block Build (energy-transition-simulator); and 1 more. - Signatures: `export tableShape(params)`; `export tableOrigin(n, params)`; `export stringsPerTable(params)`; `export tableStrings(params, { corners = true } = {})`; `export dcOrder(n, wiring = 'sequential')`; `export seriesLinks(string, wiring = 'sequential')`; `export inverterSite(k, params)`; `export dcDucts(sites, params)`; `export dcHomeRoutes(strings, sites, params)`; `export acRoute(p, t, id, label, params)`; `export acTrenches(sites, transformers, params)`; `export compoundBox(transformers)`; `export stationSolids(params, sites, transformers)`; `export stationInventory(params, strings = tableStrings(params, { corners: false }))`; `export placer(at = [0, 0, 0], heading = 0)`; `export station(params, { at = [0, 0, 0], heading = 0, corners = true } = {})`; `cfg(p)`; `v(side === 1 ? s.rows - 1 - r : r)`; `p(dv, du)`; `offset((slot % 6) * 2 + end - 5.5)`; `point([x, y, z = 0])`; `box(b)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/station.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 1 ### String Design - File: energy-transition-simulator/prototype/mod/engine/string-design.mjs (JavaScript, 60 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/string-design.mjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0758.html#f2 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with typed class (`typedClass`) (units: °C). - What it achieves (comment): It is built from the num step (`num`), the string design helper (`stringDesign`) and the string line helper (`stringLine`). The string voltage of the solar block, worked out in the open. - What it does: It calculates its inputs. Defines 6 functions or classes, including num, stringDesign, stringLine, stringWords, typedClass. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Cmd Model (energy-transition-simulator). - Signatures: `export stringDesign({ cls, cat = {}, mps, tempMinC, systemV } = {})`; `export stringLine(d)`; `export stringWords(d)`; `export typedClass({ wp, voc, coeffPctPerK })`; `export stringCounts({ modules, mps, stringsPerInverter = 24, inverters = null })`; `num(v)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/string-design.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 1 ### Structure Presets - File: energy-transition-simulator/prototype/mod/engine/structure-presets.mjs (JavaScript, 74 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/structure-presets.mjs#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/0758.html#f3 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that works with solar and transformers. - What it achieves (comment): It is built from the preset by id helper (`presetById`) and the preset text helper (`presetText`). Generic plant presets from an open-data study of large operational UK solar farms, typed as "preset " (or "structure "). Its code works with 3 MVA, 3 MW and 300 kVA. - What it does: It calculates solar and transformers. Defines presetById, presetText. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, transformers. - Downstream impact: Used directly by 3 files: Cmd Grammar Plant (energy-transition-simulator); Cmd Grammar (energy-transition-simulator); Cmd Model (energy-transition-simulator). - Signatures: `export presetById(id)`; `export presetText()` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/structure-presets.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Structures - File: energy-transition-simulator/prototype/mod/engine/structures.mjs (JavaScript, 136 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/structures.mjs#L1-L136 - Page: https://code.globalgrid2050.com/explore-code/s/0758.html#f4 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that parses format (`parseFormat`) and formats name (`formatName`) and refusal (`formatRefusal`) (units: kVA), using IEC 62548-1. - What it achieves (comment): It parses format (`parseFormat`), formats name (`formatName`) and formats refusal (`formatRefusal`). The mounting structures the typed bar can build, and the structure checks they raise. - What it does: It lists and searches its content. Defines 11 functions or classes, including parseFormat, formatName, formatRefusal, tableShape, halfCols. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 3 files: Cmd Grammar (energy-transition-simulator); Cmd Model (energy-transition-simulator); Plant Layout (energy-transition-simulator). - Signatures: `export parseFormat(w)`; `export formatName(tiers, orient, cols)`; `export formatRefusal(layout, tiers, orient)`; `export tableShape(p, mps, layout)`; `export halfCols(cols)`; `export pitchStretch({ depth, rise, elevDeg, fallN, maxStretch = 2 })`; `export winterNoonDeg(latDeg)`; `export structureById(id)`; `export catalogueText()`; `export mpptCap({ mppts = 12, stringsPerMppt = 2 } = {})`; `export structureChecks(f = {})`; `flat(depth * t + rise)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/structures.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 1 ### Sub Grammar - File: energy-transition-simulator/prototype/mod/engine/sub-grammar.mjs (JavaScript, 21 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/engine/sub-grammar.mjs#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0758.html#f5 - Synopsis: A JavaScript module in the engine folder of Energy Transition Simulator that parses sub command (`parseSubCommand`), covering substations and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It parses sub command (`parseSubCommand`). The typed words for the journey's first step (go substation 132 · next substation), kept out of `cmd-grammar.mjs` (as `repd-grammar.mjs` is) so that file stays under the line cap. - What it does: Defines parseSubCommand. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations, the REPD register. - Downstream impact: Used directly by 1 file: Cmd Grammar (energy-transition-simulator). - Signatures: `export parseSubCommand(line)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Farm Assess - File: energy-transition-simulator/prototype/mod/farm-assess.js (JavaScript, 433 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/farm-assess.js#L1-L433 - Page: https://code.globalgrid2050.com/explore-code/s/0759.html#f1 - Synopsis: A JavaScript module in the prototype folder of Energy Transition Simulator that maps grid substations, LiDAR terrain and solar, using EPSG:27700 and haversine, and uses data from the GridAtlas repository. - What it achieves (comment): It queries URL (`queryUrl`), parses flood (`parseFlood`) and snaps info (`snapInfo`). Assess a farmer's LAND and GRID for solar, where you arrive (plain script; attaches to window.SIM). It responds to keydown and resize events. - What it does: It maps grid substations, LiDAR terrain and solar. Defines 53 functions or classes, including tileBox, centredBox, edgeMargin, clipRing, inside. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: LiDAR terrain, solar. - Inputs & outputs: In: data source: gridatlas data; GeoJSON file grid_substations.geojson. Out: interactive map. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Farm Assess (energy-transition-simulator). - Signatures: `tileBox(e, n)`; `centredBox(e, n)`; `edgeMargin(b, e, n)`; `clipRing(ring, b)`; `inside(p)`; `signedArea(r)`; `assessBox(features, b)`; `bmv(byGrade['Grade 1'] || 0)`; `centroid(r)`; `haversine(lat1, lon1, lat2, lon2)`; `nearest(points, lat, lon)`; `kvList(v)`; `netOperator(op)`; `gridText(sub, phone)`; `grade3Text(res, phone)`; `p(100 * res.grade3Share)`; `queryUrl(b)`; `floodQueryUrl(b)`; `parseFlood(j)`; `floodShares(fl, b)`; `boxA(b.e1 - b.e0)`; `floodText(res, phone, err)`; `f(z)`; `panelLayout(vw, vh, right, obstacles, topReserve)`; `gridRef(e, n, digits)` (and 15 more) - domain_stage: experimental · commercial_user: landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; GeoJSON file grid_substations.geojson]; out [interactive map]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Find Go - File: energy-transition-simulator/prototype/mod/find-go.js (JavaScript, 123 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/find-go.js#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0759.html#f2 - Synopsis: A JavaScript file in Energy Transition Simulator that draws Renewable Energy Planning Database (REPD) solar battery energy storage system (BESS) and uses data from the GridAtlas repository. - What it achieves (comment): It loads REPD (`loadRepd`) and loads subs (`loadSubs`). A typed find box. "go solar", "go bess", "go repd ", "go substation ", "go, ". It responds to keydown events. - What it does: It draws REPD solar BESS, grid substations, the REPD register and battery storage (BESS). Defines 10 functions or classes, including whenSim, loadRepd, loadSubs, dist, marker. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, battery storage (BESS). - Inputs & outputs: In: data source: gridatlas data; JSON file find-go.data.json; JSON file repd-solar-bess.json; GeoJSON file grid_substations.geojson; form fields (user input). Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `whenSim(cb)`; `loadRepd()`; `loadSubs()`; `dist(a, b)`; `marker(lon, lat, h, rFoot)`; `zoomFor(r)`; `ease(t)`; `go(S, lon, lat, rFoot, text)`; `goRepd(S, p)`; `run(S, raw)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file find-go.data.json; JSON file repd-solar-bess.json; GeoJSON file grid_substations.geojson; form fields (user input)]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### GPU Rows - File: energy-transition-simulator/prototype/mod/gpu-rows.js (JavaScript, 39 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/gpu-rows.js#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0759.html#f3 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator. It is built from the run step (`run`) and the init step (`init`). - What it achieves (comment): Panel rows detected OFFLINE on the GPU (CuPy, NumPy witness: `detect.py`, kept off the public repo) from Esri z17 imagery, saved as lon/lat polylines (`mod/gpu-rows-6502.json`). - What it does: It fetches data. Defines run, init. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file gpu-rows-6502.json. Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `BASE(document.currentScript && document.currentScript.src.replace(/[^/]*$/, ''))`; `run(btn)`; `init()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file gpu-rows-6502.json]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Menu Bar - File: energy-transition-simulator/prototype/mod/menu-bar.js (JavaScript, 294 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/menu-bar.js#L1-L294 - Page: https://code.globalgrid2050.com/explore-code/s/0760.html#f1 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that opens name (`openName`), sets kV (`setKv`) and refreshes about (`refreshAbout`), covering substations, 275kV and LiDAR terrain. - What it achieves (comment): It opens name (`openName`), sets kV (`setKv`) and refreshes about (`refreshAbout`). One menu bar instead of a toolbar: File, Edit, View, Scope, Grid, About, with Walk, Drone and Map at the right end. Its code works with 275 kV, 132 kV and 400 kV. It reads `mod/index.json`. It responds to click, mouseenter and keydown events. - What it does: It draws substations, 275kV and LiDAR terrain. Defines 20 functions or classes, including wait, init, openName, close, open. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations, 275kV, LiDAR terrain, 400kV, 132kV. - Inputs & outputs: In: JSON file index.json. Voltage levels named: 400kV, 275kV, 132kV. - Signatures: `wait(n)`; `init()`; `openName()`; `close()`; `open(t)`; `labelOf(el)`; `entryFor(el)`; `place(el)`; `defaultLabel(el)`; `item(key, label, fn, disabled)`; `click(id)`; `setKv(kv, on)`; `refreshAbout()`; `PF()`; `gridRef(e, n)`; `l1(19 - n1)`; `pad(v)`; `writeWhere()`; `soon()`; `creditText()`; `writeStrip()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json]; out []; crs []; voltages [400kV, 275kV, 132kV] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Menu Style - File: energy-transition-simulator/prototype/mod/menu-style.js (JavaScript, 49 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/menu-style.js#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/0760.html#f2 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator. - What it achieves (comment): The site world's look for the overlay: black page, dim text, hairline edges, no blue buttons. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Morph - File: energy-transition-simulator/prototype/mod/morph.js (JavaScript, 122 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/morph.js#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/0760.html#f3 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator. It is built from the fresh step (`fresh`), the ease step (`ease`) and the wait step (`wait`). - What it achieves (comment): The wire world flattened and raised: one number t in [0, 1] that scales every height. t = 0 is the flat drawing (towers are points, conductors lie on the ground, ducts rise to the surface). - What it does: It draws its content. Defines 20 functions or classes, including fresh, ease, wait, count, scaled. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `fresh(t)`; `ease(x)`; `wait(n)`; `count(k)`; `scaled(gl, orig, loc, tr, m)`; `fading(gl, a)`; `own()`; `cAlpha()`; `arm()`; `alpha()`; `wrap(id)`; `w(gl, args)`; `wrapAll()`; `release()`; `set(t)`; `cancel()`; `fadeIn(ids)`; `animate(to, ms, onFrame)`; `step()`; `init(S)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Perf - File: energy-transition-simulator/prototype/mod/perf.js (JavaScript, 136 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/perf.js#L1-L136 - Page: https://code.globalgrid2050.com/explore-code/s/0760.html#f4 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that extracts planes (`extractPlanes`) and calculates planar distances. - What it achieves (comment): It extracts planes (`extractPlanes`) and is built from the attach step (`attach`) and the bump terrain helper (`bumpTerrain`). The wire layer, made light (plain script; attaches to window.SIM). - What it does: It draws its content. Defines 10 functions or classes, including mx, my, mz, attach, bumpTerrain. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `MOD_URL(document.currentScript && document.currentScript.src)`; `mx(lon)`; `my(lat)`; `mz(alt, lat)`; `attach()`; `bumpTerrain()`; `ensurePlaced(b)`; `L(off.x || off.y)`; `entryFor(gl, b)`; `extractPlanes(m)`; `row(i)`; `visible(x, y, z, r)`; `m(args && args.defaultProjectionData && args.defaultProjectionData.mainMatrix)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/energy-transition-simulator/202609280014/mod/perf.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Plan View - File: energy-transition-simulator/prototype/mod/plan-view.js (JavaScript, 421 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/plan-view.js#L1-L421 - Page: https://code.globalgrid2050.com/explore-code/s/0761.html#f1 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that maps plan wire, substations and LiDAR terrain. It hides wire (`hideWire`) and applies plan (`applyPlan`). - What it achieves (comment): Plan: the massive plan in 2D, the close-up in 3D. It responds to keydown and click events. - What it does: It maps plan wire, substations and LiDAR terrain. Defines 40 functions or classes, including wait, skip, isRow, kindOf, provOf. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations, LiDAR terrain. - Inputs & outputs: Out: SVG drawing. - Signatures: `wait(n)`; `skip(b)`; `isRow(b)`; `kindOf(b)`; `provOf(b)`; `labelOf(b)`; `drawing()`; `hull(P)`; `sigOf()`; `keep(id, what, val)`; `liveLayers()`; `hideWire(hide)`; `applyPlan(fade)`; `add(id, spec)`; `dimAt(f)`; `fadeTo(f)`; `clearPlan()`; `kvText(v)`; `relabel()`; `take(t, at, prov, color)`; `flush()`; `place()`; `scale()`; `morph()`; `ease(pitch, why, extra, ms)` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Plant - File: energy-transition-simulator/prototype/mod/plant.js (JavaScript, 153 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/plant.js#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/0761.html#f2 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that draws cables and trench sections. It adds lines (`addLines`) and groups lines (`groupLines`). - What it achieves (comment): The morning engine's own plant generator on the map. Its code works with 33 kV. It responds to keydown events. - What it does: It draws cables and trench sections. Defines 16 functions or classes, including E, start, mount, $, addLines. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, 33kV. - Inputs & outputs: In: JSON file cables.json; JSON file trench-sections.json; form fields (user input). Voltage levels named: 33kV. - Signatures: `E(n)`; `start(SIM, PF)`; `mount(SIM, PF, CM, PL, BB, catalogue, sections)`; `$(id)`; `addLines(lines, tag)`; `clearDrawn(tag)`; `plantLines(r)`; `at(u, v, z)`; `seg(a, b)`; `path(pts, z)`; `cube(u, v, w, dp, h)`; `groupLines(groups)`; `f(x, d = 1)`; `openLand(input)`; `layout(input)`; `clearPlant()`; `block({ stations, pocKv, at, trench, modulesPerString })`; `clearBlock()`; `newSession()`; `numbers()`; `run(line)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file cables.json; JSON file trench-sections.json; form fields (user input)]; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Procedural - File: energy-transition-simulator/prototype/mod/procedural.js (JavaScript, 265 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/procedural.js#L1-L265 - Page: https://code.globalgrid2050.com/explore-code/s/0762.html#f1 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that maps cables, find go, battery storage (BESS) and overhead lines (OHL). - What it achieves (comment): It adds layer (`addLayer`), loads rows (`loadRows`) and fits rows (`fitRows`). Procedural fill ANYWHERE. Each public register asset (Renewable Energy Planning Database (REPD): ground solar and battery storage) in view gets a wireframe anchored at its published register point and sized from its published capacity. Its code works with 3.7 MWh. - What it does: It maps cables, find go, battery storage (BESS) and overhead lines (OHL). Defines 29 functions or classes, including keptSay, E, start, mount, addLayer. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, battery storage (BESS), overhead lines (OHL). - Inputs & outputs: In: JSON file cables.json; JSON file find-go.data.json. - Signatures: `keptSay(kept, inZones)`; `E(n)`; `start(SIM, PF)`; `mount(SIM, PF, CM, PL, catalogue, reg)`; `onAdd(m, gl)`; `render(gl, args)`; `addLayer()`; `drop(fn)`; `say(t)`; `place(r, lines)`; `box(out, x, y, w, d, z0, h)`; `segD(px, py, ax, ay, bx, by)`; `ohlNear(r, R)`; `bad(kv)`; `kvList(a)`; `ohlOk(o)`; `ohlSay(ohl, what)`; `crosses(c, a, b)`; `rowDocs()`; `loadRows()`; `sig()`; `wrap90(d)`; `halfSide(st, latDeg)`; `fitRows(r)`; `solar(r)` (and 7 more) - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file cables.json; JSON file find-go.data.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Pylons Real - File: energy-transition-simulator/prototype/mod/pylons-real.js (JavaScript, 185 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/pylons-real.js#L1-L185 - Page: https://code.globalgrid2050.com/explore-code/s/0762.html#f2 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that fetches substations footprints odbl, using point in polygon from the GridAtlas repository. - What it achieves (comment): It makes block (`makeBlock`) and is built from the ready step (`ready`) and the start step (`start`). Lattice pylons and sagging conductors on the real GridAtlas lines. - What it does: It fetches substations footprints odbl. Defines 18 functions or classes, including ready, start, kx, dist, inRing. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: gridatlas data; JSON file substations-footprints.odbl.json. Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `here(document.currentScript && document.currentScript.src)`; `ready()`; `start()`; `kx(lat)`; `dist(a, b)`; `inRing(x, y, R)`; `inSubstation(lon, lat)`; `towersOf(kv, li)`; `dx(t.lon - o.lon)`; `lattice(g)`; `half(z)`; `sq(z)`; `attach(g)`; `elev(lon, lat)`; `makeBlock(t)`; `X(a, l, z, base = o, uu = u, vv = v, dz = gz)`; `refresh()`; `label()`; `regrade()`; `check()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file substations-footprints.odbl.json]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Rows Geometry - File: energy-transition-simulator/prototype/mod/rows-geometry.js (JavaScript, 222 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/rows-geometry.js#L1-L222 - Page: https://code.globalgrid2050.com/explore-code/s/0762.html#f3 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that tiles to lon lat (`tileToLonLat`), loads img (`loadImg`), builds mask (`buildMask`) and calculates planar distances and angles. - What it achieves (comment): It loads img (`loadImg`), builds mask (`buildMask`) and merges rows (`mergeRows`). Better "Rows from satellite". Reads Esri z17 imagery around the map centre, builds a panel mask (darkness test OR a colour test for the bright/grey glare gaps next to dark panels). - What it does: It draws its content. Defines 15 functions or classes, including lonLatToTile, tileToLonLat, loadImg, buildMask, directions. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: canvas drawing. - Signatures: `lonLatToTile(lon, lat, z)`; `tileToLonLat(x, y, z)`; `loadImg(u)`; `buildMask(d)`; `directions(mask)`; `cellSegments(mask, c, mpp, gPitch)`; `ox(c.cx + 0.5)`; `ph(((Math.round(nx * 1e3) + ox * nx + oy * ny) % gPitch) + gPitch)`; `flush()`; `mergeRows(segs)`; `find(i)`; `sb0(B.x0 - A.x0)`; `emit()`; `tables(rows, toM, pitchM)`; `f(s)`; `run()`; `toM(px, py)`; `attach()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Scanner Rows - File: energy-transition-simulator/prototype/mod/scanner-rows.js (JavaScript, 156 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/scanner-rows.js#L1-L156 - Page: https://code.globalgrid2050.com/explore-code/s/0763.html#f1 - Synopsis: A JavaScript module in the prototype folder of Energy Transition Simulator that fetches LiDAR terrain. It checks farm (`checkFarm`), gets JSON (`getJson`) and loads farms (`loadFarms`). - What it achieves (comment): The GPU lab's baked panel rows (lon/lat per public register farm) drawn as tilted tables where they are, labelled "estimated from imagery by the Wire Frame Scanner". - What it does: It fetches LiDAR terrain. Defines 17 functions or classes, including bbox, local, distToBboxM, nearestRowM, checkFarm. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file scanner-rows.farms.json. - Downstream impact: Used directly by 1 file: Scanner Rows Test (energy-transition-simulator). - Signatures: `bbox(rows)`; `local(lat0, lon0)`; `distToBboxM(b, lat, lon)`; `nearestRowM(rows, lat, lon)`; `checkFarm(farm, doc, padM = PAD_M)`; `tableLines(ax, ay, bx, by, widthM, tiltDeg = TILT_DEG, lowM = LOW_M)`; `seg(p, q)`; `surveyGate(buildYear, dsmYears, dtmYears)`; `rowSource(doc)`; `rowsAllowed(farm, doc)`; `stripWidthM(farm, doc)`; `BASE(document.currentScript && document.currentScript.src.replace(/[^/]*$/, ''))`; `getJson(u)`; `loadFarms()`; `check()`; `drawFarm(S, PF, farm, fly)`; `run(btn)`; `init()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file scanner-rows.farms.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Tables - File: energy-transition-simulator/prototype/mod/tables.js (JavaScript, 344 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/tables.js#L1-L344 - Page: https://code.globalgrid2050.com/explore-code/s/0763.html#f2 - Synopsis: A JavaScript module in the prototype folder of Energy Transition Simulator that draws scanner rows farms, cables and solar, using least squares. - What it achieves (comment): It routes ends (`routeEnds`), gets JSON (`getJson`) and syncs cap (`syncCap`). Real tent tables stood on the MEASURED row runs the page already holds (Scanner rows' row file, estimated from imagery), built from the station library, streamed around the camera and drawn through SIM.addBlock (the overlay's own wire layer. - What it does: It draws scanner rows farms, cables and solar. Defines 38 functions or classes, including rowAxis, toRow, fromRow, stripStep, median. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, solar. - Inputs & outputs: In: JSON file scanner-rows.farms.json. - Signatures: `rowAxis(runs)`; `toRow(th, x, y)`; `fromRow(th, u, v)`; `stripStep(us)`; `median(a)`; `rowsFromRuns(runs, opt = {})`; `colU(c)`; `flush(c1)`; `halfWidthOf(s)`; `coverage(t, raster, halfW)`; `tablesFromRows(rows, s, raster)`; `routeEnds(doc, caseKey = 'A4', tol = 0.3)`; `alone(e)`; `claimPoles(tables, ends, axis, halfW, claim = CLAIM_M)`; `outlineLines(shape, s)`; `gridLines(shape, s)`; `dashed(L, a, b, dash)`; `structureLines(shape, s)`; `post(f)`; `poleLines(site, L, ghost = false)`; `polyline(L, pts)`; `farmParams(defaults)`; `BASE(document.currentScript && document.currentScript.src.replace(/[^/]*$/, ''))`; `getJson(u)`; `on(id)` (and 14 more) - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file scanner-rows.farms.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 1 ### Wire Look - File: energy-transition-simulator/prototype/mod/wire-look.js (JavaScript, 135 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/mod/wire-look.js#L1-L135 - Page: https://code.globalgrid2050.com/explore-code/s/0763.html#f3 - Synopsis: A JavaScript file in the prototype folder of Energy Transition Simulator that adds layer (`addLayer`). - What it achieves (comment): It adds layer (`addLayer`) and is built from the fade for helper (`fadeFor`) and the wait step (`wait`). The morning site world's wire look inside the overlay's map camera. - What it does: It maps its content. Defines 14 functions or classes, including fadeFor, wait, program, sh, init. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `BASE(document.currentScript && document.currentScript.src)`; `fadeFor(v, h)`; `wait(n)`; `program(gl)`; `sh(t, s)`; `init(S)`; `on(id)`; `baseStyle()`; `viewMode()`; `frameFade()`; `wrapped(gl, args)`; `rewrap()`; `heightAt(x, y)`; `gridWanted()`; `onAdd(m, gl)`; `render(gl, args)`; `m(args && args.defaultProjectionData && args.defaultProjectionData.mainMatrix)`; `addLayer()` - VEDIC: HEIGHT (GG2050-VEDIC-000011): Solar Design Studio / LiDAR · Mathematics / Raster sampling. bng_easting_m, bng_northing_m -> height_receipt_or_null - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Overlay - File: energy-transition-simulator/prototype/overlay.html (HTML, 301 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/overlay.html#L1-L301 - Page: https://code.globalgrid2050.com/explore-code/s/0764.html#f1 - Synopsis: A map page in the prototype folder of Energy Transition Simulator that maps grid substations, using OSTN15 and Helmert and uses data from OpenStreetMap (Overpass) and the GridAtlas repository. - What it achieves (name): It adds grid (`addGrid`), sets mode (`setMode`) and loads rows (`loadRows`). Defines `placed`, `withAnchor`, `addGrid` and 17 more. It reads `mod/index.json`. It responds to keydown, keyup and pointerdown events. - What it does: It maps grid substations, DEM, solar and LiDAR terrain. Defines 24 functions or classes, including placed, withAnchor, addGrid, block, c. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, LiDAR terrain. - Inputs & outputs: In: data source: OpenStreetMap (Overpass); data source: gridatlas data; JSON file style.json; GeoJSON file grid_substations.geojson; JSON file index.json. Out: web page; interactive map; canvas drawing. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `placed(lon, lat, lines, extra = {}, pre = false)`; `withAnchor(m, o)`; `addGrid()`; `block(lon, lat)`; `c(x, y, s, h)`; `onAdd(m, gl)`; `sh(t, s)`; `ground()`; `setMode(m)`; `joyAt(e)`; `tick(t)`; `f(keys.has('w') || keys.has('arrowup') ? 1 : 0)`; `r(keys.has('d') ? 1 : 0)`; `turn(keys.has('e') || keys.has('arrowright') ? 1 : 0)`; `tilt(keys.has('r') ? 1 : 0)`; `dn(f * Math.cos(b) - r * Math.sin(b))`; `loadRows()`; `h(y)`; `tower(h)`; `buildPylons()`; `readout()`; `pfLine(tag, lat, lon)`; `pfReadout()`; `render()`; `lonLatToTile(lon, lat, z)` (and 11 more) - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/energy-transition-simulator/202609280014/overlay.html) · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass); data source: gridatlas data; JSON file style.json; GeoJSON file grid_substations.geojson; JSON file index.json]; out [web page; interactive map; canvas drawing]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 1 ### Place Frame - File: energy-transition-simulator/prototype/place-frame.mjs (JavaScript, 209 lines) · role geodesy · stage transform · entry point - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/place-frame.mjs#L1-L209 - Page: https://code.globalgrid2050.com/explore-code/s/0764.html#f2 - Synopsis: A JavaScript module in the prototype folder of Energy Transition Simulator that steps lon, converts to local and mercator and calculates great-circle distances and planar distances, using OSTN15 and Helmert. - What it achieves (comment): It places key (`placeKey`), wires map (`wireToMap`) and maps wire (`mapToWire`). The one coordinate system between GridAtlas (the MapLibre map) and the 3D wireframe. - What it does: It calculates its inputs. Defines 31 functions or classes, including ecef, geodetic, axes, dot, frame. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326, ETRS89 / EPSG:4258. - Downstream impact: Used directly by 5 files: Overlay (energy-transition-simulator); Place Frame Samples (energy-transition-simulator); Place Frame Test (energy-transition-simulator); Coords Reference (energy-transition-simulator); and 1 more. Reached from 23 other entry points, including Energy Transition Simulator — Latest Page (globalgrid2050, https://globalgrid2050.com/energy-transition-simulator/latest/); GlobalGrid2050 — Energy Transition Simulator Page (globalgrid2050, https://globalgrid2050.com/energy-transition-simulator/202609280014/); GlobalGrid2050 — Energy Transition Simulator Page (globalgrid2050, https://globalgrid2050.com/energy-transition-simulator/). - Signatures: `export ecef(lat, lon, h = 0)`; `export geodetic(X, Y, Z)`; `export anchorFromKey(key)`; `export placeKey(lat, lon)`; `export enu(anchor, lat, lon, h = 0)`; `export fromEnu(anchor, x, y, z = 0)`; `export toLocal(anchor, lat, lon, h = 0)`; `export fromLocal(anchor, x, y, z = 0)`; `export mercatorX(lng)`; `export mercatorY(lat)`; `export lngFromMercatorX(x)`; `export latFromMercatorY(y)`; `export circumferenceAtLatitude(lat)`; `export mercatorZ(alt, lat)`; `export mercatorScale(lat)`; `export meterInMercator(lat)`; `export toMercator(lat, lon, alt = 0)`; `export fromMercator(x, y, z = 0)`; `export wireToMap(anchor, x, y, z = 0)`; `export mapToWire(anchor, mx, my, mz = 0)`; `export wireBuffer(anchor, lines)`; `export useWorld(bng, ostn = null)`; `export toBng(lat, lon)`; `export fromBng(e, n)`; `export wireToBng(anchor, x, y)` (and 7 more) - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326; ETRS89 / EPSG:4258]; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Place Frame Samples - File: energy-transition-simulator/prototype/place-frame.samples.mjs (JavaScript, 42 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/place-frame.samples.mjs#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/0764.html#f3 - Synopsis: A JavaScript module in the prototype folder of Energy Transition Simulator covering JS samples, using Helmert and OSTN15. It is built from the rnd step (`rnd`). - What it achieves (comment): Deterministic (mulberry32, seed ). 6,000 points at GB latitudes 49-61 N, 4,000 worldwide within +-80. - What it does: Defines rnd. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file js-samples.json; command-line arguments. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Signatures: `rnd()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file js-samples.json; command-line arguments]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 2 estate files (import 1, dynamic-import 1); used by 0; mentioned by 0 ### Place Frame Test - File: energy-transition-simulator/prototype/place-frame.test.mjs (JavaScript, 123 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/place-frame.test.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0764.html#f4 - Synopsis: A test in the prototype folder of Energy Transition Simulator that checks Place Frame, using OSTN15 and SHA-256. - What it achieves (comment): It is built from the gap step (`gap`) and the round trips helper (`roundTrips`). Round trips to 1 mm at 20 points from 49 to 61 N and 5 overseas; MapLibre parity; the 100 m lattice; the world's `bng.mjs` and OSTN15 (read-only, from `WORLD_DIR`, else the copy in mod/engine). - What it does: It tests its inputs. Defines gap, roundTrips. Uses libraries node:test, node:assert/strict, node:fs, node:crypto, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file ostn15.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `gap(a, b)`; `roundTrips(lat, lon)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file ostn15.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Bng - File: energy-transition-simulator/prototype/world/bng.mjs (JavaScript, 212 lines) · role geodesy · stage transform · entry point - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/world/bng.mjs#L1-L212 - Page: https://code.globalgrid2050.com/explore-code/s/0765.html#f1 - Synopsis: A JavaScript module in the world folder of Energy Transition Simulator that converts to cartesian (`toCartesian`), parses grid ref (`parseGridRef`) and calculates planar distances and angles, using Helmert and OSTN15. - What it achieves (comment): It parses grid ref (`parseGridRef`) and is built from the invert3 step (`invert3`) and the apply step (`apply`). `bngToWgs84` mirrors `osgb36_to_wgs84` in GlobalGrid2050 `uk_renewables_pipeline/v9.7/scripts/data/build_v7_2_spine.py` term for term (one deliberate difference: the meridian-arc loop, see `tmInverse`). - What it does: It calculates its inputs. Defines 14 functions or classes, including invert3, apply, toCartesian, fromCartesian, meridional. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 20 files: Links (globalgrid2050); Print Layout (globalgrid2050); Sun UI (globalgrid2050); Sun Mode (globalgrid2050); and 16 more. Reached from 25 other entry points, including Energy Transition Simulator — Latest Page (globalgrid2050, https://globalgrid2050.com/energy-transition-simulator/latest/); GlobalGrid2050 — Energy Transition Simulator Page (globalgrid2050, https://globalgrid2050.com/energy-transition-simulator/202609280014/); GlobalGrid2050 — Energy Transition Simulator Page (globalgrid2050, https://globalgrid2050.com/energy-transition-simulator/). - Signatures: `export tmForward(lat, lon)`; `export tmInverse(easting, northing)`; `export bngToWgs84(e, n, ostn)`; `export wgs84ToBng(lat, lon, ostn)`; `export parseGridRef(ref)`; `export gridRef(e, n, digits = 10)`; `N_(AIRY_A - AIRY_B)`; `invert3(m)`; `apply(m, v)`; `toCartesian(lat, lon, h, a, e2)`; `fromCartesian(x, y, z, a, e2)`; `meridional(lat)`; `ma(1 + n + 5 / 4 * n ** 2 + 5 / 4 * n ** 3)`; `mb(3 * n + 3 * n ** 2 + 21 / 8 * n ** 3)`; `mc(15 / 8 * n ** 2 + 15 / 8 * n ** 3)`; `offset(o)`; `e100((l1 - 2) % 5)`; `n100(19 - Math.floor(l1 / 5) * 5)`; `pad(d)`; `l1(19 - n100)`; `l2((19 - n100) * 5)`; `fmt(v)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 20; mentioned by 1 ### Fade - File: energy-transition-simulator/prototype/world/fade.mjs (JavaScript, 14 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/world/fade.mjs#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0765.html#f2 - Synopsis: A JavaScript module in the world folder of Energy Transition Simulator that works with far plane (`farPlane`). - What it achieves (comment): It is built from the fade for helper (`fadeFor`) and the far plane helper (`farPlane`). Carried over unchanged from the site-world release `solar-design-studio/202609270524-site-world/world/fade.mjs` (published 27 Sept 2026, copied 28 Sept 2026). - What it does: It calculates its inputs. Defines fadeFor, farPlane. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `export fadeFor(view, above, rangeM = 0)`; `export farPlane(fade)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/fade.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Ground Grid - File: energy-transition-simulator/prototype/world/layers/ground-grid.mjs (JavaScript, 165 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/world/layers/ground-grid.mjs#L1-L165 - Page: https://code.globalgrid2050.com/explore-code/s/0765.html#f3 - Synopsis: A JavaScript module in the layers folder of Energy Transition Simulator that works with height store (`heightStore`) and origin mark (`originMark`). - What it achieves (comment): It is built from the later step (`later`), the grid step (`grid`) and the wrap step (`wrap`). Carried over unchanged from the site-world release `solar-design-studio/202609270524-site-world/world/layers/ground-grid.mjs` (published 27 Sept 2026, copied 28 Sept 2026). - What it does: Defines 7 functions or classes, including later, grid, wrap, slotOf, heightStore. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `export grid(cx, cy, { spacing, radius }, heightAt, { origin = [0, 0, 0], near = null, sample = null, known = null } = {})`; `init(a)`; `lines({ pos, heightAt, known = null, groundVersion = 0 })`; `later(s)`; `wrap(v, m)`; `slotOf(x, y)`; `heightStore(heightAt, groundVersion, cx, cy, before, known = null)`; `sample(x, y, guess = 0)`; `knownAt(x, y)`; `begin(x, y)`; `widen()`; `originMark(sample, guess)`; `finite(h)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609270330-site-world-v3/world/layers/ground-grid.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Lines - File: energy-transition-simulator/prototype/world/lines.mjs (JavaScript, 166 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/world/lines.mjs#L1-L166 - Page: https://code.globalgrid2050.com/explore-code/s/0765.html#f4 - Synopsis: A JavaScript module in the world folder of Energy Transition Simulator that splits batches (`splitBatches`), calculates planar distances and renders with WebGL. - What it achieves (comment): It splits batches (`splitBatches`) and is built from the offset of helper (`offsetOf`) and the occluder mesh helper (`occluderMesh`). Carried over unchanged from the site-world release `solar-design-studio/202609270524-site-world/world/lines.mjs` (published 27 Sept 2026, copied 28 Sept 2026). It responds to webglcontextlost and webglcontextrestored events. - What it does: It draws its content. Defines 8 functions or classes, including offsetOf, splitBatches, occluderMesh, put, occluderFollower. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: WebGL/WebGPU drawing. - Signatures: `export offsetOf(origin, eye)`; `export splitBatches(batches)`; `export occluderMesh(heightAt, x, y, { cell = 8, radius = 400, sink = 0.5, key = 'occluder', version } = {})`; `export occluderFollower({ every = 64, ...opts } = {})`; `export createLines(canvas, { onRestore = () => {} } = {})`; `put(i, j)`; `init()`; `bind(b, data)`; `setBackdrop(fn)`; `resize(nextScale)`; `draw(matrix, eye, fade, batches, target)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/lines.mjs) · essay_status: readme_derived - data_contracts: in []; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### OSTN15 - File: energy-transition-simulator/prototype/world/ostn15.mjs (JavaScript, 93 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/prototype/world/ostn15.mjs#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/0765.html#f5 - Synopsis: A JavaScript module in the world folder of Energy Transition Simulator that decodes block (`decodeBlock`), gets checked (`getChecked`) and loads index (`loadIndex`), using OSTN15 and Helmert. - What it achieves (comment): It decodes block (`decodeBlock`), gets checked (`getChecked`) and creates OSTN15 (`createOstn15`). `bng.mjs`'s Helmert is good to about 3.5 m; this is good to about 0.1 m (OS: OSTN15 reproduces the National Grid to 0.1 m r.m.s. and its NTv2 form agrees with it to a few mm at the check points)… - What it does: It fetches data. Defines 11 functions or classes, including decodeBlock, blockKey, shiftAt, at, bil. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file ostn15.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326, ETRS89 / EPSG:4258. - Downstream impact: Used directly by 4 files: Find Mount (globalgrid2050); Overlay (energy-transition-simulator); Coords Reference (energy-transition-simulator); Overlay (globalgrid2050, https://globalgrid2050.com/energy-transition-simulator/202609280014/overlay.html). Reached from 23 other entry points, including Energy Transition Simulator — Latest Page (globalgrid2050, https://globalgrid2050.com/energy-transition-simulator/latest/); GlobalGrid2050 — Energy Transition Simulator Page (globalgrid2050, https://globalgrid2050.com/energy-transition-simulator/202609280014/); GlobalGrid2050 — Energy Transition Simulator Page (globalgrid2050, https://globalgrid2050.com/energy-transition-simulator/). - Signatures: `export decodeBlock(buffer)`; `export blockKey(lat, lon)`; `export shiftAt(blocks, lat, lon)`; `export bngToEtrs(blocks, e, n)`; `export etrsToBng(blocks, lat, lon)`; `export createOstn15({ get = getChecked, indexSha = INDEX_SHA256 } = {})`; `x(lon - b.lon0)`; `at(c, r, k)`; `bil(k)`; `getChecked(path, sha)`; `loadIndex()`; `need(lat, lon)`; `row(ix.blocks || [])`; `toBng(lat, lon)`; `toLatLon(e, n)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file ostn15.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326; ETRS89 / EPSG:4258]; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 1 ### Addresses Check - File: energy-transition-simulator/tests/addresses-check.cjs (JavaScript, 116 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/tests/addresses-check.cjs#L1-L116 - Page: https://code.globalgrid2050.com/explore-code/s/0766.html#f1 - Synopsis: A JavaScript module in the tests folder of Energy Transition Simulator that tests postcodes, OSTN15 and solar, using Helmert and SHA-256, and uses data from postcodes.io. - What it achieves (comment): It reads back (`readBack`) and is built from the metres step (`metres`) and the go and land helper (`goAndLand`). Typed postcodes and grid references land on the right spot, in the real overlay, in Chrome. - What it does: It tests postcodes, ostn15 and solar. Defines metres, goAndLand, readBack, hold. Uses libraries http, fs, path, crypto, playwright. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, solar. - Inputs & outputs: In: data source: postcodes.io; JSON file postcodes-20.json; JSON file ostn15.json; JSON file index.json. Out: JSON file results.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), ETRS89 / EPSG:4258. - Signatures: `metres(a, b)`; `goAndLand(text)`; `readBack()`; `hold(key, shot)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: postcodes.io; JSON file postcodes-20.json; JSON file ostn15.json; JSON file index.json]; out [JSON file results.json]; crs [OSGB36 / EPSG:27700 (British National Grid); ETRS89 / EPSG:4258]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Coords Reference - File: energy-transition-simulator/tests/coords-reference.mjs (JavaScript, 60 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/tests/coords-reference.mjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0766.html#f2 - Synopsis: A JavaScript module in the tests folder of Energy Transition Simulator that tests OSTN15, using Helmert and SHA-256. - What it achieves (comment): It is built from the check step (`check`) and the get step (`get`). Coords reference check: the ONE conversion (`place-frame.mjs` with the world's OSTN15) against the Ordnance Survey's own published answers. - What it does: It tests ostn15. Defines check, get. Uses libraries node:fs, node:crypto, node:url, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file ostn15.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), ETRS89 / EPSG:4258. - Signatures: `check(name, ok, evidence)`; `get(rel, sha)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file ostn15.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); ETRS89 / EPSG:4258]; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Engine Lock - File: energy-transition-simulator/tests/engine-lock.cjs (JavaScript, 139 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/tests/engine-lock.cjs#L1-L139 - Page: https://code.globalgrid2050.com/explore-code/s/0766.html#f3 - Synopsis: A JavaScript module in the tests folder of Energy Transition Simulator that tests cables and LiDAR terrain, using OSTN15. It is built from the mod list helper (`modList`). - What it achieves (comment): Check for `mod/engine-lock.js`: the site-world block imported BY URL from its release, locked to real coordinates (BNG through the overlay's own OSTN15 path, measured ground from the R5 stream), then built in sequence and pulsed. Its code works with 400 kV. - What it does: It tests cables and LiDAR terrain. Defines DTM, modList. Uses libraries http, fs, path, url, playwright. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables, LiDAR terrain, 400kV. - Inputs & outputs: In: JSON file index.json; command-line arguments. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 400kV. - Signatures: `DTM(e, n)`; `modList()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json; command-line arguments]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Farm Assess - File: energy-transition-simulator/tests/farm-assess.cjs (JavaScript, 244 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/tests/farm-assess.cjs#L1-L244 - Page: https://code.globalgrid2050.com/explore-code/s/0766.html#f4 - Synopsis: A JavaScript module in the tests folder of Energy Transition Simulator that tests substations and LiDAR terrain, using EPSG:27700. - What it achieves (comment): It is built from the near step (`near`), the get step (`get`) and the empty5 step (`empty5`). Smoke check for `prototype/mod/farm-assess.js`: the pure core only, on a small synthetic fixture. Its code works with 33 kV. - What it does: It tests substations and LiDAR terrain. Defines 14 functions or classes, including ok, near, sq, get, T. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'farm'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: substations, LiDAR terrain, 33kV. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. Voltage levels named: 33kV. - Signatures: `ok(name, c, ev)`; `near(a, b, tol)`; `sq(x0, y0, x1, y1, cw = true)`; `get(g)`; `T(name, f)`; `empty5()`; `fakeInfo(style, cls)`; `lift(el, text)`; `dtmTile(e0, n0, size, res, fn, holes)`; `tan(d)`; `z(e)`; `ditch(e, n)`; `inR(e, n)`; `mk(K)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [33kV] - Edges: uses 1 estate file (require 1); used by 0; mentioned by 0 ### Grid Assets - File: energy-transition-simulator/tests/grid-assets.cjs (JavaScript, 123 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/tests/grid-assets.cjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0766.html#f5 - Synopsis: A JavaScript module in the tests folder of Energy Transition Simulator that tests substations footprints odbl, grid 400kV and grid substations, and uses data from the GridAtlas repository. - What it achieves (comment): It is built from the wait step (`wait`), the in ring helper (`inRing`) and the in sub helper (`inSub`). Grid assets check: pylons and substations are MAPPED POSITIONS, drawn through the ONE wire layer, labelled honestly. Its code works with 400 kV. - What it does: It tests substations footprints odbl, grid 400kV and grid substations. Defines wait, inRing, inSub. Uses libraries http, fs, path, playwright. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: In: data source: gridatlas data; JSON file substations-footprints.odbl.json; GeoJSON file grid_400kv.geojson; GeoJSON file grid_substations.geojson. Out: JSON file results.json. Voltage levels named: 400kV. - Signatures: `wait(ms)`; `inRing(x, y, R)`; `inSub(lon, lat)`; `S(await (await fetch(`${GA}/grid_substations.geojson`)).json())` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file substations-footprints.odbl.json; GeoJSON file grid_400kv.geojson; GeoJSON file grid_substations.geojson]; out [JSON file results.json]; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Overlay Smoke - File: energy-transition-simulator/tests/overlay-smoke.cjs (JavaScript, 50 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/tests/overlay-smoke.cjs#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0767.html#f1 - Synopsis: A JavaScript module in the tests folder of Energy Transition Simulator that tests solar and 400kV. - What it achieves (comment): Smoke test for the GridAtlas overlay: serves `prototype/` on a local port, opens `overlay.html` headless, and checks what a player would see. Its code works with 400 kV. - What it does: It tests solar and 400kV. Uses libraries http, fs, path, playwright. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, 400kV. - Inputs & outputs: Out: JSON file results.json. Voltage levels named: 400kV. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [JSON file results.json]; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Plan View - File: energy-transition-simulator/tests/plan-view.cjs (JavaScript, 246 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/tests/plan-view.cjs#L1-L246 - Page: https://code.globalgrid2050.com/explore-code/s/0767.html#f2 - Synopsis: A JavaScript module in the tests folder of Energy Transition Simulator that tests 400kV, the Renewable Energy Planning Database (REPD) register, substations and LiDAR terrain. - What it achieves (comment): It is built from the mod list helper (`modList`), the launch step (`launch`) and the state step (`state`). Plan view check (`mod/plan-view.js` + `mod/morph.js`). Its code works with 400 kV. It reads `mod/index.json`. - What it does: It tests 400kV, the REPD register, substations and LiDAR terrain. Defines 12 functions or classes, including modList, launch, state, ready, idle. Uses libraries http, fs, path, playwright. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, the REPD register, substations, LiDAR terrain. - Inputs & outputs: In: JSON file index.json; command-line arguments. Voltage levels named: 400kV. - Signatures: `modList()`; `launch()`; `state(p)`; `ready(p)`; `idle(p)`; `shot(p, name)`; `grab()`; `diff(a, b)`; `settle()`; `pc(v)`; `press(t)`; `viaMode(how, m)`; `typed()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json; command-line arguments]; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Privacy Scan - File: energy-transition-simulator/tests/privacy-scan.cjs (JavaScript, 41 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/tests/privacy-scan.cjs#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0767.html#f3 - Synopsis: A JavaScript module in the tests folder of Energy Transition Simulator that tests privacy hashes, using SHA-256. It is built from the sha step (`sha`). - What it achieves (comment): Privacy scan for the PUBLIC repo. - What it does: It tests privacy hashes. Defines sha. Uses libraries child_process, fs, path, crypto. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file privacy-hashes.json. - Downstream impact: Used directly by 1 file: Overlay Workflow (energy-transition-simulator). - Signatures: `sha(t)`; `words(line.toLowerCase().match(/[a-z]+/g) || [])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file privacy-hashes.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Procedural - File: energy-transition-simulator/tests/procedural.cjs (JavaScript, 198 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/tests/procedural.cjs#L1-L198 - Page: https://code.globalgrid2050.com/explore-code/s/0767.html#f4 - Synopsis: A JavaScript module in the tests folder of Energy Transition Simulator that tests grid 400kV, overhead lines (OHL), solar and battery storage (BESS). - What it achieves (comment): It is built from the browser step (`browser`), the shot step (`shot`) and the state step (`state`). Check for `mod/procedural.js`: serves `prototype/` with the module switched on (`mod/index.json` answered with procedural added, the file on disk untouched), opens a register solar farm and a register battery site, switches Procedural on, walks and flies. Its code works with 400 kV, 400 MW and 3.7 MWh. - What it does: It tests grid 400kV, overhead lines (OHL), solar and battery storage (BESS). Defines 8 functions or classes, including browser, shot, state, waitDrawn, sd. Uses libraries http, fs, path, playwright. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: overhead lines (OHL), solar, battery storage (BESS), 400kV. - Inputs & outputs: In: JSON file index.json; GeoJSON file grid_400kv.geojson. Out: WebGL/WebGPU drawing. Voltage levels named: 400kV. - Signatures: `browser()`; `shot(n)`; `state()`; `waitDrawn(ms)`; `sd(px, py, [ax, ay], [bx, by])`; `inBox()`; `x((lo0 + lo1) / 2 - f.lon)`; `ax(d)`; `snap()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json; GeoJSON file grid_400kv.geojson]; out [WebGL/WebGPU drawing]; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Scanner Rows Test - File: energy-transition-simulator/tests/scanner-rows.test.cjs (JavaScript, 69 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/tests/scanner-rows.test.cjs#L1-L69 - Page: https://code.globalgrid2050.com/explore-code/s/0767.html#f5 - Synopsis: A test in the tests folder of Energy Transition Simulator that checks Scanner Rows, using Web Mercator. - What it achieves (comment): Checks for `prototype/mod/scanner-rows.js` against known references. - What it does: It tests LiDAR terrain. Uses libraries path, fs. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file scanner-rows.farms.json. Coordinate systems named: Web Mercator / EPSG:3857. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file scanner-rows.farms.json]; out []; crs [Web Mercator / EPSG:3857]; voltages [] - Edges: uses 1 estate file (require 1); used by 0; mentioned by 0 ### Tables - File: energy-transition-simulator/tests/tables.cjs (JavaScript, 58 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/tests/tables.cjs#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/0767.html#f6 - Synopsis: A JavaScript module in the tests folder of Energy Transition Simulator that tests scanner rows farms, AC trenches and solar. It is built from the near step (`near`). - What it achieves (comment): Check for `prototype/mod/tables.js`: the pure helpers run in Node on the real row file (no browser, no network). - rows from the 5,077 measured runs. - What it does: It tests scanner rows farms, AC trenches and solar. Defines near. Uses libraries fs, path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file scanner-rows.farms.json; JSON file ac-trenches-6502.json. - Signatures: `near(a, b, t)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file scanner-rows.farms.json; JSON file ac-trenches-6502.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### UI - File: energy-transition-simulator/tests/ui.cjs (JavaScript, 161 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/tests/ui.cjs#L1-L161 - Page: https://code.globalgrid2050.com/explore-code/s/0768.html#f1 - Synopsis: A JavaScript module in the tests folder of Energy Transition Simulator that draws on a canvas. - What it achieves (comment): It is built from the mod list helper (`modList`), the launch step (`launch`) and the ready step (`ready`). UI check for the menu bar, the site-world tokens and the wire look (`mod/menu-style.js`, `menu-bar.js`, `wire-look.js`). Its code works with 400 kV. - What it does: It tests its inputs. Defines 6 functions or classes, including modList, launch, BLUE_SCAN, ready, state. Uses libraries http, fs, path, playwright. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: In: JSON file index.json; command-line arguments. Out: canvas drawing. Voltage levels named: 400kV. - Downstream impact: Used directly by 1 file: Overlay Workflow (energy-transition-simulator). - Signatures: `modList()`; `launch()`; `BLUE_SCAN()`; `ready(p)`; `state()`; `band()`; `png(await p.screenshot({ clip: { x: 0, y: 324, width: 1920, height: 130 } }))` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; command-line arguments]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 15 Price Spread - File: galaxies-wafers/iterations/15-price-spread/app.mjs (JavaScript, 37 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/15-price-spread/app.mjs#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0768.html#f2 - Synopsis: A JavaScript module in Galaxies Wafers that draws spread calculation, using SHA-256. It is built from the draw step (`draw`) and the refresh step (`refresh`). - What it achieves (readme): The README says: The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/. It responds to submit, input and click events. - What it does: It draws spread calculation. Defines $, draw, refresh. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: Out: JSON file spread-calculation.json; downloaded file spread-calculation.json. - Signatures: `$(id)`; `draw()`; `refresh()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file spread-calculation.json; downloaded file spread-calculation.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Browser Check - File: galaxies-wafers/iterations/15-price-spread/browser-check.mjs (JavaScript, 27 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/15-price-spread/browser-check.mjs#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0768.html#f3 - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that uses SHA-256. - What it does: It draws its content. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: JSON file receipt.json. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Model - File: galaxies-wafers/iterations/15-price-spread/model.mjs (JavaScript, 21 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/15-price-spread/model.mjs#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0768.html#f4 - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that uses SHA-256. - What it achieves (name): Defines `parse`, `calculate` and `compact`. Its code works with 100 GW. - What it does: Defines parse, calculate, compact. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Browser Check (galaxies-wafers). - Signatures: `export parse(text)`; `export calculate(engine,input)`; `compact(r)` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Model Test - File: galaxies-wafers/iterations/15-price-spread/model.test.mjs (JavaScript, 14 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/15-price-spread/model.test.mjs#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0768.html#f5 - Synopsis: A test in the iterations folder of Galaxies Wafers that uses SHA-256. - What it does: It tests its inputs. Uses libraries node:test. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Iterations — 43 Registry Growth - File: galaxies-wafers/iterations/43-registry-growth/app.mjs (JavaScript, 555 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/43-registry-growth/app.mjs#L1-L555 - Page: https://code.globalgrid2050.com/explore-code/s/0768.html#f6 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/ - Synopsis: A JavaScript module in Galaxies Wafers using data from GitHub API. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/. It fetches queue (`FetchQueue`), fetches once (`fetchOnce`) and paints machine (`paintMachine`). - What it achieves (comment): How the Estate Grew: the page. It responds to click, pointerdown and pointermove events. - What it does: It draws its content. Defines 41 functions or classes, including $, el, fmt, when, FetchQueue. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: data source: GitHub API; JSON file latest.json; JSON file graph_latest.json. Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/). Reached from 1 other entry point, including Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/. - Signatures: `$(id)`; `el(tag, cls, text)`; `fmt(n)`; `when(s)`; `class FetchQueue`; `constructor(n)`; `add(task)`; `fetchOnce(url, onBytes)`; `label(sec, state, stats)`; `paintMachine()`; `hydrateListing()`; `hydrateSnapshot(v, onBytes)`; `missingTop(sum)`; `openTimeline()`; `tlState(v, cls, st)`; `loadRow(v)`; `fillRow(v, sum)`; `part(b, t)`; `countTimeline()`; `buildDiffLists()`; `paintList(L)`; `openDiff()`; `runDiff()`; `put(key, items, empty)`; `hydrateGraph()` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file latest.json; JSON file graph_latest.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Growth - File: galaxies-wafers/iterations/43-registry-growth/growth.css (CSS, 65 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/43-registry-growth/growth.css#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/0769.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/). Reached from 1 other entry point, including Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 43 Registry Growth Page - File: galaxies-wafers/iterations/43-registry-growth/index.html (HTML, 81 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/43-registry-growth/index.html#L1-L81 - Page: https://code.globalgrid2050.com/explore-code/s/0769.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/ - Synopsis: A web page in Galaxies Wafers that reads inputs for to and files (units: kV). Published at https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/. - What it achieves (comment): How the Estate Grew. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 1 file: Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (link 3, stylesheet 1, script-src 1); used by 1; mentioned by 0 ### Iterations — 47 Federation Honesty - File: galaxies-wafers/iterations/47-federation-honesty/app.mjs (JavaScript, 301 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/47-federation-honesty/app.mjs#L1-L301 - Page: https://code.globalgrid2050.com/explore-code/s/0769.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/ - Synopsis: A JavaScript module in Galaxies Wafers that draws status rules and federation map, and uses data from the data-federation-map-for-GlobalGrid2050-all-repos repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/. - What it achieves (comment): It fetches queue (`FetchQueue`), gets Parquet (`getParquet`) and counts statuses (`countStatuses`). Is Green Earned? Counts the federation map's statuses from its own files and checks every green against the evidence its rules ask for. It responds to toggle events. - What it does: It draws status rules and federation map. Defines 24 functions or classes, including $, esc, FetchQueue, get, parquetLib. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: data source: data-federation-map-for-globalgrid2050-all-repos data; JSON file status_rules.json; JSON file nodes.json; JSON file edges.json; Parquet file nodes.parquet; Parquet file edges.parquet; JSON file FEDERATION_MAP_LATEST.json; DuckDB queries. - Downstream impact: Used directly by 1 file: Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/. - Signatures: `export countStatuses(rows)`; `export greenWithoutEvidence(rows)`; `export edgeEvidence(edges)`; `export invariants(nodes, edges, report)`; `$(id)`; `esc(s)`; `class FetchQueue`; `constructor(n)`; `run(task)`; `pump()`; `get(path, kind)`; `parquetLib()`; `getParquet(path)`; `p(async () => { const [buf, [hp, fz]] = await Promise.all([get(path, 'bin'), parquetLib()]); const compressors = { ZSTD...)`; `features(fc)`; `nodeProps(n)`; `statusOf(p)`; `isExternal(p)`; `blank(v)`; `row(name, measured, ok, claim, claimAgrees)`; `label(id, state, detail)`; `cell(v)`; `settle(results)`; `hydrate(id)`; `nodeRows(p)` (and 8 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: data-federation-map-for-globalgrid2050-all-repos data; JSON file status_rules.json; JSON file nodes.json; JSON file edges.json; Parquet file nodes.parquet; Parquet file edges.parquet; JSON file FEDERATION_MAP_LATEST.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Green - File: galaxies-wafers/iterations/47-federation-honesty/green.css (CSS, 26 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/47-federation-honesty/green.css#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/0769.html#f5 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 47 Federation Honesty Page - File: galaxies-wafers/iterations/47-federation-honesty/index.html (HTML, 68 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/47-federation-honesty/index.html#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/0769.html#f6 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/ - Synopsis: A web page in Galaxies Wafers that draws status rules and cables. Published at https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/. - What it achieves (comment): Is Green Earned? - What it does: It draws status rules and cables. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file status_rules.json; DuckDB queries. Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file status_rules.json; DuckDB queries]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 2, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### UK Energy Tracking V6 — Generation History Page - File: gb-electricity-ui/uk_energy_tracking_v6/generation_history/index.html (HTML, 27 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gb-electricity-ui/blob/f29f8b8e9a6317e7041ff0469645237a273de8a3/uk_energy_tracking_v6/generation_history/index.html#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0769.html#f7 - Published at: https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/generation_history/ - Synopsis: A web page in GB Electricity UI. Published at https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/generation_history/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 2 files: Monolith Reference (gb-electricity-ui, https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/generation_history/monolith-reference.html); GB Electricity UI — UK Energy Tracking V6 Page (gb-electricity-ui, https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/). Reached from 1 other entry point, including Monolith Reference (gb-electricity-ui, https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/monolith-reference.html). It is itself an entry point, published at https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/generation_history/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 2; mentioned by 0 ### Monolith Reference - File: gb-electricity-ui/uk_energy_tracking_v6/generation_history/monolith-reference.html (HTML, 23 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gb-electricity-ui/blob/f29f8b8e9a6317e7041ff0469645237a273de8a3/uk_energy_tracking_v6/generation_history/monolith-reference.html#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/0770.html#f1 - Published at: https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/generation_history/monolith-reference.html - Synopsis: A web page in the generation history folder of GB Electricity UI. Published at https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/generation_history/monolith-reference.html. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: UK Energy Tracking V6 — Generation History Page (gb-electricity-ui, https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/generation_history/). Reached from 2 other entry points, including GB Electricity UI — UK Energy Tracking V6 Page (gb-electricity-ui, https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/); Monolith Reference (gb-electricity-ui, https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/monolith-reference.html). It is itself an entry point, published at https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/generation_history/monolith-reference.html. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 1; mentioned by 0 ### GB Electricity UI — UK Energy Tracking V6 Page - File: gb-electricity-ui/uk_energy_tracking_v6/index.html (HTML, 27 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gb-electricity-ui/blob/f29f8b8e9a6317e7041ff0469645237a273de8a3/uk_energy_tracking_v6/index.html#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0770.html#f2 - Published at: https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/ - Synopsis: A web page. Published at https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 2 files: UK Energy Tracking V6 — Generation History Page (gb-electricity-ui, https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/generation_history/); Monolith Reference (gb-electricity-ui, https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/monolith-reference.html). Reached from 1 other entry point, including Monolith Reference (gb-electricity-ui, https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/generation_history/monolith-reference.html). It is itself an entry point, published at https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 2; mentioned by 0 ### Monolith Reference - File: gb-electricity-ui/uk_energy_tracking_v6/monolith-reference.html (HTML, 23 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gb-electricity-ui/blob/f29f8b8e9a6317e7041ff0469645237a273de8a3/uk_energy_tracking_v6/monolith-reference.html#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/0770.html#f3 - Published at: https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/monolith-reference.html - Synopsis: A web page in GB Electricity UI. Published at https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/monolith-reference.html. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: GB Electricity UI — UK Energy Tracking V6 Page (gb-electricity-ui, https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/). Reached from 2 other entry points, including Monolith Reference (gb-electricity-ui, https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/generation_history/monolith-reference.html); UK Energy Tracking V6 — Generation History Page (gb-electricity-ui, https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/generation_history/). It is itself an entry point, published at https://ventusltd.github.io/gb-electricity-ui/uk_energy_tracking_v6/monolith-reference.html. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 1; mentioned by 0 ### GlobalGrid2050 Dashboard - File: globalgrid2050/assets/dashboard.css (CSS, 88 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/assets/dashboard.css#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/0770.html#f4 - Synopsis: A style sheet in the assets folder. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 55 files: Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html); Homepage V039 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v039.html); Homepage V040 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v040.html); and 51 more. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 55; mentioned by 0 ### GlobalGrid2050 Dashboard - File: globalgrid2050/assets/dashboard.js (JavaScript, 164 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/assets/dashboard.js#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/0770.html#f5 - Synopsis: A JavaScript file in the assets folder that draws catalog and uses data from the registry_of_all_content_in_repos_and_dependencies repository. It searches key (`searchKey`) and applies search (`applySearch`). - What it achieves (name): Defines `esc`, `normalise`, `searchKey` and 8 more. It responds to change, input and keydown events. - What it does: It draws catalog. Defines 11 functions or classes, including esc, normalise, searchKey, flatten, build. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: registry_of_all_content_in_repos_and_dependencies data; JSON file catalog.json; browser storage (getItem). Out: browser storage (setItem). - Downstream impact: Used directly by 56 files: Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html); Homepage V039 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v039.html); and 52 more. Reached from 1 other entry point, including Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/). - Signatures: `esc(s)`; `normalise(s)`; `searchKey(parts)`; `flatten(catalog)`; `build(catalog)`; `applySearch(raw)`; `initChecklist()`; `initSessionNotes()`; `initRegistryAccess()`; `reveal()`; `init()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: registry_of_all_content_in_repos_and_dependencies data; JSON file catalog.json; browser storage (getItem)]; out [browser storage (setItem)]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 56; mentioned by 0 ### Build PipelineNews Context - File: globalgrid2050/automation/convergence/build_pipelinenews_context.py (Python, 104 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/convergence/build_pipelinenews_context.py#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/0770.html#f6 - Synopsis: A Python command-line tool in the convergence folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register, solar and wind, using SHA-256. - What it achieves (comment): It is built from the sha step (`sha`) and the build step (`build`). Prototype: the data-centre context sidecar a future Pipeline News release folder could vendor. It accepts `--convergence`, `--release` and `--out`. - What it does: Defines sha, build, main. Uses libraries __future__, argparse, glob, hashlib, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Test Build Renewable Energy Planning Database (REPD) Datacentres (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `sha(b)`; `build(convergence_dir, release_dir)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Renewable Energy Planning Database (REPD) Datacentres - File: globalgrid2050/automation/convergence/build_repd_datacentres.py (Python, 1063 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/convergence/build_repd_datacentres.py#L1-L1063 - Page: https://code.globalgrid2050.com/explore-code/s/0771.html#f1 - Synopsis: A Python command-line tool in the convergence folder of GlobalGrid2050 that reads datacentre proximity, colocation candidates, rollup region and rollup cluster, using EPSG:27700 and SHA-256. - What it achieves (comment): It parses capacity (`parse_capacity`), parses coord (`parse_coord`) and loads REPD (`load_repd`). REPD x UK data-centre convergence: one deterministic, offline join. Its code works with 132 kV. It accepts `--repd`, `--identity` and `--datacentres`. - What it does: It loads datacentre proximity, colocation candidates, rollup region and rollup cluster. Defines 47 functions or classes, including _tokens, _op_core, norm_operator, operator_keys, site_tokens. Uses libraries __future__, argparse, csv, hashlib, io. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentres'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 132kV. - Inputs & outputs: In: JSON file datacentre_proximity.json; JSON file colocation_candidates.json; JSON file rollup_region.json; JSON file rollup_cluster.json; JSON file schema.json; command-line arguments. Out: JSON file. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. Voltage levels named: 132kV. - Downstream impact: Used directly by 1 file: Test Build Renewable Energy Planning Database (REPD) Datacentres (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `_tokens(s)`; `_op_core(s)`; `norm_operator(s)`; `operator_keys(s)`; `site_tokens(s)`; `bng_to_wgs84(easting, northing)`; `haversine_km(lat1, lon1, lat2, lon2)`; `r3(v)`; `msum(vals)`; `sha256_file(p)`; `parse_capacity(raw)`; `parse_coord(raw)`; `load_repd(path, identity_path=None)`; `load_datacentres(path)`; `mw(key)`; `load_connection_points(path)`; `_max_kv(v)`; `load_osm_substations(path, min_kv=132)`; `class GridIndex`; `__init__(self, items)`; `_cell(self, lat, lon)`; `nearest(self, lat, lon, n=1, key=lambda it: "")`; `empty_cells()`; `add_cell(cells, p)`; `close_cells(cells)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file datacentre_proximity.json; JSON file colocation_candidates.json; JSON file rollup_region.json; JSON file rollup_cluster.json; JSON file schema.json; command-line arguments]; out [JSON file]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [132kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Build Renewable Energy Planning Database (REPD) Datacentres - File: globalgrid2050/automation/convergence/tests/test_build_repd_datacentres.py (Python, 359 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/convergence/tests/test_build_repd_datacentres.py#L1-L359 - Page: https://code.globalgrid2050.com/explore-code/s/0773.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Build Renewable Energy Planning Database (REPD) Datacentres and Build PipelineNews Context, using EPSG:27700 and Helmert. - What it achieves (comment): It writes inputs (`write_inputs`) and is built from the km north helper (`km_north`) and the REPD row helper (`repd_row`). Tests for `automation/convergence/build_repd_datacentres.py`. Synthetic fixtures only; no network. - What it does: It tests its inputs. Defines 29 functions or classes, including km_north, repd_row, dc_feature, write_inputs, node. Uses libraries __future__, csv, hashlib, json, math. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentres'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file repd.csv; GeoJSON file dc.geojson; JSON file cp.json; JSON file datacentre_proximity.json; JSON file repd_datacentre_proximity_solar.json; JSON file colocation_candidates.json; JSON file rollup_cluster.json; JSON file rollup_region.json. Out: JSON file part-001.json; JSON file part-002.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `km_north(lat, km)`; `repd_row(ref, tech="Solar Photovoltaics", status="Awaiting Construction", mw="10", x=X0, y=Y0, site=None, op="Op Ltd", region=...)`; `dc_feature(i, lat, lon, status="operational", precision="exact_site", operator=None, name=None, it=None, gc=None, un=None, un_la...)`; `write_inputs(tmp, rows, feats, nodes=None)`; `node(code, lat, lon)`; `run(tmp, rows, feats, nodes=None, out="out")`; `class A`; `test_bng_to_wgs84_regression_points()`; `test_bng_to_wgs84_matches_pyproj_if_present()`; `test_haversine_one_degree_latitude()`; `test_blank_capacity_is_unknown_not_zero(tmp_path)`; `test_status_groups_and_excluded_statuses(tmp_path)`; `test_technology_groups(tmp_path)`; `test_radius_boundaries_and_nearest(tmp_path)`; `test_known_bad_coordinates_excluded_and_listed(tmp_path)`; `test_wrong_crs_repd_degrees_rejected(tmp_path)`; `test_wrong_crs_datacentre_swapped_axes_unplaced(tmp_path)`; `test_unplaced_datacentre_keeps_row_with_null_metrics(tmp_path)`; `test_duplicates_counted_once_most_advanced_kept(tmp_path)`; `test_operator_match_is_strict()`; `test_colocation_classes_and_false_matches(tmp_path)`; `test_datacentre_mw_never_conflated(tmp_path)`; `test_region_precision_points_not_used_for_project_radii(tmp_path)`; `test_shared_nearest_transmission_node(tmp_path)`; `test_clusters_need_three_sites_and_rollups(tmp_path)` (and 3 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file repd.csv; GeoJSON file dc.geojson; JSON file cp.json; JSON file datacentre_proximity.json; JSON file repd_datacentre_proximity_solar.json; JSON file colocation_candidates.json; JSON file rollup_cluster.json; JSON file rollup_region.json]; out [JSON file part-001.json; JSON file part-002.json]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 2 estate files (sys-path 2); used by 1; mentioned by 0 ### Browser Test - File: globalgrid2050/automation/energy_context_ui/20261118/browser.test.mjs (JavaScript, 107 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/energy_context_ui/20261118/browser.test.mjs#L1-L107 - Page: https://code.globalgrid2050.com/explore-code/s/0773.html#f2 - Synopsis: A test in the energy context ui folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and solar. - What it achieves (comment): Deterministic actual saved-feed replay against the inherited Pipeline page. Its code works with 2 GW. - What it does: It tests the REPD register and solar. Uses libraries node:assert/strict, node:http, node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: Out: JSON file receipt.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `newsState(expected)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Contracts Test - File: globalgrid2050/automation/energy_context_ui/20261118/contracts.test.mjs (JavaScript, 78 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/energy_context_ui/20261118/contracts.test.mjs#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/0773.html#f3 - Synopsis: A test in the energy context ui folder of GlobalGrid2050 that checks Model. - What it achieves (name): Defines `article`. It reads `./policy.json`. - What it does: It tests its inputs. Defines article. Uses libraries node:test, node:assert/strict, node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file policy.json; JSON file review.json; JSON file facts.json; JSON file notice.json; JSON file pipeline_headlines.snapshot.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `article(title,link='https:)`; `approval()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file policy.json; JSON file review.json; JSON file facts.json; JSON file notice.json; JSON file pipeline_headlines.snapshot.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Model - File: globalgrid2050/automation/energy_context_ui/20261118/model.mjs (JavaScript, 76 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/energy_context_ui/20261118/model.mjs#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/0773.html#f4 - Synopsis: A JavaScript module in the energy context ui folder of GlobalGrid2050 that works with solar, wind, the Renewable Energy Planning Database (REPD) register and substations, using SHA-256. - What it achieves (name): It classifies headline (`classifyHeadline`) and is built from the safe URL helper (`safeUrl`) and the valid origin helper (`validOrigin`). Defines `safeUrl`, `digest`, `validOrigin` and 9 more. - What it does: It calculates solar, wind, the REPD register and substations. Defines 12 functions or classes, including safeUrl, digest, validOrigin, contextForOrigin, classifyHeadline. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind, the REPD register, substations. - Downstream impact: Used directly by 2 files: Contracts Test (globalgrid2050); View (globalgrid2050). Reached from 7 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export validOrigin(origin)`; `export contextForOrigin(origin)`; `export classifyHeadline(item)`; `export infrastructureEntries(entries,topic)`; `export relatedHeadlines(doc,origin,{limit=6}={})`; `export newsContextBase(base)`; `export newsContextUrl(base,origin)`; `export requestedContext(search)`; `export acceptedGridContext(facts,notice)`; `export acceptedPolicy(bytes,review)`; `safeUrl(value)`; `digest(text)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Prepare Preview - File: globalgrid2050/automation/energy_context_ui/20261118/prepare_preview.py (Python, 76 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/energy_context_ui/20261118/prepare_preview.py#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/0773.html#f5 - Synopsis: A Python command-line tool in the energy context ui folder of GlobalGrid2050 covering sources, projects, major project news and preview receipt, using SHA-256. - What it achieves (comment): Create a disposable integrated preview without reserving/editing an edition. It accepts `--source-ref`, `--edition` and `--output`. - What it does: Defines main. Uses libraries pathlib, argparse, base64, hashlib, io. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`prepare_preview.py --source-ref --edition --output ` creates a disposable, SRI-wired integrated preview from exact Git archive bytes and copies this module into it." - Inputs & outputs: In: JSON file sources.json; JSON file projects.json; JSON file major_project_news_v9_5_1.json; command-line arguments. Out: JSON file preview-receipt.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file sources.json; JSON file projects.json; JSON file major_project_news_v9_5_1.json; command-line arguments]; out [JSON file preview-receipt.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Closure - File: globalgrid2050/automation/energy_context_ui/20261118/verify-closure.mjs (JavaScript, 16 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/energy_context_ui/20261118/verify-closure.mjs#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/0774.html#f1 - Synopsis: A JavaScript module in the energy context ui folder of GlobalGrid2050 that reads energy context, policy, review and facts, using SHA-256. - What it achieves (name): Its name says it verifies closure. Defines `bytes`. - What it does: It loads energy context, policy, review and facts. Defines bytes. Uses libraries node:assert/strict, node:fs, node:path, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file energy-context.v945.json; JSON file closure.json; JSON file policy.json; JSON file review.json; JSON file facts.json; JSON file notice.json; command-line arguments. - Signatures: `bytes(path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file energy-context.v945.json; JSON file closure.json; JSON file policy.json; JSON file review.json; JSON file facts.json; JSON file notice.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### View - File: globalgrid2050/automation/energy_context_ui/20261118/view.mjs (JavaScript, 71 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/energy_context_ui/20261118/view.mjs#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/0774.html#f2 - Synopsis: A JavaScript module in the energy context ui folder of GlobalGrid2050 that draws policy, review, facts and notice, using SHA-256. - What it achieves (name): It shows context (`showContext`), renders main (`renderMain`) and draws policy (`drawPolicy`). Defines `link`, `newsQuery`, `newsSelect` and 9 more. It responds to click, pipeline and DOMContentLoaded events. - What it does: It draws policy, review, facts and notice. Defines 13 functions or classes, including el, link, newsQuery, newsSelect, showContext. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file policy.json; JSON file review.json; JSON file facts.json; JSON file notice.json. - Downstream impact: Used directly by 2 files: News Compact (globalgrid2050); GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `el(tag,text)`; `link(text,url)`; `newsQuery()`; `newsSelect(kind)`; `showContext()`; `renderMain(view=lastView)`; `connectNews()`; `topicFilter(topic)`; `buttons(host)`; `drawPolicy()`; `drawRelated()`; `selectOrigin(value)`; `rememberNews(savedOrigin=origin)`; `restoreNews(saved)`; `connectEntry()`; `applyRequest()`; `boundedText(name,max)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file policy.json; JSON file review.json; JSON file facts.json; JSON file notice.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### News — Acquisition - File: globalgrid2050/automation/news/acquisition/__init__.py (Python, 1 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/__init__.py#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/0774.html#f3 - Synopsis: A Python module in the automation folder of GlobalGrid2050. - What it achieves (comment): Solar-only research acquisition; machine associations are always provisional. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 3 files: Prospecting (globalgrid2050); Test Acquisition Analytics (globalgrid2050); Test Acquisition Run (globalgrid2050). Reached from 5 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); Build Prospecting Priority (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Analytics - File: globalgrid2050/automation/news/acquisition/analytics.py (Python, 172 lines) · role storage · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/analytics.py#L1-L172 - Page: https://code.globalgrid2050.com/explore-code/s/0774.html#f4 - Synopsis: A Python module in the acquisition folder of GlobalGrid2050 that reads projects, using SHA-256. - What it achieves (comment): Immutable analytical Parquet projection; SQLite remains the operational store. - What it does: It loads projects. Defines 9 functions or classes, including _require, _json, _sha, _rows, _connect. Uses libraries __future__, datetime, hashlib, json, pathlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: Parquet file projects.parquet; Parquet file evidence.parquet; DuckDB queries. - Downstream impact: Used directly by 3 files: News — Acquisition (globalgrid2050); Test Acquisition Analytics (globalgrid2050); Test Acquisition Run (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `_require(condition, message)`; `_json(value)`; `_sha(data)`; `_rows(payload)`; `_connect()`; `_literal(path)`; `_receipt(directory, manifest)`; `validate_analytics(directory, payload, *, expected_project_ids)`; `export_analytics(payload, out_dir, *, expected_project_ids)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [Parquet file projects.parquet; Parquet file evidence.parquet; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 3; mentioned by 0 ### Evidence Spec - File: globalgrid2050/automation/news/acquisition/browser/evidence.spec.mjs (JavaScript, 213 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/browser/evidence.spec.mjs#L1-L213 - Page: https://code.globalgrid2050.com/explore-code/s/0774.html#f5 - Synopsis: A test in the browser folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS), using SHA-256. - What it achieves (name): It is built from the install routes helper (`installRoutes`). Defines `fixture`, `installRoutes` and `ready`. It reads `../../../../uk_renewables_pipeline/202611161630/solar1000/manifest.json`. - What it does: It tests the REPD register, solar and battery storage (BESS). Defines fixture, installRoutes, ready. Uses libraries @playwright/test, node:fs/promises, node:crypto. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: JSON file latest.json; JSON file evidence.json; JSON file projects.json. - Signatures: `fixture()`; `installRoutes(page,mode='valid')`; `ready(page)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file latest.json; JSON file evidence.json; JSON file projects.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Harness Test - File: globalgrid2050/automation/news/acquisition/browser/harness.test.mjs (JavaScript, 77 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/browser/harness.test.mjs#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/0774.html#f6 - Synopsis: A test in the browser folder of GlobalGrid2050 that checks Server and Playwright Config. It is built from the unused port helper (`unusedPort`). - What it achieves (name): Defines `unusedPort` and `start`. - What it does: It tests its inputs. Defines unusedPort, start. Uses libraries node:test, node:assert/strict, node:child_process, node:net, node:events. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: 127.0.0.1:${port}${release}. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050). - Signatures: `unusedPort()`; `start(port,t)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: 127.0.0.1:${port}${release}]; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 1; mentioned by 0 ### News Priority Config - File: globalgrid2050/automation/news/acquisition/browser/news-priority.config.mjs (JavaScript, 14 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/browser/news-priority.config.mjs#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0774.html#f7 - Synopsis: A JavaScript module in the browser folder of GlobalGrid2050. - What it does: Uses libraries @playwright/test. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### News Priority Spec - File: globalgrid2050/automation/news/acquisition/browser/news-priority.spec.mjs (JavaScript, 119 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/browser/news-priority.spec.mjs#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/0774.html#f8 - Synopsis: A test in the browser folder of GlobalGrid2050 covering solar. - What it achieves (name): Defines `install` and `ready`. - What it does: It tests solar. Defines install, ready. Uses libraries @playwright/test, node:child_process, node:fs/promises, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file pipeline_headlines.json; JSON file .rank.json; JSON file pipeline_headlines.snapshot.json. - Signatures: `install(page, mode='valid')`; `ready(page)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file pipeline_headlines.json; JSON file .rank.json; JSON file pipeline_headlines.snapshot.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Playwright Config - File: globalgrid2050/automation/news/acquisition/browser/playwright.config.mjs (JavaScript, 17 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/browser/playwright.config.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/0774.html#f9 - Synopsis: A JavaScript module in the browser folder of GlobalGrid2050. - What it does: Uses libraries @playwright/test. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Harness Test (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Prospecting Priority Config - File: globalgrid2050/automation/news/acquisition/browser/prospecting-priority.config.mjs (JavaScript, 11 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/browser/prospecting-priority.config.mjs#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/0775.html#f1 - Synopsis: A JavaScript module in the browser folder of GlobalGrid2050. - What it does: Uses libraries @playwright/test. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Prospecting Priority Spec - File: globalgrid2050/automation/news/acquisition/browser/prospecting-priority.spec.mjs (JavaScript, 114 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/browser/prospecting-priority.spec.mjs#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/0775.html#f2 - Synopsis: A test in the browser folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and solar, using SHA-256. - What it achieves (name): Defines `hash` and `setup`. It reads `priority.json`. - What it does: It tests the REPD register and solar. Defines hash, setup. Uses libraries @playwright/test, node:child_process, node:fs/promises, node:crypto, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: JSON file priority.json; CSV file priority.csv; JSON file pipeline_headlines.json; JSON file .rank.json. - Signatures: `hash(bytes)`; `setup(page,mode='valid')` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file priority.json; CSV file priority.csv; JSON file pipeline_headlines.json; JSON file .rank.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Server - File: globalgrid2050/automation/news/acquisition/browser/server.mjs (JavaScript, 30 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/browser/server.mjs#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/0775.html#f3 - Synopsis: A JavaScript module in the browser folder of GlobalGrid2050 that gets port (`getTestPort`). It gets test port (`getTestPort`) and creates test server (`createTestServer`). - What it achieves (comment): Isolated local static server for browser tests; never a production server. - What it does: It loads data. Defines getTestPort, createTestServer. Uses libraries node:http, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 5 files: Harness Test (globalgrid2050); News Priority Config (globalgrid2050); Playwright Config (globalgrid2050); Prospecting Priority Config (globalgrid2050); and 1 more. Reached from 1 other entry point, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050). - Signatures: `export getTestPort(env=process.env)`; `export createTestServer()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Evidence Store - File: globalgrid2050/automation/news/acquisition/evidence_store.py (Python, 358 lines) · role storage · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/evidence_store.py#L1-L358 - Page: https://code.globalgrid2050.com/explore-code/s/0775.html#f4 - Synopsis: A Python module in the acquisition folder of GlobalGrid2050 that reads checksums, solar and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It records run (`record_run`), validates snapshot (`validate_snapshot`) and exports snapshot (`export_snapshot`). Durable, provisional-only research results and immutable weekly exports. - What it does: It loads checksums, solar and the REPD register. Defines 19 functions or classes, including EvidenceValidationError, _require, _moment, _url, _ids. Uses libraries __future__, csv, datetime, hashlib, io. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register. - Inputs & outputs: In: JSON file evidence.json; CSV file evidence.csv; GeoJSON file evidence.geojson; JSON file checksums.json; SQLite database. Out: JSON file latest.json. - Downstream impact: Used directly by 7 files: Analytics (globalgrid2050); News — Acquisition (globalgrid2050); Prospecting (globalgrid2050); Test Acquisition Analytics (globalgrid2050); and 3 more. Reached from 4 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); Build Prospecting Priority (globalgrid2050). - Signatures: `class EvidenceValidationError`; `_require(condition, message)`; `_moment(value)`; `_url(value)`; `_ids(values)`; `_coordinates(latitude, longitude)`; `_sources(sources)`; `_article(article)`; `_json(value)`; `class EvidenceStore`; `__init__(self, path=":memory:")`; `close(self)`; `__enter__(self)`; `__exit__(self, *_)`; `record_run(self, projects, articles, matches, fetched_at, sources)`; `snapshot(self, timestamp=None)`; `validate_snapshot(payload, expected_project_ids)`; `_csv_cell(value)`; `export_snapshot(store, out_dir, timestamp=None, *, expected_project_ids)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file evidence.json; CSV file evidence.csv; GeoJSON file evidence.geojson; JSON file checksums.json; SQLite database]; out [JSON file latest.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### Fetch - File: globalgrid2050/automation/news/acquisition/fetch.py (Python, 183 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/fetch.py#L1-L183 - Page: https://code.globalgrid2050.com/explore-code/s/0775.html#f5 - Synopsis: A Python module in the acquisition folder of GlobalGrid2050 that fetches solar, using SHA-256. It fetches error (`FetchError`), loads sources (`load_sources`) and parses feed (`parse_feed`). - What it achieves (comment): Bounded, fail-closed HTTP acquisition for the one approved solar RSS source. - What it does: It fetches solar. Defines 10 functions or classes, including FetchError, _PublicHTTPSConnection, _new_conn, _PublicHTTPSPool, _PublicHTTPSAdapter. Uses libraries __future__, datetime, hashlib, ipaddress, pathlib. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. README: "`fetch.py` restricts the publisher host, HTTPS, resolved public addresses and redirects" - Downstream impact: Used directly by 3 files: News — Acquisition (globalgrid2050); Test Acquisition (globalgrid2050); Test Acquisition Run (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `class FetchError`; `class _PublicHTTPSConnection`; `_new_conn(self)`; `class _PublicHTTPSPool`; `class _PublicHTTPSAdapter`; `init_poolmanager(self, *args, **kwargs)`; `_rights_accepted(source)`; `load_sources(path=None, *, include_disabled=False)`; `parse_feed(raw, source)`; `fetch_source(source, cache=None, *, session=None, now=None, probe=False)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 3; mentioned by 0 ### Match - File: globalgrid2050/automation/news/acquisition/match.py (Python, 37 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/match.py#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0776.html#f1 - Synopsis: A Python module in the acquisition folder of GlobalGrid2050 that works with the Renewable Energy Planning Database (REPD) register. It normalises name (`normalise_name`) and matches articles (`match_articles`). - What it achieves (comment): Conservative exact project matching, with no verification or event inference. - What it does: It calculates the REPD register. Defines normalise_name, match_articles. Uses libraries __future__, collections, re, unicodedata. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 5 files: Research Queue (globalgrid2050); News — Acquisition (globalgrid2050); Engine (globalgrid2050); Test Acquisition (globalgrid2050); and 1 more. Reached from 10 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); Build Prospecting Priority (globalgrid2050). - Signatures: `normalise_name(value)`; `match_articles(articles, projects)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Normalise - File: globalgrid2050/automation/news/acquisition/normalise.py (Python, 69 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/normalise.py#L1-L69 - Page: https://code.globalgrid2050.com/explore-code/s/0776.html#f2 - Synopsis: A Python module in the acquisition folder of GlobalGrid2050 that uses SHA-256. It cleans text (`clean_text`) and normalises article (`normalise_article`). - What it achieves (comment): Normalize RSS metadata without persisting publisher article bodies. - What it does: It calculates its inputs. Defines 8 functions or classes, including _Text, __init__, handle_starttag, handle_endtag, handle_data. Uses libraries __future__, datetime, email.utils, hashlib, html. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: Fetch (globalgrid2050); Test Acquisition (globalgrid2050). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); News — Acquisition (globalgrid2050). - Signatures: `class _Text`; `__init__(self)`; `handle_starttag(self, tag, attrs)`; `handle_endtag(self, tag)`; `handle_data(self, data)`; `clean_text(value)`; `safe_publisher_url(value)`; `normalise_article(entry, source)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Publish - File: globalgrid2050/automation/news/acquisition/publish.py (Python, 30 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/publish.py#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/0776.html#f3 - Synopsis: A Python command-line tool in the acquisition folder of GlobalGrid2050 that publishes one evidence commit with an exact-ref lease and no history rewrite. - What it achieves (name): Defines `publish` and `git`. - What it does: Defines publish, git. Uses libraries argparse, re, subprocess. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 2 files: Test Evidence Publish (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `publish(repository, expected_head, remote="origin")`; `git(*args)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Research Queue - File: globalgrid2050/automation/news/acquisition/research_queue.py (Python, 53 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/research_queue.py#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/0776.html#f4 - Synopsis: A Python command-line tool in the acquisition folder of GlobalGrid2050 that loads seed projects (`load_seed_projects`), covering solar and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): Load exactly the immutable V9.24 Solar-1000, validating all official rows. It reads `solar1000/manifest.json`. - What it does: Defines _read_pinned, load_seed_projects. Uses libraries __future__, hashlib, json, collections, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register. README: "`research_queue.py` verifies the original manifest, build manifest and every partition hash before returning projects." - Inputs & outputs: In: JSON file build_manifest.json. - Downstream impact: Used directly by 6 files: News — Acquisition (globalgrid2050); Prospecting (globalgrid2050); Test Acquisition (globalgrid2050); Test Acquisition Analytics (globalgrid2050); and 2 more. Reached from 4 other entry points, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); Build Prospecting Priority (globalgrid2050); Test Prospecting (globalgrid2050). - Signatures: `_read_pinned(path, digest)`; `load_seed_projects(repo_root=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 6; mentioned by 0 ### News — Acquisition - File: globalgrid2050/automation/news/acquisition/run.py (Python, 94 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/run.py#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/0776.html#f5 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050. It is built from the collect step (`collect`). - What it achieves (comment): Weekly evidence candidate builder; probes never write evidence or state. It writes `latest.json`. It accepts `--out`, `--sources` and `--probe`. - What it does: It loads data. Defines collect, main. Uses libraries __future__, argparse, datetime, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file latest.json; command-line arguments. Out: JSON file latest.json. - Downstream impact: Used directly by 2 files: Test Acquisition Run (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `collect(out, *, sources_path=None, probe=False, fetcher=fetch_source)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file latest.json; command-line arguments]; out [JSON file latest.json]; crs []; voltages [] - Edges: uses 5 estate files (python-relative 5); used by 2; mentioned by 0 ### Sources - File: globalgrid2050/automation/news/acquisition/sources.yaml (YAML, 10 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/acquisition/sources.yaml#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/0776.html#f6 - Synopsis: A configuration file in the acquisition folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Binder - File: globalgrid2050/automation/news/binder.py (Python, 405 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/binder.py#L1-L405 - Page: https://code.globalgrid2050.com/explore-code/s/0776.html#f7 - Synopsis: A Python command-line tool in the news folder of GlobalGrid2050 that reads the Renewable Energy Planning Database (REPD) register, solar and wind. - What it achieves (comment): It is built from the news capacities helper (`news_capacities`), the capacity corroborates helper (`capacity_corroborates`) and the project index class (`ProjectIndex`). Bind a news article to a REPD project (and, separately, to a data-centre site) with an explicit confidence class and a full evidence trail. Its code works with 1.2 GW and 2 MW. It accepts `--repd`, `--labels` and `--out`. - What it does: It loads the REPD register, solar and wind. Defines 17 functions or classes, including news_capacities, capacity_corroborates, ProjectIndex, __init__, name_hits. Uses libraries __future__, argparse, json, re, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Test Binder (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `news_capacities(text: str)`; `capacity_corroborates(project_mw, stated: list[float])`; `class ProjectIndex`; `__init__(self, snapshot: dict)`; `name_hits(self, pt: str)`; `_foreign(pt: str, source: str)`; `bind(article: dict, index: ProjectIndex)`; `devs(rs)`; `narrow(label, keep)`; `primary_key(v)`; `class DatacentreIndex`; `evaluate(labels: list, index: ProjectIndex)`; `tally(t, predicted, gold)`; `metrics(t)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### Build Feed - File: globalgrid2050/automation/news/build_feed.py (Python, 290 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/build_feed.py#L1-L290 - Page: https://code.globalgrid2050.com/explore-code/s/0777.html#f1 - Synopsis: A Python command-line tool in the news folder of GlobalGrid2050 that reads binder evaluation and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the panel fields helper (`panel_fields`), the top50 CSV helper (`top50_csv`) and the top50 md helper (`top50_md`). Build the REPD events feed, the article relevance file and the binder evaluation for one release pair. It accepts `--previous`, `--new` and `--previous-label`. - What it does: It loads binder evaluation and the REPD register. Defines 7 functions or classes, including panel_fields, _input, _dump, top50_csv, top50_md. Uses libraries __future__, argparse, csv, io, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file binder_evaluation_v9_5_1.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `panel_fields(ev: dict)`; `_input(role, path, label=None, extra=None)`; `_dump(path: Path, doc)`; `top50_csv(top: list)`; `top50_md(feed: dict)`; `build(a)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file binder_evaluation_v9_5_1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Build News Priority - File: globalgrid2050/automation/news/build_news_priority.py (Python, 144 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/build_news_priority.py#L1-L144 - Page: https://code.globalgrid2050.com/explore-code/s/0777.html#f2 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that reads pipeline headlines schema, using SHA-256. It is built from the build step (`build`) and the dumps step (`dumps`). - What it achieves (comment): Build a deterministic rank sidecar without changing the existing headline file. It accepts `--input` and `--output`. - What it does: It loads pipeline headlines schema. Defines _unique, _validate, build, dumps, main. Uses libraries __future__, argparse, hashlib, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file pipeline-headlines.v1.schema.json; command-line arguments. - Downstream impact: Used directly by 2 files: Test News Priority Export (globalgrid2050); GlobalGrid2050 Pipeline Headlines Workflow (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `_unique(pairs)`; `_validate(value, rule, root=HEADLINE_SCHEMA)`; `build(raw: bytes)`; `dumps(document)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pipeline-headlines.v1.schema.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Build Prospecting Priority - File: globalgrid2050/automation/news/build_prospecting_priority.py (Python, 146 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/build_prospecting_priority.py#L1-L146 - Page: https://code.globalgrid2050.com/explore-code/s/0777.html#f3 - Synopsis: A Python command-line tool in the news folder of GlobalGrid2050 that builds artifacts (`build_artifacts`) and writes artifacts (`write_artifacts`), covering solar and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the encoded step (`encoded`), the sha step (`sha`) and the remark step (`remark`). Export the existing bounded research ranking without changing official rows. It accepts `--as-of`, `--out-dir` and `--limit`. - What it does: Defines 7 functions or classes, including encoded, sha, remark, csv_text, build_artifacts. Uses libraries __future__, argparse, csv, hashlib, io. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register. - Inputs & outputs: In: JSON file priority.json; CSV file priority.csv; command-line arguments. - Downstream impact: Used directly by 1 file: Test Prospecting Export (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `encoded(value)`; `sha(raw)`; `remark(row)`; `csv_text(value)`; `build_artifacts(*, as_of, limit=1000, evidence=None, datacentres=None, repo_root=None)`; `write_artifacts(directory, artifacts)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file priority.json; CSV file priority.csv; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Build Transition Context - File: globalgrid2050/automation/news/build_transition_context.py (Python, 245 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/build_transition_context.py#L1-L245 - Page: https://code.globalgrid2050.com/explore-code/s/0778.html#f1 - Synopsis: A Python command-line tool in the news folder of GlobalGrid2050 that works with CSV report (`csv_report`) and bounded output (`BoundedOutput`), covering solar, using SHA-256. - What it achieves (comment): It is built from the dumps step (`dumps`), the build step (`build`) and the bounded output class (`BoundedOutput`). Bounded offline composition of existing Covenant, Grid and Solar contracts. It accepts `--policy`, `--grid` and `--solar`. - What it does: Defines 15 functions or classes, including dumps, _bounded, _scope, _link, _figure. Uses libraries __future__, argparse, copy, csv, hashlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Test Transition Context (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `dumps(value)`; `_bounded(value, limit)`; `_scope(native_scope, entity_id, *, family, relationship=None)`; `_link(document, *, section=None, page=None, text=None, covenant=False)`; `_figure(claim, role, qualifier=None)`; `_policy_row(row, documents)`; `_context_row(row, family)`; `build(policy_input, grid_input, solar_input, *, as_of)`; `csv_report(report)`; `class BoundedOutput`; `write(self, value)`; `_unique_object(pairs)`; `_read(path)`; `_publish_new(path, raw)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 5 estate files (import 5); used by 1; mentioned by 0 ### Adapter - File: globalgrid2050/automation/news/context-ui/adapter.mjs (JavaScript, 191 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/context-ui/adapter.mjs#L1-L191 - Page: https://code.globalgrid2050.com/explore-code/s/0778.html#f2 - Synopsis: A JavaScript module in the context ui folder of GlobalGrid2050 that validates link (`validateLink`) and reads context (`readContext`), covering solar, using SHA-256. - What it achieves (comment): It validates link (`validateLink`), reads context (`readContext`) and registers source (`registerSource`). Offline consumer of the pinned SUPPORT composer. - What it does: It lists and searches solar. Defines 10 functions or classes, including requireValue, equal, keys, text, sourceUrl. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Downstream impact: Used directly by 2 files: Adapter Test (globalgrid2050); Render (globalgrid2050). Reached from 7 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export sourceUrl(value)`; `export readContext(raw, {expectedSha256, buildViewModel})`; `requireValue(ok)`; `equal(a, b)`; `keys(value, names)`; `text(value)`; `date(value, timestamp = false)`; `scope(nativeScope, entity, family, relationship)`; `validateLink(link)`; `registerSource(id, receipt)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Adapter Test - File: globalgrid2050/automation/news/context-ui/adapter.test.mjs (JavaScript, 126 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/context-ui/adapter.test.mjs#L1-L126 - Page: https://code.globalgrid2050.com/explore-code/s/0778.html#f3 - Synopsis: A test in the context ui folder of GlobalGrid2050 that checks Adapter and Render, using SHA-256. - What it does: It tests solar and the REPD register. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Browser - File: globalgrid2050/automation/news/context-ui/browser.mjs (JavaScript, 116 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/context-ui/browser.mjs#L1-L116 - Page: https://code.globalgrid2050.com/explore-code/s/0778.html#f4 - Synopsis: A JavaScript module in the context ui folder of GlobalGrid2050 that fetches fixture, using SHA-256. - What it achieves (comment): Real Chrome proof, using actual exporter bytes and the external pinned renderer. Its code works with 280 MW, 350 MW and 480 MW. It reads `/fixture.json`. It responds to click events. - What it does: It fetches fixture. Uses libraries node:assert/strict, node:fs/promises, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file fixture.json. Out: JSON file proof.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file fixture.json]; out [JSON file proof.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Context - File: globalgrid2050/automation/news/context-ui/context.css (CSS, 24 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/context-ui/context.css#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0779.html#f1 - Synopsis: A style sheet in the context ui folder of GlobalGrid2050. - What it achieves (comment): Scoped to the disclosure inside the existing News host. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "Load `context.css` and that renderer's `figures.css`." - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Render - File: globalgrid2050/automation/news/context-ui/render.mjs (JavaScript, 136 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/context-ui/render.mjs#L1-L136 - Page: https://code.globalgrid2050.com/explore-code/s/0779.html#f2 - Synopsis: A JavaScript module in the context ui folder of GlobalGrid2050 covering solar, using SHA-256. - What it achieves (readme): It renders context (`renderContext`) and is built from the known step (`known`) and the label step (`label`). The README says: Import `renderContext` from `render.mjs`, supply exact export bytes as a `Uint8Array`, and inject `buildViewModel` and `renderFigures` from ADDITIONAL's TestCode PR23 `sandbox/filings-ui` at the pin in `pins.json`. - What it does: It draws solar. Defines 11 functions or classes, including known, label, evidenceValue, limitationText, evidence. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. README: "Import `renderContext` from `render.mjs`, supply exact export bytes as a `Uint8Array`, and inject `buildViewModel` and `renderFigures` from ADDITIONAL's TestCode PR23 `sandbox/filings-ui` at the pin in `pins.json`." - Downstream impact: Used directly by 2 files: Adapter Test (globalgrid2050); Preview V928 (globalgrid2050). Reached from 6 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export evidenceValue(key, value)`; `export limitationText(value)`; `export isContextHost(host)`; `export renderContext(host, bytes, {expectedSha256, figures})`; `known(value)`; `label(value)`; `evidence(document, parent, value)`; `node(document, tag, text)`; `line(document, parent, label, value)`; `disclosure(document, parent, title)`; `source(document, parent, link)`; `generation(generations.get(host) ?? 0)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 1 ### Test Support - File: globalgrid2050/automation/news/context-ui/test-support.mjs (JavaScript, 25 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/context-ui/test-support.mjs#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/0779.html#f3 - Synopsis: A JavaScript module in the context ui folder of GlobalGrid2050 that tests pins, ledger, grid fixture and solar context, using SHA-256. - What it achieves (name): Defines `sha` and `encode`. It reads `./pins.json`. - What it does: It tests pins, ledger, grid fixture and solar context. Defines sha, encode. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:child_process, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file pins.json; JSON file sample_ledger.json; JSON file grid-source-fixture.json; JSON file solar-context.json. - Downstream impact: Used directly by 2 files: Adapter Test (globalgrid2050); Browser (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export sha(bytes)`; `export encode(value)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pins.json; JSON file sample_ledger.json; JSON file grid-source-fixture.json; JSON file solar-context.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Model - File: globalgrid2050/automation/news/datacentre-ui/model.js (JavaScript, 168 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/datacentre-ui/model.js#L1-L168 - Page: https://code.globalgrid2050.com/explore-code/s/0779.html#f4 - Synopsis: A JavaScript module in the datacentre ui folder of GlobalGrid2050 that validates projects (`validateProjects`) and audit (`validateAudit`) and validates official (`validateOfficial`) (units: MW). - What it achieves (comment): It validates projects (`validateProjects`), validates audit (`validateAudit`) and validates official (`validateOfficial`). No identity joins. - What it does: It calculates its inputs. Defines 18 functions or classes, including isObject, validText, isUK, safeUrl, requireValid. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentre'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "model.js — strict five-input contract, retained original identifiers, source URL/revision/retrieval evidence, capacity nulls, geographic abstention, quarantine provenance and distinct evidence-grain validation." - Downstream impact: Used directly by 3 files: Model Test (globalgrid2050); View (globalgrid2050); GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 6 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents). - Signatures: `isObject(x)`; `validText(x)`; `isUK(x)`; `safeUrl(x)`; `requireValid(ok, why)`; `distinct(records, field)`; `validateProjects(data)`; `validateAudit(audit, projects)`; `validateOfficial(data)`; `validateGroups(data)`; `validateBundle(bundle)`; `canonical(x)`; `selectRows(records, {scope = 'uk', query = '', country = ''} = {})`; `mapUrl(x)`; `mw(x)`; `csv(rows)`; `cell(v)`; `summary(bundle)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### News — Datacentre UI Style Sheet - File: globalgrid2050/automation/news/datacentre-ui/styles.css (CSS, 37 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/datacentre-ui/styles.css#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0779.html#f5 - Synopsis: A style sheet in the automation folder of GlobalGrid2050. - What it achieves (comment): Local, prefix-scoped V9.24-compatible dark/monospace presentation; no global CSS. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentre'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "styles.css — scoped ggdc-* dark/monospace cyan/yellow, horizontal overflow within table at 375px, without touching global CSS." - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Browser Smoke - File: globalgrid2050/automation/news/datacentre-ui/tests/browser_smoke.py (Python, 132 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/datacentre-ui/tests/browser_smoke.py#L1-L132 - Page: https://code.globalgrid2050.com/explore-code/s/0779.html#f6 - Synopsis: A Python command-line tool in the tests folder of GlobalGrid2050 that tests official projects, project groups and selection audit, using SHA-256. - What it achieves (comment): It is built from the source path helper (`source_path`), the silent handler class (`SilentHandler`) and the log message helper (`log_message`). Opt-in real Chromium/Playwright acceptance. - What it does: It tests official projects, project groups and selection audit. Defines source_path, SilentHandler, log_message, main. Uses libraries __future__, functools, hashlib, http.server, json. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentre'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "tests/harness.html / tests/browser_smoke.py — optional actual Chromium tests at 375, 768 and 1440 width, including search, CSV, official and quarantined categories and fail-closed integrity tampering." - Inputs & outputs: In: JSON file projects.json; JSON file official-projects.json; JSON file project-groups.json; JSON file selection-audit.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `source_path(url: str)`; `class SilentHandler`; `log_message(self, *_args)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file projects.json; JSON file official-projects.json; JSON file project-groups.json; JSON file selection-audit.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Harness - File: globalgrid2050/automation/news/datacentre-ui/tests/harness.html (HTML, 5 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/datacentre-ui/tests/harness.html#L1-L5 - Page: https://code.globalgrid2050.com/explore-code/s/0779.html#f7 - Published at: https://globalgrid2050.com/automation/news/datacentre-ui/tests/harness.html - Synopsis: A web page in the tests folder of GlobalGrid2050. Published at https://globalgrid2050.com/automation/news/datacentre-ui/tests/harness.html. - What it achieves (comment): Data Centre isolated browser acceptance fixture. - What it does: It tests its inputs. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentre'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "tests/harness.html / tests/browser_smoke.py — optional actual Chromium tests at 375, 768 and 1440 width, including search, CSV, official and quarantined categories and fail-closed integrity tampering." - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/automation/news/datacentre-ui/tests/harness.html. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Model Test - File: globalgrid2050/automation/news/datacentre-ui/tests/model.test.cjs (JavaScript, 99 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/datacentre-ui/tests/model.test.cjs#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0779.html#f8 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Model. It is built from the read step (`read`), the clone step (`clone`) and the reject step (`reject`). - What it achieves (comment): Run from repository root. - What it does: It tests its inputs. Defines read, clone, reject. Uses libraries node:test, node:assert/strict, node:fs, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentre'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "tests/model.test.cjs / tests/view.test.cjs — offline Node tests against the real V9.28 files, baseline and negative evidence/control fixtures." - Inputs & outputs: In: JSON file projects.json; JSON file official-projects.json; JSON file project-groups.json; JSON file selection-audit.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050). - Signatures: `read(f)`; `clone()`; `reject(name, update)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file projects.json; JSON file official-projects.json; JSON file project-groups.json; JSON file selection-audit.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (require 1); used by 1; mentioned by 0 ### View Test - File: globalgrid2050/automation/news/datacentre-ui/tests/view.test.cjs (JavaScript, 72 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/datacentre-ui/tests/view.test.cjs#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/0779.html#f9 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks View, using SHA-256. - What it achieves (comment): It is built from the digest step (`digest`), the fetcher step (`fetcher`) and the has message helper (`hasMessage`). Source-integrity loading and failure-mode tests, no external network. - What it does: It tests its inputs. Defines 7 functions or classes, including digest, fetcher, hasMessage, tamper, missing. Uses libraries node:test, node:assert/strict, node:fs, node:path, node:crypto. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentre'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "tests/model.test.cjs / tests/view.test.cjs — offline Node tests against the real V9.28 files, baseline and negative evidence/control fixtures." - Inputs & outputs: In: JSON file projects.json; JSON file official-projects.json; JSON file project-groups.json; JSON file selection-audit.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050). - Signatures: `digest(x)`; `fetcher(url)`; `hasMessage(fn,needle)`; `tamper(url)`; `missing(url)`; `badFetch(url)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file projects.json; JSON file official-projects.json; JSON file project-groups.json; JSON file selection-audit.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (require 1); used by 1; mentioned by 0 ### View - File: globalgrid2050/automation/news/datacentre-ui/view.js (JavaScript, 231 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/datacentre-ui/view.js#L1-L231 - Page: https://code.globalgrid2050.com/explore-code/s/0780.html#f1 - Synopsis: A JavaScript module in the datacentre ui folder of GlobalGrid2050 that groups rows (`groupRows`) (units: MW), using SHA-256. - What it achieves (comment): It groups rows (`groupRows`) and is built from the source step (`source`) and the cell step (`cell`). GlobalGrid2050 Data Centre component. Host-owned tab slot; never edits the page frame. It responds to click, input and change events. - What it does: It draws its content. Defines 13 functions or classes, including el, source, cell, table, leadRows. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentre'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "view.js — one host-mount component with UK-first table plus switchable Global Leads / Official Source Records / Group Associations / Quarantine within the host's Data Centre tab." - Inputs & outputs: Out: downloaded file globalgrid2050-data-centres-. - Downstream impact: Used directly by 2 files: View Test (globalgrid2050); GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 5 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents). - Signatures: `model(typeof module === 'object' && module.exports)`; `el(tag, className, value)`; `source(label, address)`; `cell(row, value)`; `table(columns, records, cells)`; `leadRows(records)`; `officialRows(records)`; `groupRows(records)`; `quarantineRows(records)`; `render(host, bundle)`; `selectedLeads()`; `update()`; `load(inputs, transport = fetch, digest = null)`; `mount(host, inputs, transport, digest)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [downloaded file globalgrid2050-data-centres-]; crs []; voltages [] - Edges: uses 1 estate file (require 1); used by 2; mentioned by 0 ### Datacentre Feed - File: globalgrid2050/automation/news/datacentre_feed.py (Python, 504 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/datacentre_feed.py#L1-L504 - Page: https://code.globalgrid2050.com/explore-code/s/0780.html#f2 - Synopsis: A Python command-line tool in the news folder of GlobalGrid2050 that fetches datacentre news, datacentre proximity, datacentre pinned and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It cleans text (`clean_text`), parses date (`parse_date`) and parses calendar day (`parse_calendar_day`). Data-centre capex and politics headlines for Pipeline News (owner line 11, 14 Nov 2026). It accepts `--out`, `--proximity` and `--register`. - What it does: It fetches datacentre news, datacentre proximity, datacentre pinned and the REPD register. Defines 25 functions or classes, including _compile, clean_text, canonical_link, parse_date, parse_calendar_day. Uses libraries __future__, argparse, datetime, email.utils, hashlib. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentre'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file datacentre_news.json; JSON file datacentre_proximity.json; JSON file datacentre_pinned.json; command-line arguments. - Downstream impact: Used directly by 7 files: Pipeline Headlines (globalgrid2050); Research Indexes (globalgrid2050); Official (globalgrid2050); Trade (globalgrid2050); and 3 more. Reached from 20 other entry points, including GlobalGrid2050 Agent7 V922 CI Workflow (globalgrid2050); GlobalGrid2050 Pipeline Headlines Workflow (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050). - Signatures: `_compile(terms)`; `clean_text(value, limit)`; `canonical_link(value)`; `parse_date(value)`; `parse_calendar_day(value)`; `parse_feed(body)`; `capex_basis(terms)`; `matches(regexes, text)`; `classify(title, summary, register_named=False)`; `_alternatives(record)`; `repd_context(record)`; `class Register`; `__init__(self, records)`; `load(cls, proximity_path=None, geojson_path=None)`; `match(self, title)`; `fetch_url(url)`; `collect(feeds, fetch, register, now_iso)`; `sort_key(item)`; `normalise(item)`; `merge(previous, incoming, cap=MAX_ITEMS)`; `build(previous, items, health, now_iso, cap=MAX_ITEMS)`; `load_pinned(path, now_iso)`; `main(argv=None)`; `fetch(url)`; `fixture_name(url)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file datacentre_news.json; JSON file datacentre_proximity.json; JSON file datacentre_pinned.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 7; mentioned by 0 ### Grid - File: globalgrid2050/automation/news/dc_context/grid.py (Python, 265 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/dc_context/grid.py#L1-L265 - Page: https://code.globalgrid2050.com/explore-code/s/0781.html#f2 - Synopsis: A Python command-line tool in the dc context folder of GlobalGrid2050 that uses SHA-256. It is built from the dumps step (`dumps`) and the build step (`build`). - What it achieves (comment): Offline, provisional grid/data-centre context; no network or inference. It accepts `--input`, `--as-of` and `--output`. - What it does: It loads data. Defines 11 functions or classes, including _require, _object, _text, _identifier, _day. Uses libraries __future__, argparse, copy, datetime, hashlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 3 files: Build Transition Context (globalgrid2050); Test Grid DC Context (globalgrid2050); Test Transition Context (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `_require(condition, message)`; `_object(value, keys, field)`; `_text(value, field, *, limit=250)`; `_identifier(value, field)`; `_day(value, field)`; `_time(value, field)`; `dumps(value)`; `_source(source, as_of)`; `_figures(context, source, kinds, bases)`; `build(bundle, *, as_of)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Engine - File: globalgrid2050/automation/news/engine.py (Python, 247 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/engine.py#L1-L247 - Page: https://code.globalgrid2050.com/explore-code/s/0781.html#f3 - Synopsis: A Python command-line tool in the news folder of GlobalGrid2050 that reads the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It builds intelligence (`build_intelligence`) and is built from the canonical URL helper (`canonical_url`) and the read step (`read`). Ventus News Engine: read-only, deterministic intelligence adapter. It accepts `--articles`, `--sources` and `--projects`. - What it does: It loads the REPD register. Defines 8 functions or classes, including _required, canonical_url, _checked_timestamp, _sources, _projects. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 2 files: Test Engine (globalgrid2050); Test Engine Independent (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `_required(value, field)`; `canonical_url(value)`; `_checked_timestamp(value, field)`; `_sources(rows)`; `_projects(rows)`; `build_intelligence(articles, sources, projects=())`; `main(argv=None)`; `read(path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 2; mentioned by 0 ### Events - File: globalgrid2050/automation/news/events.py (Python, 411 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/events.py#L1-L411 - Page: https://code.globalgrid2050.com/explore-code/s/0782.html#f1 - Synopsis: A Python command-line tool in the news folder of GlobalGrid2050 that classifies status and loads pair, covering the Renewable Energy Planning Database (REPD) register, wind and solar, using SHA-256. - What it achieves (comment): It classifies status (`classify_status`) and loads pair (`load_pair`). Typed project events from two REPD releases. Its code works with 0.0051 MW. It accepts `--previous`, `--new` and `--out`. - What it does: Defines 16 functions or classes, including _t, _date, _mw_text, _place, _site_key. Uses libraries __future__, argparse, hashlib, json, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, wind, solar. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 5 files: Binder (globalgrid2050); Build Feed (globalgrid2050); Test Events (globalgrid2050); Test Real Data (globalgrid2050); and 1 more. Reached from 3 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); Test Binder (globalgrid2050). - Signatures: `_t(rec, col)`; `_date(rec, col)`; `_mw_text(mw)`; `_place(rec)`; `_site_key(rec)`; `development_groups(*snapshots)`; `find(x)`; `union(a, b)`; `headline(etype: str, rec, prev, ev: dict)`; `_event_id(pair: str, ref: str, etype: str)`; `_record_view(rec)`; `classify_status(old: str | None, new: str | None)`; `build_events(old: dict, new: dict, previous_label: str = "previous", new_label: str = "new", large_application_mw: float = DEFAULT...)`; `emit(etype, ref, rec, prev, basis, change=None)`; `load_pair(previous, new)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 5; mentioned by 0 ### Evidence Ledger - File: globalgrid2050/automation/news/evidence_ledger.py (Python, 158 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/evidence_ledger.py#L1-L158 - Page: https://code.globalgrid2050.com/explore-code/s/0782.html#f2 - Synopsis: A Python module in the news folder of GlobalGrid2050 that works with the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It checks proposal (`check_proposal`) and is built from the object named helper (`object_named`) and the assess step (`assess`). Fail-closed, review-required evidence contracts for project-specific Pipeline News. - What it does: It calculates the REPD register. Defines _https, _date, check_proposal, object_named, assess. Uses libraries __future__, datetime, re, urllib.parse. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: Test Agent7 Evidence Ledger (globalgrid2050). Reached from 3 other entry points, including GlobalGrid2050 Agent7 V922 CI Workflow (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `_https(value)`; `_date(value, *, moment=False)`; `check_proposal(record)`; `object_named(key)`; `assess(record)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Contracts - File: globalgrid2050/automation/news/filings/contracts.py (Python, 295 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/filings/contracts.py#L1-L295 - Page: https://code.globalgrid2050.com/explore-code/s/0783.html#f1 - Synopsis: A Python module in the filings folder of GlobalGrid2050 that validates claim (`validate_claim`) (units: MW), using SHA-256. - What it achieves (comment): It is built from the claim validation error class (`ClaimValidationError`) and the dumps claim helper (`dumps_claim`). Exact, provisional numerical claims for successor filings and project inputs. - What it does: It calculates its inputs. Defines 11 functions or classes, including ClaimValidationError, _fail, _object, _text, _identifier. Uses libraries __future__, collections.abc, copy, datetime, decimal. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 6 files: Solar (globalgrid2050); Build Transition Context (globalgrid2050); Grid (globalgrid2050); Documents (globalgrid2050); and 2 more. Reached from 9 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `class ClaimValidationError`; `_fail(field: str, reason: str)`; `_object(value: Any, keys: frozenset[str] | set[str], field: str)`; `_text(value: Any, field: str, max_length: int = 200)`; `_identifier(value: Any, field: str)`; `_choice(value: Any, choices: set[str] | frozenset[str], field: str)`; `_source_date(value: Any, field: str)`; `_timestamp(value: Any, field: str)`; `_url(value: Any, field: str)`; `validate_claim(claim: Mapping[str, Any])`; `dumps_claim(claim: Mapping[str, Any])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### Documents - File: globalgrid2050/automation/news/filings/documents.py (Python, 250 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/filings/documents.py#L1-L250 - Page: https://code.globalgrid2050.com/explore-code/s/0783.html#f2 - Synopsis: A Python command-line tool in the filings folder of GlobalGrid2050 that works with distil document (`distil_document`), using SHA-256. - What it achieves (comment): It is built from the node class (`Node`), the text step (`text`) and the walk step (`walk`). Bounded, offline distillation of two reviewed government HTML publications. It accepts `--source-dir`, `--receipts` and `--output`. - What it does: It loads data. Defines 18 functions or classes, including Node, text, walk, selector, BoundedHTML. Uses libraries __future__, dataclasses, datetime, hashlib, html.parser. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 2 files: Policy Context (globalgrid2050); Test Documents (globalgrid2050). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `class Node`; `text(self)`; `walk(self)`; `selector(self)`; `class BoundedHTML`; `__init__(self)`; `handle_starttag(self, tag, attrs)`; `handle_startendtag(self, tag, attrs)`; `handle_endtag(self, tag)`; `handle_data(self, data)`; `day(text)`; `unavailable(reason, **extra)`; `_distil_html(payload, policy, url, retrieved_at)`; `fact(name, value, node, unit=None, meaning=None)`; `unique(pattern)`; `_ancestors(node)`; `distil_document(payload: bytes, *, source_url: str, receipt: dict, content_type="text/html")`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 2; mentioned by 0 ### Policy Context - File: globalgrid2050/automation/news/filings/policy_context.py (Python, 78 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/filings/policy_context.py#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/0783.html#f3 - Synopsis: A Python module in the filings folder of GlobalGrid2050 that extracts covenant (`extract_covenant`), using SHA-256. - What it achieves (comment): Offline, bounded GOV.UK policy facts; never project compliance or connectivity. - What it does: It calculates its inputs. Defines extract_covenant. Uses libraries __future__, datetime, hashlib, re. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Test Policy Context (globalgrid2050). Reached from 3 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `extract_covenant(payload: bytes, *, source_url: str, retrieved_at: str)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 1; mentioned by 0 ### News — Grid Watch - File: globalgrid2050/automation/news/grid_watch/__init__.py (Python, 4 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/grid_watch/__init__.py#L1-L4 - Page: https://code.globalgrid2050.com/explore-code/s/0783.html#f4 - Synopsis: A Python module in the automation folder of GlobalGrid2050. - What it achieves (comment): Offline UK operator-source evidence adapter (review only). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Test Grid Watch (globalgrid2050). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 1; mentioned by 0 ### Adapter - File: globalgrid2050/automation/news/grid_watch/adapter.py (Python, 146 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/grid_watch/adapter.py#L1-L146 - Page: https://code.globalgrid2050.com/explore-code/s/0784.html#f1 - Synopsis: A Python module in the grid watch folder of GlobalGrid2050 that builds grid rows (`build_grid_rows`) (units: MW, MVA), using SHA-256. - What it achieves (comment): It is built from the canonical step (`canonical`) and the normalise step (`normalise`). Conservative UK electricity-grid evidence adapter for Pipeline News. - What it does: It calculates its inputs. Defines 6 functions or classes, including canonical, _timestamp, _text, _source_url, normalise. Uses libraries __future__, datetime, hashlib, json, re. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: News — Grid Watch (globalgrid2050); Government V938 (globalgrid2050). Reached from 6 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050). - Signatures: `canonical(value)`; `_timestamp(value, *, required=False)`; `_text(value, label, *, optional=False)`; `_source_url(value, hostname)`; `normalise(record, sources)`; `build_grid_rows(records, sources)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Government V938 - File: globalgrid2050/automation/news/grid_watch/government_v938.py (Python, 226 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/grid_watch/government_v938.py#L1-L226 - Page: https://code.globalgrid2050.com/explore-code/s/0784.html#f2 - Synopsis: A Python module in the grid watch folder of GlobalGrid2050 that builds grid rows (`build_grid_rows`) (units: MW), using SHA-256. - What it achieves (comment): It is built from the normalise step (`normalise`) and the reviewed government notice helper (`reviewed_government_notice`). V9.38 additive government-fact extension of the immutable operator adapter. - What it does: It calculates its inputs. Defines _day, _government_receipt, normalise, build_grid_rows, reviewed_government_notice. Uses libraries __future__, datetime, hashlib, re. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Test Grid Government V938 (globalgrid2050). Reached from 3 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `_day(value, label)`; `_government_receipt(record, source, url, retrieved)`; `normalise(record, sources)`; `build_grid_rows(records, sources)`; `reviewed_government_notice(rows, approval=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 1; mentioned by 0 ### Names - File: globalgrid2050/automation/news/names.py (Python, 214 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/names.py#L1-L214 - Page: https://code.globalgrid2050.com/explore-code/s/0784.html#f3 - Synopsis: A Python module in the news folder of GlobalGrid2050 that works with solar, wind, battery storage (BESS) and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It is built from the clean step (`clean`), the norm step (`norm`) and the padded step (`padded`). One shared name normalisation for events, binder and relevance. - What it does: It calculates solar, wind, battery storage (BESS) and the REPD register. Defines 16 functions or classes, including clean, norm, padded, contains_phrase, phrase_spans. Uses libraries __future__, re. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind, battery storage (BESS), the REPD register. - Downstream impact: Used directly by 5 files: Binder (globalgrid2050); Events (globalgrid2050); Pipeline Headlines (globalgrid2050); Relevance (globalgrid2050); and 1 more. Reached from 25 other entry points, including GlobalGrid2050 Agent7 V922 CI Workflow (globalgrid2050); GlobalGrid2050 Pipeline Headlines Workflow (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050). - Signatures: `clean(value)`; `norm(value)`; `padded(value)`; `contains_phrase(padded_text: str, phrase: str)`; `phrase_spans(padded_text: str, phrase: str)`; `_strip_boilerplate(tokens: list[str])`; `_stem_of(segment: str)`; `segments(site_name)`; `distinctive_stem(site_name)`; `name_aliases(site_name)`; `descriptor_adjacent(padded_text: str, stem: str)`; `tech_context(padded_text: str)`; `tech_family(repd_technology)`; `operator_key(value)`; `operator_tokens(value)`; `site_display(site_name)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### News Algorithm - File: globalgrid2050/automation/news/news_algorithm.py (Python, 238 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/news_algorithm.py#L1-L238 - Page: https://code.globalgrid2050.com/explore-code/s/0785.html#f1 - Synopsis: A Python module in the automation folder of GlobalGrid2050 that ranks headlines (`rank_headlines`), using SHA-256. It is built from the public URL helper (`public_url`) and the key step (`key`). - What it achieves (comment): Deterministic headline selection; no collection, project binding or publication. - What it does: It calculates its inputs. Defines 9 functions or classes, including _under, public_url, _clock, _publication, _policies. Uses libraries __future__, copy, datetime, hashlib, ipaddress. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 4 files: Build News Priority (globalgrid2050); Compare Legacy Collector (globalgrid2050); Test Cop31 Climate Priority (globalgrid2050); Test News Algorithm (globalgrid2050). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Headlines Workflow (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `_under(host, suffix)`; `public_url(value)`; `_clock(value)`; `_publication(raw, as_of)`; `_policies(policies)`; `_originality(reviews)`; `_source(host, policy)`; `rank_headlines(items, *, as_of, source_policies=(), originality=(), diversity_penalty=8)`; `key(item)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Pipeline Headlines - File: globalgrid2050/automation/news/pipeline_headlines.py (Python, 788 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/pipeline_headlines.py#L1-L788 - Page: https://code.globalgrid2050.com/explore-code/s/0785.html#f2 - Synopsis: A Python command-line tool in the news folder of GlobalGrid2050 that fetches pipeline feeds, the Renewable Energy Planning Database (REPD) register, solar and wind, using SHA-256. - What it achieves (comment): It loads feeds (`load_feeds`) and is built from the excluded publisher helper (`excluded_publisher`) and the climate policy priority helper (`climate_policy_priority`). Fresh UK renewables, storage, grid and data-centre headlines for Pipeline News. It accepts `--out`, `--feeds` and `--repd`. - What it does: It fetches pipeline feeds, the REPD register, solar and wind. Defines 32 functions or classes, including excluded_publisher, _rx, climate_policy_priority, lane_label, topics_of. Uses libraries __future__, argparse, csv, datetime, io. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind. - Inputs & outputs: In: JSON file pipeline_headlines.json; JSON file pipeline_feeds.json; command-line arguments. - Downstream impact: Used directly by 9 files: News Algorithm (globalgrid2050); Trade (globalgrid2050); Compare Legacy Collector (globalgrid2050); Test Agent7 Dedupe Regressions (globalgrid2050); and 5 more. Reached from 8 other entry points, including GlobalGrid2050 Agent7 V922 CI Workflow (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `excluded_publisher(source, link="")`; `_rx(pattern)`; `climate_policy_priority(title)`; `lane_label(title, lane, focus=None)`; `topics_of(title)`; `technology_of(title)`; `category_of(title, topics=None)`; `class Repd`; `__init__(self, rows=())`; `load(cls, path)`; `match(self, title)`; `_name_segments(parts)`; `_authority(value)`; `_agreement(row, rest, families)`; `newest_repd_csv(root)`; `is_uk(title, repd)`; `label(title, repd)`; `priority_label(title, summary, repd)`; `load_feeds(path)`; `collect(feeds, fetch, repd, now_iso)`; `_shift(iso, days)`; `when(item)`; `title_key(title)`; `_publisher_day(item)`; `_project_ref(item)` (and 7 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pipeline_headlines.json; JSON file pipeline_feeds.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 9; mentioned by 0 ### News — Policy Commitments - File: globalgrid2050/automation/news/policy_commitments/__init__.py (Python, 1 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/policy_commitments/__init__.py#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/0786.html#f2 - Synopsis: A Python module in the automation folder of GlobalGrid2050. - What it achieves (comment): Offline, provisional policy commitment and attributable evidence ledger. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 3 files: Build Transition Context (globalgrid2050); Test Policy Commitments (globalgrid2050); Test Transition Context (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Ledger - File: globalgrid2050/automation/news/policy_commitments/ledger.py (Python, 355 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/policy_commitments/ledger.py#L1-L355 - Page: https://code.globalgrid2050.com/explore-code/s/0786.html#f3 - Synopsis: A Python command-line tool in the policy commitments folder of GlobalGrid2050 that works with dumps report (`dumps_report`) and CSV report (`csv_report`), using SHA-256. - What it achieves (comment): It is built from the require step (`require`), the fields step (`fields`) and the choice step (`choice`). COVENANT AGENT: deterministic source-led comparison, never legal compliance. It accepts `--ledger`, `--as-of` and `--format`. - What it does: Defines 13 functions or classes, including require, fields, choice, strings, index. Uses libraries __future__, argparse, copy, csv, decimal. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file sample_ledger.json; command-line arguments. - Downstream impact: Used directly by 3 files: Build Transition Context (globalgrid2050); Test Policy Commitments (globalgrid2050); Test Transition Context (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `require(condition, message)`; `fields(value, names, label)`; `choice(value, choices, label)`; `strings(value, label, *, empty=True)`; `index(rows, label)`; `reference(value, documents)`; `quantity(value, documents, scope)`; `validate_ledger(payload)`; `incompatibilities(target, measured)`; `evaluate(payload, *, as_of)`; `dumps_report(report)`; `csv_report(report)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file sample_ledger.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Adapter - File: globalgrid2050/automation/news/prospecting-ui/adapter.mjs (JavaScript, 90 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/prospecting-ui/adapter.mjs#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/0787.html#f1 - Published at: https://globalgrid2050.com/automation/news/prospecting-ui/ - Synopsis: A JavaScript module in the prospecting ui folder of GlobalGrid2050 that validates triage (`validateTriage`), parses artifact (`parseArtifact`) and selects records (`selectRecords`), using SHA-256. Served with the page at https://globalgrid2050.com/automation/news/prospecting-ui/. - What it achieves (comment): It validates triage (`validateTriage`), parses artifact (`parseArtifact`) and selects records (`selectRecords`). Bounded consumer for the V9.26 research-triage proposal. - What it does: It lists and searches its content. Defines 15 functions or classes, including require, text, number, integer, hash. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 3 files: Bundle (globalgrid2050, https://globalgrid2050.com/automation/news/prospecting-ui/); Prototype (globalgrid2050, https://globalgrid2050.com/automation/news/prospecting-ui/); Browser (globalgrid2050). Reached from 3 other entry points, including News — Prospecting UI Page (globalgrid2050, https://globalgrid2050.com/automation/news/prospecting-ui/); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); Bundle Test (globalgrid2050). - Signatures: `export safeSourceURL(value)`; `export validateTriage(payload)`; `export parseArtifact(bytes,expectedSHA256)`; `export selectRecords(model,{recordType='renewable_project',query='',sort='priority'}={})`; `require(value,message)`; `text(value,label,nullable=false)`; `number(value,label)`; `integer(value,label)`; `hash(value)`; `moment(value)`; `past(value,asOf)`; `freshness(value,asOf,windowDays,calendar=false)`; `age(reference-when)`; `access(value,asOf)`; `evidence(article,asOf)`; `candidate(row,index,asOf)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 1 ### Bundle - File: globalgrid2050/automation/news/prospecting-ui/bundle.mjs (JavaScript, 48 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/prospecting-ui/bundle.mjs#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0787.html#f2 - Published at: https://globalgrid2050.com/automation/news/prospecting-ui/ - Synopsis: A JavaScript module in the prospecting ui folder of GlobalGrid2050 that draws priority and the Renewable Energy Planning Database (REPD) register, using SHA-256. Served with the page at https://globalgrid2050.com/automation/news/prospecting-ui/. - What it achieves (comment): It parses priority bundle (`parsePriorityBundle`) and attaches project priority (`attachProjectPriority`). Source-bound successor adapter. Never replaces official table rows or exports. - What it does: It draws priority and the REPD register. Defines require, digest, ids, parsePriorityBundle, attachProjectPriority. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file priority.json. - Downstream impact: Used directly by 3 files: Bundle Test (globalgrid2050); Register Browser (globalgrid2050); Research Priority V927 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050). - Signatures: `export parsePriorityBundle(priorityBytes,manifestBytes,expectedManifestSHA256)`; `export attachProjectPriority(host,projectId,bundle)`; `require(value,message)`; `digest(bytes)`; `ids(values,pattern,count)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file priority.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 3; mentioned by 0 ### News — Prospecting UI Page - File: globalgrid2050/automation/news/prospecting-ui/index.html (HTML, 19 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/prospecting-ui/index.html#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/0787.html#f3 - Published at: https://globalgrid2050.com/automation/news/prospecting-ui/ - Synopsis: A web page in the automation folder of GlobalGrid2050 that reads inputs for artifact and sort. Published at https://globalgrid2050.com/automation/news/prospecting-ui/. - What it achieves (comment): Local review prototype. - What it does: It draws its content. Uses libraries prototype.css. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`index.html` is an isolated review shell with a local JSON file input." - Inputs & outputs: In: user-supplied file (file picker); form fields (user input). Out: web page. - Downstream impact: Used directly by 1 file: Browser (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/automation/news/prospecting-ui/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker); form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 1; mentioned by 0 ### Inline - File: globalgrid2050/automation/news/prospecting-ui/inline.css (CSS, 10 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/prospecting-ui/inline.css#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/0787.html#f4 - Published at: https://globalgrid2050.com/automation/news/prospecting-ui/ - Synopsis: A style sheet in the prospecting ui folder of GlobalGrid2050. Served with the page at https://globalgrid2050.com/automation/news/prospecting-ui/. - What it achieves (comment): Additive project-detail styling only; existing table, actions and CSV unchanged. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Prototype - File: globalgrid2050/automation/news/prospecting-ui/prototype.mjs (JavaScript, 15 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/prospecting-ui/prototype.mjs#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/0787.html#f5 - Published at: https://globalgrid2050.com/automation/news/prospecting-ui/ - Synopsis: A JavaScript module in the prospecting ui folder of GlobalGrid2050. Served with the page at https://globalgrid2050.com/automation/news/prospecting-ui/. - What it achieves (name): Defines `render` and `activate`. It responds to change, click and keydown events. - What it does: Defines render, activate. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: News — Prospecting UI Page (globalgrid2050, https://globalgrid2050.com/automation/news/prospecting-ui/). It is itself an entry point, published at https://globalgrid2050.com/automation/news/prospecting-ui/. - Signatures: `render()`; `activate(tab)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Adapter Test - File: globalgrid2050/automation/news/prospecting-ui/tests/adapter.test.mjs (JavaScript, 32 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/prospecting-ui/tests/adapter.test.mjs#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/0787.html#f6 - Synopsis: A test in the tests folder of GlobalGrid2050 that uses SHA-256. - What it does: It tests its inputs. Uses libraries node:test. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Browser - File: globalgrid2050/automation/news/prospecting-ui/tests/browser.mjs (JavaScript, 45 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/prospecting-ui/tests/browser.mjs#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0787.html#f7 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests synthetic only, generated local review and invalid only. - What it achieves (comment): Isolated test server and installed Chrome; does not alter the release harness. - What it does: It tests synthetic only, generated local review and invalid only. Uses libraries node:http. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file SYNTHETIC-TEST-ONLY.json; JSON file generated-local-review.json; JSON file INVALID-TEST-ONLY.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file SYNTHETIC-TEST-ONLY.json; JSON file generated-local-review.json; JSON file INVALID-TEST-ONLY.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, url-import-meta 1); used by 0; mentioned by 0 ### Bundle Test - File: globalgrid2050/automation/news/prospecting-ui/tests/bundle.test.mjs (JavaScript, 27 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/prospecting-ui/tests/bundle.test.mjs#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0787.html#f8 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Bundle, using SHA-256. - What it achieves (name): Defines `bytes` and `sha`. - What it does: It tests its inputs. Defines bytes, sha. Uses libraries node:test, node:assert/strict, node:child_process, node:crypto, node:url. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file priority.json; CSV file priority.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050). - Signatures: `bytes(value)`; `sha(value)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file priority.json; CSV file priority.csv]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Register Browser - File: globalgrid2050/automation/news/prospecting-ui/tests/register-browser.mjs (JavaScript, 57 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/prospecting-ui/tests/register-browser.mjs#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0787.html#f9 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests priority and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): Genuine installed Chrome against the existing 7,775-row page; no release edits. - What it does: It tests priority and the REPD register. Uses libraries node:assert/strict, node:fs/promises, node:crypto, node:path. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file priority.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file priority.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, dynamic-import 1); used by 0; mentioned by 0 ### View - File: globalgrid2050/automation/news/prospecting-ui/view.mjs (JavaScript, 25 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/prospecting-ui/view.mjs#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/0787.html#f10 - Published at: https://globalgrid2050.com/automation/news/prospecting-ui/ - Synopsis: A JavaScript module in the prospecting ui folder of GlobalGrid2050 that renders priority (`renderPriority`) and attaches priority (`attachPriority`) (units: MW). Served with the page at https://globalgrid2050.com/automation/news/prospecting-ui/. - What it achieves (comment): It renders priority (`renderPriority`), attaches priority (`attachPriority`) and renders review rows (`renderReviewRows`). Safe DOM renderer; append compact details inside an existing project row. - What it does: It draws its content. Defines 6 functions or classes, including node, link, clockLabel, renderPriority, attachPriority. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: Bundle (globalgrid2050, https://globalgrid2050.com/automation/news/prospecting-ui/); Prototype (globalgrid2050, https://globalgrid2050.com/automation/news/prospecting-ui/). Reached from 3 other entry points, including News — Prospecting UI Page (globalgrid2050, https://globalgrid2050.com/automation/news/prospecting-ui/); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); Bundle Test (globalgrid2050). - Signatures: `export renderPriority(row,asOf)`; `export attachPriority(host,row,asOf)`; `export renderReviewRows(host,rows,asOf)`; `node(tag,text,className)`; `link(label,url)`; `clockLabel(value)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Prospecting - File: globalgrid2050/automation/news/prospecting.py (Python, 398 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/prospecting.py#L1-L398 - Page: https://code.globalgrid2050.com/explore-code/s/0788.html#f1 - Synopsis: A Python command-line tool in the news folder of GlobalGrid2050 that opens access (`open_access`) (units: MW), covering the Renewable Energy Planning Database (REPD) register and solar, using SHA-256. - What it achieves (comment): It is built from the require step (`require`), the public URL helper (`public_url`) and the text step (`text`). Offline V9.26 research triage proposal; never a collector or event generator. It reads `data/v9.1/build_manifest.json`. It accepts `--as-of`, `--out` and `--limit`. - What it does: Defines 17 functions or classes, including require, public_url, text, digest, pinned. Uses libraries __future__, argparse, datetime, hashlib, ipaddress. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: JSON file build_manifest.json; command-line arguments. - Downstream impact: Used directly by 2 files: Build Prospecting Priority (globalgrid2050); Test Prospecting (globalgrid2050). Reached from 3 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); Test Prospecting Export (globalgrid2050). - Signatures: `require(condition, message)`; `public_url(value)`; `text(value, label)`; `digest(value)`; `pinned(spec)`; `clock(value, as_of)`; `freshness(value, as_of, days, basis, calendar=False)`; `capacity(value)`; `open_access(receipt, reference)`; `research_policy_fields(record)`; `official(repo_root)`; `evidence_input(spec, seed_ids, as_of)`; `component(name, points, maximum, basis)`; `official_candidate(row, source, research, as_of)`; `dc_input(spec, as_of)`; `build(*, as_of, limit=200, evidence=None, datacentres=None, repo_root=None, record_type=None)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 2; mentioned by 0 ### Relevance - File: globalgrid2050/automation/news/relevance.py (Python, 472 lines) · role energy-data · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/relevance.py#L1-L472 - Page: https://code.globalgrid2050.com/explore-code/s/0789.html#f1 - Synopsis: A Python module in the news folder of GlobalGrid2050 that reads Renewable Energy Planning Database (REPD) datacentre proximity solar, REPD datacentre proximity battery and REPD datacentre proximity wind, using SHA-256. - What it achieves (comment): It scores event (`score_event`), ranks events (`rank_events`) and classifies article event (`classify_article_event`). Transparent, additive relevance score for REPD events and articles. Its code works with 0 MW. - What it does: It loads REPD datacentre proximity solar, REPD datacentre proximity battery, REPD datacentre proximity wind and the REPD register. Defines 24 functions or classes, including profile_sha256, max_possible, _c, capacity_component, stage_component. Uses libraries __future__, hashlib, json, math, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file datacentre_proximity.json; JSON file repd_datacentre_proximity_solar.json; JSON file repd_datacentre_proximity_battery.json; JSON file repd_datacentre_proximity_wind.json. - Downstream impact: Used directly by 2 files: Binder (globalgrid2050); Prospecting (globalgrid2050). Reached from 6 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); Build Prospecting Priority (globalgrid2050). - Signatures: `profile_sha256(profile: dict = DEFAULT_PROFILE)`; `max_possible(profile: dict = DEFAULT_PROFILE, article: bool = False)`; `_c(name, points, maximum, basis, **extra)`; `capacity_component(mw, p=DEFAULT_PROFILE, label="capacity")`; `stage_component(etype, p=DEFAULT_PROFILE)`; `technology_component(tech, p=DEFAULT_PROFILE)`; `recency_component(event_date, reference: date, p=DEFAULT_PROFILE, source=None)`; `national_route_component(authority, p=DEFAULT_PROFILE)`; `datacentre_component(ctx, p=DEFAULT_PROFILE)`; `novelty_component(ref, etype, previous, p=DEFAULT_PROFILE, event_id=None, sibling_refs=())`; `evidence_component(tier, p=DEFAULT_PROFILE, basis=None)`; `colocated_component(coloc_ref, p=DEFAULT_PROFILE)`; `_total(components, article=False, p=DEFAULT_PROFILE)`; `score_event(ev: dict, reference: date, dc_index=None, previous=None, p=DEFAULT_PROFILE)`; `rank_events(events: list, reference: date, dc_index=None, previous=None, p=DEFAULT_PROFILE)`; `top_events(ranked: list, n: int = 50)`; `classify_article_event(text: str)`; `evidence_tier_of(source: str, source_url: str)`; `corroboration(article_event: str, project: dict | None, release_events_by_ref: dict | None, p=DEFAULT_PROFILE)`; `score_article(article: dict, binding: dict, project: dict | None, reference: date, dc_index=None, previous=None, release_events_by_...)`; `sha256_file(path)`; `load_previous_feed(path)`; `load_datacentre_index(convergence_dir)`; `convergence_inputs(convergence_dir)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file datacentre_proximity.json; JSON file repd_datacentre_proximity_solar.json; JSON file repd_datacentre_proximity_battery.json; JSON file repd_datacentre_proximity_wind.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Research Indexes - File: globalgrid2050/automation/news/research_indexes.py (Python, 105 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/research_indexes.py#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/0789.html#f2 - Synopsis: A Python module in the news folder of GlobalGrid2050 that works with index entries (`index_entries`) and rss1 entries (`rss1_entries`). - What it achieves (comment): It is built from the handle starttag helper (`handle_starttag`), the handle data helper (`handle_data`) and the handle endtag helper (`handle_endtag`). Bounded English-language institutional research index discovery. - What it does: It calculates its inputs. Defines 7 functions or classes, including _Anchors, __init__, handle_starttag, handle_data, handle_endtag. Uses libraries html.parser, urllib.parse, xml.etree.ElementTree. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: Pipeline Headlines (globalgrid2050); Test Research Context (globalgrid2050). Reached from 15 other entry points, including GlobalGrid2050 Agent7 V922 CI Workflow (globalgrid2050); GlobalGrid2050 Pipeline Headlines Workflow (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050). - Signatures: `class _Anchors`; `__init__(self)`; `handle_starttag(self, tag, attrs)`; `handle_data(self, data)`; `handle_endtag(self, tag)`; `index_entries(body, feed)`; `rss1_entries(body)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Combine - File: globalgrid2050/automation/news/signals/combine.py (Python, 1077 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/signals/combine.py#L1-L1077 - Page: https://code.globalgrid2050.com/explore-code/s/0790.html#f1 - Synopsis: A Python command-line tool in the signals folder of GlobalGrid2050 that reads reviewed signals, top200 solar, aliases and exclusions. - What it achieves (comment): It reads JSON (`read_json`), parses date (`parse_date`) and cleans planning file (`clean_planning_file`). Part files and the planning files become one file. It accepts `--top200`, `--aliases` and `--exclusions`. - What it does: It loads reviewed signals, top200 solar, aliases and exclusions. Defines 45 functions or classes, including now_utc, read_json, _host_in, _excluded, _norm. Uses libraries __future__, argparse, datetime, json, re. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file reviewed_signals.json; JSON file top200_solar.json; JSON file aliases.json; JSON file exclusions.json; JSON file alias_standings.json; JSON file index_ground_truth.json; JSON file project_signals.json; command-line arguments. - Downstream impact: Used directly by 1 file: News — Signals (globalgrid2050). - Signatures: `now_utc()`; `read_json(path)`; `_host_in(link, hosts)`; `_excluded(link)`; `_norm(text)`; `phrase_in(phrase, text)`; `title_key(title)`; `is_reviewed(item)`; `parse_date(value, today)`; `freshness(date, today)`; `tier_of(family, date, today)`; `event_of(title)`; `order_key(item)`; `alias_standing(entry, recommended=None)`; `alias_words(alias)`; `needs_second_term(alias)`; `agreeing_terms(row, entry)`; `names_project(title, entry, row)`; `second_term_ok(title, entry, row, weak=None)`; `exclusion_reason(item, rules)`; `clean_item(raw, team, today=None, collected_at=None, as_of=None)`; `link_key(link)`; `dedupe(items)`; `_citation(item)`; `cluster(ref, items)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file reviewed_signals.json; JSON file top200_solar.json; JSON file aliases.json; JSON file exclusions.json; JSON file alias_standings.json; JSON file index_ground_truth.json; JSON file project_signals.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Dates - File: globalgrid2050/automation/news/signals/dates.py (Python, 101 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/signals/dates.py#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/0791.html#f2 - Synopsis: A Python module in the signals folder of GlobalGrid2050 that works with URL day (`url_day`) and URL year (`url_year`). It is built from the day step (`day`). - What it achieves (comment): Project signals: one date rule shared by the three collectors and the combiner. - What it does: It calculates its inputs. Defines _make, day, url_day, url_year. Uses libraries __future__, datetime, re. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 5 files: Datacentre Feed (globalgrid2050); Combine (globalgrid2050); News — Signals (globalgrid2050); Official (globalgrid2050); and 1 more. Reached from 22 other entry points, including GlobalGrid2050 Agent7 V922 CI Workflow (globalgrid2050); GlobalGrid2050 Datacentre News Workflow (globalgrid2050); GlobalGrid2050 Pipeline Headlines Workflow (globalgrid2050). - Signatures: `_make(year, month, day_, today=None)`; `day(value, today=None, month_first=False)`; `url_day(link, today=None)`; `url_year(link, today=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Gate - File: globalgrid2050/automation/news/signals/gate.py (Python, 383 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/signals/gate.py#L1-L383 - Page: https://code.globalgrid2050.com/explore-code/s/0792.html#f1 - Synopsis: A Python module in the signals folder of GlobalGrid2050 that reads top200 solar, aliases, exclusions and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It is built from the core of helper (`core_of`), the inverted solar place helper (`inverted_solar_place`) and the is weak core helper (`is_weak_core`). Project signals: one title gate shared by the three collectors and the combiner. - What it does: It loads top200 solar, aliases, exclusions and the REPD register. Defines 13 functions or classes, including _norm, _has, core_of, inverted_solar_place, is_weak_core. Uses libraries __future__, json, re, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file top200_solar.json; JSON file aliases.json; JSON file exclusions.json. - Downstream impact: Used directly by 4 files: Combine (globalgrid2050); News — Signals (globalgrid2050); Official (globalgrid2050); Trade (globalgrid2050). Reached from 8 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Project Signals Official Workflow (globalgrid2050). - Signatures: `_norm(text)`; `_has(phrase, text_norm)`; `core_of(alias)`; `inverted_solar_place(title, record)`; `is_weak_core(core)`; `named_development_candidate(title, project)`; `table()`; `load(name)`; `project_of(row, entry=None, rules=None)`; `field(key)`; `judge(ref, title, project=None, official=False)`; `for_record(record)`; `gated(record, title, found, official=False)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file top200_solar.json; JSON file aliases.json; JSON file exclusions.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### News — Signals - File: globalgrid2050/automation/news/signals/index.py (Python, 932 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/signals/index.py#L1-L932 - Page: https://code.globalgrid2050.com/explore-code/s/0793.html#f1 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that fetches project signals, top200 solar, aliases and ground truth. - What it achieves (comment): It cleans site name (`clean_site_name`), loads projects (`load_projects`) and fetches feed (`fetch_feed`). Project signals, part "index": BBC News RSS, the Guardian's RSS by tag and the GDELT DOC 2.0 API. It accepts `--out`, `--top200` and `--aliases`. - What it does: It fetches project signals, top200 solar, aliases and ground truth. Defines 40 functions or classes, including scrub, clean_site_name, core_name, phrase_rx, load_projects. Uses libraries __future__, argparse, datetime, json, re. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file project_signals_index.json; JSON file top200_solar.json; JSON file aliases.json; JSON file index_ground_truth.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `scrub(text)`; `clean_site_name(site_name)`; `core_name(alias)`; `phrase_rx(phrase)`; `load_projects(top200_path, aliases_path)`; `match_item(project, title, summary="", county_feed=False)`; `_match_item(project, title, summary="", county_feed=False)`; `domain_of(link)`; `_under(host, domain)`; `is_excluded(link)`; `publisher_of(link)`; `make_item(project, title, link, date, publisher, family, strength, basis, where)`; `bbc_feeds(projects)`; `class Throttle`; `__init__(self, interval=1.0, sleep=time.sleep, clock=time.monotonic)`; `wait(self, host, interval=None)`; `fetch_feed(url)`; `collect_rss(feeds, projects, fetch, publisher, family, where, throttle=None)`; `source_record(source_id, url, health)`; `gdelt_phrase(project, index=0)`; `gdelt_query(phrase, scope="uk")`; `gdelt_url(query, window, now_iso)`; `fetch_gdelt(url)`; `parse_gdelt(text)`; `class Gdelt` (and 14 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file project_signals_index.json; JSON file top200_solar.json; JSON file aliases.json; JSON file index_ground_truth.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Official - File: globalgrid2050/automation/news/signals/official.py (Python, 730 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/signals/official.py#L1-L730 - Page: https://code.globalgrid2050.com/explore-code/s/0794.html#f2 - Synopsis: A Python command-line tool in the signals folder of GlobalGrid2050 that fetches search, top200 solar, aliases and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It fetches error (`FetchError`), closes health (`close_health`) and loads projects (`load_projects`). Official-source signals for the 200 largest solar projects in the REPD (team "official"). It accepts `--out`, `--probe` and `--discover`. - What it does: It fetches search, top200 solar, aliases and the REPD register. Defines 43 functions or classes, including now_utc, FetchError, __init__, _completed_context, _incomplete_chain. Uses libraries __future__, argparse, csv, datetime, io. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file search.json; JSON file top200_solar.json; JSON file aliases.json; command-line arguments. - Downstream impact: Used directly by 4 files: Planning File (globalgrid2050); Test Signals Official (globalgrid2050); Test Signals Planning File (globalgrid2050); GlobalGrid2050 Project Signals Official Workflow (globalgrid2050). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); Combine (globalgrid2050). - Signatures: `now_utc()`; `class FetchError`; `__init__(self, message, status=None)`; `_completed_context(host, opener=urllib.request.urlopen)`; `_incomplete_chain(exc)`; `_open(url, accept)`; `class Fetcher`; `_wait(self, host)`; `get(self, url, accept="*/*")`; `health(source_id, url)`; `close_health(record)`; `load_projects(top_path=None, alias_path=None)`; `derive_alias(site_name)`; `_norm(text)`; `phrase_in(phrase, text)`; `alias_core(alias)`; `_facts(project)`; `match(project, title, summary="")`; `_match(project, title, summary="")`; `item(project, title, link, publisher, date, basis, confidence)`; `parse_day(value)`; `parse_pins_csv(body)`; `col(*needles)`; `_milestone(label)`; `pins_lookup(project, rows)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file search.json; JSON file top200_solar.json; JSON file aliases.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 2, sys-path 1); used by 4; mentioned by 0 ### Planning File - File: globalgrid2050/automation/news/signals/planning_file.py (Python, 323 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/signals/planning_file.py#L1-L323 - Page: https://code.globalgrid2050.com/explore-code/s/0795.html#f2 - Synopsis: A Python command-line tool in the signals folder of GlobalGrid2050 that reads planning registers and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It loads registers (`load_registers`), searches page (`search_page`) and registers check (`register_check`). The planning-file fallback for the 200 largest solar projects in the REPD. It accepts `--out`, `--probe` and `--verify`. - What it does: It loads planning registers and the REPD register. Defines 13 functions or classes, including load_registers, _specific, _reference_forms, search_page, planning_file_for. Uses libraries __future__, argparse, json, re, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (path word 'planning'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file planning_registers.json; command-line arguments. - Downstream impact: Used directly by 3 files: Combine (globalgrid2050); Test Signals Planning File (globalgrid2050); GlobalGrid2050 Project Signals Official Workflow (globalgrid2050). Reached from 3 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); News — Signals (globalgrid2050). - Signatures: `load_registers(path=None)`; `_specific(url, register)`; `_reference_forms(ref)`; `search_page(register, authority, reference, why="")`; `planning_file_for(project, registers=None)`; `made(kind, url, auth, ref, note="", verified=False)`; `_check(fetcher, url, cache)`; `verify(projects, fetcher, registers=None)`; `register_check(authority)`; `counts_of(files, total)`; `build(projects, files, register_records, now_iso, verified_run)`; `probe_report(projects, files, register_records, now_iso, official=None)`; `main(argv=None)` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file planning_registers.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Test Combine - File: globalgrid2050/automation/news/signals/tests/test_combine.py (Python, 489 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/signals/tests/test_combine.py#L1-L489 - Page: https://code.globalgrid2050.com/explore-code/s/0796.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050. It is built from the everything step (`everything`). - What it achieves (name): Defines `item`, `part`, `run` and 23 more. Its code works with 450 MW, 840 MW and 49.99 MW. - What it does: It tests its inputs. Defines 26 functions or classes, including item, part, run, everything, test_no_parts_every_project_has_a_planning_file_labelled_as_what_it_is. Uses libraries __future__, copy, json, sys, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file exclusions.json; JSON file alias_standings.json; JSON file top.json; JSON file aliases.json; JSON file trade.json; JSON file previous.json; JSON file project_signals.json; JSON file none.json. Out: JSON file lost.json; JSON file trade.json; JSON file o.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `item(ref, n, family="trade", date="2026-11-01", confidence="confirmed", **more)`; `part(team, items, sources=None, at=NOW)`; `run(parts, previous=None, now=NOW, **more)`; `everything(project)`; `test_no_parts_every_project_has_a_planning_file_labelled_as_what_it_is()`; `test_tier_comes_from_the_date_and_family_not_from_how_the_item_arrived()`; `test_freshness_is_measured_from_the_run_not_from_collection()`; `test_impossible_and_future_dates_are_treated_as_undated()`; `test_newest_first_confidence_only_breaks_ties_undated_last()`; `test_a_recent_item_is_never_hidden_by_older_ones()`; `test_confidence_needs_recorded_alias_evidence()`; `test_one_word_alias_needs_a_second_agreeing_term()`; `test_bypass_9050_false_match_is_excluded_and_purged_from_carried_items()`; `test_committed_exclusions_cover_the_reported_cases()`; `test_link_on_several_projects_only_when_title_or_reviewer_names_each()`; `test_single_reviewed_wrong_project_is_not_confirmed_without_duplicate_link()`; `test_same_headline_on_distinct_historic_dates_is_not_one_event()`; `test_event_from_the_title_and_one_story_shown_once_with_its_sources()`; `test_a_fetched_item_replaces_the_reviewed_copy_and_same_headline_is_one_story()`; `test_failed_run_keeps_items_with_their_own_times_and_does_not_move_generated_at()`; `test_version_1_previous_file_is_read_for_carry_over_without_its_reviewed_items()`; `test_writer_refuses_a_bad_schema_and_a_sharp_drop(tmp_path)`; `test_main_writes_file_and_summary_with_counts_by_tier(tmp_path)`; `test_unchanged_failed_run_does_not_rewrite_the_file(tmp_path)`; `test_committed_reviewed_file_is_routed_by_date()` (and 1 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file exclusions.json; JSON file alias_standings.json; JSON file top.json; JSON file aliases.json; JSON file trade.json; JSON file previous.json; JSON file project_signals.json; JSON file none.json]; out [JSON file lost.json; JSON file trade.json; JSON file o.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Gate - File: globalgrid2050/automation/news/signals/tests/test_gate.py (Python, 258 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/signals/tests/test_gate.py#L1-L258 - Page: https://code.globalgrid2050.com/explore-code/s/0797.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050. - What it achieves (comment): Offline tests for the shared title gate (`gate.py`) and date rule (`dates.py`), through all three collectors. Its code works with 400 MW, 840 MW and 49.99 MW. - What it does: It tests its inputs. Defines 14 functions or classes, including test_gate_verdicts_on_the_plain_cases, test_no_false_headline_is_confirmed_by_the_gate_beyond_the_known_few, test_true_headlines_survive_the_gate, test_east_yorkshire_alias_is_not_a_wrong_county, test_weak_development_candidates_never_become_confirmed_from_place_or_developer_alone. Uses libraries __future__, datetime, json, sys, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file gate_cases.json; JSON file exclusions.json; JSON file aliases.json; JSON file top200_solar.json; JSON file alias_standings.json; JSON file reviewed_signals.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `test_gate_verdicts_on_the_plain_cases()`; `test_no_false_headline_is_confirmed_by_the_gate_beyond_the_known_few()`; `test_true_headlines_survive_the_gate()`; `test_east_yorkshire_alias_is_not_a_wrong_county()`; `test_weak_development_candidates_never_become_confirmed_from_place_or_developer_alone()`; `test_all_three_collectors_reject_the_false_headlines()`; `test_collectors_still_match_the_true_headlines()`; `test_combiner_purges_a_carried_false_match_and_keeps_reviewed_items()`; `test_shared_links_follow_the_reviewers_findings()`; `on(ref, needle)`; `test_link_key_recognises_copies_of_one_page()`; `test_one_date_rule_for_collectors_and_combiner()`; `test_year_is_kept_for_an_undated_item_when_the_link_or_the_reviewer_gives_it()`; `test_a_part_file_older_than_two_days_is_stale_not_ok()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file gate_cases.json; JSON file exclusions.json; JSON file aliases.json; JSON file top200_solar.json; JSON file alias_standings.json; JSON file reviewed_signals.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Index - File: globalgrid2050/automation/news/signals/tests/test_index.py (Python, 302 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/signals/tests/test_index.py#L1-L302 - Page: https://code.globalgrid2050.com/explore-code/s/0797.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050. It is built from the rss step (`rss`), the projects step (`projects`) and the fetch step (`fetch`). - What it achieves (comment): Offline tests for `automation/news/signals/index.py`. No network: feeds and GDELT answers are given in memory. Its code works with 400 MW. - What it does: It tests its inputs. Defines 23 functions or classes, including rss, projects, test_derived_alias_and_core_names, test_match_rule, test_bbc_feed_list_is_derived_from_the_counties. Uses libraries __future__, json, sys, pathlib, pytest. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file top.json; JSON file aliases.json; JSON file missing.json; JSON file top200_solar.json; JSON file part.json; JSON file cache.json; JSON file none.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `rss(*entries)`; `projects(tmp_path)`; `test_derived_alias_and_core_names(tmp_path, projects)`; `test_match_rule(projects)`; `test_bbc_feed_list_is_derived_from_the_counties(projects)`; `test_every_top200_county_has_a_bbc_feed()`; `test_collect_rss_reads_summary_but_never_stores_it(projects)`; `fetch(url)`; `test_excluded_sources_and_publishers()`; `test_gdelt_query_and_url(projects)`; `test_parse_gdelt()`; `gdelt_body(*arts)`; `test_gdelt_cache_rate_limit_and_rotation(projects)`; `test_gdelt_stops_politely_and_respects_the_cap(projects, monkeypatch)`; `test_gdelt_carries_on_after_one_refused_query(tmp_path)`; `test_gdelt_time_budget(projects)`; `test_gdelt_steps_down_when_a_window_is_not_allowed(projects)`; `test_tidy_dedupes_prefers_confirmed_and_caps(projects)`; `item(n, confidence="uncertain", date="2026-01-0%d")`; `test_main_offline_writes_the_contract_part(tmp_path, monkeypatch)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file top.json; JSON file aliases.json; JSON file missing.json; JSON file top200_solar.json; JSON file part.json; JSON file cache.json; JSON file none.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Trade - File: globalgrid2050/automation/news/signals/trade.py (Python, 1312 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/signals/trade.py#L1-L1312 - Page: https://code.globalgrid2050.com/explore-code/s/0798.html#f1 - Synopsis: A Python command-line tool in the signals folder of GlobalGrid2050 that fetches aliases, cache, solar and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It fetches URL (`fetch_url`), parses HTML results (`parse_html_results`) and parses results (`parse_results`). Trade-press signals for the 200 largest REPD solar projects (team "trade" of the project-signals contract). Its code works with 740 MW. It accepts `--out`, `--aliases` and `--cache`. - What it does: It fetches aliases, cache, solar and the REPD register. Defines 56 functions or classes, including now_utc, iso, Robots, __init__, _parse. Uses libraries __future__, argparse, datetime, json, re. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register. - Inputs & outputs: In: JSON file aliases.json; JSON file .cache.json; command-line arguments. - Downstream impact: Used directly by 2 files: Test Signals Trade (globalgrid2050); GlobalGrid2050 Project Signals Trade Workflow (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `now_utc()`; `iso(moment)`; `class Robots`; `__init__(self, text=None, blocked=False)`; `_parse(self, text)`; `_regex(pattern)`; `allowed(self, url)`; `class HttpError`; `fetch_url(url)`; `class Host`; `_wait(self, host, interval)`; `_robots(self, url)`; `spent(self)`; `get(self, url)`; `_valid_date(year, month, day)`; `day_of(value)`; `_tomorrow()`; `date_near(text)`; `parse_html_results(body, base)`; `parse_results(kind, body, base)`; `parse_sitemap(body)`; `html_unescape(value)`; `slug_words(text)`; `parse_article_head(body)`; `route_url(site, template, term)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file aliases.json; JSON file .cache.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 4 estate files (sys-path 2, import 2); used by 2; mentioned by 0 ### Acid Live - File: globalgrid2050/automation/news/tests/acid_live.py (Python, 371 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/acid_live.py#L1-L371 - Page: https://code.globalgrid2050.com/explore-code/s/0800.html#f1 - Synopsis: A Python command-line tool in the tests folder of GlobalGrid2050 that tests project signals, the Renewable Energy Planning Database (REPD) register and solar. - What it achieves (comment): It parses stamp (`parse_stamp`) and parses day (`parse_day`). Acid check of a published `dist/project_signals.json` (the real file, or one a test built). It accepts `--now`, `--summary` and `--source`. - What it does: It tests project signals, the REPD register and solar. Defines 11 functions or classes, including parse_stamp, parse_day, is_v2, lists_of, shown. Uses libraries __future__, argparse, datetime, json, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: JSON file project_signals.json; command-line arguments. - Downstream impact: Used directly by 2 files: Test Signals Acid (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Agent1 Producer Strict Workflow (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050). - Signatures: `parse_stamp(value)`; `parse_day(value)`; `is_v2(doc)`; `lists_of(project, v2=None)`; `shown(project)`; `tier_of(project)`; `_schema(doc, fail)`; `check(doc, now=None)`; `failures(doc, now=None)`; `report(results, doc, source="")`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file project_signals.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Acid Report - File: globalgrid2050/automation/news/tests/acid_report.py (Python, 122 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/acid_report.py#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/0800.html#f2 - Synopsis: A Python command-line tool in the tests folder of GlobalGrid2050 that reads suite (`read_suite`). It is built from the cell step (`cell`) and the table step (`table`). - What it achieves (comment): One table for all project-signals test suites, from the JUnit files pytest wrote. It accepts `--summary`, `--json` and `--commit`. - What it does: It tests its inputs. Defines read_suite, cell, table, main. Uses libraries __future__, argparse, json, sys, xml.etree.ElementTree. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 2 files: Test Signals Acid (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Agent1 Producer Strict Workflow (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050). - Signatures: `read_suite(path)`; `cell(text)`; `table(suites, commit="")`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Compare Legacy Collector - File: globalgrid2050/automation/news/tests/compare_legacy_collector.py (Python, 123 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/compare_legacy_collector.py#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0800.html#f3 - Synopsis: A Python command-line tool in the tests folder of GlobalGrid2050 that tests pipeline feeds, original feeds, Renewable Energy Planning Database (REPD) fixture and the REPD register. - What it achieves (comment): It runs once (`run_once`) and is built from the git step (`git`) and the ensure scope helper (`ensure_scope`). Fail-closed legacy replay and exact source guard for the BBC COP31 priority lane. It accepts `--base`. - What it does: It tests pipeline feeds, original feeds, REPD fixture and the REPD register. Defines git, ensure_scope, run_once, ensure_only_cop31_bbc_added, main. Uses libraries __future__, argparse, csv, json, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'legacy'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file pipeline_feeds.json; JSON file feeds.json; CSV file repd-fixture.csv; JSON file original_feeds.json; JSON file old.json; JSON file new.json; command-line arguments. Out: JSON file original_feeds.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pipeline Headlines Workflow (globalgrid2050). - Signatures: `git(*args: str)`; `ensure_scope(base: str)`; `run_once(script: Path, feeds: Path, fixtures: Path, repd: Path, dest: Path)`; `ensure_only_cop31_bbc_added(base: str)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pipeline_feeds.json; JSON file feeds.json; CSV file repd-fixture.csv; JSON file original_feeds.json; JSON file old.json; JSON file new.json; command-line arguments]; out [JSON file original_feeds.json]; crs []; voltages [] - Edges: uses 5 estate files (script-call 5); used by 1; mentioned by 0 ### Conftest - File: globalgrid2050/automation/news/tests/conftest.py (Python, 92 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/conftest.py#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/0801.html#f1 - Synopsis: A Python module in the tests folder of GlobalGrid2050 that tests prev, solar, wind and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It writes CSV (`write_csv`) and is built from the row step (`row`) and the releases step (`releases`). Shared fixtures for automation/news tests. Synthetic REPD releases; no network. It writes `prev.csv`. - What it does: It tests prev, solar, wind and the REPD register. Defines row, write_csv, releases. Uses libraries __future__, csv, sys, pathlib, pytest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind, the REPD register. - Inputs & outputs: In: CSV file prev.csv; CSV file new.csv. - Downstream impact: Used directly by 3 files: Test Binder (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `row(ref, site, tech, mw, status, *, operator="Example Energy Ltd", county="Lincolnshire", region="East Midlands", country...)`; `write_csv(path: Path, rows)`; `releases(tmp_path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file prev.csv; CSV file new.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### News Engine Acceptance Demo - File: globalgrid2050/automation/news/tests/news_engine_acceptance_demo.py (Python, 73 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/news_engine_acceptance_demo.py#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/0801.html#f2 - Synopsis: A Python command-line tool in the tests folder of GlobalGrid2050 that tests articles, sources, projects and solar. - What it achieves (comment): Synthetic OFFLINE CLI replay for Agent 3 independent acceptance. - What it does: It tests articles, sources, projects and solar. Defines main. Uses libraries __future__, json, pathlib, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file articles.json; JSON file sources.json; JSON file projects.json; JSON file out.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file articles.json; JSON file sources.json; JSON file projects.json; JSON file out.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Acquisition - File: globalgrid2050/automation/news/tests/test_acquisition.py (Python, 204 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_acquisition.py#L1-L204 - Page: https://code.globalgrid2050.com/explore-code/s/0801.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Fetch and Match, using SHA-256. - What it achieves (comment): It is built from the response class (`Response`), the iter content helper (`iter_content`) and the session class (`Session`). Network-free failure gates and identity regression tests for V9.25. - What it does: It tests the REPD register. Defines 30 functions or classes, including Response, __init__, __enter__, __exit__, iter_content. Uses libraries hashlib, json, socket, pathlib, pytest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `class Response`; `__init__(self, status=200, body=RSS, headers=None)`; `__enter__(self)`; `__exit__(self, *args)`; `iter_content(self, size)`; `class Session`; `get(self, url, **kwargs)`; `test_exact_unchanged_selection_and_all_repd_rows()`; `test_seed_tamper_is_fatal(tmp_path)`; `test_source_configuration_fail_closed(tmp_path, change)`; `test_duplicate_sources_rejected(tmp_path)`; `test_normalise_strips_html_separates_date_and_body()`; `test_missing_date_is_not_replaced_with_fetch_date()`; `test_fetch_receipt_and_conditional_request()`; `test_critical_source_failures_never_produce_success(response)`; `test_rights_unknown_disabled_by_default_and_probe_never_authorizes()`; `test_enabled_source_requires_attributable_rights_acceptance(tmp_path)`; `test_xml_entity_rejected()`; `test_strict_matching_rejects_bare_ids_partial_names_and_ambiguity()`; `test_content_match_and_idempotent_results()`; `test_ambiguity_outside_pilot_blocks_name_match_but_not_explicit_id()`; `test_private_dns_answer_rejected_before_connect(monkeypatch, address)`; `test_public_dns_address_is_connected_without_second_resolution(monkeypatch)`; `class FakeSocket`; `settimeout(self, value)` (and 4 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 2; mentioned by 0 ### Test Acquisition Analytics - File: globalgrid2050/automation/news/tests/test_acquisition_analytics.py (Python, 180 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_acquisition_analytics.py#L1-L180 - Page: https://code.globalgrid2050.com/explore-code/s/0801.html#f4 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Analytics and News — Acquisition, using SHA-256. - What it achieves (comment): It is built from the snapshot step (`snapshot`), the export step (`export`) and the bytes in helper (`bytes_in`). Full-row analytical closure and fail-closed immutable output checks. It reads `projects.parquet`. - What it does: It tests solar. Defines 14 functions or classes, including snapshot, export, bytes_in, test_full_seed_parquet_join_and_replay_preserve_operational_state, test_empty_evidence_keeps_typed_table_and_unknown_coordinates. Uses libraries copy, hashlib, json, pathlib, sys. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: Parquet file projects.parquet; Parquet file evidence.parquet; JSON file latest.json; Parquet file changed.parquet; Parquet file wrong-schema.parquet; DuckDB queries. Out: JSON file latest.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `snapshot()`; `export(tmp_path, snapshot)`; `bytes_in(directory)`; `test_full_seed_parquet_join_and_replay_preserve_operational_state(tmp_path, snapshot)`; `test_empty_evidence_keeps_typed_table_and_unknown_coordinates(tmp_path, snapshot)`; `test_invalid_source_fails_before_output(tmp_path, snapshot, mutation)`; `test_changed_source_same_generation_cannot_overwrite(tmp_path, snapshot)`; `test_artifact_tampering_rejected(tmp_path, snapshot, change)`; `test_recomputed_hash_cannot_hide_changed_parquet_values(tmp_path, snapshot)`; `test_failed_readback_leaves_no_partial_generation_or_pointer(tmp_path, snapshot, monkeypatch)`; `fail(*args, **kwargs)`; `test_output_path_with_quote_is_not_sql(tmp_path, snapshot)`; `test_fixed_payload_builds_identical_bytes_in_independent_directories(tmp_path, snapshot)`; `test_hash_repair_does_not_hide_wrong_column_type(tmp_path, snapshot)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [Parquet file projects.parquet; Parquet file evidence.parquet; JSON file latest.json; Parquet file changed.parquet; Parquet file wrong-schema.parquet; DuckDB queries]; out [JSON file latest.json]; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 2; mentioned by 0 ### Test Acquisition Run - File: globalgrid2050/automation/news/tests/test_acquisition_run.py (Python, 236 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_acquisition_run.py#L1-L236 - Page: https://code.globalgrid2050.com/explore-code/s/0802.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks News — Acquisition and News — Acquisition, using SHA-256. - What it achieves (comment): It is built from the frozen clock class (`FrozenClock`), the now step (`now`) and the setup step (`setup`). End-to-end candidate builds use explicit synthetic feed/rights fixtures only. - What it does: It tests its inputs. Defines 23 functions or classes, including FrozenClock, now, setup, fixture_fetcher, build. Uses libraries __future__, copy, datetime, hashlib, json. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file latest.json; JSON file report.json; SQLite database. Out: Parquet file partial-analytics.parquet. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `class FrozenClock`; `now(tz)`; `setup(tmp_path, monkeypatch)`; `fixture_fetcher(source, *, probe=False)`; `build(setup, **kwargs)`; `state_bytes(out)`; `test_real_seed_synthetic_feed_through_sqlite_and_all_exports(setup)`; `test_probe_returns_health_without_creating_or_changing_state(setup)`; `test_analytics_failure_preserves_accepted_database_snapshots_and_pointer(setup, monkeypatch)`; `fail_analytics(payload, out, **kwargs)`; `test_critical_fetch_failure_keeps_previous_state(setup)`; `failing_fetcher(*args, **kwargs)`; `test_schema_or_rights_failure_keeps_database_and_latest(setup, mutation)`; `invalid_fetcher(source, **kwargs)`; `test_export_validation_failure_does_not_commit_staged_database(setup, monkeypatch)`; `fail_export(*args, **kwargs)`; `test_changed_article_keeps_previous_database_and_pointer(setup)`; `changed_fetcher(source, **kwargs)`; `test_invalid_source_config_fails_before_fetch_or_output(setup, mutation)`; `unexpected_fetch(*args, **kwargs)`; `test_disabled_unknown_rights_source_only_allows_probe(setup)`; `test_cli_failure_report_is_redacted_and_requires_manual_review(tmp_path, monkeypatch, capsys)`; `fail_collect(*args, **kwargs)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file latest.json; JSON file report.json; SQLite database]; out [Parquet file partial-analytics.parquet]; crs []; voltages [] - Edges: uses 6 estate files (import 6); used by 2; mentioned by 0 ### Test Agent7 Dedupe Regressions - File: globalgrid2050/automation/news/tests/test_agent7_dedupe_regressions.py (Python, 61 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_agent7_dedupe_regressions.py#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/0802.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Pipeline Headlines. It is built from the item step (`item`). - What it achieves (comment): Agent 7 regressions: title similarity is not proof of article/event identity. - What it does: It tests solar. Defines 8 functions or classes, including item, test_same_title_distinct_years_retains_both, test_generic_same_title_different_repd_projects_retains_both, test_separate_decisions_same_project_retained, test_undated_same_title_separate_urls_retained. Uses libraries sys, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Agent7 V922 CI Workflow (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `item(*, title="Solar farm planning decision announced", date="2026-11-14T10:00:00Z", ref=None, link="https: category="plan...)`; `test_same_title_distinct_years_retains_both()`; `test_generic_same_title_different_repd_projects_retains_both()`; `test_separate_decisions_same_project_retained()`; `test_undated_same_title_separate_urls_retained()`; `test_same_canonical_article_url_syndicated_collapses()`; `test_two_publishers_same_project_non_decision_near_date_collapses()`; `test_same_title_unknown_project_different_urls_kept()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 3; mentioned by 0 ### Test Agent7 Evidence Ledger - File: globalgrid2050/automation/news/tests/test_agent7_evidence_ledger.py (Python, 127 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_agent7_evidence_ledger.py#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/0802.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Evidence Ledger. It is built from the record step (`record`). - What it achieves (comment): Evidence ledger: structural checks are not article, publisher or legal verification. - What it does: It tests solar. Defines 11 functions or classes, including record, test_completely_filled_synthetic_contract_is_still_not_accepted, test_original_source_hash_and_http_response_required, test_redirected_article_identity_and_provenance_cannot_be_omitted, test_article_b_about_project_b_cannot_bind_project_a. Uses libraries __future__, copy, sys, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file receipt.json. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Agent7 V922 CI Workflow (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `record(ref="1001")`; `test_completely_filled_synthetic_contract_is_still_not_accepted()`; `test_original_source_hash_and_http_response_required()`; `test_redirected_article_identity_and_provenance_cannot_be_omitted()`; `test_article_b_about_project_b_cannot_bind_project_a()`; `test_one_article_about_two_projects_needs_two_separate_bindings()`; `test_reviewed_boolean_does_not_substitute_for_independent_review()`; `test_producer_cannot_structurally_self_review()`; `test_undocumented_rights_and_article_body_storage_withheld()`; `test_event_requires_actual_date_and_planning_reference()`; `test_news_is_withheld_when_raw_record_unavailable()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file receipt.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 3; mentioned by 0 ### Test Binder - File: globalgrid2050/automation/news/tests/test_binder.py (Python, 131 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_binder.py#L1-L131 - Page: https://code.globalgrid2050.com/explore-code/s/0802.html#f4 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Renewable Energy Planning Database (REPD) Diff and Binder. - What it achieves (name): Defines `index`, `test_longest_name_wins`, `test_ambiguous_name_resolved_by_technology_and_capacity` and 11 more. Its code works with 500 MW, 1 GWh and 1.2 GW. - What it does: It tests the REPD register, solar and battery storage (BESS). Defines 15 functions or classes, including index, b, test_longest_name_wins, test_ambiguous_name_resolved_by_technology_and_capacity, test_ambiguous_name_left_as_candidate. Uses libraries json, pytest. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: CSV file repd.csv; GeoJSON file dc.geojson. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `index(tmp_path_factory)`; `b(index, headline, source="Solar Power Portal")`; `test_longest_name_wins(index)`; `test_ambiguous_name_resolved_by_technology_and_capacity(index)`; `test_ambiguous_name_left_as_candidate(index)`; `test_planning_reference_is_exact_and_sibling_primary_is_solar(index)`; `test_generic_names_never_bind(index)`; `test_foreign_place_downgrades(index)`; `test_one_word_name_needs_technology_word(index)`; `test_operator_words_inside_the_site_name_prove_nothing(index)`; `test_capacity_mismatch_keeps_ambiguity(index)`; `test_tech_contradiction(index)`; `test_news_capacities()`; `test_evaluate_counts(index)`; `test_datacentre_binding_is_separate_category(tmp_path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file repd.csv; GeoJSON file dc.geojson]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Test Cop31 Climate Priority - File: globalgrid2050/automation/news/tests/test_cop31_climate_priority.py (Python, 111 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_cop31_climate_priority.py#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/0802.html#f5 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Pipeline Headlines and News Algorithm. - What it achieves (comment): It is built from the fetch step (`fetch`), the forbidden step (`forbidden`) and the article step (`article`). COP31 news-priority contract: international diplomacy is not an Renewable Energy Planning Database (REPD) fact. - What it does: It tests the REPD register and solar. Defines 10 functions or classes, including test_bounded_climate_policy_detection, test_bbc_fossil_fuels_story_kept_without_solar_or_data_centre, fetch, test_global_cop_policy_not_discarded_as_foreign_or_unknown_repd, fetch. Uses libraries json, pathlib, sys, pytest. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: JSON file pipeline_feeds.json. - Downstream impact: Used directly by 3 files: Compare Legacy Collector (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Pipeline Headlines Workflow (globalgrid2050). - Signatures: `test_bounded_climate_policy_detection(headline,level)`; `test_bbc_fossil_fuels_story_kept_without_solar_or_data_centre()`; `fetch(url)`; `test_global_cop_policy_not_discarded_as_foreign_or_unknown_repd()`; `test_curated_owner_link_publishes_without_fetching_article_body()`; `forbidden(_)`; `article(title,url,source="BBC News",category="policy")`; `test_cop31_ranks_above_standard_news_without_inventing_verification()`; `test_rejected_publisher_and_general_climate_headlines_remain_rejected()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pipeline_feeds.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (sys-path 1, import 1); used by 3; mentioned by 0 ### Test Datacentre Feed - File: globalgrid2050/automation/news/tests/test_datacentre_feed.py (Python, 322 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_datacentre_feed.py#L1-L322 - Page: https://code.globalgrid2050.com/explore-code/s/0803.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Datacentre Feed. It is built from the cell step (`cell`), the site step (`site`) and the rss step (`rss`). - What it achieves (comment): Tests for `automation/news/datacentre_feed.py`. Synthetic fixtures only; no network. - What it does: It tests its inputs. Defines 28 functions or classes, including cell, site, rss, atom, test_classify_in_scope. Uses libraries __future__, json, sys, pathlib, pytest. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentre'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file prox.json; JSON file a.json; JSON file b.json; JSON file none.json; JSON file o.json; JSON file missing.json; JSON file datacentre-news.v1.schema.json; JSON file pinned.json. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Datacentre News Workflow (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `cell(count=0, mw=0.0, unknown=0)`; `site(rid, name, operator, reliable=True, solar=(0, 0.0, 0), battery=(0, 0.0, 0))`; `rss(*items)`; `atom(*entries)`; `test_classify_in_scope(title, lanes)`; `test_classify_out_of_scope(title)`; `test_summary_is_used_for_matching_but_never_stored()`; `test_parse_rss_and_atom_dates_and_links()`; `test_parse_rejects_dtd_entities_oversize_and_non_feeds()`; `test_canonical_link_strips_tracking_and_fragment()`; `test_titles_are_plain_text()`; `test_register_site_name_beats_operator_and_repd_context()`; `test_unreliable_point_has_no_repd_context_and_generic_names_never_match()`; `test_short_uppercase_operator_is_case_exact_and_alias_works()`; `test_general_operator_alone_does_not_make_a_datacentre_story()`; `test_sponsored_headlines_are_dropped_and_build_is_told_from_financing()`; `test_sites_capped_per_item()`; `test_one_failing_feed_is_recorded_and_others_continue()`; `fetch(url)`; `test_merge_dedups_by_link_keeps_first_seen_orders_and_caps()`; `test_fixture_run_end_to_end_is_deterministic(tmp_path)`; `test_all_feeds_failing_without_previous_output_exits_nonzero(tmp_path)`; `test_feed_list_is_https_and_explained()`; `test_output_matches_json_schema(tmp_path)`; `test_pinned_items_are_always_in_the_feed(tmp_path)` (and 3 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file prox.json; JSON file a.json; JSON file b.json; JSON file none.json; JSON file o.json; JSON file missing.json; JSON file datacentre-news.v1.schema.json; JSON file pinned.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 3; mentioned by 0 ### Test Documents - File: globalgrid2050/automation/news/tests/test_documents.py (Python, 111 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_documents.py#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/0803.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Documents, using SHA-256. It is built from the synthetic step (`synthetic`) and the parse step (`parse`). - What it achieves (comment): Synthetic parser negatives plus optional pinned actual local-byte verification. - What it does: It tests its inputs. Defines 11 functions or classes, including synthetic, parse, test_synthetic_typed_power_has_exact_units_meaning_and_locator, test_unit_or_meaning_or_context_ambiguity_abstains, test_wrong_crossproject_identity_abstains. Uses libraries copy, hashlib, json, os, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file government-facts.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `synthetic(body=None, project="EN020026", extra="")`; `parse(data)`; `test_synthetic_typed_power_has_exact_units_meaning_and_locator()`; `test_unit_or_meaning_or_context_ambiguity_abstains(body)`; `test_wrong_crossproject_identity_abstains(project)`; `test_script_facts_and_title_markup_never_become_authority()`; `test_duplicate_capacity_and_mixed_tables_abstain()`; `test_no_partial_date_expansion_or_fabricated_instants(value)`; `test_unknown_unsafe_sources_changed_hash_and_pdf_unavailable()`; `test_source_receipts_fail_closed_even_when_policy_hash_is_pinned(monkeypatch)`; `test_actual_pinned_documents_when_local_receipts_available()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file government-facts.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Test Engine - File: globalgrid2050/automation/news/tests/test_engine.py (Python, 145 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_engine.py#L1-L145 - Page: https://code.globalgrid2050.com/explore-code/s/0803.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Engine. - What it achieves (comment): Offline positive/negative regression tests for the additive News Engine. Its code works with 1019 MW. - What it does: It tests solar and the REPD register. Defines 15 functions or classes, including test_name_only_provisional_and_publisher_rights_and_timestamps_preserved, test_explicit_repd_id_is_not_verification_and_bare_digits_not_ids, test_duplicate_full_name_veto_and_distinct_non_repd_namespaces, test_identity_not_inferred_from_geo_similarity_and_zero_is_honest, test_duplicates_normalise_tracking_without_dropping_original_article_url. Uses libraries json, subprocess, sys, pytest. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register. - Inputs & outputs: In: JSON file articles.json; JSON file sources.json; JSON file projects.json; JSON file out.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `test_name_only_provisional_and_publisher_rights_and_timestamps_preserved()`; `test_explicit_repd_id_is_not_verification_and_bare_digits_not_ids()`; `test_duplicate_full_name_veto_and_distinct_non_repd_namespaces()`; `test_identity_not_inferred_from_geo_similarity_and_zero_is_honest()`; `test_duplicates_normalise_tracking_without_dropping_original_article_url()`; `test_tracking_variants_dedupe_preserve_both_original_urls()`; `test_deterministic_across_input_order()`; `test_existing_pipeline_headlines_shape_is_accepted_with_unique_source()`; `test_reject_non_public_or_unsafe_article_urls(bad)`; `test_unapproved_or_unlicensed_sources_fail_closed(source)`; `test_rights_approved_does_not_grant_project_verification()`; `test_canonical_collision_different_publisher_metadata_fails_closed()`; `test_ambiguous_multiple_explicit_refs_not_verified()`; `test_article_source_provenance_mismatch_rejected()`; `test_cli_no_overwrite_and_roundtrip(tmp_path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file articles.json; JSON file sources.json; JSON file projects.json; JSON file out.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Test Engine Independent - File: globalgrid2050/automation/news/tests/test_engine_independent.py (Python, 206 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_engine_independent.py#L1-L206 - Page: https://code.globalgrid2050.com/explore-code/s/0804.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Engine. It is built from the run step (`run`). - What it achieves (comment): Independent Agent 3 V9.28 News Engine acceptance: synthetic fixtures only. - What it does: It tests solar and the REPD register. Defines 19 functions or classes, including run, test_independent_title_only_without_content_or_scores, test_independent_general_market_news_has_no_project_evidence, test_independent_duplicate_title_two_unrelated_urls_are_not_merged, test_independent_tracking_variants_preserve_original_urls_deterministically. Uses libraries __future__, copy, json, pytest. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `run(items=None, sources=None, projects=None)`; `test_independent_title_only_without_content_or_scores()`; `test_independent_general_market_news_has_no_project_evidence()`; `test_independent_duplicate_title_two_unrelated_urls_are_not_merged()`; `test_independent_tracking_variants_preserve_original_urls_deterministically()`; `test_independent_same_url_with_different_publisher_fails_closed()`; `test_independent_ambiguous_repd_name_never_proves_identity()`; `test_independent_non_repd_id_cannot_be_repd_identity()`; `test_independent_explicit_multiple_repd_ids_are_ambiguous_not_verified()`; `test_independent_reject_unsafe_urls(value)`; `test_independent_source_id_cannot_override_contradictory_source_publisher()`; `test_independent_source_label_cannot_contradict_without_publisher_key()`; `test_independent_invalid_publisher_dates_fail_closed(bad)`; `test_independent_missing_dates_remain_null()`; `test_independent_bad_hashes_fail_closed(bad)`; `test_independent_rights_assertion_does_not_authorise_publication()`; `test_independent_publisher_body_cannot_create_repd_id()`; `test_independent_invalid_observation_timestamps_fail_closed(field, bad)`; `test_independent_valid_iso_date_and_timezone_preserved_verbatim()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Test Events - File: globalgrid2050/automation/news/tests/test_events.py (Python, 97 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_events.py#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/0804.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Events. - What it achieves (name): Defines `test_every_status_event_type`, `test_capacity_operator_technology_changes`, `test_cosmetic_operator_change_not_emitted` and 7 more. Its code works with 400 MW. - What it does: It tests solar. Defines 12 functions or classes, including _build, _by, test_every_status_event_type, test_capacity_operator_technology_changes, test_cosmetic_operator_change_not_emitted. Uses libraries json. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `_build(releases, **kw)`; `_by(doc)`; `test_every_status_event_type(releases)`; `test_capacity_operator_technology_changes(releases)`; `test_cosmetic_operator_change_not_emitted(releases)`; `test_unknown_capacity_is_null_never_zero(releases)`; `test_headline_is_from_data_only(releases)`; `test_event_dates_from_milestone_columns(releases)`; `test_colocated_siblings_share_group(releases)`; `test_large_application_threshold(releases)`; `test_deterministic_ids_and_bytes(releases)`; `test_classify_status_ladder()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Test Evidence Publish - File: globalgrid2050/automation/news/tests/test_evidence_publish.py (Python, 74 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_evidence_publish.py#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/0804.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Publish. - What it achieves (name): Defines `git`, `repos`, `commit` and 4 more. - What it does: It tests its inputs. Defines 7 functions or classes, including git, repos, commit, test_create_and_direct_successor, test_concurrent_rollback_is_not_undone. Uses libraries subprocess, pytest. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `git(folder, *args)`; `repos(tmp_path)`; `commit(writer, label)`; `test_create_and_direct_successor(repos)`; `test_concurrent_rollback_is_not_undone(repos)`; `test_concurrent_creation_rejected(repos)`; `test_non_descendant_never_reaches_push(repos)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Test Evidence Store - File: globalgrid2050/automation/news/tests/test_evidence_store.py (Python, 262 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_evidence_store.py#L1-L262 - Page: https://code.globalgrid2050.com/explore-code/s/0804.html#f4 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Evidence Store and Match, using SHA-256. - What it achieves (comment): It is built from the projects step (`projects`), the articles step (`articles`) and the sources step (`sources`). Acquisition storage gates: immutable scope, provisional status and publication. - What it does: It tests solar. Defines 16 functions or classes, including projects, articles, sources, matches, test_database_is_durable_idempotent_and_has_no_bodies. Uses libraries copy, csv, hashlib, json, sqlite3. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file latest.json; SQLite database. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `projects()`; `articles()`; `sources()`; `matches(articles)`; `test_database_is_durable_idempotent_and_has_no_bodies(tmp_path, projects, articles, sources)`; `test_no_evidence_row_replaced_when_match_found(projects, articles, sources)`; `test_invalid_run_fails_without_mutating_store(projects, articles, sources, mutation)`; `test_seed_metadata_cannot_drift(projects, articles, sources)`; `test_database_blocks_verified_and_unknown_schema(tmp_path, projects, articles, sources)`; `test_immutable_exports_roundtrip_and_pointer(tmp_path, projects, articles, sources)`; `test_schema_failure_keeps_previous_pointer(tmp_path, projects, articles, sources, mutation, monkeypatch)`; `test_csv_neutralizes_untrusted_formulas(tmp_path, projects, articles, sources)`; `test_no_successful_run_cannot_export(tmp_path, projects)`; `test_changed_article_is_rejected_before_state_or_exports_change(tmp_path, projects, articles, sources, field, value)`; `test_existing_snapshot_bytes_cannot_be_overwritten(tmp_path, projects, articles, sources)`; `test_snapshot_rejects_evidence_without_accepted_source_receipt(tmp_path, projects, articles, sources, monkeypatch)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file latest.json; SQLite database]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Test Filing Figures - File: globalgrid2050/automation/news/tests/test_filing_figures.py (Python, 233 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_filing_figures.py#L1-L233 - Page: https://code.globalgrid2050.com/explore-code/s/0805.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Contracts, using SHA-256. It is built from the claim step (`claim`). - What it achieves (comment): Synthetic contract fixtures only; no claims about real issuers or projects. - What it does: It tests its inputs. Defines 22 functions or classes, including claim, test_exact_decimal_scale_and_source_precision_survive_json, test_no_mutation_or_shared_nested_containers, test_lossy_nonfinite_or_ambiguous_numbers_rejected, test_finance_stages_and_signed_reported_value_remain_distinct. Uses libraries copy, decimal, json, pytest. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `claim()`; `test_exact_decimal_scale_and_source_precision_survive_json(claim)`; `test_no_mutation_or_shared_nested_containers(claim)`; `test_lossy_nonfinite_or_ambiguous_numbers_rejected(claim, value)`; `test_finance_stages_and_signed_reported_value_remain_distinct(claim, stage)`; `test_electrical_claims_keep_kind_scope_and_unit(claim, kind)`; `test_no_automatic_power_energy_money_conversion(claim, kind, unit)`; `test_unknown_finance_semantics_or_verified_status_rejected(claim, key, value)`; `test_negative_power_and_attached_currency_rejected(claim)`; `test_consolidation_scope_is_preserved_not_allocated_to_project(claim)`; `test_forecast_not_audited_actual_and_future_period_explicit(claim)`; `test_invalid_source_dates_rejected(claim, value)`; `test_period_order_precision_and_missing_temporal_basis(claim)`; `test_retrieval_requires_valid_offset_timestamp(claim, value)`; `test_chronology_and_nullable_publication_preserved(claim)`; `test_source_calendar_offset_explicit_at_retrieval_day_boundary(claim)`; `test_revision_and_restatement_preserve_history(claim)`; `test_no_personal_or_untrusted_extra_fields_pass_through(claim, level)`; `test_provenance_url_syntax_rejects_private_literals_and_confusion(claim, url)`; `test_hash_and_locator_required_without_fabricating_source_evidence(claim)`; `test_unsupported_scope_and_arbitrary_nested_payload_fail(claim)`; `test_metric_missing_or_unencodable_text_rejected(claim)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Test Global Datacentres - File: globalgrid2050/automation/news/tests/test_global_datacentres.py (Python, 109 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_global_datacentres.py#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/0805.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that uses SHA-256. - What it achieves (name): Defines `load`, `test_curated_sample_is_genuinely_global_and_source_namespaced`, `test_export_reproduces_from_fixed_cc0_facts_and_original_coordinates` and 4 more. - What it does: It tests its inputs. Defines 7 functions or classes, including load, test_curated_sample_is_genuinely_global_and_source_namespaced, test_export_reproduces_from_fixed_cc0_facts_and_original_coordinates, test_unknown_capacity_and_coordinates_never_fabricated, test_browser_model_filters_links_capacity_and_rejects_bad_records. Uses libraries hashlib, importlib.util, json, pathlib, subprocess. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentres'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file projects.json; JSON file source-facts.json; JSON file pipeline-audit.json; JSON file invalid-source.json; DuckDB queries. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `load(name)`; `test_curated_sample_is_genuinely_global_and_source_namespaced()`; `test_export_reproduces_from_fixed_cc0_facts_and_original_coordinates()`; `test_unknown_capacity_and_coordinates_never_fabricated()`; `test_browser_model_filters_links_capacity_and_rejects_bad_records()`; `test_parquet_exact_readback_schema_nulls_and_deterministic_bytes(tmp_path)`; `test_invalid_inputs_are_quarantined_before_output_changes(tmp_path, mutation)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file projects.json; JSON file source-facts.json; JSON file pipeline-audit.json; JSON file invalid-source.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Test Grid DC Context - File: globalgrid2050/automation/news/tests/test_grid_dc_context.py (Python, 225 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_grid_dc_context.py#L1-L225 - Page: https://code.globalgrid2050.com/explore-code/s/0805.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Grid, using SHA-256. It is built from the bundle step (`bundle`). - What it achieves (comment): Scope, state and provenance regressions for the offline GRID-DC adapter. - What it does: It tests its inputs. Defines 19 functions or classes, including bundle, test_actual_sources_keep_historical_rejection_and_unknown_current_state, test_committed_replay_matches_every_output_byte, test_replay_sorting_and_input_independence, test_bad_source_aborts_whole_generation. Uses libraries copy, json, pathlib, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file grid-source-fixture.json; JSON file grid-context-fixture.json; JSON file grid-context.json; JSON file broken.json; JSON file output.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `bundle()`; `test_actual_sources_keep_historical_rejection_and_unknown_current_state(bundle)`; `test_committed_replay_matches_every_output_byte(bundle)`; `test_replay_sorting_and_input_independence(bundle)`; `test_bad_source_aborts_whole_generation(bundle, field, value)`; `test_unapproved_or_unsafe_source_urls(bundle, url)`; `test_bad_context_or_unsupported_inference(bundle, field, value)`; `test_rejected_load_request_cannot_become_connection_or_operating_power(bundle, kind)`; `test_shared_figures_semantics_preserved(bundle, key, value)`; `test_cannot_move_figures_between_entities_documents_or_clocks(bundle, part, key, value)`; `test_duplicate_identifiers_rejected(bundle, part)`; `test_no_private_fields_or_implicit_binding_are_passed_through(bundle)`; `test_unknown_clock_and_missing_locator_fail_closed(bundle)`; `test_retrieval_does_not_refresh_the_source_claim(bundle)`; `test_exact_value_lexical_precision_is_not_rounded(bundle)`; `test_synthetic_source_states_do_not_claim_current_connection(bundle, kind, state, quantity, basis)`; `test_synthetic_funding_keeps_stage_without_allocating_capex(bundle, state)`; `test_cli_writes_new_artifact_and_refuses_overwrite(tmp_path)`; `test_failed_input_does_not_create_output(tmp_path, bundle)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file grid-source-fixture.json; JSON file grid-context-fixture.json; JSON file grid-context.json; JSON file broken.json; JSON file output.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Test Grid Government V938 - File: globalgrid2050/automation/news/tests/test_grid_government_v938.py (Python, 65 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_grid_government_v938.py#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/0805.html#f4 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Government V938, using SHA-256. It is built from the grid government v938 test class (`GridGovernmentV938Test`). - What it achieves (comment): V9.38 additive government-fact tests; original donor tests remain byte-exact. - What it does: It tests its inputs. Defines 6 functions or classes, including GridGovernmentV938Test, test_government_publisher_is_not_reported_operator, test_actual_government_receipts_and_day_clocks_remain_distinct, test_government_clock_rejects_fabricated_midnight_and_impossible_day, test_government_exact_url_hash_receipt_and_attribution_refuse_spoofs. Uses libraries json, copy, pathlib, unittest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file sources.json; JSON file government-sources.v938.json; JSON file fixtures.json; JSON file government-facts.json. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `class GridGovernmentV938Test`; `test_government_publisher_is_not_reported_operator(self)`; `test_actual_government_receipts_and_day_clocks_remain_distinct(self)`; `test_government_clock_rejects_fabricated_midnight_and_impossible_day(self)`; `test_government_exact_url_hash_receipt_and_attribution_refuse_spoofs(self)`; `test_one_notice_two_documents_unknown_counts_and_review_gate(self)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file sources.json; JSON file government-sources.v938.json; JSON file fixtures.json; JSON file government-facts.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Test Grid Watch - File: globalgrid2050/automation/news/tests/test_grid_watch.py (Python, 93 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_grid_watch.py#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/0806.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks News — Grid Watch. It is built from the grid watch test class (`GridWatchTest`). - What it achieves (comment): Run from repository root: python -m unittest discover -s `automation/news/tests` -p `test_grid_watch.py`. - What it does: It tests its inputs. Defines 14 functions or classes, including GridWatchTest, test_three_official_operator_fixture_rows, test_dedup_exact_observations_but_not_conflicts, test_status_never_promoted, test_missing_identity_does_not_fuzzy_match. Uses libraries json, copy, pathlib, unittest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file sources.json; JSON file fixtures.json. - Downstream impact: Used directly by 4 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `class GridWatchTest`; `test_three_official_operator_fixture_rows(self)`; `test_dedup_exact_observations_but_not_conflicts(self)`; `test_status_never_promoted(self)`; `test_missing_identity_does_not_fuzzy_match(self)`; `test_exact_supplier_scheme_identifier_not_connection_proof(self)`; `test_reject_spoofed_url(self)`; `test_reject_unverified_source_id_or_operator_disagreement(self)`; `test_reject_unrecognised_evidence_claims(self)`; `test_exact_etys_code_remains_unverified_crosswalk(self)`; `test_metric_kinds_units_are_not_interchangeable(self)`; `test_preserves_explicit_source_rights_without_granting_publication(self)`; `test_publication_cannot_follow_retrieval(self)`; `test_refuses_ambiguous_clock(self)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file sources.json; JSON file fixtures.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Test Names - File: globalgrid2050/automation/news/tests/test_names.py (Python, 41 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_names.py#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0806.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Names. - What it achieves (name): Defines `test_distinctive_stem_strips_addresses_and_boilerplate`, `test_generic_and_address_only_names_give_no_stem`, `test_aliases_trailing_and_places` and 3 more. Its code works with 1 GWh and 500 MW. - What it does: It tests solar, battery storage (BESS) and wind. Defines 6 functions or classes, including test_distinctive_stem_strips_addresses_and_boilerplate, test_generic_and_address_only_names_give_no_stem, test_aliases_trailing_and_places, test_operator_key_ignores_connectors_case_and_suffixes, test_descriptor_adjacency_for_one_word_names. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS), wind. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `test_distinctive_stem_strips_addresses_and_boilerplate()`; `test_generic_and_address_only_names_give_no_stem()`; `test_aliases_trailing_and_places()`; `test_operator_key_ignores_connectors_case_and_suffixes()`; `test_descriptor_adjacency_for_one_word_names()`; `test_tech_context_and_family()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Test News Algorithm - File: globalgrid2050/automation/news/tests/test_news_algorithm.py (Python, 154 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_news_algorithm.py#L1-L154 - Page: https://code.globalgrid2050.com/explore-code/s/0806.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks News Algorithm. It is built from the article step (`article`) and the rank step (`rank`). - What it achieves (comment): Contract/negative tests for headline ordering, independent of live sources. - What it does: It tests solar. Defines 16 functions or classes, including article, rank, test_official_relevant_news_precedes_paid_discovery_without_deleting_credit, test_display_diversity_is_soft_and_does_not_drop_valuable_articles, test_generic_ai_finance_is_context_even_if_legacy_category_says_datacentre. Uses libraries copy, json, pytest. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Downstream impact: Used directly by 3 files: Test News Priority Export (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `article(link="https:)`; `rank(items, **kwargs)`; `test_official_relevant_news_precedes_paid_discovery_without_deleting_credit()`; `test_display_diversity_is_soft_and_does_not_drop_valuable_articles()`; `test_generic_ai_finance_is_context_even_if_legacy_category_says_datacentre()`; `test_uk_context_does_not_claim_project_location_or_use_multinational_name()`; `test_source_policy_is_not_inferred_from_publisher_label()`; `test_listed_parent_needs_explicit_identity_and_listing_evidence()`; `test_reviewed_original_reporting_credit_is_not_inferred_from_brand()`; `test_publication_precision_and_freshness_never_use_first_seen(date, state, precision)`; `test_future_or_stale_government_article_does_not_lead_current_project_story()`; `test_exclusion_and_document_genre_do_not_become_project_priority()`; `test_exact_output_is_permutation_stable_and_does_not_mutate_or_republish_body()`; `test_malformed_or_nonpublic_url_is_rejected(url)`; `test_tracking_canonicalization_detects_duplicate_article_input()`; `test_explicit_clock_required_and_policy_conflicts_fail_closed()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Test News Priority Export - File: globalgrid2050/automation/news/tests/test_news_priority_export.py (Python, 118 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_news_priority_export.py#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/0806.html#f4 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Build News Priority and Test News Algorithm, using SHA-256. - What it achieves (comment): It is built from the document step (`document`) and the raw step (`raw`). Rank publication must keep the legacy file intact and bind its exact bytes. - What it does: It tests its inputs. Defines 11 functions or classes, including document, raw, test_exact_bytes_determinism_and_legacy_input_preserved, test_health_not_reclassified_and_empty_is_valid, test_malformed_inputs_fail_before_output. Uses libraries copy, hashlib, json, pathlib, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file headlines.json; JSON file priority.json; JSON file pipeline_headlines.snapshot.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `document(items=None)`; `raw(doc)`; `test_exact_bytes_determinism_and_legacy_input_preserved()`; `test_health_not_reclassified_and_empty_is_valid(status)`; `test_malformed_inputs_fail_before_output(change)`; `test_duplicates_and_oversize_fail()`; `test_schema_growth_requires_explicit_validator_support()`; `test_no_freshness_from_collection_time_or_fake_verification()`; `test_cli_keeps_previous_output_on_schema_failure_and_never_changes_input(tmp_path)`; `test_empty_saved_placeholder_cannot_be_presented_as_fresh_ranking()`; `test_actual_collector_fixture_output_keeps_every_item(tmp_path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file headlines.json; JSON file priority.json; JSON file pipeline_headlines.snapshot.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Test Pipeline Headlines - File: globalgrid2050/automation/news/tests/test_pipeline_headlines.py (Python, 475 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_pipeline_headlines.py#L1-L475 - Page: https://code.globalgrid2050.com/explore-code/s/0807.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Datacentre Feed and Pipeline Headlines. - What it achieves (comment): It is built from the REPD row helper (`repd_row`), the run step (`run`) and the validate step (`validate`). Tests for `automation/news/pipeline_headlines.py`. Offline: fixtures hold real headlines, links and dates only. Its code works with 840 MW, 150 MW and 1 GWh. - What it does: It tests solar and the REPD register. Defines 37 functions or classes, including repd_row, test_real_headlines_are_kept_and_classified, test_out_of_scope_headlines_are_dropped, test_every_category_and_technology_is_in_the_contract_list, test_owner_example_botley_west_is_a_possible_match_on_name_plus_technology. Uses libraries __future__, json, re, sys, pathlib. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register. - Inputs & outputs: In: JSON file pipeline-headlines.v1.schema.json; JSON file pipeline_headlines.json; JSON file feeds.json; JSON file out.json; JSON file pipeline_feeds.json; JSON file never.json. - Downstream impact: Used directly by 5 files: Compare Legacy Collector (globalgrid2050); Test News Priority Export (globalgrid2050); GlobalGrid2050 Agent7 V922 CI Workflow (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); and 1 more. Reached from 1 other entry point, including GlobalGrid2050 Pipeline Headlines Workflow (globalgrid2050). - Signatures: `repd_row(ref, site, tech="Solar Photovoltaics", operator="Example Energy Ltd", county="Oxfordshire", authority="West Oxfordshire")`; `test_real_headlines_are_kept_and_classified(title, category, technology)`; `test_out_of_scope_headlines_are_dropped(title)`; `test_every_category_and_technology_is_in_the_contract_list()`; `test_owner_example_botley_west_is_a_possible_match_on_name_plus_technology()`; `test_match_bases_developer_authority_county()`; `test_name_alone_is_never_a_match()`; `test_name_must_be_exact_and_word_bounded()`; `test_generic_names_never_match()`; `test_colocated_rows_of_one_site_give_the_lowest_ref_and_two_sites_give_nothing()`; `test_name_without_colocated_tail_and_single_distinctive_word()`; `test_single_word_plus_technology_does_not_pick_the_wrong_hunterston()`; `test_branded_content_is_dropped()`; `test_data_centre_headlines_never_get_a_repd_match()`; `run(tmp_path, *extra)`; `validate(node, schema, root=SCHEMA, path="$")`; `test_fixture_run_matches_schema_and_contract(tmp_path)`; `test_previous_items_are_kept_first_seen_is_stable_and_rerun_is_identical(tmp_path)`; `test_all_feeds_failing_keeps_earlier_items_and_fails_only_without_any(tmp_path)`; `test_one_bad_feed_does_not_stop_the_others()`; `fetch(url)`; `test_global_feed_needs_a_uk_word_and_foreign_headlines_are_dropped()`; `rss(*entries)`; `test_bbc_keyword_only_headlines_are_kept_without_an_event_word()`; `test_bbc_headline_about_neither_topic_is_dropped_and_scope_rules_still_apply()` (and 11 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pipeline-headlines.v1.schema.json; JSON file pipeline_headlines.json; JSON file feeds.json; JSON file out.json; JSON file pipeline_feeds.json; JSON file never.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (sys-path 2); used by 5; mentioned by 0 ### Test Policy Commitments - File: globalgrid2050/automation/news/tests/test_policy_commitments.py (Python, 268 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_policy_commitments.py#L1-L268 - Page: https://code.globalgrid2050.com/explore-code/s/0808.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Ledger and News — Policy Commitments, using SHA-256. - What it achieves (comment): It is built from the sample step (`sample`), the numeric step (`numeric`) and the document step (`document`). COVENANT states, attribution and compatible measurements; no source network. - What it does: It tests its inputs. Defines 25 functions or classes, including sample, numeric, document, claim, only_result. Uses libraries copy, csv, io, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file sample_ledger.json; JSON file historical_sources.json. - Downstream impact: Used directly by 3 files: Test Transition Context (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `sample()`; `numeric()`; `document(identity, kind, published, retrieved, sha, state, locator)`; `claim(identity, doc, value, basis)`; `only_result(payload)`; `test_real_seed_is_bounded_and_cannot_invent_compliance(sample)`; `test_supported_result_is_a_numerical_relation_not_a_compliance_label(numeric, value, relation)`; `test_unknown_applicability_wins_over_measurement(numeric)`; `test_conditional_offer_does_not_apply_without_identity_and_conditions(sample)`; `test_incomplete_instrument_cannot_become_an_adopted_result(numeric, state)`; `test_future_deadline_is_not_yet_due_but_missing_overdue_evidence_is_unknown(numeric)`; `test_incompatible_measurement_returns_unknown_instead_of_converting(numeric, change)`; `test_finance_announcement_cannot_substitute_for_disbursement(numeric)`; `test_reported_or_press_release_claim_is_only_reported_progress(numeric)`; `test_changed_baseline_and_old_revision_do_not_transfer_measurement(numeric)`; `test_unresolved_source_corrections_remain_visible(numeric, kind)`; `test_conflicting_measurements_are_not_silently_selected(numeric)`; `test_bad_contracts_fail_closed(numeric, change)`; `test_future_review_clock_fails_closed(numeric)`; `test_json_csv_are_stable_traceable_and_spreadsheet_safe(numeric)`; `test_cli_emits_json_and_csv_without_writing_or_network(sample, monkeypatch, capsys)`; `test_target_cannot_borrow_an_unrelated_read_source(numeric)`; `test_update_claim_and_statement_must_use_same_read_locator(numeric)`; `test_restatement_requires_reconciliation_without_replacing_old_values(numeric)`; `test_history_inventory_covers_bounded_primary_chain_without_claiming_missing_bytes()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file sample_ledger.json; JSON file historical_sources.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 3; mentioned by 0 ### Test Policy Context - File: globalgrid2050/automation/news/tests/test_policy_context.py (Python, 60 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_policy_context.py#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0808.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Policy Context. - What it achieves (name): Defines `document`, `extract`, `test_typed_policy_quantities_never_become_project_capacity_or_compliance` and 5 more. Its code works with 6 GW. - What it does: It tests its inputs. Defines 8 functions or classes, including document, extract, test_typed_policy_quantities_never_become_project_capacity_or_compliance, test_unapproved_source_refused, test_missing_or_changed_evidence_fails_closed. Uses libraries pytest. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `document(extra='')`; `extract(data=None, **changes)`; `test_typed_policy_quantities_never_become_project_capacity_or_compliance()`; `test_unapproved_source_refused(url)`; `test_missing_or_changed_evidence_fails_closed(data)`; `test_duplicate_quantities_and_headings_are_not_silently_selected()`; `test_hidden_script_text_cannot_supply_policy_quantity()`; `test_timestamp_and_publication_order()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Test Prospecting - File: globalgrid2050/automation/news/tests/test_prospecting.py (Python, 335 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_prospecting.py#L1-L335 - Page: https://code.globalgrid2050.com/explore-code/s/0808.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Prospecting and Evidence Store, using SHA-256. - What it achieves (comment): It writes pin (`write_pin`) and is built from the baseline step (`baseline`) and the evidence step (`evidence`). Offline research priorities: real pinned baseline plus synthetic receipt fixtures. - What it does: It tests its inputs. Defines 26 functions or classes, including write_pin, baseline, evidence, dc, test_real_official_scope_stable_and_no_invented_events_or_freshness. Uses libraries copy, hashlib, json, pathlib, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file input.json; JSON file projects.json; JSON file triage.json; JSON file first.json; JSON file second.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `write_pin(tmp_path, payload, name="input.json")`; `baseline()`; `evidence(baseline)`; `dc()`; `test_real_official_scope_stable_and_no_invented_events_or_freshness(baseline)`; `test_missing_name_capacity_country_remain_unknown(baseline)`; `test_invalid_capacity_cannot_become_positive_priority(value, baseline)`; `test_future_record_date_rejected_even_outside_returned_top_n()`; `test_evidence_is_provisional_and_news_age_never_becomes_event(evidence, baseline, tmp_path)`; `test_bad_news_input_fails_closed(change, evidence, tmp_path)`; `test_dc_distinct_unknown_capacity_and_original_revision(dc, tmp_path)`; `test_invalid_dc_fails_even_when_filtered_out(change, dc, tmp_path)`; `test_cli_hash_failure_preserves_previous_artifact(tmp_path)`; `test_cli_repeatable_bytes_and_no_local_path(tmp_path)`; `test_cli_refuses_release_tree_output_without_touching_baseline()`; `test_changed_official_pin_fails_closed(monkeypatch)`; `test_company_names_do_not_infer_listed_parent_or_enable_personal_enrichment(dc, tmp_path)`; `test_multiple_headlines_do_not_manufacture_independent_momentum(evidence, baseline, tmp_path)`; `test_generator_requires_no_network(monkeypatch)`; `forbidden(*args, **kwargs)`; `test_dc_country_revision_must_identify_declared_country(dc, tmp_path)`; `test_public_links_reject_browser_numeric_aliases_and_nonpublic_addresses(host)`; `test_public_links_allow_normal_dns_and_canonical_public_ips_offline(host, monkeypatch)`; `test_later_source_run_only_refreshes_articles_actually_observed(observed_again, evidence, baseline, tmp_path)`; `test_article_observation_clock_missing_fails_closed(remove, evidence, tmp_path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file input.json; JSON file projects.json; JSON file triage.json; JSON file first.json; JSON file second.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Test Prospecting Export - File: globalgrid2050/automation/news/tests/test_prospecting_export.py (Python, 104 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_prospecting_export.py#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/0809.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Build Prospecting Priority, using SHA-256. - What it achieves (name): Defines `artifacts`, `test_real_population_and_ranking_are_separate`, `test_deterministic_and_exact_file_receipts` and 9 more. - What it does: It tests its inputs. Defines 12 functions or classes, including artifacts, test_real_population_and_ranking_are_separate, test_deterministic_and_exact_file_receipts, test_csv_matches_ranked_ids_and_nulls, test_csv_formula_safety. Uses libraries csv, hashlib, io, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file priority.json; CSV file priority.csv; JSON file invalid.json; JSON file unknown.json; JSON file projects.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `artifacts()`; `test_real_population_and_ranking_are_separate(artifacts)`; `test_deterministic_and_exact_file_receipts(artifacts)`; `test_csv_matches_ranked_ids_and_nulls(artifacts)`; `test_csv_formula_safety(value)`; `test_output_is_write_once_and_failed_digest_creates_nothing(tmp_path, artifacts)`; `test_invalid_optional_input_does_not_create_output(tmp_path)`; `test_release_output_forbidden(artifacts)`; `test_missing_optional_pin_and_limit_are_errors(tmp_path)`; `test_unknown_dc_remark_does_not_invent_numbers()`; `test_real_dc_input_retains_separate_inventory_and_unknowns()`; `test_oversized_output_rejected_before_writing(monkeypatch)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file priority.json; CSV file priority.csv; JSON file invalid.json; JSON file unknown.json; JSON file projects.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Test Real Data - File: globalgrid2050/automation/news/tests/test_real_data.py (Python, 125 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_real_data.py#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/0809.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Events and Renewable Energy Planning Database (REPD) Diff, using SHA-256. - What it achieves (comment): Real-data smoke tests. Skipped when the inputs are not present in the checkout. - What it does: It tests its inputs. Defines 7 functions or classes, including _prev, test_milestones_reconcile_with_published_change_report, test_ranking_deterministic_and_profile_bounded, test_binder_on_labelled_set_meets_floor, test_committed_feed_matches_schema_and_invariants. Uses libraries __future__, json, os, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file repd-2026q3.csv; JSON file diff.json; JSON file major_project_news_v9_5_1.json; JSON file binding_labels_v9_5_1.json; JSON file repd_events_2026q3.json; JSON file repd-events-feed.v1.schema.json; JSON file project_identity_v6.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `_prev()`; `test_milestones_reconcile_with_published_change_report()`; `test_ranking_deterministic_and_profile_bounded()`; `test_binder_on_labelled_set_meets_floor()`; `test_committed_feed_matches_schema_and_invariants()`; `test_committed_feed_rebuilds_byte_identically(tmp_path)`; `test_panel_fields_shared_with_datacentre_panel()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file repd-2026q3.csv; JSON file diff.json; JSON file major_project_news_v9_5_1.json; JSON file binding_labels_v9_5_1.json; JSON file repd_events_2026q3.json; JSON file repd-events-feed.v1.schema.json; JSON file project_identity_v6.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Test Release Audit - File: globalgrid2050/automation/news/tests/test_release_audit.py (Python, 99 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_release_audit.py#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0809.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Automation — Pipeline Release and New Version. - What it achieves (comment): Release tooling must preserve the frozen parent and candidate semantics. - What it does: It tests solar. Defines 8 functions or classes, including test_dry_run_reports_parent_and_writes_nothing, test_release_text_is_utf8_lf, test_registry_round_trip_preserves_utf8_metadata, test_published_record_cannot_be_refinalized, test_older_registered_release_cannot_be_refinalized. Uses libraries json, pathlib, sys, pytest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file registry.json; JSON file interconnector-endpoints.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `test_dry_run_reports_parent_and_writes_nothing(tmp_path, monkeypatch, capsys)`; `test_release_text_is_utf8_lf(tmp_path)`; `test_registry_round_trip_preserves_utf8_metadata(tmp_path, monkeypatch)`; `test_published_record_cannot_be_refinalized(monkeypatch)`; `test_older_registered_release_cannot_be_refinalized(tmp_path, monkeypatch, old_state)`; `test_unpublished_tail_can_be_refinalized(tmp_path, monkeypatch, migration)`; `test_frozen_parent_tree_and_candidate_data()`; `test_candidate_provenance_sanitization_changes_no_facts()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file registry.json; JSON file interconnector-endpoints.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (sys-path 2); used by 2; mentioned by 0 ### Test Release Feature Migrations - File: globalgrid2050/automation/news/tests/test_release_feature_migrations.py (Python, 342 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_release_feature_migrations.py#L1-L342 - Page: https://code.globalgrid2050.com/explore-code/s/0809.html#f4 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Automation — Pipeline Release and Feature Contracts. - What it achieves (comment): It is built from the releases step (`releases`), the check step (`check`) and the internal priorities helper (`internal_priorities`). A moved presentation must retain its frozen data and executable access contract. - What it does: It tests its inputs. Defines 19 functions or classes, including releases, check, test_actual_candidate_keeps_feature_through_explicit_migration, test_migration_is_inherited_but_historical_feature_is_still_checked, test_invalid_migration_fails_closed. Uses libraries copy, json, pathlib, shutil, sys. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file candidates.json; JSON file priority.json; CSV file priority.csv; JSON file pipeline_headlines.snapshot.json; JSON file projects.json; JSON file official-projects.json; JSON file project-groups.json; JSON file selection-audit.json. Out: JSON file official.json; JSON file pipeline_headlines.snapshot.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `releases(tmp_path)`; `check(releases)`; `test_actual_candidate_keeps_feature_through_explicit_migration()`; `test_migration_is_inherited_but_historical_feature_is_still_checked(releases)`; `test_invalid_migration_fails_closed(releases, change)`; `test_migration_rejects_lost_data_or_access(releases, change)`; `test_without_explicit_migration_old_marker_still_fails(releases)`; `internal_priorities(tmp_path)`; `test_internal_migrations_preserve_algorithms_data_and_mandatory_browser_probes(internal_priorities)`; `test_internal_migrations_reject_lost_data_or_reintroduced_public_scores(internal_priorities, change)`; `test_internal_features_cannot_be_bypassed_by_removed_features(internal_priorities, feature)`; `test_descendant_may_restate_exact_inherited_contract_but_not_duplicate_locally(internal_priorities)`; `test_release_flags_expand_only_explicit_reviewed_contracts()`; `test_release_flags_reject_unknown_or_duplicate_contracts(flags)`; `test_malformed_headline_provenance_returns_failed_verdict(internal_priorities, document)`; `test_migration_cannot_replace_original_sources_own_feature_check(internal_priorities)`; `datacentre_migration(tmp_path)`; `test_datacentre_migration_retains_100_leads_12_semantics_and_mandatory_real_host_probe(datacentre_migration)`; `test_datacentre_migration_rejects_changed_evidence_or_lost_host(datacentre_migration, change)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file candidates.json; JSON file priority.json; CSV file priority.csv; JSON file pipeline_headlines.snapshot.json; JSON file projects.json; JSON file official-projects.json; JSON file project-groups.json; JSON file selection-audit.json]; out [JSON file official.json; JSON file pipeline_headlines.snapshot.json]; crs []; voltages [] - Edges: uses 3 estate files (sys-path 3); used by 2; mentioned by 0 ### Test Relevance - File: globalgrid2050/automation/news/tests/test_relevance.py (Python, 118 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_relevance.py#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/0810.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Events. - What it achieves (name): Defines `test_components_visible_and_sum`, `test_capacity_component`, `test_recency_against_reference_not_clock` and 9 more. Its code works with 150 MW and 530 MW. - What it does: It tests solar. Defines 14 functions or classes, including _ranked, _comp, test_components_visible_and_sum, test_capacity_component, test_recency_against_reference_not_clock. Uses libraries json, datetime, pytest. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file prev_feed.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `_ranked(releases, dc=None, previous=None)`; `_comp(ev, name)`; `test_components_visible_and_sum(releases)`; `test_capacity_component()`; `test_recency_against_reference_not_clock()`; `test_national_route_and_colocation(releases)`; `test_consent_of_large_solar_outranks_small_withdrawal(releases)`; `test_datacentre_component_reliability()`; `test_novelty_uses_previous_feed_and_siblings(releases, tmp_path)`; `test_top_events_folds_siblings(releases)`; `test_profile_hash_stable()`; `test_article_evidence_tiers()`; `test_article_event_classification()`; `test_corroboration_and_contradiction()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file prev_feed.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Test Research Context - File: globalgrid2050/automation/news/tests/test_research_context.py (Python, 150 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_research_context.py#L1-L150 - Page: https://code.globalgrid2050.com/explore-code/s/0810.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Pipeline Headlines and Research Indexes. It is built from the must not fetch helper (`must_not_fetch`) and the item step (`item`). - What it achieves (comment): International research lane regression checks: no weakening of UK/Renewable Energy Planning Database (REPD) controls. - What it does: It tests the REPD register. Defines 15 functions or classes, including test_global_context_keep, test_global_context_reject, test_institutional_research_rejects_general_financial_marketing, test_no_eligible_html_index_is_reported_unavailable_not_healthy, test_uk_standard_lane_still_rejects_swiss_non_uk_context. Uses libraries pathlib, sys, pytest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `test_global_context_keep(title, category)`; `test_global_context_reject(title)`; `test_institutional_research_rejects_general_financial_marketing()`; `test_no_eligible_html_index_is_reported_unavailable_not_healthy()`; `test_uk_standard_lane_still_rejects_swiss_non_uk_context()`; `test_curated_deloitte_is_attributed_without_fabricated_date_or_repd()`; `must_not_fetch(url)`; `test_bounded_html_index_keeps_english_same_host_only()`; `test_html_discovery_passes_through_context_classification()`; `test_research_is_lane_capped_without_crowding_original_world_lanes()`; `test_new_context_never_displaces_existing_headlines_at_capacity()`; `item(title, url, source, date)`; `test_swiss_national_bank_rdf_rss1_is_parsed_without_legacy_feed_changes()`; `test_rss1_rejects_unsafe_entities()`; `test_publisher_rss1_label_may_serve_valid_rss2_without_legacy_parser_change()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (sys-path 2); used by 2; mentioned by 0 ### Test Signals Acid - File: globalgrid2050/automation/news/tests/test_signals_acid.py (Python, 960 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_signals_acid.py#L1-L960 - Page: https://code.globalgrid2050.com/explore-code/s/0810.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Acid Live and Acid Report. - What it achieves (comment): It is built from the known step (`known`), the open item helper (`open_item`) and the item step (`item`). Acid suite for the project signals (top 200 solar): the combiner run end to end on fixtures, the collectors' matchers and date readers, the integrated workflow and the live checker. Its code works with 500 MW. - What it does: It tests its inputs. Defines 82 functions or classes, including known, open_item, item, part, reviewed. Uses libraries __future__, datetime, json, re, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file projects.json; JSON file false_matches.json; JSON file dates.json; JSON file tester_cases.json; JSON file tester_false_matches.json; JSON file top200_solar.json; JSON file aliases.json; JSON file reviewed_signals.json. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Agent1 Producer Strict Workflow (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `known(finding, text, strict=True)`; `open_item(text)`; `item(ref, slug, title=None, date="2026-11-01", family="trade", confidence="confirmed", publisher="Example News", **more)`; `part(team, items, stamp=COLLECTED, sources=None)`; `reviewed(items, stamp="2026-11-14T10:00:00Z")`; `world(tmp, extra_refs=(), aliases_patch=None)`; `class Run`; `__init__(self, code, doc, text, out)`; `project(self, ref)`; `combine(tmp, parts=None, now=NOW, previous=None, name="out", top200=None, aliases=None, extra_refs=(), aliases_patch=None)`; `tiers(project)`; `shown(project)`; `reports(project, title)`; `find(project, slug)`; `confirmed(one)`; `total_items(doc)`; `projects_with_items(doc)`; `base_parts(stamp=COLLECTED)`; `case_parts(cases, family="trade", team="trade")`; `test_R01_repd_9050_takes_no_headline_without_solar_farm_or_the_place(tmp_path, team, family)`; `test_R01_a_false_match_already_published_is_not_carried_into_the_next_file(tmp_path)`; `test_R01_no_collector_attaches_a_reported_false_match_as_a_confident_match(case, collector, request)`; `test_R01_confidence_is_earned_not_inherited_from_the_part(tmp_path, case)`; `test_R01_true_headlines_are_kept_as_confirmed(tmp_path)`; `test_R01_real_alias_table_no_confirmed_item_under_an_alias_that_is_not_evidenced(tmp_path)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file projects.json; JSON file false_matches.json; JSON file dates.json; JSON file tester_cases.json; JSON file tester_false_matches.json; JSON file top200_solar.json; JSON file aliases.json; JSON file reviewed_signals.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 3; mentioned by 0 ### Test Signals Official - File: globalgrid2050/automation/news/tests/test_signals_official.py (Python, 169 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_signals_official.py#L1-L169 - Page: https://code.globalgrid2050.com/explore-code/s/0811.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Official. It is built from the project step (`project`), the fake fetcher class (`FakeFetcher`) and the get step (`get`). - What it achieves (comment): Tests for `automation/news/signals/official.py`. Offline: synthetic responses in the shape each source returns. - What it does: It tests solar. Defines 15 functions or classes, including project, FakeFetcher, __init__, get, test_derive_alias_strips_place_prefix_and_storage_tail. Uses libraries __future__, json, sys, urllib.error, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file aliases.json. - Downstream impact: Used directly by 4 files: Test Signals Planning File (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Project Signals Official Workflow (globalgrid2050). - Signatures: `project(ref="12588", alias="Botley West Solar Farm", pref="EN010147", authority="The Planning Inspectorate - National Infrast...)`; `class FakeFetcher`; `__init__(self, routes)`; `get(self, url, accept="*/*")`; `test_derive_alias_strips_place_prefix_and_storage_tail()`; `test_match_needs_the_alias_in_the_title_or_summary_with_a_second_fact()`; `test_match_whole_words_exclusions_and_uncertain_aliases()`; `test_pins_csv_gives_the_newest_past_milestone_by_reference()`; `test_pins_lookup_by_alias_only_for_inspectorate_rows_without_a_national_reference()`; `test_govuk_search_keeps_matching_results_only()`; `test_one_failing_source_never_stops_a_run()`; `test_fetcher_throttles_per_host_retries_once_on_429_and_caps()`; `opener(url, accept)`; `sleep(seconds)`; `test_shipped_tables_cover_the_200()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file aliases.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 4; mentioned by 0 ### Test Signals Planning File - File: globalgrid2050/automation/news/tests/test_signals_planning_file.py (Python, 99 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_signals_planning_file.py#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0812.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Official and Planning File. - What it achieves (comment): Tests for `automation/news/signals/planning_file.py`. - What it does: It tests its inputs. Defines test_every_authority_in_the_200_has_a_register_and_every_project_a_planning_file, test_kinds_by_reference_and_authority, test_a_member_finding_is_used_only_when_it_points_at_a_case, test_verify_sets_verified_from_what_answers_and_falls_back_when_a_link_is_gone. Uses libraries __future__, json, sys, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage site_feasibility (path word 'planning'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Project Signals Official Workflow (globalgrid2050). - Signatures: `test_every_authority_in_the_200_has_a_register_and_every_project_a_planning_file()`; `test_kinds_by_reference_and_authority()`; `test_a_member_finding_is_used_only_when_it_points_at_a_case()`; `test_verify_sets_verified_from_what_answers_and_falls_back_when_a_link_is_gone()` - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (sys-path 2, import 1); used by 3; mentioned by 0 ### Test Signals Trade - File: globalgrid2050/automation/news/tests/test_signals_trade.py (Python, 526 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_signals_trade.py#L1-L526 - Page: https://code.globalgrid2050.com/explore-code/s/0812.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Trade. It writes aliases (`write_aliases`) and is built from the record step (`record`) and the project step (`project`). - What it achieves (comment): Offline tests for `automation/news/signals/trade.py`. No network: a scripted fetch stands in for the sites. Its code works with 50 MW, 840 MW and 49.9 MW. - What it does: It tests its inputs. Defines 43 functions or classes, including record, project, test_core_of, test_distinctive_phrase_matches_alone_and_is_word_bounded, test_single_word_alias_needs_a_second_term. Uses libraries __future__, datetime, json, sys, pathlib. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file aliases.json; JSON file part.json; JSON file truth.json; JSON file part.cache.json; JSON file p.json; JSON file top200_solar.json; JSON file p.cache.json. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Project Signals Trade Workflow (globalgrid2050). - Signatures: `record(ref, rank, aliases, **extra)`; `project(*args, **kwargs)`; `test_core_of(alias, core)`; `test_distinctive_phrase_matches_alone_and_is_word_bounded()`; `test_single_word_alias_needs_a_second_term()`; `test_everyday_words_need_the_solar_word_directly_after_or_the_developer()`; `test_planning_reference_matches_alone_and_exclude_drops()`; `test_unconfirmed_alias_gives_uncertain_items_and_generic_alias_is_ignored()`; `test_summary_rule_needs_alias_and_an_agreeing_fact_and_is_uncertain()`; `test_capacity_and_folded_developer_are_agreeing_facts()`; `test_same_place_other_scheme_and_far_away_solar_word_are_dropped()`; `test_search_terms()`; `test_robots_rules()`; `test_robots_group_for_this_agent_wins()`; `test_parse_wp_posts_and_search_json()`; `test_parse_rss_search()`; `test_parse_html_results_page()`; `test_date_near_reads_us_order_and_rejects_nonsense()`; `class Clock`; `__init__(self)`; `now(self)`; `sleep(self, seconds)`; `test_host_spacing_robots_and_429_retry()`; `fetch(url)`; `test_host_request_cap_and_missing_robots()` (and 13 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file aliases.json; JSON file part.json; JSON file truth.json; JSON file part.cache.json; JSON file p.json; JSON file top200_solar.json; JSON file p.cache.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 3; mentioned by 0 ### Test Spp Excluded - File: globalgrid2050/automation/news/tests/test_spp_excluded.py (Python, 102 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_spp_excluded.py#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/0813.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Pipeline Headlines. It is built from the item step (`item`) and the fetch step (`fetch`). - What it achieves (comment): Regression checks: owner-excluded publisher is not fetched or displayed. - What it does: It tests the REPD register. Defines 8 functions or classes, including item, test_config_omits_all_blocked_publisher_feeds, test_source_or_original_publisher_url_exclusion, test_manual_feed_input_does_not_trigger_publisher_network_request, fetch. Uses libraries json, pathlib, sys, pytest. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file pipeline_feeds.json; JSON file feeds.json. - Downstream impact: Used directly by 3 files: Compare Legacy Collector (globalgrid2050); GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Pipeline Headlines Workflow (globalgrid2050). - Signatures: `item(source, link, title="UK solar farm approved in Oxfordshire")`; `test_config_omits_all_blocked_publisher_feeds()`; `test_source_or_original_publisher_url_exclusion(source, url, blocked)`; `test_manual_feed_input_does_not_trigger_publisher_network_request()`; `fetch(url)`; `test_retained_old_headlines_and_syndicated_links_are_purged()`; `test_build_drops_publisher_even_when_previous_snapshot_contains_it()`; `test_load_feeds_filters_disabled_source_from_older_fixture(tmp_path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pipeline_feeds.json; JSON file feeds.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 3; mentioned by 0 ### Test Transition Context - File: globalgrid2050/automation/news/tests/test_transition_context.py (Python, 354 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_transition_context.py#L1-L354 - Page: https://code.globalgrid2050.com/explore-code/s/0813.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Build Transition Context and Grid, using SHA-256. - What it achieves (comment): It is built from the inputs step (`inputs`), the compose step (`compose`) and the rows step (`rows`). Actual typed producers composed offline; no live source acquisition. - What it does: It tests its inputs. Defines 36 functions or classes, including inputs, compose, rows, grid_claim, command. Uses libraries copy, csv, hashlib, io, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file sample_ledger.json; JSON file grid-source-fixture.json; JSON file solar-context.json; JSON file invalid.json; JSON file output.json; JSON file missing.json; JSON file policy.json; JSON file new.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `inputs()`; `compose(inputs, **kwargs)`; `rows(report, family)`; `grid_claim(inputs)`; `command(paths=None, *extra)`; `test_actual_fourteen_contexts_remain_unlinked_and_provisional(inputs)`; `test_native_records_and_source_receipts_survive_exactly(inputs)`; `test_rejection_forecast_upper_bound_and_missing_capacity_are_not_delivered(inputs)`; `test_scope_categories_do_not_allocate_portfolio_to_site(inputs)`; `test_unknown_original_hash_and_clocks_are_not_fabricated(inputs)`; `test_deterministic_complete_input_digests_and_dates(inputs)`; `test_exact_large_decimals_and_comparison_remain_shared_figures(inputs, numeric)`; `test_incompatible_measurements_do_not_become_results(inputs, numeric, field, value)`; `test_finance_stages_are_preserved_without_delivery_inference(inputs, numeric, observed_stage, expected)`; `test_policy_uncertainties_survive_composition(inputs, numeric, change)`; `test_issuer_scope_stays_issuer_and_future_deadline_is_not_delivery(inputs, numeric)`; `test_csv_roundtrip_preserves_whole_bundle_and_formula_safety(inputs)`; `test_empty_family_fails_whole_composition(inputs, family, field)`; `test_invalid_input_fails_closed(inputs, mutation)`; `test_cross_family_repeated_claim_identity_is_not_corroboration(inputs)`; `test_real_cli_utf8_export_and_no_overwrite(tmp_path, format)`; `test_cli_invalid_input_emits_no_stdout_or_file(tmp_path, payload)`; `test_cli_missing_file_and_oversized_inputs_fail(tmp_path)`; `test_library_size_bound_fails_before_returning_partial_report(inputs, monkeypatch)`; `test_csv_repeated_metadata_is_bounded_during_serialization(inputs, monkeypatch)` (and 11 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file sample_ledger.json; JSON file grid-source-fixture.json; JSON file solar-context.json; JSON file invalid.json; JSON file output.json; JSON file missing.json; JSON file policy.json; JSON file new.json]; out []; crs []; voltages [] - Edges: uses 6 estate files (import 6); used by 2; mentioned by 0 ### Test V928 DC Data - File: globalgrid2050/automation/news/tests/test_v928_dc_data.py (Python, 143 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news/tests/test_v928_dc_data.py#L1-L143 - Page: https://code.globalgrid2050.com/explore-code/s/0813.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 that uses SHA-256. It is built from the load step (`load`) and the builder step (`builder`). - What it achieves (comment): Real V9.28 cohort/data integration; no browser or facility verification claim. - What it does: It tests its inputs. Defines 9 functions or classes, including load, builder, test_real_new_edition_100_leads_22_countries_and_quarantine, test_original_twelve_semantic_fields_exact_and_null_measurements_retained, test_compact_sources_keep_full_upstream_objects_and_explicit_hash_bridge. Uses libraries copy, hashlib, importlib.util, json, pathlib. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file projects.json; JSON file selection-audit.json; JSON file source-facts.json; JSON file integration-manifest.json; JSON file pipeline-audit.json; JSON file official-projects.json; JSON file project-groups.json; Parquet file global-data-centre-records-v1.parquet. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `load(name)`; `builder()`; `test_real_new_edition_100_leads_22_countries_and_quarantine()`; `test_original_twelve_semantic_fields_exact_and_null_measurements_retained()`; `test_compact_sources_keep_full_upstream_objects_and_explicit_hash_bridge()`; `test_official_and_group_records_are_not_extra_facilities()`; `test_pinned_furnace_double_build_readback_and_new_generation(tmp_path)`; `test_source_identity_or_selection_failure_preserves_accepted_output(tmp_path, mutate)`; `test_edition_under_existing_18_mib_budget_with_working_data_delta()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file projects.json; JSON file selection-audit.json; JSON file source-facts.json; JSON file integration-manifest.json; JSON file pipeline-audit.json; JSON file official-projects.json; JSON file project-groups.json; Parquet file global-data-centre-records-v1.parquet]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### History Test - File: globalgrid2050/automation/news_history_return/20261118/history.test.mjs (JavaScript, 43 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news_history_return/20261118/history.test.mjs#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/0813.html#f4 - Synopsis: A test in the news history return folder of GlobalGrid2050. It is built from the news query helper (`newsQuery`). - What it achieves (name): Defines `declaration`, `fixture` and `newsQuery`. - What it does: It tests its inputs. Defines declaration, fixture, newsQuery. Uses libraries node:test, node:assert/strict, node:fs, node:vm. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `declaration(source,name)`; `fixture()`; `newsQuery()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Model - File: globalgrid2050/automation/news_quality_ui/20261117-v937/model.mjs (JavaScript, 32 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news_quality_ui/20261117-v937/model.mjs#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/0813.html#f5 - Synopsis: A JavaScript module in the news quality ui folder of GlobalGrid2050 that audits health (`auditHealth`) and selects entries (`selectEntries`). It audits health (`auditHealth`) and selects entries (`selectEntries`). - What it achieves (name): Defines `validClock`, `feedUrl`, `auditHealth` and 2 more. - What it does: It calculates its inputs. Defines validClock, feedUrl, auditHealth, classification, selectEntries. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: View (globalgrid2050); Contracts Test (globalgrid2050). Reached from 9 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export validClock(value)`; `export auditHealth(doc)`; `export classification(entry,ranked)`; `export selectEntries(entries,filter={},ranked=false)`; `feedUrl(value)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### News Quality UI — V937 Style Sheet - File: globalgrid2050/automation/news_quality_ui/20261117-v937/styles.css (CSS, 3 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news_quality_ui/20261117-v937/styles.css#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0813.html#f6 - Synopsis: A style sheet in the automation folder of GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### View - File: globalgrid2050/automation/news_quality_ui/20261117-v937/view.mjs (JavaScript, 29 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/news_quality_ui/20261117-v937/view.mjs#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/0814.html#f1 - Synopsis: A JavaScript module in the news quality ui folder of GlobalGrid2050 that draws health (`drawHealth`). It draws health (`drawHealth`) and is built from the attach step (`attach`). - What it achieves (name): Defines `values`, `drawHealth`, `update` and 1 more. It responds to input, change and click events. - What it does: It draws its content. Defines el, values, drawHealth, update, attach. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); Header (globalgrid2050). Reached from 7 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents). - Signatures: `el(tag,text)`; `values(entries,key,ranked)`; `drawHealth()`; `apply(reset=true)`; `update(view)`; `attach()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Browser - File: globalgrid2050/automation/pipeline_legal_evidence/browser.py (Python, 54 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_legal_evidence/browser.py#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/0814.html#f2 - Synopsis: A Python command-line tool in the pipeline legal evidence folder of GlobalGrid2050 covering acceptance. It is built from the run step (`run`). - What it achieves (comment): Exercise the full PipelineNews project panel and the public legal reader. - What it does: Defines run. Uses libraries argparse, json, os, pathlib, threading. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. Out: JSON file acceptance.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `run(output)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file acceptance.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Install - File: globalgrid2050/automation/pipeline_legal_evidence/install.py (Python, 22 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_legal_evidence/install.py#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0814.html#f3 - Synopsis: A Python command-line tool in the pipeline legal evidence folder of GlobalGrid2050 that creates a candidate project renderer from the selected version, without editing its input. - What it achieves (name): Defines `patch`. - What it does: It loads data. Defines patch. Uses libraries argparse, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Preview (globalgrid2050). Reached from 1 other entry point, including Browser (globalgrid2050). - Signatures: `patch(source)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Link - File: globalgrid2050/automation/pipeline_legal_evidence/link.mjs (JavaScript, 27 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_legal_evidence/link.mjs#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0814.html#f4 - Synopsis: A JavaScript module in the pipeline legal evidence folder of GlobalGrid2050 using data from the legislation repository. - What it achieves (name): It is built from the legal evidence URL helper (`legalEvidenceURL`) and the legal evidence action helper (`legalEvidenceAction`). Defines `legalEvidenceURL` and `legalEvidenceAction`. - What it does: It calculates its inputs. Defines legalEvidenceURL, legalEvidenceAction. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 3 files: Link Test (globalgrid2050); Projects V9 8 (globalgrid2050); Report Model (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 17 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); Report A4 (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050). - Signatures: `export legalEvidenceURL(project, pathname = globalThis.location?.pathname ?? "")`; `export legalEvidenceAction(project)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 3; mentioned by 0 ### Link Test - File: globalgrid2050/automation/pipeline_legal_evidence/link.test.mjs (JavaScript, 24 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_legal_evidence/link.test.mjs#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0814.html#f5 - Synopsis: A test in the pipeline legal evidence folder of GlobalGrid2050 that checks Link. - What it does: It tests solar. Uses libraries node:assert/strict, node:test. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Live V977 - File: globalgrid2050/automation/pipeline_legal_evidence/live_v977.py (Python, 49 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_legal_evidence/live_v977.py#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/0814.html#f6 - Synopsis: A Python command-line tool in the pipeline legal evidence folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register. It is built from the run step (`run`). - What it achieves (comment): Open the production REPD edition, its public legal reader and the reader's original data source. - What it does: Defines run. Uses libraries json, os, pathlib, urllib.parse, playwright.sync_api. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Out: JSON file receipt.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pipeline V977 Live Workflow (globalgrid2050). - Signatures: `run(output)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Preview - File: globalgrid2050/automation/pipeline_legal_evidence/preview.py (Python, 72 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_legal_evidence/preview.py#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/0814.html#f7 - Synopsis: A Python command-line tool in the pipeline legal evidence folder of GlobalGrid2050 that sends bytes (`send_bytes`). It is built from the preview class (`Preview`) and the do get helper (`do_GET`). - What it achieves (comment): Serve the accepted PipelineNews shell with its candidate renderer on localhost. It accepts `--port`. - What it does: It fetches data. Defines Preview, do_GET, send_bytes. Uses libraries argparse, mimetypes, os, http.server, pathlib. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Browser (globalgrid2050). - Signatures: `class Preview`; `do_GET(self)`; `send_bytes(self, body, mime)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Journey Entry - File: globalgrid2050/automation/pipeline_public/journey-entry.mjs (JavaScript, 56 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_public/journey-entry.mjs#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/0814.html#f8 - Synopsis: A JavaScript module in the pipeline public folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and substations, using SHA-256, and uses data from the GridAtlas repository. - What it achieves (comment): Unintercepted public sender -> accepted Vicinity controller. Its code works with 400 kV. - What it does: It draws the REPD register and substations. Uses libraries node:assert/strict, node:fs, node:crypto, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations, 400kV. - Inputs & outputs: In: data source: gridatlas data. Out: JSON file receipt.json. Voltage levels named: 400kV. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data]; out [JSON file receipt.json]; crs []; voltages [400kV] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Browser Check - File: globalgrid2050/automation/pipeline_release/browser_check.mjs (JavaScript, 223 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/browser_check.mjs#L1-L223 - Page: https://code.globalgrid2050.com/explore-code/s/0814.html#f9 - Synopsis: A JavaScript module in the pipeline release folder of GlobalGrid2050 that runs probe (`runProbe`), covering the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It runs probe (`runProbe`) and is built from the sleep step (`sleep`) and the send step (`send`). Load Pipeline News version pages in headless Chrome and record what a reader's browser sees. - What it does: It draws the REPD register. Defines 11 functions or classes, including sleep, send, runProbe, visitBlocked, evaluate. Uses libraries node:child_process, node:fs, node:crypto, node:os, node:path. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Verify (globalgrid2050). Reached from 5 other entry points, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Publish Pipeline V923 Ledger Workflow (globalgrid2050); GlobalGrid2050 V923 Six Hour Python Repair Workflow (globalgrid2050). - Signatures: `sleep(ms)`; `send(method, params = {}, sessionId)`; `runProbe(evaluate, probe)`; `visitBlocked(id, probe)`; `evaluate(expression)`; `visit(id, vp)`; `listen(msg)`; `fail(u, why)`; `q(s)`; `links(sel)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Datacentre Context - File: globalgrid2050/automation/pipeline_release/build_datacentre_context.py (Python, 74 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/build_datacentre_context.py#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/0814.html#f10 - Synopsis: A Python command-line tool in the pipeline release folder of GlobalGrid2050 that reads PipelineNews datacentre context, datacentre proximity, nearest datacentre and datacentres, using SHA-256. - What it achieves (comment): It is built from the sha step (`sha`). Copy the Renewable Energy Planning Database (REPD) and data-centre proximity context into a version folder. - What it does: It loads PipelineNews datacentre context, datacentre proximity, nearest datacentre and datacentres. Defines sha, main. Uses libraries hashlib, json, shutil, sys, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentre'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file pipelinenews_datacentre_context.json; JSON file datacentre_proximity.json; JSON file nearest_datacentre.json; JSON file datacentres.json; command-line arguments. Out: JSON file datacentres.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha(path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pipelinenews_datacentre_context.json; JSON file datacentre_proximity.json; JSON file nearest_datacentre.json; JSON file datacentres.json; command-line arguments]; out [JSON file datacentres.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Register Events - File: globalgrid2050/automation/pipeline_release/build_register_events.py (Python, 46 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/build_register_events.py#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/0814.html#f11 - Synopsis: A Python command-line tool in the pipeline release folder of GlobalGrid2050 that reads register changes and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): Reduce the REPD register-change events to the rows a Pipeline News version carries. - What it does: It loads register changes and the REPD register. Defines main. Uses libraries hashlib, json, sys, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file repd_events_2026q3.json; JSON file build_manifest.json; command-line arguments. Out: JSON file register_changes.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file repd_events_2026q3.json; JSON file build_manifest.json; command-line arguments]; out [JSON file register_changes.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Deeplinks - File: globalgrid2050/automation/pipeline_release/check_deeplinks.mjs (JavaScript, 74 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/check_deeplinks.mjs#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/0815.html#f1 - Synopsis: A JavaScript module in the pipeline release folder of GlobalGrid2050 that reads grid engine contract and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the strip step (`strip`) and the contract faults helper (`contractFaults`). Every row of one version, against two contracts. - What it does: It loads grid engine contract and the REPD register. Defines strip, contractFaults. Uses libraries node:fs/promises, node:crypto, node:url, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file grid_engine_contract.json; JSON file build_manifest.json; command-line arguments. - Downstream impact: Used directly by 1 file: Verify (globalgrid2050). Reached from 5 other entry points, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Publish Pipeline V923 Ledger Workflow (globalgrid2050); GlobalGrid2050 V923 Six Hour Python Repair Workflow (globalgrid2050). - Signatures: `strip(u)`; `contractFaults(href, row)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file grid_engine_contract.json; JSON file build_manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check Template - File: globalgrid2050/automation/pipeline_release/check_template.mjs (JavaScript, 123 lines) · role automation · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/check_template.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0815.html#f2 - Synopsis: A JavaScript module in the pipeline release folder of GlobalGrid2050 that reads major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). `check_v`@NUM@.mjs - Pipeline News V@VERSION@, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It loads major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Code Census - File: globalgrid2050/automation/pipeline_release/code_census.py (Python, 107 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/code_census.py#L1-L107 - Page: https://code.globalgrid2050.com/explore-code/s/0815.html#f3 - Synopsis: A Python module in the pipeline release folder of GlobalGrid2050 that reads summary and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It is built from the git step (`git`), the group step (`group`) and the kind step (`kind`). Read-only census of committed Pipeline News files; identical blobs counted once. It accepts `--ref`, `--current` and `--output`. - What it does: It loads summary and the REPD register. Defines git, group, kind, summarise, total. Uses libraries argparse, collections, csv, json, pathlib. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file files.csv; command-line arguments. Out: JSON file summary.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pipeline Code Census Workflow (globalgrid2050). - Signatures: `git(*args)`; `group(path)`; `kind(path)`; `summarise(items)`; `total(rows,key)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file files.csv; command-line arguments]; out [JSON file summary.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Code Line Delta - File: globalgrid2050/automation/pipeline_release/code_line_delta.py (Python, 94 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/code_line_delta.py#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/0815.html#f4 - Synopsis: A Python command-line tool in the pipeline release folder of GlobalGrid2050. It is built from the git step (`git`), the versions step (`versions`) and the entries step (`entries`). - What it achieves (comment): Quick immutable Pipeline News release delta; no checkout of copied app trees. It accepts `--ref`, `--current` and `--previous`. - What it does: Defines 7 functions or classes, including git, versions, entries, text_lines, compare. Uses libraries argparse, difflib, json, pathlib, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. Out: JSON file delta.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pipeline Code Census Workflow (globalgrid2050). - Signatures: `git(*args)`; `versions(ref)`; `entries(ref,version)`; `text_lines(sha)`; `compare(ref,previous,current)`; `totals(rows)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file delta.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Automation — Pipeline Release - File: globalgrid2050/automation/pipeline_release/common.py (Python, 98 lines) · role automation · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/common.py#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/0815.html#f5 - Synopsis: A Python module in GlobalGrid2050 that validates registry metadata (`validate_registry_metadata`), loads registry (`load_registry`) and saves registry (`save_registry`), using SHA-256. - What it achieves (comment): It is built from the walk step (`walk`), the sha256 step (`sha256`) and the tree hash helper (`tree_hash`). Shared helpers for the Pipeline News release train (standard library only). - What it does: It loads data. Defines 8 functions or classes, including walk, sha256, tree_hash, re_runner, data_digest. Uses libraries hashlib, json, os, subprocess, tempfile. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file registry.json. - Downstream impact: Used directly by 7 files: Test Release Audit (globalgrid2050); Test Release Feature Migrations (globalgrid2050); Feature Contracts (globalgrid2050); New Version (globalgrid2050); and 3 more. Reached from 14 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Publish Pipeline V923 Ledger Workflow (globalgrid2050). - Signatures: `walk(folder: Path)`; `sha256(path: Path)`; `tree_hash(version_id: str, root: Path = ROOT)`; `re_runner(path)`; `data_digest(folder: Path)`; `validate_registry_metadata(reg)`; `load_registry()`; `save_registry(reg)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file registry.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### Edition History - File: globalgrid2050/automation/pipeline_release/edition_history.mjs (JavaScript, 28 lines) · role automation · stage unknown - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/edition_history.mjs#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0815.html#f6 - Synopsis: A JavaScript module in the pipeline release folder of GlobalGrid2050 that works with protected edition changes (`protectedEditionChanges`). - What it achieves (comment): It is built from the protected edition changes helper (`protectedEditionChanges`) and the git step (`git`). Test-only guard: every numeric edition directory in the pinned base is immutable. - What it does: It lists and searches its content. Defines protectedEditionChanges, git. Uses libraries node:child_process. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 9 files: Edition History Test (globalgrid2050); Invariants (globalgrid2050); Invariants (globalgrid2050); Invariants (globalgrid2050); and 5 more. Reached from 7 other entry points, including GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050); GlobalGrid2050 V929 Preview Acceptance Workflow (globalgrid2050); GlobalGrid2050 V930 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export protectedEditionChanges({cwd,base})`; `git(args)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 9; mentioned by 0 ### Feature Contracts - File: globalgrid2050/automation/pipeline_release/feature_contracts.py (Python, 349 lines) · role automation · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/feature_contracts.py#L1-L349 - Page: https://code.globalgrid2050.com/explore-code/s/0816.html#f1 - Synopsis: A Python module in the pipeline release folder of GlobalGrid2050 that fetches ticker, official projects, project groups and selection audit, using SHA-256. - What it achieves (comment): It checks features (`check_features`) and is built from the semantic step (`semantic`) and the handle starttag helper (`handle_starttag`). Inherited features, including explicit, executable presentation migrations. It reads `../202611161630/global-datacentres/projects.json`. - What it does: It fetches ticker, official projects, project groups and selection audit. Defines 10 functions or classes, including _ticker_neon, _global_dc_ui, semantic, _Scripts, __init__. Uses libraries json, hashlib, re, html.parser. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file ticker.v940.json; JSON file projects.json; JSON file official-projects.json; JSON file project-groups.json; JSON file selection-audit.json; JSON file pipeline_headlines.snapshot.json; JSON file priority.json; CSV file priority.csv. - Downstream impact: Used directly by 5 files: Test Release Feature Migrations (globalgrid2050); New Version (globalgrid2050); Verify (globalgrid2050); Test Migration (globalgrid2050); and 1 more. Reached from 15 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Publish Pipeline V923 Ledger Workflow (globalgrid2050). - Signatures: `_ticker_neon(folder, source)`; `_global_dc_ui(folder, source)`; `semantic(row)`; `class _Scripts`; `__init__(self, html)`; `handle_starttag(self, tag, attrs)`; `_news_internal(folder, source)`; `_research_internal(folder, source)`; `_solar_inline(folder, source)`; `check_features(version, by_id, pipeline)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file ticker.v940.json; JSON file projects.json; JSON file official-projects.json; JSON file project-groups.json; JSON file selection-audit.json; JSON file pipeline_headlines.snapshot.json; JSON file priority.json; CSV file priority.csv]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 5; mentioned by 0 ### New Version - File: globalgrid2050/automation/pipeline_release/new_version.py (Python, 177 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/new_version.py#L1-L177 - Page: https://code.globalgrid2050.com/explore-code/s/0816.html#f2 - Synopsis: A Python command-line tool in the pipeline release folder of GlobalGrid2050 that reads the Renewable Energy Planning Database (REPD) register from the GridAtlas repository. - What it achieves (comment): It writes text (`write_text`) and is built from the num step (`num`) and the migration records helper (`migration_records`). Start and finish a Pipeline News version by the existing pattern. Its code works with 1 MW. It writes `index.html`. - What it does: It loads the REPD register. Defines write_text, num, migration_records, create, finalize. Uses libraries re, shutil, sys, datetime. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; command-line arguments. - Downstream impact: Used directly by 4 files: Test Release Audit (globalgrid2050); Test Release Feature Migrations (globalgrid2050); Test Compact Successor (globalgrid2050); Repair (globalgrid2050). Reached from 8 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 V923 Six Hour Python Repair Workflow (globalgrid2050). - Signatures: `write_text(path, text)`; `num(version)`; `migration_records(flags)`; `create(new_id, version, title, state="BUILD", dry_run=False)`; `finalize(new_id, added, faults, features, state="published", feature_migrations=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 2, estate-url 1); used by 4; mentioned by 0 ### Runner Template - File: globalgrid2050/automation/pipeline_release/runner_template.sh (Shell, 88 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/runner_template.sh#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/0816.html#f3 - Synopsis: A shell script in the pipeline release folder of GlobalGrid2050 covering interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Edition History Test - File: globalgrid2050/automation/pipeline_release/tests/edition_history.test.mjs (JavaScript, 96 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/tests/edition_history.test.mjs#L1-L96 - Page: https://code.globalgrid2050.com/explore-code/s/0817.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Edition History. It is built from the write step (`write`). - What it achieves (name): Defines `frozen`, `fixture`, `git` and 1 more. It writes `uk_renewables_pipeline/v7/index.html`. - What it does: It tests its inputs. Defines frozen, fixture, git, write. Uses libraries node:assert/strict, node:child_process, node:fs, node:os, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: GlobalGrid2050 V932 Preview Acceptance Workflow (globalgrid2050); GlobalGrid2050 V933 Preview Acceptance Workflow (globalgrid2050). - Signatures: `frozen(id)`; `fixture(run,{numeric=true}={})`; `git(args)`; `write(path,text='original\n')` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 2; mentioned by 0 ### Test Compact Successor - File: globalgrid2050/automation/pipeline_release/tests/test_compact_successor.py (Python, 45 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/tests/test_compact_successor.py#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0817.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks New Version. - What it achieves (comment): Successor editions must preserve the approved compact shell and frozen parent. - What it does: It tests its inputs. Defines test_create_successor_from_real_compact_or_legacy_shell. Uses libraries sys, pathlib, pytest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 6 files: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 V929 Preview Acceptance Workflow (globalgrid2050); GlobalGrid2050 V930 Preview Acceptance Workflow (globalgrid2050); GlobalGrid2050 V931 Preview Acceptance Workflow (globalgrid2050); and 2 more. - Signatures: `test_create_successor_from_real_compact_or_legacy_shell(tmp_path, monkeypatch, parent_id, version, next_version)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 6; mentioned by 0 ### Test Registry Metadata - File: globalgrid2050/automation/pipeline_release/tests/test_registry_metadata.py (Python, 125 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/tests/test_registry_metadata.py#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/0817.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Automation — Pipeline Release and Verify. - What it achieves (comment): It sets up (`setUp`) and is built from the registry metadata tests class (`RegistryMetadataTests`) and the cleanup temp helper (`cleanup_temp`). Malformed CI records must fail before the full release/browser verification. - What it does: It tests its inputs. Defines 13 functions or classes, including RegistryMetadataTests, setUp, cleanup_temp, write, bad_string_record. Uses libraries copy, html, json, pathlib, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file registry.json. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Publish Pipeline V923 Ledger Workflow (globalgrid2050); GlobalGrid2050 Verify Pipeline Versions Workflow (globalgrid2050). - Signatures: `class RegistryMetadataTests`; `setUp(self)`; `cleanup_temp(self)`; `write(self, data)`; `bad_string_record(self)`; `test_missing_null_empty_and_extended_metadata_round_trip_unchanged(self)`; `test_reported_url_string_is_rejected_with_release_and_field(self)`; `test_verify_rejects_string_before_scratch_tree_or_runner_work(self)`; `test_save_rejects_bad_metadata_before_existing_bytes_change(self)`; `test_other_non_object_ci_values_are_rejected(self)`; `test_optional_renderer_fields_require_strings(self)`; `test_string_content_and_extra_metadata_are_not_rewritten_or_enum_limited(self)`; `test_actual_corrected_registry_metadata_renders_all_versions(self)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file registry.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (sys-path 2); used by 3; mentioned by 0 ### Verify - File: globalgrid2050/automation/pipeline_release/verify.py (Python, 232 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/pipeline_release/verify.py#L1-L232 - Page: https://code.globalgrid2050.com/explore-code/s/0817.html#f4 - Synopsis: A Python command-line tool in the pipeline release folder of GlobalGrid2050 that reads browser, probes, GridAtlas state and versions. - What it achieves (comment): It is built from the run step (`run`), the state line helper (`state_line`) and the render step (`render`). Verify every Pipeline News version from onward and compare each with its parent. - What it does: It loads browser, probes, GridAtlas state and versions. Defines run, main, state_line, render. Uses libraries html, json, os, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file browser.json; JSON file probes.json; JSON file gridatlas_state.json; JSON file versions.json; command-line arguments. Out: JSON file probes.json; JSON file versions.json. - Downstream impact: Used directly by 4 files: Test Registry Metadata (globalgrid2050); GlobalGrid2050 Publish Pipeline V923 Ledger Workflow (globalgrid2050); GlobalGrid2050 V923 Six Hour Python Repair Workflow (globalgrid2050); GlobalGrid2050 Verify Pipeline Versions Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `run(cmd, **kw)`; `main()`; `state_line(s)`; `render(doc)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file browser.json; JSON file probes.json; JSON file gridatlas_state.json; JSON file versions.json; command-line arguments]; out [JSON file probes.json; JSON file versions.json]; crs []; voltages [] - Edges: uses 5 estate files (script-call 3, import 2); used by 4; mentioned by 0 ### Canvas - File: globalgrid2050/automation/price_daily_ui/78d5360239e1a5fcffa83fcb30d5937c5521acb9/canvas.mjs (JavaScript, 53 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/price_daily_ui/78d5360239e1a5fcffa83fcb30d5937c5521acb9/canvas.mjs#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/0817.html#f5 - Synopsis: A JavaScript module in the price daily ui folder of GlobalGrid2050 that draws daily (`drawDaily`) (units: MWh). - What it achieves (comment): It draws daily (`drawDaily`) and is built from the money step (`money`) and the tick step helper (`tickStep`). V6 canvas design: Courier, dark field, cyan mean/gold high/red low, GBP axes. - What it does: It draws its content. Defines money, tickStep, drawDaily, X. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 1 file: View (globalgrid2050). - Signatures: `export drawDaily(canvas,result)`; `money(n)`; `tickStep(span)`; `X(date)` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Model - File: globalgrid2050/automation/price_daily_ui/78d5360239e1a5fcffa83fcb30d5937c5521acb9/model.mjs (JavaScript, 105 lines) · role storage · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/price_daily_ui/78d5360239e1a5fcffa83fcb30d5937c5521acb9/model.mjs#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/0817.html#f6 - Synopsis: A JavaScript module in the price daily ui folder of GlobalGrid2050 that reads sources and daily, using SHA-256 from the data-GB-electricity repository. - What it achieves (comment): It validates index (`validateIndex`), validates year (`validateYear`) and reads pinned (`readPinned`). Daily historical system-sell data only. The data owner defines its grain. It reads `index.json`. - What it does: It loads sources and daily. Defines 17 functions or classes, including fail, integer, hash, immutable, dateMs. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: data-gb-electricity data; JSON file index.json; JSON file sources.json; Parquet file daily.parquet. - Downstream impact: Used directly by 3 files: Canvas (globalgrid2050); View (globalgrid2050); Contracts Test (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 V931 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export dateMs(date)`; `export dateAt(n)`; `export expectedPeriods(date)`; `export validateIndex(index)`; `export validateYear(data,part,index)`; `export readPinned(url,pin,transport=fetch)`; `export createStore(transport=fetch)`; `export summarise(rows)`; `export segments(rows,field)`; `export trailingWindow(end,days,first)`; `fail(ok,message)`; `integer(n,max=2000000)`; `hash(s)`; `immutable(value)`; `lastSunday(year,month)`; `pin(value,path,max)`; `year(n)`; `rows(await Promise.all(years.map(year)))` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: data-gb-electricity data; JSON file index.json; JSON file sources.json; Parquet file daily.parquet]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Automation — Price Daily UI Style Sheet - File: globalgrid2050/automation/price_daily_ui/78d5360239e1a5fcffa83fcb30d5937c5521acb9/styles.css (CSS, 11 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/price_daily_ui/78d5360239e1a5fcffa83fcb30d5937c5521acb9/styles.css#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/0817.html#f7 - Synopsis: A style sheet in GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### View - File: globalgrid2050/automation/price_daily_ui/78d5360239e1a5fcffa83fcb30d5937c5521acb9/view.mjs (JavaScript, 69 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/price_daily_ui/78d5360239e1a5fcffa83fcb30d5937c5521acb9/view.mjs#L1-L69 - Page: https://code.globalgrid2050.com/explore-code/s/0818.html#f1 - Synopsis: A JavaScript module in the price daily ui folder of GlobalGrid2050 that draws sources. - What it achieves (name): It is built from the mount daily prices helper (`mountDailyPrices`), the clear results helper (`clearResults`) and the unavailable step (`unavailable`). Defines `number`, `element`, `anchor` and 5 more. It responds to change events. - What it does: It draws sources. Defines 8 functions or classes, including number, element, anchor, mountDailyPrices, clearResults. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file index.json; JSON file sources.json. - Signatures: `export mountDailyPrices(host,{transport=fetch}={})`; `number(n)`; `element(doc,tag,text,cls)`; `anchor(doc,label,url)`; `clearResults()`; `unavailable(message)`; `paint(result)`; `load()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file sources.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Renewable Energy Planning Database (REPD) Build News - File: globalgrid2050/automation/repd/build_news.py (Python, 290 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/build_news.py#L1-L290 - Page: https://code.globalgrid2050.com/explore-code/s/0818.html#f2 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that reads project spine and the REPD register, using SHA-256. - What it achieves (comment): It hashes tree (`hash_tree`), replaces once (`replace_once`) and sets JSON scalar (`set_json_scalar`). Build a Pipeline News release-folder candidate for a new REPD quarter. It accepts `--repo`, `--parent` and `--release`. - What it does: It loads project spine and the REPD register. Defines 7 functions or classes, including sha256_file, hash_tree, replace_once, set_json_scalar, build_identity. Uses libraries __future__, argparse, hashlib, json, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file project-spine.v7.2.json; JSON file release.v9.1.json; JSON file build_manifest.json; JSON file release.v9.5.1.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha256_file(path: Path)`; `hash_tree(root: Path, subdirs: list[str], exclude: Path | None)`; `replace_once(text: str, old: str, new: str, label: str)`; `set_json_scalar(text: str, block: str, key: str, value, label: str)`; `build_identity(repo: Path, canonical_csv: Path, manifest: dict, out: Path)`; `run(cmd: list[str])`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file project-spine.v7.2.json; JSON file release.v9.1.json; JSON file build_manifest.json; JSON file release.v9.5.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Renewable Energy Planning Database (REPD) Build Root - File: globalgrid2050/automation/repd/build_root.py (Python, 246 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/build_root.py#L1-L246 - Page: https://code.globalgrid2050.com/explore-code/s/0818.html#f3 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that reads REPD grid batteries, REPD solar operational over 4MW, REPD master and the REPD register, using SHA-256. - What it achieves (comment): It reads canonical (`read_canonical`), normalises descriptor (`normalise_descriptor`) and builds master (`build_master`). Root-format REPD datasets for a new release, built from the cleaned canonical CSV. Its code works with 1 MW and 4 MW. It accepts `--out`, `--repo-root` and `--descriptor`. - What it does: It loads REPD grid batteries, REPD solar operational over 4MW, REPD master and the REPD register. Defines 11 functions or classes, including _norm, _capacity, read_canonical, _write_csv, _sha256. Uses libraries __future__, argparse, csv, hashlib, io. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file repd.csv; CSV file repd-grid-batteries.csv; CSV file repd-solar-operational.csv; CSV file repd-solar-operational-over-4mw.csv; JSON file repd_master.json; JSON file manifest_v4.json; command-line arguments. - Downstream impact: Used directly by 1 file: Test Hardening Nl013 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `_norm(name: str)`; `_capacity(value: str)`; `read_canonical(path: Path)`; `_write_csv(path: Path, header: list[str], rows: list[dict])`; `_sha256(path: Path)`; `normalise_descriptor(descriptor: dict | None)`; `solar_operational_header(official_header: list[str], legacy_file: Path | None)`; `build_master(canonical_csv: Path, repo_root: Path)`; `build_root(canonical_csv, out_dir, repo_root=None, descriptor=None, label=None)`; `operational_solar(row, floor)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file repd.csv; CSV file repd-grid-batteries.csv; CSV file repd-solar-operational.csv; CSV file repd-solar-operational-over-4mw.csv; JSON file repd_master.json; JSON file manifest_v4.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Build V6 - File: globalgrid2050/automation/repd/build_v6.py (Python, 241 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/build_v6.py#L1-L241 - Page: https://code.globalgrid2050.com/explore-code/s/0819.html#f1 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that reads project identity, major projects, major project news and the REPD register, using SHA-256. - What it achieves (comment): It hashes manifest (`hash_manifest`), compares manifests (`compare_manifests`) and loads JSON (`load_json`). Run the EXISTING V6 identity chain for a new REPD release, additively. Its code works with 1 MW, 1.0 MW and 100 MW. It accepts `--descriptor`, `--out` and `--input-root`. - What it does: It loads project identity, major projects, major project news and the REPD register. Defines 7 functions or classes, including sha256_file, hash_manifest, compare_manifests, load_json, spine_population. Uses libraries __future__, argparse, glob, hashlib, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file project_identity_v6.json; JSON file major_projects_v6.json; JSON file major_project_news_v6.json; command-line arguments. - Downstream impact: Used directly by 1 file: Test Build V6 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `sha256_file(path: Path)`; `hash_manifest(root: Path, patterns: list[str])`; `compare_manifests(before: dict, after: dict)`; `load_json(path: Path)`; `spine_population(records: list[dict])`; `stability_report(old_identity: dict, new_identity: dict, old_projects: dict, new_projects: dict, news: dict | None = None)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file project_identity_v6.json; JSON file major_projects_v6.json; JSON file major_project_news_v6.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Clean - File: globalgrid2050/automation/repd/clean.py (Python, 848 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/clean.py#L1-L848 - Page: https://code.globalgrid2050.com/explore-code/s/0819.html#f2 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that hashes paths, builds log and verifies against official, covering official, REPD cleaned and cleaning log, using SHA-256. - What it achieves (comment): It cleans options (`CleanOptions`), cleans result (`CleanResult`) and cleans text (`clean_text`). REPD cleaning step: official CSV + XLSX -> canonical cleaned CSV + complete cleaning log. Its code works with 0.0050001 MW. It accepts `--csv`, `--xlsx` and `--out`. - What it does: It lists and searches official, REPD cleaned, cleaning log and the REPD register. Defines 21 functions or classes, including CleaningRejected, __init__, CleanOptions, CleanResult, sha256. Uses libraries __future__, argparse, csv, hashlib, io. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file official.csv; Excel file official.xlsx; CSV file REPD_cleaned.csv; JSON file cleaning_log.json; command-line arguments. Out: JSON file cleaning_log.json. - Downstream impact: Used directly by 1 file: Conftest (globalgrid2050). Reached from 4 other entry points, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); Test Clean (globalgrid2050); Test Date Rule (globalgrid2050). - Signatures: `class CleaningRejected`; `__init__(self, reasons: list[str])`; `class CleanOptions`; `class CleanResult`; `sha256(raw: bytes)`; `clean_text(value: str, whitespace: str = "control")`; `parse_number(text)`; `format_number(value: float)`; `excel_text(cell: "dr.XCell")`; `_cmp_norm(text: str)`; `hash_paths(paths: list[Path])`; `manifest_diff(before: dict[str, str], after: dict[str, str])`; `serialise(header: list[str], rows: list[list[str]])`; `clean(csv_raw: bytes, xlsx_raw: bytes, options: CleanOptions | None = None, csv_name: str = "official.csv", xlsx_name: str ...)`; `_valid_dmy(text: str)`; `cross_check(names, c_header, out_rows, out_refs, x_by_ref, date_cols, num_date_columns)`; `build_log(*, inputs, opts, c_header, out_header, header_changes, removed_rows, changes, rule, out_bytes, out_rows, names, na_pr...)`; `verify_against_official(csv_raw: bytes, out_bytes: bytes, log: dict)`; `render_text_log(log: dict)`; `_generated_at(explicit: str | None)`; `main(argv: list[str] | None = None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file official.csv; Excel file official.xlsx; CSV file REPD_cleaned.csv; JSON file cleaning_log.json; command-line arguments]; out [JSON file cleaning_log.json]; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 1; mentioned by 0 ### Automation — Renewable Energy Planning Database (REPD) - File: globalgrid2050/automation/repd/config.py (Python, 180 lines) · role docs-config · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/config.py#L1-L180 - Page: https://code.globalgrid2050.com/explore-code/s/0820.html#f2 - Synopsis: A Python module in GlobalGrid2050 that reads REPD publication q3, REPD q2 jul and the REPD register, using SHA-256. - What it achieves (comment): It is built from the descriptor error class (`DescriptorError`), the quarter from filename helper (`quarter_from_filename`) and the quarter from label helper (`quarter_from_label`). REPD release descriptor: one JSON file per quarterly DESNZ publication. - What it does: It loads REPD publication q3, REPD q2 jul and the REPD register. Defines 14 functions or classes, including DescriptorError, quarter_from_filename, quarter_from_label, release_id_for, quarter_text. Uses libraries __future__, json, re, dataclasses, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file REPD_Publication_Q3_2026.csv; CSV file repd-q2-jul-2025.csv. - Downstream impact: Used directly by 5 files: Renewable Energy Planning Database (REPD) Detect (globalgrid2050); Renewable Energy Planning Database (REPD) Fetch (globalgrid2050); Renewable Energy Planning Database (REPD) Monthly (globalgrid2050); Test Detect Fetch (globalgrid2050); and 1 more. Reached from 2 other entry points, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Monthly Workflow (globalgrid2050). - Signatures: `class DescriptorError`; `quarter_from_filename(name: str)`; `quarter_from_label(label: str)`; `release_id_for(year: int, q: int)`; `quarter_text(year: int, q: int)`; `class Expected`; `class ReleaseDescriptor`; `validate(self)`; `to_dict(self)`; `from_dict(cls, d: dict)`; `load(path)`; `dump(desc: ReleaseDescriptor, path)`; `load_all(directory=RELEASES_DIR)`; `known_hashes(descriptors)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file REPD_Publication_Q3_2026.csv; CSV file repd-q2-jul-2025.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Renewable Energy Planning Database (REPD) Date Rule - File: globalgrid2050/automation/repd/date_rule.py (Python, 571 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/date_rule.py#L1-L571 - Page: https://code.globalgrid2050.com/explore-code/s/0821.html#f1 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that reads date rule summary, date rule provenance and the REPD register. - What it achieves (comment): It cleans ref (`clean_ref`), classifies number format (`classify_number_format`) and resolves cell (`resolve_cell`). General CSV/Excel date reconciliation rule for REPD quarterly extracts. It accepts `--out`, `--as-of` and `--require`. - What it does: It loads date rule summary, date rule provenance and the REPD register. Defines 23 functions or classes, including XCell, DateRuleResult, ok, month_first_cells, failure_messages. Uses libraries __future__, csv, io, json, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file date_rule_provenance.csv; command-line arguments. Out: JSON file date_rule_summary.json. - Downstream impact: Used directly by 2 files: Renewable Energy Planning Database (REPD) Clean (globalgrid2050); Conftest (globalgrid2050). Reached from 4 other entry points, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); Test Clean (globalgrid2050); Test Date Rule (globalgrid2050). - Signatures: `class XCell`; `class DateRuleResult`; `ok(self)`; `month_first_cells(self)`; `failure_messages(self, limit: int = 10)`; `summary(self)`; `collapse_header(name)`; `clean_ref(value)`; `classify_number_format(code: str | None, num_fmt_id: int | None = None)`; `_is_blank_token(text: str, blank_tokens: Iterable[str])`; `_valid(year: int, month: int, day: int)`; `_as_date(value)`; `_fmt(d: date)`; `resolve_cell(csv_text: str, cell: XCell, blank_tokens: Iterable[str] = DEFAULT_BLANK_TOKENS)`; `done(rule: str, output: str = "", **extra)`; `read_csv_table(raw: bytes)`; `_cell_fmt_id(cell)`; `read_xlsx_table(raw: bytes, sheet: str | None = None, required_headers: Iterable[str] = ("Ref ID",))`; `_index(rows: list, ref_position: int, as_key: Callable, label: str, structural: list[str])`; `evaluate(csv_raw: bytes, xlsx_raw: bytes, *, sheet: str | None = None, **options)`; `write_provenance_csv(result: DateRuleResult, path)`; `main(argv: list[str] | None = None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file date_rule_provenance.csv; command-line arguments]; out [JSON file date_rule_summary.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Renewable Energy Planning Database (REPD) Detect - File: globalgrid2050/automation/repd/detect.py (Python, 227 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/detect.py#L1-L227 - Page: https://code.globalgrid2050.com/explore-code/s/0822.html#f1 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that detects error and parses publication and content API, covering detect report and the REPD register, using SHA-256. - What it achieves (comment): It detects error (`DetectError`), parses publication HTML (`parse_publication_html`) and parses content API (`parse_content_api`). Discover the current REPD release on GOV.UK and emit a release descriptor. It accepts `--kind`, `--from-file` and `--baseline`. - What it does: It lists and searches detect report and the REPD register. Defines 14 functions or classes, including DetectError, _Links, __init__, handle_starttag, handle_endtag. Uses libraries __future__, argparse, json, re, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: command-line arguments. Out: JSON file detect_report.json. - Downstream impact: Used directly by 2 files: Renewable Energy Planning Database (REPD) Monthly (globalgrid2050); Test Detect Fetch (globalgrid2050). Reached from 3 other entry points, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Monthly Workflow (globalgrid2050); Test Monthly (globalgrid2050). - Signatures: `class DetectError`; `class _Links`; `__init__(self)`; `handle_starttag(self, tag, attrs)`; `handle_endtag(self, tag)`; `handle_data(self, data)`; `_attachment(url: str, title: str)`; `parse_publication_html(html: str, base: str = config.SOURCE_PAGE)`; `parse_content_api(payload)`; `_pick(atts: list[dict], role: str)`; `build_descriptor(parsed: dict)`; `compare(candidate: config.ReleaseDescriptor, baseline: Optional[config.ReleaseDescriptor])`; `detect(fetcher: Fetcher, kind: str = "api", baseline: Optional[config.ReleaseDescriptor] = None)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file detect_report.json]; crs []; voltages [] - Edges: uses 2 estate files (python-relative 2); used by 2; mentioned by 0 ### Renewable Energy Planning Database (REPD) Diff - File: globalgrid2050/automation/repd/diff.py (Python, 1003 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/diff.py#L1-L1003 - Page: https://code.globalgrid2050.com/explore-code/s/0822.html#f2 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that reads solar and the REPD register, using SHA-256. It cleans ref (`clean_ref`), parses num (`parse_num`) and parses date (`parse_date`). - What it achieves (comment): REPD release-over-release change report. Its code works with 1 MW and 0.0051 MW. It accepts `--previous`, `--new` and `--out`. - What it does: It loads solar and the REPD register. Defines 45 functions or classes, including DiffError, collapse, clean_ref, parse_num, parse_date. Uses libraries __future__, argparse, csv, hashlib, io. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register. - Inputs & outputs: In: JSON file diff.json; command-line arguments. Out: JSON file diff.json. - Downstream impact: Used directly by 6 files: Binder (globalgrid2050); Build Feed (globalgrid2050); Events (globalgrid2050); Test Binder (globalgrid2050); and 2 more. Reached from 4 other entry points, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); Test Events (globalgrid2050). - Signatures: `class DiffError`; `collapse(value)`; `clean_ref(value)`; `parse_num(value)`; `parse_date(value)`; `norm_value(col: str, raw)`; `values_differ(col: str, a, b, tol: float)`; `r3(x)`; `ref_key(ref: str)`; `sha256_file(path)`; `_canon_header(name: str)`; `_finish(records: list, header: list, info: dict)`; `load_csv(path, header_reference=None)`; `load_identity_json(path)`; `load_previous(path, header_reference=None)`; `class Agg`; `__init__(self)`; `add(self, mw)`; `out(self)`; `cap_of(rec)`; `text(rec, col)`; `total(recs)`; `group(recs, keyf)`; `compare_groups(old_recs, new_recs, keyf)`; `brief(rec)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file diff.json; command-line arguments]; out [JSON file diff.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### Renewable Energy Planning Database (REPD) Fetch - File: globalgrid2050/automation/repd/fetch.py (Python, 288 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/fetch.py#L1-L288 - Page: https://code.globalgrid2050.com/explore-code/s/0824.html#f1 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that fetches fetch receipt and the REPD register, using SHA-256. - What it achieves (comment): It fetches refused (`FetchRefused`), checks response (`check_response`) and hashes tree (`hash_tree`). Download a REPD release (CSV + XLSX) described by a release descriptor. It accepts `--descriptor`, `--out` and `--from-dir`. - What it does: It fetches fetch receipt and the REPD register. Defines 19 functions or classes, including FetchRefused, Response, redirected, utc_now, sha256. Uses libraries __future__, argparse, hashlib, json, sys. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file fetch_receipt.json; command-line arguments. - Downstream impact: Used directly by 3 files: Renewable Energy Planning Database (REPD) Detect (globalgrid2050); Renewable Energy Planning Database (REPD) Monthly (globalgrid2050); Test Detect Fetch (globalgrid2050). Reached from 3 other entry points, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Monthly Workflow (globalgrid2050); Test Monthly (globalgrid2050). - Signatures: `class FetchRefused`; `class Response`; `redirected(self)`; `utc_now()`; `sha256(raw: bytes)`; `file_name(url: str)`; `class _Recorder`; `__init__(self)`; `redirect_request(self, req, fp, code, msg, headers, newurl)`; `urllib_fetcher(use_env_proxy: bool = True, attempts: int = 3, timeout: int = 75)`; `fetch(url: str)`; `local_fetcher(directory, redirects: Optional[dict] = None)`; `check_response(resp: Response, role: str, desc: config.ReleaseDescriptor, registry: dict)`; `hash_tree(paths, exclude=None)`; `compare_hashes(before: dict, after: dict)`; `_write_once(path: Path, data: bytes)`; `fetch_release(desc: config.ReleaseDescriptor, out_dir, fetcher: Fetcher, registry: Optional[dict] = None)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file fetch_receipt.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 3; mentioned by 0 ### Renewable Energy Planning Database (REPD) Hashguard - File: globalgrid2050/automation/repd/hashguard.py (Python, 430 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/hashguard.py#L1-L430 - Page: https://code.globalgrid2050.com/explore-code/s/0824.html#f2 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that reads manifest (`read_manifest`), writes manifest (`write_manifest`) and lists worktree files (`list_worktree_files`), using SHA-256. - What it achieves (comment): It guards error (`GuardError`) and is built from the id kind helper (`id_kind`) and the is git worktree helper (`is_git_worktree`). "no truncation of previous work" guard. It accepts `--git`, `--rev` and `--root`. - What it does: It loads data. Defines 22 functions or classes, including GuardError, _unquote, read_manifest, write_manifest, id_kind. Uses libraries argparse, datetime, fnmatch, hashlib, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. Out: JSON file. - Downstream impact: Used directly by 1 file: Test Hashguard (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `class GuardError`; `_unquote(p)`; `read_manifest(path)`; `write_manifest(snap, path)`; `id_kind(snap)`; `_git(repo, *args, input_bytes=None)`; `is_git_worktree(root)`; `raw_blob_id(path)`; `sha256_id(path)`; `git_hash_paths(root, paths, filters=True)`; `_exists(root, p)`; `snapshot_git(repo, rev='HEAD')`; `snapshot_sha256(root, paths)`; `list_worktree_files(root)`; `class Snap`; `__init__(self, *a, **k)`; `snapshot_worktree(root, kind='git', paths=None, full_hash=False)`; `load_allow(patterns=None, files=None)`; `allowed(path, patterns)`; `compare(before, after, allow=(), max_list=None)`; `_parse_git_spec(spec)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Monthly - File: globalgrid2050/automation/repd/monthly.py (Python, 303 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/monthly.py#L1-L303 - Page: https://code.globalgrid2050.com/explore-code/s/0825.html#f2 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that reads the REPD register, project identity, major projects and solar, using SHA-256. - What it achieves (comment): It finds published (`find_published`), writes descriptors (`write_descriptors`) and adds allowlist (`add_allowlist`). Monthly REPD check: has GOV.UK published new REPD bytes? It accepts `--out`, `--repo-root` and `--automation-dir`. - What it does: It loads the REPD register, project identity, major projects and solar. Defines 13 functions or classes, including NeedsPerson, quarter_from_date, release_name, find_published, download. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: CSV file repd.csv; JSON file project_identity_v6.json; JSON file major_projects_v6.json; command-line arguments. Out: JSON file result.json. - Downstream impact: Used directly by 2 files: Test Monthly (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Monthly Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `class NeedsPerson`; `quarter_from_date(day: str)`; `release_name(yq: tuple[int, int])`; `find_published(fetcher, api_file: str | None = None)`; `download(fetcher, url: str, role: str, raw_dir: Path)`; `counts(csv_path: Path, xlsx_path: Path, repo_root: Path)`; `first_existing(repo_root: Path, *rels: str)`; `write_descriptors(pub: dict, files: dict, n: dict, prev: str | None, auto_dir: Path, repo_root: Path)`; `allowlist_lines(rid: str, folder: str)`; `add_allowlist(repo_root: Path, rid: str, folder: str)`; `run(args, res: dict)`; `summary(res: dict)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file repd.csv; JSON file project_identity_v6.json; JSON file major_projects_v6.json; command-line arguments]; out [JSON file result.json]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Automation — Renewable Energy Planning Database (REPD) - File: globalgrid2050/automation/repd/run.py (Python, 1377 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/run.py#L1-L1377 - Page: https://code.globalgrid2050.com/explore-code/s/0825.html#f3 - Synopsis: A Python command-line tool in GlobalGrid2050 that fetches REPD publication q3, REPD grid batteries, REPD solar operational over 4MW and REPD master, using SHA-256. - What it achieves (comment): It writes JSON (`write_json`), runs context (`RunContext`) and loads module (`load_module`). REPD release-candidate orchestrator. It writes `detect_report.json`. It accepts `--label`, `--release-folder` and `--descriptor`. - What it does: It fetches REPD publication q3, REPD grid batteries, REPD solar operational over 4MW and REPD master. Defines 68 functions or classes, including utc_now, sha256_file, sha256_bytes, write_json, StageError. Uses libraries __future__, argparse, dataclasses, datetime, fnmatch. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file REPD_Publication_Q3_2026.csv; Excel file REPD_Publication_Q3_2026.xlsx; CSV file repd.csv; CSV file repd-grid-batteries.csv; CSV file repd-solar-operational.csv; CSV file repd-solar-operational-over-4mw.csv; JSON file repd_master.json; JSON file manifest_v4.json. Out: CSV file. - Downstream impact: Used directly by 4 files: Test Hardening Nl013 (globalgrid2050); Test Run (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Monthly Workflow (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Release Candidate Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `utc_now()`; `sha256_file(path: Path)`; `sha256_bytes(data: bytes)`; `write_json(path: Path, payload: Any)`; `class StageError`; `class RunContext`; `label(self)`; `folder(self)`; `stage_dir(self, name: str)`; `pr_dir(self)`; `load_module(module_name: str)`; `find_component(stage: str)`; `call_component(fn: Callable, pool: dict[str, Any])`; `normalise_result(result: Any)`; `first_path(result: dict[str, Any], *keys: str)`; `common_pool(ctx: RunContext, out_dir: Path)`; `iter_protected(repo_root: Path, globs: list[str])`; `hash_manifest(repo_root: Path, globs: list[str])`; `compare_manifests(before: dict[str, Any], after: dict[str, Any])`; `check_known_pins(repo_root: Path)`; `allowed_new_path_patterns(label: str, folder: str)`; `is_allowed_new_path(rel: str, label: str, folder: str)`; `load_large_file_allowlist(repo_root: Path)`; `large_file_allowed(rel: str, patterns: list[str])`; `paths_existing_in_repo(repo_root: Path, rels: list[str])` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file REPD_Publication_Q3_2026.csv; Excel file REPD_Publication_Q3_2026.xlsx; CSV file repd.csv; CSV file repd-grid-batteries.csv; CSV file repd-solar-operational.csv; CSV file repd-solar-operational-over-4mw.csv; JSON file repd_master.json; JSON file manifest_v4.json]; out [CSV file]; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Acceptance - File: globalgrid2050/automation/repd/tests/acceptance.py (Python, 1105 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/acceptance.py#L1-L1105 - Page: https://code.globalgrid2050.com/explore-code/s/0827.html#f2 - Synopsis: A Python command-line tool in the tests folder of GlobalGrid2050 that tests Renewable Energy Planning Database (REPD) grid batteries, REPD solar operational over 4MW and REPD master, using SHA-256. - What it achieves (comment): It cleans ref (`clean_ref`), reads CSV (`read_csv`) and reads xlsx (`read_xlsx`). End-to-end acceptance harness for a REPD release candidate. Its code works with 1 MW and 4 MW. It accepts `--official-csv`, `--official-xlsx` and `--xlsx-sheet`. - What it does: It tests REPD grid batteries, REPD solar operational over 4MW, REPD master and the REPD register. Defines 43 functions or classes, including norm_ws, norm_header, demojibake, is_mojibake, to_float. Uses libraries __future__, argparse, csv, datetime, decimal. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file repd.csv; CSV file repd-grid-batteries.csv; CSV file repd-solar-operational.csv; CSV file repd-solar-operational-over-4mw.csv; JSON file repd_master.json; command-line arguments. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Test Acceptance (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `norm_ws(s: str)`; `norm_header(h: str)`; `demojibake(s: str)`; `is_mojibake(s: str)`; `to_float(s)`; `clean_ref(v)`; `sha256_file(p: Path)`; `decimals(s: str)`; `excel_serial(d: _dt.datetime)`; `month_first_format(fmt: str)`; `class CsvFile`; `nheader(self)`; `index(self)`; `read_csv(path: Path, prefer: str = "utf-8")`; `class XlsxData`; `_unescape_ooxml(s: str)`; `read_xlsx(path: Path, sheet: str = "REPD")`; `class Check`; `class Report`; `__init__(self)`; `add(self, cid, ok, summary, **details)`; `skip(self, cid, why)`; `failed(self)`; `to_json(self)`; `text(self)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file repd.csv; CSV file repd-grid-batteries.csv; CSV file repd-solar-operational.csv; CSV file repd-solar-operational-over-4mw.csv; JSON file repd_master.json; command-line arguments]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Conftest - File: globalgrid2050/automation/repd/tests/conftest.py (Python, 111 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/conftest.py#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/0829.html#f2 - Synopsis: A Python module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register. It makes CSV (`make_csv`) and makes xlsx (`make_xlsx`). - What it achieves (comment): Synthetic official-style REPD fixtures for the cleaning step. - What it does: It tests the REPD register. Defines 6 functions or classes, including base_rows, _csv_text, make_csv, make_xlsx, rule. Uses libraries __future__, csv, io, sys, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 4 files: Test Clean (globalgrid2050); Test Date Rule (globalgrid2050); Test Monthly (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `base_rows(n: int = 6)`; `_csv_text(value)`; `make_csv(rows: list[dict], overrides: dict | None = None, columns: list[str] | None = None, newline: str = "\r\n", encoding: s...)`; `make_xlsx(rows: list[dict], formats: dict | None = None, overrides: dict | None = None, columns: list[str] | None = None)`; `rule()`; `cl()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (sys-path 2); used by 4; mentioned by 0 ### Publication 2026q2 - File: globalgrid2050/automation/repd/tests/fixtures/detect_fetch/publication_2026q2.html (HTML, 7 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/fixtures/detect_fetch/publication_2026q2.html#L1-L7 - Page: https://code.globalgrid2050.com/explore-code/s/0829.html#f3 - Published at: https://globalgrid2050.com/automation/repd/tests/fixtures/detect_fetch/publication_2026q2.html - Synopsis: A web page in the detect fetch folder of GlobalGrid2050 that tests Renewable Energy Planning Database (REPD) publication q2 and the REPD register. Published at https://globalgrid2050.com/automation/repd/tests/fixtures/detect_fetch/publication_2026q2.html. - What it achieves (comment): Constructed fixture: the page as described for the July 2026 release. - What it does: It tests REPD publication q2 and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file REPD_Publication_Q2_2026.csv; Excel file REPD_Publication_Q2_2026.xlsx. Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/automation/repd/tests/fixtures/detect_fetch/publication_2026q2.html. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file REPD_Publication_Q2_2026.csv; Excel file REPD_Publication_Q2_2026.xlsx]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Publication 2026q3 - File: globalgrid2050/automation/repd/tests/fixtures/detect_fetch/publication_2026q3.html (HTML, 21 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/fixtures/detect_fetch/publication_2026q3.html#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0829.html#f4 - Published at: https://globalgrid2050.com/automation/repd/tests/fixtures/detect_fetch/publication_2026q3.html - Synopsis: A web page in the detect fetch folder of GlobalGrid2050 that tests Renewable Energy Planning Database (REPD) publication q3 and the REPD register. Published at https://globalgrid2050.com/automation/repd/tests/fixtures/detect_fetch/publication_2026q3.html. - What it achieves (comment): Constructed fixture modelled on GOV.UK publication pages; not a captured page. - What it does: It tests REPD publication q3 and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file REPD_Publication_Q3_2026.csv; Excel file REPD_Publication_Q3_2026.xlsx; CSV file repd.csv. Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/automation/repd/tests/fixtures/detect_fetch/publication_2026q3.html. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file REPD_Publication_Q3_2026.csv; Excel file REPD_Publication_Q3_2026.xlsx; CSV file repd.csv]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Harness - File: globalgrid2050/automation/repd/tests/pages/harness.js (JavaScript, 441 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/pages/harness.js#L1-L441 - Page: https://code.globalgrid2050.com/explore-code/s/0829.html#f5 - Synopsis: A JavaScript module in the pages folder of GlobalGrid2050 that tests Renewable Energy Planning Database (REPD) grid batteries, REPD solar operational over 4MW and REPD master, using EPSG:27700 and SHA-256. - What it achieves (comment): It encodes cp1252 (`encodeCp1252`), describes bytes (`describeBytes`) and extracts papa script (`extractPapaScript`). REPD page harness: runs the real data-loading / row-processing JavaScript of the site pages that read the root REPD datasets, in Node, without a browser. - What it does: It tests REPD grid batteries, REPD solar operational over 4MW, REPD master and the REPD register. Defines 21 functions or classes, including encodeCp1252, browserDecode, describeBytes, sha256, inlineScripts. Uses libraries fs, path, vm, crypto, papaparse. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file repd.csv; CSV file repd-grid-batteries.csv; CSV file repd-solar-operational-over-4mw.csv; CSV file repd-solar-operational.csv; JSON file repd_master.json; command-line arguments. Out: interactive map. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: Harness Test (globalgrid2050); Renewable Energy Planning Database (REPD) — Tests (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); Test Pages Harness (globalgrid2050). - Signatures: `st(r['Development Status'] || 'Unknown')`; `encodeCp1252(text)`; `browserDecode(bytes, opts = {})`; `describeBytes(bytes)`; `sha256(b)`; `inlineScripts(html)`; `extractPapaScript(pageText)`; `extractAtlasLayers(html)`; `makeSandbox(datasetText)`; `chain(extra = {})`; `cluster()`; `draw()`; `$(sel)`; `on(ev, fn)`; `DataTable(cfg)`; `el()`; `parse(url, cfg)`; `runCsvPage(page, script, datasetText)`; `classify(page, rows, fields)`; `capRaw(row['Installed Capacity (MWelec)'] || '')`; `analyseCsvPage(page, script, bytes, opts = {})`; `evalExpr(e, p)`; `analyseAtlas(file, html, bytes)`; `staleText(text)`; `hashTree(files)` (and 2 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file repd.csv; CSV file repd-grid-batteries.csv; CSV file repd-solar-operational-over-4mw.csv; CSV file repd-solar-operational.csv; JSON file repd_master.json; command-line arguments]; out [interactive map]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Harness Test - File: globalgrid2050/automation/repd/tests/pages/harness.test.js (JavaScript, 86 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/pages/harness.test.js#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/0829.html#f6 - Synopsis: A test in the pages folder of GlobalGrid2050 that checks Harness. - What it does: It tests solar, battery storage (BESS) and the REPD register. Uses libraries node:test, node:assert, fs, path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS), the REPD register. - Inputs & outputs: In: CSV file mini.csv; CSV file repd.csv; JSON file repd_master.json. - Downstream impact: Used directly by 1 file: Test Pages Harness (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file mini.csv; CSV file repd.csv; JSON file repd_master.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (require 1); used by 1; mentioned by 0 ### Make Standin - File: globalgrid2050/automation/repd/tests/pages/make_standin.py (Python, 130 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/pages/make_standin.py#L1-L130 - Page: https://code.globalgrid2050.com/explore-code/s/0830.html#f1 - Synopsis: A Python command-line tool in the pages folder of GlobalGrid2050 that tests Renewable Energy Planning Database (REPD) grid batteries, REPD solar operational over 4MW, REPD master and standin counts. - What it achieves (comment): It reads rows (`read_rows`) and writes CSV (`write_csv`). Build a STAND-IN set of October root datasets for the page harness. Its code works with 1 MW and 4 MW. It writes `repd.csv`. It accepts `--staged`, `--out` and `--repo`. - What it does: It tests REPD grid batteries, REPD solar operational over 4MW, REPD master and standin counts. Defines 6 functions or classes, including norm, capacity, read_rows, write_csv, main. Uses libraries __future__, argparse, csv, io, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file repd.csv; CSV file repd-grid-batteries.csv; CSV file repd-solar-operational-over-4mw.csv; CSV file repd-solar-operational.csv; JSON file repd_master.json; command-line arguments. Out: JSON file repd_master.json; JSON file STANDIN_COUNTS.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: Renewable Energy Planning Database (REPD) — Tests (globalgrid2050); Test Pages Harness (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `norm(h: str)`; `capacity(v: str)`; `read_rows(path: Path)`; `write_csv(path: Path, header, rows)`; `main(argv=None)`; `cap(r)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file repd.csv; CSV file repd-grid-batteries.csv; CSV file repd-solar-operational-over-4mw.csv; CSV file repd-solar-operational.csv; JSON file repd_master.json; command-line arguments]; out [JSON file repd_master.json; JSON file STANDIN_COUNTS.json]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Renewable Energy Planning Database (REPD) — Tests - File: globalgrid2050/automation/repd/tests/pages/run.sh (Shell, 15 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/pages/run.sh#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/0830.html#f2 - Synopsis: A shell script in the pages folder of GlobalGrid2050 that tests REPD solar operational and the REPD register. - What it does: It tests REPD solar operational and the REPD register. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file repd-solar-operational.csv; JSON file results.json. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file repd-solar-operational.csv; JSON file results.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 0; mentioned by 0 ### Test Pages Harness - File: globalgrid2050/automation/repd/tests/pages/test_pages_harness.py (Python, 82 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/pages/test_pages_harness.py#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/0830.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Make Standin and Harness Test. - What it achieves (comment): Pytest entry points for the page harness (synthetic fixtures only, no network). - What it does: It tests its inputs. Defines _staged, test_filters_and_encoding, test_columns_like_subset, test_missing_column_fails_closed, test_node_harness_unit_tests. Uses libraries csv, io, json, shutil, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file staged.csv; JSON file STANDIN_COUNTS.json; CSV file repd.csv; CSV file repd-grid-batteries.csv; CSV file repd-solar-operational.csv; CSV file repd-solar-operational-over-4mw.csv; CSV file like.csv; CSV file bad.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `_staged(tmp_path, rows, bom=True)`; `test_filters_and_encoding(tmp_path)`; `test_columns_like_subset(tmp_path)`; `test_missing_column_fails_closed(tmp_path)`; `test_node_harness_unit_tests()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file staged.csv; JSON file STANDIN_COUNTS.json; CSV file repd.csv; CSV file repd-grid-batteries.csv; CSV file repd-solar-operational.csv; CSV file repd-solar-operational-over-4mw.csv; CSV file like.csv; CSV file bad.csv]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, script-call 1); used by 1; mentioned by 0 ### Reconstruct V6 Canonical - File: globalgrid2050/automation/repd/tests/reconstruct_v6_canonical.py (Python, 45 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/reconstruct_v6_canonical.py#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0830.html#f4 - Synopsis: A Python module in the tests folder of GlobalGrid2050. - What it achieves (comment): Rebuild the identity-relevant columns of the July V6 canonical CSV from the committed `dist/project_identity_v6.json` (the canonical CSV itself was never committed), so the identity stage can be re-run under the default (July) descriptor and compared byte-for-byte. - What it does: It tests its inputs. Uses libraries csv, json, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Test Build V6 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Acceptance - File: globalgrid2050/automation/repd/tests/test_acceptance.py (Python, 388 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/test_acceptance.py#L1-L388 - Page: https://code.globalgrid2050.com/explore-code/s/0830.html#f5 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Acceptance. It makes official (`make_official`), makes cleaned (`make_cleaned`) and writes CSV (`write_csv`). - What it achieves (comment): Synthetic-fixture tests for `acceptance.py` (no network, no real data needed). It writes `repd-2026q3.csv`. - What it does: It tests its inputs. Defines 44 functions or classes, including blank, setv, make_official, make_cleaned, write_csv. Uses libraries __future__, csv, datetime, io, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file official.csv; Excel file official.xlsx; CSV file cleaned.csv; JSON file baseline.json; CSV file repd-2026q3.csv; CSV file bat.csv; CSV file solar.csv; CSV file over4.csv. Out: JSON file m.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `blank()`; `setv(row, col, v)`; `make_official()`; `make_cleaned(off_rows)`; `write_csv(path, header, rows, enc="utf-8", term="\n")`; `write_xlsx(path, off_rows)`; `solar_op_rows(rows)`; `build(tmp_path, damage=None)`; `cfg(p, **kw)`; `failed(rep)`; `test_correct_candidate_passes_everything(tmp_path)`; `test_without_xlsx_xlsx_classes_fail_closed(tmp_path)`; `test_disallowed_class_fails(tmp_path)`; `test_missing_and_duplicated_refs(tmp_path)`; `dmg(d)`; `test_unclassified_value_change(tmp_path)`; `test_month_first_left_or_blanked(tmp_path)`; `test_mojibake_in_subset(tmp_path)`; `test_non_utf8_full_file(tmp_path)`; `test_bare_cr_and_broken_records(tmp_path)`; `test_embedded_line_break_left_in_output(tmp_path)`; `test_subset_missing_row_and_reformatted_numbers(tmp_path)`; `test_blank_capacity_never_passes_threshold(tmp_path)`; `test_solar_op_header_must_match_january(tmp_path)`; `test_master_drift(tmp_path)` (and 8 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file official.csv; Excel file official.xlsx; CSV file cleaned.csv; JSON file baseline.json; CSV file repd-2026q3.csv; CSV file bat.csv; CSV file solar.csv; CSV file over4.csv]; out [JSON file m.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Test Build News - File: globalgrid2050/automation/repd/tests/test_build_news.py (Python, 92 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/test_build_news.py#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/0831.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). - What it achieves (comment): Unit tests for `automation/repd/build_news.py` (synthetic fixtures, no network, no real data). - What it does: It tests the REPD register, solar and battery storage (BESS). Defines 6 functions or classes, including test_set_json_scalar_keeps_layout_and_scopes_to_block, test_set_json_scalar_fails_closed_on_missing_key, test_replace_once_requires_exactly_one_match, test_spine_line_matches_the_shipped_builder_line, test_hash_tree_excludes_release_and_git_but_keeps_pycache. Uses libraries __future__, importlib.util, json, sys, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: JSON file a.json; CSV file x.csv; Excel file x.xlsx; JSON file m.json; JSON file r.json. Out: JSON file a.json; JSON file b.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `test_set_json_scalar_keeps_layout_and_scopes_to_block()`; `test_set_json_scalar_fails_closed_on_missing_key()`; `test_replace_once_requires_exactly_one_match()`; `test_spine_line_matches_the_shipped_builder_line()`; `test_hash_tree_excludes_release_and_git_but_keeps_pycache(tmp_path)`; `test_refuses_existing_release_and_scratch_inside_repo(tmp_path, monkeypatch)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file a.json; CSV file x.csv; Excel file x.xlsx; JSON file m.json; JSON file r.json]; out [JSON file a.json; JSON file b.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Build V6 - File: globalgrid2050/automation/repd/tests/test_build_v6.py (Python, 299 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/test_build_v6.py#L1-L299 - Page: https://code.globalgrid2050.com/explore-code/s/0831.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Renewable Energy Planning Database (REPD) Build V6 and Reconstruct V6 Canonical, using SHA-256. - What it achieves (comment): It makes rows (`make_rows`), writes sources (`write_sources`) and runs build (`run_build`). Tests for the descriptor-parameterised V6 chain (synthetic fixtures, no network). - What it does: It tests its inputs. Defines 14 functions or classes, including make_rows, write_sources, counts, descriptor, run_build. Uses libraries __future__, csv, hashlib, importlib.util, io. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file REPD.csv; Excel file REPD.xlsx; JSON file manifest_v6.json; JSON file repd_source_reconciliation_v6.json; CSV file latest_repd_v6_canonical.csv; JSON file project_identity_v6.json; JSON file major_projects_v6.json; JSON file repd_source_reconciliation_2026q2.json. Out: JSON file major_project_news_v6.json; JSON file project_news_links_v6.json; CSV file. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `make_rows(n=1005, *, variant="a")`; `write_sources(tmp: Path, rows, name, *, conflict=False)`; `counts(rows)`; `descriptor(tmp, csv_path, xlsx_path, rows, suffix, **extra)`; `run_build(desc, out, root, csv_path, xlsx_path)`; `clean_env()`; `test_default_descriptor_is_july()`; `test_descriptor_requires_out_dir_and_new_suffix(tmp_path)`; `test_two_release_chain_and_stability(tmp_path)`; `test_conflicting_duplicate_fails_closed(tmp_path)`; `test_hash_wrong_fails_and_writes_no_identity(tmp_path)`; `test_hash_manifest_detects_change(tmp_path)`; `test_default_path_matches_original_reconcile(tmp_path)`; `test_july_identity_stage_regenerates_byte_identical(tmp_path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file REPD.csv; Excel file REPD.xlsx; JSON file manifest_v6.json; JSON file repd_source_reconciliation_v6.json; CSV file latest_repd_v6_canonical.csv; JSON file project_identity_v6.json; JSON file major_projects_v6.json; JSON file repd_source_reconciliation_2026q2.json]; out [JSON file major_project_news_v6.json; JSON file project_news_links_v6.json; CSV file]; crs []; voltages [] - Edges: uses 2 estate files (sys-path 1, script-call 1); used by 1; mentioned by 0 ### Test Clean - File: globalgrid2050/automation/repd/tests/test_clean.py (Python, 354 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/test_clean.py#L1-L354 - Page: https://code.globalgrid2050.com/explore-code/s/0832.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Conftest, using SHA-256. It reads out (`read_out`) and is built from the run step (`run`) and the cell step (`cell`). - What it achieves (comment): Tests of the cleaning step (`automation/repd/clean.py`) on small synthetic fixtures. - What it does: It tests the REPD register. Defines 35 functions or classes, including run, read_out, cell, test_clean_release_has_no_changes_and_verifies, test_output_encoding_order_and_terminators. Uses libraries __future__, csv, io, json, datetime. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file R.csv; Excel file R.xlsx; CSV file C.csv; JSON file cleaning_log.json; CSV file REPD_cleaned.csv. Out: CSV file R.csv; Excel file R.xlsx. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `run(cl, csv_bytes, xlsx_bytes, **opts)`; `read_out(result)`; `cell(result, ref, column)`; `test_clean_release_has_no_changes_and_verifies(cl)`; `test_output_encoding_order_and_terminators(cl)`; `test_normalise_headers_is_opt_in_and_logged(cl)`; `test_identical_duplicate_kept_once_and_logged(cl)`; `test_conflicting_duplicate_rejects(cl)`; `test_duplicate_differing_only_in_whitespace_is_conflicting(cl)`; `test_duplicate_count_must_match_workbook(cl)`; `test_ref_sets_differ_rejects(cl)`; `test_blank_ref_rejects(cl)`; `test_month_first_csv_corrected_from_typed_excel_date(cl)`; `test_month_first_in_an_appeal_column_is_also_handled(cl)`; `test_swap_without_month_first_format_rejects(cl)`; `test_unparseable_date_rejects(cl)`; `test_na_blanked_only_in_date_columns_and_counted(cl)`; `test_all_date_cells_strict_dd_mm_yyyy(cl)`; `test_edge_control_whitespace_trimmed_and_breaks_replaced(cl)`; `test_whitespace_only_cells_outside_dates_are_kept(cl)`; `test_capacity_kept_as_csv_text_by_default(cl)`; `test_capacity_excel_precision_flag(cl)`; `test_capacity_excel_flag_rejects_disagreement(cl)`; `test_offshore_wind_round_restored_from_excel_number(cl)`; `test_number_stored_as_date_with_unexpected_csv_text_rejects(cl)` (and 10 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file R.csv; Excel file R.xlsx; CSV file C.csv; JSON file cleaning_log.json; CSV file REPD_cleaned.csv]; out [CSV file R.csv; Excel file R.xlsx]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Test Date Rule - File: globalgrid2050/automation/repd/tests/test_date_rule.py (Python, 193 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/test_date_rule.py#L1-L193 - Page: https://code.globalgrid2050.com/explore-code/s/0832.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Conftest. It is built from the xcell step (`xcell`). - What it achieves (comment): Unit tests of the general date rule (`automation/repd/date_rule.py`; ported from work8). - What it does: It tests the REPD register. Defines 21 functions or classes, including xcell, test_number_format_classification, test_day_first_text_matches_typed_date, test_unpadded_day_first_text_is_repadded, test_month_first_text_needs_month_first_format. Uses libraries __future__, datetime, pytest. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file p.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `xcell(rule, value=D, fmt=LOCALE_SHORT_DATE, fmt_id=14)`; `test_number_format_classification(rule, code, fmt_id, expected)`; `test_day_first_text_matches_typed_date(rule)`; `test_unpadded_day_first_text_is_repadded(rule)`; `test_month_first_text_needs_month_first_format(rule)`; `test_ambiguous_swap_is_corrected_only_with_month_first_format(rule)`; `test_month_first_format_with_day_equal_month_is_invariant(rule)`; `test_day_first_text_under_month_first_format_is_accepted_as_day_first(rule)`; `test_iso_text(rule)`; `test_failures_against_a_typed_date(rule, text, expected)`; `test_time_component_is_not_silently_truncated(rule)`; `test_blank_equivalents(rule, csv_text, xl_value, token)`; `test_true_blank_is_not_a_provenance_event(rule)`; `test_csv_date_with_blank_or_untyped_excel(rule)`; `test_table_rule_discovers_date_columns_and_month_first_cells_without_being_told(rule)`; `test_number_formatted_as_date_in_a_text_column_is_reported_not_treated_as_date_column(rule)`; `test_required_date_column_holding_text_fails(rule)`; `test_structural_failures(rule)`; `test_strict_csv_reader_refuses_short_record(rule)`; `test_future_and_serial_artefact_flags_do_not_fail(rule)`; `test_provenance_records_every_non_empty_cell(rule, tmp_path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file p.csv]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Test Detect Fetch - File: globalgrid2050/automation/repd/tests/test_detect_fetch.py (Python, 264 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/test_detect_fetch.py#L1-L264 - Page: https://code.globalgrid2050.com/explore-code/s/0833.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Automation — Renewable Energy Planning Database (REPD) and Renewable Energy Planning Database (REPD) Detect, using SHA-256. - What it achieves (comment): It is built from the static step (`static`), the synthetic desc helper (`synthetic_desc`) and the do get helper (`do_GET`). Tests for `config.py`, `detect.py` and `fetch.py`. - What it does: It tests its inputs. Defines 26 functions or classes, including static, f, synthetic_desc, test_descriptors_load_and_registry, test_quarter_parsing. Uses libraries copy, http.server, json, sys, threading. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 2026q2.json; JSON file 2026q3.json; CSV file REPD_Publication_Q3_2026.csv; CSV file repd-q2-jul-2025.csv; CSV file repd-october-2023.csv; JSON file x.json; JSON file content_api_2026q3.json; JSON file detect_report.json. Out: CSV file repd.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `static(mapping, redirects=None, status=200)`; `f(url)`; `synthetic_desc(**exp)`; `test_descriptors_load_and_registry()`; `test_quarter_parsing()`; `test_descriptor_rejects_mislabel()`; `test_registry_refuses_hash_pinned_twice()`; `test_roundtrip(tmp_path)`; `test_detect_content_api_fixture()`; `test_detect_html_fixture_ignores_preview_script_and_foreign_links()`; `test_detect_html_q2_fixture_vs_q3_baseline_is_older()`; `test_detect_same_quarter_new_urls_is_replacement()`; `test_detect_fails_closed_on_title_file_disagreement_and_missing()`; `test_detect_cli_offline(tmp_path)`; `test_fetch_writes_raw_and_receipt(tmp_path)`; `test_unpinned_fetch_is_marked(tmp_path)`; `test_trap_redirect_to_newer_quarter_refused_and_nothing_written(tmp_path)`; `test_trap_silent_substitution_caught_by_hash_registry(tmp_path)`; `test_expected_sha_mismatch_and_html_and_bad_xlsx_refused(tmp_path)`; `test_same_quarter_redirect_accepted_with_warning(tmp_path)`; `test_urllib_fetcher_records_real_redirect_chain(tmp_path)`; `class H`; `do_GET(self)`; `log_message(self, *a)`; `test_hash_guard_detects_change(tmp_path)` (and 1 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 2026q2.json; JSON file 2026q3.json; CSV file REPD_Publication_Q3_2026.csv; CSV file repd-q2-jul-2025.csv; CSV file repd-october-2023.csv; JSON file x.json; JSON file content_api_2026q3.json; JSON file detect_report.json]; out [CSV file repd.csv]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Test Diff - File: globalgrid2050/automation/repd/tests/test_diff.py (Python, 234 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/test_diff.py#L1-L234 - Page: https://code.globalgrid2050.com/explore-code/s/0833.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Renewable Energy Planning Database (REPD) Diff. - What it achieves (comment): It writes CSV (`write_csv`) and is built from the row step (`row`) and the files step (`files`). Tests for `automation/repd/diff.py` using small synthetic fixtures (no network, no real data). Its code works with 100 MW. It writes `old.csv`. - What it does: It tests its inputs. Defines 17 functions or classes, including row, write_csv, files, test_csv_to_csv_core_numbers, test_outputs_written_and_deterministic. Uses libraries csv, json, os, pathlib, pytest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file old.csv; CSV file new.csv; JSON file diff.json; JSON file project_identity_v6.json; JSON file p.json; JSON file major_projects_v6.json; CSV file bad.csv; CSV file ragged.csv. Out: JSON file keep.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `row(ref, tech="Solar Photovoltaics", mw="10", status="Application Submitted", upd="01/01/2026", site=None, op="Op Ltd", g...)`; `write_csv(path, rows, encoding="utf-8-sig", cols=COLS)`; `files(tmp_path)`; `test_csv_to_csv_core_numbers(files)`; `test_outputs_written_and_deterministic(files)`; `test_identity_json_previous(tmp_path)`; `test_identity_json_count_mismatch_fails(tmp_path)`; `test_thresholded_json_rejected(tmp_path)`; `test_duplicate_ref_first_kept(tmp_path)`; `test_fail_closed_on_bad_inputs(tmp_path)`; `test_month_first_dates_are_not_silently_accepted()`; `test_hash_guard_refuses_out_inside_protected(files)`; `test_hash_guard_detects_modification(files, monkeypatch)`; `tampering(*a, **k)`; `test_solar_movements_and_top50(files)`; `test_cli(files, capsys)`; `test_descriptor_entry(files)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file old.csv; CSV file new.csv; JSON file diff.json; JSON file project_identity_v6.json; JSON file p.json; JSON file major_projects_v6.json; CSV file bad.csv; CSV file ragged.csv]; out [JSON file keep.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Test Hardening Nl013 - File: globalgrid2050/automation/repd/tests/test_hardening_nl013.py (Python, 214 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/test_hardening_nl013.py#L1-L214 - Page: https://code.globalgrid2050.com/explore-code/s/0834.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Automation — Renewable Energy Planning Database (REPD) and Renewable Energy Planning Database (REPD) Build Root, using SHA-256. - What it achieves (comment): It is built from the fake repo helper (`fake_repo`), the exiting clean helper (`exiting_clean`) and the REPD updater class (`REPDUpdater`). Hardening tests from the independent QA of PR #57 (Team 1, NL-013, 14 Nov 2026). - What it does: It tests its inputs. Defines 20 functions or classes, including fake_repo, _ctx, test_stage_raising_system_exit_is_reported_and_hash_guard_still_runs, exiting_clean, test_acceptance_waivers_come_only_from_the_known_anomalies_file. Uses libraries __future__, datetime, hashlib, json, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file repd.csv; CSV file in.csv; Excel file in.xlsx; JSON file run_report.json; CSV file c.csv; JSON file 2026q3.json; JSON file k.json; CSV file REPD_Publication_Q3_2026.csv. Out: CSV file repd.csv; CSV file in.csv; Excel file in.xlsx; JSON file 2099q1_known_anomalies.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `fake_repo(tmp_path)`; `_ctx(repo, tmp_path)`; `test_stage_raising_system_exit_is_reported_and_hash_guard_still_runs(fake_repo, tmp_path, monkeypatch)`; `exiting_clean(csv_path, out_dir)`; `test_acceptance_waivers_come_only_from_the_known_anomalies_file(tmp_path)`; `class REPDUpdater`; `__init__(self, registry_path="config/registry.yaml")`; `refine_dataset(self, csv_path)`; `test_build_master_writes_nothing_into_the_repo_and_needs_no_config(tmp_path, monkeypatch)`; `test_build_root_reads_hashes_from_the_committed_v1_descriptor()`; `_gates(tmp_path, rows, **kw)`; `test_valid_csv_date_that_is_a_different_date_from_the_typed_xlsx_fails(tmp_path)`; `test_unparseable_csv_date_is_not_rescued_by_a_typed_xlsx_date(tmp_path)`; `test_month_first_and_unpadded_forms_of_the_typed_date_still_resolve(tmp_path)`; `test_a_ref_known_for_a_date_reason_does_not_waive_a_coordinate_failure(tmp_path)`; `_git(repo, *args)`; `test_hashguard_sees_files_that_git_status_hides(tmp_path, flag)`; `test_hashguard_absent_sparse_path_is_not_a_violation(tmp_path)`; `test_october_2026_cleaning_is_exactly_the_832_logged_changes()`; `test_descriptor_expectations_gate_fails_on_wrong_count_or_hash(tmp_path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file repd.csv; CSV file in.csv; Excel file in.xlsx; JSON file run_report.json; CSV file c.csv; JSON file 2026q3.json; JSON file k.json; CSV file REPD_Publication_Q3_2026.csv]; out [CSV file repd.csv; CSV file in.csv; Excel file in.xlsx; JSON file 2099q1_known_anomalies.json]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Test Hashguard - File: globalgrid2050/automation/repd/tests/test_hashguard.py (Python, 169 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/test_hashguard.py#L1-L169 - Page: https://code.globalgrid2050.com/explore-code/s/0834.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Renewable Energy Planning Database (REPD) Hashguard, using SHA-256. It makes repo (`make_repo`) and snaps file (`snap_file`). - What it achieves (comment): Tests for `automation/repd/hashguard.py` using throw-away git repositories under `tmp_path`. - What it does: It tests the REPD register. Defines 13 functions or classes, including git, make_repo, snap_file, compare, test_snapshot_matches_ls_tree_format. Uses libraries json, os, shutil, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file repd.csv; JSON file repd_master.json; JSON file rep.json; JSON file project_identity_2026q3.json; JSON file gpu-reuse.json. Out: JSON file project_identity_2026q3.json; CSV file repd.csv; JSON file repd_master.json; JSON file a.json; CSV file b.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `git(repo, *args)`; `make_repo(tmp_path, files)`; `snap_file(tmp_path, repo, name='before.tsv')`; `compare(tmp_path, *args)`; `test_snapshot_matches_ls_tree_format(tmp_path)`; `test_untouched_worktree_and_additions_pass(tmp_path)`; `test_changed_shrank_disappeared_fail(tmp_path)`; `test_allow_list_excuses_only_matching_paths(tmp_path)`; `test_commit_vs_commit(tmp_path)`; `test_sha256_mode(tmp_path)`; `test_non_git_directory_uses_raw_blob_ids(tmp_path)`; `test_crlf_blob_committed_before_eol_attribute_is_not_a_false_change(tmp_path)`; `test_baseline_manifest_reader_and_errors(tmp_path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file repd.csv; JSON file repd_master.json; JSON file rep.json; JSON file project_identity_2026q3.json; JSON file gpu-reuse.json]; out [JSON file project_identity_2026q3.json; CSV file repd.csv; JSON file repd_master.json; JSON file a.json; CSV file b.csv]; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 1; mentioned by 0 ### Test Monthly - File: globalgrid2050/automation/repd/tests/test_monthly.py (Python, 186 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/test_monthly.py#L1-L186 - Page: https://code.globalgrid2050.com/explore-code/s/0834.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Automation — Renewable Energy Planning Database (REPD) and Renewable Energy Planning Database (REPD) Monthly, using SHA-256. - What it achieves (comment): It is built from the world step (`world`), the put step (`put`) and the synthetic step (`synthetic`). Tests for `automation/repd/monthly.py` (the monthly workflow's helper). - What it does: It tests its inputs. Defines 15 functions or classes, including world, put, synthetic, run, test_quarter_from_date. Uses libraries json, shutil, sys, pathlib, pytest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 2026q2.json; JSON file result.json; JSON file content_api_2027q1.json; JSON file 2027q1.json; JSON file v6_2027q1.json; CSV file REPD_Publication_Q1_2027.csv; JSON file content_api_2026q2_old_urls.json; Excel file REPD_Publication_Q1_2027.xlsx. Out: JSON file 2026q2_known_anomalies.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `world(tmp_path)`; `put(world, name, data)`; `synthetic(world, stem)`; `run(world, api, *extra)`; `test_quarter_from_date()`; `test_new_release_writes_descriptors_allowlist_and_counts(world)`; `test_unchanged_when_hashes_are_pinned(world)`; `test_redirected_old_url_is_judged_by_hash_not_url(world, tmp_path)`; `test_same_quarter_with_new_bytes_needs_a_person(world)`; `test_unnamed_files_get_a_date_derived_id(world)`; `test_acceptance_waivers_carry_forward(world)`; `test_allowlist_is_idempotent_and_optional(world)`; `test_unreadable_publication_is_an_error_not_green(world, tmp_path)`; `test_github_output(world, monkeypatch, tmp_path)`; `test_real_october_files_are_unchanged_against_main(tmp_path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 2026q2.json; JSON file result.json; JSON file content_api_2027q1.json; JSON file 2027q1.json; JSON file v6_2027q1.json; CSV file REPD_Publication_Q1_2027.csv; JSON file content_api_2026q2_old_urls.json; Excel file REPD_Publication_Q1_2027.xlsx]; out [JSON file 2026q2_known_anomalies.json]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Test Run - File: globalgrid2050/automation/repd/tests/test_run.py (Python, 481 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/test_run.py#L1-L481 - Page: https://code.globalgrid2050.com/explore-code/s/0835.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Automation — Renewable Energy Planning Database (REPD), using SHA-256. It writes CSV (`write_csv`), makes ctx (`make_ctx`) and cleans release (`clean_release`). - What it achieves (comment): Tests for the orchestrator (`automation/repd/run.py`). Synthetic fixtures, no network. It writes `repd.csv`. - What it does: It tests its inputs. Defines 49 functions or classes, including write_csv, fake_repo, hermetic_modules, no_components, make_ctx. Uses libraries __future__, csv, io, json, os. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file repd.csv; CSV file in.csv; Excel file in.xlsx; CSV file repd-2026q3.csv; CSV file repd-grid-batteries-2026q3.csv; JSON file project_identity_2026q3.json; JSON file repd_master_2026q3.json; JSON file project_identity_2026q3_integrity.json. Out: JSON file repd_master.json; JSON file x.json; CSV file repd.csv; JSON file cleaning_log.json; JSON file diff.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `write_csv(path: Path, refs: list[str])`; `fake_repo(tmp_path: Path)`; `hermetic_modules(monkeypatch)`; `no_components(monkeypatch)`; `make_ctx(fake_repo: Path, tmp_path: Path, **kw)`; `test_call_component_passes_only_accepted_kwargs()`; `comp(canonical_csv, out_dir, descriptor=None)`; `test_call_component_reports_interface_mismatch()`; `test_normalise_result_variants(tmp_path)`; `test_allowed_new_paths(rel, ok)`; `test_unsafe_label_rejected()`; `test_large_file_allowlist_semantics(tmp_path)`; `test_name_mapping()`; `test_hash_manifest_detects_change(fake_repo)`; `test_guard_fails_run_when_a_component_writes_into_repo(fake_repo, tmp_path, monkeypatch)`; `evil_clean(csv_path, out_dir)`; `test_out_dir_inside_repo_refused(fake_repo, tmp_path)`; `_fake_components(record: list)`; `clean_release(csv_path, xlsx_path, out_dir, descriptor)`; `validate_release(canonical_csv, previous_csv=None)`; `build_root(canonical_csv, out_dir)`; `build_v6(canonical_csv, out_dir, label)`; `build_news(canonical_csv, out_dir, release_folder)`; `test_full_pipeline_with_components(fake_repo, tmp_path, monkeypatch)`; `test_missing_build_components_make_run_incomplete(fake_repo, tmp_path, monkeypatch)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file repd.csv; CSV file in.csv; Excel file in.xlsx; CSV file repd-2026q3.csv; CSV file repd-grid-batteries-2026q3.csv; JSON file project_identity_2026q3.json; JSON file repd_master_2026q3.json; JSON file project_identity_2026q3_integrity.json]; out [JSON file repd_master.json; JSON file x.json; CSV file repd.csv; JSON file cleaning_log.json; JSON file diff.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Test Validate - File: globalgrid2050/automation/repd/tests/test_validate.py (Python, 250 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/tests/test_validate.py#L1-L250 - Page: https://code.globalgrid2050.com/explore-code/s/0836.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Renewable Energy Planning Database (REPD) Validate and Renewable Energy Planning Database (REPD) Verify Release. - What it achieves (comment): It writes CSV (`write_csv`), writes xlsx (`write_xlsx`) and writes baseline (`write_baseline`). Tests for `automation/repd/validate.py` on small synthetic fixtures (no network, no real data). It writes `r.csv`. - What it does: It tests its inputs. Defines 24 functions or classes, including row, rows_default, write_csv, to_date, write_xlsx. Uses libraries csv, datetime, io, json, os. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file r.csv; JSON file b.json; JSON file rep.json; Excel file r.xlsx; JSON file k.json; CSV file x.csv; JSON file bb.json; CSV file missing.csv. Out: JSON file bad.json. - Downstream impact: Used directly by 2 files: Test Hardening Nl013 (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `row(ref, **kw)`; `rows_default(n=12)`; `write_csv(path, rows, cols=COLS, truncate=0)`; `to_date(s)`; `write_xlsx(path, rows, xlsx_dates=None)`; `write_baseline(path, rows=10, tech=('Solar Photovoltaics',), status=('Operational',), refs=None)`; `run(tmp_path, rows, xrows=None, baseline_kw=None, extra=(), xlsx_dates=None, truncate=0, xlsx=True, cols=COLS)`; `test_clean_release_passes(tmp_path)`; `test_missing_column_fails(tmp_path)`; `test_identical_duplicate_warns_conflicting_fails(tmp_path)`; `test_ref_sets_differ_fails(tmp_path)`; `test_row_floor_below_previous_release_fails(tmp_path)`; `test_truncated_last_record_fails(tmp_path)`; `test_impossible_date_without_excel_fallback_fails(tmp_path)`; `test_month_first_csv_date_resolved_by_typed_excel(tmp_path)`; `test_na_marker_and_future_dates_are_warnings_with_refs(tmp_path)`; `test_new_vocabulary_value_warns_or_fails_strict(tmp_path)`; `test_coordinates_non_numeric_and_out_of_bounds(tmp_path)`; `test_known_anomalies_downgrade_bounds_and_report(tmp_path)`; `test_tab_padded_coordinates_are_numeric_but_reported(tmp_path)`; `test_csv_only_skip_and_xlsx_required(tmp_path)`; `test_unusable_input_exit_2(tmp_path)`; `test_make_baseline_from_csv_and_identity(tmp_path)`; `test_reconciliation_v6_accepted_as_count_baseline(tmp_path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file r.csv; JSON file b.json; JSON file rep.json; Excel file r.xlsx; JSON file k.json; CSV file x.csv; JSON file bb.json; CSV file missing.csv]; out [JSON file bad.json]; crs []; voltages [] - Edges: uses 2 estate files (sys-path 2); used by 2; mentioned by 0 ### Renewable Energy Planning Database (REPD) Validate - File: globalgrid2050/automation/repd/validate.py (Python, 711 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/validate.py#L1-L711 - Page: https://code.globalgrid2050.com/explore-code/s/0836.html#f2 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that reads the REPD register, transformers and wind, using EPSG:27700 and EPSG:4326. - What it achieves (comment): It parses coord (`parse_coord`), loads baseline (`load_baseline`) and loads known coordinates (`load_known_coordinates`). Release gates for a REPD quarterly extract (raw official files or a cleaned candidate). It accepts `--csv`, `--xlsx` and `--sheet`. - What it does: It loads the REPD register, transformers and wind. Defines 26 functions or classes, including cell_flags, parse_coord, inbox, sha256_file, _refkey. Uses libraries argparse, collections, datetime, hashlib, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, transformers, wind. - Inputs & outputs: In: command-line arguments. Out: JSON file. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Test Validate (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); Test Hardening Nl013 (globalgrid2050). - Signatures: `cell_flags(s)`; `parse_coord(s)`; `inbox(lat, lon, box, pad)`; `sha256_file(path)`; `_refkey(r)`; `baseline_from_rows(dicts, release_id, source)`; `baseline_from_identity_v6(path, release_id)`; `baseline_from_csv(path, release_id)`; `load_baseline(path)`; `class Gates`; `__init__(self)`; `add(self, gid, group, status, summary, **detail)`; `failed(self)`; `source_gates(G, rep, c, x, base, csv_only)`; `_xlsx_date_index(x)`; `_csv_text_is_date(raw, dt, xd)`; `date_gates(G, c, x, asof)`; `vocab_gates(G, c, base, strict)`; `coordinate_gates(G, c, known_refs, known_scope='all known refs (legacy file without known_coordinates)')`; `anomaly_gate(G, c, x, rep, coord_anoms, known)`; `load_known_coordinates(path)`; `load_known(path)`; `run_check(csv_path, xlsx_path=None, baseline=None, known=None, asof=None, csv_only=False, strict_vocab=False, expectations=None...)`; `_print(report)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Verify Release - File: globalgrid2050/automation/repd/verify_release.py (Python, 541 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd/verify_release.py#L1-L541 - Page: https://code.globalgrid2050.com/explore-code/s/0837.html#f2 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that reads the REPD register and solar, using SHA-256. - What it achieves (comment): It parses text date (`parse_text_date`), cleans ref (`clean_ref`) and checks CSV (`check_csv`). Independent integrity check of a raw official REPD release. It accepts `--xlsx`, `--sheet` and `--asof`. - What it does: It loads the REPD register and solar. Defines 27 functions or classes, including nh, parse_text_date, swap_dm, excel_serial_to_date, sha256. Uses libraries argparse, collections, csv, datetime, hashlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: command-line arguments. Out: JSON file. - Downstream impact: Used directly by 2 files: Test Validate (globalgrid2050); Renewable Energy Planning Database (REPD) Validate (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); Test Hardening Nl013 (globalgrid2050). - Signatures: `nh(s)`; `parse_text_date(s)`; `swap_dm(d)`; `excel_serial_to_date(v)`; `sha256(b)`; `norm_text(v)`; `as_number(v)`; `clean_ref(v)`; `class Report`; `__init__(self, max_examples)`; `section(self, title)`; `put(self, key, value, show=True)`; `note(self, text)`; `error(self, text)`; `check_csv(path, asof, rep)`; `idx(header, name)`; `header_report(header, tag, rep)`; `refs_report(refs, dicts, rownum, tag, rep, hn, render)`; `check_xlsx(path, sheet, rep)`; `render(c)`; `classify_xlsx_date(cell)`; `plausible(d, updated, asof, col)`; `compare(c, x, asof, rep)`; `occ(dicts, getref)`; `check_expectations(exp, rep)` (and 2 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Browser - File: globalgrid2050/automation/repd_expand_ui/browser.mjs (JavaScript, 112 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_expand_ui/browser.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0838.html#f2 - Synopsis: A JavaScript module in the REPD expand ui folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register. - What it does: It draws the REPD register. Uses libraries node:assert/strict, node:http, node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Out: JSON file receipt.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Expand - File: globalgrid2050/automation/repd_expand_ui/expand.css (CSS, 11 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_expand_ui/expand.css#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/0838.html#f3 - Synopsis: A style sheet in the REPD expand ui folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Expand - File: globalgrid2050/automation/repd_expand_ui/expand.mjs (JavaScript, 102 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_expand_ui/expand.mjs#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/0838.html#f4 - Synopsis: A JavaScript module in the REPD expand ui folder of GlobalGrid2050 that mounts Renewable Energy Planning Database (REPD) expansion (`mountRepdExpansion`) and restores positions (`restorePositions`), covering the REPD register. - What it achieves (comment): It restores positions (`restorePositions`) and is built from the mount REPD expansion helper (`mountRepdExpansion`) and the scroll positions helper (`scrollPositions`). Expand the existing analytics nodes; never clone data, controls or listeners. It responds to click, cancel and keydown events. - What it does: It draws the REPD register. Defines mountRepdExpansion, scrollPositions, restorePositions, restore. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `export mountRepdExpansion(doc = document)`; `scrollPositions()`; `restorePositions(positions)`; `restore()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Verify V976 - File: globalgrid2050/automation/repd_mobile/v976/verify_v976.py (Python, 42 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_mobile/v976/verify_v976.py#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/0838.html#f5 - Synopsis: A Python module in the REPD mobile folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): V9.76 full source-closure and no-truncation acceptance; original REPD palette is immutable. - What it does: Uses libraries hashlib, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Renewable Energy Planning Database (REPD) Mobile V976 Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build V974 - File: globalgrid2050/automation/repd_reporting/v2/build-v974.mjs (JavaScript, 139 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_reporting/v2/build-v974.mjs#L1-L139 - Page: https://code.globalgrid2050.com/explore-code/s/0838.html#f6 - Synopsis: A JavaScript module in the REPD reporting folder of GlobalGrid2050 that reads cockpit build receipt, the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS), using SHA-256. - What it achieves (comment): It is built from the sha step (`sha`), the inventory step (`inventory`) and the walk step (`walk`). Copy the FULL accepted V9.73 page, change only: index title, report controller, README, CHANGES, and add test+receipt. - What it does: It loads cockpit build receipt, the REPD register, solar and battery storage (BESS). Defines sha, inventory, walk. Uses libraries node:fs/promises, node:path, node:url, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: JSON file build_manifest.json. Out: JSON file COCKPIT-BUILD-RECEIPT.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pn V974 Cockpit Integration Workflow (globalgrid2050). - Signatures: `sha(bytes)`; `inventory(folder)`; `walk(directory)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json]; out [JSON file COCKPIT-BUILD-RECEIPT.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Cockpit Facets - File: globalgrid2050/automation/repd_reporting/v2/cockpit-facets.mjs (JavaScript, 192 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_reporting/v2/cockpit-facets.mjs#L1-L192 - Page: https://code.globalgrid2050.com/explore-code/s/0838.html#f7 - Synopsis: A JavaScript module in the REPD reporting folder of GlobalGrid2050 that works with interconnectors, the Renewable Energy Planning Database (REPD) register and solar. - What it achieves (comment): It verifies inventory (`verifyInventory`) and builds cockpit report (`buildCockpitReport`). PipelineNews REPD cockpit cross-filter contract (candidate v2). - What it does: It calculates interconnectors, the REPD register and solar. Defines 16 functions or classes, including label, selected, cockpitSelection, identity, verifyInventory. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register, solar. - Downstream impact: Used directly by 3 files: Cockpit Facets Test (globalgrid2050); GlobalGrid2050 Pn V974 Cockpit Integration Workflow (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Cockpit V2 Workflow (globalgrid2050). - Signatures: `export cockpitSelection(filters = {})`; `export verifyInventory(rows, source = "repd")`; `export buildCockpitReport(repdRecords, { dimension = "operator", filters = {}, interconnectors = null } = {})`; `label(value)`; `selected(value)`; `identity(row, source)`; `technologyMatches(row, selection, source)`; `matches(row, selection, source, except = "")`; `mwScaled(value)`; `unit(row, source)`; `emptyTotals()`; `accumulate(totals, row, source)`; `displayTotals(totals)`; `convert(value)`; `grouped(rows, dimension, source)`; `facets(rows, selection, source)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Cockpit Skin - File: globalgrid2050/automation/repd_reporting/v2/cockpit-skin.css (CSS, 52 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_reporting/v2/cockpit-skin.css#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/0839.html#f1 - Synopsis: A style sheet in the REPD reporting folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). - What it achieves (comment): REPD cockpit v2 SKIN CONTRACT — source-derived from V9.73, not a new theme. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Cockpit Skin - File: globalgrid2050/automation/repd_reporting/v2/cockpit-skin.mjs (JavaScript, 101 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_reporting/v2/cockpit-skin.mjs#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/0839.html#f2 - Synopsis: A JavaScript module in the REPD reporting folder of GlobalGrid2050 that reads Renewable Energy Planning Database (REPD) skin and verifies REPD skin, covering the REPD register and solar. - What it achieves (comment): It reads REPD skin (`readRepdSkin`), verifies REPD skin (`verifyRepdSkin`) and applies REPD cockpit skin (`applyRepdCockpitSkin`). PipelineNews cockpit skin v1 — source-derived presentation contract. - What it does: Defines requireBrowser, readRepdSkin, verifyRepdSkin, applyRepdCockpitSkin. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Downstream impact: Used directly by 2 files: Cockpit Skin Test (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Cockpit V2 Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Pn V974 Cockpit Integration Workflow (globalgrid2050). - Signatures: `export readRepdSkin(documentRef, windowRef)`; `export verifyRepdSkin(tokens, reference = REPD_V973_REFERENCE)`; `export applyRepdCockpitSkin(host, { documentRef, windowRef } = {})`; `requireBrowser(documentRef, windowRef)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Renewable Energy Planning Database (REPD) Reports Integrated - File: globalgrid2050/automation/repd_reporting/v2/repd-reports-integrated.mjs (JavaScript, 348 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_reporting/v2/repd-reports-integrated.mjs#L1-L348 - Page: https://code.globalgrid2050.com/explore-code/s/0839.html#f3 - Synopsis: A JavaScript module in the REPD reporting folder of GlobalGrid2050 that makes facet (`makeFacet`), refreshes choices (`refreshChoices`) and builds interconnector capacity report (`buildInterconnectorCapacityReport`) (units: MW). - What it achieves (comment): It makes facet (`makeFacet`), refreshes choices (`refreshChoices`) and builds interconnector capacity report (`buildInterconnectorCapacityReport`). PipelineNews V9.74 candidate: same REPD cockpit with source-faithful cross-filters; original visual styles untouched. It responds to change, click and toggle events. - What it does: It draws capacity, the REPD register, interconnectors and solar. Defines 27 functions or classes, including el, makeFacet, selections, nativeTechnology, nativeStatus. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, interconnectors, solar. - Inputs & outputs: Out: CSV file -capacity.csv; downloaded file repd-. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pn V974 Cockpit Integration Workflow (globalgrid2050). - Signatures: `el(tag, className, value)`; `makeFacet(key, title)`; `selections(select, values, initialLabel, initialValue = "All")`; `nativeTechnology()`; `nativeStatus()`; `chosenFilter()`; `refreshChoices(report)`; `unique(items)`; `values(key)`; `buildInterconnectorCapacityReport(projects, dimension)`; `empty()`; `add(target, project)`; `formatCapacity(n)`; `formatCount(n)`; `capacityDescription(summary)`; `projectTableLink(project)`; `projectMapLink(project)`; `statusDetails(group, destination)`; `projectRow(project)`; `projectDetails(group, destination)`; `makeGroup(group, maximum, index)`; `sourceRows()`; `render()`; `selectReport(dimension)`; `downloadCsv()` (and 1 more) - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [CSV file -capacity.csv; downloaded file repd-]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Spider Audit - File: globalgrid2050/automation/repd_reporting/v2/spider-audit.mjs (JavaScript, 95 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_reporting/v2/spider-audit.mjs#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/0839.html#f4 - Synopsis: A JavaScript module in the REPD reporting folder of GlobalGrid2050 that fetches spider inputs, the Renewable Energy Planning Database (REPD) register and interconnectors. - What it achieves (comment): It checks source (`checkSource`) and is built from the git blob helper (`gitBlob`) and the assert step (`assert`). Spider-style input closure / fail-closed audit for isolated REPD cockpit v2. - What it does: It fetches spider inputs, the REPD register and interconnectors. Defines gitBlob, assert, checkSource, fileText, hasAll. Uses libraries node:fs, node:crypto, node:path, node:url. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register, interconnectors. README: "`spider-audit.mjs` verifies Git blob identities of every dependency, tests that the existing controls/data hooks are still present, and includes two negative mutation checks." - Inputs & outputs: In: JSON file SPIDER-INPUTS.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pn V974 Cockpit Integration Workflow (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Cockpit V2 Workflow (globalgrid2050). - Signatures: `gitBlob(bytes)`; `assert(condition, message)`; `checkSource(source)`; `fileText(path)`; `hasAll(text, markers)` - domain_stage: agent_infra · commercial_user: IPP_developer, ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file SPIDER-INPUTS.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Cockpit Facets Test - File: globalgrid2050/automation/repd_reporting/v2/tests/cockpit-facets.test.mjs (JavaScript, 108 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_reporting/v2/tests/cockpit-facets.test.mjs#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/0840.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Cockpit Facets. - What it achieves (name): Defines `opts`. - What it does: It tests solar, interconnectors, the REPD register and battery storage (BESS). Defines p, opts. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, interconnectors, the REPD register, battery storage (BESS). - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pn V974 Cockpit Integration Workflow (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Cockpit V2 Workflow (globalgrid2050). - Signatures: `p(repd_ref, technology, status, operator, region, capacity_mw, capacity_unit)`; `opts(dimension, filters = {})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Cockpit Skin Test - File: globalgrid2050/automation/repd_reporting/v2/tests/cockpit-skin.test.mjs (JavaScript, 68 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_reporting/v2/tests/cockpit-skin.test.mjs#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/0840.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Cockpit Skin. - What it achieves (name): Defines `fixture`. - What it does: It tests solar, battery storage (BESS) and the REPD register. Defines fixture. Uses libraries node:test, node:assert/strict. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS), the REPD register. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Pn V974 Cockpit Integration Workflow (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Cockpit V2 Workflow (globalgrid2050). - Signatures: `fixture(tokens = REPD_V973_REFERENCE)`; `getComputedStyle(node)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### V974 Cockpit Browser - File: globalgrid2050/automation/repd_reporting/v2/tests/v974-cockpit-browser.mjs (JavaScript, 122 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_reporting/v2/tests/v974-cockpit-browser.mjs#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/0840.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS), and uses data from the GridAtlas repository. - What it achieves (comment): Real 7,775-record edition, not a fixture HTML model. - What it does: It tests the REPD register, solar and battery storage (BESS). Uses libraries node:assert/strict, playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pn V974 Cockpit Integration Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Browser V975 - File: globalgrid2050/automation/repd_reporting/v3/browser_v975.mjs (JavaScript, 81 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_reporting/v3/browser_v975.mjs#L1-L81 - Page: https://code.globalgrid2050.com/explore-code/s/0840.html#f4 - Synopsis: A JavaScript module in the REPD reporting folder of GlobalGrid2050 that reads inputs for Renewable Energy Planning Database (REPD) native region, covering the REPD register and battery storage (BESS). - What it does: Uses libraries node:assert/strict, playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, battery storage (BESS). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build V975 - File: globalgrid2050/automation/repd_reporting/v3/build_v975.py (Python, 253 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_reporting/v3/build_v975.py#L1-L253 - Page: https://code.globalgrid2050.com/explore-code/s/0840.html#f5 - Synopsis: A Python command-line tool in the REPD reporting folder of GlobalGrid2050 that reads the Renewable Energy Planning Database (REPD) register, interconnectors and solar. - What it achieves (comment): It scans patch (`scan_patch`) and is built from the replace step (`replace`) and the between step (`between`). Build PipelineNews V9.75 from V9.74 without touching historical `release/data/colours`. - What it does: It loads the REPD register, interconnectors and solar. Defines 9 functions or classes, including replace, between, patch, html_patch, project_patch. Uses libraries pathlib, re. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, interconnectors, solar. - Inputs & outputs: In: form fields (user input). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Renewable Energy Planning Database (REPD) Native V975 Workflow (globalgrid2050). - Signatures: `replace(text, before, after, label, expected=1)`; `between(text, beginning, ending, replacement, label)`; `patch(path, f)`; `html_patch(s)`; `project_patch(s)`; `scan_patch(s)`; `model_patch(s)`; `report_patch(s)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Operator Aliases - File: globalgrid2050/automation/repd_reporting/v3/operator-aliases.mjs (JavaScript, 14 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_reporting/v3/operator-aliases.mjs#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0840.html#f6 - Synopsis: A JavaScript module in the REPD reporting folder of GlobalGrid2050 that works with the Renewable Energy Planning Database (REPD) register. It is built from the canonical operator helper (`canonicalOperator`). - What it achieves (comment): Conservative, report-only spelling aliases. NOT a corporate ownership assertion. - What it does: It calculates the REPD register. Defines canonicalOperator. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. README: "Operator grouping: exact reviewed spellings only, in `operator-aliases.mjs`." - Downstream impact: Used directly by 5 files: Operator Aliases Test (globalgrid2050); Real V975 Test (globalgrid2050); Renewable Energy Planning Database (REPD) Reports Model (globalgrid2050); Projects V9 8 (globalgrid2050); and 1 more. Reached from 13 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 Pn V973 Capacity Reports Workflow (globalgrid2050). - Signatures: `export canonicalOperator(raw)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Operator Aliases Test - File: globalgrid2050/automation/repd_reporting/v3/operator-aliases.test.mjs (JavaScript, 27 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_reporting/v3/operator-aliases.test.mjs#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0840.html#f7 - Synopsis: A test in the REPD reporting folder of GlobalGrid2050 that checks Operator Aliases and Renewable Energy Planning Database (REPD) Reports Model. - What it achieves (readme): The README says: Operator grouping: exact reviewed spellings only, in `operator-aliases.mjs`. - What it does: It tests the REPD register and solar. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. README: "Operator grouping: exact reviewed spellings only, in `operator-aliases.mjs`." - Downstream impact: Used directly by 2 files: GlobalGrid2050 Renewable Energy Planning Database (REPD) Mobile V976 Workflow (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Native V975 Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Real V975 Test - File: globalgrid2050/automation/repd_reporting/v3/real_v975.test.mjs (JavaScript, 37 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_reporting/v3/real_v975.test.mjs#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0841.html#f1 - Synopsis: A test in the REPD reporting folder of GlobalGrid2050 that checks Renewable Energy Planning Database (REPD) Reports Model and Operator Aliases. - What it achieves (name): Defines `read` and `close`. It reads `data/v9.1/build_manifest.json`. - What it does: It tests the REPD register. Defines read, close. Uses libraries node:test, node:assert/strict, node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file build_manifest.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Renewable Energy Planning Database (REPD) Mobile V976 Workflow (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Native V975 Workflow (globalgrid2050). - Signatures: `read(p)`; `close(a,b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Verify V975 - File: globalgrid2050/automation/repd_reporting/v3/verify_v975.py (Python, 38 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/repd_reporting/v3/verify_v975.py#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0841.html#f2 - Synopsis: A Python module in the REPD reporting folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): Read-only Python source-closure and nontruncation gate for V9.75. - What it does: Uses libraries pathlib, hashlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Renewable Energy Planning Database (REPD) Native V975 Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Sources V6 - File: globalgrid2050/backups/repd/2026-11-13-pre-october-ingestion/repd_sources_v6.py (Python, 429 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/backups/repd/2026-11-13-pre-october-ingestion/repd_sources_v6.py#L1-L429 - Page: https://code.globalgrid2050.com/explore-code/s/0841.html#f3 - Synopsis: A Python command-line tool in the backups folder of GlobalGrid2050 that fetches REPD canonical, REPD reconciliation, REPD publication q2 and the REPD register, using SHA-256. - What it achieves (comment): It cleans ref (`clean_ref`), fetches bytes (`fetch_bytes`) and reads CSV (`read_csv`). Official DESNZ Q2 2026 source retrieval and deterministic reconciliation. Its code works with 1 MW, 100 MW and 0.005 MW. - What it does: It fetches REPD canonical, REPD reconciliation, REPD publication q2 and the REPD register. Defines 20 functions or classes, including utc_now, sha256, collapse, norm_text, norm_date. Uses libraries __future__, hashlib, io, json, math. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file latest_repd_v6_canonical.csv; JSON file repd_source_reconciliation_v6.json; JSON file manifest_v6.json; CSV file REPD_Publication_Q2_2026.csv; Excel file REPD_Publication_Q2_2026.xlsx. Out: CSV file. - Downstream impact: Used directly by 1 file: Renewable Energy Planning Database (REPD) Updater V6 Hardened (globalgrid2050). - Signatures: `utc_now()`; `sha256(raw: bytes)`; `collapse(value)`; `norm_text(value)`; `norm_date(value)`; `norm_number(value)`; `clean_ref(value)`; `canonicalise_headers(frame: pd.DataFrame)`; `fetch_bytes(url: str)`; `read_csv(raw: bytes)`; `read_xlsx(raw: bytes)`; `indexed(frame: pd.DataFrame, label: str)`; `threshold_counts(frame: pd.DataFrame)`; `planning_refs_equivalent(csv_value, xlsx_value)`; `build_canonical(csv_frame: pd.DataFrame, xlsx_frame: pd.DataFrame)`; `reconcile(csv_raw: bytes, xlsx_raw: bytes)`; `check(ok, gate, detail="")`; `run_reconciliation()`; `write_outputs(canonical: pd.DataFrame, report: dict, manifest: dict)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file latest_repd_v6_canonical.csv; JSON file repd_source_reconciliation_v6.json; JSON file manifest_v6.json; CSV file REPD_Publication_Q2_2026.csv; Excel file REPD_Publication_Q2_2026.xlsx]; out [CSV file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Updater V6 Hardened - File: globalgrid2050/backups/repd/2026-11-13-pre-october-ingestion/repd_updater_v6_hardened.py (Python, 11 lines) · role energy-data · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/backups/repd/2026-11-13-pre-october-ingestion/repd_updater_v6_hardened.py#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/0841.html#f4 - Synopsis: A Python command-line tool in the backups folder of GlobalGrid2050 covering REPD master and the REPD register. - What it achieves (comment): Compatibility entry point for isolated V6 source reconciliation. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file repd_master.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file repd_master.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Energy - File: globalgrid2050/cartridges/202609052143-open-energy/energy.css (CSS, 12 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052143-open-energy/energy.css#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0841.html#f5 - Synopsis: A style sheet in the cartridges folder of GlobalGrid2050. - What it achieves (comment): Original terminal UI; no Worldometer code, fonts, images or feed. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 35 files: Homepage V059 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v059.html); Homepage V060 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v060.html); Homepage V061 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v061.html); Homepage V062 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v062.html); and 31 more. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 35; mentioned by 0 ### Energy - File: globalgrid2050/cartridges/202609052143-open-energy/energy.mjs (JavaScript, 22 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052143-open-energy/energy.mjs#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0841.html#f6 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050. - What it achieves (name): Defines `start`, `render` and `frame`. It responds to click events. - What it does: It fetches data. Defines start, render, frame. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file source.json. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Open Energy Cartridge Workflow (globalgrid2050); Homepage V059 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v059.html); Homepage V060 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v060.html). - Signatures: `start()`; `render()`; `frame(t)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file source.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Model - File: globalgrid2050/cartridges/202609052143-open-energy/model.mjs (JavaScript, 17 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052143-open-energy/model.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/0841.html#f7 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050. It is built from the validate step (`validate`) and the calculate step (`calculate`). - What it achieves (comment): Original VENTUS model. Statistics and reuse terms are recorded in `source.json`. - What it does: It calculates its inputs. Defines validate, calculate. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 3 files: Energy (globalgrid2050); Model Test (globalgrid2050); Fast Existing (globalgrid2050). Reached from 36 other entry points, including Homepage V059 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v059.html); Homepage V060 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v060.html); Homepage V061 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v061.html). - Signatures: `export validate(s)`; `export calculate(source, now)`; `days(Date.UTC(s.referenceYear+1,0,1)-Date.UTC(s.referenceYear,0,1))`; `fraction((now%DAY_MS)+DAY_MS)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Model Test - File: globalgrid2050/cartridges/202609052143-open-energy/model.test.mjs (JavaScript, 10 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052143-open-energy/model.test.mjs#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/0841.html#f8 - Synopsis: A test in the cartridges folder of GlobalGrid2050 that checks Model. - What it achieves (name): It reads `./source.json`. - What it does: It tests its inputs. Uses libraries node:test, node:assert/strict, node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file source.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Open Energy Cartridge Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file source.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Registry - File: globalgrid2050/config/registry.yaml (YAML, 170 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/config/registry.yaml#L1-L170 - Page: https://code.globalgrid2050.com/explore-code/s/0842.html#f1 - Synopsis: A configuration file in the config folder of GlobalGrid2050 covering Renewable Energy Planning Database (REPD) october, REPD master and grid substations, and uses data from OpenStreetMap (Overpass). - What it achieves (comment): Ventus Industrial Data Registry. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Inputs & outputs: In: CSV file repd-october-2022.csv; JSON file repd_master.json; GeoJSON file grid_substations.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson. Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [CSV file repd-october-2022.csv; JSON file repd_master.json; GeoJSON file grid_substations.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson]; out []; crs []; voltages [400kV, 275kV, 220kV, 132kV, 66kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GB Electricity Price Grid Constraint Evidence Charts - File: globalgrid2050/data/grid_studies_public/gb_electricity_price_grid_constraint_evidence_charts.html (HTML, 133 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/data/grid_studies_public/gb_electricity_price_grid_constraint_evidence_charts.html#L1-L133 - Page: https://code.globalgrid2050.com/explore-code/s/0842.html#f2 - Published at: https://globalgrid2050.com/data/grid_studies_public/gb_electricity_price_grid_constraint_evidence_charts.html - Synopsis: A web page in the grid studies public folder of GlobalGrid2050 that sets active (`setActive`) and loads preset (`loadPreset`). Published at https://globalgrid2050.com/data/grid_studies_public/gb_electricity_price_grid_constraint_evidence_charts.html. It sets active (`setActive`) and loads preset (`loadPreset`). - What it achieves (name): Defines `ymd`, `latestStart`, `setActive` and 1 more. It responds to click and resize events. - What it does: It draws its content. Defines ymd, latestStart, setActive, loadPreset. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/data/grid_studies_public/gb_electricity_price_grid_constraint_evidence_charts.html. - Signatures: `ymd(d)`; `latestStart(period)`; `setActive(btn)`; `loadPreset(btn)` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (link 2, script-src 2, stylesheet 1); used by 0; mentioned by 0 ### Great Britain Electricity Price Grid Constraint Trends 2016 2026 - File: globalgrid2050/data/grid_studies_public/great_britain_electricity_price_grid_constraint_trends_2016_2026.html (HTML, 300 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/data/grid_studies_public/great_britain_electricity_price_grid_constraint_trends_2016_2026.html#L1-L300 - Page: https://code.globalgrid2050.com/explore-code/s/0842.html#f3 - Published at: https://globalgrid2050.com/data/grid_studies_public/great_britain_electricity_price_grid_constraint_trends_2016_2026.html - Synopsis: A web page in the grid studies public folder of GlobalGrid2050 covering wind and solar, and uses data from National Energy System Operator (NESO) data portal. Published at https://globalgrid2050.com/data/grid_studies_public/great_britain_electricity_price_grid_constraint_trends_2016_2026.html. - What it achieves (name): It sets active chart button (`setActiveChartButton`), loads chart preset (`loadChartPreset`) and sets text size (`setTextSize`). Defines `latestStart`, `setActiveChartButton`, `loadChartPreset` and 2 more. Its code works with 6.7 GW. It responds to click, resize and input events. - What it does: It draws wind, solar, battery storage (BESS) and interconnectors. Defines latestStart, setActiveChartButton, loadChartPreset, setTextSize, setControlsCollapsed. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: wind, solar, battery storage (BESS), interconnectors. - Inputs & outputs: In: data source: NESO data portal; browser storage (getItem); form fields (user input). Out: browser storage (setItem); web page. - Downstream impact: Used directly by 5 files: GB Electricity Price Grid Constraint Evidence Charts (globalgrid2050, https://globalgrid2050.com/data/grid_studies_public/gb_electricity_price_grid_constraint_evidence_charts.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/); Releases — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202611132345-pipelinenews/); and 1 more. Reached from 61 other entry points, including Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/data/grid_studies_public/great_britain_electricity_price_grid_constraint_trends_2016_2026.html. - Signatures: `latestStart(period)`; `setActiveChartButton(btn)`; `loadChartPreset(btn)`; `setTextSize(value)`; `setControlsCollapsed(collapsed)` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: NESO data portal; browser storage (getItem); form fields (user input)]; out [browser storage (setItem); web page]; crs []; voltages [] - Edges: uses 5 estate files (script-src 3, stylesheet 1, link 1); used by 5; mentioned by 0 ### GlobalGrid2050 — Energy Transition Simulator Page - File: globalgrid2050/energy-transition-simulator/202609280014/index.html (HTML, 1 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/index.html#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/0842.html#f4 - Published at: https://globalgrid2050.com/energy-transition-simulator/202609280014/ - Synopsis: A web page. Published at https://globalgrid2050.com/energy-transition-simulator/202609280014/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/energy-transition-simulator/202609280014/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 0; mentioned by 0 ### Block Build - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/block-build.mjs (JavaScript, 255 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/block-build.mjs#L1-L255 - Page: https://code.globalgrid2050.com/explore-code/s/0843.html#f1 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables, transformers, overhead lines (OHL) and substations. - What it achieves (comment): It builds block (`buildBlock`) and is built from the group step (`group`) and the put step (`put`). The owner's 10MVA solar block (`station.mjs`, ported from his explorer) placed on the measured ground, with the 33kV rings to the grid (`block-mv.mjs`), as line groups ordered for the build sequence. Its code works with 10 MVA, 33 kV and 5 MVA. - What it does: It calculates cables, transformers, overhead lines (OHL) and substations. Defines 25 functions or classes, including group, put, seg, poly, mark. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, transformers, overhead lines (OHL), substations, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Signatures: `export padEarthworks(g, e0, n0, e1, n1, level = null)`; `export buildBlock({ anchor, ground, fallback = () => NaN, stations = 4, pocKv = 400, towers = [], gpuPads = [], topology = 'radial', co...)`; `export overheadClearance([E, N], stations, towers)`; `export blockCounts(b)`; `group()`; `put(G, p)`; `seg(G, a, b)`; `poly(G, pts)`; `mark(G)`; `box(G, [x, y, z], w, d, h)`; `median(a)`; `pileTotals(P)`; `g(e, n)`; `zLocal(x)`; `baseOf(n, y)`; `onTable(n, x, y)`; `gq(e, n)`; `at(x, y, z)`; `edge(off, dz)`; `padOf(S)`; `buried(a, b)`; `lift(pts, table, inv, endZ)`; `odMv(a)`; `inside(poly, x, y)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/block-build.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 7 estate files (import 7); used by 0; mentioned by 0 ### Block MV - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/block-mv.mjs (JavaScript, 139 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/block-mv.mjs#L1-L139 - Page: https://code.globalgrid2050.com/explore-code/s/0843.html#f2 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with transformers, solar and cables, using IEC 60287 and IEC 60949. - What it achieves (comment): It is built from the MV chain helper (`mvChain`), the col x helper (`colX`) and the path step (`path`). Stations of the solar block chained on 33kV feeders to the MV board, the grid transformer(s) and the connection, laid out and sized from the load. Its code works with 33 kV and 400 kV. - What it does: It calculates transformers, solar and cables. Defines 12 functions or classes, including mvChain, colX, up, path, groupOf. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, solar, cables, 400kV, 33kV. - Inputs & outputs: Voltage levels named: 400kV, 33kV. - Downstream impact: Used directly by 2 files: Cmd Trench (globalgrid2050); Block Build (globalgrid2050). - Signatures: `export mvChain({ stations = 4, stationMVA = 9.856, pocKv = 400, topology = 'radial', layout = MV_LAYOUT, ...opts } = {})`; `fieldE(cols - 1)`; `colX(col)`; `up(s)`; `path(A, B)`; `groupOf(h)`; `size(mva, h)`; `drop()`; `dropWith(a)`; `side(hs, sts)`; `lineOf(key)`; `off(key, lane)`; `xy(key, v, lane)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271552-site-world/world/block-mv.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 33kV] - Edges: uses 4 estate files (import 4); used by 2; mentioned by 0 ### Bng - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/bng.mjs (JavaScript, 214 lines) · role geodesy · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/bng.mjs#L1-L214 - Page: https://code.globalgrid2050.com/explore-code/s/0843.html#f3 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that converts to cartesian (`toCartesian`), parses grid ref (`parseGridRef`) and calculates planar distances and angles, using Helmert and OSTN15. - What it achieves (comment): It parses grid ref (`parseGridRef`) and is built from the invert3 step (`invert3`) and the apply step (`apply`). `bngToWgs84` mirrors `osgb36_to_wgs84` in GlobalGrid2050 `uk_renewables_pipeline/v9.7/scripts/data/build_v7_2_spine.py` term for term (one deliberate difference: the meridian-arc loop, see `tmInverse`). - What it does: It calculates its inputs. Defines 14 functions or classes, including invert3, apply, toCartesian, fromCartesian, meridional. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Journey (globalgrid2050). - Signatures: `export tmForward(lat, lon)`; `export tmInverse(easting, northing)`; `export bngToWgs84(e, n, ostn)`; `export wgs84ToBng(lat, lon, ostn)`; `export parseGridRef(ref)`; `export gridRef(e, n, digits = 10)`; `N_(AIRY_A - AIRY_B)`; `invert3(m)`; `apply(m, v)`; `toCartesian(lat, lon, h, a, e2)`; `fromCartesian(x, y, z, a, e2)`; `meridional(lat)`; `ma(1 + n + 5 / 4 * n ** 2 + 5 / 4 * n ** 3)`; `mb(3 * n + 3 * n ** 2 + 21 / 8 * n ** 3)`; `mc(15 / 8 * n ** 2 + 15 / 8 * n ** 3)`; `offset(o)`; `e100((l1 - 2) % 5)`; `n100(19 - Math.floor(l1 / 5) * 5)`; `pad(d)`; `l1(19 - n100)`; `l2((19 - n100) * 5)`; `fmt(v)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of energy-transition-simulator/prototype/world/bng.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Bs7671 Checks - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/bs7671-checks.mjs (JavaScript, 41 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/bs7671-checks.mjs#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0843.html#f4 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables, using BS 7671. - What it achieves (comment): It is built from the buried overload helper (`buriedOverload`), the buried protection helper (`buriedProtection`) and the disconnection step (`disconnection`). Checks on the LV cable engines from a cross-check against the national wiring rules. - What it does: It calculates cables. Defines buriedOverload, buriedProtection, disconnection. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables. - Downstream impact: Used directly by 1 file: LV DC Sizing (globalgrid2050). - Signatures: `export buriedOverload({ In, izAt, soilKmW, factor = SOIL_SENSITIVITY })`; `export buriedProtection({ armoured = false, ducted = false, kind = 'LV' } = {})`; `export disconnection(p)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/bs7671-checks.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Cmd Derive - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/cmd-derive.mjs (JavaScript, 101 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/cmd-derive.mjs#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/0844.html#f1 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables and 33kV. - What it achieves (comment): It is built from the noon sun helper (`noonSun`), the row shade helper (`rowShade`) and the formation of helper (`formationOf`). The quantities a typed command changes, worked out from its inputs. Its code works with 33 kV. - What it does: It calculates cables and 33kV. Defines 12 functions or classes, including noonSun, rowShade, formationOf, cableFor, bendOf. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Cmd Model (globalgrid2050). - Signatures: `export noonSun(latDeg)`; `export rowShade({ rise, depth, pitch, elevDeg })`; `export formationOf(formation, od)`; `export cableFor(catalogue, size, metal = 'al')`; `export bendOf(catalogue, cable)`; `export trenchOf({ depth, width, formation, od })`; `export shoelace(pts)`; `export stringLoops({ mps, moduleShortM = 1.134, moduleLongM = 2.384, moduleGapM = 0.02 }, a = LOOP_ASSUMED)`; `export coldVoc({ voc, coeff = -0.0025, minC = -10 }, n)`; `export soilEffect(here)`; `rules(catalogue?.rules || [])`; `m(when)`; `cap(s)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/cmd-derive.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Cmd Grammar Earth - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/cmd-grammar-earth.mjs (JavaScript, 62 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/cmd-grammar-earth.mjs#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/0844.html#f2 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 covering cables. - What it achieves (comment): It parses earth (`parseEarth`) and is built from the is num helper (`isNum`) and the is thermal soil helper (`isThermalSoil`). The earthing words of the command line (earthing, earth, soil rho, bonding), split out of `cmd-grammar.mjs` to keep each cartridge under 400 lines. - What it does: It lists and searches cables. Defines isNum, isThermalSoil, parseEarth, has, chk. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables. - Downstream impact: Used directly by 1 file: Cmd Grammar (globalgrid2050). - Signatures: `export isThermalSoil(rest)`; `export parseEarth(v, rest, bad, eg)`; `isNum(t)`; `has(w)`; `chk(k, x)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/cmd-grammar-earth.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Cmd Grammar Plant - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/cmd-grammar-plant.mjs (JavaScript, 60 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/cmd-grammar-plant.mjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0844.html#f3 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050. It parses plant (`parsePlant`) and is built from the has step (`has`). - What it achieves (comment): The typed words for the plant's inverter class, its packing and the study presets. Its code works with 2500 kVA, 300 kVA and 400 kVA. - What it does: It lists and searches its content. Defines parsePlant, has, at. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Cmd Grammar (globalgrid2050). - Signatures: `export parsePlant(v, rest, out, { put, bad, isNum })`; `has(w)`; `at(w)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/cmd-grammar-plant.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Cmd Grammar Senses - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/cmd-grammar-senses.mjs (JavaScript, 25 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/cmd-grammar-senses.mjs#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/0844.html#f4 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050. It parses senses (`parseSenses`) and is built from the is num helper (`isNum`). - What it achieves (comment): The binoculars words of the command line (binoculars, zoom, range), split out of `cmd-grammar.mjs` to keep each cartridge under 400 lines. - What it does: Defines isNum, parseSenses. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Cmd Grammar (globalgrid2050). - Signatures: `export parseSenses(v, rest, bad)`; `isNum(t)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/cmd-grammar-senses.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Cmd Grammar - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/cmd-grammar.mjs (JavaScript, 400 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/cmd-grammar.mjs#L1-L400 - Page: https://code.globalgrid2050.com/explore-code/s/0844.html#f5 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 covering solar, overhead lines (OHL), cables and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It is built from the said step (`said`), the guard step (`guard`) and the words step (`words`). The typed design language of the site world. Its code works with 10 MVA, 100 MVA and 50 MW. - What it does: It lists and searches solar, overhead lines (OHL), cables and the REPD register. Defines 15 functions or classes, including r, said, guard, words, search. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, overhead lines (OHL), cables, the REPD register. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Cmd Model (globalgrid2050). - Signatures: `export guard(key, v)`; `export words(line)`; `export search(text, limit = 8)`; `export example(c, text = '')`; `export parse(line)`; `export help(topic = '')`; `r(v, d = 2)`; `said(v)`; `hay(c)`; `refuse(why, line)`; `isNum(t)`; `takes(VOCAB[v] || [])`; `put(key, val)`; `num(i, key, units = [])`; `after(w)`; `has(w)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/cmd-grammar.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 8 estate files (import 8); used by 1; mentioned by 0 ### Cmd Model - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/cmd-model.mjs (JavaScript, 357 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/cmd-model.mjs#L1-L357 - Page: https://code.globalgrid2050.com/explore-code/s/0845.html#f1 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables, 33kV and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It applies set (`applySet`), creates session (`createSession`) and runs layout (`runLayout`). The design as typed. A session holds the typed values, runs each command through an engine (the page's plant, block and layers, or a plain CPU layout in tests), echoes what changed in words, keeps an undo stack. Its code works with 33 kV. - What it does: It calculates cables, 33kV and the REPD register. Defines 27 functions or classes, including STRUCT, PACK, moduleOf, tplOpts, f. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV, 1500V (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV, the REPD register, 1500V. - Inputs & outputs: Voltage levels named: 33kV, 1500V. - Signatures: `export moduleOf(st, env = {})`; `export derive(st, env = {}, lay = null)`; `export postOf(st, T)`; `export spoilOf(lay, st, sections = [])`; `export echo(a, b)`; `export layoutInput(st, env = {})`; `export createSession({ engine, env = {} })`; `export explain(what, d)`; `export summarize(r)`; `STRUCT(st)`; `PACK(st)`; `tplOpts(st, env)`; `f(v, d = 2)`; `int(v)`; `sec(sections || [])`; `warnings(d)`; `inWords(e)`; `applySet(st0, c, env)`; `strOf(st)`; `same(a, b, keys)`; `fmtPts(pts)`; `view()`; `runLayout()`; `exec(line, { replay = false } = {})`; `view_(fn)` (and 3 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/cmd-model.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV, 1500V] - Edges: uses 10 estate files (import 10); used by 0; mentioned by 0 ### Connect Here - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/connect-here.mjs (JavaScript, 135 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/connect-here.mjs#L1-L135 - Page: https://code.globalgrid2050.com/explore-code/s/0845.html#f2 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables, solar, 33kV and substations, using IEC 60287 and IEC 60287-1-1. - What it achieves (comment): It parses connect (`parseConnect`) and is built from the refuse step (`refuse`) and the connect kV helper (`connectKv`). The third step of the journey (owner direction 8.3): "connect here solar 50 at 132" drops a site where you stand and plans an illustrative cable back to the nearest substation at that voltage. Its code works with 33 kV and 1 kV. - What it does: It calculates cables, solar, 33kV and substations. Defines 6 functions or classes, including refuse, parseConnect, connectKv, cableOpts, fmtLen. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables, solar, 33kV, substations, 132kV, 1kV. - Inputs & outputs: Voltage levels named: 132kV, 33kV, 1kV. - Signatures: `export parseConnect(line)`; `export connectKv({ kv, mw })`; `export cableOpts(kv, extra = {})`; `export planConnection({ from, to, kv, mw = null, pf = CONNECT_PF, groundAt = () => 0, circuitGroupFactor = 0.8 })`; `refuse(msg, line)`; `rest(m[1] || '')`; `fmtLen(m)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [132kV, 33kV, 1kV] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Elec Style - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/elec-style.mjs (JavaScript, 36 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/elec-style.mjs#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0845.html#f3 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with elec CSS (`elecCss`). It is built from the rgba step (`rgba`) and the elec CSS helper (`elecCss`). - What it achieves (comment): One table for what an electrical line looks like, by voltage level (e4 UI spec, section 3). Its code works with 1.5 kV, 33 kV and 400 kV. - What it does: It calculates its inputs. Defines rgba, elecCss. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 33kV, 1.5kV. - Inputs & outputs: Voltage levels named: 400kV, 33kV, 1.5kV. - Downstream impact: Used directly by 1 file: Single-Line Diagram (SLD) Rules (globalgrid2050). - Signatures: `export rgba(key, a = 1)`; `export elecCss(scope)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/elec-style.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 33kV, 1.5kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Fault Level - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/fault-level.mjs (JavaScript, 14 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/fault-level.mjs#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0845.html#f4 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with transformers. It is built from the transformer fault ka helper (`transformerFaultKA`). - What it achieves (comment): Prospective fault current at a solar block's LV board, by the impedance method. Its code works with 5 MVA. - What it does: It calculates transformers. Defines transformerFaultKA. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers. - Downstream impact: Used directly by 2 files: Cmd Trench (globalgrid2050); LV DC Sizing (globalgrid2050). - Signatures: `export transformerFaultKA(o = {})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Journey - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/journey.mjs (JavaScript, 90 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/journey.mjs#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/0845.html#f5 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with go to (`goTo`) and calculates planar distances (units: kV), covering substations. - What it achieves (comment): It is built from the stand at helper (`standAt`), the kV text helper (`kvText`) and the card text helper (`cardText`). The first step of the journey (owner direction 8): "go substation 132" goes to the nearest substation that works at 132kV (or 400, 275, 66, 33, 11) and stands you outside its real compound fence (the footprints, lib.compound). Its code works with 132 kV. - What it does: It lists and searches substations. Defines 9 functions or classes, including parseJourney, standAt, kvText, cardText, createJourney. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 132kV. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 132kV. - Downstream impact: Used directly by 1 file: Sub Grammar (globalgrid2050). - Signatures: `export parseJourney(line)`; `export standAt(s, land)`; `export cardText(s, kv, d, land)`; `export createJourney({ world, grid, doc = globalThis.document })`; `kvText(v)`; `here()`; `$(id)`; `show(card)`; `goTo(v, fresh)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [132kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### LV DC Sizing - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/lv-dc-sizing.mjs (JavaScript, 400 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/lv-dc-sizing.mjs#L1-L400 - Page: https://code.globalgrid2050.com/explore-code/s/0846.html#f1 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables, using IEC 60287 and IEC 60287-1-1. - What it achieves (comment): It is built from the rdc step (`rdc`), the rac step (`rac`) and the build step (`build`). LV AC and 1.5 kV DC PV cable sizing, with our own code and editable inputs. Its code works with 1 kV. - What it does: It calculates cables. Defines 27 functions or classes, including rdc, rac, build, adiabaticK, air. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 1.5kV, 1kV. - Inputs & outputs: Voltage levels named: 1.5kV, 1kV. - Downstream impact: Used directly by 1 file: Cmd Trench (globalgrid2050). - Signatures: `export rdc(area, t, cable)`; `export rac(area, t, cable, { freq = 50, spacingMm = null } = {})`; `export build(area, cable)`; `export adiabaticK(metal, ti = 90, tf = 250)`; `export nuCylinder(ra, pr = 0.71)`; `export airLoss(dM, ts, ta, { emissivity = 0.9, solarWm2 = 0, absorptivity = 0.6 } = {})`; `export annulusLoss(di, dOut, ti, to, { e1 = 0.9, e2 = 0.9 } = {})`; `export bundleFactor(m)`; `export trefoilRow(n, spacingM, depthM, odMm)`; `export row(n, spacingM, depthM)`; `export rating(spec)`; `export operatingC(ratingResult, I)`; `export chooseIn(Ib, { device = 'mccb', adjustable = false, setStep = 5, ratings = PREFERRED } = {})`; `export coordinate({ Ib, In, Iz, device = 'mccb', overloadLimit = 1.45 })`; `export voltDrop({ dc = false, I, lengthM, r, x = 0, U, pf = 1 })`; `export reactance(area, cable, { freq = 50, spacingMm = null, flat = false } = {})`; `export faultArea(metal, kA, seconds, ti = 90, tf = 250)`; `export stringCircuit(opts = {})`; `export inverterCircuit(opts = {})`; `export minSpacing(o)`; `xs4(8 * PI * freq / r * 1e-7)`; `air(tC)`; `lc(dOut - di)`; `x(c - (n - 1) / 2)`; `mutualT(rho, p, q)` (and 6 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/lv-dc-sizing.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [1.5kV, 1kV] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Measure Format - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/measure-format.mjs (JavaScript, 114 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/measure-format.mjs#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/0846.html#f2 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables. It formats number (`formatNumber`), formats length (`formatLength`) and formats area (`formatArea`). - What it achieves (comment): Plain British English lines from the numbers `measure.mjs` returns. - What it does: It calculates cables. Defines 16 functions or classes, including formatNumber, formatLength, formatArea, formatVolume, formatGradient. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables. - Downstream impact: Used directly by 2 files: Single-Line Diagram (SLD) Rules (globalgrid2050); Cmd Model (globalgrid2050). - Signatures: `export formatNumber(x, dp = 1)`; `export formatLength(m, dp = 1)`; `export formatArea(m2, dp = 1)`; `export formatVolume(m3, dp = 1)`; `export formatGradient(g, dp = 1)`; `export formatTrenchLine(ts, cs = null)`; `export formatCableLine(cs)`; `export formatPlatformLine(cf)`; `export formatProfileLine(p)`; `export fmtSig(x, sf = 3)`; `export fmtQ(v, unit = '', sf = 3)`; `export fmtPct(p)`; `export fmtLen(m)`; `export fmtVolt(v)`; `plural(n, one, many)`; `belowPhrase(cs)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/measure-format.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Module Catalogue - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/module-catalogue.mjs (JavaScript, 105 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/module-catalogue.mjs#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/0846.html#f3 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with cables, using IEC 62548-1. It checks catalogue (`checkCatalogue`) and splits row (`splitRow`). - What it achieves (comment): The generic module catalogue (`data/modules.json`): schema check, the cell grid of a class, the cold open-circuit voltage, and the string and table counts a class gives on a table face. - What it does: It calculates cables. Defines 14 functions or classes, including NUM, checkCatalogue, classOf, nominal, highestVoc. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables. - Downstream impact: Used directly by 4 files: Cmd Derive (globalgrid2050); LV DC Sizing (globalgrid2050); Plant Template (globalgrid2050); String Design (globalgrid2050). - Signatures: `export checkCatalogue(doc)`; `export classOf(doc, id)`; `export nominal(c)`; `export highestVoc(c)`; `export splitRow(c)`; `export sizeM(c)`; `export cellGrid(c)`; `export vocAt(c, tC, bin = nominal(c))`; `export coldVocOf({ voc, coeffPctPerK, tC })`; `export coldVoc(c, tC, bin = highestVoc(c))`; `export modulesPerString(c, coldC, systemV = 1500)`; `export faceFit(c, spanM, runM, gapM = 0.02, orient = 'portrait')`; `export countsFor(c, faces, coldC, systemV = 1500)`; `NUM(v)`; `gapT(lL - rows * ch - splitGap)`; `s0(W - lW)`; `tOf(r)`; `split(tOf(half) - splitGap / 2 - gapT / 2)`; `fit(a, b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/module-catalogue.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Pile Rules - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/pile-rules.mjs (JavaScript, 122 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/pile-rules.mjs#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/0847.html#f1 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with tracker hub (`trackerHub`) and reveal band (`revealBand`). - What it achieves (comment): It is built from the rules for helper (`rulesFor`), the reveal at helper (`revealAt`) and the tracker hub helper (`trackerHub`). The one set of pile rules shared by the pile row tool (`piles.mjs`), the plant layout (`plant-piles.mjs`) and the solar block (`block-build.mjs`), with two profiles: fixed tilt and single-axis tracker. - What it does: Defines 8 functions or classes, including rulesFor, revealAt, trackerHub, revealBand, heightFlags. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 3 files: Block Build (globalgrid2050); Piles (globalgrid2050); Plant Piles (globalgrid2050). - Signatures: `export rulesFor(system)`; `export revealAt({ lowEdgeM, rise, f, railDepthM = PILE_RULES.railDepthM })`; `export trackerHub(R = TRACKER_RULES)`; `export revealBand(nominal, rules = PILE_RULES)`; `export heightFlags(reveal, design, rules = PILE_RULES)`; `export withSoil(rules, soil)`; `export tableLines({ lowEdgeM, rise, posts = 2, eastWest = false, tracker = false, rules = PILE_RULES })`; `export twistDeg(bFront, bRear, len, depth, dz = 0)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/pile-rules.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Piles - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/piles.mjs (JavaScript, 278 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/piles.mjs#L1-L278 - Page: https://code.globalgrid2050.com/explore-code/s/0847.html#f2 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that fits top line (`fitTopLine`) and calculates planar distances and angles. - What it achieves (comment): It fits top line (`fitTopLine`) and is built from the pile stations helper (`pileStations`) and the spread at helper (`spreadAt`). Where the piles of a row of solar tables go, how far each stands out of the ground, how deep it goes in, and what grading a row needs where the ground is too uneven for a straight table. - What it does: It calculates its inputs. Defines 9 functions or classes, including pileStations, spreadAt, fitTopLine, clip, slopeAt. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: Block Build (globalgrid2050); Plant Piles (globalgrid2050). - Signatures: `export pileStations(len, tableLength, pileSpacing, tableGap = 0)`; `export fitTopLine(s, g, reveal, maxSlope = Infinity)`; `export planPiles(opts)`; `export followTopLine(s, g, nominal, bayMax, passes = 400)`; `export revealPercentiles(piles)`; `FIXED_RISE(2 * 2.384 + 0.02)`; `off(len - used)`; `over(tableLength - (np - 1) * pileSpacing)`; `spreadAt(s, g, b)`; `clip(b)`; `slopeAt(groundAt, x, y, h)`; `gx(groundAt(x + h, y) - groundAt(x - h, y))`; `gy(groundAt(x, y + h) - groundAt(x, y - h))`; `ux(x1 - x0)`; `topOf(k)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/piles.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Plant Central - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/plant-central.mjs (JavaScript, 48 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/plant-central.mjs#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0847.html#f3 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with transformers. It is built from the central items helper (`centralItems`) and the item solids helper (`itemSolids`). - What it achieves (comment): What a central-inverter plant adds to the drawing. - What it does: It calculates transformers. Defines centralItems, itemSolids. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers. - Signatures: `export centralItems(r)`; `export itemSolids(kind, at = [0, 0, 0], id = kind, heading = 0)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-central.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Plant Layout - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/plant-layout.mjs (JavaScript, 376 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/plant-layout.mjs#L1-L376 - Page: https://code.globalgrid2050.com/explore-code/s/0848.html#f1 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that maps overhead lines (OHL) and substations. - What it achieves (comment): It is built from the table geometry helper (`tableGeometry`), the frame of helper (`frameOf`) and the inside step (`inside`). A solar plant laid out on measured ground inside a drawn boundary, from generic rules. Its code works with 33 kV and 5000 MW. - What it does: It maps overhead lines (OHL) and substations. Defines 23 functions or classes, including tableGeometry, frameOf, inside, segDist, edgeDist. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'layout'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: overhead lines (OHL), substations, 33kV. - Inputs & outputs: Out: interactive map. Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Cmd Model (globalgrid2050). - Signatures: `export tableGeometry(layout, p, tpl)`; `export frameOf(layout)`; `export inside(poly, x, y)`; `export edgeDist(poly, x, y)`; `export polyArea(poly)`; `export waterIndex(lines, reach, cell = 64)`; `export layoutSteps(input)`; `export layoutPlant(input)`; `export layoutPlantAsync(input, { sliceMs = 12, onProgress = () => {}, now = () => performance.now(), pause } = {})`; `segDist(x, y, ax, ay, bx, by)`; `nearestEdge(poly, x, y)`; `byFields(o.packing ?? LAYOUT_DEFAULTS.packing)`; `tplOf(mw)`; `g(u, v)`; `water(input.water || [])`; `inOhl(u, v)`; `us(us0 + us1)`; `inCompound(ua, ub, va, vb)`; `inAccess(ua, ub, va, vb)`; `avoid(input.avoid || [])`; `alongPts(ua, ub, vs)`; `stretchAt(va, vb, fi = -1)`; `consider(ua, ub, va, vb, m)`; `um(ua + ub)`; `gu(e5 - w5)` (and 5 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-layout.mjs) · essay_status: readme_derived - data_contracts: in []; out [interactive map]; crs []; voltages [33kV] - Edges: uses 6 estate files (import 6); used by 1; mentioned by 0 ### Plant Packing - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/plant-packing.mjs (JavaScript, 139 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/plant-packing.mjs#L1-L139 - Page: https://code.globalgrid2050.com/explore-code/s/0848.html#f2 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with seg dist (`segDist`) and inside poly (`insidePoly`) and calculates planar distances. - What it achieves (comment): It is built from the seg dist helper (`segDist`), the inside poly helper (`insidePoly`) and the fields of helper (`fieldsOf`). How the tables of a plant fill its land. - What it does: It calculates its inputs. Defines 10 functions or classes, including segDist, insidePoly, fieldsOf, fieldSet, within. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Plant Layout (globalgrid2050). - Signatures: `export fieldsOf(boundary)`; `export fieldSet(polys, { fenceSetbackM, hedgeSetbackM = fenceSetbackM })`; `export slice(poly, v)`; `export packFields(c)`; `segDist(x, y, ax, ay, bx, by)`; `insidePoly(poly, x, y)`; `within(f, u, v)`; `okIn(i, u, v)`; `intersect(A, B)`; `fits(L)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-packing.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Plant Piles - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/plant-piles.mjs (JavaScript, 206 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/plant-piles.mjs#L1-L206 - Page: https://code.globalgrid2050.com/explore-code/s/0849.html#f1 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with ls slope (`lsSlope`) and plan tables (`planTables`). - What it achieves (comment): It is built from the ls slope helper (`lsSlope`), the plan tables helper (`planTables`) and the clear step (`clear`). The piles of every table of a laid-out plant (`plant-layout.mjs`), fixed tilt or single-axis tracker, worked out automatically on the measured ground. - What it does: It calculates its inputs. Defines 18 functions or classes, including lsSlope, planTables, gq, gs, at. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Plant Layout (globalgrid2050). - Signatures: `export planTables(tablesIn, { groundAt, system = 'fixed', posts = 2, rules, along = 'ew', pileSpacing, railDepthM } = {})`; `export gradingSuggestions(tables, { rules = PILE_RULES, key = t => t.T.key } = {})`; `export pileSummary(res, { mwp = 0, rules = res.rules || PILE_RULES } = {})`; `export pileBoqItems(id, s, pileType = 'plant')`; `export layoutTables(r)`; `export pilesForLayout(r, groundAt, { posts = 2, rules, soil, mwp = r.built?.mwp ?? 0 } = {})`; `lsSlope(s, g)`; `gq(e, n)`; `gs(e, n)`; `at(f, v)`; `dd(lines[1].f - lines[0].f)`; `sm(f)`; `clear(f)`; `tableResult(T, lines, lr, twist, extra, R, tracker)`; `surf(i, ff)`; `has(f)`; `act(t)`; `acts(a)`; `pct(h)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-piles.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Plant Template - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/plant-template.mjs (JavaScript, 267 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/plant-template.mjs#L1-L267 - Page: https://code.globalgrid2050.com/explore-code/s/0849.html#f2 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with transformers, cables, solar and 33kV, using IEC 60287 and IEC 60949. - What it achieves (comment): It sizes feeder (`sizeFeeder`) and is built from the auto poc kV helper (`autoPocKv`) and the module cold voc helper (`moduleColdVoc`). A generic, parameterised solar plant block diagram, sized from engineering rules. Its code works with 33 kV, 10 MVA and 5000 kVA. - What it does: It calculates transformers, cables, solar and 33kV. Defines 17 functions or classes, including up, r3, autoPocKv, moduleColdVoc, modulesPerString. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, cables, solar, 33kV, 400kV, 1500V. - Inputs & outputs: Voltage levels named: 400kV, 33kV, 1500V. - Downstream impact: Used directly by 4 files: MV Network (globalgrid2050); Block MV (globalgrid2050); Cmd Model (globalgrid2050); Plant Layout (globalgrid2050). - Signatures: `export autoPocKv(mw)`; `export moduleColdVoc(p)`; `export modulesPerString(p)`; `export faultMinArea(kA, s)`; `export plantTemplate(opts = {})`; `export gridChoice(mw, total, fixedUnits = null, feeders = [])`; `export pack(feeders, n)`; `export layoutDiagram(d)`; `up(steps, v)`; `r3(v)`; `node(id, kind, label, rating = {})`; `link(from, to, kind, kv, mva, extra = {})`; `check(name, value, max, min = -Infinity)`; `maxLoad(n)`; `L(i)`; `sizeFeeder(chain, p, cableOpts, minArea)`; `drop()`; `mid(Math.max(0, ...[...pos.values()].map(v => v.x)))` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/plant-template.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 33kV, 1500V] - Edges: uses 2 estate files (import 2); used by 4; mentioned by 0 ### Renewable Energy Planning Database (REPD) Grammar - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/repd-grammar.mjs (JavaScript, 72 lines) · role energy-data · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/repd-grammar.mjs#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/0849.html#f3 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with solar, the REPD register and battery storage (BESS). It parses REPD (`parseRepd`) and filters text (`filterText`). - What it achieves (comment): The typed words for flying between solar and battery projects on the public register (REPD). Its code works with 50 MW. - What it does: It calculates solar, the REPD register and battery storage (BESS). Defines refuse, parseRepd, filterText. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register, battery storage (BESS). - Downstream impact: Used directly by 1 file: Cmd Grammar (globalgrid2050). - Signatures: `export parseRepd(line)`; `export filterText({ tech, cls, minMw })`; `refuse(why, line)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Site Checks - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/site-checks.mjs (JavaScript, 50 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/site-checks.mjs#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0849.html#f4 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with survey check (`surveyCheck`) and survey note (`surveyNote`). - What it achieves (comment): It is built from the day of helper (`dayOf`), the survey check helper (`surveyCheck`) and the survey note helper (`surveyNote`). A date field as a sortable day number (ms since 1970); '2020', '2020-11' and '' are all read. - What it does: It calculates its inputs. Defines dayOf, surveyCheck, surveyNote, sourceConflict. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Plant Layout (globalgrid2050). - Signatures: `export dayOf(v)`; `export surveyCheck(s = {})`; `export surveyNote(s)`; `export sourceConflict(values = [], { tolerance = 0.1, unit = '' } = {})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/site-checks.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Station - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/station.mjs (JavaScript, 262 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/station.mjs#L1-L262 - Page: https://code.globalgrid2050.com/explore-code/s/0850.html#f1 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with transformers, cables and solar. - What it achieves (comment): It is built from the cfg step (`cfg`), the table shape helper (`tableShape`) and the table origin helper (`tableOrigin`). Solar station library: paired tables, pole inverters, DC home cables in ducts, AC trenches, 2 x 5MVA. Its code works with 5 MVA. - What it does: It calculates transformers, cables and solar. Defines 20 functions or classes, including cfg, tableShape, tableOrigin, stringsPerTable, tableStrings. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, cables, solar. - Downstream impact: Used directly by 5 files: Block Trenches (globalgrid2050); Cmd Trench (globalgrid2050); MV Network (globalgrid2050); Block Build (globalgrid2050); and 1 more. - Signatures: `export tableShape(params)`; `export tableOrigin(n, params)`; `export stringsPerTable(params)`; `export tableStrings(params, { corners = true } = {})`; `export dcOrder(n, wiring = 'sequential')`; `export seriesLinks(string, wiring = 'sequential')`; `export inverterSite(k, params)`; `export dcDucts(sites, params)`; `export dcHomeRoutes(strings, sites, params)`; `export acRoute(p, t, id, label, params)`; `export acTrenches(sites, transformers, params)`; `export compoundBox(transformers)`; `export stationSolids(params, sites, transformers)`; `export stationInventory(params, strings = tableStrings(params, { corners: false }))`; `export placer(at = [0, 0, 0], heading = 0)`; `export station(params, { at = [0, 0, 0], heading = 0, corners = true } = {})`; `cfg(p)`; `v(side === 1 ? s.rows - 1 - r : r)`; `p(dv, du)`; `offset((slot % 6) * 2 + end - 5.5)`; `point([x, y, z = 0])`; `box(b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609270220-site-world-v3/world/station.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### String Design - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/string-design.mjs (JavaScript, 60 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/string-design.mjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0850.html#f2 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with typed class (`typedClass`) (units: °C). - What it achieves (comment): It is built from the num step (`num`), the string design helper (`stringDesign`) and the string line helper (`stringLine`). The string voltage of the solar block, worked out in the open. - What it does: It calculates its inputs. Defines 6 functions or classes, including num, stringDesign, stringLine, stringWords, typedClass. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Cmd Model (globalgrid2050). - Signatures: `export stringDesign({ cls, cat = {}, mps, tempMinC, systemV } = {})`; `export stringLine(d)`; `export stringWords(d)`; `export typedClass({ wp, voc, coeffPctPerK })`; `export stringCounts({ modules, mps, stringsPerInverter = 24, inverters = null })`; `num(v)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271740-site-world/world/string-design.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Structure Presets - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/structure-presets.mjs (JavaScript, 74 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/structure-presets.mjs#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/0850.html#f3 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that works with solar and transformers. - What it achieves (comment): It is built from the preset by id helper (`presetById`) and the preset text helper (`presetText`). Generic plant presets from an open-data study of large operational UK solar farms, typed as "preset " (or "structure "). Its code works with 3 MVA, 3 MW and 300 kVA. - What it does: It calculates solar and transformers. Defines presetById, presetText. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, transformers. - Downstream impact: Used directly by 3 files: Cmd Grammar Plant (globalgrid2050); Cmd Grammar (globalgrid2050); Cmd Model (globalgrid2050). - Signatures: `export presetById(id)`; `export presetText()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/structure-presets.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Structures - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/structures.mjs (JavaScript, 136 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/structures.mjs#L1-L136 - Page: https://code.globalgrid2050.com/explore-code/s/0850.html#f4 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that parses format (`parseFormat`) and formats name (`formatName`) and refusal (`formatRefusal`) (units: kVA), using IEC 62548-1. - What it achieves (comment): It parses format (`parseFormat`), formats name (`formatName`) and formats refusal (`formatRefusal`). The mounting structures the typed bar can build, and the structure checks they raise. - What it does: It lists and searches its content. Defines 11 functions or classes, including parseFormat, formatName, formatRefusal, tableShape, halfCols. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 3 files: Cmd Grammar (globalgrid2050); Cmd Model (globalgrid2050); Plant Layout (globalgrid2050). - Signatures: `export parseFormat(w)`; `export formatName(tiers, orient, cols)`; `export formatRefusal(layout, tiers, orient)`; `export tableShape(p, mps, layout)`; `export halfCols(cols)`; `export pitchStretch({ depth, rise, elevDeg, fallN, maxStretch = 2 })`; `export winterNoonDeg(latDeg)`; `export structureById(id)`; `export catalogueText()`; `export mpptCap({ mppts = 12, stringsPerMppt = 2 } = {})`; `export structureChecks(f = {})`; `flat(depth * t + rise)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/structures.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Sub Grammar - File: globalgrid2050/energy-transition-simulator/202609280014/mod/engine/sub-grammar.mjs (JavaScript, 21 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/engine/sub-grammar.mjs#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0850.html#f5 - Synopsis: A JavaScript module in the engine folder of GlobalGrid2050 that parses sub command (`parseSubCommand`), covering substations and the Renewable Energy Planning Database (REPD) register. It parses sub command (`parseSubCommand`). - What it achieves (comment): The typed words for the journey's first step (go substation 132 · next substation), kept out of `cmd-grammar.mjs` (as `repd-grammar.mjs` is) so that file stays under the line cap. - What it does: Defines parseSubCommand. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, the REPD register. - Downstream impact: Used directly by 1 file: Cmd Grammar (globalgrid2050). - Signatures: `export parseSubCommand(line)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GPU Rows - File: globalgrid2050/energy-transition-simulator/202609280014/mod/gpu-rows.js (JavaScript, 39 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/gpu-rows.js#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0850.html#f6 - Synopsis: A JavaScript file in GlobalGrid2050. It is built from the run step (`run`) and the init step (`init`). - What it achieves (comment): Panel rows detected OFFLINE on the GPU (CuPy, NumPy witness: (local path)) from Esri z17 imagery, saved as lon/lat polylines (`mod/gpu-rows-6502.json`). - What it does: It fetches data. Defines run, init. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file gpu-rows-6502.json. Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `BASE(document.currentScript && document.currentScript.src.replace(/[^/]*$/, ''))`; `run(btn)`; `init()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file gpu-rows-6502.json]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Perf - File: globalgrid2050/energy-transition-simulator/202609280014/mod/perf.js (JavaScript, 136 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/perf.js#L1-L136 - Page: https://code.globalgrid2050.com/explore-code/s/0851.html#f1 - Synopsis: A JavaScript file in GlobalGrid2050 that extracts planes (`extractPlanes`) and calculates planar distances. - What it achieves (comment): It extracts planes (`extractPlanes`) and is built from the attach step (`attach`) and the bump terrain helper (`bumpTerrain`). The wire layer, made light (plain script; attaches to window.SIM). - What it does: It draws its content. Defines 10 functions or classes, including mx, my, mz, attach, bumpTerrain. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `MOD_URL(document.currentScript && document.currentScript.src)`; `mx(lon)`; `my(lat)`; `mz(alt, lat)`; `attach()`; `bumpTerrain()`; `ensurePlaced(b)`; `L(off.x || off.y)`; `entryFor(gl, b)`; `extractPlanes(m)`; `row(i)`; `visible(x, y, z, r)`; `m(args && args.defaultProjectionData && args.defaultProjectionData.mainMatrix)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Pylons Real - File: globalgrid2050/energy-transition-simulator/202609280014/mod/pylons-real.js (JavaScript, 165 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/mod/pylons-real.js#L1-L165 - Page: https://code.globalgrid2050.com/explore-code/s/0851.html#f2 - Synopsis: A JavaScript file in GlobalGrid2050 using data from the GridAtlas repository. It makes block (`makeBlock`) and adds layer (`addLayer`). - What it achieves (comment): Lattice pylons and sagging conductors on the real GridAtlas lines. - What it does: It maps its content. Defines 16 functions or classes, including ready, start, kx, dist, towersOf. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data. Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `ready()`; `start()`; `kx(lat)`; `dist(a, b)`; `towersOf(kv, li)`; `dx(t.lon - o.lon)`; `lattice(g)`; `half(z)`; `sq(z)`; `attach(g)`; `elev(lon, lat)`; `makeBlock(t)`; `X(a, l, z, base = o, uu = u, vv = v, dz = 0)`; `refresh()`; `regrade()`; `onAdd(m, g)`; `sh(t, s)`; `render(g, args)`; `m(args && args.defaultProjectionData && args.defaultProjectionData.mainMatrix)`; `addLayer()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Overlay - File: globalgrid2050/energy-transition-simulator/202609280014/overlay.html (HTML, 300 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280014/overlay.html#L1-L300 - Page: https://code.globalgrid2050.com/explore-code/s/0851.html#f3 - Published at: https://globalgrid2050.com/energy-transition-simulator/202609280014/overlay.html - Synopsis: A map page in GlobalGrid2050 that maps grid substations, DEM and solar, using OSTN15 and Helmert, and uses data from OpenStreetMap (Overpass) and the GridAtlas repository. Published at https://globalgrid2050.com/energy-transition-simulator/202609280014/overlay.html. - What it achieves (name): It adds grid (`addGrid`), sets mode (`setMode`) and loads rows (`loadRows`). Defines `placed`, `withAnchor`, `addGrid` and 17 more. It reads `mod/index.json`. It responds to keydown, keyup and pointerdown events. - What it does: It maps grid substations, DEM, solar and LiDAR terrain. Defines 24 functions or classes, including placed, withAnchor, addGrid, block, c. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, LiDAR terrain. - Inputs & outputs: In: data source: OpenStreetMap (Overpass); data source: gridatlas data; JSON file style.json; GeoJSON file grid_substations.geojson; JSON file index.json. Out: web page; interactive map; canvas drawing. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 7 files: SatNav — Scope Page (satnav, https://ventusltd.github.io/satnav/scope/); GlobalGrid2050 — Energy Transition Simulator Page (globalgrid2050, https://globalgrid2050.com/energy-transition-simulator/202609280014/); GlobalGrid2050 — Energy Transition Simulator Page (globalgrid2050, https://globalgrid2050.com/energy-transition-simulator/); Energy Transition Simulator — Latest Page (globalgrid2050, https://globalgrid2050.com/energy-transition-simulator/latest/); and 3 more. Reached from 16 other entry points, including Kuiper Belt — See Through Page (kuiper-belt, https://ventusltd.github.io/kuiper-belt/see-through/202610050513/); Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html). It is itself an entry point, published at https://globalgrid2050.com/energy-transition-simulator/202609280014/overlay.html. - Signatures: `placed(lon, lat, lines, extra = {}, pre = false)`; `withAnchor(m, o)`; `addGrid()`; `block(lon, lat)`; `c(x, y, s, h)`; `onAdd(m, gl)`; `sh(t, s)`; `ground()`; `setMode(m)`; `joyAt(e)`; `tick(t)`; `f(keys.has('w') || keys.has('arrowup') ? 1 : 0)`; `r(keys.has('d') ? 1 : 0)`; `turn(keys.has('e') || keys.has('arrowright') ? 1 : 0)`; `tilt(keys.has('r') ? 1 : 0)`; `dn(f * Math.cos(b) - r * Math.sin(b))`; `loadRows()`; `h(y)`; `tower(h)`; `buildPylons()`; `readout()`; `pfLine(tag, lat, lon)`; `pfReadout()`; `render()`; `lonLatToTile(lon, lat, z)` (and 11 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap (Overpass); data source: gridatlas data; JSON file style.json; GeoJSON file grid_substations.geojson; JSON file index.json]; out [web page; interactive map; canvas drawing]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 3 estate files (import 3); used by 7; mentioned by 0 ### Scanner Rows - File: globalgrid2050/energy-transition-simulator/202609280103/mod/scanner-rows.js (JavaScript, 155 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280103/mod/scanner-rows.js#L1-L155 - Page: https://code.globalgrid2050.com/explore-code/s/0852.html#f1 - Synopsis: A JavaScript module in GlobalGrid2050 that fetches LiDAR terrain. It checks farm (`checkFarm`), gets JSON (`getJson`) and loads farms (`loadFarms`). - What it achieves (comment): The GPU lab's baked panel rows (lon/lat per public register farm) drawn as tilted tables where they are, labelled "estimated from imagery by the Wire Frame Scanner". - What it does: It fetches LiDAR terrain. Defines 17 functions or classes, including bbox, local, distToBboxM, nearestRowM, checkFarm. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file scanner-rows.farms.json. - Signatures: `bbox(rows)`; `local(lat0, lon0)`; `distToBboxM(b, lat, lon)`; `nearestRowM(rows, lat, lon)`; `checkFarm(farm, doc, padM = PAD_M)`; `tableLines(ax, ay, bx, by, widthM, tiltDeg = TILT_DEG, lowM = LOW_M)`; `seg(p, q)`; `surveyGate(buildYear, dsmYears, dtmYears)`; `rowSource(doc)`; `rowsAllowed(farm, doc)`; `stripWidthM(farm, doc)`; `BASE(document.currentScript && document.currentScript.src.replace(/[^/]*$/, ''))`; `getJson(u)`; `loadFarms()`; `check()`; `drawFarm(S, PF, farm, fly)`; `run(btn)`; `init()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of energy-transition-simulator/prototype/mod/scanner-rows.js) · essay_status: readme_derived - data_contracts: in [JSON file scanner-rows.farms.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Plan View - File: globalgrid2050/energy-transition-simulator/202609280202/mod/plan-view.js (JavaScript, 291 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280202/mod/plan-view.js#L1-L291 - Page: https://code.globalgrid2050.com/explore-code/s/0852.html#f2 - Synopsis: A JavaScript file in GlobalGrid2050 that maps plan wire, substations and LiDAR terrain. It applies plan (`applyPlan`) and is built from the wait step (`wait`) and the skip step (`skip`). - What it achieves (comment): Plan: the massive plan in 2D, the close-up in 3D. It responds to keydown and click events. - What it does: It maps plan wire, substations and LiDAR terrain. Defines 29 functions or classes, including wait, skip, isRow, kindOf, provOf. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, LiDAR terrain. - Inputs & outputs: Out: SVG drawing. - Signatures: `wait(n)`; `skip(b)`; `isRow(b)`; `kindOf(b)`; `provOf(b)`; `labelOf(b)`; `drawing()`; `hull(P)`; `sigOf()`; `keep(id, what, val)`; `applyPlan()`; `add(id, spec)`; `clearPlan()`; `kvText(v)`; `relabel()`; `take(t, at, prov, color)`; `place()`; `scale()`; `ease(pitch, why)`; `after()`; `on()`; `off()`; `to3d()`; `toPlan()`; `leave(why)` (and 4 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Procedural - File: globalgrid2050/energy-transition-simulator/202609280202/mod/procedural.js (JavaScript, 228 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609280202/mod/procedural.js#L1-L228 - Page: https://code.globalgrid2050.com/explore-code/s/0852.html#f3 - Synopsis: A JavaScript file in GlobalGrid2050 that maps cables, find go, battery storage (BESS) and overhead lines (OHL). It adds layer (`addLayer`) and fits rows (`fitRows`). - What it achieves (comment): Procedural fill ANYWHERE. Each public register asset (Renewable Energy Planning Database (REPD): ground solar and battery storage) in view gets a wireframe anchored at its published register point and sized from its published capacity. Its code works with 3.7 MWh. - What it does: It maps cables, find go, battery storage (BESS) and overhead lines (OHL). Defines 23 functions or classes, including E, start, mount, addLayer, drop. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables, battery storage (BESS), overhead lines (OHL). - Inputs & outputs: In: JSON file cables.json; JSON file find-go.data.json. - Signatures: `E(n)`; `start(SIM, PF)`; `mount(SIM, PF, CM, PL, catalogue, reg)`; `onAdd(m, gl)`; `render(gl, args)`; `addLayer()`; `drop(fn)`; `say(t)`; `place(r, lines)`; `box(out, x, y, w, d, z0, h)`; `segD(px, py, ax, ay, bx, by)`; `ohlNear(r, R)`; `ohlSay(ohl, what)`; `crosses(c, a, b)`; `rowDocs()`; `sig()`; `wrap90(d)`; `halfSide(st, latDeg)`; `fitRows(r)`; `solar(r)`; `turn([e, n], s = 1)`; `rowAz((st.layout === 'south' ? 90 : 0) + rot + 180)`; `kept(res.skipped && res.skipped.ohl)`; `bess(r)`; `near(c)` (and 2 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file cables.json; JSON file find-go.data.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Tables - File: globalgrid2050/energy-transition-simulator/202609281243/mod/tables.js (JavaScript, 337 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202609281243/mod/tables.js#L1-L337 - Page: https://code.globalgrid2050.com/explore-code/s/0853.html#f1 - Synopsis: A JavaScript module in GlobalGrid2050 that draws scanner rows farms, cables and solar, using least squares. It routes ends (`routeEnds`), gets JSON (`getJson`) and syncs cap (`syncCap`). - What it achieves (comment): Real tent tables stood on the MEASURED row runs the page already holds (Scanner rows' row file, estimated from imagery), built from the station library, streamed around the camera and drawn through SIM.addBlock (the overlay's own wire layer. - What it does: It draws scanner rows farms, cables and solar. Defines 37 functions or classes, including rowAxis, toRow, fromRow, stripStep, median. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables, solar. - Inputs & outputs: In: JSON file scanner-rows.farms.json. - Signatures: `rowAxis(runs)`; `toRow(th, x, y)`; `fromRow(th, u, v)`; `stripStep(us)`; `median(a)`; `rowsFromRuns(runs, opt = {})`; `flush(c1)`; `halfWidthOf(s)`; `coverage(t, raster, halfW)`; `tablesFromRows(rows, s, raster)`; `routeEnds(doc, caseKey = 'A4', tol = 0.3)`; `alone(e)`; `claimPoles(tables, ends, axis, halfW, claim = CLAIM_M)`; `outlineLines(shape, s)`; `gridLines(shape, s)`; `dashed(L, a, b, dash)`; `structureLines(shape, s)`; `post(f)`; `poleLines(site, L, ghost = false)`; `polyline(L, pts)`; `farmParams(defaults)`; `BASE(document.currentScript && document.currentScript.src.replace(/[^/]*$/, ''))`; `getJson(u)`; `on(id)`; `start(SIM, PF)` (and 13 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file scanner-rows.farms.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Addresses - File: globalgrid2050/energy-transition-simulator/202610290235/mod/addresses.js (JavaScript, 187 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/202610290235/mod/addresses.js#L1-L187 - Page: https://code.globalgrid2050.com/explore-code/s/0853.html#f2 - Synopsis: A JavaScript file in GlobalGrid2050 that fetches postcodes, using OSTN15 and Helmert from postcodes.io. - What it achieves (comment): It looks up postcode (`lookupPostcode`) and is built from the on grid helper (`onGrid`) and the classify step (`classify`). Type a UK postcode, a National Grid reference, an easting/northing pair or a lat, lon into the find box ("go SW1A 1AA", "go TQ 30624 78388", "go 530624 178388", "go 51.5, -0.12") and fly to the right spot. It responds to keydown events. - What it does: It fetches postcodes. Defines 10 functions or classes, including onGrid, classify, gridToLatLon, lookupPostcode, metres. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes. - Inputs & outputs: In: data source: postcodes.io; browser storage (getItem). Out: browser storage (setItem). Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Signatures: `onGrid(e, n)`; `classify(raw)`; `gridToLatLon(e, n)`; `get(k)`; `set(k, v)`; `keys()`; `sweep()`; `forget()`; `lookupPostcode(pc)`; `r(await res.json())`; `metres(a, b)`; `marker(lon, lat)`; `land(S, lat, lon, text, zoom)`; `ref10(e, n)`; `conv(o)`; `go(S, raw)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: postcodes.io; browser storage (getItem)]; out [browser storage (setItem)]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 — Energy Transition Simulator Page - File: globalgrid2050/energy-transition-simulator/index.html (HTML, 14 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/index.html#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0853.html#f3 - Published at: https://globalgrid2050.com/energy-transition-simulator/ - Synopsis: A web page covering postcodes, using OSTN15. Published at https://globalgrid2050.com/energy-transition-simulator/. - What it does: It draws postcodes. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/energy-transition-simulator/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 0; mentioned by 0 ### Energy Transition Simulator — Latest Page - File: globalgrid2050/energy-transition-simulator/latest/index.html (HTML, 1 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/energy-transition-simulator/latest/index.html#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/0853.html#f4 - Published at: https://globalgrid2050.com/energy-transition-simulator/latest/ - Synopsis: A web page in GlobalGrid2050. Published at https://globalgrid2050.com/energy-transition-simulator/latest/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 2 files: GlobalGrid2050 — Energy Transition Simulator Page (globalgrid2050, https://globalgrid2050.com/energy-transition-simulator/); Next Weekend Spec (wire-frame-scanner). It is itself an entry point, published at https://globalgrid2050.com/energy-transition-simulator/latest/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 2; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/uk_energy_v2_oil_graph_safe/manifest.yml (YAML, 24 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/uk_energy_v2_oil_graph_safe/manifest.yml#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0853.html#f5 - Synopsis: A configuration file in the feature requests folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 001 Generation Data Discipline - File: globalgrid2050/gridbot_manifests/001_generation_data_discipline.yml (YAML, 119 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/gridbot_manifests/001_generation_data_discipline.yml#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/0853.html#f6 - Synopsis: A configuration file in the gridbot manifests folder of GlobalGrid2050. - What it achieves (comment): Manifest driven upgrade for UK Generation History V6. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Earth - File: globalgrid2050/marketing/earth.html (HTML, 340 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/marketing/earth.html#L1-L340 - Page: https://code.globalgrid2050.com/explore-code/s/0854.html#f1 - Published at: https://globalgrid2050.com/marketing/earth.html - Synopsis: A web page in the marketing folder of GlobalGrid2050. Published at https://globalgrid2050.com/marketing/earth.html. - What it achieves (name): It is built from the handle texture load helper (`handleTextureLoad`), the handle tex error helper (`handleTexError`) and the init system helper (`initSystem`). Defines `handleTextureLoad`, `handleTexError`, `initSystem` and 1 more. It responds to click, start and resize events. - What it does: It draws its content. Defines handleTextureLoad, handleTexError, initSystem, animate. Uses libraries three, three/addons/controls/OrbitControls.js. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: web page; WebGL/WebGPU drawing. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/marketing/earth.html. - Signatures: `init()`; `tick()`; `setRotation(isRotating)`; `checkReadiness()`; `render()`; `handleTextureLoad()`; `handleTexError()`; `buildStarfield()`; `update()`; `t(now.getUTCHours() + now.getUTCMinutes() / 60 + now.getUTCSeconds() / 3600)`; `rotationSpeed(Math.PI * 2)`; `onWindowResize()`; `dispose()`; `initSystem()`; `animate()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Showcase - File: globalgrid2050/marketing/showcase.html (HTML, 119 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/marketing/showcase.html#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/0854.html#f2 - Published at: https://globalgrid2050.com/marketing/showcase.html - Synopsis: A map page in the marketing folder of GlobalGrid2050 that maps grid 400kV, grid 275kV, grid 132kV and grid 66kV. Published at https://globalgrid2050.com/marketing/showcase.html. - What it achieves (name): It is built from the rotate globe helper (`rotateGlobe`). Defines `rotateGlobe`. Its code works with 66 kV. It responds to click events. - What it does: It maps grid 400kV, grid 275kV, grid 132kV and grid 66kV. Defines rotateGlobe. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 66kV. - Inputs & outputs: Out: web page; interactive map. Voltage levels named: 66kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/marketing/showcase.html. - Signatures: `rotateGlobe()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; interactive map]; crs []; voltages [66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Federated Relationships - File: globalgrid2050/pipelinenews_intelligence/202608311343/assets/202608282200-federated-relationships.mjs (JavaScript, 91 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/pipelinenews_intelligence/202608311343/assets/202608282200-federated-relationships.mjs#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/0854.html#f3 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 that fetches verified projection (`fetchVerifiedProjection`), using SHA-256. - What it achieves (name): It fetches verified projection (`fetchVerifiedProjection`) and is built from the bytes to hex helper (`bytesToHex`) and the render step (`render`). Defines `invariant`, `bytesToHex`, `fetchVerifiedProjection` and 2 more. - What it does: It draws its content. Defines invariant, bytesToHex, fetchVerifiedProjection, render, mountFederatedRelationships. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `export mountFederatedRelationships({ host, payloadAsset })`; `invariant(condition, message)`; `bytesToHex(bytes)`; `fetchVerifiedProjection(asset)`; `render(host, projection)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Project Intelligence - File: globalgrid2050/pipelinenews_intelligence/202608311343/assets/202608311343-project-intelligence.mjs (JavaScript, 323 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/pipelinenews_intelligence/202608311343/assets/202608311343-project-intelligence.mjs#L1-L323 - Page: https://code.globalgrid2050.com/explore-code/s/0855.html#f1 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 that works with tab overview (`tabOverview`) and tab lead time (`tabLeadTime`) (units: MW). - What it achieves (comment): It is built from the invariant step (`invariant`), the fmt step (`fmt`) and the esc step (`esc`). PipelineNews project-intelligence cartridge.. deployment: not-authorised. It responds to click events. - What it does: It draws its content. Defines 12 functions or classes, including invariant, el, fmt, esc, barList. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `export mountProjectIntelligence({ host, payloadAsset })`; `invariant(condition, message)`; `el(tag, cls, html)`; `fmt(n)`; `esc(s)`; `barList(rows, colour)`; `tabOverview(data, ix)`; `tabLeadTime(data, ix)`; `tabGrid(data, ix)`; `tabDataCentres(data, ix)`; `tabMethod(data, ix)`; `select(tab)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### V8 Fast - File: globalgrid2050/pipelinenews_intelligence/202608312202/assets/202608270055-v8-fast.css (CSS, 315 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/pipelinenews_intelligence/202608312202/assets/202608270055-v8-fast.css#L1-L315 - Page: https://code.globalgrid2050.com/explore-code/s/0855.html#f2 - Synopsis: A style sheet in the assets folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). - What it achieves (comment): `ui/styles/202608261740-v7-foundation.css`. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Downstream impact: Used directly by 4 files: GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/); V8 Fast Candidate (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202609010719-v8-fast-candidate.html); Releases — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202611132345-pipelinenews/). Reached from 125 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Sector Intelligence - File: globalgrid2050/pipelinenews_intelligence/202608312244/assets/202608312109-sector-intelligence.mjs (JavaScript, 275 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/pipelinenews_intelligence/202608312244/assets/202608312109-sector-intelligence.mjs#L1-L275 - Page: https://code.globalgrid2050.com/explore-code/s/0856.html#f1 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 that validates asset (`validateAsset`), decodes payload (`decodePayload`) and loads payload (`loadPayload`), using SHA-256. - What it achieves (comment): It validates asset (`validateAsset`), decodes payload (`decodePayload`) and loads payload (`loadPayload`). This module is a new cartridge over the immutable payload. It responds to click events. - What it does: It draws its content. Defines 10 functions or classes, including topicIsShown, element, installStyles, sha256Hex, validateAsset. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: DuckDB queries. - Signatures: `export mountSectorIntelligence({ host, payloadAsset })`; `topicIsShown(code)`; `element(tag, attributes = {}, text = null)`; `installStyles()`; `sha256Hex(bytes)`; `validateAsset(asset)`; `decodePayload(payload)`; `loadPayload(asset)`; `renderRows(container, rows)`; `select(topic)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### GB Electricity Context - File: globalgrid2050/pipelinenews_intelligence/202608312339/assets/202608312339-gb-electricity-context.mjs (JavaScript, 144 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/pipelinenews_intelligence/202608312339/assets/202608312339-gb-electricity-context.mjs#L1-L144 - Page: https://code.globalgrid2050.com/explore-code/s/0856.html#f2 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 that loads attested product (`loadAttestedProduct`) and validates product (`validateProduct`), covering solar, using SHA-256. - What it achieves (name): It loads attested product (`loadAttestedProduct`) and validates product (`validateProduct`). Defines `invariant`, `escapeHtml`, `digestHex` and 6 more. - What it does: It draws solar. Defines 9 functions or classes, including invariant, escapeHtml, digestHex, loadAttestedProduct, validateProduct. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Signatures: `export mountGbElectricityContext({ host, payloadAsset })`; `invariant(condition, message)`; `escapeHtml(value)`; `digestHex(buffer)`; `loadAttestedProduct(asset)`; `validateProduct(product)`; `number(value, digits = 0)`; `money(value)`; `render(host, product)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Grid Proximity - File: globalgrid2050/pipelinenews_intelligence/202609020611/assets/202608311610-grid-proximity.mjs (JavaScript, 702 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/pipelinenews_intelligence/202609020611/assets/202608311610-grid-proximity.mjs#L1-L702 - Page: https://code.globalgrid2050.com/explore-code/s/0857.html#f1 - Synopsis: A JavaScript module in GlobalGrid2050 that marks tabs, renders radius and sort, calculates great-circle distances and angles and reads inputs for gp centre, gp radius and gp target pick. - What it achieves (comment): It marks tabs (`markTabs`), renders radius (`renderRadius`) and renders sort (`renderSort`). PipelineNews grid-proximity cartridge.. deployment: not-authorised. Its code works with 66 kV and 132 kV. It responds to click and keydown events. - What it does: It draws substations, the REPD register, 66kV and cables. Defines 27 functions or classes, including atlasHaversineKm, boundingBox, esc, km, mw. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, the REPD register, 66kV, cables, 132kV. - Inputs & outputs: In: form fields (user input). Out: canvas drawing. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 132kV, 66kV. - Signatures: `export mountGridProximity({ host, payloadAsset })`; `atlasHaversineKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `boundingBox(lon, lat, km)`; `esc(s)`; `km(v)`; `mw(v)`; `markTabs()`; `ensurePayload()`; `select(code)`; `renderRadius(d)`; `run()`; `renderSort(d)`; `value(r, k)`; `draw()`; `renderConnect(d)`; `lineFeature(from, to, properties)`; `renderMethod(d)`; `injectScopeStyle()`; `paintScope(canvas, row, t)`; `toXY(lon, lat)`; `dx(lon - row.at[0])`; `dy(lat - row.at[1])`; `rr(R * i)` (and 8 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [canvas drawing]; crs [WGS84 / EPSG:4326]; voltages [132kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Wider Fleet - File: globalgrid2050/pipelinenews_intelligence/202609050216/assets/202609040044-wider-fleet.mjs (JavaScript, 580 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/pipelinenews_intelligence/202609050216/assets/202609040044-wider-fleet.mjs#L1-L580 - Page: https://code.globalgrid2050.com/explore-code/s/0858.html#f2 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 that writes deep link (`writeDeepLink`) and selects technology (`selectTechnology`), covering the Renewable Energy Planning Database (REPD) register, solar, postcodes and wind. - What it achieves (comment): It maps links row (`mapLinksForRow`), maps actions (`mapActions`) and renders wider (`renderWider`). The REPD technology types the spine does not carry, behind ONE labelled control in the product's own technology row. It responds to change and click events. - What it does: It draws the REPD register, solar, postcodes and wind. Defines 15 functions or classes, including esc, repdRecords, mapLinksForRow, mapActions, displayRefs. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, postcodes, wind. - Inputs & outputs: In: form fields (user input). Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export mapLinksForRow(row)`; `export mountWiderFleet({ host, payloadAsset, presentSummary, onSpineRepaint })`; `esc(value)`; `repdRecords(row)`; `mapActions(row)`; `displayRefs(row)`; `displayStatuses(row)`; `num(value)`; `carried(value)`; `declineExport(request, technology, shown)`; `visible()`; `clearWider()`; `renderWider()`; `writeDeepLink(type)`; `selectTechnology(type)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/testcode/202609060340/pipeline/assets/202609040044-wider-fleet.mjs) · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 1 ### Orientation - File: globalgrid2050/pipelinenews_intelligence/202609050309/assets/202608272048-orientation.css (CSS, 524 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/pipelinenews_intelligence/202609050309/assets/202608272048-orientation.css#L1-L524 - Page: https://code.globalgrid2050.com/explore-code/s/0859.html#f1 - Synopsis: A style sheet in the assets folder of GlobalGrid2050. - What it achieves (comment): PipelineNews orientation repair cartridge. The application is non-commercial open source. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 4 files: GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/); V8 Fast Candidate (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202609010719-v8-fast-candidate.html); Releases — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202611132345-pipelinenews/). Reached from 125 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### GlobalGrid2050 — PipelineNews Intelligence - File: globalgrid2050/pipelinenews_intelligence/202609050309/assets/202608291447-app.mjs (JavaScript, 2058 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/pipelinenews_intelligence/202609050309/assets/202608291447-app.mjs#L1-L2058 - Page: https://code.globalgrid2050.com/explore-code/s/0860.html#f1 - Synopsis: A JavaScript module in the assets folder covering engine graph, the Renewable Energy Planning Database (REPD) register and postcodes, using EPSG:27700 and SHA-256, and uses data from the ventus-grid-engine repository. - What it achieves (code): It compares text (`compareText`), fetches queue (`FetchQueue`) and hashes JSON (`hashJson`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). Its code works with 33 kV, 1 MW and 11 kV. It responds to click, change and input events. - What it does: It draws engine graph, the REPD register, postcodes and substations. Defines 90 functions or classes, including localityFor, gridFor, substationFor, metricChip, gridActionHtml. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, postcodes, substations, 132kV, 33kV, 11kV. - Inputs & outputs: In: data source: ventus-grid-engine data; JSON file 202608291447-registry.json; JSON file engine-graph.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). Reached from 51 other entry points, including Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html); Homepage V039 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v039.html). - Signatures: `localityFor(item)`; `gridFor(item)`; `substationFor(item)`; `metricChip({ ready, hit, located, label, unitSuffix, lines })`; `gridActionHtml(item)`; `substationActionHtml(item)`; `compareText(leftText, rightText, direction)`; `class FetchQueue`; `constructor(limit)`; `add(task)`; `drain()`; `escapeHtml(value)`; `normalise(value)`; `invariant(condition, message)`; `arraysEqual(left, right)`; `hashJson(value)`; `fetchImmutable(url, { timeoutMs = 15000 } = {})`; `dictionary(name, index)`; `project(index)`; `localitySearchText(index)`; `searchTextFor(index)`; `compactSearchText(index)`; `formatNumber(value)`; `displayDate(value)`; `updatedTimestamp(index)` (and 15 more) - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; JSON file 202608291447-registry.json; JSON file engine-graph.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [132kV, 33kV, 11kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 1 ### GlobalGrid2050 — PipelineNews Intelligence Page - File: globalgrid2050/pipelinenews_intelligence/202609050309/index.html (HTML, 404 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/pipelinenews_intelligence/202609050309/index.html#L1-L404 - Page: https://code.globalgrid2050.com/explore-code/s/0863.html#f1 - Published at: https://globalgrid2050.com/pipelinenews_intelligence/202609050309/ - Synopsis: A web page covering the Renewable Energy Planning Database (REPD) register, solar, postcodes and battery storage (BESS), and uses data from the GridAtlas, ventus-grid-engine and data-federation-map-for-GlobalGrid2050-all-repos repositories. Published at https://globalgrid2050.com/pipelinenews_intelligence/202609050309/. - What it achieves (comment): Current verified Atlas V9 deep-link successor. Its code works with 1 MW. - What it does: It draws the REPD register, solar, postcodes and battery storage (BESS). Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, postcodes, battery storage (BESS). - Inputs & outputs: In: DuckDB queries; form fields (user input). Out: web page. - Downstream impact: Used directly by 51 files: Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html); Homepage V039 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v039.html); Homepage V040 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v040.html); and 47 more. It is itself an entry point, published at https://globalgrid2050.com/pipelinenews_intelligence/202609050309/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [DuckDB queries; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 19 estate files (link 16, stylesheet 2, script-src 1); used by 51; mentioned by 0 ### GlobalGrid2050 Add V6 V7 External Analysis Dashboard Links - File: globalgrid2050/scripts/add_v6_v7_external_analysis_dashboard_links.py (Python, 226 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/add_v6_v7_external_analysis_dashboard_links.py#L1-L226 - Page: https://code.globalgrid2050.com/explore-code/s/0863.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads cables, solar, battery storage (BESS) and 33kV. - What it achieves (comment): It finds card insert anchor (`find_card_insert_anchor`), finds function insert anchor (`find_function_insert_anchor`) and updates dashboard (`update_dashboard`). Add external analysis tool links to V6 and V7 dashboards. Its code works with 33 kV. - What it does: It loads cables, solar, battery storage (BESS) and 33kV. Defines 8 functions or classes, including read, write, card_html, function_html, find_card_insert_anchor. Uses libraries __future__, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, battery storage (BESS), 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Add V6 V7 External Analysis Dashboard Links Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `card_html(card: dict[str, str])`; `function_html(version: str, item: dict[str, object])`; `find_card_insert_anchor(html: str)`; `find_function_insert_anchor(html: str)`; `update_dashboard(version: str, path: Path)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Audit Generation Data Coverage V6 - File: globalgrid2050/scripts/audit_generation_data_coverage_v6.py (Python, 209 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/audit_generation_data_coverage_v6.py#L1-L209 - Page: https://code.globalgrid2050.com/explore-code/s/0864.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads generation coverage audit, generation history daily decade, generation recent halfhourly 30d and Elexon generation sources half hourly. - What it achieves (name): It is built from the monthly archive summary helper (`monthly_archive_summary`) and the JSON rows summary helper (`json_rows_summary`). Defines `utc_now`, `file_info`, `csv_summary` and 2 more. - What it does: It loads generation coverage audit, generation history daily decade, generation recent halfhourly 30d and Elexon generation sources half hourly. Defines 6 functions or classes, including utc_now, file_info, csv_summary, monthly_archive_summary, json_rows_summary. Uses libraries csv, json, collections, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generation_data_coverage_audit.json; JSON file generation_history_daily_decade.json; JSON file generation_recent_halfhourly_30d.json; CSV file elexon_generation_sources_half_hourly.csv. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Audit Generation Data Coverage V6 Workflow (globalgrid2050); GlobalGrid2050 Backfill Generation Sources Overnight Sequence V6 Workflow (globalgrid2050); GlobalGrid2050 Backfill Generation Sources Staggered Years V6 Workflow (globalgrid2050). - Signatures: `utc_now()`; `file_info(path)`; `csv_summary(path)`; `monthly_archive_summary(year)`; `json_rows_summary(path, date_key)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generation_data_coverage_audit.json; JSON file generation_history_daily_decade.json; JSON file generation_recent_halfhourly_30d.json; CSV file elexon_generation_sources_half_hourly.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GlobalGrid2050 Backfill Generation Aggregates Year V6 - File: globalgrid2050/scripts/backfill_generation_aggregates_year_v6.py (Python, 357 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/backfill_generation_aggregates_year_v6.py#L1-L357 - Page: https://code.globalgrid2050.com/explore-code/s/0864.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads generation monthly mwh by technology, generation annual mwh by technology and generation seasonal mwh by technology. - What it achieves (name): It loads JSON rows (`load_json_rows`) and is built from the season for month helper (`season_for_month`) and the day night bucket helper (`day_night_bucket`). Defines `group_for`, `parse_time`, `parse_mw` and 15 more. - What it does: It loads generation monthly mwh by technology, generation annual mwh by technology, generation seasonal mwh by technology and generation day night mwh by technology. Defines 19 functions or classes, including group_for, parse_time, parse_mw, season_for_month, day_night_bucket. Uses libraries json, os, sys, datetime, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generation_monthly_mwh_by_technology.json; JSON file generation_annual_mwh_by_technology.json; JSON file generation_seasonal_mwh_by_technology.json; JSON file generation_day_night_mwh_by_technology.json; command-line arguments. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Gridbot Generation MWh Interconnector UI Guard (globalgrid2050); GlobalGrid2050 Gridbot Generation MWh Active V6 Source Audit (globalgrid2050); GlobalGrid2050 Backfill Generation Aggregates Manual V6 Workflow (globalgrid2050); GlobalGrid2050 Backfill Generation Aggregates Sequence V6 Workflow (globalgrid2050); and 1 more. Reached from 2 other entry points, including GlobalGrid2050 Gridbot Generation MWh Active V6 Source Audit Workflow (globalgrid2050); GlobalGrid2050 Gridbot Generation MWh Interconnector UI Guard Workflow (globalgrid2050). - Signatures: `group_for(fuel)`; `parse_time(value)`; `parse_mw(value)`; `season_for_month(month)`; `day_night_bucket(t)`; `load_json_rows(path)`; `write_json(path, rows, description)`; `safe_float(value)`; `value_score(row)`; `record_count(row)`; `completeness(row)`; `weak_row(row)`; `should_replace_existing(existing, incoming)`; `merge_rows(path, new_rows, key_fields, description)`; `add_stats(bucket, mw, mwh)`; `finalise_stat_row(base, bucket)`; `estimate_interval_hours(items, index)`; `aggregate_day(rows)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generation_monthly_mwh_by_technology.json; JSON file generation_annual_mwh_by_technology.json; JSON file generation_seasonal_mwh_by_technology.json; JSON file generation_day_night_mwh_by_technology.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 5; mentioned by 0 ### GlobalGrid2050 Backfill Generation Clean Halfhourly Month V6 - File: globalgrid2050/scripts/backfill_generation_clean_halfhourly_month_v6.py (Python, 184 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/backfill_generation_clean_halfhourly_month_v6.py#L1-L184 - Page: https://code.globalgrid2050.com/explore-code/s/0865.html#f1 - Synopsis: A Python command-line tool in the scripts folder that parses time (`parse_time`) and MW (`parse_mw`) (units: MW), covering solar and wind. - What it achieves (name): It is built from the month window helper (`month_window`) and the compact time helper (`compact_time`). Defines `group_for`, `parse_time`, `parse_mw` and 2 more. - What it does: Defines 6 functions or classes, including group_for, parse_time, parse_mw, month_window, compact_time. Uses libraries csv, json, os, sys, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Backfill Generation Clean Halfhourly Month V6 Workflow (globalgrid2050). - Signatures: `group_for(fuel)`; `parse_time(value)`; `parse_mw(value)`; `month_window(year, month)`; `compact_time(t)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GlobalGrid2050 Backfill Generation Fuelhh Halfhourly All Months V6 - File: globalgrid2050/scripts/backfill_generation_fuelhh_halfhourly_all_months_v6.py (Python, 359 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/backfill_generation_fuelhh_halfhourly_all_months_v6.py#L1-L359 - Page: https://code.globalgrid2050.com/explore-code/s/0865.html#f2 - Synopsis: A Python command-line tool in the scripts folder that fetches backfill progress, fuelhh backfill, solar and wind, using SHA-256 from Elexon Balancing Mechanism Reporting Service (BMRS). - What it achieves (comment): It fetches window (`fetch_window`), cleans rows (`clean_rows`) and writes shard (`write_shard`). Backfill confirmed FUELHH half hourly generation as monthly shards. - What it does: It fetches backfill progress, fuelhh backfill, solar and wind. Defines 17 functions or classes, including utc_now, iso_z, pick, group_for, fetch_window. Uses libraries __future__, csv, datetime, hashlib, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind. - Inputs & outputs: In: data source: Elexon BMRS; JSON file BACKFILL_PROGRESS.json; JSON file FUELHH_BACKFILL_LATEST.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Gridbot Generation MWh Active V6 Source Audit (globalgrid2050); GlobalGrid2050 Backfill Generation Fuelhh Halfhourly V6 Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Gridbot Generation MWh Active V6 Source Audit Workflow (globalgrid2050). - Signatures: `utc_now()`; `iso_z(value: Any)`; `pick(row: dict[str, Any], names: list[str])`; `group_for(fuel: str)`; `fetch_window(start_day: dt.date, end_day: dt.date)`; `month_window(year: int, month: int)`; `windows(start_day: dt.date, end_day: dt.date, span_days: int)`; `clean_rows(raw_rows: list[Any])`; `shard_path(year: int, month: int)`; `write_shard(path: Path, rows: list[dict[str, str]])`; `row_hash(rows: list[dict[str, str]])`; `already_done(year: int, month: int)`; `month_iter(start_ym: str)`; `build_month(year: int, month: int)`; `write_progress(done: list[str], failed: list[str], remaining: list[str])`; `write_run_report(processed: dict[str, Any], skipped: list[str], failed_months: dict[str, str], remaining: list[str], ran_out_of_time: ...)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; JSON file BACKFILL_PROGRESS.json; JSON file FUELHH_BACKFILL_LATEST.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Backfill Generation Sources Year V6 - File: globalgrid2050/scripts/backfill_generation_sources_year_v6.py (Python, 259 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/backfill_generation_sources_year_v6.py#L1-L259 - Page: https://code.globalgrid2050.com/explore-code/s/0866.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches Elexon generation sources year and solar from Elexon Balancing Mechanism Reporting Service (BMRS). - What it achieves (name): It extracts rows (`extract_rows`), fetches Elexon day (`fetch_elexon_day`) and parses pvlive row (`parse_pvlive_row`). Defines `utc_now`, `iso_z`, `pick` and 11 more. - What it does: It fetches Elexon generation sources year and solar. Defines 15 functions or classes, including utc_now, iso_z, pick, num, http_json. Uses libraries csv, datetime, json, os, sys. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: data source: Elexon BMRS; CSV file elexon_generation_sources_YEAR.csv; command-line arguments. - Downstream impact: Used directly by 9 files: GlobalGrid2050 Backfill Generation Aggregates Year V6 (globalgrid2050); GlobalGrid2050 Backfill Generation Clean Halfhourly Month V6 (globalgrid2050); GlobalGrid2050 Gridbot Generation MWh Active V6 Source Audit (globalgrid2050); GlobalGrid2050 Update Generation Recent MW V6 (globalgrid2050); and 5 more. Reached from 8 other entry points, including GlobalGrid2050 Backfill Generation Aggregates Manual V6 Workflow (globalgrid2050); GlobalGrid2050 Backfill Generation Aggregates Sequence V6 Workflow (globalgrid2050); GlobalGrid2050 Backfill Generation Clean Halfhourly Month V6 Workflow (globalgrid2050). - Signatures: `utc_now()`; `iso_z(value)`; `pick(row, names)`; `num(value)`; `http_json(url)`; `extract_rows(payload)`; `elexon_url(start_dt, end_dt)`; `fetch_elexon_day(day)`; `pvlive_candidate_urls(start_dt, end_dt)`; `parse_pvlive_row(row, fetched)`; `fetch_pvlive_day(day)`; `load_existing_year(year)`; `write_year(year, rows_by_key)`; `write_report(year, start_day, end_day, elexon_rows, solar_rows, total_rows, solar_status, solar_url)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; CSV file elexon_generation_sources_YEAR.csv; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 9; mentioned by 0 ### GlobalGrid2050 Build Generation Daily Fuelhh Browser Slim - File: globalgrid2050/scripts/build_generation_daily_fuelhh_browser_slim.py (Python, 181 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/build_generation_daily_fuelhh_browser_slim.py#L1-L181 - Page: https://code.globalgrid2050.com/explore-code/s/0866.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads generation daily mw spine fuelhh candidate and solar, using SHA-256. - What it achieves (comment): It loads rows (`load_rows`), writes payload (`write_payload`) and writes reports (`write_reports`). Title: Build Generation Daily FUELHH Browser Slim File Date UTC: 2026 06 09 Executive summary: Derives a compact browser safe daily MW payload from the canonical FUELHH candidate spine while preserving the full provenance rich spine as the audit source. It accepts `--input`, `--output` and `--max-bytes`. - What it does: It loads generation daily mw spine fuelhh candidate and solar. Defines 9 functions or classes, including utc_now, stamp, rel, load_rows, slim_row. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file generation_daily_mw_spine_fuelhh_candidate.json; JSON file generation_daily_fuelhh_browser_slim.json; JSON file FUELHH_BROWSER_SLIM_LATEST.json; JSON file generation_daily_fuelhh_browser_slim.manifest.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Build Generation Fuelhh Browser Slim Workflow (globalgrid2050). - Signatures: `utc_now()`; `stamp()`; `rel(path: Path)`; `load_rows(path: Path)`; `slim_row(row: dict[str, Any])`; `build(rows: list[dict[str, Any]])`; `write_payload(output: Path, rows: list[dict[str, Any]], source: Path)`; `write_reports(report: dict[str, Any], manifest_path: Path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generation_daily_mw_spine_fuelhh_candidate.json; JSON file generation_daily_fuelhh_browser_slim.json; JSON file FUELHH_BROWSER_SLIM_LATEST.json; JSON file generation_daily_fuelhh_browser_slim.manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Build Generation Daily MW Spine - File: globalgrid2050/scripts/build_generation_daily_mw_spine.py (Python, 217 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/build_generation_daily_mw_spine.py#L1-L217 - Page: https://code.globalgrid2050.com/explore-code/s/0866.html#f3 - Synopsis: A Python command-line tool in the scripts folder that parses time (`parse_time`), reads rows (`read_rows`) and writes report (`write_report`) (units: MW), covering generation daily mw spine candidate, wind and solar. - What it achieves (comment): It builds spine (`build_spine`) and is built from the utc now helper (`utc_now`) and the stamp step (`stamp`). Reads staged generation MW source files and produces compact daily average, high and low MW facts per technology. It accepts `--years` and `--apply`. - What it does: Defines 9 functions or classes, including utc_now, stamp, group_for, parse_time, read_rows. Uses libraries __future__, argparse, csv, datetime, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: wind, solar. - Inputs & outputs: In: JSON file generation_daily_mw_spine_candidate.json; JSON file GENERATION_DAILY_MW_SPINE_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Overnight Generation MW Backfill Workflow (globalgrid2050). - Signatures: `utc_now()`; `stamp()`; `group_for(fuel: str)`; `parse_time(value: str)`; `read_rows(years: list[int] | None)`; `build_spine(buckets: dict[tuple[str, str], list[dict[str, Any]]])`; `write_json(path: Path, payload: dict[str, Any])`; `write_report(payload: dict[str, Any])`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generation_daily_mw_spine_candidate.json; JSON file GENERATION_DAILY_MW_SPINE_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Build Generation Daily MW Spine from Fuelhh - File: globalgrid2050/scripts/build_generation_daily_mw_spine_from_fuelhh.py (Python, 75 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/build_generation_daily_mw_spine_from_fuelhh.py#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0867.html#f1 - Synopsis: A Python command-line tool in the scripts folder that parses time, reads rows and writes report, covering generation daily mw spine fuelhh candidate and fuelhh daily mw spine. - What it achieves (name): It reads rows (`read_rows`) and builds spine (`build_spine`). Defines `utc_now`, `stamp`, `parse_time` and 4 more. It accepts `--start-year-month` and `--apply`. - What it does: Defines 8 functions or classes, including utc_now, stamp, parse_time, read_rows, build_spine. Uses libraries __future__, argparse, csv, datetime, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generation_daily_mw_spine_fuelhh_candidate.json; command-line arguments. Out: JSON file FUELHH_DAILY_MW_SPINE_LATEST.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Backfill Generation Fuelhh Halfhourly V6 Workflow (globalgrid2050). - Signatures: `utc_now()`; `stamp()`; `parse_time(value:str)`; `read_rows(start_year_month:str)`; `build_spine(buckets)`; `write_json(path,payload)`; `write_report(payload)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generation_daily_mw_spine_fuelhh_candidate.json; command-line arguments]; out [JSON file FUELHH_DAILY_MW_SPINE_LATEST.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Build Generation Daily MWh Fuelhh Chunks - File: globalgrid2050/scripts/build_generation_daily_mwh_fuelhh_chunks.py (Python, 146 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/build_generation_daily_mwh_fuelhh_chunks.py#L1-L146 - Page: https://code.globalgrid2050.com/explore-code/s/0867.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads generation daily mwh by technology fuelhh and solar, using SHA-256. It parses time (`parse_time`) and writes JSON (`write_json`). - What it achieves (name): Defines `now`, `stamp`, `rel` and 5 more. It accepts `--start-year`, `--end-year` and `--max-bytes`. - What it does: It loads generation daily mwh by technology fuelhh and solar. Defines 9 functions or classes, including now, stamp, rel, parse_time, file_year. Uses libraries __future__, argparse, csv, datetime, hashlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file generation_daily_mwh_by_technology_fuelhh_index.json; command-line arguments. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Gridbot Generation MWh Active V6 Source Audit (globalgrid2050); GlobalGrid2050 Gridbot Generation Daily MWh Fuelhh Chunks Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Gridbot Generation MWh Active V6 Source Audit Workflow (globalgrid2050). - Signatures: `now()`; `stamp()`; `rel(p: Path)`; `parse_time(v: str)`; `file_year(path: Path)`; `source_files(start_year: int, end_year: int)`; `build(start_year: int, end_year: int)`; `write_json(path: Path, payload: Any, compact: bool = False)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generation_daily_mwh_by_technology_fuelhh_index.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Build Generation Ecg All Tech Mvp - File: globalgrid2050/scripts/build_generation_ecg_all_tech_mvp.py (Python, 186 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/build_generation_ecg_all_tech_mvp.py#L1-L186 - Page: https://code.globalgrid2050.com/explore-code/s/0867.html#f3 - Synopsis: A Python command-line tool in the scripts folder that builds tech ecg (`build_all_tech_ecg`), loads recent ecg rows (`load_recent_ecg_rows`) and renders report (`render_report`) (units: MW). - What it achieves (comment): GlobalGrid2050 all technology ECG MVP builder. It accepts `--ecg-days`, `--apply` and `--limit-sources`. - What it does: Defines build_all_tech_ecg, load_recent_ecg_rows, render_report, main. Uses libraries __future__, argparse, json, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generation_recent_30d_30min.json; JSON file generation_recent_halfhourly_30d.json; JSON file generation_daily_candidate.json; JSON file generation_monthly_candidate.json; JSON file GENERATION_ECG_ALL_TECH_MVP_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Generation Ecg All Tech Mvp Workflow (globalgrid2050). - Signatures: `build_all_tech_ecg(rows, days: int)`; `load_recent_ecg_rows()`; `render_report(report: dict)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generation_recent_30d_30min.json; JSON file generation_recent_halfhourly_30d.json; JSON file generation_daily_candidate.json; JSON file generation_monthly_candidate.json; JSON file GENERATION_ECG_ALL_TECH_MVP_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GlobalGrid2050 Build Generation Heartbeat Mvp - File: globalgrid2050/scripts/build_generation_heartbeat_mvp.py (Python, 499 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/build_generation_heartbeat_mvp.py#L1-L499 - Page: https://code.globalgrid2050.com/explore-code/s/0868.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads generation recent halfhourly 30d, generation recent 30d 30min, Elexon generation sources half hourly and generation daily candidate. - What it achieves (comment): It parses time (`parse_time`), parses settlement time (`parse_settlement_time`) and normalises tech (`normalise_tech`). Build compact candidate generation intelligence from existing repository source files. It accepts `--technology`, `--ecg-days` and `--apply`. - What it does: It loads generation recent halfhourly 30d, generation recent 30d 30min, Elexon generation sources half hourly and generation daily candidate. Defines 18 functions or classes, including utc_now, stamp, parse_time, parse_settlement_time, normalise_tech. Uses libraries __future__, argparse, csv, json, math. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generation_recent_halfhourly_30d.json; JSON file generation_recent_30d_30min.json; CSV file elexon_generation_sources_half_hourly.csv; CSV file elexon_generation_sources_2026.csv; CSV file elexon_generation_sources_2025.csv; JSON file generation_daily_candidate.json; JSON file generation_monthly_candidate.json; JSON file GENERATION_HEARTBEAT_MVP_LATEST.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Build Generation Ecg All Tech Mvp (globalgrid2050); GlobalGrid2050 Generation Heartbeat Mvp Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Generation Ecg All Tech Mvp Workflow (globalgrid2050). - Signatures: `utc_now()`; `stamp()`; `parse_time(value: Any)`; `parse_settlement_time(row: dict[str, Any])`; `normalise_tech(value: Any)`; `to_float(value: Any)`; `discover_sources()`; `row_from_json(obj: dict[str, Any], source: Path)`; `load_json_rows(path: Path)`; `load_csv_rows(path: Path)`; `load_all_rows(limit_sources: int | None = None)`; `infer_interval_hours(rows: list[dict[str, Any]])`; `build_daily(rows: list[dict[str, Any]])`; `build_monthly(daily: list[dict[str, Any]])`; `build_ecg(rows: list[dict[str, Any]], technology: str, days: int)`; `write_payload(path: Path, rows: list[dict[str, Any]], title: str, source_audit: list[dict[str, Any]])`; `render_report(report: dict[str, Any])`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generation_recent_halfhourly_30d.json; JSON file generation_recent_30d_30min.json; CSV file elexon_generation_sources_half_hourly.csv; CSV file elexon_generation_sources_2026.csv; CSV file elexon_generation_sources_2025.csv; JSON file generation_daily_candidate.json; JSON file generation_monthly_candidate.json; JSON file GENERATION_HEARTBEAT_MVP_LATEST.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Build News Feed 2026q3 - File: globalgrid2050/scripts/build_news_feed_2026q3.py (Python, 285 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/build_news_feed_2026q3.py#L1-L285 - Page: https://code.globalgrid2050.com/explore-code/s/0869.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads diff, project news links and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It reads JSON (`read_json`) and parses instant (`parse_instant`). Build an October 2026 (Q3) REPD-bound Pipeline News feed from cached articles. It accepts `--binder`, `--universe` and `--diff`. - What it does: It loads diff, project news links and the REPD register. Defines 11 functions or classes, including sha256_file, read_json, parse_instant, story_key, as_story. Uses libraries __future__, argparse, copy, hashlib, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file major_projects_2026q3.json; JSON file diff.json; JSON file major_project_news_v4.json; JSON file major_project_news_v5.json; JSON file major_project_news_v6.json; JSON file major_project_news_v9_5_1.json; JSON file major_projects_v6.json; JSON file project_news_links_v6.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Test News Binder Refaware (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `sha256_file(path: Path)`; `read_json(path: Path)`; `parse_instant(value: object)`; `story_key(item: dict)`; `as_story(item: dict)`; `freshness(item: dict, edition: datetime)`; `strip_unverified_label(item: dict)`; `discovery_item(source: dict, origin: str, canonical_by_key: dict, strip_labels: bool = False)`; `merge(items: list[dict])`; `build(args: argparse.Namespace)`; `main(argv: list[str] | None = None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_projects_2026q3.json; JSON file diff.json; JSON file major_project_news_v4.json; JSON file major_project_news_v5.json; JSON file major_project_news_v6.json; JSON file major_project_news_v9_5_1.json; JSON file major_projects_v6.json; JSON file project_news_links_v6.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### GlobalGrid2050 Build News Feed V9 5 1 - File: globalgrid2050/scripts/build_news_feed_v9_5_1.py (Python, 221 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/build_news_feed_v9_5_1.py#L1-L221 - Page: https://code.globalgrid2050.com/explore-code/s/0869.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads major project news and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It reads JSON (`read_json`), validates v6 (`validate_v6_items`) and merges canonical (`merge_canonical`). Build the V9.5.1 dual-layer newspaper without mutating source feeds. Its code works with 400 MW. - What it does: It loads major project news and the REPD register. Defines 10 functions or classes, including read_json, published_datetime, story_key, as_story, canonical_v5_items. Uses libraries __future__, copy, json, sys, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file major_project_news_v5.json; JSON file major_project_news_v6.json; JSON file major_project_news_v9_5_1.json. - Downstream impact: Used directly by 2 files: Review2 Check (globalgrid2050); Review2b Check (globalgrid2050). - Signatures: `read_json(path: Path)`; `published_datetime(value: object)`; `story_key(item: dict)`; `as_story(item: dict)`; `canonical_v5_items(items: list[dict], projects: list[dict])`; `validate_v6_items(items: list[dict], known_refs: set[str])`; `merge_canonical(v5_items: list[dict], v6_items: list[dict])`; `Number(value: object)`; `discovery_item(source: dict, origin: str, canonical_by_key: dict[tuple[str, str, str], dict])`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v5.json; JSON file major_project_news_v6.json; JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### GlobalGrid2050 Build Ons MWh Energy Use Placeholder - File: globalgrid2050/scripts/build_ons_mwh_energy_use_placeholder.py (Python, 36 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/build_ons_mwh_energy_use_placeholder.py#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0869.html#f3 - Synopsis: A Python command-line tool in the scripts folder. - What it does: Defines main. Uses libraries json, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file ons_mwh_energy_use_placeholder.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file ons_mwh_energy_use_placeholder.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Build Renewables V6 Dashboard - File: globalgrid2050/scripts/build_renewables_v6_dashboard.py (Python, 79 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/build_renewables_v6_dashboard.py#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/0869.html#f4 - Synopsis: A Python command-line tool in the scripts folder that reads major projects, major project news, Renewable Energy Planning Database (REPD) master and the REPD register. - What it achieves (comment): It is built from the validate step (`validate`). Read-only structural gate for the maintained standalone V6 dashboard. - What it does: It loads major projects, major project news, REPD master and the REPD register. Defines validate. Uses libraries __future__, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file major_projects_v6.json; JSON file major_project_news_v6.json; JSON file repd_master.json; JSON file major_project_news_v5.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Harden Renewables V6 Dashboard (globalgrid2050); GlobalGrid2050 Major Project News V6 Workflow (globalgrid2050). - Signatures: `validate()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_projects_v6.json; JSON file major_project_news_v6.json; JSON file repd_master.json; JSON file major_project_news_v5.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Clone Generation History V6 to V6 2 - File: globalgrid2050/scripts/clone_generation_history_v6_to_v6_2.py (Python, 133 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/clone_generation_history_v6_to_v6_2.py#L1-L133 - Page: https://code.globalgrid2050.com/explore-code/s/0870.html#f1 - Synopsis: A Python command-line tool in the scripts folder that updates homepage (`update_homepage`) and writes report (`write_report`) (units: MWh). - What it achieves (name): Defines `copy_tree`, `rewrite_text_files`, `update_homepage` and 1 more. - What it does: It loads data. Defines copy_tree, rewrite_text_files, update_homepage, write_report, main. Uses libraries pathlib, shutil, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Clone Generation History V6 to V6 2 Workflow (globalgrid2050). - Signatures: `copy_tree()`; `rewrite_text_files()`; `update_homepage()`; `write_report(copied, changed, homepage_changed)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Clone UK Energy Tracking V2 - File: globalgrid2050/scripts/clone_uk_energy_tracking_v2.py (Python, 24 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/clone_uk_energy_tracking_v2.py#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0870.html#f2 - Synopsis: A Python module in the scripts folder that reads live grid energy, live grid price, live oil prices and oil price history. - What it does: It loads live grid energy, live grid price, live oil prices and oil price history. Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Clone UK Energy Tracking V2 Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Clone UK Energy Tracking V2 to V3 - File: globalgrid2050/scripts/clone_uk_energy_tracking_v2_to_v3.py (Python, 125 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/clone_uk_energy_tracking_v2_to_v3.py#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/0870.html#f3 - Synopsis: A Python module in the scripts folder. - What it does: It loads data. Uses libraries pathlib, datetime, shutil. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Clone UK Energy Tracking V2 to V3 Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Clone UK Energy Tracking V4 to V5 - File: globalgrid2050/scripts/clone_uk_energy_tracking_v4_to_v5.py (Python, 184 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/clone_uk_energy_tracking_v4_to_v5.py#L1-L184 - Page: https://code.globalgrid2050.com/explore-code/s/0870.html#f4 - Synopsis: A Python command-line tool in the scripts folder that adds machine statement (`add_machine_statement`), updates homepage (`update_homepage`) and writes report (`write_report`). - What it achieves (name): Defines `copy_tree`, `rewrite_text_files`, `add_machine_statement` and 2 more. - What it does: It draws its content. Defines 6 functions or classes, including copy_tree, rewrite_text_files, add_machine_statement, update_homepage, write_report. Uses libraries pathlib, shutil, datetime. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Clone UK Energy Tracking V4 to V5 Workflow (globalgrid2050). - Signatures: `copy_tree()`; `rewrite_text_files()`; `add_machine_statement()`; `update_homepage()`; `write_report(copied, changed, machine_changed, homepage_changed)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Compare UK Energy V5 V6 - File: globalgrid2050/scripts/compare_uk_energy_v5_v6.py (Python, 435 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/compare_uk_energy_v5_v6.py#L1-L435 - Page: https://code.globalgrid2050.com/explore-code/s/0871.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads live grid energy, live grid price, live oil prices and electricity price history daily decade, using SHA-256. - What it achieves (comment): It reads text (`read_text`), lists files (`list_files`) and extracts script sources (`extract_script_sources`). Compare UK Energy Tracking V5 and V6 without modifying either app. - What it does: It loads live grid energy, live grid price, live oil prices and electricity price history daily decade. Defines 16 functions or classes, including FileInfo, read_text, file_info, rel, list_files. Uses libraries __future__, difflib, hashlib, json, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; JSON file electricity_price_history_daily_decade.json; CSV file electricity_price_history.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Compare UK Energy V5 V6 Workflow (globalgrid2050). - Signatures: `class FileInfo`; `read_text(path: Path)`; `file_info(path: Path)`; `rel(path: Path)`; `list_files(base: Path)`; `extract_script_sources(text: str)`; `extract_stylesheets(text: str)`; `extract_ids(text: str)`; `extract_classes(text: str)`; `extract_functions(text: str)`; `contains_any(base: Path, names: Iterable[str], needle: str)`; `whole_app_text(base: Path)`; `markdown_table(headers: list[str], rows: list[list[object]])`; `unified_snippet(a_name: str, a_text: str, b_name: str, b_text: str, limit: int = 220)`; `analyse_json(path: Path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; JSON file electricity_price_history_daily_decade.json; CSV file electricity_price_history.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Compare UK Energy V5 V6 V2 - File: globalgrid2050/scripts/compare_uk_energy_v5_v6_v2.py (Python, 364 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/compare_uk_energy_v5_v6_v2.py#L1-L364 - Page: https://code.globalgrid2050.com/explore-code/s/0872.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads live grid energy, live grid price, live oil prices and oil price history, using SHA-256. - What it achieves (comment): It is built from the read step (`read`), the sha step (`sha`) and the files step (`files`). Generate V5 to V6 comparison report V2. It reads `.github/workflows/fetch_uk_energy_and_prices_v6.yml`. - What it does: It loads live grid energy, live grid price, live oil prices and oil price history. Defines 12 functions or classes, including read, sha, files, ids, classes. Uses libraries __future__, hashlib, json, re, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json; CSV file grid_frequency_history.csv; JSON file live_grid_frequency.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Compare UK Energy V5 V6 V3 (globalgrid2050); GlobalGrid2050 Compare UK Energy V5 V6 V2 Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Compare UK Energy V5 V6 V3 Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `sha(path: Path)`; `files(base: Path)`; `ids(text: str)`; `classes(text: str)`; `scripts(text: str)`; `whole(base: Path)`; `table(headers: list[str], rows: list[list[object]])`; `file_summary(path: Path)`; `ok_text(value: bool)`; `status(value: bool)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json; CSV file grid_frequency_history.csv; JSON file live_grid_frequency.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Compare UK Energy V5 V6 V3 - File: globalgrid2050/scripts/compare_uk_energy_v5_v6_v3.py (Python, 484 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/compare_uk_energy_v5_v6_v3.py#L1-L484 - Page: https://code.globalgrid2050.com/explore-code/s/0873.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads live grid energy, live grid price, live oil prices and oil price history, using SHA-256. - What it achieves (comment): It is built from the read step (`read`), the sha step (`sha`) and the files step (`files`). Generate UK Energy Tracking V5 to V6 Comparison Report V3. It reads `.github/workflows/fetch_uk_energy_and_prices_v6.yml`. - What it does: It loads live grid energy, live grid price, live oil prices and oil price history. Defines 17 functions or classes, including read, sha, files, line_count, ids. Uses libraries __future__, hashlib, json, re, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json; CSV file grid_frequency_history.csv; JSON file live_grid_frequency.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Compare UK Energy V5 V6 V3 Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `sha(path: Path)`; `files(base: Path)`; `line_count(path: Path)`; `ids(text: str)`; `classes(text: str)`; `scripts(text: str)`; `whole(base: Path)`; `table(headers: list[str], rows: list[list[object]])`; `ok_text(value: bool)`; `status(value: bool)`; `git(cmd: list[str])`; `recent_commits(rel: str, limit: int = 4)`; `file_summary(path: Path)`; `previous_status_map(previous: str)`; `changed_summary(previous: dict[str, str], current_rows: list[list[object]])`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json; CSV file grid_frequency_history.csv; JSON file live_grid_frequency.json]; out []; crs []; voltages [] - Edges: uses 7 estate files (script-call 7); used by 1; mentioned by 0 ### GlobalGrid2050 Diagnose Repair V6 Price V5 UI Split - File: globalgrid2050/scripts/diagnose_repair_v6_price_v5_ui_split.py (Python, 176 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/diagnose_repair_v6_price_v5_ui_split.py#L1-L176 - Page: https://code.globalgrid2050.com/explore-code/s/0873.html#f2 - Synopsis: A Python module in the scripts folder. - What it does: It loads data. Uses libraries pathlib, re, runpy. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Compare UK Energy V5 V6 V3 (globalgrid2050); GlobalGrid2050 Diagnose Repair V6 Price V5 UI Split Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Compare UK Energy V5 V6 V3 Workflow (globalgrid2050). - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Document UK Energy Trackers - File: globalgrid2050/scripts/document_uk_energy_trackers.py (Python, 241 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/document_uk_energy_trackers.py#L1-L241 - Page: https://code.globalgrid2050.com/explore-code/s/0874.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads live grid energy, live grid price, live oil prices and oil price history, using SHA-256. - What it achieves (name): It finds js feed refs (`find_js_feed_refs`) and is built from the JSON summary helper (`json_summary`) and the workflow summary helper (`workflow_summary`). Defines `read_text`, `sha`, `line_count` and 6 more. - What it does: It loads live grid energy, live grid price, live oil prices and oil price history. Defines 10 functions or classes, including read_text, sha, line_count, json_summary, find_js_feed_refs. Uses libraries pathlib, datetime, hashlib, json, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Document UK Energy Trackers Workflow (globalgrid2050). - Signatures: `read_text(path)`; `sha(path)`; `line_count(path)`; `json_summary(path)`; `find_js_feed_refs(page_text)`; `workflow_summary(path)`; `script_summary(path)`; `tracker_doc(name, meta)`; `comparison_doc()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Download Elexon Generation Sources - File: globalgrid2050/scripts/download_elexon_generation_sources.py (Python, 159 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/download_elexon_generation_sources.py#L1-L159 - Page: https://code.globalgrid2050.com/explore-code/s/0874.html#f2 - Synopsis: A Python command-line tool in the scripts folder that fetches Elexon generation sources half hourly from Elexon Balancing Mechanism Reporting Service (BMRS). - What it achieves (name): It fetches window (`fetch_window`), loads existing (`load_existing`) and writes CSV (`write_csv`). Defines `iso_z`, `pick`, `num` and 5 more. - What it does: It fetches Elexon generation sources half hourly. Defines 9 functions or classes, including iso_z, pick, num, fetch_window, load_existing. Uses libraries csv, datetime, json, os, sys. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'elexon'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: Elexon BMRS; CSV file elexon_generation_sources_half_hourly.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Elexon Generation Sources Weekly Workflow (globalgrid2050). - Signatures: `iso_z(value)`; `pick(row, names)`; `num(value)`; `fetch_window(start_dt, end_dt)`; `load_existing()`; `write_csv(rows_by_key)`; `sort_key(key)`; `write_report(status, days, fetched_rows, total_rows)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; CSV file elexon_generation_sources_half_hourly.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Download Elexon System Prices - File: globalgrid2050/scripts/download_elexon_system_prices.py (Python, 126 lines) · role energy-data · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/download_elexon_system_prices.py#L1-L126 - Page: https://code.globalgrid2050.com/explore-code/s/0874.html#f3 - Synopsis: A Python command-line tool in the scripts folder that fetches Elexon system prices half hourly from Elexon Balancing Mechanism Reporting Service (BMRS). - What it achieves (name): It fetches date (`fetch_date`), loads existing (`load_existing`) and writes CSV (`write_csv`). Defines `pick`, `num`, `period_start` and 4 more. - What it does: It fetches Elexon system prices half hourly. Defines 8 functions or classes, including pick, num, period_start, fetch_date, load_existing. Uses libraries csv, datetime, json, os, sys. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: Elexon BMRS; CSV file elexon_system_prices_half_hourly.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Elexon System Prices Workflow (globalgrid2050). - Signatures: `pick(row, names)`; `num(value)`; `period_start(date_text, period)`; `fetch_date(day)`; `load_existing()`; `write_csv(rows_by_key)`; `sort_key(key)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; CSV file elexon_system_prices_half_hourly.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Download Elexon System Prices Range - File: globalgrid2050/scripts/download_elexon_system_prices_range.py (Python, 160 lines) · role energy-data · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/download_elexon_system_prices_range.py#L1-L160 - Page: https://code.globalgrid2050.com/explore-code/s/0874.html#f4 - Synopsis: A Python command-line tool in the scripts folder that fetches Elexon system prices half hourly from Elexon Balancing Mechanism Reporting Service (BMRS). - What it achieves (name): It fetches date (`fetch_date`), loads existing (`load_existing`) and writes CSV (`write_csv`). Defines `pick`, `num`, `period_start` and 5 more. - What it does: It fetches Elexon system prices half hourly. Defines 9 functions or classes, including pick, num, period_start, fetch_date, load_existing. Uses libraries csv, datetime, json, os, sys. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: Elexon BMRS; CSV file elexon_system_prices_half_hourly.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Elexon System Prices Backfill 10y Workflow (globalgrid2050). - Signatures: `pick(row, names)`; `num(value)`; `period_start(date_text, period)`; `fetch_date(day, retries=3)`; `load_existing()`; `write_csv(rows_by_key)`; `sort_key(key)`; `parse_date(name)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; CSV file elexon_system_prices_half_hourly.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Download Ons MWh Energy Use V6 - File: globalgrid2050/scripts/download_ons_mwh_energy_use_v6.py (Python, 241 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/download_ons_mwh_energy_use_v6.py#L1-L241 - Page: https://code.globalgrid2050.com/explore-code/s/0875.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches 11energyusebyindustrysourceandfuel, ons mwh energy use annual, ons mwh summary top uses and ons mwh summary by fuel. - What it achieves (name): It downloads workbook (`download_workbook`), loads shared strings (`load_shared_strings`) and reads sheet (`read_sheet`). Defines `utc_now`, `col_to_num`, `cell_col` and 12 more. - What it does: It fetches 11energyusebyindustrysourceandfuel, ons mwh energy use annual, ons mwh summary top uses and ons mwh summary by fuel. Defines 16 functions or classes, including utc_now, col_to_num, cell_col, cell_row, download_workbook. Uses libraries json, re, urllib.request, zipfile, xml.etree.ElementTree. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: Excel file 11energyusebyindustrysourceandfuel.xlsx; JSON file ons_mwh_energy_use_annual.json; JSON file ons_mwh_summary_top_uses_latest.json; JSON file ons_mwh_summary_by_fuel.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Ons MWh Energy Use Annual V6 Workflow (globalgrid2050). - Signatures: `utc_now()`; `col_to_num(col)`; `cell_col(ref)`; `cell_row(ref)`; `download_workbook()`; `load_shared_strings(zf)`; `workbook_sheets(zf)`; `cell_value(cell, shared)`; `read_sheet(zf, path, shared)`; `normalise_header(value)`; `find_data_table(rows)`; `get_field(row, header_map, names)`; `parse_float(value)`; `parse_workbook()`; `write_outputs(sheet, records)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [Excel file 11energyusebyindustrysourceandfuel.xlsx; JSON file ons_mwh_energy_use_annual.json; JSON file ons_mwh_summary_top_uses_latest.json; JSON file ons_mwh_summary_by_fuel.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Fetch Generation MW Year Staged - File: globalgrid2050/scripts/fetch_generation_mw_year_staged.py (Python, 395 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/fetch_generation_mw_year_staged.py#L1-L395 - Page: https://code.globalgrid2050.com/explore-code/s/0875.html#f2 - Synopsis: A Python command-line tool in the scripts folder that fetches solar from Elexon Balancing Mechanism Reporting Service (BMRS). - What it achieves (comment): It extracts rows (`extract_rows`), fetches Elexon day (`fetch_elexon_day`) and parses pvlive row (`parse_pvlive_row`). Fetches one year of generation source rows through public APIs, writes staged files under a per year directory and keeps each committed data file below the configured size threshold where practical. It accepts `--year`, `--delay-seconds` and `--max-file-mb`. - What it does: It fetches solar. Defines 19 functions or classes, including utc_now, stamp, iso_z, pick, num. Uses libraries __future__, argparse, csv, datetime, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: data source: Elexon BMRS; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Overnight Generation MW Backfill Workflow (globalgrid2050). - Signatures: `utc_now()`; `stamp()`; `iso_z(value: Any)`; `pick(row: dict[str, Any], names: list[str])`; `num(value: Any)`; `http_json(url: str, timeout: int = 60)`; `extract_rows(payload: Any)`; `elexon_url(start_dt: dt.datetime, end_dt: dt.datetime)`; `fetch_elexon_day(day: dt.date)`; `pvlive_urls(start_dt: dt.datetime, end_dt: dt.datetime)`; `parse_pvlive_row(row: Any, fetched: str)`; `fetch_pvlive_day(day: dt.date)`; `year_dir(year: int)`; `load_existing_rows(year: int)`; `existing_days(rows: dict[tuple[str, str], dict[str, str]])`; `write_csv(path: Path, rows: list[dict[str, str]])`; `write_year_files(year: int, rows_by_key: dict[tuple[str, str], dict[str, str]], max_file_mb: float)`; `write_report(payload: dict[str, Any])`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Fix UK Renewables Pipeline CSV Export - File: globalgrid2050/scripts/fix_uk_renewables_pipeline_csv_export.py (Python, 175 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/fix_uk_renewables_pipeline_csv_export.py#L1-L175 - Page: https://code.globalgrid2050.com/explore-code/s/0876.html#f1 - Synopsis: A Python command-line tool in the scripts folder. It is built from the read step (`read`) and the write step (`write`). - What it achieves (comment): Sidebar contains EXPORT CSV link, but no JavaScript export function is wired. - What it does: It draws its content. Defines read, write, main. Uses libraries __future__, datetime, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fix UK Renewables Pipeline CSV Export Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Generate Generation History Daily V6 - File: globalgrid2050/scripts/generate_generation_history_daily_v6.py (Python, 83 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/generate_generation_history_daily_v6.py#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/0876.html#f2 - Synopsis: A Python command-line tool in the scripts folder that parses MW (`parse_mw`) (units: MW), covering Elexon generation sources half hourly, generation history daily decade, solar and wind. - What it achieves (name): Defines `group_for` and `parse_mw`. - What it does: Defines group_for, parse_mw, main. Uses libraries csv, json, collections, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind. - Inputs & outputs: In: CSV file elexon_generation_sources_half_hourly.csv; JSON file generation_history_daily_decade.json. - Downstream impact: Used directly by 6 files: GlobalGrid2050 Auto Test Generation Sources 2026 V6 Workflow (globalgrid2050); GlobalGrid2050 Backfill Generation Sources Decade V6 Workflow (globalgrid2050); GlobalGrid2050 Backfill Generation Sources Overnight Sequence V6 Workflow (globalgrid2050); GlobalGrid2050 Backfill Generation Sources Staggered Years V6 Workflow (globalgrid2050); and 2 more. - Signatures: `group_for(fuel)`; `parse_mw(value)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file elexon_generation_sources_half_hourly.csv; JSON file generation_history_daily_decade.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### GlobalGrid2050 Generate Generation Recent Halfhourly V6 - File: globalgrid2050/scripts/generate_generation_recent_halfhourly_v6.py (Python, 106 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/generate_generation_recent_halfhourly_v6.py#L1-L106 - Page: https://code.globalgrid2050.com/explore-code/s/0876.html#f3 - Synopsis: A Python command-line tool in the scripts folder that parses time and MW and writes empty, covering Elexon generation sources half hourly, generation recent halfhourly 30d, solar and wind. - What it achieves (name): It writes empty (`write_empty`). Defines `group_for`, `parse_time`, `parse_mw` and 1 more. - What it does: Defines group_for, parse_time, parse_mw, write_empty, main. Uses libraries csv, json, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind. - Inputs & outputs: In: CSV file elexon_generation_sources_half_hourly.csv; JSON file generation_recent_halfhourly_30d.json. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Backfill Generation Sources Overnight Sequence V6 Workflow (globalgrid2050); GlobalGrid2050 Backfill Generation Sources Staggered Years V6 Workflow (globalgrid2050); GlobalGrid2050 Elexon Generation Sources Weekly Workflow (globalgrid2050). - Signatures: `group_for(fuel)`; `parse_time(value)`; `parse_mw(value)`; `write_empty(reason)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file elexon_generation_sources_half_hourly.csv; JSON file generation_recent_halfhourly_30d.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GlobalGrid2050 Generate Price History 4bucket V2 - File: globalgrid2050/scripts/generate_price_history_4bucket_v2.py (Python, 140 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/generate_price_history_4bucket_v2.py#L1-L140 - Page: https://code.globalgrid2050.com/explore-code/s/0876.html#f4 - Synopsis: A Python command-line tool in the scripts folder that parses dt (`parse_dt`) and reads CSV rows (`read_csv_rows`), covering electricity price history 4bucket decade. - What it achieves (name): It is built from the bucket name helper (`bucket_name`) and the mean step (`mean`). Defines `parse_dt`, `read_csv_rows`, `source_rows` and 2 more. - What it does: Defines 6 functions or classes, including parse_dt, read_csv_rows, source_rows, bucket_name, mean. Uses libraries csv, json, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file electricity_price_history_4bucket_decade.json; CSV file electricity_price_history.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Generate Price History 4bucket V2 Workflow (globalgrid2050). - Signatures: `parse_dt(value)`; `read_csv_rows(path)`; `source_rows()`; `bucket_name(hour)`; `mean(values)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file electricity_price_history_4bucket_decade.json; CSV file electricity_price_history.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Generate Price History Daily V5 - File: globalgrid2050/scripts/generate_price_history_daily_v5.py (Python, 118 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/generate_price_history_daily_v5.py#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/0876.html#f5 - Synopsis: A Python command-line tool in the scripts folder that reads electricity price history daily decade. It is built from the mean step (`mean`). - What it achieves (name): Defines `parse_dt`, `read_csv`, `source_rows` and 1 more. - What it does: It loads electricity price history daily decade. Defines parse_dt, read_csv, source_rows, mean, main. Uses libraries csv, json, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file electricity_price_history_daily_decade.json; CSV file electricity_price_history.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fetch UK Energy and Prices V5 Workflow (globalgrid2050). - Signatures: `parse_dt(value)`; `read_csv(path)`; `source_rows()`; `mean(values)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file electricity_price_history_daily_decade.json; CSV file electricity_price_history.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Generate Price History Daily V6 - File: globalgrid2050/scripts/generate_price_history_daily_v6.py (Python, 12 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/generate_price_history_daily_v6.py#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0876.html#f6 - Synopsis: A Python module in the scripts folder covering electricity price history daily decade. - What it does: Uses libraries pathlib, shutil. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file electricity_price_history_daily_decade.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fetch UK Energy and Prices V6 Workflow (globalgrid2050). - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file electricity_price_history_daily_decade.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Generation History Peak UI Audit - File: globalgrid2050/scripts/gridbot_generation_history_peak_ui_audit.py (Python, 105 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_generation_history_peak_ui_audit.py#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/0877.html#f1 - Synopsis: A Python command-line tool in the scripts folder covering solar, using SHA-256. - What it achieves (name): Defines `sha256`. It accepts `--apply`. - What it does: It draws solar. Defines sha256, main. Uses libraries __future__, argparse, hashlib, json, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file GENERATION_HISTORY_PEAK_UI_LATEST.json; command-line arguments. Out: canvas drawing. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha256(text: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file GENERATION_HISTORY_PEAK_UI_LATEST.json; command-line arguments]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Generation History UI Label Audit - File: globalgrid2050/scripts/gridbot_generation_history_ui_label_audit.py (Python, 81 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_generation_history_ui_label_audit.py#L1-L81 - Page: https://code.globalgrid2050.com/explore-code/s/0877.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads solar. - What it achieves (name): Defines `now`, `read` and `write_report`. It accepts `--apply`. - What it does: It loads solar. Defines now, read, write_report, main. Uses libraries __future__, argparse, datetime, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file GENERATION_HISTORY_UI_LABEL_AUDIT_LATEST.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `now()`; `read(path: Path)`; `write_report(payload: dict)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file GENERATION_HISTORY_UI_LABEL_AUDIT_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Generation History V6 2 Backup Mirror - File: globalgrid2050/scripts/gridbot_generation_history_v6_2_backup_mirror.py (Python, 232 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_generation_history_v6_2_backup_mirror.py#L1-L232 - Page: https://code.globalgrid2050.com/explore-code/s/0877.html#f3 - Synopsis: A Python command-line tool in the scripts folder that reads generation history backup mirror. It patches homepage (`patch_homepage`), copies snapshot (`copy_snapshot`) and writes status (`write_status`). - What it achieves (name): Defines `now`, `git_head`, `file_list` and 6 more. It accepts `--apply`. - What it does: It loads generation history backup mirror. Defines 10 functions or classes, including now, git_head, file_list, read, patch_homepage. Uses libraries __future__, argparse, json, shutil, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file GENERATION_HISTORY_V6_2_BACKUP_MIRROR_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Generation History V6 2 Backup Mirror Workflow (globalgrid2050). - Signatures: `now()`; `git_head(short: bool = True)`; `file_list(root: Path)`; `read(path: Path)`; `patch_homepage(text: str)`; `copy_snapshot()`; `rewrite_snapshot()`; `write_status(source_count: int, changed_count: int)`; `render_report(payload: dict)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file GENERATION_HISTORY_V6_2_BACKUP_MIRROR_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Generation MWh Active V6 Source Audit - File: globalgrid2050/scripts/gridbot_generation_mwh_active_v6_source_audit.py (Python, 128 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_generation_mwh_active_v6_source_audit.py#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/0877.html#f4 - Synopsis: A Python command-line tool in the scripts folder that reads generation mwh active audit, generation annual mwh by technology and generation daily mwh by technology fuelhh, using SHA-256. - What it achieves (comment): It loads JSON (`load_json`) and writes reports (`write_reports`). GridBot audit-only check for active V6 Generation Output in MWh source routing. It accepts `--mode`. - What it does: It loads generation mwh active audit, generation annual mwh by technology, generation daily mwh by technology fuelhh and generation monthly mwh by technology. Defines 11 functions or classes, including now, read, rel, sha, git. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file GENERATION_MWH_ACTIVE_V6_SOURCE_AUDIT_LATEST.json; JSON file generation_annual_mwh_by_technology.json; JSON file generation_daily_mwh_by_technology_fuelhh_index.json; JSON file generation_monthly_mwh_by_technology.json; JSON file generation_day_night_mwh_by_technology.json; JSON file generation_daily_mwh_by_technology_fuelhh_2016_2026.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Generation MWh Active V6 Source Audit Workflow (globalgrid2050). - Signatures: `now()`; `read(p)`; `rel(p)`; `sha(p)`; `git(args)`; `load_json(p)`; `fuelhh_chunk()`; `raw_temp_files()`; `collect()`; `write_reports(payload)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file GENERATION_MWH_ACTIVE_V6_SOURCE_AUDIT_LATEST.json; JSON file generation_annual_mwh_by_technology.json; JSON file generation_daily_mwh_by_technology_fuelhh_index.json; JSON file generation_monthly_mwh_by_technology.json; JSON file generation_day_night_mwh_by_technology.json; JSON file generation_daily_mwh_by_technology_fuelhh_2016_2026.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 5 estate files (script-call 5); used by 1; mentioned by 0 ### GlobalGrid2050 Harden Renewables V6 Dashboard - File: globalgrid2050/scripts/harden_renewables_v6_dashboard.py (Python, 7 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/harden_renewables_v6_dashboard.py#L1-L7 - Page: https://code.globalgrid2050.com/explore-code/s/0877.html#f5 - Synopsis: A Python command-line tool in the scripts folder. - What it achieves (comment): Compatibility entry point for the V6 dashboard structural gate. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Major Project News V6 Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GlobalGrid2050 Isolate UK Energy Tracking V2 - File: globalgrid2050/scripts/isolate_uk_energy_tracking_v2.py (Python, 115 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/isolate_uk_energy_tracking_v2.py#L1-L115 - Page: https://code.globalgrid2050.com/explore-code/s/0877.html#f6 - Synopsis: A Python module in the scripts folder that reads live grid energy, live grid price, live oil prices and oil price history. - What it does: It loads live grid energy, live grid price, live oil prices and oil price history. Uses libraries pathlib, shutil. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Isolate UK Energy Tracking V2 Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 1; mentioned by 0 ### GlobalGrid2050 Major Project News V4 - File: globalgrid2050/scripts/major_project_news_v4.py (Python, 92 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/major_project_news_v4.py#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/0878.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches Renewable Energy Planning Database (REPD) master, major projects, solar and battery storage (BESS). - What it achieves (name): It loads projects (`load_projects`) and fetches rss (`fetch_rss`). Defines `clean`, `norm`, `toks` and 6 more. - What it does: It fetches REPD master, major projects, solar and battery storage (BESS). Defines 10 functions or classes, including clean, norm, toks, load_projects, fetch_rss. Uses libraries __future__, json, math, re, time. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file repd_master.json; JSON file major_project_news_v4.json; JSON file major_projects_v4.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Major Project News V4 Workflow (globalgrid2050). - Signatures: `clean(v)`; `norm(v)`; `toks(v)`; `load_projects()`; `fetch_rss(q)`; `event(text)`; `pub_bonus(source,url)`; `score(p,s)`; `collect(projects)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file repd_master.json; JSON file major_project_news_v4.json; JSON file major_projects_v4.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Major Project News V5 - File: globalgrid2050/scripts/major_project_news_v5.py (Python, 109 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/major_project_news_v5.py#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/0878.html#f2 - Synopsis: A Python command-line tool in the scripts folder that fetches Renewable Energy Planning Database (REPD) master, major projects, solar and battery storage (BESS). - What it achieves (name): It loads projects (`load_projects`) and fetches rss (`fetch_rss`). Defines `clean`, `norm`, `toks` and 9 more. - What it does: It fetches REPD master, major projects, solar and battery storage (BESS). Defines 13 functions or classes, including clean, norm, toks, load_projects, fetch_rss. Uses libraries __future__, json, math, re, xml.etree.ElementTree. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file repd_master.json; JSON file major_project_news_v5.json; JSON file major_projects_v5.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Major Project News V5 Workflow (globalgrid2050). - Signatures: `clean(v)`; `norm(v)`; `toks(v)`; `load_projects()`; `fetch_rss(q)`; `event(text)`; `source_bonus(s,u)`; `capacity_match(p,text)`; `gate(p,s)`; `score(p,s)`; `queries(projects)`; `collect(projects)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file repd_master.json; JSON file major_project_news_v5.json; JSON file major_projects_v5.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Major Project News V6 - File: globalgrid2050/scripts/major_project_news_v6.py (Python, 1099 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/major_project_news_v6.py#L1-L1099 - Page: https://code.globalgrid2050.com/explore-code/s/0878.html#f3 - Synopsis: A Python command-line tool in the scripts folder that fetches major projects, project news links, solar and battery storage (BESS), using SHA-256. - What it achieves (comment): It writes JSON atomic (`write_json_atomic`), loads manifest (`load_manifest`) and loads project snapshot (`load_project_snapshot`). Build the public V6 newspaper from the validated V6 project snapshot. Its code works with 46.5 MW and 5 MW. - What it does: It fetches major projects, project news links, solar and battery storage (BESS). Defines 35 functions or classes, including scoring_reference, pin_scoring_reference, clean, norm, toks. Uses libraries __future__, hashlib, json, os, math. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file major_projects_v6.json; JSON file manifest_v6.json; JSON file major_project_news_v6.json; JSON file project_news_links_v6.json. - Downstream impact: Used directly by 7 files: GlobalGrid2050 Build News Feed 2026q3 (globalgrid2050); GlobalGrid2050 Build News Feed V9 5 1 (globalgrid2050); GlobalGrid2050 Major Project News V6 Hardened (globalgrid2050); GlobalGrid2050 News Binder Refaware (globalgrid2050); and 3 more. Reached from 3 other entry points, including GlobalGrid2050 Major Project News V6 Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Validate Renewables V6 Integrity (globalgrid2050). - Signatures: `scoring_reference()`; `pin_scoring_reference(value)`; `clean(value)`; `norm(value)`; `toks(value)`; `distinctive_name_stem(value)`; `descriptor_adjacent(padded_text: str, stem: str)`; `file_sha256(path: Path)`; `write_json_atomic(path: Path, payload: dict)`; `load_manifest()`; `_phrase_hit(value, text: str, text_tokens: set[str])`; `load_project_snapshot()`; `load_projects()`; `fetch_rss(query: str)`; `event(text: str)`; `source_quality(source: str, url: str)`; `source_bonus(source: str, url: str)`; `extract_news_capacities(text: str)`; `capacity_match(project: dict, text: str)`; `_contains_normalized_phrase(text: str, phrase: str)`; `_foreign_locations(text: str, project: dict)`; `_story_context(story: dict)`; `evaluate_candidate(project: dict, story: dict, context: dict | None = None)`; `gate(project: dict, story: dict)`; `score(project: dict, story: dict)` (and 10 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_projects_v6.json; JSON file manifest_v6.json; JSON file major_project_news_v6.json; JSON file project_news_links_v6.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### GlobalGrid2050 Major Project News V6 Hardened - File: globalgrid2050/scripts/major_project_news_v6_hardened.py (Python, 427 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/major_project_news_v6_hardened.py#L1-L427 - Page: https://code.globalgrid2050.com/explore-code/s/0880.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads major projects, solar, the Renewable Energy Planning Database (REPD) register and battery storage (BESS). - What it achieves (comment): It validates outputs (`validate_outputs`) and is built from the queries step (`queries`). Bounded production wrapper for the V6 public news crawler. Its code works with 1 MW. - What it does: It loads major projects, solar, the REPD register and battery storage (BESS). Defines 14 functions or classes, including _load_previous_news_payload, _accept_previous_news_payload, _persisted_solar_cursor, _rotation_window, _targeted_search_terms. Uses libraries __future__, json, collections, datetime. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register, battery storage (BESS). - Inputs & outputs: In: JSON file major_projects_v6.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Major Project News V6 Workflow (globalgrid2050). - Signatures: `_load_previous_news_payload()`; `_accept_previous_news_payload(previous: dict | None, projects_sha256: str)`; `_persisted_solar_cursor(total: int, previous: dict | None)`; `_rotation_window(total: int, limit: int, start: int)`; `_targeted_search_terms(projects: list[dict], technology: str)`; `queries(projects: list[dict])`; `_published_datetime(value)`; `_item_story_key(item: dict)`; `_revalidate_previous_item(item: dict, projects: list[dict], today: date)`; `_merge_previous_items(payload: dict, previous: dict | None, projects: list[dict])`; `_finalize_rotation_cursor(payload: dict)`; `_write_merged_outputs(payload: dict, projects: list[dict])`; `validate_outputs(payload: dict)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_projects_v6.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GlobalGrid2050 Merge Generation Sources Annual to Master V6 - File: globalgrid2050/scripts/merge_generation_sources_annual_to_master_v6.py (Python, 37 lines) · role energy-data · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/merge_generation_sources_annual_to_master_v6.py#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0880.html#f2 - Synopsis: A Python command-line tool in the scripts folder that works with source files (`source_files`), covering Elexon generation sources half hourly. - What it achieves (name): Defines `source_files`. - What it does: Defines source_files, main. Uses libraries csv, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file elexon_generation_sources_half_hourly.csv. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Auto Test Generation Sources 2026 V6 Workflow (globalgrid2050); GlobalGrid2050 Backfill Generation Sources Decade V6 Workflow (globalgrid2050); GlobalGrid2050 Backfill Generation Sources Overnight Sequence V6 Workflow (globalgrid2050); GlobalGrid2050 Backfill Generation Sources Staggered Years V6 Workflow (globalgrid2050); and 1 more. - Signatures: `source_files()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file elexon_generation_sources_half_hourly.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### GlobalGrid2050 Modularise UK Energy Tracking V4 - File: globalgrid2050/scripts/modularise_uk_energy_tracking_v4.py (Python, 52 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/modularise_uk_energy_tracking_v4.py#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/0880.html#f3 - Synopsis: A Python command-line tool in the scripts folder that reads live grid energy. - What it does: It loads live grid energy. Defines main. Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file live_grid_energy.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_grid_energy.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 News Binder Refaware - File: globalgrid2050/scripts/news_binder_refaware.py (Python, 704 lines) · role energy-data · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/news_binder_refaware.py#L1-L704 - Page: https://code.globalgrid2050.com/explore-code/s/0881.html#f1 - Synopsis: A Python module in the scripts folder that reads solar, the Renewable Energy Planning Database (REPD) register and battery storage (BESS), using SHA-256. - What it achieves (comment): It normalises operator parties (`normalise_operator_parties`), extracts capacities (`extract_capacities`) and prepares projects (`prepare_projects`). Ref-aware news-to-REPD binder (successor candidate to the V6 matcher). Its code works with 900 MW. - What it does: It loads solar, the REPD register and battery storage (BESS). Defines 20 functions or classes, including normalise_operator_parties, operator_party_key, raw_stem_tokens, stem_qualifier, extract_capacities. Uses libraries __future__, hashlib, json, re, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register, battery storage (BESS). - Downstream impact: Used directly by 2 files: GlobalGrid2050 Build News Feed 2026q3 (globalgrid2050); GlobalGrid2050 Test News Binder Refaware (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `normalise_operator_parties(value: str)`; `operator_party_key(value: str)`; `raw_stem_tokens(stem: str)`; `stem_qualifier(name: str, stem: str)`; `extract_capacities(raw_text: str)`; `_word_in(text: str, phrase: str)`; `_parse_day(value)`; `prepare_projects(projects: list[dict], snapshot: dict | None = None)`; `event_v2(text: str)`; `story_context(story: dict)`; `_capacity_relation(project: dict, capacities: list[float])`; `_stale(project: dict, published: date | None, context: dict | None = None)`; `evaluate_candidate(project: dict, story: dict, context: dict)`; `adjacent(padded: str)`; `_operator_route(story: dict, context: dict, projects: list[dict])`; `_rebind_current_version(project: dict, by_ref: dict[str, dict])`; `resolve_story(story: dict, projects: list[dict], by_ref: dict[str, dict] | None = None)`; `load_universe(path: Path)`; `repd_status_change_candidates(diff: dict, projects: list[dict])`; `corroborate(status_changes: list[dict], articles: list[dict])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### GlobalGrid2050 Patch UK Energy Oil Dashboard Interactivity - File: globalgrid2050/scripts/patch_uk_energy_oil_dashboard_interactivity.py (Python, 162 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_uk_energy_oil_dashboard_interactivity.py#L1-L162 - Page: https://code.globalgrid2050.com/explore-code/s/0882.html#f2 - Synopsis: A Python module in the scripts folder that draws oil price history. - What it does: It draws oil price history. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: GeoJSON file oil_price_history.geojson; form fields (user input). Out: canvas drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Patch UK Energy Oil Dashboard Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file oil_price_history.geojson; form fields (user input)]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Patch UK Energy Tracking V2 Oil Graph - File: globalgrid2050/scripts/patch_uk_energy_tracking_v2_oil_graph.py (Python, 45 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_uk_energy_tracking_v2_oil_graph.py#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0882.html#f3 - Synopsis: A Python module in the scripts folder. - What it achieves (name): Defines `replace_once`. - What it does: It loads data. Defines replace_once. Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Patch UK Energy Tracking V2 Oil Graph Workflow (globalgrid2050). - Signatures: `replace_once(old, new, label)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Patch UK Energy Tracking V2 Transport - File: globalgrid2050/scripts/patch_uk_energy_tracking_v2_transport.py (Python, 157 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_uk_energy_tracking_v2_transport.py#L1-L157 - Page: https://code.globalgrid2050.com/explore-code/s/0882.html#f4 - Synopsis: A Python module in the scripts folder that draws live UK fuel prices, EV charging prices, live grid energy and live grid price. - What it does: It draws live UK fuel prices, EV charging prices, live grid energy and live grid price. Uses libraries pathlib, json, shutil. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json; JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Patch UK Energy Tracking V2 Transport Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json; JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Patch V3 Price Axis Table Fullscreen - File: globalgrid2050/scripts/patch_v3_price_axis_table_fullscreen.py (Python, 73 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v3_price_axis_table_fullscreen.py#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/0882.html#f5 - Synopsis: A Python command-line tool in the scripts folder that patches page (`patch_page`) and CSS (`patch_css`) and patches diary (`patch_diary`), covering electricity price history and Elexon system prices half hourly. - What it achieves (name): Defines `patch_page`, `patch_css` and `patch_diary`. - What it does: It draws electricity price history and Elexon system prices half hourly. Defines patch_page, patch_css, patch_diary, main. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file electricity_price_history.json; CSV file elexon_system_prices_half_hourly.csv. Out: canvas drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Patch V3 Price Axis Table Fullscreen Workflow (globalgrid2050). - Signatures: `patch_page()`; `patch_css()`; `patch_diary()`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file electricity_price_history.json; CSV file elexon_system_prices_half_hourly.csv]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Patch V3 Price History Correctness - File: globalgrid2050/scripts/patch_v3_price_history_correctness.py (Python, 628 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v3_price_history_correctness.py#L1-L628 - Page: https://code.globalgrid2050.com/explore-code/s/0883.html#f1 - Synopsis: A Python command-line tool in the scripts folder that writes changed (`write_if_changed`) and patches page (`patch_page`) and CSS (`patch_css`), covering electricity price history and Elexon system prices half hourly. - What it achieves (name): It is built from the ensure js link helper (`ensure_js_link`), the ensure all option helper (`ensure_all_option`) and the collapse table helper (`collapse_table`). Defines `read`, `write_if_changed`, `ensure_linked_css` and 7 more. - What it does: It draws electricity price history and Elexon system prices half hourly. Defines 11 functions or classes, including read, write_if_changed, ensure_linked_css, ensure_js_link, ensure_all_option. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file electricity_price_history.json; CSV file elexon_system_prices_half_hourly.csv. Out: canvas drawing. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Gridbot V3 Consolidated Price History Workflow (globalgrid2050); GlobalGrid2050 Patch V3 Price History Correctness Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write_if_changed(path: Path, text: str)`; `ensure_linked_css(text: str)`; `ensure_js_link(text: str)`; `ensure_all_option(text: str)`; `collapse_table(text: str)`; `patch_page()`; `patch_css()`; `patch_js()`; `patch_diary()`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file electricity_price_history.json; CSV file elexon_system_prices_half_hourly.csv]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Patch V3 Price History Date Window - File: globalgrid2050/scripts/patch_v3_price_history_date_window.py (Python, 80 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v3_price_history_date_window.py#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/0884.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads electricity price history. - What it achieves (name): Defines `patch_page`, `patch_css`, `patch_js` and 1 more. - What it does: It loads electricity price history. Defines patch_page, patch_css, patch_js, patch_diary, main. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: CSV file electricity_price_history.csv; form fields (user input). - Downstream impact: Used directly by 2 files: GlobalGrid2050 Gridbot V3 Consolidated Price History Workflow (globalgrid2050); GlobalGrid2050 Patch V3 Price History Date Window Workflow (globalgrid2050). - Signatures: `patch_page()`; `patch_css()`; `patch_js()`; `patch_diary()`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file electricity_price_history.csv; form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Patch V3 Price History Fullscreen - File: globalgrid2050/scripts/patch_v3_price_history_fullscreen.py (Python, 57 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v3_price_history_fullscreen.py#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0884.html#f2 - Synopsis: A Python command-line tool in the scripts folder that writes changed (`write_if_changed`), covering electricity price history. - What it achieves (name): Defines `write_if_changed`. - What it does: It draws electricity price history. Defines write_if_changed, main. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file electricity_price_history.json; CSV file electricity_price_history.csv. Out: canvas drawing. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Gridbot V3 Consolidated Price History Workflow (globalgrid2050); GlobalGrid2050 Patch V3 Price History Fullscreen Workflow (globalgrid2050). - Signatures: `write_if_changed(path,text)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file electricity_price_history.json; CSV file electricity_price_history.csv]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Patch V3 Price History Merge System - File: globalgrid2050/scripts/patch_v3_price_history_merge_system.py (Python, 28 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v3_price_history_merge_system.py#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0884.html#f3 - Synopsis: A Python command-line tool in the scripts folder that reads Elexon system prices half hourly. - What it does: It loads Elexon system prices half hourly. Defines main. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: CSV file elexon_system_prices_half_hourly.csv. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Gridbot V3 Consolidated Price History Workflow (globalgrid2050); GlobalGrid2050 Patch V3 Price History Merge System Workflow (globalgrid2050). - Signatures: `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file elexon_system_prices_half_hourly.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Patch V3 Price History UI - File: globalgrid2050/scripts/patch_v3_price_history_ui.py (Python, 387 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v3_price_history_ui.py#L1-L387 - Page: https://code.globalgrid2050.com/explore-code/s/0884.html#f4 - Synopsis: A Python command-line tool in the scripts folder that writes changed (`write_if_changed`), extracts panel (`extract_panel`) and patches page (`patch_page`). - What it achieves (name): It is built from the ensure linked CSS helper (`ensure_linked_css`) and the collapse price table helper (`collapse_price_table`). Defines `read`, `write_if_changed`, `extract_panel` and 6 more. - What it does: It loads data. Defines 10 functions or classes, including read, write_if_changed, extract_panel, ensure_linked_css, ensure_panel_after_generation_mix. Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Patch V3 Price History UI Workflow (globalgrid2050); GlobalGrid2050 V3 UI Patch Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write_if_changed(path: Path, text: str)`; `extract_panel(text: str)`; `ensure_linked_css(text: str)`; `ensure_panel_after_generation_mix(text: str)`; `collapse_price_table(text: str)`; `patch_page()`; `patch_css()`; `patch_diary()`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Patch V3 Price Lazy Selectors - File: globalgrid2050/scripts/patch_v3_price_lazy_selectors.py (Python, 79 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v3_price_lazy_selectors.py#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/0884.html#f5 - Synopsis: A Python command-line tool in the scripts folder that patches page (`patch_page`) and js (`patch_js`) and patches fs (`patch_fs`). - What it achieves (name): Defines `patch_page`, `patch_js`, `patch_fs` and 1 more. - What it does: It draws its content. Defines patch_page, patch_js, patch_fs, patch_diary, main. Uses libraries pathlib, re. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: form fields (user input). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Patch V3 Price Lazy Selectors Workflow (globalgrid2050). - Signatures: `patch_page()`; `patch_js()`; `patch_fs()`; `patch_diary()`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Patch V3 Price Range Fullscreen Fix - File: globalgrid2050/scripts/patch_v3_price_range_fullscreen_fix.py (Python, 142 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v3_price_range_fullscreen_fix.py#L1-L142 - Page: https://code.globalgrid2050.com/explore-code/s/0885.html#f1 - Synopsis: A Python command-line tool in the scripts folder that patches page (`patch_page`) and CSS (`patch_css`) and patches js (`patch_js`), covering electricity price history and Elexon system prices half hourly. - What it achieves (name): Defines `patch_page`, `patch_css`, `patch_js` and 1 more. - What it does: It draws electricity price history and Elexon system prices half hourly. Defines patch_page, patch_css, patch_js, patch_diary, main. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file electricity_price_history.json; CSV file elexon_system_prices_half_hourly.csv; CSV file electricity_price_history.csv; form fields (user input). Out: canvas drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Patch V3 Price Range Fullscreen Fix Workflow (globalgrid2050). - Signatures: `patch_page()`; `patch_css()`; `patch_js()`; `patch_diary()`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file electricity_price_history.json; CSV file elexon_system_prices_half_hourly.csv; CSV file electricity_price_history.csv; form fields (user input)]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Patch V5 News Backend Loader - File: globalgrid2050/scripts/patch_v5_news_backend_loader.py (Python, 36 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v5_news_backend_loader.py#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0885.html#f2 - Synopsis: A Python module in the scripts folder that draws major project news, Renewable Energy Planning Database (REPD) master and the REPD register. - What it does: It draws major project news, REPD master and the REPD register. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file major_project_news_v5.json; JSON file repd_master.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V5 News Loader Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v5.json; JSON file repd_master.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Price Annotation Layout - File: globalgrid2050/scripts/repair_v6_price_annotation_layout.py (Python, 230 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_price_annotation_layout.py#L1-L230 - Page: https://code.globalgrid2050.com/explore-code/s/0885.html#f3 - Synopsis: A Python module in the scripts folder. - What it does: It loads data. Uses libraries pathlib, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Price Annotation Layout Workflow (globalgrid2050). - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Price Annotations V5 Style - File: globalgrid2050/scripts/repair_v6_price_annotations_v5_style.py (Python, 152 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_price_annotations_v5_style.py#L1-L152 - Page: https://code.globalgrid2050.com/explore-code/s/0885.html#f4 - Synopsis: A Python module in the scripts folder. - What it does: It loads data. Uses libraries pathlib, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Price Annotations V5 Style Workflow (globalgrid2050). - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) Publication Baseline Probe - File: globalgrid2050/scripts/repd_publication_baseline_probe.py (Python, 192 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repd_publication_baseline_probe.py#L1-L192 - Page: https://code.globalgrid2050.com/explore-code/s/0886.html#f1 - Synopsis: A Python module in the scripts folder that fetches REPD publication q2 and the REPD register, using SHA-256 from the GridAtlas repository. - What it achieves (comment): It is built from the sha step (`sha`), the fetch step (`fetch`) and the head step (`head`). Read-only October 2026 REPD publication/archive and live-UI baseline probe. - What it does: It fetches REPD publication q2 and the REPD register. Defines sha, fetch, head, browse. Uses libraries __future__, asyncio, hashlib, json, os. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; CSV file REPD_Publication_Q2_2026.csv; Excel file REPD_Publication_Q2_2026.xlsx. Out: JSON file REPORT.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Renewable Energy Planning Database (REPD) Publication Baseline Probe Workflow (globalgrid2050). - Signatures: `sha(raw: bytes)`; `fetch(url: str, timeout: int = 55)`; `head(url: str)`; `browse()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; CSV file REPD_Publication_Q2_2026.csv; Excel file REPD_Publication_Q2_2026.xlsx]; out [JSON file REPORT.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) Q2 Q3 Verified Delta - File: globalgrid2050/scripts/repd_q2_q3_verified_delta.py (Python, 150 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repd_q2_q3_verified_delta.py#L1-L150 - Page: https://code.globalgrid2050.com/explore-code/s/0886.html#f2 - Synopsis: A Python command-line tool in the scripts folder covering REPD publication q2 and the REPD register, using SHA-256. - What it achieves (comment): It is built from the verify step (`verify`), the rows step (`rows`) and the index step (`index`). Prove original July 2026 REPD recovery and compare raw Q2/Q3 source records. It accepts `--out`. - What it does: Defines verify, rows, index, numeric, main. Uses libraries __future__, argparse, csv, hashlib, io. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file REPD_Publication_Q2_2026.csv; Excel file REPD_Publication_Q2_2026.xlsx; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Renewable Energy Planning Database (REPD) Q2 Original Evidence Workflow (globalgrid2050). - Signatures: `verify(path: Path, expected: str)`; `rows(raw: bytes)`; `index(items: list[dict[str, str]], allow_one_identical_duplicate: bool)`; `numeric(value: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file REPD_Publication_Q2_2026.csv; Excel file REPD_Publication_Q2_2026.xlsx; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) Q3 2026 Ingest - File: globalgrid2050/scripts/repd_q3_2026_ingest.py (Python, 370 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repd_q3_2026_ingest.py#L1-L370 - Page: https://code.globalgrid2050.com/explore-code/s/0886.html#f3 - Synopsis: A Python command-line tool in the scripts folder that reads REPD publication q3, REPD publication q2, q2 baseline sha256 audit and q3 date provenance, using SHA-256. - What it achieves (comment): It is built from the strict date iso helper (`strict_date_iso`), the day first helper (`day_first`) and the digest step (`digest`). Isolated DESNZ October 2026 (Q3) REPD intake and Q2 delta audit. Its code works with 0.0050001 MW. - What it does: It loads REPD publication q3, REPD publication q2, q2 baseline sha256 audit and q3 date provenance. Defines 7 functions or classes, including strict_date_iso, day_first, digest, check, canonicalise_exact_duplicates. Uses libraries __future__, hashlib, json, os, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file REPD_Publication_Q3_2026.csv; Excel file REPD_Publication_Q3_2026.xlsx; CSV file repd.csv; CSV file Q3_DATE_PROVENANCE.csv. Out: CSV file REPD_Publication_Q2_2026.csv; Excel file REPD_Publication_Q2_2026.xlsx; JSON file Q2_BASELINE_SHA256_AUDIT.json; CSV file REPD_Publication_Q3_2026.csv; Excel file REPD_Publication_Q3_2026.xlsx; JSON file Q3_RECONCILIATION.json; CSV file Q3_CANONICAL_STAGED.csv. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Renewable Energy Planning Database (REPD) 2026 Q3 Ingestion Workflow (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Q3 Evidence Branch Workflow (globalgrid2050). - Signatures: `strict_date_iso(value)`; `day_first(iso: str)`; `digest(data: bytes)`; `check(condition: bool, label: str, issues: list[str])`; `canonicalise_exact_duplicates(frame, label: str, issues: list[str])`; `reconcile(csv_data: bytes, xlsx_data: bytes, old_data: bytes, baseline_name: str, baseline_is_q2: bool, minimum_refs: int = VAL...)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file REPD_Publication_Q3_2026.csv; Excel file REPD_Publication_Q3_2026.xlsx; CSV file repd.csv; CSV file Q3_DATE_PROVENANCE.csv]; out [CSV file REPD_Publication_Q2_2026.csv; Excel file REPD_Publication_Q2_2026.xlsx; JSON file Q2_BASELINE_SHA256_AUDIT.json; CSV file REPD_Publication_Q3_2026.csv; Excel file REPD_Publication_Q3_2026.xlsx; JSON file Q3_RECONCILIATION.json; CSV file Q3_CANONICAL_STAGED.csv]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) Q3 Staging Verify - File: globalgrid2050/scripts/repd_q3_staging_verify.py (Python, 123 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repd_q3_staging_verify.py#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0887.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads REPD grid batteries, REPD solar operational over 4MW, REPD master and REPD reconciliation, using SHA-256. - What it achieves (name): Defines `sha` and `csv_rows`. - What it does: It loads REPD grid batteries, REPD solar operational over 4MW, REPD master and REPD reconciliation. Defines sha, csv_rows, main. Uses libraries csv, hashlib, io, json, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file repd.csv; CSV file repd-grid-batteries.csv; CSV file repd-solar-operational.csv; CSV file repd-solar-operational-over-4mw.csv; JSON file repd_master.json; JSON file manifest_v6.json; JSON file repd_source_reconciliation_v6.json; JSON file Q3_RECONCILIATION.json. Out: JSON file INTEGRITY-VERIFICATION.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Renewable Energy Planning Database (REPD) 2026 Q3 Ingestion Workflow (globalgrid2050). - Signatures: `sha(data)`; `csv_rows(data)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file repd.csv; CSV file repd-grid-batteries.csv; CSV file repd-solar-operational.csv; CSV file repd-solar-operational-over-4mw.csv; JSON file repd_master.json; JSON file manifest_v6.json; JSON file repd_source_reconciliation_v6.json; JSON file Q3_RECONCILIATION.json]; out [JSON file INTEGRITY-VERIFICATION.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) Sources V6 - File: globalgrid2050/scripts/repd_sources_v6.py (Python, 597 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repd_sources_v6.py#L1-L597 - Page: https://code.globalgrid2050.com/explore-code/s/0887.html#f3 - Synopsis: A Python command-line tool in the scripts folder that fetches REPD canonical, REPD reconciliation, REPD publication q2 and the REPD register, using SHA-256. - What it achieves (comment): It cleans ref (`clean_ref`), fetches bytes (`fetch_bytes`) and reads CSV (`read_csv`). Official DESNZ Q2 2026 source retrieval and deterministic reconciliation. Its code works with 1 MW, 100 MW and 0.005 MW. It accepts `--csv-file` and `--xlsx-file`. - What it does: It fetches REPD canonical, REPD reconciliation, REPD publication q2 and the REPD register. Defines 24 functions or classes, including utc_now, sha256, collapse, norm_text, norm_date. Uses libraries __future__, hashlib, io, json, math. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file latest_repd_v6_canonical.csv; JSON file repd_source_reconciliation_v6.json; JSON file manifest_v6.json; CSV file REPD_Publication_Q2_2026.csv; Excel file REPD_Publication_Q2_2026.xlsx; command-line arguments. Out: CSV file. - Downstream impact: Used directly by 6 files: GlobalGrid2050 Renewable Energy Planning Database (REPD) Q3 2026 Ingest (globalgrid2050); GlobalGrid2050 Validate Renewable Energy Planning Database (REPD) Sources V6 (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) 2026 Q3 Ingestion Workflow (globalgrid2050); GlobalGrid2050 Build Project Identity V6 (globalgrid2050); and 2 more. Reached from 2 other entry points, including GlobalGrid2050 Major Project News V6 Workflow (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Q3 Evidence Branch Workflow (globalgrid2050). - Signatures: `utc_now()`; `sha256(raw: bytes)`; `collapse(value)`; `norm_text(value)`; `norm_date(value)`; `strict_date(value)`; `month_first_date(value)`; `is_typed_date(value)`; `drop_identical_duplicates(frame: pd.DataFrame, label: str)`; `norm_number(value)`; `clean_ref(value)`; `canonicalise_headers(frame: pd.DataFrame)`; `fetch_bytes(url: str)`; `read_csv(raw: bytes)`; `read_xlsx(raw: bytes)`; `indexed(frame: pd.DataFrame, label: str)`; `threshold_counts(frame: pd.DataFrame)`; `planning_refs_equivalent(csv_value, xlsx_value)`; `build_canonical(csv_frame: pd.DataFrame, xlsx_frame: pd.DataFrame)`; `reconcile(csv_raw: bytes, xlsx_raw: bytes)`; `check(ok, gate, detail="")`; `run_reconciliation(csv_file: str = "", xlsx_file: str = "", fetch=fetch_bytes)`; `write_outputs(canonical: pd.DataFrame, report: dict, manifest: dict)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file latest_repd_v6_canonical.csv; JSON file repd_source_reconciliation_v6.json; JSON file manifest_v6.json; CSV file REPD_Publication_Q2_2026.csv; Excel file REPD_Publication_Q2_2026.xlsx; command-line arguments]; out [CSV file]; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) Updater - File: globalgrid2050/scripts/repd_updater.py (Python, 355 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repd_updater.py#L1-L355 - Page: https://code.globalgrid2050.com/explore-code/s/0888.html#f2 - Synopsis: A Python command-line tool in the scripts folder that fetches REPD publication q2, REPD master, the REPD register and solar. - What it achieves (name): It validates schema (`validate_schema`) and is built from the REPD updater class (`REPDUpdater`) and the iso date helper (`iso_date`). Defines `REPDUpdater`, `clean_text`, `clean_ref` and 8 more. - What it does: It fetches REPD publication q2, REPD master, the REPD register and solar. Defines 12 functions or classes, including REPDUpdater, __init__, clean_text, clean_ref, iso_date. Uses libraries pandas, json, yaml, os, re. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: CSV file REPD_Publication_Q2_2026.csv; Excel file REPD_Publication_Q2_2026.xlsx; JSON file manifest_v4.json; JSON file repd_master.json; CSV file latest_repd.csv. Out: JSON file repd_master.json; JSON file manifest_v4.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Renewable Energy Planning Database (REPD) Sync Workflow (globalgrid2050). - Signatures: `class REPDUpdater`; `__init__(self, registry_path="config/registry.yaml")`; `clean_text(value)`; `clean_ref(value)`; `iso_date(value)`; `validate_schema(self, df)`; `discover_latest_sources(self)`; `already_current(self, url)`; `fetch_data(self, url)`; `classify_tech(self, tech_raw, mounting)`; `refine_dataset(self, csv_path)`; `execute(self)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file REPD_Publication_Q2_2026.csv; Excel file REPD_Publication_Q2_2026.xlsx; JSON file manifest_v4.json; JSON file repd_master.json; CSV file latest_repd.csv]; out [JSON file repd_master.json; JSON file manifest_v4.json]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Split Elexon Generation Sources by Year - File: globalgrid2050/scripts/split_elexon_generation_sources_by_year.py (Python, 39 lines) · role energy-data · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/split_elexon_generation_sources_by_year.py#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0888.html#f3 - Synopsis: A Python command-line tool in the scripts folder that works with row year (`row_year`), covering Elexon generation sources half hourly. - What it achieves (name): Defines `row_year` and `sort_key`. - What it does: Defines row_year, sort_key, main. Uses libraries csv, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'elexon'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file elexon_generation_sources_half_hourly.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Elexon Generation Sources Weekly Workflow (globalgrid2050). - Signatures: `row_year(row)`; `sort_key(row)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file elexon_generation_sources_half_hourly.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Split Elexon System Prices by Year - File: globalgrid2050/scripts/split_elexon_system_prices_by_year.py (Python, 38 lines) · role energy-data · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/split_elexon_system_prices_by_year.py#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0888.html#f4 - Synopsis: A Python command-line tool in the scripts folder that works with row year (`row_year`), covering Elexon system prices half hourly. - What it achieves (name): Defines `row_year` and `sort_key`. - What it does: Defines row_year, sort_key, main. Uses libraries csv, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: CSV file elexon_system_prices_half_hourly.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Elexon System Prices Workflow (globalgrid2050). - Signatures: `row_year(row)`; `sort_key(row)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file elexon_system_prices_half_hourly.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Split Generation Sources Year to Months V6 - File: globalgrid2050/scripts/split_generation_sources_year_to_months_v6.py (Python, 59 lines) · role energy-data · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/split_generation_sources_year_to_months_v6.py#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/0888.html#f5 - Synopsis: A Python command-line tool in the scripts folder. - What it achieves (name): Defines `month_from_row` and `split_year`. - What it does: Defines month_from_row, split_year, main. Uses libraries csv, sys, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Backfill Generation Sources Staggered Years V6 Workflow (globalgrid2050). - Signatures: `month_from_row(row)`; `split_year(year)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Test News Binder Refaware - File: globalgrid2050/scripts/test_news_binder_refaware.py (Python, 226 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_news_binder_refaware.py#L1-L226 - Page: https://code.globalgrid2050.com/explore-code/s/0889.html#f1 - Synopsis: A test in the scripts folder that checks GlobalGrid2050 Major Project News V6 and GlobalGrid2050 News Binder Refaware, using SHA-256. - What it achieves (comment): It is built from the story step (`story`), the sha step (`sha`) and the resolve step (`resolve`). Offline tests for `scripts/news_binder_refaware.py` and `scripts/build_news_feed_2026q3.py`. Its code works with 1 GWh, 100 MWh and 107 MW. - What it does: It tests solar and battery storage (BESS). Defines 18 functions or classes, including story, sha, resolve, test_operator_parties, test_capacity_extraction. Uses libraries __future__, hashlib, json, re, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file news_binding_labels_2026q3.json; JSON file major_projects_v6.json; JSON file major_projects_2026q3.json; JSON file major_project_news_v9_5_1.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `story(title, source="Example News", url="https:)`; `sha(path: Path)`; `resolve(title, **kw)`; `test_operator_parties()`; `test_capacity_extraction()`; `test_c1_capacity_contradiction_blocks_camblesforth()`; `test_c2_qualifier_coalburn_ii()`; `test_c3_full_exact_name_not_downgraded_by_shared_stem()`; `test_c4_multi_token_stem_adjacent_descriptor()`; `test_c6_operator_route_and_vetoes()`; `test_c7_stale_records()`; `test_c8_ref_aware()`; `test_west_burton_c_is_fidra_11928()`; `test_v9_5_fixtures_on_both_universes()`; `test_status_change_candidates_synthetic()`; `evaluate(resolver)`; `test_labelled_precision_recall()`; `test_feed_builder_is_additive_and_deterministic()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file news_binding_labels_2026q3.json; JSON file major_projects_v6.json; JSON file major_projects_2026q3.json; JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### GlobalGrid2050 Test News Binder V9 5 - File: globalgrid2050/scripts/test_news_binder_v9_5.py (Python, 116 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_news_binder_v9_5.py#L1-L116 - Page: https://code.globalgrid2050.com/explore-code/s/0889.html#f2 - Synopsis: A test in the scripts folder that checks GlobalGrid2050 Major Project News V6. It is built from the story step (`story`). - What it achieves (comment): Offline V9.5 news-binder recall and adversarial regression gate. Its code works with 150 MW, 1 GWh and 123 MW. - What it does: It tests solar and battery storage (BESS). Defines story. Uses libraries __future__, json, sys, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file major_project_news_v6.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `story(title: str, source: str = "Example News", source_url: str = "https:)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v6.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GlobalGrid2050 Test News Feed V9 5 1 - File: globalgrid2050/scripts/test_news_feed_v9_5_1.py (Python, 65 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_news_feed_v9_5_1.py#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/0889.html#f3 - Synopsis: A test in the scripts folder covering the Renewable Energy Planning Database (REPD) register. - What it achieves (name): Defines `load` and `key`. - What it does: It tests the REPD register. Defines load, key. Uses libraries __future__, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file major_project_news_v9_5_1.json; JSON file major_project_news_v5.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `load(path: Path)`; `key(item: dict)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v9_5_1.json; JSON file major_project_news_v5.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Test V6 Price History Accuracy - File: globalgrid2050/scripts/test_v6_price_history_accuracy.py (Python, 177 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_v6_price_history_accuracy.py#L1-L177 - Page: https://code.globalgrid2050.com/explore-code/s/0889.html#f4 - Synopsis: A test in the scripts folder. It parses time (`parse_time`), reads annual CSV (`read_annual_csv`) and reads daily JSON (`read_daily_json`). - What it achieves (comment): Validate the V6 UK energy tracking price history chart inputs against source CSV data. - What it does: It tests its inputs. Defines 9 functions or classes, including parse_time, read_annual_csv, daily_from_csv, read_daily_json, assert_close. Uses libraries __future__, csv, json, collections, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: CSV file elexon_system_prices_2021.csv; CSV file elexon_system_prices_2026.csv; JSON file electricity_price_history_daily_decade.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `parse_time(value: str)`; `read_annual_csv(path: Path)`; `daily_from_csv(rows: list[dict[str, object]])`; `read_daily_json(path: Path)`; `assert_close(label: str, actual: float, expected: float, tolerance: float = 0.01)`; `validate_day(day: str, csv_daily: dict[str, dict[str, object]], json_daily: dict[str, dict[str, object]])`; `count_csv_window(rows: list[dict[str, object]], start: datetime, days: int)`; `write_report(results: list[list[str]], window_count: int)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file elexon_system_prices_2021.csv; CSV file elexon_system_prices_2026.csv; JSON file electricity_price_history_daily_decade.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Update Elexon System Prices Daily V4 - File: globalgrid2050/scripts/update_elexon_system_prices_daily_v4.py (Python, 152 lines) · role energy-data · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_elexon_system_prices_daily_v4.py#L1-L152 - Page: https://code.globalgrid2050.com/explore-code/s/0890.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches Elexon system prices half hourly from Elexon Balancing Mechanism Reporting Service (BMRS). - What it achieves (name): It fetches date (`fetch_date`), loads CSV (`load_csv`) and sorts key (`sort_key`). Defines `pick`, `num`, `period_start` and 5 more. - What it does: It fetches Elexon system prices half hourly. Defines 9 functions or classes, including pick, num, period_start, fetch_date, load_csv. Uses libraries csv, datetime, json, os, sys. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: Elexon BMRS; CSV file elexon_system_prices_half_hourly.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Update Elexon System Prices Daily V4 Workflow (globalgrid2050). - Signatures: `pick(row, names)`; `num(value)`; `period_start(date_text, period)`; `fetch_date(day)`; `load_csv(path)`; `sort_key(key)`; `write_csv(path, rows_by_key)`; `year_file(year)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; CSV file elexon_system_prices_half_hourly.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Update Generation Recent MW V6 - File: globalgrid2050/scripts/update_generation_recent_mw_v6.py (Python, 118 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_generation_recent_mw_v6.py#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/0890.html#f2 - Synopsis: A Python command-line tool in the scripts folder that parses time (`parse_time`) (units: MW), covering generation recent halfhourly 30d, solar and wind. - What it achieves (name): Defines `group_for`, `parse_time` and `parse_mw`. - What it does: Defines group_for, parse_time, parse_mw, main. Uses libraries json, os, sys, datetime, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind. - Inputs & outputs: In: JSON file generation_recent_halfhourly_30d.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Update Generation Recent MW V6 Workflow (globalgrid2050). - Signatures: `group_for(fuel)`; `parse_time(value)`; `parse_mw(value)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generation_recent_halfhourly_30d.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GlobalGrid2050 Update Oil Prices - File: globalgrid2050/scripts/update_oil_prices.py (Python, 235 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_oil_prices.py#L1-L235 - Page: https://code.globalgrid2050.com/explore-code/s/0890.html#f3 - Synopsis: A Python command-line tool in the scripts folder that fetches live oil prices, oil price history and fredgraph. It loads existing history (`load_existing_history`) and adds rows (`add_rows`). - What it achieves (name): Defines `build_session`, `now_utc`, `yahoo_price` and 6 more. - What it does: It fetches live oil prices, oil price history and fredgraph. Defines 10 functions or classes, including build_session, now_utc, yahoo_price, yahoo_history, fred_csv. Uses libraries csv, json, os, datetime, io. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; CSV file fredgraph.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Update Oil Prices Workflow (globalgrid2050). - Signatures: `build_session()`; `now_utc()`; `yahoo_price(ticker)`; `yahoo_history(ticker)`; `fred_csv(series)`; `load_existing_history()`; `history_is_recent(existing)`; `add_rows(merged, rows, field)`; `oil_history_geojson()`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; CSV file fredgraph.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Update Oil Prices V2 - File: globalgrid2050/scripts/update_oil_prices_v2.py (Python, 235 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_oil_prices_v2.py#L1-L235 - Page: https://code.globalgrid2050.com/explore-code/s/0891.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches live oil prices, oil price history and fredgraph. It loads existing history (`load_existing_history`) and adds rows (`add_rows`). - What it achieves (name): Defines `build_session`, `now_utc`, `yahoo_price` and 6 more. - What it does: It fetches live oil prices, oil price history and fredgraph. Defines 10 functions or classes, including build_session, now_utc, yahoo_price, yahoo_history, fred_csv. Uses libraries csv, json, os, datetime, io. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; CSV file fredgraph.csv. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `build_session()`; `now_utc()`; `yahoo_price(ticker)`; `yahoo_history(ticker)`; `fred_csv(series)`; `load_existing_history()`; `history_is_recent(existing)`; `add_rows(merged, rows, field)`; `oil_history_geojson()`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; CSV file fredgraph.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Update Oil Prices V3 - File: globalgrid2050/scripts/update_oil_prices_v3.py (Python, 235 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_oil_prices_v3.py#L1-L235 - Page: https://code.globalgrid2050.com/explore-code/s/0891.html#f2 - Synopsis: A Python command-line tool in the scripts folder that fetches live oil prices, oil price history and fredgraph. It loads existing history (`load_existing_history`) and adds rows (`add_rows`). - What it achieves (name): Defines `build_session`, `now_utc`, `yahoo_price` and 6 more. - What it does: It fetches live oil prices, oil price history and fredgraph. Defines 10 functions or classes, including build_session, now_utc, yahoo_price, yahoo_history, fred_csv. Uses libraries csv, json, os, datetime, io. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; CSV file fredgraph.csv. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `build_session()`; `now_utc()`; `yahoo_price(ticker)`; `yahoo_history(ticker)`; `fred_csv(series)`; `load_existing_history()`; `history_is_recent(existing)`; `add_rows(merged, rows, field)`; `oil_history_geojson()`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; CSV file fredgraph.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Update Oil Prices V4 - File: globalgrid2050/scripts/update_oil_prices_v4.py (Python, 235 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_oil_prices_v4.py#L1-L235 - Page: https://code.globalgrid2050.com/explore-code/s/0892.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches live oil prices, oil price history and fredgraph. It loads existing history (`load_existing_history`) and adds rows (`add_rows`). - What it achieves (name): Defines `build_session`, `now_utc`, `yahoo_price` and 6 more. - What it does: It fetches live oil prices, oil price history and fredgraph. Defines 10 functions or classes, including build_session, now_utc, yahoo_price, yahoo_history, fred_csv. Uses libraries csv, json, os, datetime, io. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; CSV file fredgraph.csv. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `build_session()`; `now_utc()`; `yahoo_price(ticker)`; `yahoo_history(ticker)`; `fred_csv(series)`; `load_existing_history()`; `history_is_recent(existing)`; `add_rows(merged, rows, field)`; `oil_history_geojson()`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; CSV file fredgraph.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Update UK Energy - File: globalgrid2050/scripts/update_uk_energy.py (Python, 199 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_energy.py#L1-L199 - Page: https://code.globalgrid2050.com/explore-code/s/0892.html#f2 - Synopsis: A Python command-line tool in the scripts folder covering live grid energy and live grid price, and uses data from Elexon Balancing Mechanism Reporting Service (BMRS) and Carbon Intensity API. - What it achieves (comment): It fetches generation mix (`fetch_generation_mix`), fetches solar GW (`fetch_solar_gw`) and writes shell if missing (`write_shell_if_missing`). Runs every 5 minutes. Fetches demand + generation mix (Elexon FUELINST) and national solar (Sheffield Solar). - What it does: It draws live grid energy, live grid price, solar and wind. Defines 6 functions or classes, including _iso_minutes_ago, _get_json, fetch_generation_mix, fetch_solar_gw, write_shell_if_missing. Uses libraries requests, os, json, pathlib, datetime. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind. - Inputs & outputs: In: data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_energy.json; JSON file live_grid_price.json. Out: JSON file. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fetch UK Energy and Prices Workflow (globalgrid2050). - Signatures: `_iso_minutes_ago(mins)`; `_get_json(url)`; `fetch_generation_mix()`; `fetch_solar_gw()`; `write_shell_if_missing()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_energy.json; JSON file live_grid_price.json]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Update UK Energy V2 - File: globalgrid2050/scripts/update_uk_energy_v2.py (Python, 199 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_energy_v2.py#L1-L199 - Page: https://code.globalgrid2050.com/explore-code/s/0892.html#f3 - Synopsis: A Python command-line tool in the scripts folder covering live grid energy and live grid price, and uses data from Elexon Balancing Mechanism Reporting Service (BMRS) and Carbon Intensity API. - What it achieves (comment): It fetches generation mix (`fetch_generation_mix`), fetches solar GW (`fetch_solar_gw`) and writes shell if missing (`write_shell_if_missing`). Runs every 5 minutes. Fetches demand + generation mix (Elexon FUELINST) and national solar (Sheffield Solar). - What it does: It draws live grid energy, live grid price, solar and wind. Defines 6 functions or classes, including _iso_minutes_ago, _get_json, fetch_generation_mix, fetch_solar_gw, write_shell_if_missing. Uses libraries requests, os, json, pathlib, datetime. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind. - Inputs & outputs: In: data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_energy.json; JSON file live_grid_price.json. Out: JSON file. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Isolate UK Energy Tracking V2 (globalgrid2050); GlobalGrid2050 Fetch UK Energy and Prices V2 Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Isolate UK Energy Tracking V2 Workflow (globalgrid2050). - Signatures: `_iso_minutes_ago(mins)`; `_get_json(url)`; `fetch_generation_mix()`; `fetch_solar_gw()`; `write_shell_if_missing()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_energy.json; JSON file live_grid_price.json]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Update UK Energy V3 - File: globalgrid2050/scripts/update_uk_energy_v3.py (Python, 199 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_energy_v3.py#L1-L199 - Page: https://code.globalgrid2050.com/explore-code/s/0893.html#f1 - Synopsis: A Python command-line tool in the scripts folder covering live grid energy and live grid price, and uses data from Elexon Balancing Mechanism Reporting Service (BMRS) and Carbon Intensity API. - What it achieves (comment): It fetches generation mix (`fetch_generation_mix`), fetches solar GW (`fetch_solar_gw`) and writes shell if missing (`write_shell_if_missing`). Runs every 5 minutes. Fetches demand + generation mix (Elexon FUELINST) and national solar (Sheffield Solar). - What it does: It draws live grid energy, live grid price, solar and wind. Defines 6 functions or classes, including _iso_minutes_ago, _get_json, fetch_generation_mix, fetch_solar_gw, write_shell_if_missing. Uses libraries requests, os, json, pathlib, datetime. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind. - Inputs & outputs: In: data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_energy.json; JSON file live_grid_price.json. Out: JSON file. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fetch UK Energy and Prices V3 Workflow (globalgrid2050). - Signatures: `_iso_minutes_ago(mins)`; `_get_json(url)`; `fetch_generation_mix()`; `fetch_solar_gw()`; `write_shell_if_missing()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_energy.json; JSON file live_grid_price.json]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Update UK Energy V4 - File: globalgrid2050/scripts/update_uk_energy_v4.py (Python, 199 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_energy_v4.py#L1-L199 - Page: https://code.globalgrid2050.com/explore-code/s/0893.html#f2 - Synopsis: A Python command-line tool in the scripts folder covering live grid energy and live grid price, and uses data from Elexon Balancing Mechanism Reporting Service (BMRS) and Carbon Intensity API. - What it achieves (comment): It fetches generation mix (`fetch_generation_mix`), fetches solar GW (`fetch_solar_gw`) and writes shell if missing (`write_shell_if_missing`). Runs every 5 minutes. Fetches demand + generation mix (Elexon FUELINST) and national solar (Sheffield Solar). - What it does: It draws live grid energy, live grid price, solar and wind. Defines 6 functions or classes, including _iso_minutes_ago, _get_json, fetch_generation_mix, fetch_solar_gw, write_shell_if_missing. Uses libraries requests, os, json, pathlib, datetime. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind. - Inputs & outputs: In: data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_energy.json; JSON file live_grid_price.json. Out: JSON file. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fetch UK Energy and Prices V4 Workflow (globalgrid2050). - Signatures: `_iso_minutes_ago(mins)`; `_get_json(url)`; `fetch_generation_mix()`; `fetch_solar_gw()`; `write_shell_if_missing()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_energy.json; JSON file live_grid_price.json]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Update UK Energy V5 - File: globalgrid2050/scripts/update_uk_energy_v5.py (Python, 109 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_energy_v5.py#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/0893.html#f3 - Synopsis: A Python command-line tool in the scripts folder that fetches live grid energy, solar and wind from Elexon Balancing Mechanism Reporting Service (BMRS). - What it achieves (comment): It fetches generation mix (`fetch_generation_mix`) and fetches solar GW (`fetch_solar_gw`). Runs every 5 minutes. Fetches demand + generation mix (Elexon FUELINST) and national solar (Sheffield Solar). - What it does: It fetches live grid energy, solar and wind. Defines _iso_minutes_ago, _get_json, fetch_generation_mix, fetch_solar_gw, main. Uses libraries requests, os, json, pathlib, datetime. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind. - Inputs & outputs: In: data source: Elexon BMRS; JSON file live_grid_energy.json. Out: JSON file. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fetch UK Energy and Prices V5 Workflow (globalgrid2050). - Signatures: `_iso_minutes_ago(mins)`; `_get_json(url)`; `fetch_generation_mix()`; `fetch_solar_gw()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; JSON file live_grid_energy.json]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Update UK Energy V6 - File: globalgrid2050/scripts/update_uk_energy_v6.py (Python, 144 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_energy_v6.py#L1-L144 - Page: https://code.globalgrid2050.com/explore-code/s/0893.html#f4 - Synopsis: A Python command-line tool in the scripts folder that fetches live grid energy, solar and wind from Elexon Balancing Mechanism Reporting Service (BMRS). - What it achieves (name): It fetches mix (`fetch_mix`) and fetches solar (`fetch_solar`). Defines `ago`, `now_iso`, `get_json` and 5 more. - What it does: It fetches live grid energy, solar and wind. Defines 9 functions or classes, including ago, now_iso, get_json, fetch_mix, fetch_solar. Uses libraries json, datetime, pathlib, requests. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind. - Inputs & outputs: In: data source: Elexon BMRS; JSON file live_grid_energy.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fetch UK Energy and Prices V6 Workflow (globalgrid2050). - Signatures: `ago(minutes)`; `now_iso()`; `get_json(url)`; `fetch_mix()`; `fetch_solar()`; `previous_payload()`; `write_report(status, detail, payload=None)`; `valid_energy_payload(out)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; JSON file live_grid_energy.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Update UK Fuel Prices - File: globalgrid2050/scripts/update_uk_fuel_prices.py (Python, 146 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_fuel_prices.py#L1-L146 - Page: https://code.globalgrid2050.com/explore-code/s/0894.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches live UK fuel prices. It parses number (`parse_number`) and is built from the normalise step (`normalise`). - What it achieves (name): Defines `now_utc`, `fetch_text`, `find_latest_csv_url` and 4 more. - What it does: It fetches live UK fuel prices. Defines 8 functions or classes, including now_utc, fetch_text, find_latest_csv_url, normalise, parse_number. Uses libraries csv, json, re, datetime, io. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file live_uk_fuel_prices.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Update UK Fuel Prices Workflow (globalgrid2050). - Signatures: `now_utc()`; `fetch_text(url)`; `find_latest_csv_url()`; `normalise(text)`; `parse_number(value)`; `parse_desnz_csv(csv_text)`; `find_col(candidates)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_uk_fuel_prices.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Update UK Fuel Prices V2 - File: globalgrid2050/scripts/update_uk_fuel_prices_v2.py (Python, 146 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_fuel_prices_v2.py#L1-L146 - Page: https://code.globalgrid2050.com/explore-code/s/0894.html#f2 - Synopsis: A Python command-line tool in the scripts folder that fetches live UK fuel prices. It parses number (`parse_number`) and is built from the normalise step (`normalise`). - What it achieves (name): Defines `now_utc`, `fetch_text`, `find_latest_csv_url` and 4 more. - What it does: It fetches live UK fuel prices. Defines 8 functions or classes, including now_utc, fetch_text, find_latest_csv_url, normalise, parse_number. Uses libraries csv, json, re, datetime, io. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file live_uk_fuel_prices.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `now_utc()`; `fetch_text(url)`; `find_latest_csv_url()`; `normalise(text)`; `parse_number(value)`; `parse_desnz_csv(csv_text)`; `find_col(candidates)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_uk_fuel_prices.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Update UK Fuel Prices V3 - File: globalgrid2050/scripts/update_uk_fuel_prices_v3.py (Python, 146 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_fuel_prices_v3.py#L1-L146 - Page: https://code.globalgrid2050.com/explore-code/s/0894.html#f3 - Synopsis: A Python command-line tool in the scripts folder that fetches live UK fuel prices. It parses number (`parse_number`) and is built from the normalise step (`normalise`). - What it achieves (name): Defines `now_utc`, `fetch_text`, `find_latest_csv_url` and 4 more. - What it does: It fetches live UK fuel prices. Defines 8 functions or classes, including now_utc, fetch_text, find_latest_csv_url, normalise, parse_number. Uses libraries csv, json, re, datetime, io. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file live_uk_fuel_prices.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `now_utc()`; `fetch_text(url)`; `find_latest_csv_url()`; `normalise(text)`; `parse_number(value)`; `parse_desnz_csv(csv_text)`; `find_col(candidates)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_uk_fuel_prices.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Update UK Fuel Prices V4 - File: globalgrid2050/scripts/update_uk_fuel_prices_v4.py (Python, 146 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_fuel_prices_v4.py#L1-L146 - Page: https://code.globalgrid2050.com/explore-code/s/0894.html#f4 - Synopsis: A Python command-line tool in the scripts folder that fetches live UK fuel prices. It parses number (`parse_number`) and is built from the normalise step (`normalise`). - What it achieves (name): Defines `now_utc`, `fetch_text`, `find_latest_csv_url` and 4 more. - What it does: It fetches live UK fuel prices. Defines 8 functions or classes, including now_utc, fetch_text, find_latest_csv_url, normalise, parse_number. Uses libraries csv, json, re, datetime, io. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file live_uk_fuel_prices.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `now_utc()`; `fetch_text(url)`; `find_latest_csv_url()`; `normalise(text)`; `parse_number(value)`; `parse_desnz_csv(csv_text)`; `find_col(candidates)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_uk_fuel_prices.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Update UK Price - File: globalgrid2050/scripts/update_uk_price.py (Python, 249 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_price.py#L1-L249 - Page: https://code.globalgrid2050.com/explore-code/s/0895.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches live grid price from Elexon Balancing Mechanism Reporting Service (BMRS) and Carbon Intensity API. - What it achieves (comment): It loads existing (`load_existing`), fetches market price (`fetch_market_price`) and fetches carbon (`fetch_carbon`). Fetches GB market price from Elexon Market Index and carbon intensity. - What it does: It fetches live grid price. Defines 13 functions or classes, including _parse_dt, load_existing, should_skip_price_update, _iso_minutes_ago, _get_json. Uses libraries os, requests, json, pathlib, datetime. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_price.json. Out: JSON file. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fetch UK Energy and Prices Workflow (globalgrid2050). - Signatures: `_parse_dt(value)`; `load_existing()`; `should_skip_price_update()`; `_iso_minutes_ago(mins)`; `_get_json(url)`; `_rows(payload)`; `_pick(row, names)`; `_settlement_datetime(row)`; `_try_price_url(url)`; `fetch_market_price()`; `fetch_carbon()`; `preserve_previous_price_if_bad(price, price_time, health, existing)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_price.json]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Update UK Price V2 - File: globalgrid2050/scripts/update_uk_price_v2.py (Python, 249 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_price_v2.py#L1-L249 - Page: https://code.globalgrid2050.com/explore-code/s/0895.html#f2 - Synopsis: A Python command-line tool in the scripts folder that fetches live grid price from Elexon Balancing Mechanism Reporting Service (BMRS) and Carbon Intensity API. - What it achieves (comment): It loads existing (`load_existing`), fetches market price (`fetch_market_price`) and fetches carbon (`fetch_carbon`). Fetches GB market price from Elexon Market Index and carbon intensity. - What it does: It fetches live grid price. Defines 13 functions or classes, including _parse_dt, load_existing, should_skip_price_update, _iso_minutes_ago, _get_json. Uses libraries os, requests, json, pathlib, datetime. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_price.json. Out: JSON file. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Isolate UK Energy Tracking V2 (globalgrid2050); GlobalGrid2050 Fetch UK Energy and Prices V2 Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Isolate UK Energy Tracking V2 Workflow (globalgrid2050). - Signatures: `_parse_dt(value)`; `load_existing()`; `should_skip_price_update()`; `_iso_minutes_ago(mins)`; `_get_json(url)`; `_rows(payload)`; `_pick(row, names)`; `_settlement_datetime(row)`; `_try_price_url(url)`; `fetch_market_price()`; `fetch_carbon()`; `preserve_previous_price_if_bad(price, price_time, health, existing)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_price.json]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Update UK Price V3 - File: globalgrid2050/scripts/update_uk_price_v3.py (Python, 353 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_price_v3.py#L1-L353 - Page: https://code.globalgrid2050.com/explore-code/s/0896.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches live grid price and electricity price history from Elexon Balancing Mechanism Reporting Service (BMRS) and Carbon Intensity API. - What it achieves (comment): It loads existing (`load_existing`), fetches market price (`fetch_market_price`) and fetches carbon (`fetch_carbon`). Fetches GB market price from Elexon Market Index and carbon intensity. - What it does: It fetches live grid price and electricity price history. Defines 18 functions or classes, including _parse_dt, _to_z, load_existing, should_skip_price_update, _iso_minutes_ago. Uses libraries csv, json, os, pathlib, datetime. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_price.json; CSV file electricity_price_history.csv; JSON file electricity_price_history.json. Out: JSON file. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Fetch UK Energy and Prices V3 Workflow (globalgrid2050); GlobalGrid2050 Force UK Energy Tracking V3 Price History Workflow (globalgrid2050). - Signatures: `_parse_dt(value)`; `_to_z(dt)`; `load_existing()`; `should_skip_price_update()`; `_iso_minutes_ago(mins)`; `_get_json(url)`; `_rows(payload)`; `_pick(row, names)`; `_settlement_datetime(row)`; `_try_price_url(url)`; `fetch_market_price()`; `fetch_carbon()`; `preserve_previous_price_if_bad(price, price_time, health, existing)`; `_settlement_period(price_time)`; `_load_history_rows()`; `_write_history_rows(rows)`; `append_price_history(out)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_price.json; CSV file electricity_price_history.csv; JSON file electricity_price_history.json]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Update UK Price V4 - File: globalgrid2050/scripts/update_uk_price_v4.py (Python, 353 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_price_v4.py#L1-L353 - Page: https://code.globalgrid2050.com/explore-code/s/0897.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches live grid price and electricity price history from Elexon Balancing Mechanism Reporting Service (BMRS) and Carbon Intensity API. - What it achieves (comment): It loads existing (`load_existing`), fetches market price (`fetch_market_price`) and fetches carbon (`fetch_carbon`). Fetches GB market price from Elexon Market Index and carbon intensity. - What it does: It fetches live grid price and electricity price history. Defines 18 functions or classes, including _parse_dt, _to_z, load_existing, should_skip_price_update, _iso_minutes_ago. Uses libraries csv, json, os, pathlib, datetime. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_price.json; CSV file electricity_price_history.csv; JSON file electricity_price_history.json. Out: JSON file. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fetch UK Energy and Prices V4 Workflow (globalgrid2050). - Signatures: `_parse_dt(value)`; `_to_z(dt)`; `load_existing()`; `should_skip_price_update()`; `_iso_minutes_ago(mins)`; `_get_json(url)`; `_rows(payload)`; `_pick(row, names)`; `_settlement_datetime(row)`; `_try_price_url(url)`; `fetch_market_price()`; `fetch_carbon()`; `preserve_previous_price_if_bad(price, price_time, health, existing)`; `_settlement_period(price_time)`; `_load_history_rows()`; `_write_history_rows(rows)`; `append_price_history(out)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_price.json; CSV file electricity_price_history.csv; JSON file electricity_price_history.json]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Update UK Price V5 - File: globalgrid2050/scripts/update_uk_price_v5.py (Python, 353 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_price_v5.py#L1-L353 - Page: https://code.globalgrid2050.com/explore-code/s/0898.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches live grid price and electricity price history from Elexon Balancing Mechanism Reporting Service (BMRS) and Carbon Intensity API. - What it achieves (comment): It loads existing (`load_existing`), fetches market price (`fetch_market_price`) and fetches carbon (`fetch_carbon`). Fetches GB market price from Elexon Market Index and carbon intensity. - What it does: It fetches live grid price and electricity price history. Defines 18 functions or classes, including _parse_dt, _to_z, load_existing, should_skip_price_update, _iso_minutes_ago. Uses libraries csv, json, os, pathlib, datetime. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_price.json; CSV file electricity_price_history.csv; JSON file electricity_price_history.json. Out: JSON file. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Compare UK Energy V5 V6 V3 (globalgrid2050); GlobalGrid2050 Fetch UK Energy and Prices V5 Workflow (globalgrid2050); GlobalGrid2050 Update V5 V6 Granular Change Tracker (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Compare UK Energy V5 V6 V3 Workflow (globalgrid2050); GlobalGrid2050 Update V5 V6 Granular Change Tracker Workflow (globalgrid2050). - Signatures: `_parse_dt(value)`; `_to_z(dt)`; `load_existing()`; `should_skip_price_update()`; `_iso_minutes_ago(mins)`; `_get_json(url)`; `_rows(payload)`; `_pick(row, names)`; `_settlement_datetime(row)`; `_try_price_url(url)`; `fetch_market_price()`; `fetch_carbon()`; `preserve_previous_price_if_bad(price, price_time, health, existing)`; `_settlement_period(price_time)`; `_load_history_rows()`; `_write_history_rows(rows)`; `append_price_history(out)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_price.json; CSV file electricity_price_history.csv; JSON file electricity_price_history.json]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GlobalGrid2050 Update UK Price V6 - File: globalgrid2050/scripts/update_uk_price_v6.py (Python, 151 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_price_v6.py#L1-L151 - Page: https://code.globalgrid2050.com/explore-code/s/0898.html#f2 - Synopsis: A Python command-line tool in the scripts folder that fetches live grid price and electricity price history from Elexon Balancing Mechanism Reporting Service (BMRS) and Carbon Intensity API. - What it achieves (name): It fetches price (`fetch_price`) and is built from the to z helper (`to_z`) and the rows step (`rows`). Defines `iso_minutes_ago`, `get_json`, `parse_dt` and 7 more. - What it does: It fetches live grid price and electricity price history. Defines 11 functions or classes, including iso_minutes_ago, get_json, parse_dt, to_z, rows. Uses libraries json, datetime, pathlib, urllib.parse, requests. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_price.json; CSV file electricity_price_history.csv; JSON file electricity_price_history.json. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Compare UK Energy V5 V6 V3 (globalgrid2050); GlobalGrid2050 Fetch UK Energy and Prices V6 Workflow (globalgrid2050); GlobalGrid2050 Update V5 V6 Granular Change Tracker (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Compare UK Energy V5 V6 V3 Workflow (globalgrid2050); GlobalGrid2050 Update V5 V6 Granular Change Tracker Workflow (globalgrid2050). - Signatures: `iso_minutes_ago(minutes)`; `get_json(url)`; `parse_dt(value)`; `to_z(dt)`; `rows(payload)`; `pick(row, keys)`; `row_time(row)`; `fetch_price()`; `fetch_carbon()`; `append_history(out)`; `main()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; data source: Carbon Intensity API; JSON file live_grid_price.json; CSV file electricity_price_history.csv; JSON file electricity_price_history.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GlobalGrid2050 Update V6 Transport Energy Sources - File: globalgrid2050/scripts/update_v6_transport_energy_sources.py (Python, 364 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_v6_transport_energy_sources.py#L1-L364 - Page: https://code.globalgrid2050.com/explore-code/s/0899.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches live oil prices, oil price history, live UK fuel prices and EV charging prices. - What it achieves (name): It loads existing JSON (`load_existing_json`) and is built from the yahoo price helper (`yahoo_price`) and the fred CSV helper (`fred_csv`). Defines `now_utc`, `build_session`, `fetch_text` and 12 more. It writes `uk_energy_tracking_v6/live_oil_prices.json`. - What it does: It fetches live oil prices, oil price history, live UK fuel prices and EV charging prices. Defines 16 functions or classes, including now_utc, build_session, fetch_text, yahoo_price, fred_csv. Uses libraries csv, json, re, datetime, io. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json; CSV file fredgraph.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Update V6 Transport Energy Sources Workflow (globalgrid2050). - Signatures: `now_utc()`; `build_session()`; `fetch_text(url, timeout=30)`; `yahoo_price(ticker)`; `fred_csv(series)`; `yahoo_history(ticker)`; `load_existing_json(path)`; `write_oil()`; `normalise(text)`; `parse_number(value)`; `find_latest_desnz_csv_url()`; `parse_desnz_csv(csv_text)`; `find_col(candidates)`; `write_fuel()`; `write_ev_reference()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json; CSV file fredgraph.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Validate Renewable Energy Planning Database (REPD) Sources V6 - File: globalgrid2050/scripts/validate_repd_sources_v6.py (Python, 8 lines) · role energy-data · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/validate_repd_sources_v6.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/0899.html#f2 - Synopsis: A Python command-line tool in the scripts folder. - What it achieves (comment): Fetch, reconcile and stage the official DESNZ Q2 V6 source snapshot. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Major Project News V6 Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GlobalGrid2050 Wire Generation Ecg Candidate - File: globalgrid2050/scripts/wire_generation_ecg_candidate.py (Python, 165 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/wire_generation_ecg_candidate.py#L1-L165 - Page: https://code.globalgrid2050.com/explore-code/s/0899.html#f3 - Synopsis: A Python command-line tool in the scripts folder that reads generation ecg technologies 30d 30min candidate, generation recent 30d 30min and ecg candidate wiring. - What it achieves (comment): It reads text (`read_text`), writes text (`write_text`) and patches config (`patch_config`). GlobalGrid2050 ECG candidate wiring helper. It accepts `--apply`. - What it does: It loads generation ecg technologies 30d 30min candidate, generation recent 30d 30min and ecg candidate wiring. Defines 8 functions or classes, including utc_now, stamp, read_text, write_text, patch_config. Uses libraries __future__, argparse, json, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generation_ecg_all_technologies_30d_30min_candidate.json; JSON file generation_recent_30d_30min.json; JSON file ECG_CANDIDATE_WIRING_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Wire Generation Ecg Candidate Workflow (globalgrid2050). - Signatures: `utc_now()`; `stamp()`; `read_text(path: Path)`; `write_text(path: Path, text: str)`; `patch_config(apply: bool)`; `patch_loader(apply: bool)`; `render_report(payload: dict)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generation_ecg_all_technologies_30d_30min_candidate.json; JSON file generation_recent_30d_30min.json; JSON file ECG_CANDIDATE_WIRING_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### App V9 3 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/app-v9-3.js (JavaScript, 31 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/app-v9-3.js#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/0899.html#f4 - Synopsis: A JavaScript module in the scripts folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: UK Renewables Pipeline — V9 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9/). Reached from 184 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `start()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### App V9 4 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/app-v9-4.js (JavaScript, 31 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/app-v9-4.js#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/0899.html#f5 - Synopsis: A JavaScript module in the scripts folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: UK Renewables Pipeline — V9 4 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.4/). Reached from 183 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `start()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### App V9 5 1 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/app-v9-5-1.js (JavaScript, 31 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/app-v9-5-1.js#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/0899.html#f6 - Synopsis: A JavaScript module in the scripts folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: UK Renewables Pipeline — V9 5 1 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.5.1/); UK Renewables Pipeline — V9 6 1 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.6.1/). Reached from 178 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `start()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 2; mentioned by 0 ### App V9 5 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/app-v9-5.js (JavaScript, 31 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/app-v9-5.js#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/0899.html#f7 - Synopsis: A JavaScript module in the scripts folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: UK Renewables Pipeline — V9 5 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.5/). Reached from 180 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `start()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### App V9 6 2 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/app-v9-6-2.js (JavaScript, 28 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/app-v9-6-2.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0899.html#f8 - Synopsis: A JavaScript module in the scripts folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: UK Renewables Pipeline — V9 6 2 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.6.2/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608260159-pipelinenews/). Reached from 89 other entry points, including Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/); Grid Engine — Connection Cap Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060212-connection-cap/); Grid Engine — Corridor Estimate Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060237-corridor-estimate/). - Signatures: `start()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 2; mentioned by 0 ### App V9 7 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/app-v9-7.js (JavaScript, 28 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/app-v9-7.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0900.html#f1 - Synopsis: A JavaScript module in the scripts folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: UK Renewables Pipeline — V9 7 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.7/); Sandbox — Pipeline Page (testcode). Reached from 86 other entry points, including Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/); Grid Engine — Connection Cap Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060212-connection-cap/); Grid Engine — Corridor Estimate Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060237-corridor-estimate/). - Signatures: `start()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 2; mentioned by 0 ### Testcode — Pipeline - File: globalgrid2050/testcode/202609051152/pipeline/scripts/app.js (JavaScript, 31 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/app.js#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/0900.html#f2 - Synopsis: A JavaScript module in the scripts folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `start()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 0; mentioned by 0 ### News Regions V9 6 2 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/core/news-regions-v9-6-2.js (JavaScript, 87 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/core/news-regions-v9-6-2.js#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/0900.html#f3 - Synopsis: A JavaScript module in the core folder of GlobalGrid2050 that works with solar and battery storage (BESS). - What it achieves (name): It classifies international v9 (`classifyInternationalV9_6_2`) and is built from the distinctive project tokens helper (`distinctiveProjectTokens`). Defines `distinctiveProjectTokens`, `ukEvidenceV9_6_2`, `technology` and 2 more. - What it does: It calculates solar and battery storage (BESS). Defines distinctiveProjectTokens, ukEvidenceV9_6_2, technology, classifyInternationalV9_6_2, regionalCountsV9_6_2. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 3 files: Newspaper V9 6 2 (globalgrid2050); Check V9 6 2 (globalgrid2050); Check V9 6 2 (globalgrid2050). Reached from 93 other entry points, including Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/); Grid Engine — Connection Cap Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060212-connection-cap/); Grid Engine — Corridor Estimate Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060237-corridor-estimate/). - Signatures: `export ukEvidenceV9_6_2(item)`; `export classifyInternationalV9_6_2(item)`; `export regionalCountsV9_6_2(items)`; `distinctiveProjectTokens(item)`; `technology(headline)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### News Relevance V9 2 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/core/news-relevance-v9-2.js (JavaScript, 80 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/core/news-relevance-v9-2.js#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/0900.html#f4 - Synopsis: A JavaScript module in the core folder of GlobalGrid2050 that works with battery storage (BESS) and solar. - What it achieves (name): It counts matches (`countMatches`) and is built from the significant tokens helper (`significantTokens`) and the capacity appears helper (`capacityAppears`). Defines `significantTokens`, `countMatches`, `capacityAppears` and 2 more. - What it does: It calculates battery storage (BESS) and solar. Defines significantTokens, countMatches, capacityAppears, assessNewsItemV9_2, newsMatchesProjectV9_2. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), solar. - Downstream impact: Used directly by 7 files: Newspaper V9 2 (globalgrid2050); Check V9 2 (globalgrid2050); Check V9 3 (globalgrid2050); Check V9 4 (globalgrid2050); and 3 more. Reached from 190 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export assessNewsItemV9_2(item)`; `export newsMatchesProjectV9_2(project, item)`; `significantTokens(value)`; `countMatches(tokens, text)`; `capacityAppears(item, headline)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 7; mentioned by 1 ### Plugin Host - File: globalgrid2050/testcode/202609051152/pipeline/scripts/core/plugin-host.js (JavaScript, 14 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/core/plugin-host.js#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0900.html#f5 - Synopsis: A JavaScript module in the core folder of GlobalGrid2050 that starts plugins (`startPlugins`). It starts plugins (`startPlugins`). - What it achieves (name): Defines `startPlugins`. - What it does: It calculates its inputs. Defines startPlugins. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 19 files: App V9 3 (globalgrid2050); App V9 4 (globalgrid2050); App V9 5 1 (globalgrid2050); App V9 5 (globalgrid2050); and 15 more. Reached from 193 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export startPlugins(plugins)`; `missing(plugin.dependsOn || [])` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 19; mentioned by 1 ### Project Filter V9 2 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/core/project-filter-v9-2.js (JavaScript, 72 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/core/project-filter-v9-2.js#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/0900.html#f6 - Synopsis: A JavaScript module in the core folder of GlobalGrid2050 that normalises search v9 (`normaliseSearchV9_2`), builds project search v9 (`buildProjectSearchTextV9_2`) and projects matches v9 (`projectMatchesV9_2`) (units: MW). - What it achieves (name): It normalises search v9 (`normaliseSearchV9_2`), builds project search text v9 (`buildProjectSearchTextV9_2`) and summarises projects v9 (`summariseProjectsV9_2`). Defines `normaliseSearchV9_2`, `tokeniseSearchV9_2`, `buildProjectSearchTextV9_2` and 2 more. - What it does: It calculates its inputs. Defines normaliseSearchV9_2, tokeniseSearchV9_2, buildProjectSearchTextV9_2, projectMatchesV9_2, summariseProjectsV9_2. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 35 files: Projects V9 2 (globalgrid2050); Projects V9 3 (globalgrid2050); Projects V9 4 (globalgrid2050); Projects V9 5 (globalgrid2050); and 31 more. Reached from 214 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export normaliseSearchV9_2(value)`; `export tokeniseSearchV9_2(value)`; `export buildProjectSearchTextV9_2(project)`; `export projectMatchesV9_2(project, filters, searchText = buildProjectSearchTextV9_2(project))`; `export summariseProjectsV9_2(projects)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 35; mentioned by 1 ### Project State - File: globalgrid2050/testcode/202609051152/pipeline/scripts/core/project-state.js (JavaScript, 121 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/core/project-state.js#L1-L121 - Page: https://code.globalgrid2050.com/explore-code/s/0900.html#f7 - Synopsis: A JavaScript module in the core folder of GlobalGrid2050 that filters projects (`filterProjects`), sets canonical project filter (`setCanonicalProjectFilter`) and resets canonical project filters (`resetCanonicalProjectFilters`). - What it achieves (name): It filters projects (`filterProjects`), creates canonical project state (`createCanonicalProjectState`) and sets canonical project filter (`setCanonicalProjectFilter`). Defines `defaultFilters`, `filterProjects`, `optionsFor` and 7 more. - What it does: It calculates its inputs. Defines 10 functions or classes, including defaultFilters, filterProjects, optionsFor, unique, createCanonicalProjectState. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 10 files: Canonical Project Controls (globalgrid2050); Projects (globalgrid2050); Check V7 2 Project Controls (globalgrid2050); Check V7 2 Project Model (globalgrid2050); and 6 more. Reached from 187 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export createCanonicalProjectState()`; `export beginCanonicalProjectLoad(state)`; `export commitCanonicalProjectModel(state, model)`; `export failCanonicalProjectLoad(state, error)`; `export setCanonicalProjectFilter(state, key, value)`; `export resetCanonicalProjectFilters(state)`; `defaultFilters()`; `filterProjects(projects, filters, searchFields)`; `optionsFor(projects)`; `unique(field)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 10; mentioned by 1 ### State - File: globalgrid2050/testcode/202609051152/pipeline/scripts/core/state.js (JavaScript, 23 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/core/state.js#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/0900.html#f8 - Synopsis: A JavaScript module in the core folder of GlobalGrid2050 covering major project news, solar and battery storage (BESS). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file major_project_news_v5.json. - Downstream impact: Used directly by 16 files: Gauges (globalgrid2050); Newspaper V9 2 (globalgrid2050); Newspaper V9 5 1 (globalgrid2050); Newspaper V9 5 (globalgrid2050); and 12 more. Reached from 200 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v5.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 16; mentioned by 0 ### Testcode — Pipeline - File: globalgrid2050/testcode/202609051152/pipeline/scripts/core/utils.js (JavaScript, 28 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/core/utils.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0900.html#f9 - Synopsis: A JavaScript module in the core folder of GlobalGrid2050 that normalises project (`normaliseProject`). - What it achieves (name): It normalises project (`normaliseProject`) and is built from the escape HTML helper (`escapeHtml`) and the title case helper (`titleCase`). Defines `escapeHtml`, `normaliseProject`, `titleCase` and 1 more. - What it does: It calculates its inputs. Defines escapeHtml, normaliseProject, titleCase, isFinanceEvent. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 53 files: News Regions V9 6 2 (globalgrid2050); News Relevance V9 2 (globalgrid2050); Newspaper V9 2 (globalgrid2050); Newspaper V9 5 1 (globalgrid2050); and 49 more. Reached from 219 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export escapeHtml(value)`; `export normaliseProject(value)`; `export titleCase(value)`; `export isFinanceEvent(event)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 53; mentioned by 1 ### Canonical Projects V9 1 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/data/canonical-projects-v9-1.js (JavaScript, 75 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/data/canonical-projects-v9-1.js#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0900.html#f10 - Synopsis: A JavaScript module in the data folder of GlobalGrid2050 that fetches solar, battery storage (BESS) and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It fetches JSON (`fetchJson`) and loads canonical projects v9 (`loadCanonicalProjectsV9_1`). Defines `invariant`, `round2`, `fetchJson` and 1 more. Its code works with 1 MW. - What it does: It fetches solar, battery storage (BESS) and the REPD register. Defines invariant, round2, fetchJson, loadCanonicalProjectsV9_1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS), the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file build_manifest.json. - Downstream impact: Used directly by 6 files: Canonical Projects V9 2 (globalgrid2050); Canonical Projects V9 3 (globalgrid2050); Canonical Projects V9 4 (globalgrid2050); Canonical Projects V9 5 1 (globalgrid2050); and 2 more. Reached from 256 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export loadCanonicalProjectsV9_1()`; `invariant(condition, message)`; `round2(value)`; `fetchJson(path)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 1 ### Canonical Projects V9 2 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/data/canonical-projects-v9-2.js (JavaScript, 30 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/data/canonical-projects-v9-2.js#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/0900.html#f11 - Synopsis: A JavaScript module in the data folder of GlobalGrid2050 that fetches release (`fetchRelease`) (units: MW). It fetches release (`fetchRelease`) and loads canonical projects v9 (`loadCanonicalProjectsV9_2`). - What it achieves (name): Defines `invariant`, `fetchRelease` and `loadCanonicalProjectsV9_2`. - What it does: It fetches data. Defines invariant, fetchRelease, loadCanonicalProjectsV9_2. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file release.v9.2.json. - Downstream impact: Used directly by 2 files: Projects V9 2 (globalgrid2050); Projects V9 2 (globalgrid2050). Reached from 1 other entry point, including Run V9 2 (globalgrid2050). - Signatures: `export loadCanonicalProjectsV9_2()`; `invariant(condition, message)`; `fetchRelease()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.2.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 1 ### Canonical Projects V9 3 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/data/canonical-projects-v9-3.js (JavaScript, 33 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/data/canonical-projects-v9-3.js#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0900.html#f12 - Synopsis: A JavaScript module in the data folder of GlobalGrid2050 that fetches release (`fetchRelease`) (units: MW). It fetches release (`fetchRelease`) and loads canonical projects v9 (`loadCanonicalProjectsV9_3`). - What it achieves (name): Defines `invariant`, `fetchRelease` and `loadCanonicalProjectsV9_3`. - What it does: It fetches data. Defines invariant, fetchRelease, loadCanonicalProjectsV9_3. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file release.v9.3.json. - Downstream impact: Used directly by 2 files: Projects V9 3 (globalgrid2050); Projects V9 3 (globalgrid2050). Reached from 187 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export loadCanonicalProjectsV9_3()`; `invariant(condition, message)`; `fetchRelease()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.3.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 1 ### Canonical Projects V9 4 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/data/canonical-projects-v9-4.js (JavaScript, 33 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/data/canonical-projects-v9-4.js#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0900.html#f13 - Synopsis: A JavaScript module in the data folder of GlobalGrid2050 that fetches release (`fetchRelease`) (units: MW). It fetches release (`fetchRelease`) and loads canonical projects v9 (`loadCanonicalProjectsV9_4`). - What it achieves (name): Defines `invariant`, `fetchRelease` and `loadCanonicalProjectsV9_4`. - What it does: It fetches data. Defines invariant, fetchRelease, loadCanonicalProjectsV9_4. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file release.v9.4.json. - Downstream impact: Used directly by 2 files: Projects V9 4 (globalgrid2050); Projects V9 4 (globalgrid2050). Reached from 186 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export loadCanonicalProjectsV9_4()`; `invariant(condition, message)`; `fetchRelease()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.4.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 1 ### Canonical Projects V9 5 1 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/data/canonical-projects-v9-5-1.js (JavaScript, 33 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/data/canonical-projects-v9-5-1.js#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0900.html#f14 - Synopsis: A JavaScript module in the data folder of GlobalGrid2050 that fetches release (`fetchRelease`) (units: MW). It fetches release (`fetchRelease`) and loads canonical projects v9 (`loadCanonicalProjectsV9_5_1`). - What it achieves (name): Defines `invariant`, `fetchRelease` and `loadCanonicalProjectsV9_5_1`. - What it does: It fetches data. Defines invariant, fetchRelease, loadCanonicalProjectsV9_5_1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file release.v9.5.1.json. - Downstream impact: Used directly by 44 files: Solar1000 V924 (globalgrid2050); Projects V9 5 1 (globalgrid2050); Projects V9 5 1 (globalgrid2050); Projects V9 9 (globalgrid2050); and 40 more. Reached from 242 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export loadCanonicalProjectsV9_5_1()`; `invariant(condition, message)`; `fetchRelease()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.5.1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 44; mentioned by 1 ### Canonical Projects V9 5 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/data/canonical-projects-v9-5.js (JavaScript, 33 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/data/canonical-projects-v9-5.js#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0901.html#f1 - Synopsis: A JavaScript module in the data folder of GlobalGrid2050 that fetches release (`fetchRelease`) (units: MW). It fetches release (`fetchRelease`) and loads canonical projects v9 (`loadCanonicalProjectsV9_5`). - What it achieves (name): Defines `invariant`, `fetchRelease` and `loadCanonicalProjectsV9_5`. - What it does: It fetches data. Defines invariant, fetchRelease, loadCanonicalProjectsV9_5. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file release.v9.5.json. - Downstream impact: Used directly by 2 files: Projects V9 5 (globalgrid2050); Projects V9 5 (globalgrid2050). Reached from 183 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export loadCanonicalProjectsV9_5()`; `invariant(condition, message)`; `fetchRelease()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.5.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 1 ### Canonical Projects - File: globalgrid2050/testcode/202609051152/pipeline/scripts/data/canonical-projects.js (JavaScript, 335 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/data/canonical-projects.js#L1-L335 - Page: https://code.globalgrid2050.com/explore-code/s/0901.html#f2 - Synopsis: A JavaScript module in the data folder of GlobalGrid2050 that validates projects contract (`validateProjectsContract`), builds canonical project model (`buildCanonicalProjectModel`) and loads canonical project model (`loadCanonicalProjectModel`) (units: MW). - What it achieves (name): It validates projects contract (`validateProjectsContract`), builds canonical project model (`buildCanonicalProjectModel`) and fetches JSON (`fetchJson`). Defines `CanonicalProjectError`, `invariant`, `isObject` and 16 more. - What it does: It lists and searches projects plugin, the REPD register, solar and battery storage (BESS). Defines 19 functions or classes, including CanonicalProjectError, invariant, isObject, isFiniteNumber, isIsoDate. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: JSON file projects-plugin.v7.2.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 10 files: Project State (globalgrid2050); Projects (globalgrid2050); Check V7 2 Project Controls (globalgrid2050); Check V7 2 Project Model (globalgrid2050); and 6 more. Reached from 187 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export class CanonicalProjectError`; `export isSameOriginRelativePath(path)`; `export lifecycleViewFor(project)`; `export validateProjectsContract(contract)`; `export adaptCanonicalProject(record, contract)`; `export sortCanonicalProjects(projects)`; `export canonicalProjectMetrics(projects)`; `export searchCanonicalProjects(projects, query, fields)`; `export buildCanonicalProjectModel(payload, rawContract)`; `export loadCanonicalProjectModel({ fetchImpl = globalThis.fetch, contractUrl = PROJECTS_CONTRACT_URL, baseUrl = globalThis.document?.baseURI || global...)`; `constructor(code, message, options = {})`; `invariant(condition, message, code = "INTEGRITY")`; `isObject(value)`; `isFiniteNumber(value)`; `isIsoDate(value)`; `sameJson(left, right)`; `round2(value)`; `freezeArray(values)`; `deepFreeze(value)`; `fetchJson(fetchImpl, path, label, baseUrl)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file projects-plugin.v7.2.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 10; mentioned by 1 ### Committed JSON V9 7 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/news/adapters/committed-json-v9-7.mjs (JavaScript, 14 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/news/adapters/committed-json-v9-7.mjs#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0901.html#f3 - Synopsis: A JavaScript module in the adapters folder of GlobalGrid2050. - What it achieves (name): Defines `committedJsonItemsV9_7`. - What it does: It calculates its inputs. Defines committedJsonItemsV9_7. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `export committedJsonItemsV9_7(payload, adapter)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Classifier V9 7 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/news/classifier-v9-7.mjs (JavaScript, 38 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/news/classifier-v9-7.mjs#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0901.html#f4 - Synopsis: A JavaScript module in the news folder of GlobalGrid2050 that works with solar. It classifies regional v9 (`classifyRegionalV9_7`). - What it achieves (name): Defines `classifyRegionalV9_7`. - What it does: It calculates solar. Defines classifyRegionalV9_7. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar. - Downstream impact: Used directly by 3 files: Ledger V9 7 (globalgrid2050); Check V9 7 (globalgrid2050); Check V9 7 (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 V9 7 Validate Workflow (globalgrid2050); Run V9 7 (globalgrid2050). - Signatures: `export classifyRegionalV9_7(item)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 3; mentioned by 0 ### Ledger V9 7 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/news/ledger-v9-7.mjs (JavaScript, 76 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/news/ledger-v9-7.mjs#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/0901.html#f5 - Synopsis: A JavaScript module in the news folder of GlobalGrid2050 that builds regional artifacts v9 (`buildRegionalArtifactsV9_7`), using SHA-256. - What it achieves (name): It builds regional artifacts v9 (`buildRegionalArtifactsV9_7`) and is built from the stable id helper (`stableId`). Defines `sha256`, `stableId` and `buildRegionalArtifactsV9_7`. - What it does: It calculates its inputs. Defines sha256, stableId, buildRegionalArtifactsV9_7. Uses libraries node:crypto. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `export buildRegionalArtifactsV9_7(items, sourceMeta)`; `sha256(value)`; `stableId(item)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Geography V9 7 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/news/rules/geography-v9-7.mjs (JavaScript, 32 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/news/rules/geography-v9-7.mjs#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/0901.html#f6 - Synopsis: A JavaScript module in the rules folder of GlobalGrid2050. It is built from the geography evidence v9 7 helper (`geographyEvidenceV9_7`). - What it achieves (name): Defines `geographyEvidenceV9_7`. - What it does: It calculates its inputs. Defines geographyEvidenceV9_7. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Classifier V9 7 (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 V9 7 Validate Workflow (globalgrid2050); Run V9 7 (globalgrid2050). - Signatures: `export geographyEvidenceV9_7(headline)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Technology V9 7 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/news/rules/technology-v9-7.mjs (JavaScript, 17 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/news/rules/technology-v9-7.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/0901.html#f7 - Synopsis: A JavaScript module in the rules folder of GlobalGrid2050 that works with solar and battery storage (BESS). It is built from the technology evidence v9 7 helper (`technologyEvidenceV9_7`). - What it achieves (name): Defines `technologyEvidenceV9_7` and `utilityContextEvidenceV9_7`. - What it does: It calculates solar and battery storage (BESS). Defines technologyEvidenceV9_7, utilityContextEvidenceV9_7. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: Classifier V9 7 (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 V9 7 Validate Workflow (globalgrid2050); Run V9 7 (globalgrid2050). - Signatures: `export technologyEvidenceV9_7(headline)`; `export utilityContextEvidenceV9_7(headline)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### UK Veto V9 7 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/news/rules/uk-veto-v9-7.mjs (JavaScript, 22 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/news/rules/uk-veto-v9-7.mjs#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0901.html#f8 - Synopsis: A JavaScript module in the rules folder of GlobalGrid2050. - What it achieves (name): Defines `normalise` and `inheritedUkEvidenceV9_7`. - What it does: It calculates its inputs. Defines normalise, inheritedUkEvidenceV9_7. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Classifier V9 7 (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 V9 7 Validate Workflow (globalgrid2050); Run V9 7 (globalgrid2050). - Signatures: `export inheritedUkEvidenceV9_7(item)`; `normalise(value)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Canonical Project Controls - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/canonical-project-controls.js (JavaScript, 167 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/canonical-project-controls.js#L1-L167 - Page: https://code.globalgrid2050.com/explore-code/s/0902.html#f1 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that works with solar and battery storage (BESS). It builds canonical project controls view (`buildCanonicalProjectControlsView`) and validates control (`validateControlValue`). - What it achieves (name): Defines `invariant`, `deepFreeze`, `hasValidatedModel` and 6 more. - What it does: It calculates solar and battery storage (BESS). Defines 9 functions or classes, including invariant, deepFreeze, hasValidatedModel, lifecycleViews, technologyOptions. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 3 files: Projects (globalgrid2050); Check V7 2 Project Controls (globalgrid2050); Projects (globalgrid2050). Reached from 187 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export buildCanonicalProjectControlsView(state)`; `export createCanonicalProjectControls(state)`; `invariant(condition, message)`; `deepFreeze(value)`; `hasValidatedModel(state)`; `lifecycleViews(state)`; `technologyOptions(state)`; `gaugeView(state)`; `validateControlValue(state, key, value)`; `snapshot()`; `setFilter(key, value)`; `reset()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 1 ### Canonical Project Export - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/canonical-project-export.js (JavaScript, 129 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/canonical-project-export.js#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/0902.html#f2 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that joins refs (`joinRefs`) and builds canonical project CSV (`buildCanonicalProjectCsv`). It joins refs (`joinRefs`) and builds canonical project CSV (`buildCanonicalProjectCsv`). - What it achieves (name): Defines `invariant`, `joinRefs`, `neutraliseSpreadsheetFormula` and 3 more. - What it does: It calculates its inputs. Defines 6 functions or classes, including invariant, joinRefs, neutraliseSpreadsheetFormula, quoteCsvCell, isoDate. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 5 files: Projects (globalgrid2050); Check V7 2 Project Table Export (globalgrid2050); Check V8 1 Mvp (globalgrid2050); Check V9 0 (globalgrid2050); and 1 more. - Signatures: `export neutraliseSpreadsheetFormula(value)`; `export quoteCsvCell(value)`; `export buildCanonicalProjectCsv(state, { legacySignalResolver, date } = {})`; `invariant(condition, message)`; `joinRefs(values)`; `isoDate(value)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/uk_renewables_pipeline/v7/scripts/plugins/canonical-project-export.js) · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 5; mentioned by 1 ### Canonical Project Table - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/canonical-project-table.js (JavaScript, 311 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/canonical-project-table.js#L1-L311 - Page: https://code.globalgrid2050.com/explore-code/s/0902.html#f3 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that works with the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It builds atlas v8 URL (`buildAtlasV8Url`), builds canonical news search URL (`buildCanonicalNewsSearchUrl`) and validates published metadata (`validatePublishedMetadata`). Defines `invariant`, `deepFreeze`, `hasValidatedModel` and 12 more. - What it does: It calculates the REPD register. Defines 15 functions or classes, including invariant, deepFreeze, hasValidatedModel, isCanonicalOrder, displayOfficial. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 5 files: Canonical Project Export (globalgrid2050); Projects (globalgrid2050); Check V7 2 Project Table Export (globalgrid2050); Check V8 1 Mvp (globalgrid2050); and 1 more. - Signatures: `export buildAtlasV8Url(project)`; `export buildCanonicalNewsSearchUrl(project)`; `export buildCanonicalProjectTableView(state, { legacySignalResolver } = {})`; `invariant(condition, message)`; `deepFreeze(value)`; `hasValidatedModel(state)`; `isCanonicalOrder(projects)`; `displayOfficial(value, missingValueLabel)`; `displayCapacity(project)`; `displayOfficialDate(value, missingValueLabel)`; `sameFlatRecord(left, right)`; `legacyNewsFor(project, resolver)`; `validatePublishedMetadata(state)`; `evidenceFor(project, state, inScopeRefs, missingValueLabel)`; `rowFor(project, state, inScopeRefs, resolver, missingValueLabel)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 5; mentioned by 1 ### Capacity Presentation V9 3 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/capacity-presentation-v9-3.js (JavaScript, 57 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/capacity-presentation-v9-3.js#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0902.html#f4 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that parses display (`parseDisplayNumber`), formats whole MW v9 (`formatWholeMwV9_3`) and applies gauge (`applyGaugeValue`) (units: MW). - What it achieves (name): It parses display number (`parseDisplayNumber`), formats whole MW v9 (`formatWholeMwV9_3`) and applies gauge (`applyGaugeValue`). Defines `parseDisplayNumber`, `formatWholeMwV9_3`, `applyGaugeValue` and 4 more. It responds to DOMContentLoaded events. - What it does: Defines 7 functions or classes, including parseDisplayNumber, formatWholeMwV9_3, applyGaugeValue, applyResultsSummary, applyWholeMwPresentationV9_3. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 15 files: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); UK Renewables Pipeline — V9 4 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.4/); UK Renewables Pipeline — V9 5 1 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.5.1/); UK Renewables Pipeline — V9 5 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.5/); and 11 more. Reached from 176 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export formatWholeMwV9_3(value)`; `export applyWholeMwPresentationV9_3()`; `parseDisplayNumber(value)`; `applyGaugeValue()`; `applyResultsSummary()`; `observe(element)`; `initialiseWholeMwPresentationV9_3()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 15; mentioned by 1 ### Gauges V9 1 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/gauges-v9-1.js (JavaScript, 37 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/gauges-v9-1.js#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0903.html#f1 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that updates chart (`updateChart`) and sets gauge universe v9 (`setGaugeUniverseV9_1`) (units: MW). - What it achieves (name): It creates gauge (`createGauge`), updates chart (`updateChart`) and sets gauge universe v9 (`setGaugeUniverseV9_1`). Defines `createGauge`, `updateChart`, `initialiseGaugesV9_1` and 2 more. - What it does: Defines createGauge, updateChart, initialiseGaugesV9_1, setGaugeUniverseV9_1, updateGaugesV9_1. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Projects V9 1 (globalgrid2050); Projects V9 1 (globalgrid2050). - Signatures: `export initialiseGaugesV9_1()`; `export setGaugeUniverseV9_1(projects)`; `export updateGaugesV9_1(projects)`; `createGauge(canvasId, colour, options)`; `updateChart(chart, value, maximum)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Gauges V9 2 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/gauges-v9-2.js (JavaScript, 68 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/gauges-v9-2.js#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/0903.html#f2 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that updates chart (`updateChart`) and formats capacity v9 (`formatCapacityV9_2`) and largest v9 (`formatLargestV9_2`) (units: MW). - What it achieves (name): It creates gauge (`createGauge`), updates chart (`updateChart`) and formats capacity v9 (`formatCapacityV9_2`). Defines `createGauge`, `updateChart`, `formatCapacityV9_2` and 4 more. - What it does: Defines 7 functions or classes, including createGauge, updateChart, formatCapacityV9_2, formatLargestV9_2, initialiseGaugesV9_2. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 29 files: App V9 3 (globalgrid2050); App V9 4 (globalgrid2050); App V9 5 1 (globalgrid2050); App V9 5 (globalgrid2050); and 25 more. Reached from 190 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export formatCapacityV9_2(value)`; `export formatLargestV9_2(value)`; `export initialiseGaugesV9_2()`; `export setGaugeUniverseV9_2(projects)`; `export updateGaugesV9_2(projects)`; `createGauge(canvasId, colour, options)`; `updateChart(chart, value, maximum)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 29; mentioned by 1 ### Gauges - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/gauges.js (JavaScript, 63 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/gauges.js#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/0903.html#f3 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that updates chart (`updateChart`) (units: MW), covering solar and battery storage (BESS). It creates gauge (`createGauge`) and updates chart (`updateChart`). - What it achieves (name): Defines `createGauge`, `initialiseGauges`, `totalFor` and 2 more. - What it does: It lists and searches solar and battery storage (BESS). Defines createGauge, initialiseGauges, totalFor, updateChart, updateGauges. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 4 files: Project Filters (globalgrid2050); Projects (globalgrid2050); UK Renewables Pipeline — V8 (globalgrid2050); Projects (globalgrid2050). Reached from 188 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export initialiseGauges()`; `export updateGauges(projects)`; `createGauge(canvasId, colour, options)`; `totalFor(projects, technology)`; `updateChart(chart, value, maximum)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 1 ### Newspaper V9 2 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/newspaper-v9-2.js (JavaScript, 168 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/newspaper-v9-2.js#L1-L168 - Page: https://code.globalgrid2050.com/explore-code/s/0903.html#f4 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that refreshes projects, draws news v9 and fetches payload, covering battery storage (BESS) and solar. - What it achieves (name): It refreshes projects (`refreshProjects`), indexes news (`indexNewsItems`) and draws news v9 (`drawNewsV9_2`). Defines `refreshProjects`, `newsKey`, `indexNewsItems` and 10 more. - What it does: It draws battery storage (BESS), solar and the REPD register. Defines 13 functions or classes, including refreshProjects, newsKey, indexNewsItems, signalLabel, signalForProjectV9_2. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), solar, the REPD register. - Downstream impact: Used directly by 9 files: App V9 3 (globalgrid2050); App V9 4 (globalgrid2050); Testcode — Pipeline (globalgrid2050); Projects V9 2 (globalgrid2050); and 5 more. Reached from 188 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export signalForProjectV9_2(project)`; `export drawNewsV9_2()`; `export loadNewsV9_2()`; `export bindNewspaperV9_2(onNewsLoaded)`; `refreshProjects()`; `newsKey(technology, project)`; `indexNewsItems(items)`; `signalLabel(item)`; `newsMatches(item)`; `renderNews(payload)`; `validPayload(payload)`; `payloadTime(payload)`; `fetchPayload(label, url)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 9; mentioned by 1 ### Newspaper V9 5 1 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/newspaper-v9-5-1.js (JavaScript, 163 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/newspaper-v9-5-1.js#L1-L163 - Page: https://code.globalgrid2050.com/explore-code/s/0903.html#f5 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that draws major project news, battery storage (BESS), the Renewable Energy Planning Database (REPD) register and solar. - What it achieves (name): It refreshes projects (`refreshProjects`), indexes news (`indexNewsItems`) and draws news v9 (`drawNewsV9_5_1`). Defines `refreshProjects`, `canonicalItem`, `indexNewsItems` and 11 more. - What it does: It draws major project news, battery storage (BESS), the REPD register and solar. Defines 14 functions or classes, including refreshProjects, canonicalItem, indexNewsItems, signalLabel, signalForProjectV9_5_1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), the REPD register, solar. - Inputs & outputs: In: JSON file major_project_news_v9_5_1.json. - Downstream impact: Used directly by 4 files: App V9 5 1 (globalgrid2050); Newspaper V9 6 2 (globalgrid2050); Newspaper V9 7 (globalgrid2050); Projects V9 5 1 (globalgrid2050). Reached from 183 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export signalForProjectV9_5_1(project)`; `export drawNewsV9_5_1()`; `export loadNewsV9_5_1()`; `export bindNewspaperV9_5_1(onNewsLoaded)`; `refreshProjects()`; `canonicalItem(item)`; `indexNewsItems(items)`; `signalLabel(item)`; `itemTechnology(item)`; `newsMatches(item)`; `validPayload(payload)`; `payloadTime(payload)`; `fetchPayload(label, url)`; `renderNews(payload, label)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 4; mentioned by 1 ### Newspaper V9 5 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/newspaper-v9-5.js (JavaScript, 151 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/newspaper-v9-5.js#L1-L151 - Page: https://code.globalgrid2050.com/explore-code/s/0903.html#f6 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that draws major project news, battery storage (BESS), solar and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It refreshes projects (`refreshProjects`), indexes news (`indexNewsItems`) and draws news v9 (`drawNewsV9_5`). Defines `refreshProjects`, `canonicalItem`, `indexNewsItems` and 10 more. - What it does: It draws major project news, battery storage (BESS), solar and the REPD register. Defines 13 functions or classes, including refreshProjects, canonicalItem, indexNewsItems, signalLabel, signalForProjectV9_5. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), solar, the REPD register. - Inputs & outputs: In: JSON file major_project_news_v6.json. - Downstream impact: Used directly by 2 files: App V9 5 (globalgrid2050); Projects V9 5 (globalgrid2050). Reached from 182 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export signalForProjectV9_5(project)`; `export drawNewsV9_5()`; `export loadNewsV9_5()`; `export bindNewspaperV9_5(onNewsLoaded)`; `refreshProjects()`; `canonicalItem(item)`; `indexNewsItems(items)`; `signalLabel(item)`; `newsMatches(item)`; `renderNews(payload, label)`; `validPayload(payload)`; `payloadTime(payload)`; `fetchPayload(label, url)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v6.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 1 ### Newspaper V9 6 2 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/newspaper-v9-6-2.js (JavaScript, 77 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/newspaper-v9-6-2.js#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/0904.html#f1 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that queries matches (`queryMatches`) and draws regional (`drawRegional`) and news v9 (`drawNewsV9_6_2`), covering solar and battery storage (BESS). - What it achieves (name): It queries matches (`queryMatches`), draws regional (`drawRegional`) and draws news v9 (`drawNewsV9_6_2`). Defines `queryMatches`, `regionalRows`, `drawRegional` and 3 more. - What it does: It draws solar and battery storage (BESS). Defines 6 functions or classes, including queryMatches, regionalRows, drawRegional, drawNewsV9_6_2, loadNewsV9_6_2. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: App V9 6 2 (globalgrid2050). Reached from 91 other entry points, including Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/); Grid Engine — Connection Cap Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060212-connection-cap/); Grid Engine — Corridor Estimate Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060237-corridor-estimate/). - Signatures: `export drawNewsV9_6_2()`; `export loadNewsV9_6_2()`; `export bindNewspaperV9_6_2(onNewsLoaded)`; `queryMatches(item)`; `regionalRows()`; `drawRegional()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### Newspaper V9 7 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/newspaper-v9-7.js (JavaScript, 102 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/newspaper-v9-7.js#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/0904.html#f2 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that draws regional news, solar and battery storage (BESS). It queries matches (`queryMatches`), draws regional (`drawRegional`) and draws news v9 (`drawNewsV9_7`). - What it achieves (name): Defines `queryMatches`, `regionalRows`, `drawRegional` and 4 more. - What it does: It draws regional news, solar and battery storage (BESS). Defines 7 functions or classes, including queryMatches, regionalRows, drawRegional, drawNewsV9_7, fetchCommitted. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file regional_news.json; JSON file regional_manifest.json. - Downstream impact: Used directly by 1 file: App V9 7 (globalgrid2050). Reached from 88 other entry points, including Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/); Grid Engine — Connection Cap Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060212-connection-cap/); Grid Engine — Corridor Estimate Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060237-corridor-estimate/). - Signatures: `export drawNewsV9_7()`; `export loadNewsV9_7()`; `export bindNewspaperV9_7(onNewsLoaded)`; `queryMatches(item)`; `regionalRows()`; `drawRegional()`; `fetchCommitted(path)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file regional_news.json; JSON file regional_manifest.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Newspaper - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/newspaper.js (JavaScript, 123 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/newspaper.js#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0904.html#f3 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that refreshes projects (`refreshProjects`) and fetches payload (`fetchPayload`), covering battery storage (BESS), solar and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It refreshes projects (`refreshProjects`), draws news (`drawNews`) and renders news (`renderNews`). Defines `refreshProjects`, `signalForProject`, `newsMatches` and 7 more. - What it does: It draws battery storage (BESS), solar and the REPD register. Defines 10 functions or classes, including refreshProjects, signalForProject, newsMatches, drawNews, renderNews. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), solar, the REPD register. - Downstream impact: Used directly by 9 files: Project Export (globalgrid2050); Project Table (globalgrid2050); Projects V9 1 (globalgrid2050); Projects (globalgrid2050); and 5 more. Reached from 187 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export signalForProject(name)`; `export drawNews()`; `export loadNews()`; `export bindNewspaper(onNewsLoaded)`; `refreshProjects()`; `newsMatches(item)`; `renderNews(payload)`; `validPayload(payload)`; `payloadTime(payload)`; `fetchPayload(label, url)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 9; mentioned by 0 ### Project Export - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/project-export.js (JavaScript, 33 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/project-export.js#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0904.html#f4 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that exports CSV (`exportCsv`) (units: MW), covering the Renewable Energy Planning Database (REPD) register. It exports CSV (`exportCsv`). - What it achieves (name): Defines `exportCsv` and `bindProjectExport`. - What it does: It draws the REPD register. Defines exportCsv, bindProjectExport. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: Projects (globalgrid2050). Reached from 188 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export bindProjectExport()`; `exportCsv(event)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Project Filters - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/project-filters.js (JavaScript, 41 lines) · role interaction · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/project-filters.js#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0904.html#f5 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050. - What it achieves (name): Defines `applyProjectFilters` and `bindProjectFilters`. - What it does: It lists and searches its content. Defines applyProjectFilters, bindProjectFilters. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Projects (globalgrid2050). Reached from 188 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export applyProjectFilters()`; `export bindProjectFilters()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Project Table - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/project-table.js (JavaScript, 21 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/project-table.js#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0904.html#f6 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050. - What it achieves (name): Defines `drawProjectTable` and `refreshProjectTable`. - What it does: It draws its content. Defines drawProjectTable, refreshProjectTable. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Project Filters (globalgrid2050); UK Renewables Pipeline — V7 (globalgrid2050). Reached from 187 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export drawProjectTable(projects)`; `export refreshProjectTable()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Projects V9 1 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/projects-v9-1.js (JavaScript, 134 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/projects-v9-1.js#L1-L134 - Page: https://code.globalgrid2050.com/explore-code/s/0904.html#f7 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that renders table (`renderTable`), downloads CSV (`downloadCsv`) and binds project controls v9 (`bindProjectControlsV9_1`) (units: MW), using EPSG:27700 and SHA-256. - What it achieves (code): It renders table (`renderTable`), downloads CSV (`downloadCsv`) and loads projects v9 (`loadProjectsV9_1`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 10 functions or classes, including atlasUrl, displayDate, renderTable, apply, populateCounties. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Signatures: `export loadProjectsV9_1()`; `export refreshProjectsV9_1()`; `export bindProjectControlsV9_1()`; `atlasUrl(project)`; `displayDate(value)`; `renderTable()`; `apply()`; `populateCounties()`; `csvCell(value)`; `downloadCsv(event)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 5 estate files (import 5); used by 0; mentioned by 1 ### Projects V9 2 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/projects-v9-2.js (JavaScript, 263 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/projects-v9-2.js#L1-L263 - Page: https://code.globalgrid2050.com/explore-code/s/0905.html#f1 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that renders table (`renderTable`), updates summary (`updateResultSummary`), syncs filter URL (`syncFilterUrl`) and reads inputs for county, using EPSG:27700 and SHA-256. - What it achieves (code): It renders table (`renderTable`), updates result summary (`updateResultSummary`) and syncs filter URL (`syncFilterUrl`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 17 functions or classes, including atlasUrlV9_2, displayDate, relationshipSummary, renderTable, updateResultSummary. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: Testcode — Pipeline (globalgrid2050); Check V9 2 (globalgrid2050). Reached from 1 other entry point, including Run V9 2 (globalgrid2050). - Signatures: `export atlasUrlV9_2(project)`; `export loadProjectsV9_2()`; `export refreshProjectsV9_2()`; `export bindProjectControlsV9_2()`; `displayDate(value)`; `relationshipSummary(project)`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 7); used by 2; mentioned by 1 ### Projects V9 3 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/projects-v9-3.js (JavaScript, 290 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/projects-v9-3.js#L1-L290 - Page: https://code.globalgrid2050.com/explore-code/s/0905.html#f2 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that compares project updates v9, renders table, updates summary and reads inputs for county and sort projects, using EPSG:27700 and SHA-256. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_3`), renders table (`renderTable`) and updates result summary (`updateResultSummary`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 19 functions or classes, including atlasUrlV9_3, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_3, relationshipSummary. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: App V9 3 (globalgrid2050); Check V9 3 (globalgrid2050). Reached from 186 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export atlasUrlV9_3(project)`; `export compareProjectUpdatesV9_3(left, right, direction = "desc")`; `export loadProjectsV9_3()`; `export refreshProjectsV9_3()`; `export bindProjectControlsV9_3()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `relationshipSummary(project)`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 7); used by 2; mentioned by 1 ### Projects V9 4 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/projects-v9-4.js (JavaScript, 321 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/projects-v9-4.js#L1-L321 - Page: https://code.globalgrid2050.com/explore-code/s/0906.html#f1 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that compares project updates v9, updates sort header, renders table and reads inputs for county and sort projects. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_4`), updates sort header (`updateSortHeader`) and renders table (`renderTable`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 20 functions or classes, including atlasUrlV9_4, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_4, updateSortHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: App V9 4 (globalgrid2050); Check V9 4 (globalgrid2050). Reached from 185 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export atlasUrlV9_4(project)`; `export compareProjectUpdatesV9_4(left, right, direction = "desc")`; `export loadProjectsV9_4()`; `export refreshProjectsV9_4()`; `export bindProjectControlsV9_4()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 7); used by 2; mentioned by 0 ### Projects V9 5 - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/projects-v9-5.js (JavaScript, 321 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/projects-v9-5.js#L1-L321 - Page: https://code.globalgrid2050.com/explore-code/s/0906.html#f2 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that compares project updates v9, updates sort header, renders table and reads inputs for county and sort projects. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_5`), updates sort header (`updateSortHeader`) and renders table (`renderTable`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 20 functions or classes, including atlasUrlV9_5, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_5, updateSortHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: App V9 5 (globalgrid2050); Check V9 5 (globalgrid2050). Reached from 182 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export atlasUrlV9_5(project)`; `export compareProjectUpdatesV9_5(left, right, direction = "desc")`; `export loadProjectsV9_5()`; `export refreshProjectsV9_5()`; `export bindProjectControlsV9_5()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 7); used by 2; mentioned by 0 ### Projects - File: globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/projects.js (JavaScript, 123 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/scripts/plugins/projects.js#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0907.html#f1 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that draws table (`drawTable`), syncs render (`syncAndRender`) and sets button filter (`setButtonFilter`), covering the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It draws table (`drawTable`), syncs render (`syncAndRender`) and sets button filter (`setButtonFilter`). Defines `legacySignal`, `drawTable`, `syncAndRender` and 6 more. - What it does: It draws the REPD register. Defines 9 functions or classes, including legacySignal, drawTable, syncAndRender, populateCounties, setButtonFilter. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Signatures: `export loadProjects()`; `export refreshCanonicalProjects()`; `export bindProjectControls()`; `legacySignal(project)`; `drawTable()`; `syncAndRender()`; `populateCounties()`; `setButtonFilter(group, key, button)`; `downloadCanonicalCsv(event)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/uk_renewables_pipeline/v8/scripts/plugins/projects.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 9 estate files (import 9); used by 0; mentioned by 0 ### Mobile - File: globalgrid2050/testcode/202609051152/pipeline/styles/mobile.css (CSS, 15 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/styles/mobile.css#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/0907.html#f2 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 17 files: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); UK Renewables Pipeline — V7 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v7/); UK Renewables Pipeline — V8 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v8/); UK Renewables Pipeline — V9 4 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.4/); and 13 more. Reached from 176 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 17; mentioned by 0 ### Testcode - File: globalgrid2050/testcode/202609051152/pipeline/styles/testcode.css (CSS, 23 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/styles/testcode.css#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/0907.html#f3 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Sandbox — Pipeline Page (testcode). - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### V8 - File: globalgrid2050/testcode/202609051152/pipeline/styles/v8.css (CSS, 47 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/styles/v8.css#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/0907.html#f4 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### V9 2 - File: globalgrid2050/testcode/202609051152/pipeline/styles/v9-2.css (CSS, 186 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/styles/v9-2.css#L1-L186 - Page: https://code.globalgrid2050.com/explore-code/s/0907.html#f5 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### V9 3 - File: globalgrid2050/testcode/202609051152/pipeline/styles/v9-3.css (CSS, 259 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/styles/v9-3.css#L1-L259 - Page: https://code.globalgrid2050.com/explore-code/s/0907.html#f6 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); Sandbox — Pipeline Page (testcode). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### V9 4 - File: globalgrid2050/testcode/202609051152/pipeline/styles/v9-4.css (CSS, 22 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/styles/v9-4.css#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0907.html#f7 - Synopsis: A style sheet in the styles folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 14 files: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); UK Renewables Pipeline — V9 4 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.4/); UK Renewables Pipeline — V9 5 1 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.5.1/); UK Renewables Pipeline — V9 5 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.5/); and 10 more. Reached from 176 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 14; mentioned by 0 ### V9 5 1 - File: globalgrid2050/testcode/202609051152/pipeline/styles/v9-5-1.css (CSS, 14 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/styles/v9-5-1.css#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0907.html#f8 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it achieves (comment): V9.5.1 exposes exact newspaper/relevance counts in the release status. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 12 files: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); UK Renewables Pipeline — V9 5 1 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.5.1/); UK Renewables Pipeline — V9 6 1 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.6.1/); UK Renewables Pipeline — V9 6 2 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.6.2/); and 8 more. Reached from 174 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 12; mentioned by 0 ### V9 6 1 - File: globalgrid2050/testcode/202609051152/pipeline/styles/v9-6-1.css (CSS, 84 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051152/pipeline/styles/v9-6-1.css#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/0908.html#f1 - Synopsis: A style sheet in the styles folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): V9.6.1 changes the mobile projects viewport only. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: Sandbox — Pipeline Page (testcode). - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Projects V9 5 1 - File: globalgrid2050/testcode/202609051344/pipeline/scripts/plugins/projects-v9-5-1.js (JavaScript, 411 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051344/pipeline/scripts/plugins/projects-v9-5-1.js#L1-L411 - Page: https://code.globalgrid2050.com/explore-code/s/0908.html#f2 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that compares project updates v9, updates sort header, renders table and reads inputs for county and sort projects. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_5_1`), updates sort header (`updateSortHeader`) and maps action HTML v9 (`mapActionHtmlV9_5_1`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 22 functions or classes, including atlasUrlV9_5_1, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_5_1, updateSortHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 3 files: App V9 5 1 (globalgrid2050); App V9 6 2 (globalgrid2050); App V9 7 (globalgrid2050). Reached from 181 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export atlasUrlV9_5_1(project)`; `export compareProjectUpdatesV9_5_1(left, right, direction = "desc")`; `export loadProjectsV9_5_1()`; `export refreshProjectsV9_5_1()`; `export bindProjectControlsV9_5_1()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `mapActionHtmlV9_5_1(project)`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)`; `syncMapAtlasNavV9_7()` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 7); used by 3; mentioned by 0 ### Teleprinter Bootstrap - File: globalgrid2050/testcode/202609052023/pipeline/teleprinter-bootstrap.js (JavaScript, 11 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609052023/pipeline/teleprinter-bootstrap.js#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/0908.html#f3 - Synopsis: A JavaScript module in the pipeline folder of GlobalGrid2050 that draws pipeline pin and pipeline code. - What it does: It draws pipeline pin and pipeline code. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file pipeline-source-pin.json; JSON file pipeline-source-code.manifest.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file pipeline-source-pin.json; JSON file pipeline-source-code.manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Provisional Identity - File: globalgrid2050/testcode/202609060213/pipeline/assets/202609060213-provisional-identity.mjs (JavaScript, 48 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060213/pipeline/assets/202609060213-provisional-identity.mjs#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0908.html#f4 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 that works with the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It resolves project (`resolveProject`) and is built from the global grid reference helper (`globalGridReference`) and the normalise step (`normalise`). Uses the existing Pipeline Global Grid reference convention. - What it does: It calculates the REPD register. Defines globalGridReference, normalise, allocateProvisional, reconcileProvisional, resolveProject. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: Provisional Projects (globalgrid2050). - Signatures: `export globalGridReference(ref)`; `export allocateProvisional(records, project)`; `export reconcileProvisional(records, official, source)`; `export resolveProject(records, identity)`; `normalise(value)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Provisional Projects - File: globalgrid2050/testcode/202609060213/pipeline/assets/202609060213-provisional-projects.mjs (JavaScript, 16 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060213/pipeline/assets/202609060213-provisional-projects.mjs#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/0908.html#f5 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register. - What it achieves (name): Defines `mount`. - What it does: It draws the REPD register. Defines mount. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Signatures: `export mount({host,payload,official,source})` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### BBC RSS Pipeline Model - File: globalgrid2050/testcode/202609060232/pipeline/assets/202609060232-bbc-rss-pipeline-model.mjs (JavaScript, 73 lines) · role energy-data · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060232/pipeline/assets/202609060232-bbc-rss-pipeline-model.mjs#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/0908.html#f6 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 that works with the Renewable Energy Planning Database (REPD) register and uses data from the PipelineNews repository. - What it achieves (name): It builds rss view (`buildRssView`) and refreshes rss (`refreshRss`). Defines `articleIdentity`, `projectObservation`, `buildRssView` and 1 more. - What it does: It calculates the REPD register. Defines articleIdentity, projectObservation, buildRssView, refreshRss. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file bbc-rss.json. - Downstream impact: Used directly by 1 file: BBC RSS Pipeline (globalgrid2050). - Signatures: `export articleIdentity(value)`; `export projectObservation(item, projects = [], evidence = [], official = [])`; `export buildRssView(payload, {now=Date.now(), projects=[], evidence=[], official=[], refreshError=null}={})`; `export refreshRss(previous, {fetcher=fetch, ...options}={})` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of pipelinenews/cartridges/bbc-rss-pipeline-model.mjs) · essay_status: readme_derived - data_contracts: in [JSON file bbc-rss.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 1 ### BBC RSS Pipeline - File: globalgrid2050/testcode/202609060232/pipeline/assets/202609060232-bbc-rss-pipeline.mjs (JavaScript, 56 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060232/pipeline/assets/202609060232-bbc-rss-pipeline.mjs#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/0908.html#f7 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 that works with UK time (`ukTime`), covering the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It is built from the UK time helper (`ukTime`), the options step (`options`) and the render step (`render`). Defines `mount`, `ukTime`, `create` and 3 more. It responds to click events. - What it does: It draws the REPD register. Defines 6 functions or classes, including mount, ukTime, create, options, render. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Signatures: `export mount({host,payload,evidence=[],projects=[],official=[],fetcher=fetch})`; `ukTime(value)`; `create(tag,text)`; `options()`; `render(view)`; `update()` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of pipelinenews/cartridges/bbc-rss-pipeline-panel.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Wider Metrics - File: globalgrid2050/testcode/202609060333/pipeline/assets/202609060315-wider-metrics.mjs (JavaScript, 16 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060333/pipeline/assets/202609060315-wider-metrics.mjs#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/0909.html#f1 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 that works with the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It is built from the esc step (`esc`) and the wider metric actions helper (`widerMetricActions`). One observation per exact register identity; grouped sites never borrow a distance. Its code works with 33 kV. - What it does: It calculates the REPD register. Defines esc, widerMetricActions. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Testcode — Pipeline (globalgrid2050). Reached from 21 other entry points, including Homepage V073 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v073.html); Homepage V074 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v074.html); Homepage V075 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v075.html). - Signatures: `export widerMetricActions(row, index, label = 'GRID')`; `esc(value)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Wider Filter - File: globalgrid2050/testcode/202609060337/pipeline/assets/202609060337-wider-filter.mjs (JavaScript, 10 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060337/pipeline/assets/202609060337-wider-filter.mjs#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/0909.html#f2 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 that filters wider rows (`filterWiderRows`). It filters wider rows (`filterWiderRows`). - What it achieves (name): Defines `normal` and `filterWiderRows`. - What it does: It calculates its inputs. Defines normal, filterWiderRows. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Wider Fleet (globalgrid2050). - Signatures: `export filterWiderRows(rows,query)`; `normal(value)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Wider Order - File: globalgrid2050/testcode/202609060338/pipeline/assets/202609060338-wider-order.mjs (JavaScript, 14 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060338/pipeline/assets/202609060338-wider-order.mjs#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0909.html#f3 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 that sorts wider rows (`sortWiderRows`). It sorts wider rows (`sortWiderRows`). - What it achieves (name): Defines `sortWiderRows` and `value`. - What it does: It calculates its inputs. Defines sortWiderRows, value. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Wider Fleet (globalgrid2050). - Signatures: `export sortWiderRows(rows,mode,metricLookup)`; `value(row)`; `refs(Array.isArray(row.repd_records)?row.repd_records:[row])` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Wider Fleet - File: globalgrid2050/testcode/202609060340/pipeline/assets/202609040044-wider-fleet.mjs (JavaScript, 615 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060340/pipeline/assets/202609040044-wider-fleet.mjs#L1-L615 - Page: https://code.globalgrid2050.com/explore-code/s/0909.html#f4 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 that writes deep link and selects technology, covering the Renewable Energy Planning Database (REPD) register, postcodes, solar and wind, using SHA-256. - What it achieves (name): It maps links row (`mapLinksForRow`), maps actions (`mapActions`) and renders wider (`renderWider`). Defines `esc`, `repdRecords`, `mapLinksForRow` and 12 more. It responds to input, change and click events. - What it does: It draws the REPD register, postcodes, solar and wind. Defines 15 functions or classes, including esc, repdRecords, mapLinksForRow, mapActions, displayRefs. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, postcodes, solar, wind. - Inputs & outputs: In: form fields (user input). Out: GeoJSON file wider-fleet-202609060340.geojson; downloaded file wider-fleet-202609060340.geojson. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `export mapLinksForRow(row)`; `export mountWiderFleet({ host, payloadAsset, presentSummary, onSpineRepaint, metricActions = () => "", metricLookup = () => undefined })`; `esc(value)`; `repdRecords(row)`; `mapActions(row)`; `displayRefs(row)`; `displayStatuses(row)`; `num(value)`; `carried(value)`; `declineExport(request, technology, shown)`; `localQuery(new URL(location.href).searchParams.get('wider_q')||'')`; `visible()`; `clearWider()`; `renderWider()`; `writeDeepLink(type)`; `selectTechnology(type)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [GeoJSON file wider-fleet-202609060340.geojson; downloaded file wider-fleet-202609060340.geojson]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 4 estate files (import 4); used by 0; mentioned by 0 ### Metric Coverage - File: globalgrid2050/testcode/202609060342/pipeline/assets/202609060342-metric-coverage.mjs (JavaScript, 6 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060342/pipeline/assets/202609060342-metric-coverage.mjs#L1-L6 - Page: https://code.globalgrid2050.com/explore-code/s/0909.html#f5 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050. It summarizes coverage (`summarizeCoverage`). - What it achieves (name): Defines `summarizeCoverage`. - What it does: It calculates its inputs. Defines summarizeCoverage. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Testcode — Pipeline (globalgrid2050). Reached from 21 other entry points, including Homepage V073 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v073.html); Homepage V074 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v074.html); Homepage V075 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v075.html). - Signatures: `export summarizeCoverage(projects,index)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Geometry Filter - File: globalgrid2050/testcode/202609060345/pipeline/assets/202609060345-geometry-filter.mjs (JavaScript, 9 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060345/pipeline/assets/202609060345-geometry-filter.mjs#L1-L9 - Page: https://code.globalgrid2050.com/explore-code/s/0909.html#f6 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 that works with matches geometry (`matchesGeometry`). - What it achieves (name): It is built from the has map point helper (`hasMapPoint`) and the matches geometry helper (`matchesGeometry`). Defines `hasMapPoint` and `matchesGeometry`. - What it does: It calculates its inputs. Defines hasMapPoint, matchesGeometry. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Testcode — Pipeline (globalgrid2050). Reached from 21 other entry points, including Homepage V073 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v073.html); Homepage V074 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v074.html); Homepage V075 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v075.html). - Signatures: `export hasMapPoint(project)`; `export matchesGeometry(project,mode)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Testcode — Pipeline Page - File: globalgrid2050/testcode/202609060345/pipeline/index.html (HTML, 411 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060345/pipeline/index.html#L1-L411 - Page: https://code.globalgrid2050.com/explore-code/s/0910.html#f1 - Published at: https://globalgrid2050.com/testcode/202609060345/pipeline/ - Synopsis: A web page in GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register, solar and postcodes, and uses data from the GridAtlas, ventus-grid-engine and data-federation-map-for-GlobalGrid2050-all-repos repositories. Published at https://globalgrid2050.com/testcode/202609060345/pipeline/. - What it achieves (comment): Current verified Atlas V9 deep-link successor. Its code works with 1 MW. - What it does: It draws the REPD register, solar, postcodes and battery storage (BESS). Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, solar, postcodes, battery storage (BESS). - Inputs & outputs: In: DuckDB queries; form fields (user input). Out: web page. - Downstream impact: Used directly by 20 files: Homepage V073 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v073.html); Homepage V074 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v074.html); Homepage V075 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v075.html); Homepage V076 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v076.html); and 16 more. It is itself an entry point, published at https://globalgrid2050.com/testcode/202609060345/pipeline/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [DuckDB queries; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 20 estate files (link 16, stylesheet 3, script-src 1); used by 20; mentioned by 0 ### Testcode — Pipeline - File: globalgrid2050/testcode/202609060349/pipeline/assets/202608291447-app.mjs (JavaScript, 2097 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060349/pipeline/assets/202608291447-app.mjs#L1-L2097 - Page: https://code.globalgrid2050.com/explore-code/s/0911.html#f1 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 covering pipeline filtered and engine graph, using EPSG:27700 and SHA-256, and uses data from the ventus-grid-engine repository. - What it achieves (code): It updates metric coverage (`updateMetricCoverage`), compares text (`compareText`) and fetches queue (`FetchQueue`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). Its code works with 33 kV, 1 MW and 11 kV. It responds to click, change and input events. - What it does: It draws pipeline filtered, engine graph, the REPD register and postcodes. Defines 95 functions or classes, including localityFor, gridFor, substationFor, updateMetricCoverage, describe. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, postcodes, 33kV, 11kV. - Inputs & outputs: In: data source: ventus-grid-engine data; JSON file 202608291447-registry.json; JSON file engine-graph.json. Out: GeoJSON file pipeline-202609060334-filtered.geojson; downloaded file pipeline-202609060334-filtered.geojson. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. Voltage levels named: 33kV, 11kV. - Downstream impact: Used directly by 1 file: Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/). Reached from 20 other entry points, including Homepage V073 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v073.html); Homepage V074 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v074.html); Homepage V075 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v075.html). - Signatures: `localityFor(item)`; `gridFor(item)`; `substationFor(item)`; `updateMetricCoverage()`; `describe(label)`; `metricChip({ ready, hit, located, label, unitSuffix, lines, ref })`; `gridActionHtml(item)`; `substationActionHtml(item)`; `compareText(leftText, rightText, direction)`; `class FetchQueue`; `constructor(limit)`; `add(task)`; `drain()`; `escapeHtml(value)`; `normalise(value)`; `invariant(condition, message)`; `arraysEqual(left, right)`; `hashJson(value)`; `fetchImmutable(url, { timeoutMs = 15000 } = {})`; `dictionary(name, index)`; `project(index)`; `localitySearchText(index)`; `searchTextFor(index)`; `compactSearchText(index)`; `formatNumber(value)` (and 15 more) - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; JSON file 202608291447-registry.json; JSON file engine-graph.json]; out [GeoJSON file pipeline-202609060334-filtered.geojson; downloaded file pipeline-202609060334-filtered.geojson]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [33kV, 11kV] - Edges: uses 6 estate files (import 6); used by 1; mentioned by 0 ### Wider Mobile Actions - File: globalgrid2050/testcode/202609060349/pipeline/assets/202609060318-wider-mobile-actions.css (CSS, 20 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060349/pipeline/assets/202609060318-wider-mobile-actions.css#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0914.html#f1 - Synopsis: A style sheet in the assets folder of GlobalGrid2050. - What it achieves (comment): The wider-fleet row keeps its existing data and actions, within the phone viewport. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/). Reached from 20 other entry points, including Homepage V073 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v073.html); Homepage V074 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v074.html); Homepage V075 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v075.html). - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Metric Details - File: globalgrid2050/testcode/202609060349/pipeline/assets/202609060333-metric-details.mjs (JavaScript, 22 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060349/pipeline/assets/202609060333-metric-details.mjs#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0914.html#f2 - Synopsis: A JavaScript module in the assets folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register. It is built from the install metric details helper (`installMetricDetails`). - What it achieves (comment): A distance's source and limits must be accessible to touch and keyboard users. It responds to click events. - What it does: It draws the REPD register. Defines installMetricDetails. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: Testcode — Pipeline (globalgrid2050). Reached from 21 other entry points, including Homepage V073 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v073.html); Homepage V074 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v074.html); Homepage V075 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v075.html). - Signatures: `export installMetricDetails()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Apps - File: globalgrid2050/testcode/202609162200-quantum-twin-flights/pipeline/apps.py (Python, 32 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609162200-quantum-twin-flights/pipeline/apps.py#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/0914.html#f3 - Synopsis: A Python module in the pipeline folder of GlobalGrid2050. - What it achieves (comment): Step APPS: every app in the estate as a scope on the wafer. - What it does: It loads data. Uses libraries json, glob, os, sys, collections. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: JSON file apps.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file apps.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Describe - File: globalgrid2050/testcode/202609162200-quantum-twin-flights/pipeline/describe.py (Python, 41 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609162200-quantum-twin-flights/pipeline/describe.py#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0914.html#f4 - Synopsis: A Python command-line tool in the pipeline folder of GlobalGrid2050 that draws route GridAtlas. It is built from the describe step (`describe`). - What it achieves (comment): Step DESCRIBE: a plain-English note for every atlas line, by fixed rules (no model). - What it does: It draws route GridAtlas. Defines describe. Uses libraries json, os, re, sys, subprocess. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file keys.json; JSON file route-gridatlas.json. Out: JSON file describe.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `describe(line)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file keys.json; JSON file route-gridatlas.json]; out [JSON file describe.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Entangle - File: globalgrid2050/testcode/202609162200-quantum-twin-flights/pipeline/entangle.py (Python, 36 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609162200-quantum-twin-flights/pipeline/entangle.py#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0914.html#f5 - Synopsis: A Python module in the pipeline folder of GlobalGrid2050. - What it achieves (comment): Step ENTANGLE: is every code block on the wafer still coupled to its twin? - What it does: It loads data. Uses libraries json, os, sys, subprocess, hashlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file keys.json. Out: JSON file entangle.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file keys.json]; out [JSON file entangle.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Hundred - File: globalgrid2050/testcode/202609162200-quantum-twin-flights/pipeline/hundred.mjs (JavaScript, 84 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609162200-quantum-twin-flights/pipeline/hundred.mjs#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/0914.html#f6 - Synopsis: A JavaScript module in the pipeline folder of GlobalGrid2050 that fetches route GridAtlas, entangle, routes and engine route. - What it achieves (comment): It is built from the near step (`near`), the post step (`post`) and the engine step (`engine`). 7–10 run in Chrome in front of Vikram through window.__probe / window.__pilot (see hundred-browser list at the end). Its code works with 10 MW and 100 kVA. - What it does: It fetches route GridAtlas, entangle, routes and engine route. Defines near, post, engine, P. Uses libraries node:fs, node:http. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400V. - Inputs & outputs: In: JSON file keys.json; JSON file route-gridatlas.json; JSON file entangle.json; JSON file routes.json; JSON file engine-route.json; JSON file apps.json; JSON file qubit.json; JSON file all-lines.meta.json. Voltage levels named: 400V. - Signatures: `t(family, name, fn)`; `near(a, b, tol)`; `post(p, body)`; `engine(module, fn, args)`; `P(s)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file keys.json; JSON file route-gridatlas.json; JSON file entangle.json; JSON file routes.json; JSON file engine-route.json; JSON file apps.json; JSON file qubit.json; JSON file all-lines.meta.json]; out []; crs []; voltages [400V] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Journey - File: globalgrid2050/testcode/202609162200-quantum-twin-flights/pipeline/journey.mjs (JavaScript, 17 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609162200-quantum-twin-flights/pipeline/journey.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/0914.html#f7 - Synopsis: A JavaScript module in the pipeline folder of GlobalGrid2050 that reads inputs for pin. It is built from the type step (`type`). - What it achieves (comment): Space → earth → space, four times, in a full-screen Chrome a person can watch. - What it does: Defines type. Uses libraries puppeteer-core. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Signatures: `type(s)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Keys - File: globalgrid2050/testcode/202609162200-quantum-twin-flights/pipeline/keys.py (Python, 14 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609162200-quantum-twin-flights/pipeline/keys.py#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0914.html#f8 - Synopsis: A Python module in the pipeline folder of GlobalGrid2050 that reads particles. - What it achieves (comment): Step KEYS: export the wafer's resolvable particles (key, place, name, line) to `keys.json`. - What it does: It loads particles. Uses libraries json, glob, os, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file keys.json; JSON file particles.json. Out: JSON file. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file keys.json; JSON file particles.json]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Label - File: globalgrid2050/testcode/202609162200-quantum-twin-flights/pipeline/label.py (Python, 58 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609162200-quantum-twin-flights/pipeline/label.py#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/0914.html#f9 - Synopsis: A Python module in the pipeline folder of GlobalGrid2050 that reads labels, cables, solar and interconnectors. It is built from the evidence step (`evidence`). - What it achieves (comment): Step LABEL: what each app IS, in plain British English, so a person learns the kinds by looking: an engine (pure calculations, no screen), a website, an API (data for other programs), a calculator, a dictionary, a catalogue, rules. - What it does: It loads labels, cables, solar and interconnectors. Defines evidence. Uses libraries json, os, sys. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, solar, interconnectors. - Inputs & outputs: In: JSON file apps.json. Out: JSON file labels.json. - Signatures: `evidence(name)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file apps.json]; out [JSON file labels.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Probe - File: globalgrid2050/testcode/202609162200-quantum-twin-flights/pipeline/probe.mjs (JavaScript, 27 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609162200-quantum-twin-flights/pipeline/probe.mjs#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0914.html#f10 - Synopsis: A JavaScript module in the pipeline folder of GlobalGrid2050. - What it achieves (comment): Step PROBE: open the supernova in a real, visible Chrome on this machine's GPU, run a pilot command, read the pixels back, and FAIL unless GridAtlas particles were actually drawn. - What it does: Uses libraries puppeteer-core, node:fs, node:url. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Qubit - File: globalgrid2050/testcode/202609162200-quantum-twin-flights/pipeline/qubit.py (Python, 28 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609162200-quantum-twin-flights/pipeline/qubit.py#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0914.html#f11 - Synopsis: A Python module in the pipeline folder of GlobalGrid2050 that reads electron. - What it achieves (comment): Step QUBIT: every family as an atom with shells K (same file), L (same repository), M (other repositories), so every key can be a qubit: sin^2(theta/2) = `M/`(K+L+M) = P(AWAY), the chance the next caller sits in another repository. - What it does: It loads electron. Uses libraries json, glob, os, sys, collections. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file electron.json. Out: JSON file qubit.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file electron.json]; out [JSON file qubit.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Snapshot - File: globalgrid2050/testcode/202609162200-quantum-twin-flights/pipeline/snapshot.mjs (JavaScript, 35 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609162200-quantum-twin-flights/pipeline/snapshot.mjs#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/0914.html#f12 - Synopsis: A JavaScript module in the pipeline folder of GlobalGrid2050 that reads route GridAtlas and routes, using SHA-256. - What it achieves (comment): It is built from the stamp step (`stamp`), the sha step (`sha`) and the walk step (`walk`). Version control for CPU WORLD, two layers: 1. git: every snapshot is a local commit (never pushed from here). - What it does: It loads route GridAtlas and routes. Defines stamp, sha, walk, git. Uses libraries node:fs, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file route-gridatlas.json; JSON file routes.json; JSON file keys.json; JSON file index.json; command-line arguments. - Signatures: `stamp()`; `sha(f)`; `walk(p, out = [])`; `git(...a)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file route-gridatlas.json; JSON file routes.json; JSON file keys.json; JSON file index.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Dna - File: globalgrid2050/testcode/202609170041-quantum-twin-flights/pipeline/dna.py (Python, 30 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609170041-quantum-twin-flights/pipeline/dna.py#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/0914.html#f13 - Synopsis: A Python module in the pipeline folder of GlobalGrid2050. - What it achieves (comment): DNA TEST: does a planet's code exist, line by line, where its keys say it does? - What it does: It loads data. Uses libraries json, os, sys, subprocess, hashlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file apps.json; JSON file keys.json; command-line arguments. Out: JSON file. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file apps.json; JSON file keys.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Users - File: globalgrid2050/testcode/202609170041-quantum-twin-flights/pipeline/users.mjs (JavaScript, 48 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609170041-quantum-twin-flights/pipeline/users.mjs#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0914.html#f14 - Synopsis: A JavaScript module in the pipeline folder of GlobalGrid2050 using data from the star-electron-star repository. It is built from the mulberry32 step (`mulberry32`). - What it achieves (comment): A real Chrome on this machine opens the live page and types fifty lines, one after another, as a person would (into the box, Enter). - What it does: It draws its content. Defines mulberry32. Uses libraries puppeteer-core. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: star-electron-star data; command-line arguments. - Signatures: `mulberry32(a)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: star-electron-star data; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Price History Fullscreen - File: globalgrid2050/uk_energy_tracking_v3/price-history-fullscreen.js (JavaScript, 8 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v3/price-history-fullscreen.js#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/0914.html#f15 - Synopsis: A JavaScript file in GlobalGrid2050 that draws on a canvas. - What it achieves (name): Defines `close`. It responds to DOMContentLoaded, keydown and resize events. - What it does: It draws its content. Defines mm, close. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: canvas drawing. - Signatures: `mm(v)`; `draw()`; `open()`; `close()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Price History UI - File: globalgrid2050/uk_energy_tracking_v3/price-history-ui.css (CSS, 223 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v3/price-history-ui.css#L1-L223 - Page: https://code.globalgrid2050.com/explore-code/s/0915.html#f1 - Synopsis: A style sheet in GlobalGrid2050. - What it achieves (comment): Electricity-price-history-panel. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Price History UI - File: globalgrid2050/uk_energy_tracking_v3/price-history-ui.js (JavaScript, 24 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v3/price-history-ui.js#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0915.html#f2 - Synopsis: A JavaScript file in GlobalGrid2050 that loads CSV (`loadCsv`) and draws on a canvas, covering electricity price history and Elexon system prices half hourly. - What it achieves (name): It loads JSON (`loadJson`) and loads CSV (`loadCsv`). Defines `fmt`, `dlab`, `tlab` and 10 more. It responds to DOMContentLoaded, change and click events. - What it does: It draws electricity price history and Elexon system prices half hourly. Defines 14 functions or classes, including $, fmt, dlab, tlab, set. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file electricity_price_history.json; CSV file elexon_system_prices_half_hourly.csv. Out: canvas drawing. - Signatures: `$(id)`; `fmt(n,d)`; `dlab(t)`; `tlab(t)`; `set(id,v)`; `csvLine(l)`; `parseCsv(t)`; `loadJson()`; `loadCsv()`; `norm(rows)`; `merge(sys,cap)`; `customWindow()`; `rangeWindow(range,all)`; `health(r)`; `minMax(v)`; `draw(rows,meta)`; `table(rows,meta)`; `status(meta,all,rows)`; `load()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file electricity_price_history.json; CSV file elexon_system_prices_half_hourly.csv]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Live App - File: globalgrid2050/uk_energy_tracking_v4/live-app.js (JavaScript, 60 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v4/live-app.js#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0915.html#f3 - Synopsis: A JavaScript file in GlobalGrid2050 that works with ensure archive notice (`ensureArchiveNotice`) and ensure summary style (`ensureSummaryStyle`). - What it achieves (comment): It is built from the ensure archive notice helper (`ensureArchiveNotice`), the ensure summary style helper (`ensureSummaryStyle`) and the ensure summary panel helper (`ensureSummaryPanel`). V4 live tracker app boot and refresh loop. It responds to change events. - What it does: It draws its content. Defines ensureArchiveNotice, ensureSummaryStyle, ensureSummaryPanel, refresh. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `ensureArchiveNotice()`; `ensureSummaryStyle()`; `ensureSummaryPanel()`; `refresh()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Live Config - File: globalgrid2050/uk_energy_tracking_v4/live-config.js (JavaScript, 7 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v4/live-config.js#L1-L7 - Page: https://code.globalgrid2050.com/explore-code/s/0915.html#f4 - Synopsis: A JavaScript file in GlobalGrid2050 covering live grid energy, live grid price, live oil prices and oil price history. - What it achieves (comment): V4 live tracker config. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Live Gauges - File: globalgrid2050/uk_energy_tracking_v4/live-gauges.js (JavaScript, 25 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v4/live-gauges.js#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/0915.html#f5 - Synopsis: A JavaScript file in GlobalGrid2050 that renders mix (`renderMix`). It renders gauge (`renderGauge`), renders mix (`renderMix`) and gets JSON (`getJSON`). - What it achieves (comment): V4 live tracker gauges and generation mix rendering. - What it does: It draws its content. Defines 9 functions or classes, including renderGauge, renderMix, ageMin, timeLabel, dateLabel. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `renderGauge(name,value)`; `renderMix(mix)`; `ageMin(iso)`; `timeLabel(iso)`; `dateLabel(iso)`; `latestIso(a,b,c)`; `carbonValue(p)`; `getJSON(u)`; `setText(id,val)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Live Helpers - File: globalgrid2050/uk_energy_tracking_v4/live-helpers.js (JavaScript, 9 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v4/live-helpers.js#L1-L9 - Page: https://code.globalgrid2050.com/explore-code/s/0915.html#f6 - Synopsis: A JavaScript file in GlobalGrid2050 that works with arc path (`arcPath`). It is built from the fmt step (`fmt`), the pct step (`pct`) and the arc path helper (`arcPath`). - What it achieves (comment): V4 live tracker helpers. Depends on config. - What it does: It calculates its inputs. Defines fmt, pct, arcPath. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `fmt(n,dp)`; `pct(n,min,max)`; `arcPath(cx,cy,r,start,end)`; `s(start-90)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Live Oil Chart - File: globalgrid2050/uk_energy_tracking_v4/live-oil-chart.js (JavaScript, 97 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v4/live-oil-chart.js#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/0915.html#f7 - Synopsis: A JavaScript file in GlobalGrid2050 that draws oil trend (`drawOilTrend`), binds oil tooltip (`bindOilTooltip`) and reads inputs for oil range. It draws oil trend (`drawOilTrend`) and binds oil tooltip (`bindOilTooltip`). - What it achieves (comment): V4 live tracker oil history chart. It responds to mousemove, touchmove and mouseleave events. - What it does: It draws its content. Defines 8 functions or classes, including rangeCutoff, oilStats, drawOilTrend, x, line. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: canvas drawing. - Signatures: `rangeCutoff(range)`; `oilStats(rows)`; `drawOilTrend(geo, activeIndex)`; `x(i)`; `line(field,colour)`; `bindOilTooltip()`; `show(e)`; `clientX(e.touches&&e.touches[0]?e.touches[0].clientX:e.clientX)`; `px(clientX-rect.left)`; `hide()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Live Transport - File: globalgrid2050/uk_energy_tracking_v4/live-transport.js (JavaScript, 37 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v4/live-transport.js#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0915.html#f8 - Synopsis: A JavaScript file in GlobalGrid2050 that renders commodities (`renderCommodities`) and fuel breakdown (`renderFuelBreakdown`) and parses market inputs (`parseMarketInputs`). - What it achieves (comment): It renders commodities (`renderCommodities`), renders fuel breakdown (`renderFuelBreakdown`) and parses market inputs (`parseMarketInputs`). V4 live tracker commodity, road fuel and EV rendering. - What it does: It draws its content. Defines renderCommodities, renderFuelBreakdown, parseMarketInputs, renderEvPrices. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV. - Inputs & outputs: Voltage levels named: 33kV. - Signatures: `renderCommodities(oil,fuel)`; `renderFuelBreakdown(oil, latest)`; `crudePpl(Number(brent)/gbpUsd/litresPerBarrel)`; `parseMarketInputs()`; `renderEvPrices(ev)`; `ops(ev&&ev.operators)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Price History Fullscreen - File: globalgrid2050/uk_energy_tracking_v4/price-history-fullscreen.js (JavaScript, 30 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v4/price-history-fullscreen.js#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/0915.html#f9 - Synopsis: A JavaScript file in GlobalGrid2050 that draws date tick (`drawDateTick`) and events (`drawEvents`) and syncs fs (`syncFs`). It draws date tick (`drawDateTick`), draws events (`drawEvents`) and syncs fs (`syncFs`). - What it achieves (name): Defines `fmt`, `mlab`, `slab` and 10 more. It responds to click, DOMContentLoaded and keydown events. - What it does: It draws its content. Defines 15 functions or classes, including $, fmt, mlab, slab, tlab. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: canvas drawing. - Signatures: `$(id)`; `fmt(n,d)`; `mlab(t)`; `slab(t)`; `tlab(t)`; `mm(v)`; `niceStep(span)`; `injectStyle()`; `ensureControls()`; `bindControls()`; `modeText()`; `drawDateTick(g,x,y,t,q,align)`; `drawAxes(g,w,h,q,m,t0,t1,pad)`; `eventPoints(rows)`; `marker(g,label,r,x,y,q,above)`; `drawEvents(g,rows,X,Y,q)`; `draw()`; `syncFs()`; `open()`; `close()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Price History UI - File: globalgrid2050/uk_energy_tracking_v4/price-history-ui.css (CSS, 228 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v4/price-history-ui.css#L1-L228 - Page: https://code.globalgrid2050.com/explore-code/s/0916.html#f1 - Synopsis: A style sheet in GlobalGrid2050. - What it achieves (comment): Electricity-price-history-panel. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Price History UI - File: globalgrid2050/uk_energy_tracking_v4/price-history-ui.js (JavaScript, 57 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v4/price-history-ui.js#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0916.html#f2 - Synopsis: A JavaScript file in GlobalGrid2050 that loads annual (`loadAnnual`), syncs scroller start (`syncScrollerFromStart`) and start scroller (`syncStartFromScroller`), draws on a canvas and reads inputs for price history scroll. - What it achieves (name): It loads JSON (`loadJson`), loads annual (`loadAnnual`) and syncs scroller start (`syncScrollerFromStart`). Defines `fmt`, `dlab`, `slab` and 26 more. It responds to click, DOMContentLoaded and change events. - What it does: It draws electricity price history. Defines 30 functions or classes, including $, fmt, dlab, slab, mlab. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file electricity_price_history.json; form fields (user input). Out: canvas drawing. - Signatures: `$(id)`; `fmt(n,d)`; `dlab(t)`; `slab(t)`; `mlab(t)`; `tlab(t)`; `ymd(d)`; `set(id,v)`; `timeModeLabel()`; `csvLine(l)`; `parseCsv(t)`; `loadJson()`; `yearsBetween(a,b)`; `loadAnnual(year)`; `norm(rows)`; `merge(sys,cap)`; `periodDays(period)`; `periodLabel(period)`; `totalScrollableDays()`; `dateFromOffset(v)`; `offsetFromDate(d)`; `ensurePeriodOptions()`; `ensureModeTabs()`; `ensureScroller()`; `ensureYearOptions()` (and 15 more) - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file electricity_price_history.json; form fields (user input)]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Frequency History UI - File: globalgrid2050/uk_energy_tracking_v5/frequency-history-ui.js (JavaScript, 143 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v5/frequency-history-ui.js#L1-L143 - Page: https://code.globalgrid2050.com/explore-code/s/0916.html#f3 - Synopsis: A JavaScript file in GlobalGrid2050 that draws grid frequency history and live grid frequency weekly health. It parses CSV (`parseCsv`), gets text (`getText`) and gets JSON (`getJson`). - What it achieves (comment): GlobalGrid2050 V5 frequency chart. Inserts itself below the Elexon price chart. Its code works with 50 Hz. It responds to resize events. - What it does: It draws grid frequency history and live grid frequency weekly health. Defines 13 functions or classes, including $, txt, css, install, parseCsv. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file grid_frequency_history.csv; JSON file live_grid_frequency.json; JSON file live_grid_frequency_weekly_health.json; CSV file grid_frequency_weekly_health.csv. Out: canvas drawing. - Downstream impact: Used directly by 1 file: Live App (globalgrid2050). - Signatures: `$(id)`; `txt(id, value)`; `css()`; `install()`; `parseCsv(text)`; `timeLabel(iso)`; `weekLabel(iso)`; `getText(url)`; `getJson(url)`; `canvasSetup(id, minH)`; `draw(rows)`; `drawWeekly(rows)`; `refresh()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [CSV file grid_frequency_history.csv; JSON file live_grid_frequency.json; JSON file live_grid_frequency_weekly_health.json; CSV file grid_frequency_weekly_health.csv]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Live App - File: globalgrid2050/uk_energy_tracking_v5/live-app.js (JavaScript, 67 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v5/live-app.js#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/0916.html#f4 - Synopsis: A JavaScript file in GlobalGrid2050 that loads frequency module (`loadFrequencyModule`). - What it achieves (comment): It loads frequency module (`loadFrequencyModule`) and is built from the ensure v6 notice helper (`ensureV6Notice`) and the ensure summary style helper (`ensureSummaryStyle`). V5 live tracker app boot and refresh loop. It responds to change events. - What it does: It draws its content. Defines ensureV6Notice, ensureSummaryStyle, ensureSummaryPanel, loadFrequencyModule, refresh. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `ensureV6Notice()`; `ensureSummaryStyle()`; `ensureSummaryPanel()`; `loadFrequencyModule()`; `refresh()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 0; mentioned by 0 ### Live Config - File: globalgrid2050/uk_energy_tracking_v5/live-config.js (JavaScript, 7 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v5/live-config.js#L1-L7 - Page: https://code.globalgrid2050.com/explore-code/s/0916.html#f5 - Synopsis: A JavaScript file in GlobalGrid2050 covering live grid energy, live grid price, live oil prices and oil price history. - What it achieves (comment): V5 live tracker config. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Live Gauges - File: globalgrid2050/uk_energy_tracking_v5/live-gauges.js (JavaScript, 25 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v5/live-gauges.js#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/0916.html#f6 - Synopsis: A JavaScript file in GlobalGrid2050 that renders mix (`renderMix`). It renders gauge (`renderGauge`), renders mix (`renderMix`) and gets JSON (`getJSON`). - What it achieves (comment): V5 live tracker gauges and generation mix rendering. - What it does: It draws its content. Defines 9 functions or classes, including renderGauge, renderMix, ageMin, timeLabel, dateLabel. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `renderGauge(name,value)`; `renderMix(mix)`; `ageMin(iso)`; `timeLabel(iso)`; `dateLabel(iso)`; `latestIso(a,b,c)`; `carbonValue(p)`; `getJSON(u)`; `setText(id,val)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/uk_energy_tracking_v4/live-gauges.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Live Helpers - File: globalgrid2050/uk_energy_tracking_v5/live-helpers.js (JavaScript, 9 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v5/live-helpers.js#L1-L9 - Page: https://code.globalgrid2050.com/explore-code/s/0916.html#f7 - Synopsis: A JavaScript file in GlobalGrid2050 that works with arc path (`arcPath`). It is built from the fmt step (`fmt`), the pct step (`pct`) and the arc path helper (`arcPath`). - What it achieves (comment): V5 live tracker helpers. Depends on config. - What it does: It calculates its inputs. Defines fmt, pct, arcPath. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `fmt(n,dp)`; `pct(n,min,max)`; `arcPath(cx,cy,r,start,end)`; `s(start-90)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/uk_energy_tracking_v4/live-helpers.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Live Oil Chart - File: globalgrid2050/uk_energy_tracking_v5/live-oil-chart.js (JavaScript, 97 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v5/live-oil-chart.js#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/0916.html#f8 - Synopsis: A JavaScript file in GlobalGrid2050 that draws oil trend (`drawOilTrend`), binds oil tooltip (`bindOilTooltip`) and reads inputs for oil range. It draws oil trend (`drawOilTrend`) and binds oil tooltip (`bindOilTooltip`). - What it achieves (comment): V5 live tracker oil history chart. It responds to mousemove, touchmove and mouseleave events. - What it does: It draws its content. Defines 8 functions or classes, including rangeCutoff, oilStats, drawOilTrend, x, line. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: canvas drawing. - Signatures: `rangeCutoff(range)`; `oilStats(rows)`; `drawOilTrend(geo, activeIndex)`; `x(i)`; `line(field,colour)`; `bindOilTooltip()`; `show(e)`; `clientX(e.touches&&e.touches[0]?e.touches[0].clientX:e.clientX)`; `px(clientX-rect.left)`; `hide()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/uk_energy_tracking_v4/live-oil-chart.js) · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Live Transport - File: globalgrid2050/uk_energy_tracking_v5/live-transport.js (JavaScript, 54 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v5/live-transport.js#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/0916.html#f9 - Synopsis: A JavaScript file in GlobalGrid2050 that renders commodities (`renderCommodities`) and metal card (`renderMetalCard`) and renders fuel breakdown (`renderFuelBreakdown`). - What it achieves (comment): It renders commodities (`renderCommodities`), renders metal card (`renderMetalCard`) and renders fuel breakdown (`renderFuelBreakdown`). V5 live tracker commodity, road fuel and EV rendering. - What it does: It draws its content. Defines 7 functions or classes, including moneySymbol, fmtMoney, renderCommodities, renderMetalCard, renderFuelBreakdown. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `moneySymbol(currency)`; `fmtMoney(value,currency)`; `renderCommodities(oil,fuel)`; `renderMetalCard(id, metal, data)`; `renderFuelBreakdown(oil, latest)`; `gbpUsd(oil.fx&&oil.fx.gbpUSD)`; `crudePpl(Number(brent)/gbpUsd/litresPerBarrel)`; `parseMarketInputs()`; `renderEvPrices(ev)`; `ops(ev&&ev.operators)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Price History Data - File: globalgrid2050/uk_energy_tracking_v5/price-history-data.js (JavaScript, 29 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v5/price-history-data.js#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/0917.html#f1 - Synopsis: A JavaScript file in GlobalGrid2050 that fetches electricity price history 4bucket decade. It loads captured (`loadCaptured`), loads annual (`loadAnnual`) and loads four bucket (`loadFourBucket`). - What it achieves (name): Defines `csvLine`, `loadCaptured`, `loadAnnual` and 8 more. - What it does: It fetches electricity price history 4bucket decade. Defines 11 functions or classes, including csvLine, loadCaptured, loadAnnual, loadFourBucket, yearsBetween. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file electricity_price_history.json; JSON file electricity_price_history_4bucket_decade.json. - Signatures: `csvLine(l)`; `parseCsv(t)`; `norm(rows)`; `loadCaptured()`; `loadAnnual(year)`; `loadFourBucket()`; `yearsBetween(a,b)`; `periodDays(period)`; `periodLabel(period)`; `modeForDays(days)`; `filterTimeMode(rows,timeMode)`; `merge(sys,cap)`; `loadHalfHourly(start,end,timeMode)`; `loadFourBucketRange(start,end)`; `loadForWindow(win)` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file electricity_price_history.json; JSON file electricity_price_history_4bucket_decade.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Price History Fullscreen - File: globalgrid2050/uk_energy_tracking_v5/price-history-fullscreen.js (JavaScript, 38 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v5/price-history-fullscreen.js#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0917.html#f2 - Synopsis: A JavaScript file in GlobalGrid2050 that refreshes after load (`refreshAfterLoad`) and draws on a canvas. It copies state (`copyState`) and refreshes after load (`refreshAfterLoad`). - What it achieves (name): Defines `fmt`, `fullDate`, `fullMonth` and 17 more. It responds to DOMContentLoaded, keydown and resize events. - What it does: It draws its content. Defines 21 functions or classes, including $, fmt, fullDate, fullMonth, timeLabel. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Patch V5 Chart Dynamic Annotations Workflow (globalgrid2050); GlobalGrid2050 Patch V5 Chart Overlap Controls Workflow (globalgrid2050); GlobalGrid2050 Patch V5 Fullscreen Glow Controls Workflow (globalgrid2050). - Signatures: `$(id)`; `fmt(n,d)`; `fullDate(t)`; `fullMonth(t)`; `timeLabel(t)`; `axisLabel(t,span)`; `modeText()`; `minMax(v)`; `niceStep(span)`; `clamp(v,a,b)`; `decimate(rows,limit)`; `selectedPeriod()`; `selectedStart()`; `stateMatchesControls()`; `copyState()`; `reloadIfNeeded()`; `refreshAfterLoad()`; `seasonName(t)`; `seasonColor(t)`; `drawSeasonKey(g,q,pad,isLandscape)`; `drawDailyKey(g,q,pad,isLandscape)`; `drawSeasonLine(g,lineRows,X,Y,q,isLandscape)`; `drawDailyLines(g,rows,X,Y,q)`; `injectStyle()`; `ensureControls()` (and 8 more) - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Price History Render - File: globalgrid2050/uk_energy_tracking_v5/price-history-render.js (JavaScript, 22 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v5/price-history-render.js#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0917.html#f3 - Synopsis: A JavaScript file in GlobalGrid2050 that draws season (`drawSeasonKey`) and bucket legend (`drawBucketLegend`). It draws season key (`drawSeasonKey`) and draws bucket legend (`drawBucketLegend`). - What it achieves (name): Defines `fmt`, `fullDate`, `fullMonth` and 10 more. - What it does: It draws its content. Defines 13 functions or classes, including fmt, fullDate, fullMonth, timeLabel, axisLabel. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: canvas drawing. - Signatures: `fmt(n,d)`; `fullDate(t)`; `fullMonth(t)`; `timeLabel(t)`; `axisLabel(t,span)`; `minMax(v)`; `niceStep(span)`; `decimateRows(rows,limit)`; `seasonName(t)`; `seasonColor(t)`; `extrema(rows)`; `drawAxes(g,w,h,q,m,t0,t1,pad)`; `drawSeasonKey(g,q,w,pad)`; `drawHalfHourlyLine(g,rows,X,Y,q,w)`; `drawEvents(g,rows,X,Y,q,w,h,pad)`; `bucketSeries(rows)`; `drawFourBucket(g,rows,X,Y,q)`; `drawBucketLegend(g,q,pad)`; `draw(canvas,rows,meta,options)` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Price History UI - File: globalgrid2050/uk_energy_tracking_v5/price-history-ui.css (CSS, 228 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v5/price-history-ui.css#L1-L228 - Page: https://code.globalgrid2050.com/explore-code/s/0917.html#f4 - Synopsis: A style sheet in GlobalGrid2050. - What it achieves (comment): Electricity-price-history-panel. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Price History UI - File: globalgrid2050/uk_energy_tracking_v5/price-history-ui.js (JavaScript, 78 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v5/price-history-ui.js#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/0917.html#f5 - Synopsis: A JavaScript file in GlobalGrid2050 that loads annual (`loadAnnual`), syncs scroller start (`syncScrollerFromStart`) and start scroller (`syncStartFromScroller`), draws on a canvas and reads inputs for price history scroll. - What it achieves (name): It loads JSON (`loadJson`), loads annual (`loadAnnual`) and syncs scroller start (`syncScrollerFromStart`). Defines `fmt`, `pence`, `dlab` and 34 more. It responds to click, DOMContentLoaded and change events. - What it does: It draws electricity price history daily decade and electricity price history 4bucket decade. Defines 38 functions or classes, including $, fmt, pence, dlab, slab. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file electricity_price_history.json; JSON file electricity_price_history_daily_decade.json; JSON file electricity_price_history_4bucket_decade.json; form fields (user input). Out: canvas drawing. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Patch V5 Chart Dynamic Annotations Workflow (globalgrid2050); GlobalGrid2050 Patch V5 Chart Overlap Controls Workflow (globalgrid2050); GlobalGrid2050 Patch V5 Fullscreen Glow Controls Workflow (globalgrid2050). - Signatures: `$(id)`; `fmt(n,d)`; `pence(n)`; `dlab(t)`; `slab(t)`; `tlab(t)`; `axisLabel(t,span)`; `ymd(d)`; `set(id,v)`; `timeModeLabel()`; `csvLine(l)`; `parseCsv(t)`; `loadJson()`; `loadAnnual(year)`; `convert4Bucket(d)`; `loadDaily()`; `yearsBetween(a,b)`; `norm(rows)`; `merge(sys,cap)`; `periodDays(period)`; `periodLabel(period)`; `isDailyPeriod(p)`; `isDayNightPeriod(p)`; `totalScrollableDays()`; `dateFromOffset(v)` (and 15 more) - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file electricity_price_history.json; JSON file electricity_price_history_daily_decade.json; JSON file electricity_price_history_4bucket_decade.json; form fields (user input)]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Start V6 App - File: globalgrid2050/uk_energy_tracking_v6/app_bootstrap/start_v6_app/start_v6_app.js (JavaScript, 14 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/app_bootstrap/start_v6_app/start_v6_app.js#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0917.html#f6 - Synopsis: A JavaScript file in the app bootstrap folder of GlobalGrid2050 that refreshes live (`refreshLive`). It refreshes live (`refreshLive`). - What it achieves (name): Defines `refreshLive` and `start`. It responds to DOMContentLoaded events. - What it does: Defines refreshLive, start. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `refreshLive()`; `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build from Data Repo - File: globalgrid2050/uk_energy_tracking_v6/derived/build_from_data_repo.py (Python, 186 lines) · role storage · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/derived/build_from_data_repo.py#L1-L186 - Page: https://code.globalgrid2050.com/explore-code/s/0917.html#f7 - Synopsis: A Python command-line tool in the derived folder of GlobalGrid2050 that reads decade summary and pvlive solar daily browser. It is built from the mean step (`mean`). - What it achieves (comment): Rebuild the decade summary from Ventusltd/data-GB-electricity. It accepts `--data` and `--out`. - What it does: It loads decade summary and pvlive solar daily browser. Defines mean, main. Uses libraries argparse, io, json, os, collections. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file decade-summary.json; Parquet file data_0.parquet; JSON file pvlive_solar_daily_browser.json; DuckDB queries; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `mean(values)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file decade-summary.json; Parquet file data_0.parquet; JSON file pvlive_solar_daily_browser.json; DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Make Decade Summary - File: globalgrid2050/uk_energy_tracking_v6/derived/make_decade_summary.py (Python, 181 lines) · role ingest · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/derived/make_decade_summary.py#L1-L181 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f1 - Synopsis: A Python command-line tool in the derived folder of GlobalGrid2050 covering electricity price history daily decade and pvlive solar daily browser. - What it achieves (comment): It is built from the read step (`read`) and the mean step (`mean`). Derive a compact decade summary from the tracker's own official series. - What it does: Defines read, mean, main. Uses libraries io, json, os, collections. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file electricity_price_history_daily_decade.json; JSON file pvlive_solar_daily_browser.json; JSON file decade-summary.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `read(path)`; `mean(values)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file electricity_price_history_daily_decade.json; JSON file pvlive_solar_daily_browser.json; JSON file decade-summary.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Frequency History UI - File: globalgrid2050/uk_energy_tracking_v6/frequency_history/frequency-history-ui.js (JavaScript, 143 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/frequency_history/frequency-history-ui.js#L1-L143 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f2 - Synopsis: A JavaScript file in GlobalGrid2050 that draws grid frequency history and live grid frequency weekly health. It parses CSV (`parseCsv`), gets text (`getText`) and gets JSON (`getJson`). - What it achieves (comment): GlobalGrid2050 V6 frequency chart. Inserts itself below the Elexon price chart. Its code works with 50 Hz. It responds to resize events. - What it does: It draws grid frequency history and live grid frequency weekly health. Defines 13 functions or classes, including $, txt, css, install, parseCsv. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file grid_frequency_history.csv; JSON file live_grid_frequency.json; JSON file live_grid_frequency_weekly_health.json; CSV file grid_frequency_weekly_health.csv. Out: canvas drawing. - Signatures: `$(id)`; `txt(id, value)`; `css()`; `install()`; `parseCsv(text)`; `timeLabel(iso)`; `weekLabel(iso)`; `getText(url)`; `getJson(url)`; `canvasSetup(id, minH)`; `draw(rows)`; `drawWeekly(rows)`; `refresh()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/uk_energy_tracking_v5/frequency-history-ui.js) · essay_status: readme_derived - data_contracts: in [CSV file grid_frequency_history.csv; JSON file live_grid_frequency.json; JSON file live_grid_frequency_weekly_health.json; CSV file grid_frequency_weekly_health.csv]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Control Generation History - File: globalgrid2050/uk_energy_tracking_v6/generation_history/control_generation_history.js (JavaScript, 19 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/generation_history/control_generation_history.js#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f3 - Synopsis: A JavaScript file in GlobalGrid2050 that sets start period (`setStartForPeriod`) and start year (`setStartForYear`) and sets status (`setStatus`), covering wind. - What it achieves (name): It sets start period (`setStartForPeriod`), sets start year (`setStartForYear`) and sets status (`setStatus`). Defines `byId`, `ymd`, `daysForPeriod` and 8 more. It responds to change, resize and DOMContentLoaded events. - What it does: It draws wind. Defines 11 functions or classes, including byId, ymd, daysForPeriod, isRecentPeriod, fillYears. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: wind. - Signatures: `byId(id)`; `ymd(d)`; `daysForPeriod(p)`; `isRecentPeriod(p)`; `fillYears()`; `fillTech()`; `setStartForPeriod()`; `setStartForYear()`; `state()`; `setStatus(text)`; `drawCached()`; `refresh()`; `init()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Control Generation MWh Aggregates - File: globalgrid2050/uk_energy_tracking_v6/generation_history/control_generation_mwh_aggregates.js (JavaScript, 11 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/generation_history/control_generation_mwh_aggregates.js#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f4 - Synopsis: A JavaScript file in the generation history folder of GlobalGrid2050 that sets status (`setStatus`) (units: MWh), covering solar. - What it achieves (name): It sets status (`setStatus`) and is built from the by id helper (`byId`) and the init step (`init`). Defines `byId`, `tech`, `setStatus` and 1 more. It responds to change and DOMContentLoaded events. - What it does: It draws solar. Defines byId, tech, setStatus, init. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Signatures: `byId(id)`; `tech()`; `fillTech()`; `setStatus(t)`; `refresh()`; `init()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Live Config - File: globalgrid2050/uk_energy_tracking_v6/generation_history/live-config.js (JavaScript, 12 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/generation_history/live-config.js#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f5 - Synopsis: A JavaScript file in the generation history folder of GlobalGrid2050 covering generation daily mw spine fuelhh candidate, Elexon generation sources and pvlive solar daily browser. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generation_daily_mw_spine_fuelhh_candidate.json; JSON file elexon_generation_sources_2016.json; JSON file pvlive_solar_daily_browser.json; JSON file pvlive_solar_recent_30d_30min_browser.json; JSON file generation_recent_30d_30min.json; JSON file generation_ecg_all_technologies_30d_30min_candidate.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file generation_daily_mw_spine_fuelhh_candidate.json; JSON file elexon_generation_sources_2016.json; JSON file pvlive_solar_daily_browser.json; JSON file pvlive_solar_recent_30d_30min_browser.json; JSON file generation_recent_30d_30min.json; JSON file generation_ecg_all_technologies_30d_30min_candidate.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Load Generation History Data - File: globalgrid2050/uk_energy_tracking_v6/generation_history/load_generation_history_data.js (JavaScript, 30 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/generation_history/load_generation_history_data.js#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f6 - Synopsis: A JavaScript file in GlobalGrid2050 that fetches solar and wind. It sorts half (`sortHalf`), sorts daily (`sortDaily`) and loads JSON once (`loadJsonOnce`). - What it achieves (name): Its name says it loads generation history data. Defines `cfg`, `todayMax`, `minDate` and 18 more. - What it does: It fetches solar and wind. Defines 21 functions or classes, including cfg, todayMax, minDate, periodDays, periodLabel. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind. - Signatures: `cfg()`; `todayMax()`; `minDate()`; `groupFor(fuel)`; `periodDays(p)`; `periodLabel(p)`; `isDayNight(p)`; `tierFor(p)`; `isDaily(p)`; `isAll(t)`; `selectedWindow(start,period)`; `sortHalf(rows)`; `sortDaily(rows)`; `dedupe(rows,fn)`; `loadJsonOnce(key,url)`; `loadDaily()`; `loadSolarDaily()`; `loadRecent()`; `loadSolarRecent()`; `totalHalf(rows)`; `totalDaily(rows)`; `seriesHalf(rows)`; `seriesDaily(rows)`; `loadHalf(meta,technology,timeMode)`; `loadDailyWindow(meta,technology)` (and 1 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Load Generation MWh Aggregates - File: globalgrid2050/uk_energy_tracking_v6/generation_history/load_generation_mwh_aggregates.js (JavaScript, 16 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/generation_history/load_generation_mwh_aggregates.js#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f7 - Synopsis: A JavaScript file in the generation history folder of GlobalGrid2050 that fetches generation annual mwh by technology, generation monthly mwh by technology and generation seasonal mwh by technology. - What it achieves (name): Its name says it loads generation MWh aggregates. - What it does: It fetches generation annual mwh by technology, generation monthly mwh by technology, generation seasonal mwh by technology and generation day night mwh by technology. Defines f. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generation_annual_mwh_by_technology.json; JSON file generation_monthly_mwh_by_technology.json; JSON file generation_seasonal_mwh_by_technology.json; JSON file generation_day_night_mwh_by_technology.json; JSON file generation_interconnector_index.json; JSON file generation_interconnector_total_electricity_summary.json. - Signatures: `f(k,u)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file generation_annual_mwh_by_technology.json; JSON file generation_monthly_mwh_by_technology.json; JSON file generation_seasonal_mwh_by_technology.json; JSON file generation_day_night_mwh_by_technology.json; JSON file generation_interconnector_index.json; JSON file generation_interconnector_total_electricity_summary.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Render Generation History Chart - File: globalgrid2050/uk_energy_tracking_v6/generation_history/render_generation_history_chart.js (JavaScript, 22 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/generation_history/render_generation_history_chart.js#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f8 - Synopsis: A JavaScript file in GlobalGrid2050 that works with nice date (`niceDate`) and nice clock (`niceClock`) and draws on a canvas (units: MW). - What it achieves (name): It is built from the nice date helper (`niceDate`), the nice clock helper (`niceClock`) and the value of helper (`valueOf`). Its name says it renders generation history chart. Defines `fmt`, `niceDate`, `niceClock` and 9 more. - What it does: It draws its content. Defines 12 functions or classes, including fmt, niceDate, niceClock, valueOf, timeOf. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: canvas drawing. - Signatures: `fmt(n,d)`; `niceDate(v)`; `niceClock(v)`; `valueOf(r,mode)`; `timeOf(r,mode)`; `colour(tech)`; `compactMode(mode)`; `dateLabel(t,span)`; `shortTickLabel(t,span)`; `stats(result)`; `minMax(rows,mode)`; `step(span)`; `drawTitle(g,result,q,w,pad,cssW)`; `drawTicks(g,w,h,q,mm,pad,t0,t1)`; `pointFns(result,w,h,pad,mm,t0,t1)`; `callout(g,label,val,date,clock,x,y,q,w,h,pad,c)`; `drawLine(g,rows,result,w,h,q,pad,mm,t0,t1)`; `drawSummary(g,s,q,w,h,pad)`; `render(canvas,result)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Render Generation MWh Aggregates - File: globalgrid2050/uk_energy_tracking_v6/generation_history/render_generation_mwh_aggregates.js (JavaScript, 34 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/generation_history/render_generation_mwh_aggregates.js#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f9 - Synopsis: A JavaScript file in the generation history folder of GlobalGrid2050 that works with latest year (`latestYear`) and bar row (`barRow`) (units: MWh), covering solar, wind and interconnectors. - What it achieves (name): It is built from the latest year helper (`latestYear`), the bar row helper (`barRow`) and the metric step (`metric`). Its name says it renders generation MWh aggregates. Defines `fmt`, `clean`, `latestYear` and 3 more. - What it does: It draws solar, wind and interconnectors. Defines 6 functions or classes, including fmt, clean, latestYear, barRow, metric. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind, interconnectors. - Signatures: `fmt(n,d)`; `clean(rows)`; `latestYear(rows,extraRows)`; `barRow(label,pct,value,colour,title)`; `metric(label,value)`; `annual(el,rows,icIndex,totals)`; `links(icIndex||[])`; `total(totals||[])`; `monthly(el,rows,technology)`; `dayNight(el,rows,technology)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Live Config - File: globalgrid2050/uk_energy_tracking_v6/live_data_pipeline/live-config.js (JavaScript, 14 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/live_data_pipeline/live-config.js#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f10 - Synopsis: A JavaScript file in the live data pipeline folder of GlobalGrid2050 covering live grid energy, live grid price, live oil prices and oil price history. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json; CSV file grid_frequency_history.csv; JSON file live_grid_frequency.json. - Downstream impact: Used directly by 2 files: GB Electricity Price Grid Constraint Evidence Charts (globalgrid2050, https://globalgrid2050.com/data/grid_studies_public/gb_electricity_price_grid_constraint_evidence_charts.html); Great Britain Electricity Price Grid Constraint Trends 2016 2026 (globalgrid2050, https://globalgrid2050.com/data/grid_studies_public/great_britain_electricity_price_grid_constraint_trends_2016_2026.html). Reached from 65 other entry points, including Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Data — Grid Studies Public Page (globalgrid2050, https://globalgrid2050.com/data/grid_studies_public/); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json; JSON file ev_charging_prices.json; CSV file grid_frequency_history.csv; JSON file live_grid_frequency.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Load JSON - File: globalgrid2050/uk_energy_tracking_v6/live_data_pipeline/load_json/load_json.js (JavaScript, 4 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/live_data_pipeline/load_json/load_json.js#L1-L4 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f11 - Synopsis: A JavaScript file in the live data pipeline folder of GlobalGrid2050. It loads JSON (`loadJson`). - What it achieves (name): Its name says it loads JSON. Defines `loadJson`. - What it does: It fetches data. Defines loadJson. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `loadJson(url)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Render Generation Mix - File: globalgrid2050/uk_energy_tracking_v6/live_data_pipeline/render_generation_mix/render_generation_mix.js (JavaScript, 20 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/live_data_pipeline/render_generation_mix/render_generation_mix.js#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f12 - Synopsis: A JavaScript file in the live data pipeline folder of GlobalGrid2050. - What it achieves (name): Its name says it renders generation mix. Defines `render`. - What it does: It draws its content. Defines render. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `render(energy)`; `mix(energy&&energy.mix)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Render Live Snapshot - File: globalgrid2050/uk_energy_tracking_v6/live_data_pipeline/render_live_snapshot/render_live_snapshot.js (JavaScript, 29 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/live_data_pipeline/render_live_snapshot/render_live_snapshot.js#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f13 - Synopsis: A JavaScript file in the live data pipeline folder of GlobalGrid2050 that works with latest iso (`latestIso`) and date label (`dateLabel`). - What it achieves (name): It is built from the latest iso helper (`latestIso`), the date label helper (`dateLabel`) and the time label helper (`timeLabel`). Its name says it renders live snapshot. Defines `latestIso`, `dateLabel`, `timeLabel` and 1 more. - What it does: Defines latestIso, dateLabel, timeLabel, render. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `latestIso()`; `dateLabel(v)`; `timeLabel(v)`; `render(energy,price)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Control Price History - File: globalgrid2050/uk_energy_tracking_v6/price_history_chart/control_price_history/control_price_history.js (JavaScript, 33 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/price_history_chart/control_price_history/control_price_history.js#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f14 - Synopsis: A JavaScript file in the price history chart folder of GlobalGrid2050 that syncs fullscreen period (`syncFullscreenPeriod`), sets period (`setPeriod`) and attaches period buttons (`attachPeriodButtons`). - What it achieves (name): It syncs fullscreen period (`syncFullscreenPeriod`), sets period (`setPeriod`) and attaches period buttons (`attachPeriodButtons`). Defines `ymd`, `maxDate`, `futureMaxDate` and 13 more. It responds to click, change and touchstart events. - What it does: It draws its content. Defines 17 functions or classes, including $, ymd, maxDate, futureMaxDate, minDate. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `$(id)`; `ymd(d)`; `maxDate()`; `futureMaxDate()`; `minDate()`; `periodDays(p)`; `activeDataYear()`; `yearCutoff(year)`; `yearLabel(year)`; `ensureYearOptions()`; `ensureStartDate()`; `ensureModeTabs()`; `currentPeriod()`; `syncFullscreenPeriod()`; `setPeriod(value)`; `nudgePeriod(direction)`; `attachPeriodButtons(scope)`; `ensurePeriodControls()`; `bindFullscreenPeriodSelect()`; `debouncedLoad()`; `load()`; `openFullscreen()`; `closeFullscreen()`; `attachFullscreenSwipe()`; `start()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fullscreen Period Menu - File: globalgrid2050/uk_energy_tracking_v6/price_history_chart/fullscreen_period_menu/fullscreen_period_menu.js (JavaScript, 45 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/price_history_chart/fullscreen_period_menu/fullscreen_period_menu.js#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f15 - Synopsis: A JavaScript file in the price history chart folder of GlobalGrid2050 that syncs button (`syncButton`). It closes menu (`closeMenu`) and syncs button (`syncButton`). - What it achieves (name): Defines `byId`, `textFor`, `closeMenu` and 2 more. It responds to click and change events. - What it does: It draws its content. Defines byId, textFor, closeMenu, syncButton, start. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Signatures: `byId(id)`; `textFor(select)`; `closeMenu()`; `syncButton()`; `start()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Load Price History Data - File: globalgrid2050/uk_energy_tracking_v6/price_history_chart/load_price_history_data/load_price_history_data.js (JavaScript, 29 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/price_history_chart/load_price_history_data/load_price_history_data.js#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f16 - Synopsis: A JavaScript file in the price history chart folder of GlobalGrid2050 that parses CSV line (`parseCsvLine`) and loads annual (`loadAnnual`) and daily (`loadDaily`). - What it achieves (name): It parses CSV line (`parseCsvLine`), loads annual (`loadAnnual`) and loads daily (`loadDaily`). Its name says it loads price history data. Defines `todayMax`, `forecastMaxDate`, `minDate` and 13 more. - What it does: It fetches data. Defines 16 functions or classes, including todayMax, forecastMaxDate, minDate, futureMaxDate, ymd. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 2 files: GB Electricity Price Grid Constraint Evidence Charts (globalgrid2050, https://globalgrid2050.com/data/grid_studies_public/gb_electricity_price_grid_constraint_evidence_charts.html); Great Britain Electricity Price Grid Constraint Trends 2016 2026 (globalgrid2050, https://globalgrid2050.com/data/grid_studies_public/great_britain_electricity_price_grid_constraint_trends_2016_2026.html). Reached from 65 other entry points, including Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Data — Grid Studies Public Page (globalgrid2050, https://globalgrid2050.com/data/grid_studies_public/); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `todayMax()`; `forecastMaxDate()`; `minDate()`; `futureMaxDate()`; `ymd(d)`; `mean(vals)`; `parseCsvLine(line)`; `parseCsv(text)`; `norm(rows)`; `periodDays(p)`; `periodLabel(p)`; `isDaily(p)`; `isDayNight(p)`; `loadAnnual(year)`; `loadCapture()`; `loadDaily()`; `years(start,end)`; `selectedWindow(start,period)`; `loadHalf(meta,timeMode)`; `loadWindow(start,period,timeMode)`; `sameMonthDay(row,target)`; `sameMonthDow(row,d)`; `forecastPoint(all,targetDate)`; `loadForecastWindow()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Render Price Chart Box Overlay - File: globalgrid2050/uk_energy_tracking_v6/price_history_chart/render_price_chart/render_price_chart_box_overlay.js (JavaScript, 25 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/price_history_chart/render_price_chart/render_price_chart_box_overlay.js#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f17 - Synopsis: A JavaScript file in the price history chart folder of GlobalGrid2050 that works with nice date (`niceDate`) and nice clock (`niceClock`) and draws on a canvas. - What it achieves (name): It is built from the nice date helper (`niceDate`), the nice clock helper (`niceClock`) and the pence step (`pence`). Its name says it renders price chart box overlay. Defines `fmt`, `price`, `time` and 9 more. - What it does: It draws its content. Defines 12 functions or classes, including fmt, price, time, niceDate, niceClock. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: canvas drawing. - Signatures: `fmt(n,d)`; `price(r)`; `time(r)`; `niceDate(v)`; `niceClock(v)`; `pence(v)`; `compactDateText(t)`; `stats(result)`; `values(result)`; `minMax(v)`; `boxText(label,val,date,clock)`; `boxSize(g,lines,q)`; `drawBox(g,lines,q,cx,cy,maxW)`; `coverBox(g,x,y,w,h,q)`; `overlay(canvasId,result)` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Render Price Chart V6 Clean Boxes - File: globalgrid2050/uk_energy_tracking_v6/price_history_chart/render_price_chart/render_price_chart_v6_clean_boxes.js (JavaScript, 31 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/price_history_chart/render_price_chart/render_price_chart_v6_clean_boxes.js#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/0918.html#f18 - Synopsis: A JavaScript file in the price history chart folder of GlobalGrid2050 that draws dot (`drawDot`). - What it achieves (name): It draws dot (`drawDot`) and is built from the pence step (`pence`) and the set step (`set`). Its name says it renders price chart clean boxes. Defines `fmt`, `price`, `time` and 16 more. - What it does: It draws its content. Defines 19 functions or classes, including fmt, price, time, pence, set. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: canvas drawing. - Signatures: `fmt(n,d)`; `price(r)`; `time(r)`; `pence(v)`; `set(id,v)`; `niceDate(v)`; `niceClock(v)`; `seasonName(t)`; `seasonColor(t)`; `actualValue(r,mode)`; `forecastValue(r)`; `values(result)`; `stats(result)`; `minMax(v)`; `step(span)`; `dateLabel(t,span)`; `drawAxes(g,w,h,q,mm,pad,t0,t1)`; `drawKey(g,q,pad,isFull,result)`; `decimateRows(rows,limit)`; `drawDot(g,x,y,q,label)`; `boxText(label,val,date,clock)`; `drawBox(g,lines,q,cx,cy,maxW)`; `drawTrackers(g,s,q,w,h,pad,X,Y)`; `drawDaily(g,result,q,X,Y)`; `renderTo(canvasId,result)` (and 2 more) - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Dom Text - File: globalgrid2050/uk_energy_tracking_v6/shared_helpers/dom_text/dom_text.js (JavaScript, 6 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/shared_helpers/dom_text/dom_text.js#L1-L6 - Page: https://code.globalgrid2050.com/explore-code/s/0919.html#f1 - Synopsis: A JavaScript file in the shared helpers folder of GlobalGrid2050 that works with iso label (`isoLabel`). It sets text (`setText`) and is built from the iso label helper (`isoLabel`). - What it achieves (name): Defines `setText`, `fmt` and `isoLabel`. - What it does: Defines setText, fmt, isoLabel. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `setText(id,value)`; `fmt(value,digits)`; `isoLabel(value)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 — UK Energy Tracking V6 Style Sheet - File: globalgrid2050/uk_energy_tracking_v6/styles/app.css (CSS, 450 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6/styles/app.css#L1-L450 - Page: https://code.globalgrid2050.com/explore-code/s/0919.html#f2 - Synopsis: A style sheet in the styles folder. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: GB Electricity Price Grid Constraint Evidence Charts (globalgrid2050, https://globalgrid2050.com/data/grid_studies_public/gb_electricity_price_grid_constraint_evidence_charts.html); Great Britain Electricity Price Grid Constraint Trends 2016 2026 (globalgrid2050, https://globalgrid2050.com/data/grid_studies_public/great_britain_electricity_price_grid_constraint_trends_2016_2026.html). Reached from 65 other entry points, including Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Data — Grid Studies Public Page (globalgrid2050, https://globalgrid2050.com/data/grid_studies_public/); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Control Generation MWh Aggregates - File: globalgrid2050/uk_energy_tracking_v6_2/generation_history/control_generation_mwh_aggregates.js (JavaScript, 11 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6_2/generation_history/control_generation_mwh_aggregates.js#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/0919.html#f3 - Synopsis: A JavaScript file in the generation history folder of GlobalGrid2050 that sets status (`setStatus`) (units: MWh), covering solar. - What it achieves (name): It sets status (`setStatus`) and is built from the by id helper (`byId`) and the fill tech helper (`fillTech`). Defines `byId`, `tech`, `fillTech` and 2 more. It responds to change and DOMContentLoaded events. - What it does: It draws solar. Defines byId, tech, fillTech, setStatus, init. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Signatures: `byId(id)`; `tech()`; `fillTech()`; `setStatus(text)`; `refresh()`; `init()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Live Config - File: globalgrid2050/uk_energy_tracking_v6_2/generation_history/live-config.js (JavaScript, 12 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6_2/generation_history/live-config.js#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0919.html#f4 - Synopsis: A JavaScript file in the generation history folder of GlobalGrid2050 covering generation daily mw spine fuelhh candidate, Elexon generation sources and pvlive solar daily browser. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generation_daily_mw_spine_fuelhh_candidate.json; JSON file elexon_generation_sources_2016.json; JSON file pvlive_solar_daily_browser.json; JSON file pvlive_solar_recent_30d_30min_browser.json; JSON file generation_recent_30d_30min.json; JSON file generation_ecg_all_technologies_30d_30min_candidate.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file generation_daily_mw_spine_fuelhh_candidate.json; JSON file elexon_generation_sources_2016.json; JSON file pvlive_solar_daily_browser.json; JSON file pvlive_solar_recent_30d_30min_browser.json; JSON file generation_recent_30d_30min.json; JSON file generation_ecg_all_technologies_30d_30min_candidate.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Load Generation MWh Aggregates - File: globalgrid2050/uk_energy_tracking_v6_2/generation_history/load_generation_mwh_aggregates.js (JavaScript, 13 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6_2/generation_history/load_generation_mwh_aggregates.js#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/0919.html#f5 - Synopsis: A JavaScript file in the generation history folder of GlobalGrid2050 that fetches generation annual mwh by technology, generation monthly mwh by technology and generation seasonal mwh by technology. - What it achieves (name): It fetches rows (`fetchRows`) and is built from the seasonal step (`seasonal`) and the day night helper (`dayNight`). Its name says it loads generation MWh aggregates. Defines `fetchRows`, `annual`, `monthly` and 2 more. - What it does: It fetches generation annual mwh by technology, generation monthly mwh by technology, generation seasonal mwh by technology and generation day night mwh by technology. Defines fetchRows, annual, monthly, seasonal, dayNight. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file generation_annual_mwh_by_technology.json; JSON file generation_monthly_mwh_by_technology.json; JSON file generation_seasonal_mwh_by_technology.json; JSON file generation_day_night_mwh_by_technology.json. - Signatures: `fetchRows(key,url)`; `annual()`; `monthly()`; `seasonal()`; `dayNight()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file generation_annual_mwh_by_technology.json; JSON file generation_monthly_mwh_by_technology.json; JSON file generation_seasonal_mwh_by_technology.json; JSON file generation_day_night_mwh_by_technology.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Render Generation MWh Aggregates - File: globalgrid2050/uk_energy_tracking_v6_2/generation_history/render_generation_mwh_aggregates.js (JavaScript, 38 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_energy_tracking_v6_2/generation_history/render_generation_mwh_aggregates.js#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0919.html#f6 - Synopsis: A JavaScript file in the generation history folder of GlobalGrid2050 that renders annual (`renderAnnual`) and monthly (`renderMonthly`) and renders day night (`renderDayNight`) (units: MWh). - What it achieves (name): It renders annual (`renderAnnual`), renders monthly (`renderMonthly`) and renders day night (`renderDayNight`). Its name says it renders generation MWh aggregates. Defines `fmt`, `renderAnnual`, `renderMonthly` and 1 more. - What it does: It draws its content. Defines fmt, renderAnnual, renderMonthly, renderDayNight. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `fmt(n,d)`; `renderAnnual(el,rows)`; `renderMonthly(el,rows,technology)`; `renderDayNight(el,rows,technology)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### State - File: globalgrid2050/uk_renewables_pipeline/202609051156/scripts/core/state.js (JavaScript, 23 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/scripts/core/state.js#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/0919.html#f7 - Synopsis: A JavaScript module in the core folder of GlobalGrid2050 covering major project news, solar and battery storage (BESS). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file major_project_news_v5.json. - Downstream impact: Used directly by 31 files: Newspaper V9 5 (globalgrid2050); Check Modules (globalgrid2050); Projects V9 5 1 (globalgrid2050); Projects V9 9 (globalgrid2050); and 27 more. Reached from 202 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v5.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 31; mentioned by 0 ### Build V7 2 Spine - File: globalgrid2050/uk_renewables_pipeline/202609051156/scripts/data/build_v7_2_spine.py (Python, 336 lines) · role geodesy · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/scripts/data/build_v7_2_spine.py#L1-L336 - Page: https://code.globalgrid2050.com/explore-code/s/0920.html#f1 - Synopsis: A Python command-line tool in the data folder of GlobalGrid2050 that reads project spine, the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS), using EPSG:27700 and SHA-256. - What it achieves (name): It cleans text (`clean_text`), resolves geometry (`resolve_geometry`) and builds coordinate fixture (`build_coordinate_fixture`). Its name says it builds spine. Defines `sha256`, `canonical_sha`, `atomic_write_json` and 6 more. It accepts `--contract` and `--repd-xlsx`. - What it does: It loads project spine, the REPD register, solar and battery storage (BESS). Defines 10 functions or classes, including sha256, canonical_sha, atomic_write_json, clean_text, optional_float. Uses libraries __future__, argparse, hashlib, json, math. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: JSON file project-spine.v7.2.json; command-line arguments. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: Test V7 2 Spine Safety (globalgrid2050); Build V9 1 Spine (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `sha256(path: Path)`; `canonical_sha(value: Any)`; `atomic_write_json(path: Path, value: Any, *, indent: int | None = None)`; `clean_text(value: Any)`; `optional_float(value: Any)`; `osgb36_to_wgs84(easting: float, northing: float)`; `resolve_geometry(easting: float | None, northing: float | None)`; `project_feature(project: dict[str, Any])`; `build_coordinate_fixture(xlsx_path: Path, identity: list[dict[str, Any]], output: Path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file project-spine.v7.2.json; command-line arguments]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Newspaper V9 5 - File: globalgrid2050/uk_renewables_pipeline/202609051156/scripts/plugins/newspaper-v9-5.js (JavaScript, 151 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/scripts/plugins/newspaper-v9-5.js#L1-L151 - Page: https://code.globalgrid2050.com/explore-code/s/0920.html#f2 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that draws major project news, battery storage (BESS), solar and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It refreshes projects (`refreshProjects`), indexes news (`indexNewsItems`) and draws news v9 (`drawNewsV9_5`). Defines `refreshProjects`, `canonicalItem`, `indexNewsItems` and 10 more. - What it does: It draws major project news, battery storage (BESS), solar and the REPD register. Defines 13 functions or classes, including refreshProjects, canonicalItem, indexNewsItems, signalLabel, signalForProjectV9_5. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: battery storage (BESS), solar, the REPD register. - Inputs & outputs: In: JSON file major_project_news_v6.json. - Downstream impact: Used directly by 1 file: Projects V9 5 (globalgrid2050). Reached from 1 other entry point, including Run V9 5 (globalgrid2050). - Signatures: `export signalForProjectV9_5(project)`; `export drawNewsV9_5()`; `export loadNewsV9_5()`; `export bindNewspaperV9_5(onNewsLoaded)`; `refreshProjects()`; `canonicalItem(item)`; `indexNewsItems(items)`; `signalLabel(item)`; `newsMatches(item)`; `renderNews(payload, label)`; `validPayload(payload)`; `payloadTime(payload)`; `fetchPayload(label, url)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v6.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Browser Smoke - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/browser_smoke.mjs (JavaScript, 136 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/browser_smoke.mjs#L1-L136 - Page: https://code.globalgrid2050.com/explore-code/s/0920.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news and the Renewable Energy Planning Database (REPD) register. It prepares page (`preparePage`). - What it achieves (name): Defines `preparePage`. - What it does: It tests major project news and the REPD register. Defines preparePage, main. Uses libraries node:assert/strict, node:fs, node:module, node:url, node:path. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file major_project_news_v5.json. - Signatures: `preparePage(browser)`; `constructor(_canvas, config)`; `update()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v5.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Browser Smoke V8 1 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/browser_smoke_v8_1.mjs (JavaScript, 230 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/browser_smoke_v8_1.mjs#L1-L230 - Page: https://code.globalgrid2050.com/explore-code/s/0921.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, projects plugin, the Renewable Energy Planning Database (REPD) register and wind. - What it achieves (name): It prepares page (`preparePage`), serves frozen news (`serveFrozenNews`) and reads download (`readDownload`). Defines `preparePage`, `serveFrozenNews`, `waitForMvp` and 3 more. - What it does: It tests major project news, projects plugin, the REPD register and wind. Defines 7 functions or classes, including preparePage, serveFrozenNews, waitForMvp, assertGaugeValues, assertSearch. Uses libraries node:assert/strict, node:fs, node:module, node:url, node:path. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, wind. - Inputs & outputs: In: JSON file major_project_news_v5.json; JSON file projects-plugin.v7.2.json. - Signatures: `preparePage(browser, viewport = { width: 1440, height: 1000 })`; `constructor(_canvas, config)`; `update()`; `serveFrozenNews(page)`; `waitForMvp(page)`; `assertGaugeValues(page, expected)`; `assertSearch(page, query, count, patterns = [])`; `readDownload(download)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v5.json; JSON file projects-plugin.v7.2.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Browser Smoke V9 1 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/browser_smoke_v9_1.mjs (JavaScript, 40 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/browser_smoke_v9_1.mjs#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/0921.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests battery storage (BESS). - What it does: It tests battery storage (BESS). Uses libraries node:assert/strict, node:module, playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: battery storage (BESS). - Signatures: `constructor(_canvas, config)`; `update()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Browser Smoke V9 2 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/browser_smoke_v9_2.mjs (JavaScript, 76 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/browser_smoke_v9_2.mjs#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/0921.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It reads `data/v9.1/build_manifest.json`. - What it does: It tests the REPD register. Uses libraries node:assert/strict, node:fs/promises, node:module, playwright. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file build_manifest.json. - Signatures: `constructor(_canvas, config)`; `update()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Browser Smoke V9 3 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/browser_smoke_v9_3.mjs (JavaScript, 215 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/browser_smoke_v9_3.mjs#L1-L215 - Page: https://code.globalgrid2050.com/explore-code/s/0921.html#f4 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It prepares page (`preparePage`) and is built from the layout snapshot helper (`layoutSnapshot`) and the assert contained helper (`assertContained`). Defines `preparePage`, `layoutSnapshot` and `assertContained`. It reads `data/v9.1/build_manifest.json`. - What it does: It tests the REPD register. Defines preparePage, layoutSnapshot, assertContained. Uses libraries node:assert/strict, node:fs/promises, node:module, playwright. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 3 (globalgrid2050). - Signatures: `preparePage(browser, { chartStub = true } = {})`; `constructor(_canvas, config)`; `update()`; `layoutSnapshot(page)`; `assertContained(layout, width, label)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Browser Smoke V9 4 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/browser_smoke_v9_4.mjs (JavaScript, 231 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/browser_smoke_v9_4.mjs#L1-L231 - Page: https://code.globalgrid2050.com/explore-code/s/0922.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It prepares page (`preparePage`) and is built from the layout snapshot helper (`layoutSnapshot`) and the assert contained helper (`assertContained`). Defines `preparePage`, `layoutSnapshot` and `assertContained`. It reads `data/v9.1/build_manifest.json`. - What it does: It tests the REPD register. Defines preparePage, layoutSnapshot, assertContained. Uses libraries node:assert/strict, node:fs/promises, node:module, playwright. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 4 (globalgrid2050). - Signatures: `preparePage(browser, { chartStub = true } = {})`; `constructor(_canvas, config)`; `update()`; `layoutSnapshot(page)`; `assertContained(layout, width, label)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Browser Smoke V9 5 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/browser_smoke_v9_5.mjs (JavaScript, 238 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/browser_smoke_v9_5.mjs#L1-L238 - Page: https://code.globalgrid2050.com/explore-code/s/0922.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It prepares page (`preparePage`) and is built from the layout snapshot helper (`layoutSnapshot`) and the assert contained helper (`assertContained`). Defines `preparePage`, `layoutSnapshot` and `assertContained`. It reads `data/v9.1/build_manifest.json`. - What it does: It tests the REPD register. Defines preparePage, layoutSnapshot, assertContained. Uses libraries node:assert/strict, node:fs/promises, node:module, playwright. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 5 (globalgrid2050). - Signatures: `preparePage(browser, { chartStub = true } = {})`; `constructor(_canvas, config)`; `update()`; `layoutSnapshot(page)`; `assertContained(layout, width, label)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Browser Smoke V9 5 1 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/browser_smoke_v9_5_1.mjs (JavaScript, 253 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/browser_smoke_v9_5_1.mjs#L1-L253 - Page: https://code.globalgrid2050.com/explore-code/s/0923.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It prepares page (`preparePage`) and is built from the layout snapshot helper (`layoutSnapshot`) and the assert contained helper (`assertContained`). Defines `preparePage`, `layoutSnapshot` and `assertContained`. Its code works with 400 MW. It reads `data/v9.1/build_manifest.json`. - What it does: It tests the REPD register. Defines preparePage, layoutSnapshot, assertContained. Uses libraries node:assert/strict, node:fs/promises, node:module, playwright. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 5 1 (globalgrid2050). - Signatures: `preparePage(browser, { chartStub = true } = {})`; `constructor(_canvas, config)`; `update()`; `layoutSnapshot(page)`; `assertContained(layout, width, label)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Browser Smoke V9 6 1 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/browser_smoke_v9_6_1.mjs (JavaScript, 317 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/browser_smoke_v9_6_1.mjs#L1-L317 - Page: https://code.globalgrid2050.com/explore-code/s/0923.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It prepares page (`preparePage`) and is built from the layout snapshot helper (`layoutSnapshot`) and the rendered hash helper (`renderedHash`). Defines `preparePage`, `layoutSnapshot`, `renderedHash` and 1 more. Its code works with 400 MW. It reads `data/v9.1/build_manifest.json`. - What it does: It tests the REPD register. Defines preparePage, layoutSnapshot, renderedHash, assertContained. Uses libraries node:assert/strict, node:fs/promises, node:module, playwright. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 6 1 (globalgrid2050). - Signatures: `preparePage(browser, { chartStub = true } = {})`; `constructor(_canvas, config)`; `update()`; `layoutSnapshot(page)`; `renderedHash(page, selector)`; `assertContained(layout, width, label)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Browser Smoke V9 6 2 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/browser_smoke_v9_6_2.mjs (JavaScript, 93 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/browser_smoke_v9_6_2.mjs#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/0923.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that works with click count (`clickCount`). It is built from the page at helper (`pageAt`) and the click count helper (`clickCount`). - What it achieves (name): Defines `pageAt` and `clickCount`. - What it does: It tests its inputs. Defines pageAt, clickCount. Uses libraries node:assert/strict, node:module, playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Run V9 6 2 (globalgrid2050). - Signatures: `pageAt(browser, width)`; `constructor(_canvas, config)`; `update()`; `clickCount(page, mode)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check Legacy Integrity V9 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_legacy_integrity_v9.py (Python, 34 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_legacy_integrity_v9.py#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/0923.html#f4 - Synopsis: A Python module in the tests folder of GlobalGrid2050 that works with git object (`git_object`), using SHA-256. - What it achieves (name): Its name says it checks legacy integrity. Defines `git_object`. - What it does: It tests its inputs. Defines git_object. Uses libraries hashlib, json, subprocess, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'legacy'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file legacy-integrity.v9.json. - Downstream impact: Used directly by 5 files: Run V9 1 (globalgrid2050); Run V9 3 (globalgrid2050); Run V9 4 (globalgrid2050); Run V9 5 (globalgrid2050); and 1 more. - Signatures: `git_object(path: str)` - domain_stage: experimental · commercial_user: IPP_developer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file legacy-integrity.v9.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Check Modules - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_modules.mjs (JavaScript, 45 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_modules.mjs#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0924.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050. - What it achieves (name): Its name says it checks modules. - What it does: It tests its inputs. Uses libraries node:assert/strict. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 0; mentioned by 0 ### Check V5 Parity - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v5_parity.py (Python, 184 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_v5_parity.py#L1-L184 - Page: https://code.globalgrid2050.com/explore-code/s/0924.html#f2 - Synopsis: A Python command-line tool in the tests folder of GlobalGrid2050 that tests Renewable Energy Planning Database (REPD) master, major project news, plugin and solar, using SHA-256. - What it achieves (name): It is built from the project fixture helper (`project_fixture`), the news fixture helper (`news_fixture`) and the interface fixture helper (`interface_fixture`). Its name says it checks parity. Defines `check`, `sha256`, `title_case` and 4 more. - What it does: It tests REPD master, major project news, plugin and solar. Defines 8 functions or classes, including check, sha256, title_case, project_fixture, news_fixture. Uses libraries __future__, hashlib, json, re, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file repd_master.json; JSON file major_project_news_v5.json; JSON file plugin_manifest.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `check(name: str, condition: bool, detail: str = "")`; `sha256(path: Path)`; `title_case(value: str)`; `project_fixture()`; `news_fixture()`; `interface_fixture()`; `module_fixture()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file repd_master.json; JSON file major_project_news_v5.json; JSON file plugin_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check V7 2 Project Controls - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v7_2_project_controls.mjs (JavaScript, 160 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_v7_2_project_controls.mjs#L1-L160 - Page: https://code.globalgrid2050.com/explore-code/s/0924.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests projects plugin, the Renewable Energy Planning Database (REPD) register, battery storage (BESS) and solar. - What it achieves (name): It is built from the gauge map helper (`gaugeMap`) and the result refs helper (`resultRefs`). Its name says it checks project controls. Defines `gaugeMap` and `resultRefs`. It reads `contracts/projects-plugin.v7.2.json`. - What it does: It tests projects plugin, the REPD register, battery storage (BESS) and solar. Defines gaugeMap, resultRefs. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, battery storage (BESS), solar. - Inputs & outputs: In: JSON file projects-plugin.v7.2.json; JSON file projects.json. - Signatures: `gaugeMap(view)`; `resultRefs(state)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file projects-plugin.v7.2.json; JSON file projects.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Check V7 2 Project Model - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v7_2_project_model.mjs (JavaScript, 234 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_v7_2_project_model.mjs#L1-L234 - Page: https://code.globalgrid2050.com/explore-code/s/0924.html#f4 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests projects plugin, solar, the Renewable Energy Planning Database (REPD) register and battery storage (BESS). - What it achieves (name): It is built from the fetch impl helper (`fetchImpl`). Its name says it checks project model. Defines `fetchImpl`. It reads `contracts/projects-plugin.v7.2.json`. - What it does: It tests projects plugin, solar, the REPD register and battery storage (BESS). Defines fetchImpl. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register, battery storage (BESS). - Inputs & outputs: In: JSON file projects-plugin.v7.2.json; JSON file projects.json. - Signatures: `fetchImpl(path, options)`; `json()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file projects-plugin.v7.2.json; JSON file projects.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 2, estate-url 1); used by 0; mentioned by 0 ### Check V7 2 Project Table Export - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v7_2_project_table_export.mjs (JavaScript, 217 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_v7_2_project_table_export.mjs#L1-L217 - Page: https://code.globalgrid2050.com/explore-code/s/0925.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests projects plugin, the Renewable Energy Planning Database (REPD) register and solar, using SHA-256. - What it achieves (name): It parses CSV (`parseCsv`) and is built from the ready state helper (`readyState`). Its name says it checks project table export. Defines `readyState` and `parseCsv`. Its code works with 350 MW. It reads `contracts/projects-plugin.v7.2.json`. - What it does: It tests projects plugin, the REPD register and solar. Defines readyState, parseCsv. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: JSON file projects-plugin.v7.2.json; JSON file projects.json; CSV file globalgrid2050_uk_renewables_pipeline_v7_2_2026-08-23.csv. - Signatures: `readyState()`; `parseCsv(content)`; `legacySignalResolver(project)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file projects-plugin.v7.2.json; JSON file projects.json; CSV file globalgrid2050_uk_renewables_pipeline_v7_2_2026-08-23.csv]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 0; mentioned by 1 ### Check V8 1 Mvp - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v8_1_mvp.mjs (JavaScript, 104 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_v8_1_mvp.mjs#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/0925.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests plugin, major project news and solar, using SHA-256. It reads text (`readText`) and reads JSON (`readJson`). - What it achieves (name): Its name says it checks mvp. Defines `readText`, `readJson`, `sha256` and 1 more. It reads `contracts/mvp.v8.1.json`. - What it does: It tests plugin, major project news and solar. Defines readText, readJson, sha256, refs. Uses libraries node:assert/strict, node:crypto, node:fs/promises. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file mvp.v8.1.json; CSV file globalgrid2050_uk_renewables_pipeline_v7_2_2026-08-23.csv; JSON file plugin_manifest.json; JSON file major_project_news_v5.json. - Signatures: `readText(path)`; `readJson(path)`; `sha256(bytes)`; `refs(query)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file mvp.v8.1.json; CSV file globalgrid2050_uk_renewables_pipeline_v7_2_2026-08-23.csv; JSON file plugin_manifest.json; JSON file major_project_news_v5.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 0; mentioned by 0 ### Check V8 Baseline - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v8_baseline.py (Python, 79 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_v8_baseline.py#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/0925.html#f3 - Synopsis: A Python command-line tool in the tests folder of GlobalGrid2050 that tests fallback, projects and Renewable Energy Planning Database (REPD) q2 coordinates, using SHA-256. - What it achieves (name): Its name says it checks baseline. Defines `sha256` and `git`. - What it does: It tests fallback, projects and REPD q2 coordinates. Defines sha256, git, main. Uses libraries __future__, hashlib, json, subprocess, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file fallback.v8.0.json; JSON file projects.json; GeoJSON file projects.geojson; JSON file repd_q2_coordinates.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha256(path: Path)`; `git(*args: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file fallback.v8.0.json; JSON file projects.json; GeoJSON file projects.geojson; JSON file repd_q2_coordinates.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check V9 0 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v9_0.mjs (JavaScript, 135 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_v9_0.mjs#L1-L135 - Page: https://code.globalgrid2050.com/explore-code/s/0925.html#f4 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests projects plugin and major project news, and uses data from the GridAtlas repository. - What it achieves (name): It reads text (`readText`) and reads JSON (`readJson`). Defines `readText` and `readJson`. Its code works with 500 MW. It reads `contracts/release.v9.0.json`. - What it does: It tests projects plugin, major project news and the REPD register. Defines readText, readJson. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file release.v9.0.json; JSON file projects-plugin.v7.2.json; JSON file projects.json; JSON file major_project_news_v5.json; CSV file globalgrid2050_uk_renewables_pipeline_v9_0_2026-08-23.csv. - Signatures: `readText(path)`; `readJson(path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file release.v9.0.json; JSON file projects-plugin.v7.2.json; JSON file projects.json; JSON file major_project_news_v5.json; CSV file globalgrid2050_uk_renewables_pipeline_v9_0_2026-08-23.csv]; out []; crs []; voltages [] - Edges: uses 6 estate files (import 5, estate-url 1); used by 0; mentioned by 0 ### Check V9 1 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v9_1.mjs (JavaScript, 70 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_v9_1.mjs#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/0925.html#f5 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests Renewable Energy Planning Database (REPD) master, solar and battery storage (BESS). - What it achieves (name): It reads text (`readText`), reads JSON (`readJson`) and classifies legacy (`classifyLegacy`). Defines `readText`, `readJson` and `classifyLegacy`. Its code works with 1 MW. It reads `contracts/release.v9.1.json`. - What it does: It tests REPD master, solar and battery storage (BESS). Defines readText, readJson, classifyLegacy. Uses libraries node:assert/strict, node:fs/promises. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file release.v9.1.json; JSON file build_manifest.json; JSON file repd_master.json. - Downstream impact: Used directly by 1 file: Run V9 1 (globalgrid2050). - Signatures: `readText(path)`; `readJson(path)`; `classifyLegacy(properties)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file build_manifest.json; JSON file repd_master.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Check V9 2 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v9_2.mjs (JavaScript, 106 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_v9_2.mjs#L1-L106 - Page: https://code.globalgrid2050.com/explore-code/s/0926.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news. It reads text (`readText`) and reads JSON (`readJson`). - What it achieves (name): Defines `readText` and `readJson`. It reads `contracts/release.v9.2.json`. - What it does: It tests major project news. Defines readText, readJson. Uses libraries node:assert/strict, node:fs/promises. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file release.v9.2.json; JSON file release.v9.1.json; JSON file build_manifest.json; JSON file major_project_news_v5.json. - Downstream impact: Used directly by 1 file: Run V9 2 (globalgrid2050). - Signatures: `readText(path)`; `readJson(path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.2.json; JSON file release.v9.1.json; JSON file build_manifest.json; JSON file major_project_news_v5.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Check V9 3 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v9_3.mjs (JavaScript, 198 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_v9_3.mjs#L1-L198 - Page: https://code.globalgrid2050.com/explore-code/s/0926.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It reads text (`readText`) and reads JSON (`readJson`). Defines `readText`, `readJson`, `sha256` and 1 more. It reads `contracts/release.v9.3.json`. - What it does: It tests major project news and the REPD register. Defines readText, readJson, sha256, gitBlob. Uses libraries node:assert/strict, node:child_process, node:crypto, node:fs/promises, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file release.v9.3.json; JSON file release.v9.2.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v5.json. - Downstream impact: Used directly by 1 file: Run V9 3 (globalgrid2050). - Signatures: `readText(path)`; `readJson(path)`; `sha256(value)`; `gitBlob(path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.3.json; JSON file release.v9.2.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v5.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Check V9 4 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v9_4.mjs (JavaScript, 187 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_v9_4.mjs#L1-L187 - Page: https://code.globalgrid2050.com/explore-code/s/0926.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It reads text (`readText`) and reads JSON (`readJson`). Defines `readText`, `readJson`, `sha256` and 2 more. It reads `contracts/release.v9.4.json`. - What it does: It tests major project news and the REPD register. Defines readText, readJson, sha256, gitBlob, gitTree. Uses libraries node:assert/strict, node:child_process, node:crypto, node:fs/promises, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file release.v9.4.json; JSON file release.v9.3.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v5.json. - Downstream impact: Used directly by 1 file: Run V9 4 (globalgrid2050). - Signatures: `readText(path)`; `readJson(path)`; `sha256(value)`; `gitBlob(path)`; `gitTree(revisionPath)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.4.json; JSON file release.v9.3.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v5.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Check V9 5 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v9_5.mjs (JavaScript, 193 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_v9_5.mjs#L1-L193 - Page: https://code.globalgrid2050.com/explore-code/s/0926.html#f4 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It reads text (`readText`) and reads JSON (`readJson`). Defines `readText`, `readJson`, `sha256` and 2 more. It reads `contracts/release.v9.5.json`. - What it does: It tests major project news and the REPD register. Defines readText, readJson, sha256, gitBlob, gitTree. Uses libraries node:assert/strict, node:child_process, node:crypto, node:fs/promises, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file release.v9.5.json; JSON file release.v9.4.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v6.json. - Downstream impact: Used directly by 1 file: Run V9 5 (globalgrid2050). - Signatures: `readText(path)`; `readJson(path)`; `sha256(value)`; `gitBlob(path)`; `gitTree(revisionPath)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.5.json; JSON file release.v9.4.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v6.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Check V9 5 1 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v9_5_1.mjs (JavaScript, 302 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_v9_5_1.mjs#L1-L302 - Page: https://code.globalgrid2050.com/explore-code/s/0927.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, using SHA-256 and uses data from the GridAtlas repository. - What it achieves (name): It reads text (`readText`) and reads JSON (`readJson`). Defines `readText`, `readJson`, `sha256` and 2 more. It reads `contracts/release.v9.5.1.json`. - What it does: It tests major project news and the REPD register. Defines readText, readJson, sha256, gitBlob, gitTree. Uses libraries node:assert/strict, node:child_process, node:crypto, node:fs/promises, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file release.v9.5.1.json; JSON file release.v9.5.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json. - Downstream impact: Used directly by 1 file: Run V9 5 1 (globalgrid2050). - Signatures: `readText(path)`; `readJson(path)`; `sha256(value)`; `gitBlob(path)`; `gitTree(revisionPath)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file release.v9.5.1.json; JSON file release.v9.5.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 5 estate files (script-call 2, estate-url 2, import 1); used by 1; mentioned by 0 ### Check V9 6 1 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v9_6_1.mjs (JavaScript, 140 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_v9_6_1.mjs#L1-L140 - Page: https://code.globalgrid2050.com/explore-code/s/0927.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, using SHA-256. - What it achieves (name): It is built from the git tree helper (`gitTree`), the files below helper (`filesBelow`) and the digest map helper (`digestMap`). Defines `text`, `json`, `sha256` and 3 more. - What it does: It tests major project news. Defines 6 functions or classes, including text, json, sha256, gitTree, filesBelow. Uses libraries node:assert/strict, node:child_process, node:crypto, node:fs/promises, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file release.v9.6.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json. - Downstream impact: Used directly by 1 file: Run V9 6 1 (globalgrid2050). - Signatures: `text(url)`; `json(url)`; `sha256(value)`; `gitTree(revisionPath)`; `filesBelow(directory, prefix = "")`; `digestMap(directory)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.6.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Check V9 6 2 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v9_6_2.mjs (JavaScript, 103 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/check_v9_6_2.mjs#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/0927.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, battery storage (BESS) and solar. - What it achieves (name): It is built from the git tree helper (`gitTree`) and the story step (`story`). Defines `text`, `json`, `gitTree` and 1 more. Its code works with 150 MW, 160 MWh and 170 MW. - What it does: It tests major project news, battery storage (BESS) and solar. Defines text, json, gitTree, story. Uses libraries node:assert/strict, node:child_process, node:fs/promises, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: battery storage (BESS), solar. - Inputs & outputs: In: JSON file release.v9.6.2.json; JSON file major_project_news_v9_5_1.json. - Downstream impact: Used directly by 1 file: Run V9 6 2 (globalgrid2050). - Signatures: `text(url)`; `json(url)`; `gitTree(revisionPath)`; `story(headline)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.6.2.json; JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Contract Failure Semantics V9 7 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/contract_failure_semantics_v9_7.mjs (JavaScript, 84 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/contract_failure_semantics_v9_7.mjs#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/0927.html#f4 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 using data from the GridAtlas and GridAtlas-next repositories. - What it achieves (comment): What the deep-link contract's FAILURE branches actually do to the reader's links. - What it does: It tests its inputs. Defines ok. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `ok(json)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (url-import-meta 1, estate-url 1); used by 0; mentioned by 0 ### North Star Checks - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/north_star_checks.py (Python, 221 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/north_star_checks.py#L1-L221 - Page: https://code.globalgrid2050.com/explore-code/s/0928.html#f1 - Synopsis: A Python module in the tests folder of GlobalGrid2050 that tests battery storage (BESS), solar, wind and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It checks files (`check_files`) and checks legacy workflows (`check_legacy_workflows`). Defines `sha256`, `load_json`, `capacity` and 13 more. - What it does: It tests battery storage (BESS), solar, wind and the REPD register. Defines 17 functions or classes, including sha256, load_json, capacity, Gate, __init__. Uses libraries __future__, hashlib, json, pathlib, typing. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: battery storage (BESS), solar, wind, the REPD register. - Inputs & outputs: In: JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: Validate North Star (globalgrid2050). - Signatures: `sha256(path: Path)`; `load_json(path: Path)`; `capacity(feature: dict[str, Any])`; `class Gate`; `__init__(self)`; `require(self, name: str, actual: Any, expected: Any)`; `require_true(self, name: str, condition: bool, detail: str = "")`; `passed(self)`; `check_files(root: Path, contract: dict[str, Any], gate: Gate)`; `check_legacy_workflows(root: Path, contract: dict[str, Any], gate: Gate)`; `check_legacy_universe(root: Path, contract: dict[str, Any], fixtures: dict[str, Any], gate: Gate)`; `count_tech(names: set[str])`; `check_v5_news(root: Path, contract: dict[str, Any], fixtures: dict[str, Any], gate: Gate)`; `check_v6_identity(root: Path, contract: dict[str, Any], gate: Gate)`; `check_v6_projects(root: Path, contract: dict[str, Any], fixtures: dict[str, Any], gate: Gate)`; `check_phase(root: Path, contract: dict[str, Any], phase: str, gate: Gate)`; `run_gate(root: Path, contract: dict[str, Any], phase: str)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Run V7 1 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/run_v7_1.sh (Shell, 48 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/run_v7_1.sh#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0928.html#f2 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests project spine and projects plugin. - What it does: It tests project spine and projects plugin. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file project-spine.v7.2.json; JSON file projects-plugin.v7.2.json. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file project-spine.v7.2.json; JSON file projects-plugin.v7.2.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Run V8 0 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/run_v8_0.sh (Shell, 14 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/run_v8_0.sh#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0928.html#f3 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Run V8 1 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/run_v8_1.sh (Shell, 43 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/run_v8_1.sh#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/0928.html#f4 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Run V9 0 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/run_v9_0.sh (Shell, 15 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/run_v9_0.sh#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/0928.html#f5 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Run V9 1 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/run_v9_1.sh (Shell, 16 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/run_v9_1.sh#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/0928.html#f6 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 0; mentioned by 0 ### Run V9 2 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/run_v9_2.sh (Shell, 19 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/run_v9_2.sh#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/0928.html#f7 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Run V9 3 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/run_v9_3.sh (Shell, 36 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/run_v9_3.sh#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0928.html#f8 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (script-call 3); used by 0; mentioned by 0 ### Run V9 4 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/run_v9_4.sh (Shell, 37 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/run_v9_4.sh#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0928.html#f9 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (script-call 3); used by 0; mentioned by 0 ### Run V9 5 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/run_v9_5.sh (Shell, 38 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/run_v9_5.sh#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0928.html#f10 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (script-call 3); used by 0; mentioned by 0 ### Run V9 5 1 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/run_v9_5_1.sh (Shell, 43 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/run_v9_5_1.sh#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/0928.html#f11 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (script-call 3); used by 0; mentioned by 0 ### Run V9 6 1 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/run_v9_6_1.sh (Shell, 50 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/run_v9_6_1.sh#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0928.html#f12 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 0; mentioned by 0 ### Run V9 6 2 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/run_v9_6_2.sh (Shell, 40 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/run_v9_6_2.sh#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/0928.html#f13 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 0; mentioned by 0 ### Test V7 2 Spine Safety - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/test_v7_2_spine_safety.py (Python, 50 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/test_v7_2_spine_safety.py#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0928.html#f14 - Synopsis: A test in the tests folder of GlobalGrid2050 that checks Build V7 2 Spine. - What it does: It tests its inputs. Defines main. Uses libraries __future__, json, sys, tempfile, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file asset.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file asset.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 1; mentioned by 0 ### Validate North Star - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/validate_north_star.py (Python, 48 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/validate_north_star.py#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0929.html#f1 - Synopsis: A Python command-line tool in the tests folder of GlobalGrid2050 that uses SHA-256. - What it achieves (name): Its name says it validates north star. Defines `parse_args`. It accepts `--phase` and `--report`. - What it does: It tests its inputs. Defines parse_args, main. Uses libraries __future__, argparse, hashlib, json, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file north-star.v1.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `parse_args()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file north-star.v1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Validate Projects Plugin V7 2 - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/validate_projects_plugin_v7_2.py (Python, 296 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/validate_projects_plugin_v7_2.py#L1-L296 - Page: https://code.globalgrid2050.com/explore-code/s/0929.html#f2 - Synopsis: A Python command-line tool in the tests folder of GlobalGrid2050 that tests solar, battery storage (BESS), wind and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It searches records (`search_records`) and is built from the is finite number helper (`is_finite_number`) and the searchable step (`searchable`). Its name says it validates projects plugin. Defines `parse_args`, `load`, `sha256` and 6 more. It accepts `--phase`. - What it does: It tests solar, battery storage (BESS), wind and the REPD register. Defines 10 functions or classes, including parse_args, load, sha256, is_finite_number, is_iso_date_or_none. Uses libraries __future__, argparse, hashlib, json, math. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS), wind, the REPD register. - Inputs & outputs: In: JSON file projects-plugin.v7.2.json; JSON file plugin_manifest.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `parse_args()`; `load(path: Path)`; `sha256(path: Path)`; `is_finite_number(value: Any)`; `is_iso_date_or_none(value: Any)`; `searchable(record: dict[str, Any], fields: list[str], query: str)`; `search_records(records: list[dict[str, Any]], fields: list[str], query: str)`; `lifecycle_partition(record: dict[str, Any])`; `main()`; `check(name: str, condition: bool, detail: str = "")` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file projects-plugin.v7.2.json; JSON file plugin_manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Validate V7 2 Spine - File: globalgrid2050/uk_renewables_pipeline/202609051156/tests/validate_v7_2_spine.py (Python, 143 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609051156/tests/validate_v7_2_spine.py#L1-L143 - Page: https://code.globalgrid2050.com/explore-code/s/0929.html#f3 - Synopsis: A Python command-line tool in the tests folder of GlobalGrid2050 that tests project spine, north star, solar and battery storage (BESS), using SHA-256. - What it achieves (name): It is built from the check step (`check`). Its name says it validates spine. Defines `load`, `sha256`, `canonical_sha` and 1 more. - What it does: It tests project spine, north star, solar and battery storage (BESS). Defines load, sha256, canonical_sha, main, check. Uses libraries __future__, hashlib, json, math, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file project-spine.v7.2.json; JSON file north-star.v1.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `load(path: Path)`; `sha256(path: Path)`; `canonical_sha(value: Any)`; `main()`; `check(name: str, condition: bool)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file project-spine.v7.2.json; JSON file north-star.v1.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Canonical Projects V9 1 - File: globalgrid2050/uk_renewables_pipeline/202609061149/scripts/data/canonical-projects-v9-1.js (JavaScript, 102 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609061149/scripts/data/canonical-projects-v9-1.js#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/0929.html#f4 - Synopsis: A JavaScript module in the data folder of GlobalGrid2050 that fetches the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS), using SHA-256. - What it achieves (name): It fetches JSON (`fetchJson`) and loads canonical projects v9 (`loadCanonicalProjectsV9_1`). Defines `invariant`, `round2`, `fetchJson` and 1 more. Its code works with 1 MW. - What it does: It fetches the REPD register, solar and battery storage (BESS). Defines invariant, round2, fetchJson, loadCanonicalProjectsV9_1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: JSON file release.v9.1.json; JSON file build_manifest.json. - Downstream impact: Used directly by 2 files: Projects V9 1 (globalgrid2050); JavaScript Canonical Projects V9 5 1 (pipelinenews). - Signatures: `export loadCanonicalProjectsV9_1({ onPartition } = {})`; `invariant(condition, message)`; `round2(value)`; `fetchJson(path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Projects V9 5 1 - File: globalgrid2050/uk_renewables_pipeline/202609061149/scripts/plugins/projects-v9-5-1.js (JavaScript, 523 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609061149/scripts/plugins/projects-v9-5-1.js#L1-L523 - Page: https://code.globalgrid2050.com/explore-code/s/0930.html#f1 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that compares project updates v9, updates sort header, projects row and reads inputs for county and sort projects. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_5_1`), updates sort header (`updateSortHeader`) and maps action HTML v9 (`mapActionHtmlV9_5_1`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 27 functions or classes, including atlasUrlV9_5_1, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_5_1, updateSortHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Check V9 5 1 (globalgrid2050). Reached from 1 other entry point, including Run V9 5 1 (globalgrid2050). - Signatures: `export atlasUrlV9_5_1(project)`; `export compareProjectUpdatesV9_5_1(left, right, direction = "desc")`; `export loadProjectsV9_5_1()`; `export refreshProjectsV9_5_1()`; `export bindProjectControlsV9_5_1()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `mapActionHtmlV9_5_1(project)`; `schedule(step)`; `projectRowHtml(project)`; `pageCount()`; `pagerElement()`; `renderPager()`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)` (and 2 more) - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 7); used by 1; mentioned by 0 ### Check V9 7 - File: globalgrid2050/uk_renewables_pipeline/202609061149/tests/check_v9_7.mjs (JavaScript, 153 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609061149/tests/check_v9_7.mjs#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/0930.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests regional news sources, news module registry, regional decisions and major project news, using SHA-256. - What it achieves (name): It is built from the git tree helper (`gitTree`). Defines `text`, `json`, `hash` and 1 more. Its code works with 160 MWh. - What it does: It tests regional news sources, news module registry, regional decisions and major project news. Defines text, json, hash, gitTree. Uses libraries node:assert/strict, node:crypto, node:child_process, node:fs/promises, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file release.v9.7.json; JSON file regional-news-sources.v9.7.json; JSON file news-module-registry.v9.7.json; JSON file regional_news.json; JSON file regional_decisions.json; JSON file regional_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file major_project_news.json. - Signatures: `text(url)`; `json(url)`; `hash(value)`; `gitTree(revisionPath)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/uk_renewables_pipeline/v9.7/tests/check_v9_7.mjs) · essay_status: readme_derived - data_contracts: in [JSON file release.v9.7.json; JSON file regional-news-sources.v9.7.json; JSON file news-module-registry.v9.7.json; JSON file regional_news.json; JSON file regional_decisions.json; JSON file regional_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file major_project_news.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### V9 6 1 - File: globalgrid2050/uk_renewables_pipeline/202609061329/styles/v9-6-1.css (CSS, 140 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609061329/styles/v9-6-1.css#L1-L140 - Page: https://code.globalgrid2050.com/explore-code/s/0931.html#f1 - Synopsis: A style sheet in the styles folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): V9.6.1 changes the mobile projects viewport only. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Browser Smoke V9 7 - File: globalgrid2050/uk_renewables_pipeline/202609061329/tests/browser_smoke_v9_7.mjs (JavaScript, 244 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609061329/tests/browser_smoke_v9_7.mjs#L1-L244 - Page: https://code.globalgrid2050.com/explore-code/s/0931.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register, substations and solar. - What it achieves (name): It is built from the page at helper (`pageAt`) and the click count helper (`clickCount`). Defines `pageAt` and `clickCount`. - What it does: It tests the REPD register, substations and solar. Defines pageAt, clickCount. Uses libraries node:assert/strict, node:module, playwright. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations, solar. - Inputs & outputs: In: DuckDB queries. - Downstream impact: Used directly by 1 file: Run V9 7 (globalgrid2050). - Signatures: `pageAt(browser, width)`; `constructor(_canvas, config)`; `update()`; `clickCount(page, mode)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Run V9 7 - File: globalgrid2050/uk_renewables_pipeline/202609061329/tests/run_v9_7.sh (Shell, 117 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609061329/tests/run_v9_7.sh#L1-L117 - Page: https://code.globalgrid2050.com/explore-code/s/0931.html#f3 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register. - What it achieves (name): Defines `is_changed`. - What it does: It tests the REPD register. Defines is_changed. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_changed()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (script-call 3); used by 0; mentioned by 0 ### App V9 8 - File: globalgrid2050/uk_renewables_pipeline/202609071221/scripts/app-v9-8.js (JavaScript, 28 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609071221/scripts/app-v9-8.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0931.html#f4 - Synopsis: A JavaScript module in the scripts folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### Browser Smoke V9 8 - File: globalgrid2050/uk_renewables_pipeline/202609071221/tests/browser_smoke_v9_8.mjs (JavaScript, 284 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609071221/tests/browser_smoke_v9_8.mjs#L1-L284 - Page: https://code.globalgrid2050.com/explore-code/s/0932.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register, interconnectors, substations and solar, and uses data from the GridAtlas repository. - What it achieves (name): It is built from the page at helper (`pageAt`) and the click count helper (`clickCount`). Defines `pageAt` and `clickCount`. - What it does: It tests the REPD register, interconnectors, substations and solar. Defines pageAt, clickCount. Uses libraries node:assert/strict, node:module, playwright. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, interconnectors, substations, solar. - Inputs & outputs: In: data source: gridatlas data; DuckDB queries. - Downstream impact: Used directly by 1 file: Run V9 8 (globalgrid2050). - Signatures: `pageAt(browser, width)`; `constructor(_canvas, config)`; `update()`; `clickCount(page, mode)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Check V9 8 - File: globalgrid2050/uk_renewables_pipeline/202609071221/tests/check_v9_8.mjs (JavaScript, 140 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609071221/tests/check_v9_8.mjs#L1-L140 - Page: https://code.globalgrid2050.com/explore-code/s/0932.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests interconnectors, the Renewable Energy Planning Database (REPD) register and cables, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). The interconnector tab, proven from the bytes. - What it does: It tests interconnectors, the REPD register and cables. Defines text, json, sha256. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register, cables. - Inputs & outputs: In: JSON file interconnectors.v9.8.json; JSON file interconnectors_manifest.json; JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 8 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(s)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file interconnectors.v9.8.json; JSON file interconnectors_manifest.json; JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (url-import-meta 2); used by 1; mentioned by 0 ### Run V9 8 - File: globalgrid2050/uk_renewables_pipeline/202609071221/tests/run_v9_8.sh (Shell, 109 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609071221/tests/run_v9_8.sh#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/0932.html#f3 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors and the Renewable Energy Planning Database (REPD) register. It is built from the is changed helper (`is_changed`). - What it achieves (readme): The README says: Its REPD spine, fixtures and every inherited module are carried byte-for-byte and proven so by `tests/run_v9_8.sh`. - What it does: It tests interconnectors and the REPD register. Defines is_changed. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. README: "its REPD spine, fixtures and every inherited module are carried byte-for-byte and proven so by `tests/run_v9_8.sh`." - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_changed()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 0; mentioned by 0 ### App V9 9 - File: globalgrid2050/uk_renewables_pipeline/202609081016/scripts/app-v9-9.js (JavaScript, 28 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609081016/scripts/app-v9-9.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0932.html#f4 - Synopsis: A JavaScript module in the scripts folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 0; mentioned by 0 ### Projects V9 9 - File: globalgrid2050/uk_renewables_pipeline/202609081016/scripts/plugins/projects-v9-9.js (JavaScript, 617 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609081016/scripts/plugins/projects-v9-9.js#L1-L617 - Page: https://code.globalgrid2050.com/explore-code/s/0933.html#f1 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that compares project updates v9, updates sort header, projects row and reads inputs for county and sort projects. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_5_1`), updates sort header (`updateSortHeader`) and maps action HTML v9 (`mapActionHtmlV9_5_1`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, interconnectors, solar and battery storage (BESS). Defines 29 functions or classes, including universeFor, atlasUrlV9_5_1, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_5_1. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, interconnectors, solar, battery storage (BESS). - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: App V9 9 (globalgrid2050). - Signatures: `export atlasUrlV9_5_1(project)`; `export compareProjectUpdatesV9_5_1(left, right, direction = "desc")`; `export loadProjectsV9_8()`; `export refreshProjectsV9_8()`; `export bindProjectControlsV9_8()`; `universeFor()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `mapActionHtmlV9_5_1(project)`; `schedule(step)`; `interconnectorRowHtml(record)`; `projectRowHtml(project)`; `pageCount()`; `pagerElement()`; `renderPager()`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)` (and 4 more) - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 9 estate files (import 9); used by 1; mentioned by 0 ### Check V9 9 - File: globalgrid2050/uk_renewables_pipeline/202609081016/tests/check_v9_9.mjs (JavaScript, 142 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609081016/tests/check_v9_9.mjs#L1-L142 - Page: https://code.globalgrid2050.com/explore-code/s/0934.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests interconnectors, the Renewable Energy Planning Database (REPD) register and cables, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). The interconnector tab, proven from the bytes, and the v9.9 release identity. - What it does: It tests interconnectors, the REPD register and cables. Defines text, json, sha256. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register, cables. - Inputs & outputs: In: JSON file interconnectors.v9.8.json; JSON file interconnectors_manifest.json; JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 9 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(s)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file interconnectors.v9.8.json; JSON file interconnectors_manifest.json; JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (url-import-meta 2); used by 1; mentioned by 0 ### Run V9 9 - File: globalgrid2050/uk_renewables_pipeline/202609081016/tests/run_v9_9.sh (Shell, 59 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609081016/tests/run_v9_9.sh#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/0934.html#f2 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. It is built from the is changed helper (`is_changed`). - What it achieves (readme): The README says: Its Renewable Energy Planning Database (REPD) spine, the v9.8 interconnector product, its fixtures and every inherited module are carried byte-for-byte and proven so by `tests/run_v9_9.sh`. - What it does: It tests interconnectors. Defines is_changed. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. README: "its REPD spine, the v9.8 interconnector product, its fixtures and every inherited module are carried byte-for-byte and proven so by `tests/run_v9_9.sh`." - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_changed()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### V9 10 - File: globalgrid2050/uk_renewables_pipeline/202609082224/styles/v9-10.css (CSS, 42 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609082224/styles/v9-10.css#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/0934.html#f3 - Synopsis: A style sheet in the styles folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): Reported on a phone at 23:23 on 8 September: the ACTIONS column was taking most of the width of the table, pushing every other column off-screen. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check V9 10 - File: globalgrid2050/uk_renewables_pipeline/202609082224/tests/check_v9_10.mjs (JavaScript, 143 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609082224/tests/check_v9_10.mjs#L1-L143 - Page: https://code.globalgrid2050.com/explore-code/s/0934.html#f4 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests interconnectors, the Renewable Energy Planning Database (REPD) register and cables, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). The interconnector tab, proven from the bytes, and the v9.10 release identity. - What it does: It tests interconnectors, the REPD register and cables. Defines text, json, sha256. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register, cables. - Inputs & outputs: In: JSON file interconnectors.v9.8.json; JSON file interconnectors_manifest.json; JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 10 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(s)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file interconnectors.v9.8.json; JSON file interconnectors_manifest.json; JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (url-import-meta 2); used by 1; mentioned by 0 ### Run V9 10 - File: globalgrid2050/uk_renewables_pipeline/202609082224/tests/run_v9_10.sh (Shell, 68 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202609082224/tests/run_v9_10.sh#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/0934.html#f5 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. It is built from the is listed helper (`is_listed`). - What it achieves (readme): The README says: Its Renewable Energy Planning Database (REPD) spine, the v9.8 interconnector product, its fixtures and every inherited module are carried byte-for-byte and proven so by `tests/run_v9_10.sh`. - What it does: It tests interconnectors. Defines is_listed. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. README: "its REPD spine, the v9.8 interconnector product, its fixtures and every inherited module are carried byte-for-byte and proven so by `tests/run_v9_10.sh`." - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Check V9 11 - File: globalgrid2050/uk_renewables_pipeline/202610290230/tests/check_v9_11.mjs (JavaScript, 156 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202610290230/tests/check_v9_11.mjs#L1-L156 - Page: https://code.globalgrid2050.com/explore-code/s/0934.html#f6 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests interconnectors, the Renewable Energy Planning Database (REPD) register and cables, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). The V9.10 proofs, unchanged, plus the V9.11 change: the chart library is one exact file checked by Subresource Integrity. - What it does: It tests interconnectors, the REPD register and cables. Defines text, json, sha256. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register, cables. - Inputs & outputs: In: JSON file interconnectors.v9.8.json; JSON file interconnectors_manifest.json; JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 11 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(s)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file interconnectors.v9.8.json; JSON file interconnectors_manifest.json; JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (url-import-meta 2); used by 1; mentioned by 0 ### Run V9 11 - File: globalgrid2050/uk_renewables_pipeline/202610290230/tests/run_v9_11.sh (Shell, 72 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202610290230/tests/run_v9_11.sh#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/0934.html#f7 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. It is built from the is listed helper (`is_listed`). - What it achieves (readme): The README says: Every file except those named in `CHANGES.md` is carried byte for byte, and `tests/run_v9_11.sh` proves it. - What it does: It tests interconnectors. Defines is_listed. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. README: "Every file except those named in `CHANGES.md` is carried byte for byte, and `tests/run_v9_11.sh` proves it." - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Build V9 1 Spine - File: globalgrid2050/uk_renewables_pipeline/202611132345/scripts/data/build_v9_1_spine.py (Python, 193 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611132345/scripts/data/build_v9_1_spine.py#L1-L193 - Page: https://code.globalgrid2050.com/explore-code/s/0935.html#f1 - Synopsis: A Python command-line tool in the data folder of GlobalGrid2050 that reads projects, solar and battery storage (BESS), using SHA-256 and Helmert. - What it achieves (name): Its name says it builds spine. - What it does: It loads projects, solar and battery storage (BESS). Defines main. Uses libraries __future__, json, collections, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file release.v9.1.json; JSON file projects.json; GeoJSON file projects.geojson; JSON file build_manifest.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file projects.json; GeoJSON file projects.geojson; JSON file build_manifest.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Check V9 12 - File: globalgrid2050/uk_renewables_pipeline/202611132345/tests/check_v9_12.mjs (JavaScript, 105 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611132345/tests/check_v9_12.mjs#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/0935.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). The REPD Q3 2026 (October 2026) data refresh, proven from the bytes and through the page's OWN loaders. - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 12 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Verify Pipeline Workflow (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 12 - File: globalgrid2050/uk_renewables_pipeline/202611132345/tests/run_v9_12.sh (Shell, 129 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611132345/tests/run_v9_12.sh#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/0935.html#f3 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests rebuilt coordinates, the Renewable Energy Planning Database (REPD) register and interconnectors, using SHA-256. - What it achieves (readme): It is built from the is listed helper (`is_listed`) and the walk step (`walk`). The README says: Every other byte - JavaScript, styles, newspaper, the v9.8 interconnector product - is the parent's, proven so by `tests/run_v9_12.sh`. - What it does: It tests rebuilt coordinates, the REPD register and interconnectors. Defines is_listed, walk. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, interconnectors. README: "Every other byte - JavaScript, styles, newspaper, the v9.8 interconnector product - is the parent's, proven so by `tests/run_v9_12.sh`." - Inputs & outputs: In: JSON file release.v9.1.json; JSON file rebuilt_coordinates.json; JSON file build_manifest.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Verify Pipeline Workflow (globalgrid2050). - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file rebuilt_coordinates.json; JSON file build_manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Check V9 13 - File: globalgrid2050/uk_renewables_pipeline/202611140058/tests/check_v9_13.mjs (JavaScript, 114 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140058/tests/check_v9_13.mjs#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/0935.html#f4 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). The REPD Q3 2026 (October 2026) release, proven from the bytes and through the page's OWN loaders. - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 13 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Verify Pipeline Workflow (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 13 - File: globalgrid2050/uk_renewables_pipeline/202611140058/tests/run_v9_13.sh (Shell, 137 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140058/tests/run_v9_13.sh#L1-L137 - Page: https://code.globalgrid2050.com/explore-code/s/0935.html#f5 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests rebuilt coordinates and interconnectors, using SHA-256. - What it achieves (readme): It is built from the is listed helper (`is_listed`) and the walk step (`walk`). The README says: Everything is proven by `tests/run_v9_13.sh`. - What it does: It tests rebuilt coordinates and interconnectors. Defines is_listed, walk. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. README: "Everything is proven by `tests/run_v9_13.sh`." - Inputs & outputs: In: JSON file release.v9.1.json; JSON file build_manifest.json; JSON file rebuilt_coordinates.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Verify Pipeline Workflow (globalgrid2050). - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file build_manifest.json; JSON file rebuilt_coordinates.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Check V9 14 - File: globalgrid2050/uk_renewables_pipeline/202611140128/tests/check_v9_14.mjs (JavaScript, 111 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140128/tests/check_v9_14.mjs#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/0936.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.14, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 14 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 14 - File: globalgrid2050/uk_renewables_pipeline/202611140128/tests/run_v9_14.sh (Shell, 94 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140128/tests/run_v9_14.sh#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/0936.html#f2 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Check V9 15 - File: globalgrid2050/uk_renewables_pipeline/202611140136/tests/check_v9_15.mjs (JavaScript, 111 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140136/tests/check_v9_15.mjs#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/0936.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.15, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 15 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 15 - File: globalgrid2050/uk_renewables_pipeline/202611140136/tests/run_v9_15.sh (Shell, 101 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140136/tests/run_v9_15.sh#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/0936.html#f4 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Check V9 16 - File: globalgrid2050/uk_renewables_pipeline/202611140156/tests/check_v9_16.mjs (JavaScript, 111 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140156/tests/check_v9_16.mjs#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/0936.html#f5 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.16, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 16 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 16 - File: globalgrid2050/uk_renewables_pipeline/202611140156/tests/run_v9_16.sh (Shell, 99 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140156/tests/run_v9_16.sh#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0936.html#f6 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Check V9 17 - File: globalgrid2050/uk_renewables_pipeline/202611140216/tests/check_v9_17.mjs (JavaScript, 111 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140216/tests/check_v9_17.mjs#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/0937.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.17, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 17 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 17 - File: globalgrid2050/uk_renewables_pipeline/202611140216/tests/run_v9_17.sh (Shell, 95 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140216/tests/run_v9_17.sh#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/0937.html#f2 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Nearest Datacentre - File: globalgrid2050/uk_renewables_pipeline/202611140223/scripts/plugins/nearest-datacentre.js (JavaScript, 120 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140223/scripts/plugins/nearest-datacentre.js#L1-L120 - Page: https://code.globalgrid2050.com/explore-code/s/0937.html#f3 - Synopsis: A JavaScript file in the plugins folder of GlobalGrid2050 covering datacentres and the Renewable Energy Planning Database (REPD) register, and uses data from the GridAtlas repository. - What it achieves (comment): It gets JSON (`getJson`) and is built from the site MW helper (`siteMw`) and the site source helper (`siteSource`). Nearest data centre, in the PROJECT RECORD of each row. It responds to DOMContentLoaded events. - What it does: It draws datacentres and the REPD register. Defines 9 functions or classes, including getJson, el, mw, siteMw, siteSource. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentre'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file nearest_datacentre.json; JSON file datacentres.json. - Signatures: `getJson(url)`; `el(tag, text)`; `mw(v)`; `siteMw(s)`; `siteSource(s)`; `t(x.dataset || 'source not named')`; `entry(ref)`; `annotate()`; `watch()`; `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file nearest_datacentre.json; JSON file datacentres.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Check V9 18 - File: globalgrid2050/uk_renewables_pipeline/202611140223/tests/check_v9_18.mjs (JavaScript, 112 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140223/tests/check_v9_18.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0937.html#f4 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.18, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 18 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 18 - File: globalgrid2050/uk_renewables_pipeline/202611140223/tests/run_v9_18.sh (Shell, 96 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140223/tests/run_v9_18.sh#L1-L96 - Page: https://code.globalgrid2050.com/explore-code/s/0937.html#f5 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Check V9 19 - File: globalgrid2050/uk_renewables_pipeline/202611140247/tests/check_v9_19.mjs (JavaScript, 112 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140247/tests/check_v9_19.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0937.html#f6 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.19, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 19 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 19 - File: globalgrid2050/uk_renewables_pipeline/202611140247/tests/run_v9_19.sh (Shell, 93 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140247/tests/run_v9_19.sh#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/0938.html#f1 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Check V9 20 - File: globalgrid2050/uk_renewables_pipeline/202611140306/tests/check_v9_20.mjs (JavaScript, 112 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140306/tests/check_v9_20.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0938.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.20, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 20 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 20 - File: globalgrid2050/uk_renewables_pipeline/202611140306/tests/run_v9_20.sh (Shell, 98 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611140306/tests/run_v9_20.sh#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/0938.html#f3 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Newspaper V9 5 1 - File: globalgrid2050/uk_renewables_pipeline/202611141017/scripts/plugins/newspaper-v9-5-1.js (JavaScript, 168 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611141017/scripts/plugins/newspaper-v9-5-1.js#L1-L168 - Page: https://code.globalgrid2050.com/explore-code/s/0938.html#f4 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that draws major project news, the Renewable Energy Planning Database (REPD) register, battery storage (BESS) and solar. - What it achieves (name): It refreshes projects (`refreshProjects`), indexes news (`indexNewsItems`) and draws news v9 (`drawNewsV9_5_1`). Defines `refreshProjects`, `canonicalItem`, `indexNewsItems` and 11 more. - What it does: It draws major project news, the REPD register, battery storage (BESS) and solar. Defines 14 functions or classes, including refreshProjects, canonicalItem, indexNewsItems, signalLabel, signalForProjectV9_5_1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, battery storage (BESS), solar. - Inputs & outputs: In: JSON file major_project_news_v9_5_1.json. - Downstream impact: Used directly by 8 files: Projects V9 5 1 (globalgrid2050); Projects V9 9 (globalgrid2050); Newspaper V9 7 (globalgrid2050); Projects V9 8 (globalgrid2050); and 4 more. Reached from 190 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export signalForProjectV9_5_1(project)`; `export drawNewsV9_5_1()`; `export loadNewsV9_5_1()`; `export bindNewspaperV9_5_1(onNewsLoaded)`; `refreshProjects()`; `canonicalItem(item)`; `indexNewsItems(items)`; `signalLabel(item)`; `itemTechnology(item)`; `newsMatches(item)`; `validPayload(payload)`; `payloadTime(payload)`; `fetchPayload(label, url)`; `renderNews(payload, label)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 8; mentioned by 0 ### Newspaper V9 7 - File: globalgrid2050/uk_renewables_pipeline/202611141017/scripts/plugins/newspaper-v9-7.js (JavaScript, 102 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611141017/scripts/plugins/newspaper-v9-7.js#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/0938.html#f5 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that draws regional news, solar and battery storage (BESS). It queries matches (`queryMatches`), draws regional (`drawRegional`) and draws news v9 (`drawNewsV9_7`). - What it achieves (name): Defines `queryMatches`, `regionalRows`, `drawRegional` and 4 more. - What it does: It draws regional news, solar and battery storage (BESS). Defines 7 functions or classes, including queryMatches, regionalRows, drawRegional, drawNewsV9_7, fetchCommitted. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file regional_news.json; JSON file regional_manifest.json. - Downstream impact: Used directly by 2 files: App V9 8 (globalgrid2050); App V9 9 (globalgrid2050). Reached from 5 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents). - Signatures: `export drawNewsV9_7()`; `export loadNewsV9_7()`; `export bindNewspaperV9_7(onNewsLoaded)`; `queryMatches(item)`; `regionalRows()`; `drawRegional()`; `fetchCommitted(path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file regional_news.json; JSON file regional_manifest.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### V9 21 - File: globalgrid2050/uk_renewables_pipeline/202611141017/styles/v9-21.css (CSS, 27 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611141017/styles/v9-21.css#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0938.html#f6 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it achieves (comment): Nothing here changes a table column. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check V9 21 - File: globalgrid2050/uk_renewables_pipeline/202611141017/tests/check_v9_21.mjs (JavaScript, 112 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611141017/tests/check_v9_21.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0939.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.21, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 21 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 21 - File: globalgrid2050/uk_renewables_pipeline/202611141017/tests/run_v9_21.sh (Shell, 98 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611141017/tests/run_v9_21.sh#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/0939.html#f2 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### V9 22 - File: globalgrid2050/uk_renewables_pipeline/202611151300/styles/v9-22.css (CSS, 27 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611151300/styles/v9-22.css#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0939.html#f3 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it achieves (comment): V9.22 staging: accessible source-health states and 44px desktop MAP hit targets. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Browser Stage Agent7 - File: globalgrid2050/uk_renewables_pipeline/202611151300/tests/browser_stage_agent7.mjs (JavaScript, 163 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611151300/tests/browser_stage_agent7.mjs#L1-L163 - Page: https://code.globalgrid2050.com/explore-code/s/0939.html#f4 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests receivers and the Renewable Energy Planning Database (REPD) register, and uses data from the ventus-grid-engine and GridAtlas repositories. - What it achieves (comment): It parses CSV (`parseCsv`). Agent 7 actual Chromium STAGING preflight (not public served-byte or engine QA). - What it does: It tests receivers and the REPD register. Defines parseCsv. Uses libraries node:assert/strict, node:fs/promises, node:path, node:url, node:module. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: gridatlas data; JSON file build_manifest.json; JSON file receivers.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Agent7 V922 CI Workflow (globalgrid2050); GlobalGrid2050 Deploy Pages Workflow (globalgrid2050). - Signatures: `parseCsv(value)`; `constructor(_canvas, config)`; `update()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: gridatlas data; JSON file build_manifest.json; JSON file receivers.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0 ### Check V9 22 - File: globalgrid2050/uk_renewables_pipeline/202611151300/tests/check_v9_22.mjs (JavaScript, 113 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611151300/tests/check_v9_22.mjs#L1-L113 - Page: https://code.globalgrid2050.com/explore-code/s/0939.html#f5 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.22, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 22 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Agent7 V922 CI Workflow (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Live News Regression V9 22 - File: globalgrid2050/uk_renewables_pipeline/202611151300/tests/live_news_regression_v9_22.mjs (JavaScript, 117 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611151300/tests/live_news_regression_v9_22.mjs#L1-L117 - Page: https://code.globalgrid2050.com/explore-code/s/0939.html#f6 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests solar. It is built from the node step (`node`), the fixture step (`fixture`) and the doc step (`doc`). - What it achieves (comment): V9.22 reader behaviour: real JS executed in an isolated DOM fixture; no network. - What it does: It tests solar. Defines node, fixture, doc, headline. Uses libraries node:assert/strict, node:fs, node:path, node:url, node:vm. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Downstream impact: Used directly by 2 files: Run V9 22 (globalgrid2050); GlobalGrid2050 Agent7 V922 CI Workflow (globalgrid2050). - Signatures: `node(tag)`; `setAttribute(name, value)`; `appendChild(child)`; `insertBefore(child, anchor)`; `removeChild(child)`; `addEventListener()`; `get()`; `set(value)`; `fixture()`; `clearTimeout()`; `doc(status = 'ok', items = [], extra = {})`; `headline(date = '2026-11-08T12:00:00Z')` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Run V9 22 - File: globalgrid2050/uk_renewables_pipeline/202611151300/tests/run_v9_22.sh (Shell, 99 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611151300/tests/run_v9_22.sh#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0940.html#f1 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Agent7 V922 CI Workflow (globalgrid2050). - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 1; mentioned by 0 ### V9 23 - File: globalgrid2050/uk_renewables_pipeline/202611160020/styles/v9-23.css (CSS, 22 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611160020/styles/v9-23.css#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0940.html#f2 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it achieves (comment): V9.23 nonlive briefing; full text is present before any animation. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check V9 23 - File: globalgrid2050/uk_renewables_pipeline/202611160020/tests/check_v9_23.mjs (JavaScript, 112 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611160020/tests/check_v9_23.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0940.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.23, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 23 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 V923 Six Hour Python Repair Workflow (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 23 - File: globalgrid2050/uk_renewables_pipeline/202611160020/tests/run_v9_23.sh (Shell, 99 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611160020/tests/run_v9_23.sh#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0940.html#f4 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V923 Six Hour Python Repair Workflow (globalgrid2050). - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### V9 24 - File: globalgrid2050/uk_renewables_pipeline/202611161244/styles/v9-24.css (CSS, 12 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161244/styles/v9-24.css#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0940.html#f5 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check V9 24 - File: globalgrid2050/uk_renewables_pipeline/202611161244/tests/check_v9_24.mjs (JavaScript, 112 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161244/tests/check_v9_24.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0940.html#f6 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.24, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 24 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 24 - File: globalgrid2050/uk_renewables_pipeline/202611161244/tests/run_v9_24.sh (Shell, 99 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161244/tests/run_v9_24.sh#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0940.html#f7 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Test Model - File: globalgrid2050/uk_renewables_pipeline/202611161630/global-datacentres/test-model.cjs (JavaScript, 40 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161630/global-datacentres/test-model.cjs#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/0940.html#f8 - Synopsis: A JavaScript module in the global datacentres folder of GlobalGrid2050 that tests projects. - What it achieves (comment): Offline checks of the production sample and its defensive browser model. Its code works with 10 MW, 15 MW and 20 MW. - What it does: It tests projects. Uses libraries node:assert/strict, node:fs, node:path, node:vm. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentres'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file projects.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file projects.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Evidence V925 - File: globalgrid2050/uk_renewables_pipeline/202611161630/scripts/plugins/evidence-v925.js (JavaScript, 103 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161630/scripts/plugins/evidence-v925.js#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/0940.html#f9 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that uses SHA-256. It loads evidence (`loadEvidence`) and renders evidence (`renderEvidence`). - What it achieves (comment): Weekly machine matches are leads for review, never verified project events. - What it does: It draws its content. Defines 8 functions or classes, including require, moment, nonempty, add, safeArticleURL. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file latest.json; JSON file evidence.json. - Downstream impact: Used directly by 1 file: Solar1000 V924 (globalgrid2050). Reached from 5 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents). - Signatures: `export loadEvidence(pointerPath, ids)`; `export renderEvidence(parent, project, state)`; `require(condition, message)`; `moment(value)`; `nonempty(value)`; `add(parent, tag, value)`; `safeArticleURL(value)`; `get(url)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file latest.json; JSON file evidence.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Global Datacentres V925 - File: globalgrid2050/uk_renewables_pipeline/202611161630/scripts/plugins/global-datacentres-v925.js (JavaScript, 132 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161630/scripts/plugins/global-datacentres-v925.js#L1-L132 - Page: https://code.globalgrid2050.com/explore-code/s/0941.html#f1 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that draws projects. It maps URL (`mapUrl`) and is built from the https step (`https`) and the valid point helper (`validPoint`). - What it achieves (comment): Separate global data-centre sample. No Renewable Energy Planning Database (REPD) joins or inferred MW/status. It reads `global-datacentres/projects.json`. It responds to input, change and DOMContentLoaded events. - What it does: It draws projects. Defines 12 functions or classes, including https, validPoint, validate, filter, mapUrl. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentres'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file projects.json. - Signatures: `https(value)`; `validPoint(point)`; `validate(data)`; `filter(records, query, country)`; `mapUrl(record)`; `capacityLabels(record)`; `element(tag, cls, text)`; `link(label, url)`; `card(record)`; `render(host, data)`; `update()`; `init(host)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file projects.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Pipeline Tabs V925 - File: globalgrid2050/uk_renewables_pipeline/202611161630/scripts/plugins/pipeline-tabs-v925.js (JavaScript, 25 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161630/scripts/plugins/pipeline-tabs-v925.js#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/0941.html#f2 - Synopsis: A JavaScript file in the plugins folder of GlobalGrid2050. It is built from the select step (`select`). - What it achieves (comment): Top-level datasets have separate identities, counts and controls. It responds to click, keydown and input events. - What it does: Defines select. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `select(index,focus=false)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### V9 25 - File: globalgrid2050/uk_renewables_pipeline/202611161630/styles/v9-25.css (CSS, 84 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161630/styles/v9-25.css#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/0941.html#f3 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check V9 25 - File: globalgrid2050/uk_renewables_pipeline/202611161630/tests/check_v9_25.mjs (JavaScript, 112 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161630/tests/check_v9_25.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0941.html#f4 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.25, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 25 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 25 - File: globalgrid2050/uk_renewables_pipeline/202611161630/tests/run_v9_25.sh (Shell, 112 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161630/tests/run_v9_25.sh#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0941.html#f5 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pipeline Project Evidence Weekly Workflow (globalgrid2050). - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### V9 26 - File: globalgrid2050/uk_renewables_pipeline/202611161734/styles/v9-26.css (CSS, 5 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161734/styles/v9-26.css#L1-L5 - Page: https://code.globalgrid2050.com/explore-code/s/0941.html#f6 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it achieves (comment): One credited news list; compact explanations stay beside each headline. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check V9 26 - File: globalgrid2050/uk_renewables_pipeline/202611161734/tests/check_v9_26.mjs (JavaScript, 112 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161734/tests/check_v9_26.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0941.html#f7 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.26, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 26 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 26 - File: globalgrid2050/uk_renewables_pipeline/202611161734/tests/run_v9_26.sh (Shell, 97 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161734/tests/run_v9_26.sh#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/0941.html#f8 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Research Priority V927 - File: globalgrid2050/uk_renewables_pipeline/202611161747/scripts/plugins/research-priority-v927.js (JavaScript, 62 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161747/scripts/plugins/research-priority-v927.js#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/0942.html#f1 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that renders record (`renderRecord`) and attaches rows (`attachRows`), covering the Renewable Energy Planning Database (REPD) register and solar. - What it achieves (comment): It renders record (`renderRecord`) and attaches rows (`attachRows`). Research ordering is separate from official facts, news verification and Solar-1000. It responds to pipeline, toggle and click events. - What it does: It draws the REPD register and solar. Defines boundedFile, renderRecord, attachRows, reloadPriority. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: JSON file priority.json. - Signatures: `export reloadPriority()`; `boundedFile(name,limit)`; `renderRecord(details)`; `attachRows()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file priority.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Research Priority V927 - File: globalgrid2050/uk_renewables_pipeline/202611161747/styles/research-priority-v927.css (CSS, 13 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161747/styles/research-priority-v927.css#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/0942.html#f2 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it achieves (comment): Additive project-detail styling only; existing table, actions and CSV unchanged. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check V9 27 - File: globalgrid2050/uk_renewables_pipeline/202611161747/tests/check_v9_27.mjs (JavaScript, 112 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161747/tests/check_v9_27.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0942.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.27, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 27 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 27 - File: globalgrid2050/uk_renewables_pipeline/202611161747/tests/run_v9_27.sh (Shell, 104 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161747/tests/run_v9_27.sh#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/0942.html#f4 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Build - File: globalgrid2050/uk_renewables_pipeline/202611161757/global-datacentres/build.py (Python, 228 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161757/global-datacentres/build.py#L1-L228 - Page: https://code.globalgrid2050.com/explore-code/s/0942.html#f5 - Synopsis: A Python command-line tool in the global datacentres folder of GlobalGrid2050 that reads global centre records, facts, pass1 and pipeline audit, using SHA-256. - What it achieves (comment): It is built from the compact JSON helper (`compact_json`), the values step (`values`) and the revision URL helper (`revision_url`). Rebuild the bounded global sample offline from pinned CC0 structured facts. - What it does: It loads global centre records, facts, pass1 and pipeline audit. Defines 8 functions or classes, including compact_json, values, revision_url, selection_audit, project. Uses libraries __future__, hashlib, json, pathlib, shutil. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentres'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`build.py` is a deterministic offline furnace." - Inputs & outputs: In: Parquet file global-data-centre-records-v1.parquet; JSON file source-facts.json; Parquet file pass1.parquet; DuckDB queries. Out: JSON file pipeline-audit.json; JSON file selection-audit.json; JSON file projects.json; Parquet file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `compact_json(value)`; `values(entity, prop)`; `revision_url(entity)`; `selection_audit(facts)`; `project(path=HERE / "source-facts.json")`; `flatten(record, digest)`; `expand(row)`; `build(path=HERE / "source-facts.json", output_dir=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [Parquet file global-data-centre-records-v1.parquet; JSON file source-facts.json; Parquet file pass1.parquet; DuckDB queries]; out [JSON file pipeline-audit.json; JSON file selection-audit.json; JSON file projects.json; Parquet file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Register Changes - File: globalgrid2050/uk_renewables_pipeline/202611161757/scripts/plugins/register-changes.js (JavaScript, 113 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161757/scripts/plugins/register-changes.js#L1-L113 - Page: https://code.globalgrid2050.com/explore-code/s/0942.html#f6 - Synopsis: A JavaScript file in the plugins folder of GlobalGrid2050 that shows table (`showInTable`), covering the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It shows table (`showInTable`) and is built from the day step (`day`) and the kind step (`kind`). What moved in the REPD between the July and October 2026 releases. It reads `events/register_changes.json`. It responds to click and DOMContentLoaded events. - What it does: It draws the REPD register. Defines 8 functions or classes, including el, day, kind, showInTable, style. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file register_changes.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `el(tag, cls, text)`; `day(iso)`; `kind(t)`; `showInTable(ref)`; `style()`; `section(doc)`; `annotate()`; `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file register_changes.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check V9 28 - File: globalgrid2050/uk_renewables_pipeline/202611161757/tests/check_v9_28.mjs (JavaScript, 114 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161757/tests/check_v9_28.mjs#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/0943.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.28, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 28 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 28 - File: globalgrid2050/uk_renewables_pipeline/202611161757/tests/run_v9_28.sh (Shell, 113 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611161757/tests/run_v9_28.sh#L1-L113 - Page: https://code.globalgrid2050.com/explore-code/s/0943.html#f2 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050). - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Catalogue - File: globalgrid2050/uk_renewables_pipeline/202611162354/scripts/layers/catalogue.mjs (JavaScript, 18 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611162354/scripts/layers/catalogue.mjs#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/0943.html#f3 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 covering grid substations and offtakers filtered, using SHA-256, and uses data from the GridAtlas repository. - What it achieves (comment): Existing, immutable GridAtlas products; no new collector or copied archive. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Layers V929 (globalgrid2050). Reached from 5 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Controls - File: globalgrid2050/uk_renewables_pipeline/202611162354/scripts/layers/controls.mjs (JavaScript, 60 lines) · role interaction · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611162354/scripts/layers/controls.mjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0943.html#f4 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050. It is built from the mount layer controls helper (`mountLayerControls`) and the activate step (`activate`). - What it achieves (name): Defines `mountLayerControls`, `tab`, `keyboard` and 1 more. It responds to keydown and click events. - What it does: It draws its content. Defines el, mountLayerControls, tab, keyboard, activate. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Layers V929 (globalgrid2050). Reached from 5 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents). - Signatures: `export mountLayerControls(root, {registry, renderers, initial = 'substations'})`; `el(doc, tag, text, className)`; `tab(button, chosen)`; `keyboard(container)`; `activate(id)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Registry - File: globalgrid2050/uk_renewables_pipeline/202611162354/scripts/layers/registry.mjs (JavaScript, 85 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611162354/scripts/layers/registry.mjs#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/0943.html#f5 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that reads bounded (`readBounded`), using SHA-256. - What it achieves (comment): It reads bounded (`readBounded`) and is built from the sha256 step (`sha256`) and the freeze step (`freeze`). A data-plane extension of Pipeline's existing plugin host, not a script loader. - What it does: Defines 6 functions or classes, including validateRegistry, sha256, readBounded, createDataRegistry, freeze. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: Layers V929 (globalgrid2050); Contracts Test (globalgrid2050). Reached from 10 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V929 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export validateRegistry(manifest)`; `export sha256(bytes)`; `export createDataRegistry(manifest, {fetchImpl = globalThis.fetch, timeoutMs = 20000} = {})`; `readBounded(response, maxBytes)`; `freeze(value)`; `load(id)`; `clear()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### URL Policy - File: globalgrid2050/uk_renewables_pipeline/202611162354/scripts/layers/url-policy.mjs (JavaScript, 14 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611162354/scripts/layers/url-policy.mjs#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0943.html#f6 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that works with public https URL (`publicHttpsUrl`) and price workspace URL (`priceWorkspaceUrl`). - What it achieves (comment): It is built from the public https URL helper (`publicHttpsUrl`) and the price workspace URL helper (`priceWorkspaceUrl`). Browser navigation policy, not a DNS-based source-rights or identity decision. - What it does: It calculates its inputs. Defines publicHttpsUrl, priceWorkspaceUrl. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 4 files: Registry (globalgrid2050); Views (globalgrid2050); Model (globalgrid2050); Contracts Test (globalgrid2050). Reached from 14 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V929 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export publicHttpsUrl(value)`; `export priceWorkspaceUrl(value)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Views - File: globalgrid2050/uk_renewables_pipeline/202611162354/scripts/layers/views.mjs (JavaScript, 117 lines) · role interaction · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611162354/scripts/layers/views.mjs#L1-L117 - Page: https://code.globalgrid2050.com/explore-code/s/0943.html#f7 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that renders assets (`renderAssets`), draws analytics (`drawAnalytics`) and renders grid projects (`renderGridProjects`), covering substations, using SHA-256. - What it achieves (name): It renders assets (`renderAssets`), draws analytics (`drawAnalytics`) and renders grid projects (`renderGridProjects`). Defines `node`, `link`, `csvCell` and 7 more. It responds to toggle, input and click events. - What it does: It draws substations. Defines 10 functions or classes, including node, link, csvCell, assetCsv, renderAssets. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: Out: CSV file -results.csv; canvas drawing. - Downstream impact: Used directly by 2 files: Layers V929 (globalgrid2050); Contracts Test (globalgrid2050). Reached from 10 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V929 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export assetCsv(rows,{sourceUrl=null,datasetAttribution=null}={})`; `export renderAssets(host,{data,layer})`; `export renderGridProjects(host)`; `export renderPrices(host,{layer})`; `node(doc, tag, text, cls)`; `link(doc, label, href)`; `csvCell(value)`; `draw()`; `drawAnalytics()`; `update()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [CSV file -results.csv; canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Preview V928 - File: globalgrid2050/uk_renewables_pipeline/202611162354/styles/preview-v928.css (CSS, 36 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611162354/styles/preview-v928.css#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0943.html#f8 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it achieves (comment): Bounded successor layout; approved V9.24 styles remain the substrate. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check V9 29 - File: globalgrid2050/uk_renewables_pipeline/202611162354/tests/check_v9_29.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611162354/tests/check_v9_29.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0943.html#f9 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.29, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 29 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 V929 Preview Acceptance Workflow (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 29 - File: globalgrid2050/uk_renewables_pipeline/202611162354/tests/run_v9_29.sh (Shell, 108 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611162354/tests/run_v9_29.sh#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/0944.html#f1 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V929 Preview Acceptance Workflow (globalgrid2050). - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Check V9 30 - File: globalgrid2050/uk_renewables_pipeline/202611170147/tests/check_v9_30.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611170147/tests/check_v9_30.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0944.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.30, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 30 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 V930 Preview Acceptance Workflow (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 30 - File: globalgrid2050/uk_renewables_pipeline/202611170147/tests/run_v9_30.sh (Shell, 98 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611170147/tests/run_v9_30.sh#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/0944.html#f3 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V930 Preview Acceptance Workflow (globalgrid2050). - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### DC Locations V930 - File: globalgrid2050/uk_renewables_pipeline/202611170243/scripts/plugins/dc-locations-v930.mjs (JavaScript, 40 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611170243/scripts/plugins/dc-locations-v930.mjs#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/0944.html#f4 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that works with ensure locations (`ensureLocations`), using SHA-256. - What it achieves (comment): It is built from the ensure locations helper (`ensureLocations`) and the transport step (`transport`). Existing DC records own the table; this accepted cartridge adds source locations. It responds to pipeline events. - What it does: It draws its content. Defines ensureLocations, transport. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file dc-locations.v930.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `ensureLocations()`; `transport(url,options={})` - domain_stage: sub33kv_design · commercial_user: IPP_developer, EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file dc-locations.v930.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Layers V929 - File: globalgrid2050/uk_renewables_pipeline/202611170243/scripts/plugins/layers-v929.mjs (JavaScript, 37 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611170243/scripts/plugins/layers-v929.mjs#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0944.html#f5 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that lists and searches substations. It updates ticker (`updateTicker`) and is built from the mount category helper (`mountCategory`). - What it achieves (comment): Explicit accepted renderers; existing Pipeline owns category navigation/news. It responds to pipeline events. - What it does: It lists and searches substations. Defines mountCategory, updateTicker. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `mountCategory(id)`; `updateTicker(doc)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 5 estate files (import 5); used by 1; mentioned by 0 ### Prices V931 - File: globalgrid2050/uk_renewables_pipeline/202611170243/scripts/plugins/prices-v931.mjs (JavaScript, 41 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611170243/scripts/plugins/prices-v931.mjs#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0944.html#f6 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that works with ensure prices (`ensurePrices`), using SHA-256. It is built from the ensure prices helper (`ensurePrices`). - What it achieves (name): Defines `ensurePrices` and `transport`. It responds to pipeline events. - What it does: It draws its content. Defines ensurePrices, transport. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file prices.v931.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `ensurePrices()`; `transport(url,options={})` - domain_stage: hv_procurement · commercial_user: IPP_developer, EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file prices.v931.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Verified Inputs - File: globalgrid2050/uk_renewables_pipeline/202611170243/scripts/plugins/verified-inputs.mjs (JavaScript, 20 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611170243/scripts/plugins/verified-inputs.mjs#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0944.html#f7 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that fetches pinned (`fetchPinned`), using SHA-256. It fetches pinned (`fetchPinned`). - What it achieves (comment): Bounded SHA-256 transport shared by optional source cartridges. - What it does: It fetches data. Defines fetchPinned. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 3 files: DC Locations V930 (globalgrid2050); Prices V931 (globalgrid2050); Primary Notes V932 (globalgrid2050). Reached from 5 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents). - Signatures: `export fetchPinned(url, expected, limit, exact = null)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Check V9 31 - File: globalgrid2050/uk_renewables_pipeline/202611170243/tests/check_v9_31.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611170243/tests/check_v9_31.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0944.html#f8 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.31, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 31 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 V931 Preview Acceptance Workflow (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 31 - File: globalgrid2050/uk_renewables_pipeline/202611170243/tests/run_v9_31.sh (Shell, 101 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611170243/tests/run_v9_31.sh#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/0944.html#f9 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V931 Preview Acceptance Workflow (globalgrid2050). - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Check V9 32 - File: globalgrid2050/uk_renewables_pipeline/202611170324/tests/check_v9_32.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611170324/tests/check_v9_32.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0945.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.32, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 32 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 V932 Preview Acceptance Workflow (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 32 - File: globalgrid2050/uk_renewables_pipeline/202611170324/tests/run_v9_32.sh (Shell, 98 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611170324/tests/run_v9_32.sh#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/0945.html#f2 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V932 Preview Acceptance Workflow (globalgrid2050). - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Machine Notes V923 - File: globalgrid2050/uk_renewables_pipeline/202611170512/scripts/plugins/machine-notes-v923.js (JavaScript, 170 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611170512/scripts/plugins/machine-notes-v923.js#L1-L170 - Page: https://code.globalgrid2050.com/explore-code/s/0945.html#f3 - Synopsis: A JavaScript file in the plugins folder of GlobalGrid2050 that updates visible notes (`updateVisibleNotes`) and sets primary notes (`setPrimaryNotes`), covering the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It updates visible notes (`updateVisibleNotes`) and sets primary notes (`setPrimaryNotes`). No original article is republished. It responds to click and pipeline events. - What it does: It draws the REPD register. Defines 10 functions or classes, including el, originalLink, headlineSummaryV923, shortHeadlineV923, latestTime. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 2 files: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 V923 Six Hour Python Repair Workflow (globalgrid2050). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `el(tag, cls, text)`; `originalLink(raw)`; `headlineSummaryV923(item)`; `shortHeadlineV923(item)`; `latestTime(item)`; `load(doc)`; `updateVisibleNotes()`; `panel()`; `setPrimaryNotes(index, view, projectFor)`; `open(button)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Primary Notes V932 - File: globalgrid2050/uk_renewables_pipeline/202611170512/scripts/plugins/primary-notes-v932.mjs (JavaScript, 39 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611170512/scripts/plugins/primary-notes-v932.mjs#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0945.html#f4 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that works with ensure primary notes (`ensurePrimaryNotes`), using SHA-256. It is built from the ensure primary notes helper (`ensurePrimaryNotes`). - What it achieves (name): Defines `ensurePrimaryNotes` and `checked`. It responds to pipeline events. - What it does: Defines ensurePrimaryNotes, checked. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file primary-notes.v932.json; JSON file notes.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `ensurePrimaryNotes()`; `checked(url,pin)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file primary-notes.v932.json; JSON file notes.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Check V9 33 - File: globalgrid2050/uk_renewables_pipeline/202611170512/tests/check_v9_33.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611170512/tests/check_v9_33.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0945.html#f5 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.33, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 33 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 V933 Preview Acceptance Workflow (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 33 - File: globalgrid2050/uk_renewables_pipeline/202611170512/tests/run_v9_33.sh (Shell, 98 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611170512/tests/run_v9_33.sh#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/0945.html#f6 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V933 Preview Acceptance Workflow (globalgrid2050). - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Check V9 34 - File: globalgrid2050/uk_renewables_pipeline/202611171141/tests/check_v9_34.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171141/tests/check_v9_34.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0946.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.34, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 34 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 34 - File: globalgrid2050/uk_renewables_pipeline/202611171141/tests/run_v9_34.sh (Shell, 97 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171141/tests/run_v9_34.sh#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/0946.html#f2 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Check V9 35 - File: globalgrid2050/uk_renewables_pipeline/202611171217/tests/check_v9_35.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171217/tests/check_v9_35.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0946.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.35, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 35 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 35 - File: globalgrid2050/uk_renewables_pipeline/202611171217/tests/run_v9_35.sh (Shell, 97 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171217/tests/run_v9_35.sh#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/0946.html#f4 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Model - File: globalgrid2050/uk_renewables_pipeline/202611171507/scripts/layers/model.mjs (JavaScript, 59 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171507/scripts/layers/model.mjs#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/0946.html#f5 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050 that works with substations and uses data from the GridAtlas repository. - What it achieves (name): It selects rows (`selectRows`) and is built from the asset rows helper (`assetRows`) and the voltage label helper (`voltageLabel`). Defines `assetRows`, `selectRows`, `voltageLabel` and 3 more. - What it does: It calculates substations. Defines 6 functions or classes, including assetRows, selectRows, voltageLabel, locationLink, publicationStamp. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Downstream impact: Used directly by 6 files: Views (globalgrid2050); Ticker (globalgrid2050); Contracts Test (globalgrid2050); Browser (globalgrid2050); and 2 more. Reached from 12 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V929 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export assetRows(payload, kind)`; `export selectRows(rows, query = '')`; `export voltageLabel(value)`; `export locationLink(row)`; `export latestHeadlines(items, limit = 100, {asOf=Date.now()}={})`; `publicationStamp(value)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, estate-url 1); used by 6; mentioned by 0 ### Pipeline Layers - File: globalgrid2050/uk_renewables_pipeline/202611171507/scripts/layers/pipeline-layers.css (CSS, 35 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171507/scripts/layers/pipeline-layers.css#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/0946.html#f6 - Synopsis: A style sheet in the scripts folder of GlobalGrid2050. - What it achieves (comment): Scoped extension: it never restyles the approved Pipeline shell or other apps. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check V9 36 - File: globalgrid2050/uk_renewables_pipeline/202611171507/tests/check_v9_36.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171507/tests/check_v9_36.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0946.html#f7 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.36, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 36 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 36 - File: globalgrid2050/uk_renewables_pipeline/202611171507/tests/run_v9_36.sh (Shell, 100 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171507/tests/run_v9_36.sh#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/0947.html#f1 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Check V9 37 - File: globalgrid2050/uk_renewables_pipeline/202611171526/tests/check_v9_37.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171526/tests/check_v9_37.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0947.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.37, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 37 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 37 - File: globalgrid2050/uk_renewables_pipeline/202611171526/tests/run_v9_37.sh (Shell, 98 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171526/tests/run_v9_37.sh#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/0947.html#f3 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Check V9 38 - File: globalgrid2050/uk_renewables_pipeline/202611171550/tests/check_v9_38.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171550/tests/check_v9_38.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0947.html#f4 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.38, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 38 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 38 - File: globalgrid2050/uk_renewables_pipeline/202611171550/tests/run_v9_38.sh (Shell, 97 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171550/tests/run_v9_38.sh#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/0947.html#f5 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Datacentre News - File: globalgrid2050/uk_renewables_pipeline/202611171609/scripts/plugins/datacentre-news.js (JavaScript, 124 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171609/scripts/plugins/datacentre-news.js#L1-L124 - Page: https://code.globalgrid2050.com/explore-code/s/0947.html#f6 - Synopsis: A JavaScript file in the plugins folder of GlobalGrid2050 that works with first available (`firstAvailable`). - What it achieves (name): It fetches JSON (`fetchJson`) and is built from the first available helper (`firstAvailable`) and the story step (`story`). Defines `fetchJson`, `firstAvailable`, `day` and 4 more. It responds to click and DOMContentLoaded events. - What it does: It draws its content. Defines 8 functions or classes, including fetchJson, firstAvailable, el, day, story. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentre'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file datacentre_news.json. - Signatures: `fetchJson(url)`; `firstAvailable(i)`; `el(tag, cls, text)`; `day(iso)`; `story(item)`; `style()`; `render(d)`; `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file datacentre_news.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check V9 39 - File: globalgrid2050/uk_renewables_pipeline/202611171609/tests/check_v9_39.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171609/tests/check_v9_39.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0948.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.39, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 39 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 39 - File: globalgrid2050/uk_renewables_pipeline/202611171609/tests/run_v9_39.sh (Shell, 97 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171609/tests/run_v9_39.sh#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/0948.html#f2 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Ticker - File: globalgrid2050/uk_renewables_pipeline/202611171710/scripts/layers/ticker.mjs (JavaScript, 3 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171710/scripts/layers/ticker.mjs#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0948.html#f3 - Synopsis: A JavaScript module in the layers folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Layers V929 (globalgrid2050). Reached from 5 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Check V9 40 - File: globalgrid2050/uk_renewables_pipeline/202611171710/tests/check_v9_40.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171710/tests/check_v9_40.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0948.html#f4 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.40, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 40 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 40 - File: globalgrid2050/uk_renewables_pipeline/202611171710/tests/run_v9_40.sh (Shell, 97 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171710/tests/run_v9_40.sh#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/0948.html#f5 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Check V9 41 - File: globalgrid2050/uk_renewables_pipeline/202611171940/tests/check_v9_41.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171940/tests/check_v9_41.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0948.html#f6 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.41, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 41 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 41 - File: globalgrid2050/uk_renewables_pipeline/202611171940/tests/run_v9_41.sh (Shell, 96 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611171940/tests/run_v9_41.sh#L1-L96 - Page: https://code.globalgrid2050.com/explore-code/s/0948.html#f7 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Check V9 42 - File: globalgrid2050/uk_renewables_pipeline/202611172355/tests/check_v9_42.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611172355/tests/check_v9_42.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0949.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.42, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 42 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 42 - File: globalgrid2050/uk_renewables_pipeline/202611172355/tests/run_v9_42.sh (Shell, 96 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611172355/tests/run_v9_42.sh#L1-L96 - Page: https://code.globalgrid2050.com/explore-code/s/0949.html#f2 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Check V9 43 - File: globalgrid2050/uk_renewables_pipeline/202611180058/tests/check_v9_43.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611180058/tests/check_v9_43.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0949.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.43, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 43 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 43 - File: globalgrid2050/uk_renewables_pipeline/202611180058/tests/run_v9_43.sh (Shell, 97 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611180058/tests/run_v9_43.sh#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/0949.html#f4 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Preview V928 - File: globalgrid2050/uk_renewables_pipeline/202611180451/scripts/plugins/preview-v928.js (JavaScript, 157 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611180451/scripts/plugins/preview-v928.js#L1-L157 - Page: https://code.globalgrid2050.com/explore-code/s/0949.html#f5 - Synopsis: A JavaScript file in the plugins folder of GlobalGrid2050 that draws official projects, project groups, selection audit and sources, using SHA-256. - What it achieves (comment): It loads grid (`loadGrid`) and is built from the pinned bytes helper (`pinnedBytes`) and the text step (`text`). Non-live host composition. Modules retain their own owners and evidence states. It responds to click, keydown and pipeline events. - What it does: It draws official projects, project groups, selection audit and sources. Defines pinnedBytes, text, loadGrid, activate, initialiseCategory. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file projects.json; JSON file official-projects.json; JSON file project-groups.json; JSON file selection-audit.json; JSON file sources.json; JSON file transition-context.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `pinnedBytes(url, expected)`; `text(tag, value)`; `loadGrid()`; `activate(tab, focus = false, preserveTechnology = false)`; `initialiseCategory()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file projects.json; JSON file official-projects.json; JSON file project-groups.json; JSON file selection-audit.json; JSON file sources.json; JSON file transition-context.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (dynamic-import 3); used by 1; mentioned by 0 ### Check V9 44 - File: globalgrid2050/uk_renewables_pipeline/202611180451/tests/check_v9_44.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611180451/tests/check_v9_44.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0950.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.44, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 44 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 44 - File: globalgrid2050/uk_renewables_pipeline/202611180451/tests/run_v9_44.sh (Shell, 98 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611180451/tests/run_v9_44.sh#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/0950.html#f2 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Check V9 45 - File: globalgrid2050/uk_renewables_pipeline/202611180520/tests/check_v9_45.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611180520/tests/check_v9_45.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0950.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.45, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 45 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 45 - File: globalgrid2050/uk_renewables_pipeline/202611180520/tests/run_v9_45.sh (Shell, 99 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611180520/tests/run_v9_45.sh#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0950.html#f4 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Check V9 46 - File: globalgrid2050/uk_renewables_pipeline/202611180633/tests/check_v9_46.mjs (JavaScript, 123 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611180633/tests/check_v9_46.mjs#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/0950.html#f5 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, interconnectors and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the text step (`text`), the JSON step (`json`) and the sha256 step (`sha256`). Pipeline News V9.46, proven from the bytes and through the page's OWN loaders (the pattern of `check_v9_13.mjs`). - What it does: It tests major project news, interconnectors and the REPD register. Defines text, json, sha256, fmt. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json. - Downstream impact: Used directly by 1 file: Run V9 46 (globalgrid2050). - Signatures: `text(p)`; `json(p)`; `sha256(b)`; `fmt(n)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file release.v9.5.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file interconnectors.v9.8.json; JSON file interconnectors.json; JSON file interconnectors_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 1; mentioned by 0 ### Run V9 46 - File: globalgrid2050/uk_renewables_pipeline/202611180633/tests/run_v9_46.sh (Shell, 99 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611180633/tests/run_v9_46.sh#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/0950.html#f6 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that tests interconnectors. - What it achieves (name): Defines `is_listed` and `walk`. - What it does: It tests interconnectors. Defines is_listed, walk. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file release.v9.1.json; command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `is_listed()`; `walk()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Column Scroll - File: globalgrid2050/uk_renewables_pipeline/202611191154/column-scroll.mjs (JavaScript, 13 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611191154/column-scroll.mjs#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/0950.html#f7 - Synopsis: A JavaScript module in the UK renewables pipeline folder of GlobalGrid2050. It is built from the extent step (`extent`), the sync step (`sync`) and the size step (`size`). - What it achieves (comment): Native touch scrolling remains available; the persistent slider is an additional control. It responds to scroll, input and resize events. - What it does: Defines extent, sync, size. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `extent()`; `sync()`; `size()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### News Compact - File: globalgrid2050/uk_renewables_pipeline/202611191154/news-compact.mjs (JavaScript, 53 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611191154/news-compact.mjs#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/0951.html#f1 - Synopsis: A JavaScript module in the UK renewables pipeline folder of GlobalGrid2050 that cleans ticker (`cleanTicker`). It cleans ticker (`cleanTicker`). - What it achieves (name): Defines `cleanTicker`. - What it does: It draws its content. Defines cleanTicker. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `cleanTicker()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Live News - File: globalgrid2050/uk_renewables_pipeline/202611191154/scripts/plugins/live-news.js (JavaScript, 237 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611191154/scripts/plugins/live-news.js#L1-L237 - Page: https://code.globalgrid2050.com/explore-code/s/0951.html#f2 - Synopsis: A JavaScript file in the plugins folder of GlobalGrid2050 that draws pipeline headlines snapshot, rank, solar and wind, using SHA-256. It gets bytes (`getBytes`) and validates priority (`validatePriority`). - What it achieves (name): Defines `quality`, `stamp`, `label` and 13 more. It responds to click and DOMContentLoaded events. - What it does: It draws pipeline headlines snapshot, rank, solar and wind. Defines 17 functions or classes, including quality, el, stamp, label, valid. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind. - Inputs & outputs: In: JSON file pipeline_headlines.json; JSON file pipeline_headlines.snapshot.json; JSON file .rank.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 V923 Six Hour Python Repair Workflow (globalgrid2050). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `quality(view)`; `el(tag, cls, text)`; `stamp(iso, withTime)`; `label(generatedAt, status, nowMs, source, counts)`; `valid(doc)`; `getBytes(url, ms)`; `decode(bytes)`; `keys(value, expected)`; `safeLink(value)`; `current(doc, source, nowMs)`; `validatePriority(doc, bytes, sidecar)`; `when(item)`; `shortPublisher(value)`; `row(item, priority)`; `render(doc, source, nowMs)`; `items(ranked || doc.items.map(function (it,i) {return {item:it,index:i};}))`; `draw()`; `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pipeline_headlines.json; JSON file pipeline_headlines.snapshot.json; JSON file .rank.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### News Compact - File: globalgrid2050/uk_renewables_pipeline/202611191154/styles/news-compact.css (CSS, 36 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611191154/styles/news-compact.css#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0951.html#f3 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Gauges V9 2 - File: globalgrid2050/uk_renewables_pipeline/202611191418/scripts/plugins/gauges-v9-2.js (JavaScript, 71 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611191418/scripts/plugins/gauges-v9-2.js#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/0951.html#f4 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that updates chart (`updateChart`) and formats capacity v9 (`formatCapacityV9_2`) and largest v9 (`formatLargestV9_2`) (units: MW). - What it achieves (name): It creates gauge (`createGauge`), updates chart (`updateChart`) and formats capacity v9 (`formatCapacityV9_2`). Defines `createGauge`, `updateChart`, `formatCapacityV9_2` and 4 more. - What it does: Defines 7 functions or classes, including createGauge, updateChart, formatCapacityV9_2, formatLargestV9_2, initialiseGaugesV9_2. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 5 files: Projects V9 5 1 (globalgrid2050); App V9 8 (globalgrid2050); App V9 9 (globalgrid2050); Projects V9 9 (globalgrid2050); and 1 more. Reached from 12 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 Pn V973 Capacity Reports Workflow (globalgrid2050). - Signatures: `export formatCapacityV9_2(value)`; `export formatLargestV9_2(value)`; `export initialiseGaugesV9_2()`; `export setGaugeUniverseV9_2(projects)`; `export updateGaugesV9_2(projects)`; `createGauge(canvasId, colour, options)`; `updateChart(chart, value, maximum)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Compact Register - File: globalgrid2050/uk_renewables_pipeline/202611191418/styles/compact-register.css (CSS, 180 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611191418/styles/compact-register.css#L1-L180 - Page: https://code.globalgrid2050.com/explore-code/s/0951.html#f5 - Synopsis: A style sheet in the styles folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): Retain existing IDs, links and listeners. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Hud V955 - File: globalgrid2050/uk_renewables_pipeline/202611191418/styles/hud-v955.css (CSS, 41 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611191418/styles/hud-v955.css#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0951.html#f6 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Hud V955 - File: globalgrid2050/uk_renewables_pipeline/202611201709/tests/hud-v955.mjs (JavaScript, 66 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611201709/tests/hud-v955.mjs#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/0951.html#f7 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register and solar. - What it achieves (name): Defines `box`. - What it does: It tests the REPD register and solar. Defines box. Uses libraries node:assert/strict, playwright, node:fs/promises. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Pn V955 Hud Workflow (globalgrid2050); GlobalGrid2050 Pn V956 Hud Workflow (globalgrid2050); GlobalGrid2050 Pn V957 Hud Workflow (globalgrid2050); GlobalGrid2050 Pn V958 News Maximise Workflow (globalgrid2050); and 1 more. - Signatures: `box(s)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (dynamic-import 1); used by 5; mentioned by 0 ### Renewable Energy Planning Database (REPD) Summary Regression - File: globalgrid2050/uk_renewables_pipeline/202611201709/tests/repd-summary-regression.mjs (JavaScript, 79 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611201709/tests/repd-summary-regression.mjs#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/0952.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the REPD register. It reads rows (`readRows`). - What it achieves (name): Defines `readRows` and `visible`. It reads `solar1000/manifest.json`. - What it does: It tests the REPD register. Defines readRows, visible. Uses libraries node:assert/strict, playwright. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: Hud V955 (globalgrid2050). Reached from 5 other entry points, including GlobalGrid2050 Pn V955 Hud Workflow (globalgrid2050); GlobalGrid2050 Pn V956 Hud Workflow (globalgrid2050); GlobalGrid2050 Pn V957 Hud Workflow (globalgrid2050). - Signatures: `readRows()`; `visible(e)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### News Maximise - File: globalgrid2050/uk_renewables_pipeline/202611212308/news-maximise.mjs (JavaScript, 96 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611212308/news-maximise.mjs#L1-L96 - Page: https://code.globalgrid2050.com/explore-code/s/0952.html#f2 - Synopsis: A JavaScript module in the UK renewables pipeline folder of GlobalGrid2050 that sets open (`setOpen`). It sets open (`setOpen`). - What it achieves (name): Defines `label` and `setOpen`. It responds to click, keydown and pagehide events. - What it does: It draws its content. Defines label, setOpen. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `label()`; `setOpen(next, restoreFocus = true)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### News Maximise - File: globalgrid2050/uk_renewables_pipeline/202611212340/styles/news-maximise.css (CSS, 41 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611212340/styles/news-maximise.css#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0952.html#f3 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it achieves (comment): V9.59 compact news control: inherited V9.58 fixed overlay remains unchanged. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### News Maximise - File: globalgrid2050/uk_renewables_pipeline/202611212340/tests/news-maximise.mjs (JavaScript, 131 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611212340/tests/news-maximise.mjs#L1-L131 - Page: https://code.globalgrid2050.com/explore-code/s/0952.html#f4 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register. - What it does: It tests the REPD register. Uses libraries node:assert/strict, playwright, node:fs/promises. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Pn V958 News Maximise Workflow (globalgrid2050); GlobalGrid2050 Pn V959 Compact News Workflow (globalgrid2050); GlobalGrid2050 Pn V960 Renewable Energy Planning Database (REPD) Landscape Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Renewable Energy Planning Database (REPD) Landscape - File: globalgrid2050/uk_renewables_pipeline/202611212344/repd-landscape.mjs (JavaScript, 112 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611212344/repd-landscape.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/0952.html#f5 - Synopsis: A JavaScript module in the UK renewables pipeline folder of GlobalGrid2050 that refreshes label (`refreshLabel`), covering the REPD register. - What it achieves (name): It refreshes label (`refreshLabel`) and is built from the cancel request helper (`cancelRequest`) and the enter step (`enter`). Defines `landscape`, `siblings`, `refreshLabel` and 5 more. It responds to click, keydown and change events. - What it does: It draws the REPD register. Defines 8 functions or classes, including landscape, siblings, refreshLabel, cancelRequest, enter. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Signatures: `landscape()`; `siblings()`; `refreshLabel()`; `cancelRequest()`; `enter()`; `restore(returnFocus=true)`; `request()`; `orientationChanged()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Renewable Energy Planning Database (REPD) Landscape - File: globalgrid2050/uk_renewables_pipeline/202611212344/styles/repd-landscape.css (CSS, 70 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611212344/styles/repd-landscape.css#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/0952.html#f6 - Synopsis: A style sheet in the styles folder of GlobalGrid2050 covering the REPD register. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Renewable Energy Planning Database (REPD) Landscape - File: globalgrid2050/uk_renewables_pipeline/202611212344/tests/repd-landscape.mjs (JavaScript, 122 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611212344/tests/repd-landscape.mjs#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/0952.html#f7 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the REPD register. - What it does: It tests the REPD register. Uses libraries node:assert/strict, playwright, node:fs/promises. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pn V960 Renewable Energy Planning Database (REPD) Landscape Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Density - File: globalgrid2050/uk_renewables_pipeline/202611220100/repd-density.mjs (JavaScript, 49 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611220100/repd-density.mjs#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/0952.html#f8 - Synopsis: A JavaScript module in the UK renewables pipeline folder of GlobalGrid2050 that updates mode (`updateMode`), covering the REPD register. - What it achieves (comment): It updates mode (`updateMode`) and is built from the annotate rows helper (`annotateRows`). Does not alter data or sort handlers. It responds to change, click and pipeline events. - What it does: It draws the REPD register. Defines updateMode, annotateRows. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `updateMode(next)`; `annotateRows()`; `words(label.textContent||'')` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Density - File: globalgrid2050/uk_renewables_pipeline/202611220100/styles/repd-density.css (CSS, 124 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611220100/styles/repd-density.css#L1-L124 - Page: https://code.globalgrid2050.com/explore-code/s/0953.html#f1 - Synopsis: A style sheet in the styles folder of GlobalGrid2050 covering the REPD register. - What it achieves (comment): All underlying records, column order, links and sort controls are retained. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Density - File: globalgrid2050/uk_renewables_pipeline/202611220100/tests/repd-density.mjs (JavaScript, 65 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611220100/tests/repd-density.mjs#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/0953.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the REPD register. - What it achieves (name): Defines `snapshot`. - What it does: It tests the REPD register. Defines snapshot. Uses libraries node:assert/strict, playwright, node:fs/promises. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pn V961 Renewable Energy Planning Database (REPD) Density Workflow (globalgrid2050). - Signatures: `snapshot()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Scan - File: globalgrid2050/uk_renewables_pipeline/202611220125/styles/repd-scan.css (CSS, 169 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611220125/styles/repd-scan.css#L1-L169 - Page: https://code.globalgrid2050.com/explore-code/s/0953.html#f3 - Synopsis: A style sheet in the styles folder of GlobalGrid2050 covering the REPD register. - What it achieves (comment): V9.62 prospect scan: facts-first Project / MW / MAP, with optional County and Operator in wide view. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Scan - File: globalgrid2050/uk_renewables_pipeline/202611220125/tests/repd-scan.mjs (JavaScript, 85 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611220125/tests/repd-scan.mjs#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/0953.html#f4 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the REPD register. - What it achieves (name): Defines `sample`. - What it does: It tests the REPD register. Defines sample. Uses libraries node:assert/strict, playwright, node:fs/promises. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pn V962 Renewable Energy Planning Database (REPD) Scan Workflow (globalgrid2050). - Signatures: `sample()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Report A4 - File: globalgrid2050/uk_renewables_pipeline/202611220220/tests/report-a4.mjs (JavaScript, 86 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611220220/tests/report-a4.mjs#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/0953.html#f5 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register and solar, and uses data from the GridAtlas repository. - What it does: It tests the REPD register and solar. Uses libraries node:assert/strict, node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: data source: gridatlas data. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pn V963 A4 Report Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 2, estate-url 1); used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Liquid - File: globalgrid2050/uk_renewables_pipeline/202611221243/repd-liquid.mjs (JavaScript, 265 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611221243/repd-liquid.mjs#L1-L265 - Page: https://code.globalgrid2050.com/explore-code/s/0954.html#f1 - Synopsis: A JavaScript module in GlobalGrid2050 that updates slider, zooms to, calculates planar distances and reads inputs for pn liquid format, pn liquid and pn liquid status. - What it achieves (comment): It maps URL (`mapUrl`) and updates slider (`updateSlider`). V9.63 individual A4/PDF is untouched. It responds to click, change and input events. - What it does: It draws the REPD register, interconnectors, solar and battery storage (BESS). Defines 17 functions or classes, including $, esc, date, allRows, mapUrl. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, interconnectors, solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). - Signatures: `$(id)`; `esc(value)`; `date(value)`; `allRows()`; `mapUrl(project)`; `rowHtml(project,index)`; `decorate()`; `dimensions()`; `updateSlider()`; `draw(force=false)`; `gap(px)`; `requestDraw()`; `zoomTo(value,holdPosition=true)`; `cx(viewport.scrollLeft+viewport.clientWidth/2)`; `cy(viewport.scrollTop+viewport.clientHeight/2)`; `sync()`; `show()`; `close()`; `selector({updated:')`; `left(viewport.scrollLeft+viewport.clientWidth/2)`; `distance(touches)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 0; mentioned by 0 ### Renewable Energy Planning Database (REPD) Liquid - File: globalgrid2050/uk_renewables_pipeline/202611221243/styles/repd-liquid.css (CSS, 185 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611221243/styles/repd-liquid.css#L1-L185 - Page: https://code.globalgrid2050.com/explore-code/s/0954.html#f2 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it achieves (comment): V9.63 individual A4/PDF remains unchanged. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Renewable Energy Planning Database (REPD) Liquid - File: globalgrid2050/uk_renewables_pipeline/202611221243/tests/repd-liquid.mjs (JavaScript, 138 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611221243/tests/repd-liquid.mjs#L1-L138 - Page: https://code.globalgrid2050.com/explore-code/s/0954.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the REPD register. - What it does: It tests the REPD register. Uses libraries node:assert/strict, node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pn V964 Liquid Overview Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Expanded - File: globalgrid2050/uk_renewables_pipeline/202611221850/styles/repd-expanded.css (CSS, 708 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611221850/styles/repd-expanded.css#L1-L708 - Page: https://code.globalgrid2050.com/explore-code/s/0955.html#f1 - Synopsis: A style sheet in the styles folder of GlobalGrid2050 covering the REPD register. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Expanded - File: globalgrid2050/uk_renewables_pipeline/202611221900/repd-expanded.mjs (JavaScript, 384 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611221900/repd-expanded.mjs#L1-L384 - Page: https://code.globalgrid2050.com/explore-code/s/0956.html#f2 - Synopsis: A JavaScript module in the UK renewables pipeline folder of GlobalGrid2050 that scales clamp (`scaleClamp`), sets table scale (`setTableScale`), fits columns (`fitAllColumns`) and calculates planar distances (units: MW). - What it achieves (comment): It sets table scale (`setTableScale`), fits columns (`fitAllColumns`) and mirrors map link (`mirrorMapLink`). V9.69: both orientations, MAP directly after Project, A4 stays at far right; full-height reading view. It responds to touchstart, touchmove and touchend events. - What it does: It draws the REPD register. Defines 22 functions or classes, including scaleClamp, setTableScale, fitAllColumns, distance, centre. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `scaleClamp(value)`; `setTableScale(next,clientX=null,clientY=null)`; `baseX(wrap.scrollLeft+x)`; `fitAllColumns()`; `distance(a,b)`; `centre(a,b)`; `endPinch(event)`; `resizeLiveGauges()`; `scheduleGaugeResize()`; `nativeMapLink(row)`; `mirrorMapLink(anchor,source)`; `syncMapColumn()`; `clearMapColumn()`; `paintOperators()`; `updateExpandedPager()`; `dismissFilter()`; `make(tag,text,cls)`; `chooser(label,choices,value,onChange)`; `srcSelect(selector)`; `openFilter(key,button)`; `doApply()`; `show()`; `close()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Expanded - File: globalgrid2050/uk_renewables_pipeline/202611221930/tests/repd-expanded.mjs (JavaScript, 75 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611221930/tests/repd-expanded.mjs#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/0956.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the REPD register. - What it achieves (comment): V9.69 — full-height portrait/landscape, MAP second, A4 last, normal intact. It responds to click events. - What it does: It tests the REPD register. Uses libraries node:assert/strict, playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. README: "No code changes to `repd-expanded.mjs`, project renderer, GridAtlas receiver or A4 modules." - Downstream impact: Used directly by 7 files: GlobalGrid2050 Pn V965 Expanded Renewable Energy Planning Database (REPD) Workflow (globalgrid2050); GlobalGrid2050 Pn V966 Operator Actions Workflow (globalgrid2050); GlobalGrid2050 Pn V967 Native Columns Workflow (globalgrid2050); GlobalGrid2050 Pn V968 Focused Landscape Workflow (globalgrid2050); and 3 more. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### V972 Vicinity A4 PDF - File: globalgrid2050/uk_renewables_pipeline/202611222222/tests/v972-vicinity-a4-pdf.mjs (JavaScript, 82 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611222222/tests/v972-vicinity-a4-pdf.mjs#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/0956.html#f4 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. - What it achieves (comment): It compares a4 PDF (`compareA4AndPdf`) and is built from the PDF literal helper (`pdfLiteral`). V9.72: end-to-end REPD identity / normal MAP / A4 HTML / PDF / expanded MAP parity. - What it does: It tests the REPD register. Defines pdfLiteral, compareA4AndPdf. Uses libraries node:assert/strict, node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pn V972 Vicinity A4 PDF Workflow (globalgrid2050). - Signatures: `pdfLiteral(url)`; `compareA4AndPdf(page, rowSelector, expected)`; `content(await readFile(await download.path()))` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 2, estate-url 1); used by 1; mentioned by 0 ### Renewable Energy Planning Database (REPD) Reports - File: globalgrid2050/uk_renewables_pipeline/202611222330/styles/repd-reports.css (CSS, 50 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611222330/styles/repd-reports.css#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0956.html#f5 - Synopsis: A style sheet in the styles folder of GlobalGrid2050 covering the REPD register. - What it achieves (comment): V9.73 additive REPD intelligence reports. Native palette, table, MAP/A4 untouched. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### V973 Renewable Energy Planning Database (REPD) Reports Browser - File: globalgrid2050/uk_renewables_pipeline/202611222330/tests/v973-repd-reports-browser.mjs (JavaScript, 70 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611222330/tests/v973-repd-reports-browser.mjs#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/0956.html#f6 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the REPD register and uses data from the GridAtlas repository. - What it achieves (name): Its code works with 1000 MW. - What it does: It tests the REPD register. Uses libraries node:assert/strict, playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pn V973 Capacity Reports Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### V973 Renewable Energy Planning Database (REPD) Reports - File: globalgrid2050/uk_renewables_pipeline/202611222330/tests/v973-repd-reports.mjs (JavaScript, 60 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611222330/tests/v973-repd-reports.mjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/0957.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the REPD register and solar. - What it achieves (name): Defines `read` and `almost`. It reads `data/v9.1/build_manifest.json`. - What it does: It tests the REPD register and solar. Defines read, almost. Uses libraries node:assert/strict, node:test, node:fs, node:url, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: JSON file build_manifest.json. - Downstream impact: Used directly by 4 files: GlobalGrid2050 Pn V973 Capacity Reports Workflow (globalgrid2050); GlobalGrid2050 Pn V974 Cockpit Integration Workflow (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Mobile V976 Workflow (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Native V975 Workflow (globalgrid2050). - Signatures: `read(file)`; `almost(a, b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Renewable Energy Planning Database (REPD) Reports Model - File: globalgrid2050/uk_renewables_pipeline/202611231600/repd-reports-model.mjs (JavaScript, 55 lines) · role energy-data · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611231600/repd-reports-model.mjs#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/0957.html#f2 - Synopsis: A JavaScript module in the UK renewables pipeline folder of GlobalGrid2050 that works with the REPD register and interconnectors. - What it achieves (name): It builds REPD capacity report (`buildRepdCapacityReport`) and is built from the empty summary helper (`emptySummary`). Defines `label`, `emptySummary`, `accumulate` and 1 more. - What it does: It calculates the REPD register and interconnectors. Defines label, emptySummary, accumulate, buildRepdCapacityReport. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, interconnectors. - Downstream impact: Used directly by 6 files: Operator Aliases Test (globalgrid2050); Real V975 Test (globalgrid2050); V973 Renewable Energy Planning Database (REPD) Reports (globalgrid2050); Renewable Energy Planning Database (REPD) Reports (globalgrid2050); and 2 more. Reached from 7 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 Pn V974 Cockpit Integration Workflow (globalgrid2050). - Signatures: `export buildRepdCapacityReport(projects, dimension)`; `label(value)`; `emptySummary()`; `accumulate(summary, project)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 6; mentioned by 0 ### Renewable Energy Planning Database (REPD) Reports - File: globalgrid2050/uk_renewables_pipeline/202611231600/repd-reports.mjs (JavaScript, 295 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611231600/repd-reports.mjs#L1-L295 - Page: https://code.globalgrid2050.com/explore-code/s/0957.html#f3 - Synopsis: A JavaScript module in the UK renewables pipeline folder of GlobalGrid2050 that builds interconnector capacity report (`buildInterconnectorCapacityReport`) and formats capacity (`formatCapacity`) and count (`formatCount`) (units: MW). - What it achieves (code): It builds interconnector capacity report (`buildInterconnectorCapacityReport`), formats capacity (`formatCapacity`) and formats count (`formatCount`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click, toggle and pipeline events. - What it does: It draws capacity, the REPD register, interconnectors and solar. Defines 22 functions or classes, including el, nativeTechnology, chosenFilter, buildInterconnectorCapacityReport, empty. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, interconnectors, solar. - Inputs & outputs: Out: CSV file -capacity.csv; downloaded file repd-. - Downstream impact: Used directly by 4 files: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pn V973 Capacity Reports Workflow (globalgrid2050); GlobalGrid2050 Pn V974 Cockpit Integration Workflow (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Native V975 Workflow (globalgrid2050). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `el(tag, className, value)`; `nativeTechnology()`; `chosenFilter()`; `buildInterconnectorCapacityReport(projects, dimension)`; `empty()`; `add(target, project)`; `formatCapacity(n)`; `formatCount(n)`; `capacityDescription(summary)`; `projectTableLink(project)`; `projectMapLink(project)`; `statusDetails(group, destination)`; `projectRow(project)`; `projectDetails(group, destination)`; `makeGroup(group, maximum, index)`; `sourceRows()`; `renderNativeSummary(report)`; `render()`; `selectReport(dimension)`; `downloadCsv()`; `quote(value)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [CSV file -capacity.csv; downloaded file repd-]; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 4; mentioned by 0 ### Renewable Energy Planning Database (REPD) Scan - File: globalgrid2050/uk_renewables_pipeline/202611231600/repd-scan.mjs (JavaScript, 41 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611231600/repd-scan.mjs#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0957.html#f4 - Synopsis: A JavaScript module in the UK renewables pipeline folder of GlobalGrid2050 that updates mode (`updateMode`), covering the REPD register. - What it achieves (comment): It updates mode (`updateMode`) and is built from the sync step (`sync`). Show only project, real capacity and MAP by default. It responds to click, change and pipeline events. - What it does: It lists and searches the REPD register. Defines updateMode, sync. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 2 files: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Renewable Energy Planning Database (REPD) Native V975 Workflow (globalgrid2050). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `updateMode()`; `sync()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Renewable Energy Planning Database (REPD) Mobile V976 - File: globalgrid2050/uk_renewables_pipeline/202611232245/styles/repd-mobile-v976.css (CSS, 88 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611232245/styles/repd-mobile-v976.css#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/0957.html#f5 - Synopsis: A style sheet in the styles folder of GlobalGrid2050 covering the REPD register. - What it achieves (comment): V9.76 — mobile-only readability fix for the V9.75 native REPD capacity reports. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### V976 Mobile Browser - File: globalgrid2050/uk_renewables_pipeline/202611232245/tests/v976-mobile-browser.mjs (JavaScript, 113 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611232245/tests/v976-mobile-browser.mjs#L1-L113 - Page: https://code.globalgrid2050.com/explore-code/s/0957.html#f6 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): Fail the build if numbers are rendered as one character per line. - What it does: It tests the REPD register. Uses libraries node:assert/strict, playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Renewable Energy Planning Database (REPD) Mobile V976 Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Projects V9 8 - File: globalgrid2050/uk_renewables_pipeline/202611280048/scripts/plugins/projects-v9-8.js (JavaScript, 589 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611280048/scripts/plugins/projects-v9-8.js#L1-L589 - Page: https://code.globalgrid2050.com/explore-code/s/0958.html#f1 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that compares register columns, parses MW, syncs MW controls and reads inputs for min MW, max MW and county. - What it achieves (code): It compares register columns (`compareRegisterColumns`), parses MW (`parseMW`) and syncs MW controls (`syncMWControls`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click and change events. - What it does: It draws the REPD register, interconnectors, solar and battery storage (BESS). Defines 46 functions or classes, including compareRegisterColumns, universeFor, parseMW, capacityWithinMW, syncMWControls. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, interconnectors, solar, battery storage (BESS). - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 6 files: App V9 8 (globalgrid2050); Renewable Energy Planning Database (REPD) Liquid (globalgrid2050); Renewable Energy Planning Database (REPD) Expanded (globalgrid2050); Renewable Energy Planning Database (REPD) Reports (globalgrid2050); and 2 more. Reached from 7 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 Pn V973 Capacity Reports Workflow (globalgrid2050). - Signatures: `export compareRegisterColumns(a,b,key,direction)`; `export parseMW(value)`; `export capacityWithinMW(value,min,max)`; `export atlasUrlV9_5_1(project)`; `export compareProjectUpdatesV9_5_1(left, right, direction = "desc")`; `export compareProjectSubmissionsV934(left, right, direction="desc")`; `export compareProjectOperationalV935(left,right,direction="desc")`; `export shortProjectName(name)`; `export loadProjectsV9_8()`; `export refreshProjectsV9_8()`; `export bindProjectControlsV9_8()`; `export setExpandedPageRows(enabled)`; `universeFor()`; `syncMWControls()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `populateDateYears()`; `syncYearControls()`; `matchesYear(value,year)`; `relationshipSummary(project)`; `mapActionHtmlV9_5_1(project)`; `schedule(step)`; `interconnectorRowHtml(record)`; `compactSummary(project,unit)` (and 15 more) - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 11 estate files (import 11); used by 6; mentioned by 0 ### GlobalGrid2050 — UK Renewables Pipeline Page - File: globalgrid2050/uk_renewables_pipeline/202611280922/index.html (HTML, 329 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611280922/index.html#L1-L329 - Page: https://code.globalgrid2050.com/explore-code/s/0959.html#f1 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/202611280922/ - Synopsis: A web page that draws pipeline headlines snapshot, the Renewable Energy Planning Database (REPD) register and solar, using SHA-256, and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/uk_renewables_pipeline/202611280922/. - What it achieves (name): Its code works with 1 MW. - What it does: It draws pipeline headlines snapshot, the REPD register, solar and battery storage (BESS). Uses libraries styles/v7.css?v=9.8, vendor/chart.umd.min.js. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: JSON file pipeline_headlines.snapshot.json; JSON file build_manifest.json; JSON file latest.json; form fields (user input). Out: web page. - Downstream impact: Used directly by 5 files: Check Solar1000 V924 (globalgrid2050); Browser Map Reachability V9 7 (globalgrid2050); A4 Legal Model (globalgrid2050); Test Pilot Ticker (cosmic); and 1 more. Reached from 2 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); Run V9 7 (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/202611280922/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pipeline_headlines.snapshot.json; JSON file build_manifest.json; JSON file latest.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 61 estate files (stylesheet 30, script-src 30, link 1); used by 5; mentioned by 0 ### Report A4 - File: globalgrid2050/uk_renewables_pipeline/202611280922/report-a4.mjs (JavaScript, 235 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611280922/report-a4.mjs#L1-L235 - Page: https://code.globalgrid2050.com/explore-code/s/0959.html#f2 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/202611280922/ - Synopsis: A JavaScript module in GlobalGrid2050 that fits view and calculates planar distances, covering the Renewable Energy Planning Database (REPD) register. Served with the page at https://globalgrid2050.com/uk_renewables_pipeline/202611280922/. - What it achieves (name): It fits view (`fitView`), opens report (`openReport`) and closes report (`closeReport`). Defines `set`, `physical`, `button` and 10 more. It responds to click, pipeline and keydown events. - What it does: It draws the REPD register. Defines 14 functions or classes, including $, set, physical, button, resize. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Out: downloaded file REPD-. - Downstream impact: Used directly by 2 files: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pn V972 Vicinity A4 PDF Workflow (globalgrid2050). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/202611280922/. - Signatures: `$(id)`; `set(id,value)`; `physical()`; `button(action)`; `resize(scaleTo,keepCenter=false)`; `oldCenterY(viewport.scrollTop+viewport.clientHeight/2)`; `fitView(which='width')`; `render(data)`; `annotate()`; `openReport(trigger)`; `project(state.all||[])`; `validProjectMap(anchor)`; `closeReport()`; `pdfDownload()`; `action(name)`; `dist(a,b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [downloaded file REPD-]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Report Model - File: globalgrid2050/uk_renewables_pipeline/202611280922/report-model.mjs (JavaScript, 40 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611280922/report-model.mjs#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/0959.html#f3 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/202611280922/ - Synopsis: A JavaScript module in the UK renewables pipeline folder of GlobalGrid2050 that works with the Renewable Energy Planning Database (REPD) register and interconnectors. Served with the page at https://globalgrid2050.com/uk_renewables_pipeline/202611280922/. - What it achieves (comment): It is built from the date step (`date`) and the report data helper (`reportData`). V9.63 A4 report: official REPD identity and existing source location. - What it does: It calculates the REPD register and interconnectors. Defines s, date, reportData. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, interconnectors. - Downstream impact: Used directly by 5 files: Report A4 (globalgrid2050); V972 Vicinity A4 PDF (globalgrid2050); Report A4 (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); A4 Legal Model (globalgrid2050); and 1 more. Reached from 5 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 Pn V963 A4 Report Workflow (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/202611280922/. - Signatures: `export reportData(project,mapHref,metadata={})`; `s(v)`; `date(v)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 5; mentioned by 0 ### Report PDF - File: globalgrid2050/uk_renewables_pipeline/202611280922/report-pdf.mjs (JavaScript, 94 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611280922/report-pdf.mjs#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/0959.html#f4 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/202611280922/ - Synopsis: A JavaScript module in the UK renewables pipeline folder of GlobalGrid2050 that works with the Renewable Energy Planning Database (REPD) register. Served with the page at https://globalgrid2050.com/uk_renewables_pipeline/202611280922/. - What it achieves (comment): It splits text (`splitText`) and builds a4 PDF (`buildA4Pdf`). One-page A4 project report with clickable source links. - What it does: It calculates the REPD register. Defines ascii, literal, splitText, buildA4Pdf, add. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 4 files: Report A4 (globalgrid2050); V972 Vicinity A4 PDF (globalgrid2050); Report A4 (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); A4 Legal Model (globalgrid2050). Reached from 6 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 Pn V963 A4 Report Workflow (globalgrid2050). - Signatures: `export buildA4Pdf(details,{landscape=false}={})`; `ascii(value)`; `literal(value)`; `splitText(value,max=70)`; `add(content)`; `block(i+1)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Report A4 - File: globalgrid2050/uk_renewables_pipeline/202611280922/styles/report-a4.css (CSS, 132 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611280922/styles/report-a4.css#L1-L132 - Page: https://code.globalgrid2050.com/explore-code/s/0960.html#f1 - Synopsis: A style sheet in the styles folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): V9.63 independent A4 project report. Default table remains maximally dense. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### A4 Legal Evidence - File: globalgrid2050/uk_renewables_pipeline/202611280922/tests/a4-legal-evidence.py (Python, 110 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611280922/tests/a4-legal-evidence.py#L1-L110 - Page: https://code.globalgrid2050.com/explore-code/s/0960.html#f2 - Synopsis: A Python command-line tool in the tests folder of GlobalGrid2050 that tests the Renewable Energy Planning Database (REPD) register. It checks PDF (`check_pdf`) and checks project (`check_project`). - What it achieves (comment): Check the legal action through the register, A4 sheet and both PDF outputs. It accepts `--origin` and `--open-reader`. - What it does: It tests the REPD register. Defines QuietHandler, log_message, address, check_pdf, check_project. Uses libraries argparse, io, os, contextlib, functools. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050). - Signatures: `class QuietHandler`; `log_message(self, *args)`; `address(public)`; `check_pdf(source, expected, landscape)`; `check_project(browser, base, ref, width, expanded, open_reader)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### A4 Legal Model - File: globalgrid2050/uk_renewables_pipeline/202611280922/tests/a4-legal-model.mjs (JavaScript, 41 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/202611280922/tests/a4-legal-model.mjs#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/0960.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 using data from the legislation repository. - What it does: It tests its inputs. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: legislation data. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: legislation data]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 2, url-import-meta 1, estate-url 1); used by 1; mentioned by 0 ### Dashboard - File: globalgrid2050/uk_renewables_pipeline/dashboard.html (HTML, 820 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/dashboard.html#L1-L820 - Page: https://code.globalgrid2050.com/explore-code/s/0960.html#f4 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/dashboard.html - Synopsis: A web page in the UK renewables pipeline folder of GlobalGrid2050 that draws Renewable Energy Planning Database (REPD) master, solar, wind and battery storage (BESS). Published at https://globalgrid2050.com/uk_renewables_pipeline/dashboard.html. - What it achieves (comment): It updates gauges (`updateGauges`), updates table (`updateTable`) and applies filters (`applyFilters`). UK Renewables Pipeline. Its code works with 1 MW. It responds to click, change and input events. - What it does: It draws REPD master, solar, wind and battery storage (BESS). Defines 8 functions or classes, including initGauges, updateGauges, updateTable, applyFilters, populateFilters. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind, battery storage (BESS). - Inputs & outputs: In: JSON file repd_master.json; form fields (user input). Out: web page; canvas drawing. - Downstream impact: Used directly by 82 files: GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/); GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V7 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/); and 78 more. Reached from 130 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/dashboard.html. - Signatures: `initGauges()`; `updateGauges(filteredData)`; `updateTable(filteredData)`; `applyFilters()`; `populateFilters(countiesSet, operatorsSet)`; `csvEscape(value)`; `exportFilteredCSV(event)`; `titleCase(str)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file repd_master.json; form fields (user input)]; out [web page; canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 82; mentioned by 1 ### Dashboard V2 2026 08 22 - File: globalgrid2050/uk_renewables_pipeline/dashboard_v2_2026-08-22.html (HTML, 29 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/dashboard_v2_2026-08-22.html#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/0961.html#f2 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v2_2026-08-22.html - Synopsis: A web page in the UK renewables pipeline folder of GlobalGrid2050 covering solar and battery storage (BESS). Published at https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v2_2026-08-22.html. - What it achieves (comment): UK Renewables Pipeline V2. Its code works with 50 MW, 300 MW and 500 MW. - What it does: It draws solar and battery storage (BESS). Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 75 files: GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/); Dashboard V4 Live (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v4_live.html); Dashboard V5 Live (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v5_live.html); and 71 more. Reached from 117 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v2_2026-08-22.html. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 75; mentioned by 0 ### Dashboard V4 Live - File: globalgrid2050/uk_renewables_pipeline/dashboard_v4_live.html (HTML, 38 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/dashboard_v4_live.html#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0961.html#f3 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v4_live.html - Synopsis: A web page in the UK renewables pipeline folder of GlobalGrid2050 that draws major project news, Renewable Energy Planning Database (REPD) master, solar and battery storage (BESS). Published at https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v4_live.html. - What it achieves (comment): It loads news (`loadNews`) and is built from the esc step (`esc`) and the apply step (`apply`). UK Renewables Pipeline V4 Live. Its code works with 100 MW, 30 MW and 1 MW. - What it does: It draws major project news, REPD master, solar and battery storage (BESS). Defines esc, apply, title, loadNews. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file major_project_news_v4.json; JSON file repd_master.json; form fields (user input). Out: downloaded file globalgrid2050_uk_renewables_pipeline_v4_; web page. - Downstream impact: Used directly by 74 files: GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/); Dashboard V5 Live (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v5_live.html); Dashboard V6 Live (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v6_live.html); and 70 more. Reached from 117 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v4_live.html. - Signatures: `esc(v)`; `charts()`; `gauges(d)`; `table(d)`; `apply()`; `title(s)`; `renderNews(payload)`; `loadNews()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v4.json; JSON file repd_master.json; form fields (user input)]; out [downloaded file globalgrid2050_uk_renewables_pipeline_v4_; web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 74; mentioned by 0 ### Dashboard V5 Live - File: globalgrid2050/uk_renewables_pipeline/dashboard_v5_live.html (HTML, 68 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/dashboard_v5_live.html#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/0961.html#f4 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v5_live.html - Synopsis: A web page in the UK renewables pipeline folder of GlobalGrid2050 that draws major project news, Renewable Energy Planning Database (REPD) master, solar and battery storage (BESS). Published at https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v5_live.html. - What it achieves (comment): It fetches news payload (`fetchNewsPayload`) and loads news (`loadNews`). UK Solar + Storage Daily V5. Its code works with 1 MW and 100 MW. - What it does: It draws major project news, REPD master, solar and battery storage (BESS). Defines 9 functions or classes, including esc, normProject, apply, title, financeEvent. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file major_project_news_v5.json; JSON file repd_master.json; form fields (user input). Out: downloaded file globalgrid2050_uk_renewables_pipeline_v5_; web page. - Downstream impact: Used directly by 74 files: GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/); Dashboard V6 Live (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v6_live.html); UK Renewables Pipeline — V7 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v7/); and 70 more. Reached from 116 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v5_live.html. - Signatures: `esc(v)`; `normProject(v)`; `signalForProject(name)`; `charts()`; `gauges(d)`; `table(d)`; `apply()`; `title(s)`; `financeEvent(e)`; `newsMatch(i)`; `drawNews()`; `renderNews(payload)`; `validNewsPayload(p)`; `newsPayloadTime(p)`; `fetchNewsPayload(label,url)`; `loadNews()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v5.json; JSON file repd_master.json; form fields (user input)]; out [downloaded file globalgrid2050_uk_renewables_pipeline_v5_; web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 74; mentioned by 0 ### Dashboard V6 Live - File: globalgrid2050/uk_renewables_pipeline/dashboard_v6_live.html (HTML, 237 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/dashboard_v6_live.html#L1-L237 - Page: https://code.globalgrid2050.com/explore-code/s/0962.html#f1 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v6_live.html - Synopsis: A web page in the UK renewables pipeline folder of GlobalGrid2050 that draws major projects and major project news, using SHA-256. Published at https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v6_live.html. - What it achieves (comment): It validates project snapshot (`validateProjectSnapshot`), draws table (`drawTable`) and validates news snapshot (`validateNewsSnapshot`). UK Solar + Storage Daily V6. Its code works with 1 MW and 100 MW. - What it does: It draws major projects, major project news, the REPD register and solar. Defines 27 functions or classes, including $, esc, norm, clean, hex64. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: JSON file major_projects_v6.json; JSON file major_project_news_v6.json; form fields (user input). Out: CSV file globalgrid2050_uk_renewables_v6_q2_2026.csv; downloaded file globalgrid2050_uk_renewables_v6_q2_2026.csv; web page. - Downstream impact: Used directly by 72 files: GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/); UK Renewables Pipeline — V7 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v7/); UK Renewables Pipeline — V8 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v8/); and 68 more. Reached from 117 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v6_live.html. - Signatures: `$(id)`; `esc(v)`; `norm(v)`; `clean(v)`; `hex64(v)`; `validDate(v)`; `assert(ok,message)`; `sameOriginURL(path)`; `canonicalJSON(value,key='')`; `sha256(text)`; `projectView(row,index)`; `validateProjectSnapshot(payload)`; `setupCharts()`; `signal(ref)`; `apply()`; `drawTable()`; `fillFilters()`; `isForeign(item,project)`; `validPublicURL(value)`; `validateNewsSnapshot(payload)`; `nmatch(item)`; `drawNews()`; `loadNews()`; `formatTimestamp(value)`; `loadProjects()` (and 2 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_projects_v6.json; JSON file major_project_news_v6.json; form fields (user input)]; out [CSV file globalgrid2050_uk_renewables_v6_q2_2026.csv; downloaded file globalgrid2050_uk_renewables_v6_q2_2026.csv; web page]; crs []; voltages [] - Edges: uses 5 estate files (link 5); used by 72; mentioned by 0 ### UK Renewables Pipeline — Datacentres Page - File: globalgrid2050/uk_renewables_pipeline/datacentres/index.html (HTML, 140 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/datacentres/index.html#L1-L140 - Page: https://code.globalgrid2050.com/explore-code/s/0962.html#f2 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/datacentres/ - Synopsis: A web page in GlobalGrid2050 that draws UK datacentre pipeline, datacentre proximity and the Renewable Energy Planning Database (REPD) register, and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/uk_renewables_pipeline/datacentres/. - What it achieves (comment): It parses CSV (`parseCsv`) and is built from the esc step (`esc`) and the num step (`num`). One static page, no build step. - What it does: It draws UK datacentre pipeline, datacentre proximity, the REPD register and solar. Defines 13 functions or classes, including esc, num, fmt, parseCsv, dcLink. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentres'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: data source: gridatlas data; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; CSV file datacentre_proximity.csv; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/datacentres/. - Signatures: `esc(s)`; `num(v)`; `fmt(v)`; `parseCsv(text)`; `dcLink(d)`; `repdLink(ref, tech)`; `newsLink(q)`; `repd10(d)`; `dcMw(d)`; `nearest(d)`; `render()`; `mwOf(d)`; `PIPE(d)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; GeoJSON file uk_datacentre_pipeline_202610312133.geojson; CSV file datacentre_proximity.csv; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### UK Renewables Pipeline — V7 Page - File: globalgrid2050/uk_renewables_pipeline/v7/index.html (HTML, 125 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v7/index.html#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/0962.html#f3 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/v7/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for news and county (units: MW), covering the Renewable Energy Planning Database (REPD) register, battery storage (BESS) and wind. Published at https://globalgrid2050.com/uk_renewables_pipeline/v7/. - What it achieves (comment): UK Solar + Storage Daily V7.1. Its code works with 1 MW and 100 MW. - What it does: It draws the REPD register, battery storage (BESS) and wind. Uses libraries styles/v7.css. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, battery storage (BESS), wind. README: "Thin `index.html` with separate CSS and JavaScript modules." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 75 files: GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/); Check V7 2 Project Model (globalgrid2050); UK Renewables Pipeline — V8 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v8/); and 71 more. Reached from 114 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/v7/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 8 estate files (link 6, stylesheet 1, script-src 1); used by 75; mentioned by 0 ### UK Renewables Pipeline — V7 - File: globalgrid2050/uk_renewables_pipeline/v7/scripts/app.js (JavaScript, 28 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v7/scripts/app.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0962.html#f4 - Synopsis: A JavaScript module in the scripts folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: UK Renewables Pipeline — V7 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v7/). Reached from 186 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 5 estate files (import 5); used by 1; mentioned by 0 ### State - File: globalgrid2050/uk_renewables_pipeline/v7/scripts/core/state.js (JavaScript, 25 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v7/scripts/core/state.js#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/0962.html#f5 - Synopsis: A JavaScript module in the core folder of GlobalGrid2050 covering Renewable Energy Planning Database (REPD) master, major project news and wind. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: wind. - Inputs & outputs: In: JSON file repd_master.json; JSON file major_project_news_v5.json. - Downstream impact: Used directly by 2 files: Gauges (globalgrid2050); Projects (globalgrid2050). Reached from 188 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file repd_master.json; JSON file major_project_news_v5.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Canonical Project Export - File: globalgrid2050/uk_renewables_pipeline/v7/scripts/plugins/canonical-project-export.js (JavaScript, 125 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v7/scripts/plugins/canonical-project-export.js#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/0962.html#f6 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that joins refs (`joinRefs`) and builds canonical project CSV (`buildCanonicalProjectCsv`). It joins refs (`joinRefs`) and builds canonical project CSV (`buildCanonicalProjectCsv`). - What it achieves (name): Defines `invariant`, `joinRefs`, `neutraliseSpreadsheetFormula` and 3 more. - What it does: It calculates its inputs. Defines 6 functions or classes, including invariant, joinRefs, neutraliseSpreadsheetFormula, quoteCsvCell, isoDate. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 2 files: Projects (globalgrid2050); Check V8 1 Mvp (globalgrid2050). Reached from 187 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export neutraliseSpreadsheetFormula(value)`; `export quoteCsvCell(value)`; `export buildCanonicalProjectCsv(state, { legacySignalResolver, date } = {})`; `invariant(condition, message)`; `joinRefs(values)`; `isoDate(value)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Canonical Project Table - File: globalgrid2050/uk_renewables_pipeline/v7/scripts/plugins/canonical-project-table.js (JavaScript, 283 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v7/scripts/plugins/canonical-project-table.js#L1-L283 - Page: https://code.globalgrid2050.com/explore-code/s/0963.html#f1 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that works with the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It builds canonical news search URL (`buildCanonicalNewsSearchUrl`), validates published metadata (`validatePublishedMetadata`) and builds canonical project table view (`buildCanonicalProjectTableView`). Defines `invariant`, `deepFreeze`, `hasValidatedModel` and 10 more. - What it does: It calculates the REPD register. Defines 13 functions or classes, including invariant, deepFreeze, hasValidatedModel, isCanonicalOrder, displayOfficial. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 3 files: Canonical Project Export (globalgrid2050); Projects (globalgrid2050); Check V8 1 Mvp (globalgrid2050). Reached from 187 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export buildCanonicalNewsSearchUrl(project)`; `export buildCanonicalProjectTableView(state, { legacySignalResolver } = {})`; `invariant(condition, message)`; `deepFreeze(value)`; `hasValidatedModel(state)`; `isCanonicalOrder(projects)`; `displayOfficial(value, missingValueLabel)`; `displayCapacity(project)`; `sameFlatRecord(left, right)`; `legacyNewsFor(project, resolver)`; `validatePublishedMetadata(state)`; `evidenceFor(project, state, inScopeRefs, missingValueLabel)`; `rowFor(project, state, inScopeRefs, resolver, missingValueLabel)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Gauges - File: globalgrid2050/uk_renewables_pipeline/v7/scripts/plugins/gauges.js (JavaScript, 48 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v7/scripts/plugins/gauges.js#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0963.html#f2 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050. It is built from the initialise gauges helper (`initialiseGauges`). - What it achieves (name): Defines `initialiseGauges` and `updateGauges`. - What it does: Defines initialiseGauges, updateGauges. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: UK Renewables Pipeline — V7 (globalgrid2050). Reached from 187 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export initialiseGauges()`; `export updateGauges(projects)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Projects - File: globalgrid2050/uk_renewables_pipeline/v7/scripts/plugins/projects.js (JavaScript, 71 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v7/scripts/plugins/projects.js#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/0963.html#f3 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that binds project controls (`bindProjectControls`) (units: MW), covering wind, the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). - What it achieves (name): It normalises project (`normaliseProject`) and binds project controls (`bindProjectControls`). Defines `category`, `normaliseProject`, `loadProjects` and 1 more. - What it does: It draws wind, the REPD register, solar and battery storage (BESS). Defines category, normaliseProject, loadProjects, bindProjectControls. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: wind, the REPD register, solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: UK Renewables Pipeline — V7 (globalgrid2050). Reached from 187 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export loadProjects()`; `export bindProjectControls()`; `category(properties)`; `normaliseProject(feature)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 1 ### UK Renewables Pipeline — V8 Page - File: globalgrid2050/uk_renewables_pipeline/v8/index.html (HTML, 132 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v8/index.html#L1-L132 - Page: https://code.globalgrid2050.com/explore-code/s/0963.html#f4 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/v8/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for news and county (units: MW), covering battery storage (BESS) and the Renewable Energy Planning Database (REPD) register. Published at https://globalgrid2050.com/uk_renewables_pipeline/v8/. - What it achieves (comment): UK Solar + Storage Daily V8.1. Its code works with 99 MW. - What it does: It draws battery storage (BESS) and the REPD register. Uses libraries styles/v7.css. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: battery storage (BESS), the REPD register. README: "Visible V8 labels and V7 fallback link in `index.html`." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 24 files: GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/); Check V8 1 Mvp (globalgrid2050); UK Renewables Pipeline — V9 4 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.4/); and 20 more. Reached from 164 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/v8/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 10 estate files (link 7, stylesheet 2, script-src 1); used by 24; mentioned by 0 ### UK Renewables Pipeline — V8 - File: globalgrid2050/uk_renewables_pipeline/v8/scripts/app.js (JavaScript, 31 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v8/scripts/app.js#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/0963.html#f5 - Synopsis: A JavaScript module in the scripts folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: UK Renewables Pipeline — V8 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v8/). Reached from 185 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### Projects - File: globalgrid2050/uk_renewables_pipeline/v8/scripts/plugins/projects.js (JavaScript, 121 lines) · role interaction · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v8/scripts/plugins/projects.js#L1-L121 - Page: https://code.globalgrid2050.com/explore-code/s/0963.html#f6 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that draws table (`drawTable`), syncs render (`syncAndRender`) and sets button filter (`setButtonFilter`). - What it achieves (name): It draws table (`drawTable`), syncs render (`syncAndRender`) and sets button filter (`setButtonFilter`). Defines `legacySignal`, `drawTable`, `syncAndRender` and 6 more. - What it does: It draws its content. Defines 9 functions or classes, including legacySignal, drawTable, syncAndRender, populateCounties, setButtonFilter. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: UK Renewables Pipeline — V8 (globalgrid2050). Reached from 186 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export loadProjects()`; `export refreshCanonicalProjects()`; `export bindProjectControls()`; `legacySignal(project)`; `drawTable()`; `syncAndRender()`; `populateCounties()`; `setButtonFilter(group, key, button)`; `downloadCanonicalCsv(event)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 9 estate files (import 9); used by 1; mentioned by 0 ### V8 - File: globalgrid2050/uk_renewables_pipeline/v8/styles/v8.css (CSS, 24 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v8/styles/v8.css#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0964.html#f1 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: UK Renewables Pipeline — V8 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v8/). Reached from 185 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check V8 1 Mvp - File: globalgrid2050/uk_renewables_pipeline/v8/tests/check_v8_1_mvp.mjs (JavaScript, 108 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v8/tests/check_v8_1_mvp.mjs#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/0964.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests plugin, major project news and solar, using SHA-256. It reads text (`readText`) and reads JSON (`readJson`). - What it achieves (name): Its name says it checks mvp. Defines `readText`, `readJson`, `sha256` and 1 more. It reads `contracts/mvp.v8.1.json`. - What it does: It tests plugin, major project news and solar. Defines readText, readJson, sha256, refs. Uses libraries node:assert/strict, node:crypto, node:fs/promises. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file mvp.v8.1.json; CSV file globalgrid2050_uk_renewables_pipeline_v7_2_2026-08-23.csv; JSON file plugin_manifest.json; JSON file major_project_news_v5.json. - Signatures: `readText(path)`; `readJson(path)`; `sha256(bytes)`; `refs(query)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v8_1_mvp.mjs) · essay_status: readme_derived - data_contracts: in [JSON file mvp.v8.1.json; CSV file globalgrid2050_uk_renewables_pipeline_v7_2_2026-08-23.csv; JSON file plugin_manifest.json; JSON file major_project_news_v5.json]; out []; crs []; voltages [] - Edges: uses 5 estate files (import 4, url-import-meta 1); used by 0; mentioned by 0 ### UK Renewables Pipeline — V9 4 Page - File: globalgrid2050/uk_renewables_pipeline/v9.4/index.html (HTML, 153 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.4/index.html#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/0964.html#f3 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/v9.4/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for news, county and sort projects, covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). Published at https://globalgrid2050.com/uk_renewables_pipeline/v9.4/. - What it achieves (name): Its code works with 1 MW. - What it does: It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/v7.css?v=9.4. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 73 files: GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/); Check V9 0 (globalgrid2050); Check V9 4 (globalgrid2050); and 69 more. Reached from 114 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/v9.4/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 14 estate files (link 9, stylesheet 3, script-src 2); used by 73; mentioned by 0 ### Canonical Project Table - File: globalgrid2050/uk_renewables_pipeline/v9.4/scripts/plugins/canonical-project-table.js (JavaScript, 315 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.4/scripts/plugins/canonical-project-table.js#L1-L315 - Page: https://code.globalgrid2050.com/explore-code/s/0964.html#f4 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that works with the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It builds atlas v8 URL (`buildAtlasV8Url`), builds canonical news search URL (`buildCanonicalNewsSearchUrl`) and validates published metadata (`validatePublishedMetadata`). Defines `invariant`, `deepFreeze`, `hasValidatedModel` and 12 more. - What it does: It calculates the REPD register. Defines 15 functions or classes, including invariant, deepFreeze, hasValidatedModel, isCanonicalOrder, displayOfficial. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Check V9 0 (globalgrid2050). - Signatures: `export buildAtlasV8Url(project)`; `export buildCanonicalNewsSearchUrl(project)`; `export buildCanonicalProjectTableView(state, { legacySignalResolver } = {})`; `invariant(condition, message)`; `deepFreeze(value)`; `hasValidatedModel(state)`; `isCanonicalOrder(projects)`; `displayOfficial(value, missingValueLabel)`; `displayCapacity(project)`; `displayOfficialDate(value, missingValueLabel)`; `sameFlatRecord(left, right)`; `legacyNewsFor(project, resolver)`; `validatePublishedMetadata(state)`; `evidenceFor(project, state, inScopeRefs, missingValueLabel)`; `rowFor(project, state, inScopeRefs, resolver, missingValueLabel)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/canonical-project-table.js) · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Projects V9 1 - File: globalgrid2050/uk_renewables_pipeline/v9.4/scripts/plugins/projects-v9-1.js (JavaScript, 139 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.4/scripts/plugins/projects-v9-1.js#L1-L139 - Page: https://code.globalgrid2050.com/explore-code/s/0965.html#f1 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that renders table (`renderTable`), downloads CSV (`downloadCsv`) and binds project controls v9 (`bindProjectControlsV9_1`) (units: MW), using EPSG:27700 and SHA-256. - What it achieves (code): It renders table (`renderTable`), downloads CSV (`downloadCsv`) and loads projects v9 (`loadProjectsV9_1`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 10 functions or classes, including atlasUrl, displayDate, renderTable, apply, populateCounties. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Signatures: `export loadProjectsV9_1()`; `export refreshProjectsV9_1()`; `export bindProjectControlsV9_1()`; `atlasUrl(project)`; `displayDate(value)`; `renderTable()`; `apply()`; `populateCounties()`; `csvCell(value)`; `downloadCsv(event)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/projects-v9-1.js) · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 5 estate files (import 4, estate-url 1); used by 0; mentioned by 1 ### Projects V9 2 - File: globalgrid2050/uk_renewables_pipeline/v9.4/scripts/plugins/projects-v9-2.js (JavaScript, 267 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.4/scripts/plugins/projects-v9-2.js#L1-L267 - Page: https://code.globalgrid2050.com/explore-code/s/0965.html#f2 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that renders table (`renderTable`), updates summary (`updateResultSummary`), syncs filter URL (`syncFilterUrl`) and reads inputs for county, using EPSG:27700 and SHA-256. - What it achieves (code): It renders table (`renderTable`), updates result summary (`updateResultSummary`) and syncs filter URL (`syncFilterUrl`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 17 functions or classes, including atlasUrlV9_2, displayDate, relationshipSummary, renderTable, updateResultSummary. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Signatures: `export atlasUrlV9_2(project)`; `export loadProjectsV9_2()`; `export refreshProjectsV9_2()`; `export bindProjectControlsV9_2()`; `displayDate(value)`; `relationshipSummary(project)`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/projects-v9-2.js) · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 6, estate-url 1); used by 0; mentioned by 1 ### Projects V9 3 - File: globalgrid2050/uk_renewables_pipeline/v9.4/scripts/plugins/projects-v9-3.js (JavaScript, 294 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.4/scripts/plugins/projects-v9-3.js#L1-L294 - Page: https://code.globalgrid2050.com/explore-code/s/0965.html#f3 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that compares project updates v9, renders table, updates summary and reads inputs for county and sort projects, using EPSG:27700 and SHA-256. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_3`), renders table (`renderTable`) and updates result summary (`updateResultSummary`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 19 functions or classes, including atlasUrlV9_3, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_3, relationshipSummary. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Check V9 3 (globalgrid2050). - Signatures: `export atlasUrlV9_3(project)`; `export compareProjectUpdatesV9_3(left, right, direction = "desc")`; `export loadProjectsV9_3()`; `export refreshProjectsV9_3()`; `export bindProjectControlsV9_3()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `relationshipSummary(project)`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/testcode/202609051152/pipeline/scripts/plugins/projects-v9-3.js) · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 6, estate-url 1); used by 1; mentioned by 1 ### Projects V9 4 - File: globalgrid2050/uk_renewables_pipeline/v9.4/scripts/plugins/projects-v9-4.js (JavaScript, 325 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.4/scripts/plugins/projects-v9-4.js#L1-L325 - Page: https://code.globalgrid2050.com/explore-code/s/0966.html#f1 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that compares project updates v9, updates sort header, renders table and reads inputs for county and sort projects. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_4`), updates sort header (`updateSortHeader`) and renders table (`renderTable`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 20 functions or classes, including atlasUrlV9_4, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_4, updateSortHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: Check V9 4 (globalgrid2050); Check V9 4 (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 V9 4 Validate Workflow (globalgrid2050); Run V9 4 (globalgrid2050). - Signatures: `export atlasUrlV9_4(project)`; `export compareProjectUpdatesV9_4(left, right, direction = "desc")`; `export loadProjectsV9_4()`; `export refreshProjectsV9_4()`; `export bindProjectControlsV9_4()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 6, estate-url 1); used by 2; mentioned by 1 ### V9 3 - File: globalgrid2050/uk_renewables_pipeline/v9.4/styles/v9-3.css (CSS, 231 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.4/styles/v9-3.css#L1-L231 - Page: https://code.globalgrid2050.com/explore-code/s/0966.html#f2 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it achieves (readme): The README says: The frozen V9.3.1 additive controls and bounded tablet-header correction. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`styles/v9-3.css` — the frozen V9.3.1 additive controls and bounded tablet-header correction." - Downstream impact: Used directly by 13 files: UK Renewables Pipeline — V9 4 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.4/); UK Renewables Pipeline — V9 5 1 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.5.1/); UK Renewables Pipeline — V9 5 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.5/); UK Renewables Pipeline — V9 6 1 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.6.1/); and 9 more. Reached from 172 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 13; mentioned by 0 ### Check V9 0 - File: globalgrid2050/uk_renewables_pipeline/v9.4/tests/check_v9_0.mjs (JavaScript, 87 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.4/tests/check_v9_0.mjs#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/0966.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests projects plugin, major project news and solar. It reads text (`readText`) and reads JSON (`readJson`). - What it achieves (name): Defines `readText` and `readJson`. It reads `contracts/release.v9.0.json`. - What it does: It tests projects plugin, major project news and solar. Defines readText, readJson. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file release.v9.0.json; JSON file projects-plugin.v7.2.json; JSON file projects.json; JSON file major_project_news_v5.json; CSV file globalgrid2050_uk_renewables_pipeline_v9_0_2026-08-23.csv. - Signatures: `readText(path)`; `readJson(path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v9_2.mjs) · essay_status: readme_derived - data_contracts: in [JSON file release.v9.0.json; JSON file projects-plugin.v7.2.json; JSON file projects.json; JSON file major_project_news_v5.json; CSV file globalgrid2050_uk_renewables_pipeline_v9_0_2026-08-23.csv]; out []; crs []; voltages [] - Edges: uses 5 estate files (import 4, url-import-meta 1); used by 0; mentioned by 0 ### Check V9 4 - File: globalgrid2050/uk_renewables_pipeline/v9.4/tests/check_v9_4.mjs (JavaScript, 196 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.4/tests/check_v9_4.mjs#L1-L196 - Page: https://code.globalgrid2050.com/explore-code/s/0967.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, homepage catalogue and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It reads text (`readText`) and reads JSON (`readJson`). Defines `readText`, `readJson`, `sha256` and 3 more. It reads `contracts/release.v9.4.json`. - What it does: It tests major project news, homepage catalogue and the REPD register. Defines 6 functions or classes, including readText, readJson, sha256, gitBlob, gitTree. Uses libraries node:assert/strict, node:child_process, node:crypto, node:fs/promises, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file release.v9.4.json; JSON file release.v9.3.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v5.json; JSON file homepage-catalogue.json. - Downstream impact: Used directly by 1 file: Run V9 4 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 V9 4 Validate Workflow (globalgrid2050). - Signatures: `readText(path)`; `readJson(path)`; `sha256(value)`; `gitBlob(path)`; `gitTree(revisionPath)`; `reachable(url)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.4.json; JSON file release.v9.3.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v5.json; JSON file homepage-catalogue.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 2, script-call 1, url-import-meta 1); used by 1; mentioned by 0 ### Run V9 4 - File: globalgrid2050/uk_renewables_pipeline/v9.4/tests/run_v9_4.sh (Shell, 37 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.4/tests/run_v9_4.sh#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0967.html#f2 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V9 4 Validate Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### UK Renewables Pipeline — V9 5 1 Page - File: globalgrid2050/uk_renewables_pipeline/v9.5.1/index.html (HTML, 156 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.5.1/index.html#L1-L156 - Page: https://code.globalgrid2050.com/explore-code/s/0967.html#f3 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/v9.5.1/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for news, county and sort projects, covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). Published at https://globalgrid2050.com/uk_renewables_pipeline/v9.5.1/. - What it achieves (name): Its code works with 1 MW. - What it does: It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/v7.css?v=9.5.1. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 74 files: GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/); Check V9 6 1 (globalgrid2050); Check V9 4 (globalgrid2050); and 70 more. Reached from 112 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/v9.5.1/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 17 estate files (link 11, stylesheet 4, script-src 2); used by 74; mentioned by 0 ### Projects V9 5 1 - File: globalgrid2050/uk_renewables_pipeline/v9.5.1/scripts/plugins/projects-v9-5-1.js (JavaScript, 325 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.5.1/scripts/plugins/projects-v9-5-1.js#L1-L325 - Page: https://code.globalgrid2050.com/explore-code/s/0968.html#f1 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that compares project updates v9, updates sort header, renders table and reads inputs for county and sort projects. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_5_1`), updates sort header (`updateSortHeader`) and renders table (`renderTable`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 20 functions or classes, including atlasUrlV9_5_1, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_5_1, updateSortHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: Check V9 5 1 (globalgrid2050); Check V9 5 1 (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 V9 5 1 Validate Workflow (globalgrid2050); Run V9 5 1 (globalgrid2050). - Signatures: `export atlasUrlV9_5_1(project)`; `export compareProjectUpdatesV9_5_1(left, right, direction = "desc")`; `export loadProjectsV9_5_1()`; `export refreshProjectsV9_5_1()`; `export bindProjectControlsV9_5_1()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 6, estate-url 1); used by 2; mentioned by 1 ### Projects V9 5 - File: globalgrid2050/uk_renewables_pipeline/v9.5.1/scripts/plugins/projects-v9-5.js (JavaScript, 325 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.5.1/scripts/plugins/projects-v9-5.js#L1-L325 - Page: https://code.globalgrid2050.com/explore-code/s/0968.html#f2 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that compares project updates v9, updates sort header, renders table and reads inputs for county and sort projects. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_5`), updates sort header (`updateSortHeader`) and renders table (`renderTable`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 20 functions or classes, including atlasUrlV9_5, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_5, updateSortHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: Check V9 5 (globalgrid2050); Check V9 5 (globalgrid2050). Reached from 1 other entry point, including Run V9 5 (globalgrid2050). - Signatures: `export atlasUrlV9_5(project)`; `export compareProjectUpdatesV9_5(left, right, direction = "desc")`; `export loadProjectsV9_5()`; `export refreshProjectsV9_5()`; `export bindProjectControlsV9_5()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 6, estate-url 1); used by 2; mentioned by 1 ### Check V9 4 - File: globalgrid2050/uk_renewables_pipeline/v9.5.1/tests/check_v9_4.mjs (JavaScript, 187 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.5.1/tests/check_v9_4.mjs#L1-L187 - Page: https://code.globalgrid2050.com/explore-code/s/0969.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It reads text (`readText`) and reads JSON (`readJson`). Defines `readText`, `readJson`, `sha256` and 2 more. It reads `contracts/release.v9.4.json`. - What it does: It tests major project news and the REPD register. Defines readText, readJson, sha256, gitBlob, gitTree. Uses libraries node:assert/strict, node:child_process, node:crypto, node:fs/promises, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file release.v9.4.json; JSON file release.v9.3.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v5.json. - Signatures: `readText(path)`; `readJson(path)`; `sha256(value)`; `gitBlob(path)`; `gitTree(revisionPath)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release.v9.4.json; JSON file release.v9.3.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v5.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 3, url-import-meta 1); used by 0; mentioned by 0 ### Check V9 5 - File: globalgrid2050/uk_renewables_pipeline/v9.5.1/tests/check_v9_5.mjs (JavaScript, 193 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.5.1/tests/check_v9_5.mjs#L1-L193 - Page: https://code.globalgrid2050.com/explore-code/s/0969.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It reads text (`readText`) and reads JSON (`readJson`). Defines `readText`, `readJson`, `sha256` and 2 more. It reads `contracts/release.v9.5.json`. - What it does: It tests major project news and the REPD register. Defines readText, readJson, sha256, gitBlob, gitTree. Uses libraries node:assert/strict, node:child_process, node:crypto, node:fs/promises, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file release.v9.5.json; JSON file release.v9.4.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v6.json. - Downstream impact: Used directly by 1 file: Run V9 5 (globalgrid2050). - Signatures: `readText(path)`; `readJson(path)`; `sha256(value)`; `gitBlob(path)`; `gitTree(revisionPath)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.5.json; JSON file release.v9.4.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v6.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (script-call 1, import 1, url-import-meta 1); used by 1; mentioned by 0 ### Check V9 5 1 - File: globalgrid2050/uk_renewables_pipeline/v9.5.1/tests/check_v9_5_1.mjs (JavaScript, 229 lines) · role test · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.5.1/tests/check_v9_5_1.mjs#L1-L229 - Page: https://code.globalgrid2050.com/explore-code/s/0969.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, homepage catalogue and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It reads text (`readText`) and reads JSON (`readJson`). Defines `readText`, `readJson`, `sha256` and 3 more. It reads `contracts/release.v9.5.1.json`. - What it does: It tests major project news, homepage catalogue and the REPD register. Defines 6 functions or classes, including readText, readJson, sha256, gitBlob, gitTree. Uses libraries node:assert/strict, node:child_process, node:crypto, node:fs/promises, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file release.v9.5.1.json; JSON file release.v9.5.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file homepage-catalogue.json. - Downstream impact: Used directly by 1 file: Run V9 5 1 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 V9 5 1 Validate Workflow (globalgrid2050). - Signatures: `readText(path)`; `readJson(path)`; `sha256(value)`; `gitBlob(path)`; `gitTree(revisionPath)`; `reachable(url)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.5.1.json; JSON file release.v9.5.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file homepage-catalogue.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (script-call 1, import 1, url-import-meta 1); used by 1; mentioned by 0 ### Run V9 5 - File: globalgrid2050/uk_renewables_pipeline/v9.5.1/tests/run_v9_5.sh (Shell, 38 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.5.1/tests/run_v9_5.sh#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0969.html#f4 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Run V9 5 1 - File: globalgrid2050/uk_renewables_pipeline/v9.5.1/tests/run_v9_5_1.sh (Shell, 43 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.5.1/tests/run_v9_5_1.sh#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/0969.html#f5 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V9 5 1 Validate Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### UK Renewables Pipeline — V9 5 Page - File: globalgrid2050/uk_renewables_pipeline/v9.5/index.html (HTML, 154 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.5/index.html#L1-L154 - Page: https://code.globalgrid2050.com/explore-code/s/0970.html#f1 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/v9.5/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for news, county and sort projects, covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). Published at https://globalgrid2050.com/uk_renewables_pipeline/v9.5/. - What it achieves (name): Its code works with 1 MW. - What it does: It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/v7.css?v=9.5. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 71 files: GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/); UK Renewables Pipeline — V9 5 1 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.5.1/); Check V9 5 (globalgrid2050); and 67 more. Reached from 112 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/v9.5/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 15 estate files (link 10, stylesheet 3, script-src 2); used by 71; mentioned by 0 ### Check V9 5 - File: globalgrid2050/uk_renewables_pipeline/v9.5/tests/check_v9_5.mjs (JavaScript, 203 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.5/tests/check_v9_5.mjs#L1-L203 - Page: https://code.globalgrid2050.com/explore-code/s/0970.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, homepage catalogue and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It reads text (`readText`) and reads JSON (`readJson`). Defines `readText`, `readJson`, `sha256` and 3 more. It reads `contracts/release.v9.5.json`. - What it does: It tests major project news, homepage catalogue and the REPD register. Defines 6 functions or classes, including readText, readJson, sha256, gitBlob, gitTree. Uses libraries node:assert/strict, node:child_process, node:crypto, node:fs/promises, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file release.v9.5.json; JSON file release.v9.4.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v6.json; JSON file homepage-catalogue.json. - Signatures: `readText(path)`; `readJson(path)`; `sha256(value)`; `gitBlob(path)`; `gitTree(revisionPath)`; `reachable(url)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/uk_renewables_pipeline/v9.5.1/tests/check_v9_5_1.mjs) · essay_status: readme_derived - data_contracts: in [JSON file release.v9.5.json; JSON file release.v9.4.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v6.json; JSON file homepage-catalogue.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 2, url-import-meta 1); used by 0; mentioned by 0 ### UK Renewables Pipeline — V9 6 1 Page - File: globalgrid2050/uk_renewables_pipeline/v9.6.1/index.html (HTML, 159 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.6.1/index.html#L1-L159 - Page: https://code.globalgrid2050.com/explore-code/s/0970.html#f3 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/v9.6.1/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for news, county and sort projects, covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). Published at https://globalgrid2050.com/uk_renewables_pipeline/v9.6.1/. - What it achieves (name): Its code works with 1 MW. - What it does: It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/v7.css?v=9.6.1. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 71 files: GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/); Check V9 5 1 (globalgrid2050); Check V9 6 1 (globalgrid2050); and 67 more. Reached from 107 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/v9.6.1/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 20 estate files (link 13, stylesheet 5, script-src 2); used by 71; mentioned by 0 ### V9 6 1 - File: globalgrid2050/uk_renewables_pipeline/v9.6.1/styles/v9-6-1.css (CSS, 12 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.6.1/styles/v9-6-1.css#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/0970.html#f4 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it achieves (comment): V9.6.1 changes the mobile projects viewport only. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`styles/v9-6-1.css` applies at 768 px and below." - Downstream impact: Used directly by 7 files: UK Renewables Pipeline — V9 6 1 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.6.1/); UK Renewables Pipeline — V9 6 2 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.6.2/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608260159-pipelinenews/); PipelineNews — News v1 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv1/); and 3 more. Reached from 168 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### Check V9 5 1 - File: globalgrid2050/uk_renewables_pipeline/v9.6.1/tests/check_v9_5_1.mjs (JavaScript, 218 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.6.1/tests/check_v9_5_1.mjs#L1-L218 - Page: https://code.globalgrid2050.com/explore-code/s/0971.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It reads text (`readText`) and reads JSON (`readJson`). Defines `readText`, `readJson`, `sha256` and 2 more. It reads `contracts/release.v9.5.1.json`. - What it does: It tests major project news and the REPD register. Defines readText, readJson, sha256, gitBlob, gitTree. Uses libraries node:assert/strict, node:child_process, node:crypto, node:fs/promises, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file release.v9.5.1.json; JSON file release.v9.5.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json. - Signatures: `readText(path)`; `readJson(path)`; `sha256(value)`; `gitBlob(path)`; `gitTree(revisionPath)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release.v9.5.1.json; JSON file release.v9.5.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 2, url-import-meta 1); used by 0; mentioned by 0 ### Check V9 6 1 - File: globalgrid2050/uk_renewables_pipeline/v9.6.1/tests/check_v9_6_1.mjs (JavaScript, 140 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.6.1/tests/check_v9_6_1.mjs#L1-L140 - Page: https://code.globalgrid2050.com/explore-code/s/0971.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, using SHA-256. - What it achieves (name): It is built from the git tree helper (`gitTree`), the files below helper (`filesBelow`) and the digest map helper (`digestMap`). Defines `text`, `json`, `sha256` and 3 more. - What it does: It tests major project news. Defines 6 functions or classes, including text, json, sha256, gitTree, filesBelow. Uses libraries node:assert/strict, node:child_process, node:crypto, node:fs/promises, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file release.v9.6.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json. - Downstream impact: Used directly by 1 file: Run V9 6 1 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 V9 6 1 Validate Workflow (globalgrid2050). - Signatures: `text(url)`; `json(url)`; `sha256(value)`; `gitTree(revisionPath)`; `filesBelow(directory, prefix = "")`; `digestMap(directory)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.6.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (url-import-meta 2); used by 1; mentioned by 0 ### Run V9 6 1 - File: globalgrid2050/uk_renewables_pipeline/v9.6.1/tests/run_v9_6_1.sh (Shell, 50 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.6.1/tests/run_v9_6_1.sh#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0971.html#f3 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V9 6 1 Validate Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### UK Renewables Pipeline — V9 6 2 Page - File: globalgrid2050/uk_renewables_pipeline/v9.6.2/index.html (HTML, 163 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.6.2/index.html#L1-L163 - Page: https://code.globalgrid2050.com/explore-code/s/0971.html#f4 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/v9.6.2/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for news, county and sort projects, covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). Published at https://globalgrid2050.com/uk_renewables_pipeline/v9.6.2/. - What it achieves (name): Its code works with 1 MW. - What it does: It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/v7.css?v=9.6.2. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 59 files: Check V9 6 2 (globalgrid2050); UK Renewables Pipeline — V9 7 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.7/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608260159-pipelinenews/); PipelineNews — News v1 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv1/); and 55 more. Reached from 32 other entry points, including Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/); Grid Engine — Connection Cap Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060212-connection-cap/); Grid Engine — Corridor Estimate Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060237-corridor-estimate/). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/v9.6.2/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 21 estate files (link 14, stylesheet 5, script-src 2); used by 59; mentioned by 0 ### Check V9 6 2 - File: globalgrid2050/uk_renewables_pipeline/v9.6.2/tests/check_v9_6_2.mjs (JavaScript, 103 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.6.2/tests/check_v9_6_2.mjs#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/0971.html#f5 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, battery storage (BESS) and solar. - What it achieves (name): It is built from the git tree helper (`gitTree`) and the story step (`story`). Defines `text`, `json`, `gitTree` and 1 more. Its code works with 150 MW, 160 MWh and 170 MW. - What it does: It tests major project news, battery storage (BESS) and solar. Defines text, json, gitTree, story. Uses libraries node:assert/strict, node:child_process, node:fs/promises, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: battery storage (BESS), solar. - Inputs & outputs: In: JSON file release.v9.6.2.json; JSON file major_project_news_v9_5_1.json. - Downstream impact: Used directly by 1 file: Run V9 6 2 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 V9 6 2 Validate Workflow (globalgrid2050). - Signatures: `text(url)`; `json(url)`; `gitTree(revisionPath)`; `story(headline)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.6.2.json; JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, url-import-meta 1); used by 1; mentioned by 0 ### Run V9 6 2 - File: globalgrid2050/uk_renewables_pipeline/v9.6.2/tests/run_v9_6_2.sh (Shell, 40 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.6.2/tests/run_v9_6_2.sh#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/0972.html#f1 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V9 6 2 Validate Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### UK Renewables Pipeline — V9 6 Page - File: globalgrid2050/uk_renewables_pipeline/v9.6/index.html (HTML, 171 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.6/index.html#L1-L171 - Page: https://code.globalgrid2050.com/explore-code/s/0972.html#f2 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/v9.6/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for news, min capacity and max capacity, covering the Renewable Energy Planning Database (REPD) register and solar. Published at https://globalgrid2050.com/uk_renewables_pipeline/v9.6/. - What it achieves (name): Its code works with 1 MW. - What it does: It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/v7.css?v=9.6-clean. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 69 files: GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/); UK Renewables Pipeline — V9 6 1 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.6.1/); UK Renewables Pipeline — V9 6 2 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.6.2/); and 65 more. Reached from 108 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/v9.6/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 20 estate files (link 13, stylesheet 5, script-src 2); used by 69; mentioned by 0 ### App V9 6 - File: globalgrid2050/uk_renewables_pipeline/v9.6/scripts/app-v9-6.js (JavaScript, 28 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.6/scripts/app-v9-6.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0972.html#f3 - Synopsis: A JavaScript module in the scripts folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: UK Renewables Pipeline — V9 6 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.6/). Reached from 174 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### Project Filter V9 6 - File: globalgrid2050/uk_renewables_pipeline/v9.6/scripts/core/project-filter-v9-6.js (JavaScript, 35 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.6/scripts/core/project-filter-v9-6.js#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/0972.html#f4 - Synopsis: A JavaScript module in the core folder of GlobalGrid2050 that parses capacity bound v9 (`parseCapacityBoundV9_6`) (units: MW). - What it achieves (name): It parses capacity bound v9 (`parseCapacityBoundV9_6`) and is built from the capacity range v9 6 helper (`capacityRangeV9_6`). Defines `parseCapacityBoundV9_6`, `capacityRangeV9_6`, `projectMatchesOfficialCapacityV9_6` and 1 more. - What it does: Defines parseCapacityBoundV9_6, capacityRangeV9_6, projectMatchesOfficialCapacityV9_6, capacityRangeLabelV9_6. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: Projects V9 6 (globalgrid2050); Check V9 6 (globalgrid2050). Reached from 176 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export parseCapacityBoundV9_6(raw)`; `export capacityRangeV9_6(minRaw, maxRaw)`; `export projectMatchesOfficialCapacityV9_6(project, range)`; `export capacityRangeLabelV9_6(range)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Projects V9 6 - File: globalgrid2050/uk_renewables_pipeline/v9.6/scripts/plugins/projects-v9-6.js (JavaScript, 372 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.6/scripts/plugins/projects-v9-6.js#L1-L372 - Page: https://code.globalgrid2050.com/explore-code/s/0972.html#f5 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that compares project updates v9, updates sort header, renders table and reads inputs for county, sort projects and min capacity. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_6`), updates sort header (`updateSortHeader`) and renders table (`renderTable`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 22 functions or classes, including atlasUrlV9_6, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_6, updateSortHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: App V9 6 (globalgrid2050). Reached from 175 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - Signatures: `export atlasUrlV9_6(project)`; `export compareProjectUpdatesV9_6(left, right, direction = "desc")`; `export loadProjectsV9_6()`; `export refreshProjectsV9_6()`; `export bindProjectControlsV9_6()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `updateCapacityStatus(range)`; `apply({ syncUrl = true, resetVisible = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)`; `scheduleCapacityApply()` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 8 estate files (import 7, estate-url 1); used by 1; mentioned by 0 ### V9 6 - File: globalgrid2050/uk_renewables_pipeline/v9.6/styles/v9-6.css (CSS, 36 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.6/styles/v9-6.css#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0972.html#f6 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: UK Renewables Pipeline — V9 6 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.6/). Reached from 174 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Browser Smoke V9 6 - File: globalgrid2050/uk_renewables_pipeline/v9.6/tests/browser_smoke_v9_6.mjs (JavaScript, 80 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.6/tests/browser_smoke_v9_6.mjs#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/0973.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050. - What it achieves (name): Its code works with 500 MW. - What it does: It tests its inputs. Uses libraries node:assert/strict, node:module, playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `constructor(_canvas, config)`; `update()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check V9 6 - File: globalgrid2050/uk_renewables_pipeline/v9.6/tests/check_v9_6.mjs (JavaScript, 45 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.6/tests/check_v9_6.mjs#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0973.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news. - What it achieves (name): It reads `data/v9.1/build_manifest.json`. - What it does: It tests major project news. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, url-import-meta 1); used by 0; mentioned by 0 ### Run V9 6 - File: globalgrid2050/uk_renewables_pipeline/v9.6/tests/run_v9_6.sh (Shell, 16 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.6/tests/run_v9_6.sh#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/0973.html#f3 - Synopsis: A shell script in the tests folder of GlobalGrid2050. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V9 6 Validate Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### UK Renewables Pipeline — V9 7 Page - File: globalgrid2050/uk_renewables_pipeline/v9.7/index.html (HTML, 164 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.7/index.html#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/0973.html#f4 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/v9.7/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for news, county and sort projects, covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). Published at https://globalgrid2050.com/uk_renewables_pipeline/v9.7/. - What it achieves (name): Its code works with 1 MW. - What it does: It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/v7.css?v=9.7. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 59 files: Check V9 5 1 (globalgrid2050); Check V9 7 (globalgrid2050); PipelineNews — News v1 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv1/); PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/); and 55 more. Reached from 30 other entry points, including Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/); Grid Engine — Connection Cap Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060212-connection-cap/); Grid Engine — Corridor Estimate Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060237-corridor-estimate/). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/v9.7/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 22 estate files (link 15, stylesheet 5, script-src 2); used by 59; mentioned by 1 ### Projects V9 5 1 - File: globalgrid2050/uk_renewables_pipeline/v9.7/scripts/plugins/projects-v9-5-1.js (JavaScript, 355 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.7/scripts/plugins/projects-v9-5-1.js#L1-L355 - Page: https://code.globalgrid2050.com/explore-code/s/0973.html#f5 - Synopsis: A JavaScript module in the plugins folder of GlobalGrid2050 that compares project updates v9, updates sort header, renders table and reads inputs for county and sort projects. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_5_1`), updates sort header (`updateSortHeader`) and maps action HTML v9 (`mapActionHtmlV9_5_1`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 21 functions or classes, including atlasUrlV9_5_1, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_5_1, updateSortHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Check V9 5 1 (globalgrid2050). - Signatures: `export atlasUrlV9_5_1(project)`; `export compareProjectUpdatesV9_5_1(left, right, direction = "desc")`; `export loadProjectsV9_5_1()`; `export refreshProjectsV9_5_1()`; `export bindProjectControlsV9_5_1()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `mapActionHtmlV9_5_1(project)`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 7); used by 1; mentioned by 0 ### V9 6 1 - File: globalgrid2050/uk_renewables_pipeline/v9.7/styles/v9-6-1.css (CSS, 24 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.7/styles/v9-6-1.css#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0973.html#f6 - Synopsis: A style sheet in the styles folder of GlobalGrid2050. - What it achieves (comment): V9.6.1 changes the mobile projects viewport only. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: UK Renewables Pipeline — V9 7 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.7/). Reached from 86 other entry points, including Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/); Grid Engine — Connection Cap Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060212-connection-cap/); Grid Engine — Corridor Estimate Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060237-corridor-estimate/). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Browser Smoke V9 7 - File: globalgrid2050/uk_renewables_pipeline/v9.7/tests/browser_smoke_v9_7.mjs (JavaScript, 101 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.7/tests/browser_smoke_v9_7.mjs#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/0974.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests solar. It is built from the page at helper (`pageAt`) and the click count helper (`clickCount`). - What it achieves (name): Defines `pageAt` and `clickCount`. - What it does: It tests solar. Defines pageAt, clickCount. Uses libraries node:assert/strict, node:module, playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Downstream impact: Used directly by 2 files: Run V9 7 (globalgrid2050); GlobalGrid2050 Deploy Pages Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 V9 7 Validate Workflow (globalgrid2050). - Signatures: `pageAt(browser, width)`; `constructor(_canvas, config)`; `update()`; `clickCount(page, mode)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Check V9 5 1 - File: globalgrid2050/uk_renewables_pipeline/v9.7/tests/check_v9_5_1.mjs (JavaScript, 271 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.7/tests/check_v9_5_1.mjs#L1-L271 - Page: https://code.globalgrid2050.com/explore-code/s/0974.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, using SHA-256 and uses data from the GridAtlas repository. - What it achieves (name): It reads text (`readText`) and reads JSON (`readJson`). Defines `readText`, `readJson`, `sha256` and 2 more. It reads `contracts/release.v9.5.1.json`. - What it does: It tests major project news and the REPD register. Defines readText, readJson, sha256, gitBlob, gitTree. Uses libraries node:assert/strict, node:child_process, node:crypto, node:fs/promises, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file release.v9.5.1.json; JSON file release.v9.5.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json. - Signatures: `readText(path)`; `readJson(path)`; `sha256(value)`; `gitBlob(path)`; `gitTree(revisionPath)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/uk_renewables_pipeline/202609051156/tests/check_v9_5_1.mjs) · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file release.v9.5.1.json; JSON file release.v9.5.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 5 estate files (script-call 2, import 1, url-import-meta 1, estate-url 1); used by 0; mentioned by 0 ### Check V9 7 - File: globalgrid2050/uk_renewables_pipeline/v9.7/tests/check_v9_7.mjs (JavaScript, 159 lines) · role test · stage ingest - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.7/tests/check_v9_7.mjs#L1-L159 - Page: https://code.globalgrid2050.com/explore-code/s/0974.html#f3 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests regional news sources, news module registry, regional decisions and major project news, using SHA-256. - What it achieves (name): It is built from the git tree helper (`gitTree`). Defines `text`, `json`, `hash` and 1 more. Its code works with 160 MWh. - What it does: It tests regional news sources, news module registry, regional decisions and major project news. Defines text, json, hash, gitTree. Uses libraries node:assert/strict, node:crypto, node:child_process, node:fs/promises, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file release.v9.7.json; JSON file regional-news-sources.v9.7.json; JSON file news-module-registry.v9.7.json; JSON file regional_news.json; JSON file regional_decisions.json; JSON file regional_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file major_project_news.json. - Downstream impact: Used directly by 1 file: Run V9 7 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 V9 7 Validate Workflow (globalgrid2050). - Signatures: `text(url)`; `json(url)`; `hash(value)`; `gitTree(revisionPath)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.7.json; JSON file regional-news-sources.v9.7.json; JSON file news-module-registry.v9.7.json; JSON file regional_news.json; JSON file regional_decisions.json; JSON file regional_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file major_project_news.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, url-import-meta 1); used by 1; mentioned by 0 ### Run V9 7 - File: globalgrid2050/uk_renewables_pipeline/v9.7/tests/run_v9_7.sh (Shell, 105 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9.7/tests/run_v9_7.sh#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/0974.html#f4 - Synopsis: A shell script in the tests folder of GlobalGrid2050 that works with assert blob (`assert_blob`). - What it achieves (name): Defines `assert_blob`. - What it does: It tests its inputs. Defines assert_blob. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V9 7 Validate Workflow (globalgrid2050). - Signatures: `assert_blob()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 1; mentioned by 0 ### UK Renewables Pipeline — V9 Page - File: globalgrid2050/uk_renewables_pipeline/v9/index.html (HTML, 147 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9/index.html#L1-L147 - Page: https://code.globalgrid2050.com/explore-code/s/0975.html#f1 - Published at: https://globalgrid2050.com/uk_renewables_pipeline/v9/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for news, county and sort projects, covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). Published at https://globalgrid2050.com/uk_renewables_pipeline/v9/. - What it achieves (comment): UK Renewables Pipeline V9.3.1. Its code works with 1 MW. - What it does: It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/v7.css?v=9.3.1. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 73 files: GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Testcode — Pipeline Page (globalgrid2050, https://globalgrid2050.com/testcode/202609060345/pipeline/); UK Renewables Pipeline — V9 4 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.4/); UK Renewables Pipeline — V9 5 1 Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/v9.5.1/); and 69 more. Reached from 114 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/). It is itself an entry point, published at https://globalgrid2050.com/uk_renewables_pipeline/v9/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 12 estate files (link 8, stylesheet 2, script-src 2); used by 73; mentioned by 0 ### Check V9 3 - File: globalgrid2050/uk_renewables_pipeline/v9/tests/check_v9_3.mjs (JavaScript, 221 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/uk_renewables_pipeline/v9/tests/check_v9_3.mjs#L1-L221 - Page: https://code.globalgrid2050.com/explore-code/s/0975.html#f2 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 that tests major project news, homepage catalogue and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It reads text (`readText`) and reads JSON (`readJson`). Defines `readText`, `readJson`, `sha256` and 2 more. It reads `contracts/release.v9.3.json`. - What it does: It tests major project news, homepage catalogue and the REPD register. Defines readText, readJson, sha256, gitBlob, reachable. Uses libraries node:assert/strict, node:child_process, node:crypto, node:fs/promises, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file release.v9.3.json; JSON file release.v9.2.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v5.json; JSON file homepage-catalogue.json. - Signatures: `readText(path)`; `readJson(path)`; `sha256(value)`; `gitBlob(path)`; `reachable(url)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release.v9.3.json; JSON file release.v9.2.json; JSON file release.v9.1.json; JSON file v9_manifest.json; JSON file build_manifest.json; JSON file major_project_news_v5.json; JSON file homepage-catalogue.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 3, url-import-meta 1); used by 0; mentioned by 0 ### Dashboard - File: globalgrid2050-homepage/assets/dashboard.js (JavaScript, 159 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/assets/dashboard.js#L1-L159 - Page: https://code.globalgrid2050.com/explore-code/s/0975.html#f3 - Synopsis: A JavaScript file in the assets folder of GlobalGrid2050 Homepage that draws catalog and uses data from the registry_of_all_content_in_repos_and_dependencies repository. It searches key (`searchKey`) and applies search (`applySearch`). - What it achieves (readme): The README says: `assets/dashboard.js` loads the catalogue, renders the menu and runs the search. It responds to change, input and keydown events. - What it does: It draws catalog. Defines 11 functions or classes, including esc, normalise, searchKey, flatten, build. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`assets/dashboard.js` loads the catalogue, renders the menu and runs the search." - Inputs & outputs: In: data source: registry_of_all_content_in_repos_and_dependencies data; JSON file catalog.json; browser storage (getItem). Out: browser storage (setItem). - Signatures: `esc(s)`; `normalise(s)`; `searchKey(parts)`; `flatten(catalog)`; `build(catalog)`; `applySearch(raw)`; `initChecklist()`; `initSessionNotes()`; `initRegistryAccess()`; `reveal()`; `init()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/assets/dashboard.js) · essay_status: readme_derived - data_contracts: in [data source: registry_of_all_content_in_repos_and_dependencies data; JSON file catalog.json; browser storage (getItem)]; out [browser storage (setItem)]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Registry - File: globalgrid2050-ip-and-mac-addresses/registry.py (Python, 154 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050-ip-and-mac-addresses/blob/2ba77a48351e70648ab8d122c187a87c47d0f6fc/registry.py#L1-L154 - Page: https://code.globalgrid2050.com/explore-code/s/0975.html#f4 - Published at: https://ventusltd.github.io/globalgrid2050-ip-and-mac-addresses/ - Synopsis: A Python command-line tool in GlobalGrid2050 IP and MAC Addresses. It is built from the require step (`require`), the identifier step (`identifier`) and the number step (`number`). - What it achieves (comment): Small public identity registry. UUIDs identify assets, not network interfaces. It accepts `--file`, `--previous` and `--title`. - What it does: It loads data. Defines 13 functions or classes, including require, identifier, number, timestamp, text. Uses libraries argparse, copy, datetime, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file registry.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 3 files: Test Registry (globalgrid2050-ip-and-mac-addresses); Publish Workflow (globalgrid2050-ip-and-mac-addresses); Build (globalgrid2050-ip-and-mac-addresses, https://ventusltd.github.io/globalgrid2050-ip-and-mac-addresses/). Reached from 1 other entry point, including Test Labels (globalgrid2050-ip-and-mac-addresses). It is itself an entry point, published at https://ventusltd.github.io/globalgrid2050-ip-and-mac-addresses/. - Signatures: `require(condition, message)`; `identifier(value)`; `number(value)`; `timestamp(value)`; `text(value)`; `https(value)`; `validate(data)`; `load(path)`; `unique(pairs)`; `append(data, asset, action, changes)`; `extends(previous, current)`; `save(path, data)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file registry.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Test Registry - File: globalgrid2050-ip-and-mac-addresses/tests/test_registry.py (Python, 174 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050-ip-and-mac-addresses/blob/2ba77a48351e70648ab8d122c187a87c47d0f6fc/tests/test_registry.py#L1-L174 - Page: https://code.globalgrid2050.com/explore-code/s/0976.html#f1 - Synopsis: A test in the tests folder of GlobalGrid2050 IP and MAC Addresses that checks Registry. - What it achieves (comment): It sets up (`setUp`) and is built from the registry tests class (`RegistryTests`) and the cli step (`cli`). Registry integrity tests using copies and temporary files, never live writes. - What it does: It tests its inputs. Defines 21 functions or classes, including RegistryTests, setUp, cli, test_update_and_retirement_preserve_identity_and_history, test_retired_identity_cannot_change_or_be_reissued. Uses libraries copy, pathlib, subprocess, sys, tempfile. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file registry.json; JSON file previous.json. - Downstream impact: Used directly by 1 file: Publish Workflow (globalgrid2050-ip-and-mac-addresses). - Signatures: `class RegistryTests`; `setUp(self)`; `cli(self, path, *args)`; `test_update_and_retirement_preserve_identity_and_history(self)`; `test_retired_identity_cannot_change_or_be_reissued(self)`; `test_decimal_roundtrip_and_leading_zeroes(self)`; `test_numeric_precision_and_encoding_drift_rejected(self)`; `test_duplicate_asset_registration_rejected(self)`; `test_duplicate_record_rejected(self)`; `test_duplicate_event_id_rejected(self)`; `test_immutable_fields_cannot_be_updated(self)`; `test_consistent_history_rewrite_requires_previous_to_detect(self)`; `test_valid_but_truncated_history_rejected_by_extends(self)`; `test_record_only_mutation_rejected(self)`; `test_malicious_addresses_rejected(self)`; `test_valid_https_record_url(self)`; `test_duplicate_json_properties_rejected(self)`; `test_cli_refuses_invalid_mutation_without_writing(self)`; `test_cli_requires_public_acknowledgment_before_creating_file(self)`; `test_refused_atomic_replace_preserves_file_and_cleans_temporary(self)`; `test_cli_previous_detects_history_rewrite(self)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file registry.json; JSON file previous.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Apps Registry - File: kuiper-belt/tools/apps_registry.py (Python, 321 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/apps_registry.py#L1-L321 - Page: https://code.globalgrid2050.com/explore-code/s/0976.html#f2 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that reads overview graph, periodic table, elements and overhead lines (OHL), using SHA-256 from the stars repository. - What it achieves (comment): It finds clone (`find_clone`) and is built from the git step (`git`) and the show step (`show`). Write `editions/` `/data/apps.json`, the app registry of the estate (NL-010 step 7.1). It accepts `--edition`, `--roots` and `--check`. - What it does: It loads overview graph, periodic table, elements and overhead lines (OHL). Defines 10 functions or classes, including git, find_clone, show, sha256, repo_of. Uses libraries argparse, hashlib, html, io, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: overhead lines (OHL). - Inputs & outputs: In: data source: stars data; JSON file overview.json; JSON file overview-graph.json; JSON file periodic-table.json; JSON file graph.json; JSON file apps.json; JSON file elements.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `git(d, *a)`; `find_clone(roots, name)`; `show(d, commit, path)`; `sha256(b)`; `repo_of(url)`; `licence_of(roots, url)`; `build(roots, edition)`; `check(edition, roots)`; `ok(c, m)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: stars data; JSON file overview.json; JSON file overview-graph.json; JSON file periodic-table.json; JSON file graph.json; JSON file apps.json; JSON file elements.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 4 estate files (estate-url 3, import 1); used by 0; mentioned by 0 ### PipelineNews Replay - File: legislation/apps/pipelinenews/replay.py (Python, 33 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/apps/pipelinenews/replay.py#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0976.html#f3 - Synopsis: A Python command-line tool in Legislation that fetches contract, using SHA-256. It is built from the verified JSON helper (`verified_json`) and the replay step (`replay`). - What it achieves (comment): Replay one canonical partition, select one project identity and discard its fields. - What it does: It fetches contract. Defines verified_json, replay. Uses libraries hashlib, json, pathlib, urllib.parse, urllib.request. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file contract.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `verified_json(url, digest)`; `replay()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file contract.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Renewable Energy Planning Database (REPD) Ownership - File: legislation/apps/test_repd_ownership.py (Python, 24 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/apps/test_repd_ownership.py#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0976.html#f4 - Synopsis: A test in Legislation covering the REPD register. It is built from the ownership tests class (`OwnershipTests`). - What it achieves (comment): Protect the separation between project lookup, legal collection and app-owned REPD data. - What it does: It tests the REPD register. Defines OwnershipTests, test_tracker_sources_are_legal_publishers, test_app_reference_contract_has_no_project_partition. Uses libraries json, pathlib, unittest, urllib.parse. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file sources.json; JSON file contract.json. - Signatures: `class OwnershipTests`; `test_tracker_sources_are_legal_publishers(self)`; `test_app_reference_contract_has_no_project_partition(self)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file sources.json; JSON file contract.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Registry - File: legislation/protections/verify-registry.mjs (JavaScript, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/protections/verify-registry.mjs#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/0976.html#f5 - Synopsis: A JavaScript module in the protections folder of Legislation that reads legal evidence, using SHA-256. - What it achieves (comment): It is built from the read step (`read`), the sha256 step (`sha256`) and the check step (`check`). Replay the admitted legal vaccine in CVAA's own data-only worker. - What it does: It loads legal evidence. Defines read, sha256, check. Uses libraries node:assert/strict, node:crypto, node:fs, node:path, node:child_process. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file legal-evidence.json; command-line arguments. - Downstream impact: Used directly by 1 file: Verify Workflow (legislation). - Signatures: `read(path)`; `sha256(text)`; `check(document)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file legal-evidence.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Data Centre Covenant - File: legislation/research/repd-top-100-2026-11-28/data-centre-covenant.html (HTML, 1050 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/research/repd-top-100-2026-11-28/data-centre-covenant.html#L1-L1050 - Page: https://code.globalgrid2050.com/explore-code/s/0977.html#f1 - Published at: https://ventusltd.github.io/legislation/research/repd-top-100-2026-11-28/data-centre-covenant.html - Synopsis: A web page in the research folder of Legislation that draws autocomplete. Published at https://ventusltd.github.io/legislation/research/repd-top-100-2026-11-28/data-centre-covenant.html. It is built from the spam capture helper (`spamCapture`). - What it achieves (name): Defines `spamCapture`. Its code works with 6 GW. It responds to DOMContentLoaded and submit events. - What it does: It draws autocomplete. Defines spamCapture. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file autocomplete.json; form fields (user input). Out: web page; SVG drawing. - Downstream impact: Used directly by 1 file: Legislation — Legal Evidence Page (legislation, https://ventusltd.github.io/legislation/legal-evidence/). Reached from 20 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); Report A4 (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); Report Model (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). It is itself an entry point, published at https://ventusltd.github.io/legislation/research/repd-top-100-2026-11-28/data-centre-covenant.html. - Signatures: `spamCapture(e)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file autocomplete.json; form fields (user input)]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Track - File: legislation/tracking/test_track.py (Python, 83 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/tracking/test_track.py#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/0978.html#f2 - Synopsis: A test in the tracking folder of Legislation that checks Track. It sets up (`setUp`) and runs once (`run_once`). - What it achieves (name): Defines `TrackerTests`, `setUp`, `response` and 9 more. - What it does: It tests its inputs. Defines 12 functions or classes, including TrackerTests, setUp, response, run_once, test_versions_and_reversion. Uses libraries json, tempfile, unittest, pathlib, unittest.mock. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file sources.json; JSON file checkpoint.json; JSON file b.json. - Downstream impact: Used directly by 1 file: Tracking Workflow (legislation). - Signatures: `class TrackerTests`; `setUp(self)`; `response(self, title="Energy consultation", link="/government/test")`; `run_once(self, stamp, response)`; `test_versions_and_reversion(self)`; `test_conditional_and_digest(self)`; `test_malformed_source_preserves_checkpoint(self)`; `test_gap_and_bad_url(self)`; `test_budget_preserves_old_receipts(self)`; `test_atom_selects_relevant_legislation(self)`; `test_failures_are_isolated(self)`; `getter(url, previous)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file sources.json; JSON file checkpoint.json; JSON file b.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Track - File: legislation/tracking/track.py (Python, 185 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/tracking/track.py#L1-L185 - Page: https://code.globalgrid2050.com/explore-code/s/0978.html#f3 - Synopsis: A Python command-line tool in the tracking folder of Legislation that fetches checkpoint and sources, using SHA-256. - What it achieves (comment): It is built from the encode step (`encode`), the put step (`put`) and the legal link helper (`legal_link`). Observe official listing metadata. Source documents and legal status are separate evidence. - What it does: It fetches checkpoint and sources. Defines 8 functions or classes, including encode, put, legal_link, parse, fetch. Uses libraries argparse, datetime, hashlib, json, os. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file checkpoint.json; JSON file sources.json; command-line arguments. - Downstream impact: Used directly by 2 files: Test Track (legislation); Tracking Workflow (legislation). - Signatures: `encode(value)`; `put(path, data, immutable=False)`; `legal_link(url, host)`; `parse(source, body)`; `fetch(url, previous)`; `observe(root, source, previous, getter=fetch)`; `run(root, sources, stamp, getter=fetch)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file checkpoint.json; JSON file sources.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Renewable Energy Planning Database (REPD) Cockpit Skin V1 - File: neural-link-between-agents/CONTRACTS/repd-cockpit-skin.v1.mjs (JavaScript, 155 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/CONTRACTS/repd-cockpit-skin.v1.mjs#L1-L155 - Page: https://code.globalgrid2050.com/explore-code/s/0979.html#f1 - Synopsis: A JavaScript module in Neural Link Between Agents that reads var (`readVar`) and validates REPD skin parity (`validateRepdSkinParity`) (units: MW), covering the REPD register, solar and battery storage (BESS). - What it achieves (comment): It reads var (`readVar`) and validates REPD skin parity (`validateRepdSkinParity`). REPD Cockpit visual skin — coordination/reference module v1. - What it does: Defines captureNativeRepdSkin, pick, readVar, bindNativeRepdSkinToReportHost, validateRepdSkinParity. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Signatures: `export captureNativeRepdSkin(doc)`; `export bindNativeRepdSkinToReportHost(host)`; `export validateRepdSkinParity(host)`; `pick(selector)`; `readVar(name)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Analytics - File: pipelinenews/archive/202608261547-pipelinenews/.github/workflows/analytics.yml (YAML, 64 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/.github/workflows/analytics.yml#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/0979.html#f2 - Synopsis: A configuration file. Runs on push and by hand. - What it achieves (comment): Runs `analytics_v1/tests/run-parquet.sh` and `consumer_v1/tests/run_consumer.sh`. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Import V1 9 Legacy - File: pipelinenews/archive/202608261547-pipelinenews/.github/workflows/import-v1-9-legacy.yml (YAML, 82 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/.github/workflows/import-v1-9-legacy.yml#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/0979.html#f3 - Synopsis: A configuration file. Runs on push and by hand. - What it achieves (comment): Named “Import V1-V9 Legacy Lessons”. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Official Source Frontier - File: pipelinenews/archive/202608261547-pipelinenews/.github/workflows/official-source-frontier.yml (YAML, 53 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/.github/workflows/official-source-frontier.yml#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/0979.html#f4 - Synopsis: A configuration file. Runs on push, on a schedule and by hand. - What it achieves (comment): Runs `tests/run-current-timestamp-release.sh`, `tests/check-official-source-v4.mjs` and `tooling/poll-official-sources-v4.mjs`. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "The current official-source frontier is 60 of 6,870 reference groups with 174 observations: 29 authority-safe primary matches and 145 abstentions." - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Pages - File: pipelinenews/archive/202608261547-pipelinenews/.github/workflows/pages.yml (YAML, 332 lines) · role automation · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/.github/workflows/pages.yml#L1-L332 - Page: https://code.globalgrid2050.com/explore-code/s/0979.html#f5 - Synopsis: A configuration file that fetches migration, official collisions and part. Runs on push and by hand. - What it achieves (comment): Runs `newsv7/tests/run_newsv7.sh`, `tests/run-current-timestamp-release.sh` and `tests/browser-202608260159-pipelinenews.mjs`; publishes to GitHub Pages. - What it does: It fetches migration, official collisions and part. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file MIGRATION_MANIFEST.json; JSON file official-source-v3-collisions.json; JSON file candidate.json; JSON file current.json; JSON file part-016.json; JSON file major_project_news_v9_5_1.json; JSON file cumulative_intelligence.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file MIGRATION_MANIFEST.json; JSON file official-source-v3-collisions.json; JSON file candidate.json; JSON file current.json; JSON file part-016.json; JSON file major_project_news_v9_5_1.json; JSON file cumulative_intelligence.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Renewable Energy Planning Database (REPD) Monthly Check - File: pipelinenews/archive/202608261547-pipelinenews/.github/workflows/repd-monthly-check.yml (YAML, 45 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/.github/workflows/repd-monthly-check.yml#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/0980.html#f1 - Synopsis: A configuration file covering the REPD register. Runs on push, on a schedule and by hand. - What it achieves (comment): Named “REPD monthly source fetch”; runs `tests/run-current-timestamp-release.sh` and `tooling/check-repd-source-v2.mjs`. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file current.json. - domain_stage: experimental · commercial_user: IPP_developer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Timestamp Release - File: pipelinenews/archive/202608261547-pipelinenews/.github/workflows/timestamp-release.yml (YAML, 68 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/.github/workflows/timestamp-release.yml#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/0980.html#f2 - Synopsis: A configuration file covering official collisions. Runs on push and by hand. - What it achieves (comment): Runs `tests/run-current-timestamp-release.sh` and `newsv7/tests/run_newsv7.sh`. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file official-source-v3-collisions.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file official-source-v3-collisions.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews — PipelineNews Page - File: pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/index.html (HTML, 55 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/202608251651-PipelineNews/index.html#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/0980.html#f3 - Published at: https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/ - Synopsis: A web page covering the Renewable Energy Planning Database (REPD) register, using SHA-256. Published at https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/. - What it achieves (comment): Pipeline News official-first monitoring across the complete REPD project spine. - What it does: It draws the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file 202608251651-PipelineNews.json. Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608251651-PipelineNews.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 2, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### PipelineNews — PipelineNews Page - File: pipelinenews/archive/202608261547-pipelinenews/202608260159-pipelinenews/index.html (HTML, 164 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/202608260159-pipelinenews/index.html#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/0980.html#f4 - Published at: https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608260159-pipelinenews/ - Synopsis: A web page that reads inputs for news, county and sort projects (units: MW), covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). Published at https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608260159-pipelinenews/. - What it achieves (name): Its code works with 1 MW. - What it does: It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/v7.css?v=9.6.2, vendor/chart.umd.min.js. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608260159-pipelinenews/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 22 estate files (link 15, stylesheet 5, script-src 2); used by 0; mentioned by 0 ### PipelineNews News Regions V9 6 2 - File: pipelinenews/archive/202608261547-pipelinenews/202608260159-pipelinenews/scripts/core/news-regions-v9-6-2.js (JavaScript, 87 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/202608260159-pipelinenews/scripts/core/news-regions-v9-6-2.js#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/0980.html#f5 - Synopsis: A JavaScript module in the core folder that works with solar and battery storage (BESS). It classifies international v9 (`classifyInternationalV9_6_2`) and is built from the distinctive project tokens helper (`distinctiveProjectTokens`). - What it achieves (name): Defines `distinctiveProjectTokens`, `ukEvidenceV9_6_2`, `technology` and 2 more. - What it does: It calculates solar and battery storage (BESS). Defines distinctiveProjectTokens, ukEvidenceV9_6_2, technology, classifyInternationalV9_6_2, regionalCountsV9_6_2. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: Sanitise News (pipelinenews). - Signatures: `export ukEvidenceV9_6_2(item)`; `export classifyInternationalV9_6_2(item)`; `export regionalCountsV9_6_2(items)`; `distinctiveProjectTokens(item)`; `technology(headline)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/testcode/202609051152/pipeline/scripts/core/news-regions-v9-6-2.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Newspaper V9 5 1 - File: pipelinenews/archive/202608261547-pipelinenews/202608260159-pipelinenews/scripts/plugins/newspaper-v9-5-1.js (JavaScript, 162 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/202608260159-pipelinenews/scripts/plugins/newspaper-v9-5-1.js#L1-L162 - Page: https://code.globalgrid2050.com/explore-code/s/0980.html#f6 - Synopsis: A JavaScript module in the plugins folder of PipelineNews that draws major project news, battery storage (BESS), the Renewable Energy Planning Database (REPD) register and solar. - What it achieves (name): It refreshes projects (`refreshProjects`), indexes news (`indexNewsItems`) and draws news v9 (`drawNewsV9_5_1`). Defines `refreshProjects`, `canonicalItem`, `indexNewsItems` and 11 more. - What it does: It draws major project news, battery storage (BESS), the REPD register and solar. Defines 14 functions or classes, including refreshProjects, canonicalItem, indexNewsItems, signalLabel, signalForProjectV9_5_1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), the REPD register, solar. - Inputs & outputs: In: JSON file major_project_news_v9_5_1.json. - Downstream impact: Used directly by 1 file: Projects V9 5 1 (pipelinenews). - Signatures: `export signalForProjectV9_5_1(project)`; `export drawNewsV9_5_1()`; `export loadNewsV9_5_1()`; `export bindNewspaperV9_5_1(onNewsLoaded)`; `refreshProjects()`; `canonicalItem(item)`; `indexNewsItems(items)`; `signalLabel(item)`; `itemTechnology(item)`; `newsMatches(item)`; `validPayload(payload)`; `payloadTime(payload)`; `fetchPayload(label, url)`; `renderNews(payload, label)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/uk_renewables_pipeline/202611141017/scripts/plugins/newspaper-v9-5-1.js) · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Projects V9 5 1 - File: pipelinenews/archive/202608261547-pipelinenews/202608260159-pipelinenews/scripts/plugins/projects-v9-5-1.js (JavaScript, 326 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/202608260159-pipelinenews/scripts/plugins/projects-v9-5-1.js#L1-L326 - Page: https://code.globalgrid2050.com/explore-code/s/0981.html#f1 - Synopsis: A JavaScript module in the plugins folder of PipelineNews that compares project updates v9, updates sort header, renders table and reads inputs for county and sort projects. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_5_1`), updates sort header (`updateSortHeader`) and renders table (`renderTable`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 20 functions or classes, including atlasUrlV9_5_1, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_5_1, updateSortHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Compare Atlas V8 Deep Links (pipelinenews). - Signatures: `export atlasUrlV9_5_1(project)`; `export compareProjectUpdatesV9_5_1(left, right, direction = "desc")`; `export loadProjectsV9_5_1()`; `export refreshProjectsV9_5_1()`; `export bindProjectControlsV9_5_1()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/uk_renewables_pipeline/v9.5.1/scripts/plugins/projects-v9-5-1.js) · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 6, estate-url 1); used by 1; mentioned by 0 ### Build Parquet - File: pipelinenews/archive/202608261547-pipelinenews/analytics_v1/scripts/build_parquet.py (Python, 90 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/analytics_v1/scripts/build_parquet.py#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/0981.html#f2 - Synopsis: A Python module in the scripts folder of PipelineNews that reads storage and audit, using SHA-256. - What it achieves (name): It is built from the stable JSON helper (`stable_json`) and the iso time helper (`iso_time`). Its name says it builds Parquet. Defines `raw`, `load`, `sha` and 2 more. - What it does: It loads storage and audit. Defines raw, load, sha, stable_json, iso_time. Uses libraries hashlib, json, shutil, datetime, pathlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file storage.v1.json; JSON file parquet-build.v1.json; JSON file parquet_audit.json; JSON file parquet_manifest.json; DuckDB queries. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `raw(path)`; `load(path)`; `sha(value)`; `stable_json(value)`; `iso_time(value)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file storage.v1.json; JSON file parquet-build.v1.json; JSON file parquet_audit.json; JSON file parquet_manifest.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Stage Storage Contract - File: pipelinenews/archive/202608261547-pipelinenews/analytics_v1/scripts/stage-storage-contract.mjs (JavaScript, 18 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/analytics_v1/scripts/stage-storage-contract.mjs#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/0981.html#f3 - Synopsis: A JavaScript module in the scripts folder of PipelineNews that reads cross version reconciliation, dependency audit and staging, using SHA-256. - What it achieves (name): Defines `sha256` and `check`. It writes `../data/cross_version_reconciliation.json`. - What it does: It loads cross version reconciliation, dependency audit and staging. Defines sha256, check. Uses libraries node:crypto, node:fs/promises, node:child_process. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file storage.v1.json; JSON file cross_version_reconciliation.json; JSON file dependency_audit.json; DuckDB queries. Out: JSON file cross_version_reconciliation.json; JSON file dependency_audit.json; JSON file staging_manifest.json. - Signatures: `sha256(v)`; `check(args)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file storage.v1.json; JSON file cross_version_reconciliation.json; JSON file dependency_audit.json; DuckDB queries]; out [JSON file cross_version_reconciliation.json; JSON file dependency_audit.json; JSON file staging_manifest.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SQL Views - File: pipelinenews/archive/202608261547-pipelinenews/analytics_v1/sql/views.sql (SQL, 10 lines) · role storage · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/analytics_v1/sql/views.sql#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/0981.html#f4 - Synopsis: An SQL query in PipelineNews that reads newsv2 event assertions, newsv3 organisation labels, newsv3 project operator roles and newsv3 transaction role decisions. - What it achieves (name): It reads `newsv2_event_assertions.parquet`. - What it does: It loads newsv2 event assertions, newsv3 organisation labels, newsv3 project operator roles and newsv3 transaction role decisions. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: Parquet file newsv2_event_assertions.parquet; Parquet file newsv3_organisation_labels.parquet; Parquet file newsv3_project_operator_roles.parquet; Parquet file newsv3_transaction_role_decisions.parquet; Parquet file newsv4_source_health.parquet; Parquet file newsv5_reason_decisions.parquet; Parquet file newsv6_dc_sources.parquet; Parquet file newsv6_dc_observations.parquet. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [Parquet file newsv2_event_assertions.parquet; Parquet file newsv3_organisation_labels.parquet; Parquet file newsv3_project_operator_roles.parquet; Parquet file newsv3_transaction_role_decisions.parquet; Parquet file newsv4_source_health.parquet; Parquet file newsv5_reason_decisions.parquet; Parquet file newsv6_dc_sources.parquet; Parquet file newsv6_dc_observations.parquet]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Storage Contract - File: pipelinenews/archive/202608261547-pipelinenews/analytics_v1/tests/check-storage-contract.mjs (JavaScript, 14 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/analytics_v1/tests/check-storage-contract.mjs#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0981.html#f5 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests cross version reconciliation, dependency audit and staging, using SHA-256. - What it achieves (name): Its name says it checks storage contract. Defines `read`. It reads `../contracts/storage.v1.json`. - What it does: It tests cross version reconciliation, dependency audit and staging. Defines read. Uses libraries node:assert/strict, node:crypto, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file storage.v1.json; JSON file cross_version_reconciliation.json; JSON file dependency_audit.json; JSON file staging_manifest.json. - Signatures: `read(p)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file storage.v1.json; JSON file cross_version_reconciliation.json; JSON file dependency_audit.json; JSON file staging_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Run Parquet - File: pipelinenews/archive/202608261547-pipelinenews/analytics_v1/tests/run-parquet.sh (Shell, 6 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/analytics_v1/tests/run-parquet.sh#L1-L6 - Page: https://code.globalgrid2050.com/explore-code/s/0981.html#f6 - Synopsis: A shell script in the tests folder of PipelineNews. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Run Storage Contract - File: pipelinenews/archive/202608261547-pipelinenews/analytics_v1/tests/run-storage-contract.sh (Shell, 6 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/analytics_v1/tests/run-storage-contract.sh#L1-L6 - Page: https://code.globalgrid2050.com/explore-code/s/0981.html#f7 - Synopsis: A shell script in the tests folder of PipelineNews. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Parquet - File: pipelinenews/archive/202608261547-pipelinenews/analytics_v1/tests/verify_parquet.py (Python, 24 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/analytics_v1/tests/verify_parquet.py#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0981.html#f8 - Synopsis: A Python module in the tests folder of PipelineNews that tests storage and audit, using SHA-256. - What it achieves (name): Its name says it verifies Parquet. - What it does: It tests storage and audit. Uses libraries hashlib, json, pathlib, duckdb, pyarrow.parquet. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file storage.v1.json; JSON file parquet-build.v1.json; JSON file parquet_audit.json; JSON file parquet_manifest.json; DuckDB queries. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file storage.v1.json; JSON file parquet-build.v1.json; JSON file parquet_audit.json; JSON file parquet_manifest.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Attribution Ledger - File: pipelinenews/archive/202608261547-pipelinenews/attributionv1/modules/attribution-ledger.mjs (JavaScript, 90 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/attributionv1/modules/attribution-ledger.mjs#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/0981.html#f9 - Synopsis: A JavaScript module in PipelineNews that appends attributions (`appendAttributions`) and builds charge fixture proof (`buildChargeFixtureProof`), using SHA-256. It normalises attribution (`normaliseAttribution`), appends attributions (`appendAttributions`) and builds charge fixture proof (`buildChargeFixtureProof`). - What it achieves (name): Defines `sha256`, `assertNoPersonKeys`, `normaliseAttribution` and 3 more. - What it does: It calculates its inputs. Defines 6 functions or classes, including sha256, assertNoPersonKeys, normaliseAttribution, appendAttributions, attributionsFromRegisteredCharge. Uses libraries node:crypto. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 4 files: Discrepancy View (pipelinenews); Register Ingest (pipelinenews); Build Charge Fixture Proof (pipelinenews); Check Batch5 Attribution (pipelinenews). - Signatures: `export normaliseAttribution(input)`; `export appendAttributions(existing, incoming)`; `export attributionsFromRegisteredCharge(project, charge)`; `export buildChargeFixtureProof(fixture)`; `sha256(value)`; `assertNoPersonKeys(value, path = "row")` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Discrepancy View - File: pipelinenews/archive/202608261547-pipelinenews/attributionv1/modules/discrepancy-view.mjs (JavaScript, 38 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/attributionv1/modules/discrepancy-view.mjs#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0981.html#f10 - Synopsis: A JavaScript module in PipelineNews that builds discrepancy fixture proof (`buildDiscrepancyFixtureProof`). It builds discrepancy fixture proof (`buildDiscrepancyFixtureProof`). - What it achieves (name): Defines `buildDiscrepancyView`, `buildDiscrepancyFixtureProof` and `count`. - What it does: It calculates its inputs. Defines buildDiscrepancyView, buildDiscrepancyFixtureProof, count. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Build Discrepancy Fixture Proof (pipelinenews); Check Batch7 Product (pipelinenews). - Signatures: `export buildDiscrepancyView(rawRoles, projects)`; `export buildDiscrepancyFixtureProof(fixture)`; `count(status)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Register Ingest - File: pipelinenews/archive/202608261547-pipelinenews/attributionv1/modules/register-ingest.mjs (JavaScript, 96 lines) · role energy-data · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/attributionv1/modules/register-ingest.mjs#L1-L96 - Page: https://code.globalgrid2050.com/explore-code/s/0982.html#f1 - Synopsis: A JavaScript module in PipelineNews that normalises organisation (`normaliseOrganisationEvent`) and builds register fixture proof (`buildRegisterFixtureProof`), using SHA-256. It normalises organisation event (`normaliseOrganisationEvent`) and builds register fixture proof (`buildRegisterFixtureProof`). - What it achieves (name): Defines `sha256`, `sourceDetails`, `normaliseOrganisationEvent` and 2 more. - What it does: It calculates its inputs. Defines sha256, sourceDetails, normaliseOrganisationEvent, ingestRegisterRecords, buildRegisterFixtureProof. Uses libraries node:crypto. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Build Register Fixture Proof (pipelinenews); Check Batch6 Registers (pipelinenews). - Signatures: `export ingestRegisterRecords(records)`; `export buildRegisterFixtureProof(fixture)`; `sha256(value)`; `sourceDetails(record)`; `normaliseOrganisationEvent(record, details)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Build Charge Fixture Proof - File: pipelinenews/archive/202608261547-pipelinenews/attributionv1/scripts/build-charge-fixture-proof.mjs (JavaScript, 17 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/attributionv1/scripts/build-charge-fixture-proof.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/0982.html#f2 - Synopsis: A JavaScript module in the scripts folder of PipelineNews that reads charges. - What it achieves (name): Its name says it builds charge fixture proof. It reads `attributionv1/fixtures/charges.v1.json`. - What it does: It loads charges. Uses libraries node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file charges.v1.json; JSON file charge-fixture-proof.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file charges.v1.json; JSON file charge-fixture-proof.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Build Discrepancy Fixture Proof - File: pipelinenews/archive/202608261547-pipelinenews/attributionv1/scripts/build-discrepancy-fixture-proof.mjs (JavaScript, 17 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/attributionv1/scripts/build-discrepancy-fixture-proof.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/0982.html#f3 - Synopsis: A JavaScript module in the scripts folder of PipelineNews. - What it achieves (name): Its name says it builds discrepancy fixture proof. It reads `attributionv1/fixtures/discrepancy.v1.json`. - What it does: It loads data. Uses libraries node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file discrepancy.v1.json; JSON file discrepancy-fixture-proof.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file discrepancy.v1.json; JSON file discrepancy-fixture-proof.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Build Register Fixture Proof - File: pipelinenews/archive/202608261547-pipelinenews/attributionv1/scripts/build-register-fixture-proof.mjs (JavaScript, 17 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/attributionv1/scripts/build-register-fixture-proof.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/0982.html#f4 - Synopsis: A JavaScript module in the scripts folder of PipelineNews that reads register sources. - What it achieves (name): Its name says it builds register fixture proof. It reads `attributionv1/fixtures/register-sources.v1.json`. - What it does: It loads register sources. Uses libraries node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file register-sources.v1.json; JSON file register-fixture-proof.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file register-sources.v1.json; JSON file register-fixture-proof.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### SQL Attribution Discrepancy - File: pipelinenews/archive/202608261547-pipelinenews/attributionv1/sql/attribution-discrepancy.sql (SQL, 25 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/attributionv1/sql/attribution-discrepancy.sql#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/0982.html#f5 - Synopsis: An SQL query in PipelineNews. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Batch5 Attribution - File: pipelinenews/archive/202608261547-pipelinenews/attributionv1/tests/check_batch5_attribution.mjs (JavaScript, 28 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/attributionv1/tests/check_batch5_attribution.mjs#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0982.html#f6 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests charges and release attributionv1. - What it achieves (name): Its name says it checks Batch5 attribution. It reads `../fixtures/charges.v1.json`. - What it does: It tests charges and release attributionv1. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file charges.v1.json; JSON file release.attributionv1.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file charges.v1.json; JSON file release.attributionv1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Check Batch6 Registers - File: pipelinenews/archive/202608261547-pipelinenews/attributionv1/tests/check_batch6_registers.mjs (JavaScript, 26 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/attributionv1/tests/check_batch6_registers.mjs#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/0982.html#f7 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests register sources and register ingest. - What it achieves (name): Its name says it checks Batch6 registers. It reads `../fixtures/register-sources.v1.json`. - What it does: It tests register sources and register ingest. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file register-sources.v1.json; JSON file register-ingest.v1.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file register-sources.v1.json; JSON file register-ingest.v1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Check Batch7 Product - File: pipelinenews/archive/202608261547-pipelinenews/attributionv1/tests/check_batch7_product.mjs (JavaScript, 26 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/attributionv1/tests/check_batch7_product.mjs#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/0982.html#f8 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests discrepancy. - What it achieves (name): Its name says it checks Batch7 product. It reads `../fixtures/discrepancy.v1.json`. - What it does: It tests discrepancy. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file discrepancy.v1.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file discrepancy.v1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Build Consumer - File: pipelinenews/archive/202608261547-pipelinenews/consumer_v1/scripts/build_consumer.py (Python, 158 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/consumer_v1/scripts/build_consumer.py#L1-L158 - Page: https://code.globalgrid2050.com/explore-code/s/0982.html#f9 - Synopsis: A Python module in the scripts folder of PipelineNews that reads release consumer, major project news, regional news and regional decisions, using SHA-256. - What it achieves (name): It writes JSON (`write_json`) and is built from the sha path helper (`sha_path`) and the URL order hash helper (`url_order_hash`). Its name says it builds consumer. Defines `raw`, `load`, `sha_bytes` and 3 more. It writes `intelligence_overlay.json`. - What it does: It loads release consumer, major project news, regional news and regional decisions. Defines 6 functions or classes, including raw, load, sha_bytes, sha_path, write_json. Uses libraries hashlib, json, re, pathlib, duckdb. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file release.consumer-v1.json; JSON file major_project_news_v9_5_1.json; JSON file regional_news.json; JSON file regional_decisions.json; JSON file regional_manifest.json; JSON file release.newsv1.json; Parquet file newsv5_reason_decisions.parquet; Parquet file newsv6_dc_sources.parquet. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `raw(path)`; `load(path)`; `sha_bytes(value)`; `sha_path(path)`; `write_json(path, value)`; `url_order_hash(rows)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.consumer-v1.json; JSON file major_project_news_v9_5_1.json; JSON file regional_news.json; JSON file regional_decisions.json; JSON file regional_manifest.json; JSON file release.newsv1.json; Parquet file newsv5_reason_decisions.parquet; Parquet file newsv6_dc_sources.parquet]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SQL Projections - File: pipelinenews/archive/202608261547-pipelinenews/consumer_v1/sql/projections.sql (SQL, 17 lines) · role storage · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/consumer_v1/sql/projections.sql#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/0982.html#f10 - Synopsis: An SQL query in PipelineNews that reads newsv5 reason decisions, newsv6 DC sources, newsv6 DC observations and newsv6 DC link decisions. - What it achieves (name): It reads `analytics_v1/parquet/newsv5_reason_decisions.parquet`. - What it does: It loads newsv5 reason decisions, newsv6 DC sources, newsv6 DC observations and newsv6 DC link decisions. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: Parquet file newsv5_reason_decisions.parquet; Parquet file newsv6_dc_sources.parquet; Parquet file newsv6_dc_observations.parquet; Parquet file newsv6_dc_link_decisions.parquet. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [Parquet file newsv5_reason_decisions.parquet; Parquet file newsv6_dc_sources.parquet; Parquet file newsv6_dc_observations.parquet; Parquet file newsv6_dc_link_decisions.parquet]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Run Consumer - File: pipelinenews/archive/202608261547-pipelinenews/consumer_v1/tests/run_consumer.sh (Shell, 5 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/consumer_v1/tests/run_consumer.sh#L1-L5 - Page: https://code.globalgrid2050.com/explore-code/s/0982.html#f11 - Synopsis: A shell script in the tests folder of PipelineNews. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Consumer - File: pipelinenews/archive/202608261547-pipelinenews/consumer_v1/tests/verify_consumer.py (Python, 74 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/consumer_v1/tests/verify_consumer.py#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/0982.html#f12 - Synopsis: A Python module in the tests folder of PipelineNews that tests release consumer, intelligence overlay and interface guard, using SHA-256. - What it achieves (name): Its name says it verifies consumer. Defines `load` and `sha`. - What it does: It tests release consumer, intelligence overlay and interface guard. Defines load, sha. Uses libraries hashlib, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file release.consumer-v1.json; JSON file intelligence_overlay.json; JSON file interface_guard.json; JSON file build_manifest.json. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `load(path)`; `sha(path)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.consumer-v1.json; JSON file intelligence_overlay.json; JSON file interface_guard.json; JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Capture Recapture - File: pipelinenews/archive/202608261547-pipelinenews/discoveryv1/modules/capture-recapture.mjs (JavaScript, 39 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/discoveryv1/modules/capture-recapture.mjs#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0982.html#f13 - Synopsis: A JavaScript module in PipelineNews that works with lincoln petersen (`lincolnPetersen`) and weekly coverage report (`weeklyCoverageReport`). - What it achieves (name): It is built from the lincoln petersen helper (`lincolnPetersen`), the weekly coverage report helper (`weeklyCoverageReport`) and the publication readiness helper (`publicationReadiness`). Defines `lincolnPetersen`, `weeklyCoverageReport` and `publicationReadiness`. - What it does: It calculates its inputs. Defines lincolnPetersen, weeklyCoverageReport, publicationReadiness. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Check Batch7 Product (pipelinenews). - Signatures: `export lincolnPetersen(nA, nB, overlap)`; `export weeklyCoverageReport({ week_ending, search_index_events, register_events, overlap })`; `export publicationReadiness({ evaluated_at, latest_discovered_at, maximum_age_hours = 24, provider_statuses = [] })`; `ageHours(evaluated - latest)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Credibility - File: pipelinenews/archive/202608261547-pipelinenews/discoveryv1/modules/credibility.mjs (JavaScript, 58 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/discoveryv1/modules/credibility.mjs#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/0982.html#f14 - Synopsis: A JavaScript module in PipelineNews that normalises domain (`normaliseDomain`), using SHA-256. - What it achieves (name): It normalises domain (`normaliseDomain`) and is built from the credibility for domain helper (`credibilityForDomain`) and the event confidence helper (`eventConfidence`). Defines `sha256`, `normaliseDomain`, `credibilityForDomain` and 1 more. - What it does: It calculates its inputs. Defines sha256, normaliseDomain, credibilityForDomain, eventConfidence. Uses libraries node:crypto. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Discovery Ledger (pipelinenews); Check Batch3 Normalize Credibility (pipelinenews). - Signatures: `export credibilityForDomain(value)`; `export eventConfidence(mentions)`; `sha256(value)`; `normaliseDomain(value)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Discovery Ledger - File: pipelinenews/archive/202608261547-pipelinenews/discoveryv1/modules/discovery-ledger.mjs (JavaScript, 57 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/discoveryv1/modules/discovery-ledger.mjs#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0982.html#f15 - Synopsis: A JavaScript module in PipelineNews. - What it achieves (name): Defines `buildDiscoveryLedger`. - What it does: It calculates its inputs. Defines buildDiscoveryLedger. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Build Discovery Ledger (pipelinenews); Check Batch4 Binding (pipelinenews). - Signatures: `export buildDiscoveryLedger(input)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Matcher Bridge - File: pipelinenews/archive/202608261547-pipelinenews/discoveryv1/modules/matcher-bridge.mjs (JavaScript, 80 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/discoveryv1/modules/matcher-bridge.mjs#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/0983.html#f1 - Synopsis: A JavaScript module in PipelineNews that works with solar, wind and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It matches discovery mention (`matchDiscoveryMention`) and is built from the technology class helper (`technologyClass`) and the project technology helper (`projectTechnology`). Defines `text`, `compact`, `technologyClass` and 4 more. - What it does: It calculates solar, wind and the REPD register. Defines 7 functions or classes, including text, compact, technologyClass, projectTechnology, nameStem. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, wind, the REPD register. - Downstream impact: Used directly by 2 files: Discovery Ledger (pipelinenews); Check Batch4 Binding (pipelinenews). - Signatures: `export matchDiscoveryMention(mention, projects)`; `text(value)`; `compact(value)`; `technologyClass(value)`; `projectTechnology(value)`; `nameStem(name)`; `evidenceFor(project, haystack, observedTechnology)`; `score(planningMatch ? 10 : 0)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Mention Normalizer - File: pipelinenews/archive/202608261547-pipelinenews/discoveryv1/modules/mention-normalizer.mjs (JavaScript, 61 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/discoveryv1/modules/mention-normalizer.mjs#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/0983.html#f2 - Synopsis: A JavaScript module in PipelineNews that works with canonical URL (`canonicalUrl`) and min hash signature (`minHashSignature`), using SHA-256. - What it achieves (name): It is built from the canonical URL helper (`canonicalUrl`), the mention id helper (`mentionId`) and the shingles step (`shingles`). Defines `sha256`, `canonicalUrl`, `mentionId` and 5 more. - What it does: It lists and searches its content. Defines 8 functions or classes, including sha256, canonicalUrl, mentionId, shingles, hash32. Uses libraries node:crypto. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Discovery Ledger (pipelinenews); Check Batch3 Normalize Credibility (pipelinenews). - Signatures: `export canonicalUrl(rawUrl)`; `export mentionId({ canonical_url, gg_project_id = null, title = "", snippet = "" })`; `export minHashSignature(value, components = 64)`; `export minHashSimilarity(left, right)`; `export clusterMentions(mentions, threshold = 0.85)`; `sha256(value)`; `shingles(value, width = 3)`; `hash32(value, seed)`; `hash(2166136261 ^ seed)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Query Planner - File: pipelinenews/archive/202608261547-pipelinenews/discoveryv1/modules/query-planner.mjs (JavaScript, 78 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/discoveryv1/modules/query-planner.mjs#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/0983.html#f3 - Synopsis: A JavaScript module in PipelineNews that works with solar. It queries forms (`queryForms`) and selects daily candidates (`selectDailyCandidates`). - What it achieves (name): Defines `finite`, `priority`, `queryForms` and 2 more. - What it does: It calculates solar. Defines finite, priority, queryForms, siteRestrictedQueries, selectDailyCandidates. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar. - Downstream impact: Used directly by 1 file: Check Batch2 Planner Adapters (pipelinenews). - Signatures: `export priority(candidate)`; `export queryForms(name, operator = null)`; `export siteRestrictedQueries(candidate, siteDomain)`; `export selectDailyCandidates(candidates, budget, { maximumDaysWithoutQuery = 30 } = {})`; `finite(value, fallback = 0)` - domain_stage: experimental · commercial_user: landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Search Adapters - File: pipelinenews/archive/202608261547-pipelinenews/discoveryv1/modules/search-adapters.mjs (JavaScript, 87 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/discoveryv1/modules/search-adapters.mjs#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/0983.html#f4 - Synopsis: A JavaScript module in PipelineNews that builds search request (`buildSearchRequest`), using SHA-256. It builds search request (`buildSearchRequest`) and normalises results (`normaliseResults`). - What it achieves (name): Defines `digest`, `apex`, `isRestrictedHost` and 4 more. - What it does: It calculates its inputs. Defines 7 functions or classes, including digest, apex, isRestrictedHost, assertAllowedFetchTarget, buildSearchRequest. Uses libraries node:crypto. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Check Batch2 Planner Adapters (pipelinenews). - Signatures: `export isRestrictedHost(hostname)`; `export assertAllowedFetchTarget(rawUrl)`; `export buildSearchRequest({ provider, query, credentials = {}, count = 10 })`; `export executeSearch({ fetchImpl = fetch, provider, query, credentials, count = 10 })`; `digest(value)`; `apex(hostname)`; `normaliseResults(provider, payload)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Discovery Ledger - File: pipelinenews/archive/202608261547-pipelinenews/discoveryv1/scripts/build-discovery-ledger.mjs (JavaScript, 17 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/discoveryv1/scripts/build-discovery-ledger.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/0983.html#f5 - Synopsis: A JavaScript module in the scripts folder of PipelineNews that reads east pye discovery and discovery mentions. - What it achieves (name): Its name says it builds discovery ledger. It reads `discoveryv1/fixtures/east-pye-discovery.v1.json`. - What it does: It loads east pye discovery and discovery mentions. Uses libraries node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file east-pye-discovery.v1.json; JSON file discovery_mentions.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file east-pye-discovery.v1.json; JSON file discovery_mentions.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Check Batch1 Schema - File: pipelinenews/archive/202608261547-pipelinenews/discoveryv1/tests/check_batch1_schema.mjs (JavaScript, 29 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/discoveryv1/tests/check_batch1_schema.mjs#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/0983.html#f6 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests release discoveryv1, discovery mention schema and lineage scan. - What it achieves (name): Its name says it checks Batch1 schema. Defines `json`. - What it does: It tests release discoveryv1, discovery mention schema and lineage scan. Defines json. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file release.discoveryv1.json; JSON file discovery-mention.v1.schema.json; JSON file 202608251701-lineage-scan.json. - Signatures: `json(path)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release.discoveryv1.json; JSON file discovery-mention.v1.schema.json; JSON file 202608251701-lineage-scan.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Batch2 Planner Adapters - File: pipelinenews/archive/202608261547-pipelinenews/discoveryv1/tests/check_batch2_planner_adapters.mjs (JavaScript, 57 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/discoveryv1/tests/check_batch2_planner_adapters.mjs#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/0983.html#f7 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests search adapters and solar. It is built from the fake fetch helper (`fakeFetch`). - What it achieves (name): Its name says it checks Batch2 planner adapters. Defines `fakeFetch`. It reads `../contracts/search-adapters.v1.json`. - What it does: It tests search adapters and solar. Defines fakeFetch. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar. - Inputs & outputs: In: JSON file search-adapters.v1.json. - Signatures: `fakeFetch(url, options)` - domain_stage: experimental · commercial_user: landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file search-adapters.v1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Check Batch3 Normalize Credibility - File: pipelinenews/archive/202608261547-pipelinenews/discoveryv1/tests/check_batch3_normalize_credibility.mjs (JavaScript, 39 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/discoveryv1/tests/check_batch3_normalize_credibility.mjs#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/0983.html#f8 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests solar. - What it achieves (name): Its name says it checks Batch3 normalize credibility. It reads `../contracts/credibility.v1.json`. - What it does: It tests solar. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar. - Inputs & outputs: In: JSON file credibility.v1.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file credibility.v1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Check Batch4 Binding - File: pipelinenews/archive/202608261547-pipelinenews/discoveryv1/tests/check_batch4_binding.mjs (JavaScript, 34 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/discoveryv1/tests/check_batch4_binding.mjs#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/0983.html#f9 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests east pye discovery and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): Its name says it checks Batch4 binding. It reads `../fixtures/east-pye-discovery.v1.json`. - What it does: It tests east pye discovery and the REPD register. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file east-pye-discovery.v1.json; JSON file binding.v1.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file east-pye-discovery.v1.json; JSON file binding.v1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### PipelineNews — News v1 Page - File: pipelinenews/archive/202608261547-pipelinenews/newsv1/index.html (HTML, 170 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv1/index.html#L1-L170 - Page: https://code.globalgrid2050.com/explore-code/s/0983.html#f10 - Published at: https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv1/ - Synopsis: A web page that reads inputs for news, county and sort projects (units: MW), covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). Published at https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv1/. - What it achieves (comment): UK Renewables News V1. Its code works with 1 MW. - What it does: It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/v7.css?v=newsv1. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/); Check News v1 (pipelinenews); PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/). It is itself an entry point, published at https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv1/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 24 estate files (link 16, stylesheet 6, script-src 2); used by 3; mentioned by 0 ### App News v1 - File: pipelinenews/archive/202608261547-pipelinenews/newsv1/scripts/app-newsv1.js (JavaScript, 30 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv1/scripts/app-newsv1.js#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/0983.html#f11 - Synopsis: A JavaScript module in the scripts folder of PipelineNews. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: PipelineNews — News v1 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv1/). Reached from 2 other entry points, including PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - Signatures: `start()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### Canonical Projects News v1 Release - File: pipelinenews/archive/202608261547-pipelinenews/newsv1/scripts/data/canonical-projects-newsv1-release.js (JavaScript, 34 lines) · role automation · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv1/scripts/data/canonical-projects-newsv1-release.js#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/0984.html#f1 - Synopsis: A JavaScript module in the data folder of PipelineNews that fetches release newsv1. It fetches release (`fetchRelease`). - What it achieves (name): Defines `invariant`, `fetchRelease` and `loadCanonicalProjectsNewsV1Release`. - What it does: It fetches release newsv1. Defines invariant, fetchRelease, loadCanonicalProjectsNewsV1Release. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file release.newsv1.json. - Downstream impact: Used directly by 1 file: Projects News v1 (pipelinenews). Reached from 4 other entry points, including PipelineNews — News v1 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv1/); PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - Signatures: `export loadCanonicalProjectsNewsV1Release({ onFirstPartition } = {})`; `invariant(condition, message)`; `fetchRelease()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.newsv1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Canonical Projects News v1 - File: pipelinenews/archive/202608261547-pipelinenews/newsv1/scripts/data/canonical-projects-newsv1.js (JavaScript, 129 lines) · role render · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv1/scripts/data/canonical-projects-newsv1.js#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/0984.html#f2 - Synopsis: A JavaScript module in the data folder of PipelineNews that fetches solar, battery storage (BESS) and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It fetches JSON (`fetchJson`), maps concurrency (`mapWithConcurrency`) and validates partition (`validatePartition`). Defines `invariant`, `round2`, `fetchJson` and 7 more. Its code works with 1 MW. - What it does: It fetches solar, battery storage (BESS) and the REPD register. Defines 10 functions or classes, including invariant, round2, fetchJson, mapWithConcurrency, worker. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS), the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: Canonical Projects News v1 Release (pipelinenews). Reached from 4 other entry points, including PipelineNews — News v1 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv1/); PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - Signatures: `export loadCanonicalProjectsNewsV1({ onFirstPartition } = {})`; `invariant(condition, message)`; `round2(value)`; `fetchJson(path)`; `mapWithConcurrency(items, task)`; `worker()`; `validatePartition(partition, part)`; `fetchPartition(partition)`; `validateProjects(sourceProjects)`; `loadCanonicalProjects(onFirstPartition)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Gauges V9 2 - File: pipelinenews/archive/202608261547-pipelinenews/newsv1/scripts/plugins/gauges-v9-2.js (JavaScript, 94 lines) · role render · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv1/scripts/plugins/gauges-v9-2.js#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/0984.html#f3 - Synopsis: A JavaScript module in the plugins folder of PipelineNews that updates chart (`updateChart`) and formats capacity v9 (`formatCapacityV9_2`) and largest v9 (`formatLargestV9_2`) (units: MW). - What it achieves (name): It creates gauge (`createGauge`), updates chart (`updateChart`) and formats capacity v9 (`formatCapacityV9_2`). Defines `createGauge`, `updateChart`, `formatCapacityV9_2` and 5 more. - What it does: It draws its content. Defines 8 functions or classes, including createGauge, updateChart, formatCapacityV9_2, formatLargestV9_2, initialiseGaugesV9_2. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: App News v1 (pipelinenews); Projects News v1 (pipelinenews). Reached from 3 other entry points, including PipelineNews — News v1 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv1/); PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - Signatures: `export formatCapacityV9_2(value)`; `export formatLargestV9_2(value)`; `export initialiseGaugesV9_2()`; `export loadGaugeChartsNewsV1()`; `export setGaugeUniverseV9_2(projects)`; `export updateGaugesV9_2(projects)`; `createGauge(canvasId, colour, options)`; `updateChart(chart, value, maximum)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Newspaper News v1 Base - File: pipelinenews/archive/202608261547-pipelinenews/newsv1/scripts/plugins/newspaper-newsv1-base.js (JavaScript, 177 lines) · role render · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv1/scripts/plugins/newspaper-newsv1-base.js#L1-L177 - Page: https://code.globalgrid2050.com/explore-code/s/0984.html#f4 - Synopsis: A JavaScript module in the plugins folder of PipelineNews that draws major project news and battery storage (BESS), and uses data from the GlobalGrid2050 repository. - What it achieves (name): It refreshes projects (`refreshProjects`), indexes news (`indexNewsItems`) and draws news news v1 base (`drawNewsNewsV1Base`). Defines `refreshProjects`, `canonicalItem`, `indexNewsItems` and 11 more. - What it does: It draws major project news, battery storage (BESS), the REPD register and solar. Defines 14 functions or classes, including refreshProjects, canonicalItem, indexNewsItems, signalLabel, signalForProjectNewsV1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), the REPD register, solar. - Inputs & outputs: In: data source: globalgrid2050 data; JSON file major_project_news_v9_5_1.json. - Downstream impact: Used directly by 2 files: Newspaper News v1 (pipelinenews); Projects News v1 (pipelinenews). Reached from 4 other entry points, including PipelineNews — News v1 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv1/); PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - Signatures: `export signalForProjectNewsV1(project)`; `export drawNewsNewsV1Base()`; `export loadNewsNewsV1Base()`; `export bindNewspaperNewsV1Base(onNewsLoaded)`; `refreshProjects()`; `canonicalItem(item)`; `indexNewsItems(items)`; `signalLabel(item)`; `itemTechnology(item)`; `newsMatches(item)`; `validPayload(payload)`; `fetchPayload(label, url)`; `renderNews(payload, label)`; `loadNews()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data; JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Newspaper News v1 - File: pipelinenews/archive/202608261547-pipelinenews/newsv1/scripts/plugins/newspaper-newsv1.js (JavaScript, 101 lines) · role render · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv1/scripts/plugins/newspaper-newsv1.js#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/0984.html#f5 - Synopsis: A JavaScript module in the plugins folder of PipelineNews that draws regional news, solar and battery storage (BESS). - What it achieves (name): It queries matches (`queryMatches`), draws regional (`drawRegional`) and draws news news v1 (`drawNewsNewsV1`). Defines `queryMatches`, `regionalRows`, `drawRegional` and 4 more. - What it does: It draws regional news, solar and battery storage (BESS). Defines 7 functions or classes, including queryMatches, regionalRows, drawRegional, drawNewsNewsV1, fetchCommitted. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file regional_news.json; JSON file regional_manifest.json. - Downstream impact: Used directly by 1 file: App News v1 (pipelinenews). Reached from 3 other entry points, including PipelineNews — News v1 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv1/); PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - Signatures: `export drawNewsNewsV1()`; `export loadNewsNewsV1()`; `export bindNewspaperNewsV1(onNewsLoaded)`; `queryMatches(item)`; `regionalRows()`; `drawRegional()`; `fetchCommitted(path)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file regional_news.json; JSON file regional_manifest.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Projects News v1 - File: pipelinenews/archive/202608261547-pipelinenews/newsv1/scripts/plugins/projects-newsv1.js (JavaScript, 392 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv1/scripts/plugins/projects-newsv1.js#L1-L392 - Page: https://code.globalgrid2050.com/explore-code/s/0985.html#f1 - Synopsis: A JavaScript module in the plugins folder of PipelineNews that compares project updates v9, updates sort header, renders table and reads inputs for county and sort projects. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_5_1`), updates sort header (`updateSortHeader`) and renders table (`renderTable`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 23 functions or classes, including atlasUrlV9_5_1, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_5_1, updateSortHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: App News v1 (pipelinenews). Reached from 3 other entry points, including PipelineNews — News v1 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv1/); PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - Signatures: `export atlasUrlV9_5_1(project)`; `export compareProjectUpdatesV9_5_1(left, right, direction = "desc")`; `export loadProjectsNewsV1()`; `export refreshProjectsNewsV1()`; `export bindProjectControlsNewsV1()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `renderTable()`; `renderPager()`; `setProjectControlsReady(ready)`; `renderFirstPartitionPreview({ projects, loaded_count: loadedCount, total_count: totalCount })`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true, resetPage = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 6, estate-url 1); used by 1; mentioned by 0 ### Performance News v1 - File: pipelinenews/archive/202608261547-pipelinenews/newsv1/styles/performance-newsv1.css (CSS, 42 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv1/styles/performance-newsv1.css#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/0985.html#f2 - Synopsis: A style sheet in the styles folder of PipelineNews. - What it achieves (comment): News V1 performance controls only. Inherited table and mobile columns remain unchanged. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: PipelineNews — News v1 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv1/). Reached from 2 other entry points, including PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check News v1 - File: pipelinenews/archive/202608261547-pipelinenews/newsv1/tests/check_newsv1.mjs (JavaScript, 268 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv1/tests/check_newsv1.mjs#L1-L268 - Page: https://code.globalgrid2050.com/explore-code/s/0986.html#f1 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests migration, release newsv1, major project news and regional news, using SHA-256. - What it achieves (name): It is built from the sha256 step (`sha256`) and the round2 step (`round2`). Its name says it checks news. Defines `text`, `bytes`, `json` and 2 more. - What it does: It tests migration, release newsv1, major project news and regional news. Defines text, bytes, json, sha256, round2. Uses libraries node:assert/strict, node:crypto, node:fs/promises. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file MIGRATION_MANIFEST.json; JSON file release.newsv1.json; JSON file release.v9.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file regional_news.json; JSON file regional_decisions.json; JSON file regional_manifest.json. - Signatures: `text(path)`; `bytes(path)`; `json(path)`; `sha256(value)`; `round2(value)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file MIGRATION_MANIFEST.json; JSON file release.newsv1.json; JSON file release.v9.1.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file regional_news.json; JSON file regional_decisions.json; JSON file regional_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 0; mentioned by 0 ### Run News v1 - File: pipelinenews/archive/202608261547-pipelinenews/newsv1/tests/run_newsv1.sh (Shell, 13 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv1/tests/run_newsv1.sh#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/0986.html#f2 - Synopsis: A shell script in the tests folder of PipelineNews. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Material Event Ledger - File: pipelinenews/archive/202608261547-pipelinenews/newsv2/scripts/build-material-event-ledger.mjs (JavaScript, 164 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv2/scripts/build-material-event-ledger.mjs#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/0986.html#f3 - Synopsis: A JavaScript module in the scripts folder of PipelineNews that reads major project news, material event assertions and release newsv2, using SHA-256. - What it achieves (readme): It normalises event type (`normaliseEventType`) and is built from the sha256 step (`sha256`) and the stable assertion id helper (`stableAssertionId`). The README says: It adds a deterministic material-event assertion ledger without changing the NewsV1 interface, visible ordering or frozen bytes. - What it does: It loads major project news, material event assertions and release newsv2. Defines sha256, stableAssertionId, normaliseEventType. Uses libraries node:crypto, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "It adds a deterministic material-event assertion ledger without changing the NewsV1 interface, visible ordering or frozen bytes." - Inputs & outputs: In: JSON file major_project_news_v9_5_1.json; JSON file material_event_assertions.json; JSON file build_manifest.json; JSON file release.newsv2.json. - Downstream impact: Used directly by 1 file: Check News v2 (pipelinenews). - Signatures: `sha256(value)`; `stableAssertionId(item)`; `normaliseEventType(event)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v9_5_1.json; JSON file material_event_assertions.json; JSON file build_manifest.json; JSON file release.newsv2.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check News v2 - File: pipelinenews/archive/202608261547-pipelinenews/newsv2/tests/check_newsv2.mjs (JavaScript, 100 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv2/tests/check_newsv2.mjs#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/0986.html#f4 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests material event assertions and major project news, using SHA-256. - What it achieves (name): Its name says it checks news. Defines `sha256`. - What it does: It tests material event assertions and major project news. Defines sha256. Uses libraries node:assert/strict, node:crypto, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file material_event_assertions.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json. - Signatures: `sha256(value)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file material_event_assertions.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 0; mentioned by 0 ### Run News v2 - File: pipelinenews/archive/202608261547-pipelinenews/newsv2/tests/run_newsv2.sh (Shell, 6 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv2/tests/run_newsv2.sh#L1-L6 - Page: https://code.globalgrid2050.com/explore-code/s/0986.html#f5 - Synopsis: A shell script in the tests folder of PipelineNews. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Organisation Role Evidence - File: pipelinenews/archive/202608261547-pipelinenews/newsv3/scripts/build-organisation-role-evidence.mjs (JavaScript, 270 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv3/scripts/build-organisation-role-evidence.mjs#L1-L270 - Page: https://code.globalgrid2050.com/explore-code/s/0987.html#f1 - Synopsis: A JavaScript module in the scripts folder of PipelineNews that reads major project news, material event assertions and release newsv3, using SHA-256. - What it achieves (readme): It normalises label (`normaliseLabel`) and is built from the sha256 step (`sha256`) and the stable id helper (`stableId`). The README says: The build emits one auditable product containing 28 unresolved organisation labels, 29 directly evidenced Renewable Energy Planning Database (REPD) project/operator-label assertions and 45 explicit transaction-role abstentions. - What it does: It loads major project news, material event assertions and release newsv3. Defines sha256, stableId, normaliseLabel. Uses libraries node:crypto, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "The build emits one auditable product containing 28 unresolved organisation labels, 29 directly evidenced REPD project/operator-label assertions and 45 explicit transaction-role abstentions." - Inputs & outputs: In: JSON file major_project_news_v9_5_1.json; JSON file material_event_assertions.json; JSON file release.newsv3.json; JSON file organisation_role_evidence.json; JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: Check News v3 (pipelinenews). - Signatures: `sha256(value)`; `stableId(prefix, value)`; `normaliseLabel(value)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v9_5_1.json; JSON file material_event_assertions.json; JSON file release.newsv3.json; JSON file organisation_role_evidence.json; JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check News v3 - File: pipelinenews/archive/202608261547-pipelinenews/newsv3/tests/check_newsv3.mjs (JavaScript, 161 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv3/tests/check_newsv3.mjs#L1-L161 - Page: https://code.globalgrid2050.com/explore-code/s/0987.html#f2 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests major project news, material event assertions, organisation role evidence and release newsv3, using SHA-256. - What it achieves (name): It is built from the assert key law helper (`assertKeyLaw`). Its name says it checks news. Defines `sha256` and `assertKeyLaw`. - What it does: It tests major project news, material event assertions, organisation role evidence and release newsv3. Defines sha256, assertKeyLaw. Uses libraries node:assert/strict, node:crypto, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file major_project_news_v9_5_1.json; JSON file material_event_assertions.json; JSON file organisation_role_evidence.json; JSON file build_manifest.json; JSON file release.newsv3.json. - Signatures: `sha256(value)`; `assertKeyLaw(records, field, pattern)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v9_5_1.json; JSON file material_event_assertions.json; JSON file organisation_role_evidence.json; JSON file build_manifest.json; JSON file release.newsv3.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 0; mentioned by 0 ### Run News v3 - File: pipelinenews/archive/202608261547-pipelinenews/newsv3/tests/run_newsv3.sh (Shell, 7 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv3/tests/run_newsv3.sh#L1-L7 - Page: https://code.globalgrid2050.com/explore-code/s/0987.html#f3 - Synopsis: A shell script in the tests folder of PipelineNews. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Source Health Context - File: pipelinenews/archive/202608261547-pipelinenews/newsv4/scripts/build-source-health-context.mjs (JavaScript, 128 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv4/scripts/build-source-health-context.mjs#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/0987.html#f4 - Synopsis: A JavaScript module in the scripts folder of PipelineNews that reads health observations and release newsv4, using SHA-256. - What it achieves (readme): It is built from the sha256 step (`sha256`) and the counts step (`counts`). The README says: Exposes six source-health decisions fail-closed: 0 current, 1 stale, 4 degraded and 1 unavailable; market context cannot verify project events, grid constraints or deals. - What it does: It loads health observations and release newsv4. Defines sha256, counts. Uses libraries node:crypto, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "Exposes six source-health decisions fail-closed: 0 current, 1 stale, 4 degraded and 1 unavailable; market context cannot verify project events, grid constraints or deals." - Inputs & outputs: In: JSON file source_health_observations.v1.json; JSON file release.newsv4.json; JSON file source_health_context.json; JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: Check News v4 (pipelinenews). - Signatures: `sha256(value)`; `counts(field, values)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file source_health_observations.v1.json; JSON file release.newsv4.json; JSON file source_health_context.json; JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check News v4 - File: pipelinenews/archive/202608261547-pipelinenews/newsv4/tests/check_newsv4.mjs (JavaScript, 59 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv4/tests/check_newsv4.mjs#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/0987.html#f5 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests health observations, release newsv4 and health context, using SHA-256. - What it achieves (name): Its name says it checks news. Defines `json` and `sha256`. - What it does: It tests health observations, release newsv4 and health context. Defines json, sha256. Uses libraries node:assert/strict, node:crypto, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file source_health_observations.v1.json; JSON file release.newsv4.json; JSON file source_health_context.json; JSON file build_manifest.json. - Signatures: `json(key)`; `sha256(value)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file source_health_observations.v1.json; JSON file release.newsv4.json; JSON file source_health_context.json; JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 0; mentioned by 0 ### Run News v4 - File: pipelinenews/archive/202608261547-pipelinenews/newsv4/tests/run_newsv4.sh (Shell, 7 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv4/tests/run_newsv4.sh#L1-L7 - Page: https://code.globalgrid2050.com/explore-code/s/0987.html#f6 - Synopsis: A shell script in the tests folder of PipelineNews. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Browser Projection - File: pipelinenews/archive/202608261547-pipelinenews/newsv5/modules/browser-projection.mjs (JavaScript, 26 lines) · role geodesy · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv5/modules/browser-projection.mjs#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/0987.html#f7 - Synopsis: A JavaScript module in PipelineNews covering reason decision ledger. - What it achieves (name): Defines `buildBrowserProjection`. - What it does: It calculates reason decision ledger. Defines buildBrowserProjection. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file reason_decision_ledger.json. - Downstream impact: Used directly by 1 file: Build Reason Decisions (pipelinenews). - Signatures: `export buildBrowserProjection(product)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file reason_decision_ledger.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Event to Capability Rules - File: pipelinenews/archive/202608261547-pipelinenews/newsv5/modules/event-to-capability-rules.mjs (JavaScript, 14 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv5/modules/event-to-capability-rules.mjs#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/0987.html#f8 - Synopsis: A JavaScript module in PipelineNews. It is built from the rule for event helper (`ruleForEvent`). - What it achieves (readme): The README says: Modules remain separate for event-to-capability rules, podcast-derived search vocabulary, evidence reconciliation and browser projection. - What it does: It calculates its inputs. Defines ruleForEvent. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "Modules remain separate for event-to-capability rules, podcast-derived search vocabulary, evidence reconciliation and browser projection." - Downstream impact: Used directly by 1 file: Build Reason Decisions (pipelinenews). - Signatures: `export ruleForEvent(eventType)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Evidence Reconciliation - File: pipelinenews/archive/202608261547-pipelinenews/newsv5/modules/evidence-reconciliation.mjs (JavaScript, 28 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv5/modules/evidence-reconciliation.mjs#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/0987.html#f9 - Synopsis: A JavaScript module in PipelineNews that reconciles reason evidence (`reconcileReasonEvidence`) and hostile (`reconcileHostileCase`). It is built from the reconcile reason evidence helper (`reconcileReasonEvidence`) and the reconcile hostile case helper (`reconcileHostileCase`). - What it achieves (name): Defines `reconcileReasonEvidence` and `reconcileHostileCase`. - What it does: It calculates its inputs. Defines reconcileReasonEvidence, reconcileHostileCase. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Build Reason Decisions (pipelinenews); Check News v5 (pipelinenews). - Signatures: `export reconcileReasonEvidence({identityConflict = false, eventVerificationStatus = null, directProjectRecord = true, podcastOnly = false, composite...)`; `export reconcileHostileCase(caseId)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Market Pain Vocabulary - File: pipelinenews/archive/202608261547-pipelinenews/newsv5/modules/market-pain-vocabulary.mjs (JavaScript, 21 lines) · role energy-data · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv5/modules/market-pain-vocabulary.mjs#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0988.html#f1 - Synopsis: A JavaScript module in PipelineNews. - What it achieves (name): Defines `buildMarketPainVocabulary`. - What it does: It calculates its inputs. Defines buildMarketPainVocabulary. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Build Reason Decisions (pipelinenews). - Signatures: `export buildMarketPainVocabulary(audit)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Reason Decisions - File: pipelinenews/archive/202608261547-pipelinenews/newsv5/scripts/build-reason-decisions.mjs (JavaScript, 128 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv5/scripts/build-reason-decisions.mjs#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/0988.html#f2 - Synopsis: A JavaScript module in the scripts folder of PipelineNews that reads material event assertions, organisation role evidence, health context and public sales theme audit, using SHA-256. - What it achieves (name): It is built from the stable id helper (`stableId`). Its name says it builds reason decisions. Defines `sha256` and `stableId`. - What it does: It loads material event assertions, organisation role evidence, health context and public sales theme audit. Defines sha256, stableId. Uses libraries node:crypto, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file material_event_assertions.json; JSON file organisation_role_evidence.json; JSON file source_health_context.json; JSON file public-source-sales-theme-audit.v1.json; JSON file hostile_reason_cases.v1.json; JSON file release.newsv5.json; JSON file reason_decision_ledger.json; JSON file reasons_browser.json. - Signatures: `sha256(value)`; `stableId(prefix, value)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file material_event_assertions.json; JSON file organisation_role_evidence.json; JSON file source_health_context.json; JSON file public-source-sales-theme-audit.v1.json; JSON file hostile_reason_cases.v1.json; JSON file release.newsv5.json; JSON file reason_decision_ledger.json; JSON file reasons_browser.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 0; mentioned by 0 ### Check News v5 - File: pipelinenews/archive/202608261547-pipelinenews/newsv5/tests/check_newsv5.mjs (JavaScript, 61 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv5/tests/check_newsv5.mjs#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/0988.html#f3 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests material event assertions, organisation role evidence, health context and public sales theme audit, using SHA-256. - What it achieves (name): Its name says it checks news. Defines `json`, `sha256` and `visit`. - What it does: It tests material event assertions, organisation role evidence, health context and public sales theme audit. Defines json, sha256, visit. Uses libraries node:assert/strict, node:crypto, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file material_event_assertions.json; JSON file organisation_role_evidence.json; JSON file source_health_context.json; JSON file public-source-sales-theme-audit.v1.json; JSON file hostile_reason_cases.v1.json; JSON file release.newsv5.json; JSON file reason_decision_ledger.json; JSON file reasons_browser.json. - Signatures: `json(key)`; `sha256(value)`; `visit(value)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file material_event_assertions.json; JSON file organisation_role_evidence.json; JSON file source_health_context.json; JSON file public-source-sales-theme-audit.v1.json; JSON file hostile_reason_cases.v1.json; JSON file release.newsv5.json; JSON file reason_decision_ledger.json; JSON file reasons_browser.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Run News v5 - File: pipelinenews/archive/202608261547-pipelinenews/newsv5/tests/run_newsv5.sh (Shell, 7 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv5/tests/run_newsv5.sh#L1-L7 - Page: https://code.globalgrid2050.com/explore-code/s/0988.html#f4 - Synopsis: A shell script in the tests folder of PipelineNews. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Data Centre Identity - File: pipelinenews/archive/202608261547-pipelinenews/newsv6/modules/data-centre-identity.mjs (JavaScript, 3 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv6/modules/data-centre-identity.mjs#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0988.html#f5 - Synopsis: A JavaScript module in PipelineNews that works with link decision (`linkDecision`) and hostile decision (`hostileDecision`). It is built from the link decision helper (`linkDecision`) and the hostile decision helper (`hostileDecision`). - What it achieves (name): Defines `linkDecision` and `hostileDecision`. - What it does: It calculates its inputs. Defines linkDecision, hostileDecision. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Build Data Centre Evidence (pipelinenews); Check News v6 (pipelinenews). - Signatures: `export linkDecision({exactSharedSourceObject = false, atlasIdentityLost = false} = {})`; `export hostileDecision(caseId)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Source Policy - File: pipelinenews/archive/202608261547-pipelinenews/newsv6/modules/source-policy.mjs (JavaScript, 3 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv6/modules/source-policy.mjs#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/0988.html#f6 - Synopsis: A JavaScript module in PipelineNews. It is built from the allowed for observation helper (`allowedForObservation`) and the allowed for identity link helper (`allowedForIdentityLink`). - What it achieves (name): Defines `allowedForObservation` and `allowedForIdentityLink`. - What it does: It calculates its inputs. Defines allowedForObservation, allowedForIdentityLink. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Build Data Centre Evidence (pipelinenews). - Signatures: `export allowedForObservation(source)`; `export allowedForIdentityLink(source)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Data Centre Evidence - File: pipelinenews/archive/202608261547-pipelinenews/newsv6/scripts/build-data-centre-evidence.mjs (JavaScript, 25 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv6/scripts/build-data-centre-evidence.mjs#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/0988.html#f7 - Synopsis: A JavaScript module in the scripts folder of PipelineNews that reads centre sources and release newsv6, using SHA-256. - What it achieves (name): Its name says it builds data centre evidence. Defines `sha256`. - What it does: It loads centre sources and release newsv6. Defines sha256. Uses libraries node:crypto, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file data_centre_sources.v1.json; JSON file release.newsv6.json; JSON file data_centre_evidence.json; JSON file build_manifest.json. - Signatures: `sha256(value)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file data_centre_sources.v1.json; JSON file release.newsv6.json; JSON file data_centre_evidence.json; JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Check News v6 - File: pipelinenews/archive/202608261547-pipelinenews/newsv6/tests/check_newsv6.mjs (JavaScript, 21 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv6/tests/check_newsv6.mjs#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/0988.html#f8 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests centre sources, release newsv6 and centre evidence, using SHA-256. - What it achieves (name): Its name says it checks news. Defines `read`. It reads `../fixtures/data_centre_sources.v1.json`. - What it does: It tests centre sources, release newsv6 and centre evidence. Defines read. Uses libraries node:assert/strict, node:crypto, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file data_centre_sources.v1.json; JSON file release.newsv6.json; JSON file data_centre_evidence.json; JSON file build_manifest.json. - Signatures: `read(p)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file data_centre_sources.v1.json; JSON file release.newsv6.json; JSON file data_centre_evidence.json; JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Run News v6 - File: pipelinenews/archive/202608261547-pipelinenews/newsv6/tests/run_newsv6.sh (Shell, 6 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv6/tests/run_newsv6.sh#L1-L6 - Page: https://code.globalgrid2050.com/explore-code/s/0988.html#f9 - Synopsis: A shell script in the tests folder of PipelineNews. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews — News v7 Page - File: pipelinenews/archive/202608261547-pipelinenews/newsv7/index.html (HTML, 195 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv7/index.html#L1-L195 - Page: https://code.globalgrid2050.com/explore-code/s/0988.html#f10 - Published at: https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/ - Synopsis: A web page that reads inputs for news, county and sort projects (units: MW), covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). Published at https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/. - What it achieves (comment): UK Renewables News V7. Its code works with 1 MW. - What it does: It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/v7.css?v=newsv7. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 2 files: PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/); Check News v7 (pipelinenews). It is itself an entry point, published at https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 26 estate files (link 17, stylesheet 7, script-src 2); used by 2; mentioned by 0 ### App News v7 - File: pipelinenews/archive/202608261547-pipelinenews/newsv7/scripts/app-newsv7.js (JavaScript, 48 lines) · role ingest · stage transform · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv7/scripts/app-newsv7.js#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/0988.html#f11 - Synopsis: A JavaScript module in the scripts folder of PipelineNews that loads intelligence after newspaper (`loadIntelligenceAfterNewspaper`). It loads intelligence after newspaper (`loadIntelligenceAfterNewspaper`). - What it achieves (name): Defines `loadIntelligenceAfterNewspaper`. - What it does: Defines loadIntelligenceAfterNewspaper. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/). Reached from 1 other entry point, including PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - Signatures: `loadIntelligenceAfterNewspaper()`; `start()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 5 estate files (import 4, dynamic-import 1); used by 1; mentioned by 0 ### Build Cumulative Intelligence - File: pipelinenews/archive/202608261547-pipelinenews/newsv7/scripts/build-cumulative-intelligence.mjs (JavaScript, 207 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv7/scripts/build-cumulative-intelligence.mjs#L1-L207 - Page: https://code.globalgrid2050.com/explore-code/s/0989.html#f1 - Synopsis: A JavaScript module in the scripts folder of PipelineNews that reads major project news, material event assertions and organisation role evidence, using SHA-256. - What it achieves (readme): It reads pinned (`readPinned`) and is built from the sha256 step (`sha256`) and the invariant step (`invariant`). The README says: The cumulative product is generated deterministically by `scripts/build-cumulative-intelligence.mjs`. - What it does: It loads major project news, material event assertions and organisation role evidence. Defines sha256, invariant, readPinned, uniqueMap. Uses libraries node:crypto, node:fs/promises. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "The cumulative product is generated deterministically by `scripts/build-cumulative-intelligence.mjs`." - Inputs & outputs: In: JSON file cumulative_intelligence.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file material_event_assertions.json; JSON file organisation_role_evidence.json; JSON file source_health_context.json; JSON file reason_decision_ledger.json; JSON file data_centre_evidence.json. - Signatures: `sha256(value)`; `invariant(condition, message)`; `readPinned([path, expectedSha256])`; `uniqueMap(rows, key, label)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file cumulative_intelligence.json; JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json; JSON file material_event_assertions.json; JSON file organisation_role_evidence.json; JSON file source_health_context.json; JSON file reason_decision_ledger.json; JSON file data_centre_evidence.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Canonical Projects News v7 Release - File: pipelinenews/archive/202608261547-pipelinenews/newsv7/scripts/data/canonical-projects-newsv7-release.js (JavaScript, 34 lines) · role automation · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv7/scripts/data/canonical-projects-newsv7-release.js#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/0989.html#f2 - Synopsis: A JavaScript module in the data folder of PipelineNews that fetches release newsv7. It fetches release (`fetchRelease`). - What it achieves (name): Defines `invariant`, `fetchRelease` and `loadCanonicalProjectsNewsV7Release`. - What it does: It fetches release newsv7. Defines invariant, fetchRelease, loadCanonicalProjectsNewsV7Release. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file release.newsv7.json. - Downstream impact: Used directly by 1 file: Projects News v7 (pipelinenews). Reached from 3 other entry points, including PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/); App News v7 (pipelinenews). - Signatures: `export loadCanonicalProjectsNewsV7Release({ onFirstPartition } = {})`; `invariant(condition, message)`; `fetchRelease()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.newsv7.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Canonical Projects News v7 - File: pipelinenews/archive/202608261547-pipelinenews/newsv7/scripts/data/canonical-projects-newsv7.js (JavaScript, 129 lines) · role render · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv7/scripts/data/canonical-projects-newsv7.js#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/0989.html#f3 - Synopsis: A JavaScript module in the data folder of PipelineNews that fetches solar, battery storage (BESS) and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It fetches JSON (`fetchJson`), maps concurrency (`mapWithConcurrency`) and validates partition (`validatePartition`). Defines `invariant`, `round2`, `fetchJson` and 7 more. Its code works with 1 MW. - What it does: It fetches solar, battery storage (BESS) and the REPD register. Defines 10 functions or classes, including invariant, round2, fetchJson, mapWithConcurrency, worker. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS), the REPD register. - Inputs & outputs: In: JSON file release.v9.1.json; JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: Canonical Projects News v7 Release (pipelinenews). Reached from 3 other entry points, including PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/); App News v7 (pipelinenews). - Signatures: `export loadCanonicalProjectsNewsV7({ onFirstPartition } = {})`; `invariant(condition, message)`; `round2(value)`; `fetchJson(path)`; `mapWithConcurrency(items, task)`; `worker()`; `validatePartition(partition, part)`; `fetchPartition(partition)`; `validateProjects(sourceProjects)`; `loadCanonicalProjects(onFirstPartition)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.v9.1.json; JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Gauges V9 2 - File: pipelinenews/archive/202608261547-pipelinenews/newsv7/scripts/plugins/gauges-v9-2.js (JavaScript, 94 lines) · role render · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv7/scripts/plugins/gauges-v9-2.js#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/0989.html#f4 - Synopsis: A JavaScript module in the plugins folder of PipelineNews that updates chart (`updateChart`) and formats capacity v9 (`formatCapacityV9_2`) and largest v9 (`formatLargestV9_2`) (units: MW). - What it achieves (name): It creates gauge (`createGauge`), updates chart (`updateChart`) and formats capacity v9 (`formatCapacityV9_2`). Defines `createGauge`, `updateChart`, `formatCapacityV9_2` and 5 more. - What it does: It draws its content. Defines 8 functions or classes, including createGauge, updateChart, formatCapacityV9_2, formatLargestV9_2, initialiseGaugesV9_2. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: App News v7 (pipelinenews); Projects News v7 (pipelinenews). Reached from 2 other entry points, including PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - Signatures: `export formatCapacityV9_2(value)`; `export formatLargestV9_2(value)`; `export initialiseGaugesV9_2()`; `export loadGaugeChartsNewsV7()`; `export setGaugeUniverseV9_2(projects)`; `export updateGaugesV9_2(projects)`; `createGauge(canvasId, colour, options)`; `updateChart(chart, value, maximum)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Intelligence News v7 - File: pipelinenews/archive/202608261547-pipelinenews/newsv7/scripts/plugins/intelligence-newsv7.js (JavaScript, 111 lines) · role render · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv7/scripts/plugins/intelligence-newsv7.js#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/0989.html#f5 - Synopsis: A JavaScript module in the plugins folder of PipelineNews that draws cumulative intelligence and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It renders panel (`renderPanel`), fetches intelligence (`fetchIntelligence`) and loads cumulative intelligence news v7 (`loadCumulativeIntelligenceNewsV7`). Defines `escapeHtml`, `validate`, `statusClass` and 5 more. - What it does: It draws cumulative intelligence and the REPD register. Defines 8 functions or classes, including escapeHtml, validate, statusClass, renderPanel, fetchIntelligence. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file cumulative_intelligence.json. - Downstream impact: Used directly by 2 files: App News v7 (pipelinenews); Newspaper News v7 Base (pipelinenews). Reached from 2 other entry points, including PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - Signatures: `export loadCumulativeIntelligenceNewsV7()`; `export intelligenceForArticleNewsV7(articleId)`; `export intelligenceForRepdNewsV7(repdRef)`; `escapeHtml(value)`; `validate(payload)`; `statusClass(status)`; `renderPanel(payload)`; `fetchIntelligence()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file cumulative_intelligence.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Newspaper News v7 Base - File: pipelinenews/archive/202608261547-pipelinenews/newsv7/scripts/plugins/newspaper-newsv7-base.js (JavaScript, 189 lines) · role render · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv7/scripts/plugins/newspaper-newsv7-base.js#L1-L189 - Page: https://code.globalgrid2050.com/explore-code/s/0990.html#f1 - Synopsis: A JavaScript module in the plugins folder of PipelineNews that draws major project news and the Renewable Energy Planning Database (REPD) register, and uses data from the GlobalGrid2050 repository. - What it achieves (name): It refreshes projects (`refreshProjects`), indexes news (`indexNewsItems`) and draws news news v7 base (`drawNewsNewsV7Base`). Defines `refreshProjects`, `canonicalItem`, `indexNewsItems` and 12 more. - What it does: It draws major project news, the REPD register, battery storage (BESS) and solar. Defines 15 functions or classes, including refreshProjects, canonicalItem, indexNewsItems, signalLabel, signalForProjectNewsV7. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, battery storage (BESS), solar. - Inputs & outputs: In: data source: globalgrid2050 data; JSON file major_project_news_v9_5_1.json. - Downstream impact: Used directly by 2 files: Newspaper News v7 (pipelinenews); Projects News v7 (pipelinenews). Reached from 3 other entry points, including PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/); App News v7 (pipelinenews). - Signatures: `export signalForProjectNewsV7(project)`; `export drawNewsNewsV7Base()`; `export loadNewsNewsV7Base()`; `export bindNewspaperNewsV7Base(onNewsLoaded)`; `refreshProjects()`; `canonicalItem(item)`; `indexNewsItems(items)`; `signalLabel(item)`; `intelligenceMarkup(item)`; `itemTechnology(item)`; `newsMatches(item)`; `validPayload(payload)`; `fetchPayload(label, url)`; `renderNews(payload, label)`; `loadNews()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data; JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Newspaper News v7 - File: pipelinenews/archive/202608261547-pipelinenews/newsv7/scripts/plugins/newspaper-newsv7.js (JavaScript, 101 lines) · role render · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv7/scripts/plugins/newspaper-newsv7.js#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/0990.html#f2 - Synopsis: A JavaScript module in the plugins folder of PipelineNews that draws regional news, solar and battery storage (BESS). - What it achieves (name): It queries matches (`queryMatches`), draws regional (`drawRegional`) and draws news news v7 (`drawNewsNewsV7`). Defines `queryMatches`, `regionalRows`, `drawRegional` and 4 more. - What it does: It draws regional news, solar and battery storage (BESS). Defines 7 functions or classes, including queryMatches, regionalRows, drawRegional, drawNewsNewsV7, fetchCommitted. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file regional_news.json; JSON file regional_manifest.json. - Downstream impact: Used directly by 1 file: App News v7 (pipelinenews). Reached from 2 other entry points, including PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - Signatures: `export drawNewsNewsV7()`; `export loadNewsNewsV7()`; `export bindNewspaperNewsV7(onNewsLoaded)`; `queryMatches(item)`; `regionalRows()`; `drawRegional()`; `fetchCommitted(path)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file regional_news.json; JSON file regional_manifest.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Projects News v7 - File: pipelinenews/archive/202608261547-pipelinenews/newsv7/scripts/plugins/projects-newsv7.js (JavaScript, 392 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv7/scripts/plugins/projects-newsv7.js#L1-L392 - Page: https://code.globalgrid2050.com/explore-code/s/0990.html#f3 - Synopsis: A JavaScript module in the plugins folder of PipelineNews that compares project updates v9, updates sort header, renders table and reads inputs for county and sort projects. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_5_1`), updates sort header (`updateSortHeader`) and renders table (`renderTable`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 23 functions or classes, including atlasUrlV9_5_1, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_5_1, updateSortHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: App News v7 (pipelinenews). Reached from 2 other entry points, including PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/); PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - Signatures: `export atlasUrlV9_5_1(project)`; `export compareProjectUpdatesV9_5_1(left, right, direction = "desc")`; `export loadProjectsNewsV7()`; `export refreshProjectsNewsV7()`; `export bindProjectControlsNewsV7()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `renderTable()`; `renderPager()`; `setProjectControlsReady(ready)`; `renderFirstPartitionPreview({ projects, loaded_count: loadedCount, total_count: totalCount })`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true, resetPage = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 6, estate-url 1); used by 1; mentioned by 0 ### Intelligence News v7 - File: pipelinenews/archive/202608261547-pipelinenews/newsv7/styles/intelligence-newsv7.css (CSS, 189 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv7/styles/intelligence-newsv7.css#L1-L189 - Page: https://code.globalgrid2050.com/explore-code/s/0991.html#f1 - Synopsis: A style sheet in the styles folder of PipelineNews. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/). Reached from 1 other entry point, including PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Performance News v7 - File: pipelinenews/archive/202608261547-pipelinenews/newsv7/styles/performance-newsv7.css (CSS, 42 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv7/styles/performance-newsv7.css#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/0991.html#f2 - Synopsis: A style sheet in the styles folder of PipelineNews. - What it achieves (comment): News V7 retains the proven `NewsV1/V9.7` performance controls and mobile table law. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: PipelineNews — News v7 Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/newsv7/). Reached from 1 other entry point, including PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check News v7 - File: pipelinenews/archive/202608261547-pipelinenews/newsv7/tests/check_newsv7.mjs (JavaScript, 170 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv7/tests/check_newsv7.mjs#L1-L170 - Page: https://code.globalgrid2050.com/explore-code/s/0991.html#f3 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests release newsv7, migration, cumulative intelligence and regional news, using SHA-256. - What it achieves (name): It is built from the repo bytes helper (`repoBytes`) and the sha256 step (`sha256`). Its name says it checks news. Defines `text`, `bytes`, `json` and 2 more. - What it does: It tests release newsv7, migration, cumulative intelligence and regional news. Defines text, bytes, json, repoBytes, sha256. Uses libraries node:assert/strict, node:crypto, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file release.newsv7.json; JSON file MIGRATION_MANIFEST.json; JSON file cumulative_intelligence.json; JSON file build_manifest.json; JSON file release.v9.1.json; JSON file regional_news.json; JSON file regional_decisions.json; JSON file regional_manifest.json. - Signatures: `text(path)`; `bytes(path)`; `json(path)`; `repoBytes(path)`; `sha256(value)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release.newsv7.json; JSON file MIGRATION_MANIFEST.json; JSON file cumulative_intelligence.json; JSON file build_manifest.json; JSON file release.v9.1.json; JSON file regional_news.json; JSON file regional_decisions.json; JSON file regional_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 0; mentioned by 0 ### Run News v7 - File: pipelinenews/archive/202608261547-pipelinenews/newsv7/tests/run_newsv7.sh (Shell, 27 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/newsv7/tests/run_newsv7.sh#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/0991.html#f4 - Synopsis: A shell script in the tests folder of PipelineNews. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Objects — Sha256 Style Sheet - File: pipelinenews/archive/202608261547-pipelinenews/objects/css/sha256/5c196d2b307e0426447dc96f1762bc6e39de98f2a39ae8667265198f09d5166e.css (CSS, 93 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/objects/css/sha256/5c196d2b307e0426447dc96f1762bc6e39de98f2a39ae8667265198f09d5166e.css#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/0991.html#f5 - Synopsis: A style sheet in PipelineNews. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Objects — Sha256 - File: pipelinenews/archive/202608261547-pipelinenews/objects/js/sha256/0f0adf842d22158b882f168d6c131480afd81bce6609b8453a073f15d201d18c.mjs (JavaScript, 174 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/objects/js/sha256/0f0adf842d22158b882f168d6c131480afd81bce6609b8453a073f15d201d18c.mjs#L1-L174 - Page: https://code.globalgrid2050.com/explore-code/s/0991.html#f6 - Synopsis: A JavaScript module in PipelineNews that works with the Renewable Energy Planning Database (REPD) register, using SHA-256. It normalises planning reference (`normalisePlanningReference`), builds reference groups (`buildReferenceGroups`) and selects frontier (`selectFrontier`). - What it achieves (name): Defines `invariant`, `text`, `compact` and 11 more. - What it does: It calculates the REPD register. Defines 14 functions or classes, including invariant, text, compact, sha256, normalisePlanningReference. Uses libraries node:crypto. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: Objects — Sha256 (pipelinenews). - Signatures: `export normalisePlanningReference(value)`; `export buildReferenceGroups(projects)`; `export selectFrontier(groups, state = {}, budget = 48)`; `export resolvePlanningBinding(record, referenceGroup)`; `export sourceHealth({ attempted, succeeded, statusCode, priorGoodAt = null, message = null })`; `export buildFrontierContract(input)`; `invariant(condition, message)`; `text(value)`; `compact(value)`; `sha256(value)`; `projectName(project)`; `projectRef(project)`; `projectPriority(project)`; `recordReferences(record)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Objects — Sha256 - File: pipelinenews/archive/202608261547-pipelinenews/objects/js/sha256/5096d055234312c574b10d5ff239b91582497289cb58fd6a1faa6b89e16e657f.mjs (JavaScript, 5 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/objects/js/sha256/5096d055234312c574b10d5ff239b91582497289cb58fd6a1faa6b89e16e657f.mjs#L1-L5 - Page: https://code.globalgrid2050.com/explore-code/s/0991.html#f7 - Synopsis: A JavaScript module in PipelineNews that fetches solar and battery storage (BESS). It gets JSON (`getJson`) and is built from the by id helper (`byId`). - What it achieves (name): Defines `byId`, `getJson` and `bytes`. - What it does: It fetches solar and battery storage (BESS). Defines byId, getJson, bytes. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file release.json. - Signatures: `byId(id)`; `getJson(url)`; `bytes(value)`; `start()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Objects — Sha256 - File: pipelinenews/archive/202608261547-pipelinenews/objects/js/sha256/60ebe5b31cdb881e61c7275fd3f696b33a4f134c5c0a6e6cd8f1474545156acc.mjs (JavaScript, 124 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/objects/js/sha256/60ebe5b31cdb881e61c7275fd3f696b33a4f134c5c0a6e6cd8f1474545156acc.mjs#L1-L124 - Page: https://code.globalgrid2050.com/explore-code/s/0992.html#f1 - Synopsis: A JavaScript module in PipelineNews that works with the Renewable Energy Planning Database (REPD) register. It records references (`recordReferences`), resolves planning binding (`resolvePlanningBinding`) and builds frontier contract (`buildFrontierContract`). - What it achieves (name): Defines `text`, `compact`, `projectRef` and 8 more. - What it does: It calculates the REPD register. Defines 11 functions or classes, including text, compact, projectRef, projectName, canonicalPlanningAuthority. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Signatures: `export resolvePlanningBinding(record, referenceGroup)`; `export buildFrontierContract(input)`; `text(value)`; `compact(value)`; `projectRef(project)`; `projectName(project)`; `canonicalPlanningAuthority(value)`; `recordReferences(record)`; `projectNameMatches(record, project)`; `planningAuthorityMatches(record, project)`; `primaryMatch(project, method)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Objects — Sha256 - File: pipelinenews/archive/202608261547-pipelinenews/objects/js/sha256/8e4a229d0e059a498cafb70648f2bcb5d44c7bc4d114cf98ddcf97d108731b04.mjs (JavaScript, 147 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/objects/js/sha256/8e4a229d0e059a498cafb70648f2bcb5d44c7bc4d114cf98ddcf97d108731b04.mjs#L1-L147 - Page: https://code.globalgrid2050.com/explore-code/s/0992.html#f2 - Synopsis: A JavaScript module in PipelineNews that validates metadata observation (`validateMetadataObservation`) and builds discovery ledger (`buildDiscoveryLedger`) (units: MW), using SHA-256. It validates metadata observation (`validateMetadataObservation`) and builds discovery ledger (`buildDiscoveryLedger`). - What it achieves (name): Defines `sha256`, `invariant`, `canonicaliseSourceUrl` and 3 more. - What it does: It calculates its inputs. Defines 6 functions or classes, including sha256, invariant, canonicaliseSourceUrl, validateMetadataObservation, discoverSource. Uses libraries node:crypto. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `export canonicaliseSourceUrl(rawUrl, allowedHosts, canonicalHost)`; `export discoverSource(seed)`; `export buildDiscoveryLedger(input)`; `sha256(value)`; `invariant(condition, message)`; `validateMetadataObservation(observation)`; `metadataObservations(seed.metadata_observations || [])` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Objects — Sha256 - File: pipelinenews/archive/202608261547-pipelinenews/objects/js/sha256/9bce91d7bde247265bdf369416ff4771c4866d3369c22d3b3d9c96aef4a95272.mjs (JavaScript, 37 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/objects/js/sha256/9bce91d7bde247265bdf369416ff4771c4866d3369c22d3b3d9c96aef4a95272.mjs#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/0992.html#f3 - Synopsis: A JavaScript module in PipelineNews. It gets JSON (`getJson`) and is built from the by id helper (`byId`). - What it achieves (name): Defines `byId`, `getJson` and `start`. - What it does: It draws its content. Defines byId, getJson, start. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file release.json. - Downstream impact: Used directly by 1 file: PipelineNews — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/). - Signatures: `byId(id)`; `getJson(url)`; `start()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Objects — Sha256 - File: pipelinenews/archive/202608261547-pipelinenews/objects/js/sha256/bf8b87533cda64fa145de9ca28998b29bf7f863f483a26a78e34fc3272fe9f7d.mjs (JavaScript, 26 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/objects/js/sha256/bf8b87533cda64fa145de9ca28998b29bf7f863f483a26a78e34fc3272fe9f7d.mjs#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/0992.html#f4 - Synopsis: A JavaScript module in PipelineNews that builds frontier contract (`buildFrontierContract`). It builds frontier contract (`buildFrontierContract`). - What it achieves (name): Defines `buildFrontierContract`. - What it does: It calculates its inputs. Defines buildFrontierContract. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Objects — Sha256 (pipelinenews). - Signatures: `export buildFrontierContract(input)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Objects — Sha256 - File: pipelinenews/archive/202608261547-pipelinenews/objects/js/sha256/d7c0164d2d767996c45e86d27c4754d4388e4493a00a33e2429c6759cfe9b328.mjs (JavaScript, 138 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/objects/js/sha256/d7c0164d2d767996c45e86d27c4754d4388e4493a00a33e2429c6759cfe9b328.mjs#L1-L138 - Page: https://code.globalgrid2050.com/explore-code/s/0992.html#f5 - Synopsis: A JavaScript module in PipelineNews that works with the Renewable Energy Planning Database (REPD) register, using SHA-256. It normalises evidence (`normaliseEvidence`), binds project (`bindProject`) and builds evidence ledger (`buildEvidenceLedger`). - What it achieves (name): Defines `invariant`, `sha256`, `canonicaliseUrl` and 3 more. - What it does: It calculates the REPD register. Defines 6 functions or classes, including invariant, sha256, canonicaliseUrl, normaliseEvidence, bindProject. Uses libraries node:crypto. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Signatures: `export canonicaliseUrl(rawUrl)`; `export buildEvidenceLedger(input)`; `invariant(condition, message)`; `sha256(value)`; `normaliseEvidence(observation)`; `bindProject(projects, evidence)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Objects — Sha256 - File: pipelinenews/archive/202608261547-pipelinenews/objects/js/sha256/dca6a33a559496cfb7f0e6141f81e37a25513b1af7976d712dc9e23cf5cc2ee6.mjs (JavaScript, 38 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/objects/js/sha256/dca6a33a559496cfb7f0e6141f81e37a25513b1af7976d712dc9e23cf5cc2ee6.mjs#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/0992.html#f6 - Synopsis: A JavaScript module in PipelineNews. It fetches JSON (`fetchJson`) and is built from the by id helper (`byId`). - What it achieves (name): Defines `byId`, `fetchJson` and `start`. - What it does: It draws its content. Defines byId, fetchJson, start. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file release.json. - Signatures: `byId(id)`; `fetchJson(url)`; `start()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Objects — Sha256 - File: pipelinenews/archive/202608261547-pipelinenews/objects/js/sha256/e57f8ead800893c351e9dfac7294b0995b14e9c20fdc5042773f451acfa98136.mjs (JavaScript, 54 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/objects/js/sha256/e57f8ead800893c351e9dfac7294b0995b14e9c20fdc5042773f451acfa98136.mjs#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/0992.html#f7 - Synopsis: A JavaScript module in PipelineNews that sets link (`setLink`). It fetches JSON (`fetchJson`) and sets link (`setLink`). - What it achieves (name): Defines `byId`, `fetchJson`, `setLink` and 1 more. - What it does: It draws its content. Defines byId, fetchJson, setLink, start. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file release.json. - Signatures: `byId(id)`; `fetchJson(url)`; `setLink(element, href, label)`; `start()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Objects — Sha256 - File: pipelinenews/archive/202608261547-pipelinenews/objects/modules/sha256/ae4bb559312e84d7cdcb69dfee444644b328c370e198d5939ff8abeca92d6235.js (JavaScript, 407 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/objects/modules/sha256/ae4bb559312e84d7cdcb69dfee444644b328c370e198d5939ff8abeca92d6235.js#L1-L407 - Page: https://code.globalgrid2050.com/explore-code/s/0993.html#f1 - Synopsis: A JavaScript file in PipelineNews that renders table (`renderTable`), projects search (`projectSearchText`), applies project filters (`applyProjectFilters`) and reads inputs for status filter, region filter and min capacity, using SHA-256. - What it achieves (name): It fetches JSON (`fetchJson`), formats number (`formatNumber`) and renders table (`renderTable`). Defines `invariant`, `escapeHtml`, `safeHttpUrl` and 25 more. It responds to click, change and input events. - What it does: It draws solar, battery storage (BESS), the REPD register and wind. Defines 28 functions or classes, including invariant, escapeHtml, safeHttpUrl, fetchJson, safeSiteLabel. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS), the REPD register, wind. - Inputs & outputs: In: JSON file build_manifest.json. - Signatures: `invariant(condition, message)`; `escapeHtml(value)`; `safeHttpUrl(value)`; `fetchJson(path, timeoutMs = 15000)`; `safeSiteLabel(project)`; `technologyLabel(value)`; `unitFor(value)`; `formatNumber(value, maximumFractionDigits = 2)`; `displayDate(value)`; `atlasUrl(project)`; `connectionMarkup(project)`; `renderTable()`; `projectSearchText(project)`; `applyProjectFilters({ resetPage = true } = {})`; `populateProjectControls()`; `bindProjectControls()`; `csvCell(value)`; `exportCsv()`; `safeStory(item)`; `visibleStories()`; `renderNews()`; `bindNewsControls()`; `renderTechnologyGauges()`; `loadProjects()`; `loadNews()` (and 3 more) - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 1 ### Browser PipelineNews - File: pipelinenews/archive/202608261547-pipelinenews/tests/browser-202608260159-pipelinenews.mjs (JavaScript, 80 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tests/browser-202608260159-pipelinenews.mjs#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/0993.html#f2 - Synopsis: A JavaScript module in the tests folder that tests the Renewable Energy Planning Database (REPD) register. - What it achieves (name): Defines `open`. - What it does: It tests the REPD register. Defines open. Uses libraries node:assert/strict, node:fs/promises, node:module, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Signatures: `open(browser, viewport)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Browser Live - File: pipelinenews/archive/202608261547-pipelinenews/tests/browser-live-202608251929.mjs (JavaScript, 62 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tests/browser-live-202608251929.mjs#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/0993.html#f3 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests the Renewable Energy Planning Database (REPD) register, using SHA-256. It opens exact release (`openExactRelease`). - What it achieves (name): Defines `openExactRelease`. - What it does: It tests the REPD register. Defines openExactRelease. Uses libraries node:assert/strict, node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Signatures: `openExactRelease(page, mode)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Release - File: pipelinenews/archive/202608261547-pipelinenews/tests/check-202608251651-release.mjs (JavaScript, 50 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tests/check-202608251651-release.mjs#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/0993.html#f4 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests pipeline news and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): Its name says it checks release. Defines `read`, `json` and `sha256`. - What it does: It tests pipeline news and the REPD register. Defines read, json, sha256. Uses libraries node:assert/strict, node:crypto, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file current.json; JSON file release.json; JSON file 202608251528-PipelineNews.json; JSON file 202608251622-PipelineNews.json; JSON file 202608251636-PipelineNews.json. - Signatures: `read(path)`; `json(path)`; `sha256(bytes)`; `poller(await read(manifest.build.official_poller.path))`; `checker(await read(manifest.build.repd_source_checker.path))`; `workflow(await read(workflowPath))` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file release.json; JSON file 202608251528-PipelineNews.json; JSON file 202608251622-PipelineNews.json; JSON file 202608251636-PipelineNews.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check PipelineNews - File: pipelinenews/archive/202608261547-pipelinenews/tests/check-202608260159-pipelinenews.mjs (JavaScript, 65 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tests/check-202608260159-pipelinenews.mjs#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/0993.html#f5 - Synopsis: A JavaScript module in the tests folder that tests major project news, solar, battery storage (BESS) and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It is built from the technology step (`technology`). Its name says it checks PipelineNews. Defines `read`, `json`, `sha256` and 1 more. - What it does: It tests major project news, solar, battery storage (BESS) and the REPD register. Defines read, json, sha256, technology. Uses libraries node:assert/strict, node:crypto, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS), the REPD register. - Inputs & outputs: In: JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json. - Downstream impact: Used directly by 1 file: Check Current Timestamp Release (pipelinenews). - Signatures: `read(path)`; `json(path)`; `sha256(bytes)`; `html(await read("index.html"))`; `technology(key)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json; JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check Current Timestamp Release - File: pipelinenews/archive/202608261547-pipelinenews/tests/check-current-timestamp-release.mjs (JavaScript, 1 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tests/check-current-timestamp-release.mjs#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/0993.html#f6 - Synopsis: A JavaScript module in the tests folder of PipelineNews. - What it achieves (name): Its name says it checks current timestamp release. - What it does: It tests its inputs. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (dynamic-import 1); used by 0; mentioned by 0 ### Check Frozen Release Trees - File: pipelinenews/archive/202608261547-pipelinenews/tests/check-frozen-release-trees.sh (Shell, 36 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tests/check-frozen-release-trees.sh#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/0994.html#f1 - Synopsis: A shell script in the tests folder of PipelineNews that checks git object (`check_git_object`) and sha256 (`check_sha256`). - What it achieves (name): Its name says it checks frozen release trees. Defines `check_git_object` and `check_sha256`. - What it does: It tests its inputs. Defines check_git_object, check_sha256. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - Signatures: `check_git_object()`; `check_sha256()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Official Source V3 - File: pipelinenews/archive/202608261547-pipelinenews/tests/check-official-source-v3.mjs (JavaScript, 179 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tests/check-official-source-v3.mjs#L1-L179 - Page: https://code.globalgrid2050.com/explore-code/s/0994.html#f2 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests official collisions and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It is built from the group for helper (`groupFor`), the independently safe helper (`independentlySafe`) and the authority step (`authority`). Its name says it checks official source. Defines `json`, `compact`, `groupFor` and 2 more. - What it does: It tests official collisions and the REPD register. Defines json, compact, groupFor, independentlySafe, authority. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file current.json; JSON file official-source-v3-collisions.json. - Signatures: `json(path)`; `compact(value)`; `groupFor(projects)`; `independentlySafe(record, project)`; `authority(value)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file official-source-v3-collisions.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Official Source V4 - File: pipelinenews/archive/202608261547-pipelinenews/tests/check-official-source-v4.mjs (JavaScript, 49 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tests/check-official-source-v4.mjs#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/0994.html#f3 - Synopsis: A JavaScript module in the tests folder of PipelineNews that uses SHA-256. - What it achieves (name): Its name says it checks official source. Defines `json`. - What it does: It tests its inputs. Defines json. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file current.json. - Signatures: `json(path)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Run Current Timestamp Release - File: pipelinenews/archive/202608261547-pipelinenews/tests/run-current-timestamp-release.sh (Shell, 22 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tests/run-current-timestamp-release.sh#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/0994.html#f4 - Synopsis: A shell script in the tests folder of PipelineNews. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Release - File: pipelinenews/archive/202608261547-pipelinenews/tooling/build-202608251929-release.mjs (JavaScript, 266 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tooling/build-202608251929-release.mjs#L1-L266 - Page: https://code.globalgrid2050.com/explore-code/s/0994.html#f5 - Synopsis: A JavaScript module in the tooling folder of PipelineNews that reads regional news, major project news and cumulative intelligence, using SHA-256. - What it achieves (name): It is built from the git blob sha1 helper (`gitBlobSha1`), the canonical JSON helper (`canonicalJson`) and the abs step (`abs`). Its name says it builds release. Defines `sha256`, `gitBlobSha1`, `canonicalJson` and 9 more. Its code works with 1 MW. It reads `newsv7/dist/major_project_news_v9_5_1.json`. - What it does: It loads regional news, major project news and cumulative intelligence. Defines 12 functions or classes, including sha256, gitBlobSha1, canonicalJson, abs, ensureWrite. Uses libraries node:crypto, node:fs/promises, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file candidate.json; JSON file 84f4c36bfd72ee0fd50d9002d54c79088444a8a8e777bff54112fa89b56bfe99.json; JSON file 1fb5ae0e8a7453315d568e7053c70237b6e054f82eac219cb3ac70c4eba5422c.json; JSON file build_manifest.json; JSON file regional_manifest.json; JSON file regional_news.json; JSON file major_project_news_v9_5_1.json; JSON file cumulative_intelligence.json. - Signatures: `sha256(bytes)`; `gitBlobSha1(bytes)`; `canonicalJson(value)`; `abs(path)`; `ensureWrite(path, bytes)`; `fileEntry(path)`; `exists(path)`; `projects(await Promise.all(partPaths.map(async (path) => JSON.parse(await readFile(abs(path), "utf8")))))`; `technology(key)`; `sourceOrigin(value)`; `evidenceRecord(item, index, domain)`; `sum(rows)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file candidate.json; JSON file 84f4c36bfd72ee0fd50d9002d54c79088444a8a8e777bff54112fa89b56bfe99.json; JSON file 1fb5ae0e8a7453315d568e7053c70237b6e054f82eac219cb3ac70c4eba5422c.json; JSON file build_manifest.json; JSON file regional_manifest.json; JSON file regional_news.json; JSON file major_project_news_v9_5_1.json; JSON file cumulative_intelligence.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Build Current Discovery Release - File: pipelinenews/archive/202608261547-pipelinenews/tooling/build-current-discovery-release.mjs (JavaScript, 80 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tooling/build-current-discovery-release.mjs#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/0994.html#f6 - Synopsis: A JavaScript module in the tooling folder of PipelineNews that verifies object (`verifyObject`) and writes immutable (`writeImmutable`), using SHA-256. It verifies object (`verifyObject`) and writes immutable (`writeImmutable`). - What it achieves (name): Its name says it builds current discovery release. Defines `sha256`, `repoUrl`, `json` and 2 more. - What it does: It loads data. Defines sha256, repoUrl, json, verifyObject, writeImmutable. Uses libraries node:crypto, node:fs/promises. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file current.json; command-line arguments. - Signatures: `sha256(value)`; `repoUrl(path)`; `json(path)`; `verifyObject(object)`; `writeImmutable(path, bytes)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Evidence Release - File: pipelinenews/archive/202608261547-pipelinenews/tooling/build-evidence-release.mjs (JavaScript, 20 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tooling/build-evidence-release.mjs#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/0994.html#f7 - Synopsis: A JavaScript module in the tooling folder of PipelineNews that uses SHA-256. - What it achieves (name): Its name says it builds evidence release. Defines `sha256`. - What it does: It loads data. Defines sha256. Uses libraries node:crypto, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Signatures: `sha256(bytes)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Official Frontier Release - File: pipelinenews/archive/202608261547-pipelinenews/tooling/build-official-frontier-release.mjs (JavaScript, 24 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tooling/build-official-frontier-release.mjs#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/0994.html#f8 - Synopsis: A JavaScript module in the tooling folder of PipelineNews that uses SHA-256. - What it achieves (name): Its name says it builds official frontier release. - What it does: It loads data. Uses libraries node:crypto, node:fs/promises. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input); command-line arguments. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input); command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Renewable Energy Planning Database (REPD) Source V2 - File: pipelinenews/archive/202608261547-pipelinenews/tooling/check-repd-source-v2.mjs (JavaScript, 94 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tooling/check-repd-source-v2.mjs#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/0995.html#f1 - Synopsis: A JavaScript module in the tooling folder of PipelineNews that fetches the REPD register and wind, using SHA-256. It reads JSON (`readJson`) and parses CSV (`parseCsv`). - What it achieves (name): Its name says it checks REPD source. Defines `sha256`, `readJson`, `optionalJson` and 3 more. - What it does: It fetches the REPD register and wind. Defines 6 functions or classes, including sha256, readJson, optionalJson, atomicJson, parseCsv. Uses libraries node:crypto, node:fs/promises. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, wind. - Inputs & outputs: In: JSON file repd-source.json; JSON file candidate.json. - Signatures: `sha256(value)`; `readJson(path)`; `optionalJson(path, fallback)`; `atomicJson(path, value)`; `parseCsv(source)`; `publicProject(row)`; `attachment(metadata.details?.attachments || [])` - domain_stage: experimental · commercial_user: IPP_developer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file repd-source.json; JSON file candidate.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Check Renewable Energy Planning Database (REPD) Source - File: pipelinenews/archive/202608261547-pipelinenews/tooling/check-repd-source.mjs (JavaScript, 87 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tooling/check-repd-source.mjs#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/0995.html#f2 - Synopsis: A JavaScript module in the tooling folder of PipelineNews that fetches the REPD register, using SHA-256. It reads JSON (`readJson`) and parses CSV (`parseCsv`). - What it achieves (name): Its name says it checks REPD source. Defines `sha256`, `readJson`, `optionalJson` and 2 more. - What it does: It fetches the REPD register. Defines sha256, readJson, optionalJson, atomicJson, parseCsv. Uses libraries node:crypto, node:fs/promises. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file repd-source.json; JSON file candidate.json. - Signatures: `sha256(value)`; `readJson(path)`; `optionalJson(path, fallback)`; `atomicJson(path, value)`; `parseCsv(source)`; `attachment(metadata.details?.attachments || [])` - domain_stage: experimental · commercial_user: IPP_developer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file repd-source.json; JSON file candidate.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Finalise Release - File: pipelinenews/archive/202608261547-pipelinenews/tooling/finalise-202608260159-release.mjs (JavaScript, 83 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tooling/finalise-202608260159-release.mjs#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/0995.html#f3 - Synopsis: A JavaScript module in the tooling folder of PipelineNews that reads major project news, solar and battery storage (BESS), using SHA-256. - What it achieves (name): It is built from the put step (`put`), the entry step (`entry`) and the walk step (`walk`). Defines `canonical`, `sha256`, `abs` and 4 more. - What it does: It loads major project news, solar and battery storage (BESS). Defines 7 functions or classes, including canonical, sha256, abs, put, entry. Uses libraries node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file release.json; JSON file candidate.json; JSON file major_project_news_v9_5_1.json. - Signatures: `canonical(value)`; `sha256(bytes)`; `abs(path)`; `put(path, value)`; `entry(path)`; `walk(path)`; `sum(rows)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release.json; JSON file candidate.json; JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Official Frontier Engine V4 - File: pipelinenews/archive/202608261547-pipelinenews/tooling/official-frontier-engine-v4.mjs (JavaScript, 29 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tooling/official-frontier-engine-v4.mjs#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/0995.html#f4 - Synopsis: A JavaScript module in the tooling folder of PipelineNews that uses SHA-256. It resolves official frontier engine (`resolveOfficialFrontierEngine`) and loads official frontier engine (`loadOfficialFrontierEngine`). - What it achieves (name): Defines `resolveOfficialFrontierEngine` and `loadOfficialFrontierEngine`. - What it does: It loads data. Defines resolveOfficialFrontierEngine, loadOfficialFrontierEngine. Uses libraries node:crypto, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Check Official Source V4 (pipelinenews); Poll Official Sources V4 (pipelinenews). - Signatures: `export resolveOfficialFrontierEngine(manifest)`; `export loadOfficialFrontierEngine(manifest, repositoryRoot)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Poll Official Sources V2 - File: pipelinenews/archive/202608261547-pipelinenews/tooling/poll-official-sources-v2.mjs (JavaScript, 107 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tooling/poll-official-sources-v2.mjs#L1-L107 - Page: https://code.globalgrid2050.com/explore-code/s/0995.html#f5 - Synopsis: A JavaScript module in the tooling folder of PipelineNews that fetches official cursor and search. - What it achieves (name): It reads JSON (`readJson`) and is built from the optional JSON helper (`optionalJson`) and the atomic JSON helper (`atomicJson`). Defines `readJson`, `sleep`, `optionalJson` and 1 more. It reads `releases/current.json`. - What it does: It fetches official cursor and search. Defines readJson, sleep, optionalJson, atomicJson. Uses libraries node:fs/promises. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file current.json; JSON file official-source-cursor.json; JSON file latest.json; JSON file search.json. - Signatures: `readJson(path)`; `sleep(ms)`; `optionalJson(path, fallback)`; `atomicJson(path, value)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of pipelinenews/archive/202608261547-pipelinenews/tooling/poll-official-sources-v4.mjs) · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file official-source-cursor.json; JSON file latest.json; JSON file search.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Poll Official Sources V3 - File: pipelinenews/archive/202608261547-pipelinenews/tooling/poll-official-sources-v3.mjs (JavaScript, 127 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tooling/poll-official-sources-v3.mjs#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/0995.html#f6 - Synopsis: A JavaScript module in the tooling folder of PipelineNews that fetches official cursor and search. - What it achieves (name): It reads JSON (`readJson`) and is built from the optional JSON helper (`optionalJson`) and the atomic JSON helper (`atomicJson`). Defines `readJson`, `sleep`, `optionalJson` and 1 more. It reads `releases/current.json`. - What it does: It fetches official cursor and search. Defines readJson, sleep, optionalJson, atomicJson. Uses libraries node:fs/promises. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file current.json; JSON file official-source-cursor.json; JSON file latest.json; JSON file search.json. - Signatures: `readJson(path)`; `sleep(ms)`; `optionalJson(path, fallback)`; `atomicJson(path, value)`; `records(entry.records || [])` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of pipelinenews/archive/202608261547-pipelinenews/tooling/poll-official-sources-v4.mjs) · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file official-source-cursor.json; JSON file latest.json; JSON file search.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Poll Official Sources V4 - File: pipelinenews/archive/202608261547-pipelinenews/tooling/poll-official-sources-v4.mjs (JavaScript, 128 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tooling/poll-official-sources-v4.mjs#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/0995.html#f7 - Synopsis: A JavaScript module in the tooling folder of PipelineNews that fetches official cursor and search. - What it achieves (name): It reads JSON (`readJson`) and is built from the optional JSON helper (`optionalJson`) and the atomic JSON helper (`atomicJson`). Defines `readJson`, `sleep`, `optionalJson` and 1 more. It reads `releases/current.json`. - What it does: It fetches official cursor and search. Defines readJson, sleep, optionalJson, atomicJson. Uses libraries node:fs/promises. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file current.json; JSON file official-source-cursor.json; JSON file latest.json; JSON file search.json. - Signatures: `readJson(path)`; `sleep(ms)`; `optionalJson(path, fallback)`; `atomicJson(path, value)`; `records(entry.records || [])` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file official-source-cursor.json; JSON file latest.json; JSON file search.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Poll Official Sources - File: pipelinenews/archive/202608261547-pipelinenews/tooling/poll-official-sources.mjs (JavaScript, 126 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tooling/poll-official-sources.mjs#L1-L126 - Page: https://code.globalgrid2050.com/explore-code/s/0996.html#f1 - Synopsis: A JavaScript module in the tooling folder of PipelineNews that fetches official cursor and search. - What it achieves (name): It reads JSON (`readJson`) and is built from the optional JSON helper (`optionalJson`) and the atomic JSON helper (`atomicJson`). Defines `readJson`, `sleep`, `optionalJson` and 1 more. It reads `releases/current.json`. - What it does: It fetches official cursor and search. Defines readJson, sleep, optionalJson, atomicJson. Uses libraries node:fs/promises. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file current.json; JSON file official-source-cursor.json; JSON file latest.json; JSON file search.json. - Signatures: `readJson(path)`; `sleep(ms)`; `optionalJson(path, fallback)`; `atomicJson(path, value)` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of pipelinenews/archive/202608261547-pipelinenews/tooling/poll-official-sources-v4.mjs) · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file official-source-cursor.json; JSON file latest.json; JSON file search.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Sanitise News - File: pipelinenews/archive/202608261547-pipelinenews/tooling/sanitise-202608260159-news.mjs (JavaScript, 79 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/archive/202608261547-pipelinenews/tooling/sanitise-202608260159-news.mjs#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/0996.html#f2 - Synopsis: A JavaScript module in the tooling folder of PipelineNews that reads major project news and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It cleans token (`cleanToken`) and is built from the safe URL helper (`safeUrl`) and the safe item helper (`safeItem`). Defines `cleanToken`, `safeUrl` and `safeItem`. - What it does: It loads major project news and the REPD register. Defines cleanToken, safeUrl, safeItem. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file major_project_news_v9_5_1.json. - Signatures: `cleanToken(value, fallback)`; `safeUrl(value)`; `safeItem(item)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Compare V9 6 2 to Compiled - File: pipelinenews/atman/202608261830-compare-v9-6-2-to-compiled.mjs (JavaScript, 176 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608261830-compare-v9-6-2-to-compiled.mjs#L1-L176 - Page: https://code.globalgrid2050.com/explore-code/s/0996.html#f3 - Synopsis: A JavaScript module in the atman folder of PipelineNews that compares module (`compareModule`) and style (`compareStyle`), using SHA-256. It compares module (`compareModule`) and compares style (`compareStyle`). - What it achieves (name): Defines `digest`, `exists`, `compareModule` and 1 more. - What it does: It loads data. Defines digest, exists, compareModule, compareStyle, main. Uses libraries node:assert/strict, node:crypto, node:child_process, node:fs/promises, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Signatures: `digest(bytes)`; `exists(absolutePath)`; `compareModule([trustedPath, modularPath, replacements])`; `compareStyle([trustedPath, modularPath])`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 7 estate files (script-call 7); used by 0; mentioned by 0 ### Browser Proof - File: pipelinenews/atman/202608262014-browser-proof.mjs (JavaScript, 194 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608262014-browser-proof.mjs#L1-L194 - Page: https://code.globalgrid2050.com/explore-code/s/0996.html#f4 - Synopsis: A JavaScript module in the atman folder of PipelineNews that caches busted URL (`cacheBustedUrl`), covering the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It caches busted URL (`cacheBustedUrl`) and is built from the page at helper (`pageAt`) and the is favicon helper (`isFavicon`). Defines `cacheBustedUrl`, `pageAt`, `isFavicon` and 2 more. - What it does: It draws the REPD register. Defines cacheBustedUrl, pageAt, isFavicon, clickNewsCount, clickTechnologyCount. Uses libraries node:assert/strict, node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Out: JSON file browser-proof.json. - Downstream impact: Used directly by 1 file: PipelineNews Pages V2 Workflow (pipelinenews). Reached from 1 other entry point, including PipelineNews Pages Workflow (pipelinenews). - Signatures: `cacheBustedUrl()`; `pageAt(browser, width)`; `isFavicon(url)`; `clickNewsCount(page, mode)`; `clickTechnologyCount(page, technology, expected)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file browser-proof.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Pages - File: pipelinenews/atman/202608262014-build-pages.py (Python, 1960 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608262014-build-pages.py#L1-L1960 - Page: https://code.globalgrid2050.com/explore-code/s/0997.html#f1 - Synopsis: A Python command-line tool in the atman folder of PipelineNews that reads atlas link and atlas current, using SHA-256 from the GridAtlas repository. - What it achieves (comment): It reads JSON (`read_json`), verifies record (`verify_record`) and verifies record commit (`verify_record_at_commit`). Validate and stage the immutable modular PipelineNews Pages release. It accepts `--root`, `--generation` and `--stage`. - What it does: It loads atlas link and atlas current. Defines 42 functions or classes, including RuntimeAssets, __init__, handle_starttag, require, sha256. Uses libraries __future__, argparse, datetime, hashlib, html.parser. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data; JSON file -release-manifest.json; JSON file 202608261737-release-v9-5-1.json; JSON file atlas-link-manifest.json; JSON file build-manifest.json; JSON file release-manifest.json; JSON file live-set.json; JSON file current-v4.json. - Downstream impact: Used directly by 7 files: Audit Atlas V8 Deep Link Quarantine (pipelinenews); Extend Pages Atlas Link V2 (pipelinenews); Repair Pages Historical Source Attestation (pipelinenews); Test Pages Promotion Tooling (pipelinenews); and 3 more. Reached from 1 other entry point, including PipelineNews Pages Workflow (pipelinenews). - Signatures: `class RuntimeAssets`; `__init__(self)`; `handle_starttag(self, tag: str, attrs: list[tuple[str, str | None]])`; `require(condition: bool, message: str)`; `sha256(path: Path)`; `read_json(path: Path)`; `repository_path(root: Path, relative: str)`; `web_path(document: str, reference: str)`; `verify_record(root: Path, record: dict, label: str)`; `verify_record_at_commit(root: Path, commit: str, record: dict, label: str)`; `select_release(root: Path, requested: str)`; `run_compiler(root: Path, manifest: dict, generation: str)`; `data_generation(manifest: dict)`; `validate_html_and_modules(root: Path, manifest: dict, generation: str)`; `validate_data(root: Path, manifest: dict, generation: str)`; `validate_release(root: Path, requested: str, *, replay_sources: bool = True)`; `_atlas_link_v2_outputs(root: Path, folder_relative: str)`; `_promotion_receiver_record(receiver: dict, key: str, prefix: str)`; `validate_pages_promotion_wrapper_v1(root: Path, release_id: str, generation: str, folder_relative: str, folder: Path, release_manifest_relative: str, rel...)`; `validate_current_atlas_link_v2(root: Path, release_id: str, generation: str, folder_relative: str, folder: Path, release_manifest_relative: str, rel...)`; `validate_pages_promotion_source_pointer(pointer: dict, timestamp_folder: dict)`; `validate_pages_promotion_pointer(root: Path, timestamp_folder: dict)`; `validate_current_or_predecessor_pointer(root: Path, timestamp_folder: dict)`; `validate_timestamp_folder_release(root: Path, release_id: str)`; `validate_live_pointer(root: Path, timestamp_folder: dict | None)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file -release-manifest.json; JSON file 202608261737-release-v9-5-1.json; JSON file atlas-link-manifest.json; JSON file build-manifest.json; JSON file release-manifest.json; JSON file live-set.json; JSON file current-v4.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 7; mentioned by 0 ### Generate PipelineNews V8 Atman - File: pipelinenews/atman/202608262042-generate-pipelinenews-v8-atman.mjs (JavaScript, 303 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608262042-generate-pipelinenews-v8-atman.mjs#L1-L303 - Page: https://code.globalgrid2050.com/explore-code/s/1000.html#f1 - Synopsis: A JavaScript module that draws performance audit, 11kV, the Renewable Energy Planning Database (REPD) register and substations. - What it achieves (name): Its name says it generates PipelineNews atman. Defines `mobile` and `ratio`. Its code works with 11 kV and 400 kV. It writes `atman-report-path.txt`. - What it does: It draws performance audit, 11kV, the REPD register and substations. Defines mobile, n, ratio. Uses libraries node:fs, node:path, node:assert/strict. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 11kV, the REPD register, substations, 400kV. - Inputs & outputs: In: JSON file performance-audit.json; DuckDB queries. Voltage levels named: 400kV, 11kV. - Downstream impact: Used directly by 1 file: PipelineNews Atman V8 Architecture Report Workflow (pipelinenews). - Signatures: `mobile(id)`; `n(value)`; `ratio(a,b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file performance-audit.json; DuckDB queries]; out []; crs []; voltages [400kV, 11kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Performance Audit - File: pipelinenews/atman/202608262120-performance-audit.mjs (JavaScript, 246 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608262120-performance-audit.mjs#L1-L246 - Page: https://code.globalgrid2050.com/explore-code/s/1000.html#f2 - Synopsis: A JavaScript module in the atman folder of PipelineNews that sorts Renewable Energy Planning Database (REPD) (`sortByRepd`), covering the REPD register. - What it achieves (name): It sorts REPD (`sortByRepd`) and is built from the stress scroll helper (`stressScroll`) and the median step (`median`). Defines `delta`, `metrics`, `snapshot` and 3 more. It writes `audit-results/performance-audit.json`. - What it does: It lists and searches the REPD register. Defines 6 functions or classes, including delta, metrics, snapshot, sortByRepd, stressScroll. Uses libraries playwright, node:fs/promises. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Out: JSON file performance-audit.json. - Downstream impact: Used directly by 1 file: PipelineNews Performance Audit Workflow (pipelinenews). - Signatures: `delta(after, before, key)`; `metrics(cdp)`; `snapshot(page, cdp)`; `sortByRepd(page)`; `stressScroll(page)`; `median(values)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file performance-audit.json]; crs []; voltages [] - Edges: uses 4 estate files (estate-url 4); used by 1; mentioned by 0 ### Compare Mobile UI - File: pipelinenews/atman/202608271656-compare-mobile-ui.mjs (JavaScript, 927 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608271656-compare-mobile-ui.mjs#L1-L927 - Page: https://code.globalgrid2050.com/explore-code/s/1001.html#f1 - Synopsis: A JavaScript module in the atman folder of PipelineNews that reads metrics and artifact, using SHA-256. It validates project posture (`validateProjectPosture`), hashes raw artifacts (`hashRawArtifacts`) and parses JSON (`parseJson`). - What it achieves (name): Defines `fail`, `requireSchema`, `validateProjectPosture` and 37 more. - What it does: It loads metrics and artifact. Defines 41 functions or classes, including fail, requireSchema, validateProjectPosture, sha256, sourceCommit. Uses libraries node:child_process, node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file run.json; JSON file metrics.json; JSON file artifact-manifest.json. Out: JSON file metrics.json; JSON file artifact-manifest.json. - Signatures: `fail(kind, message)`; `requireSchema(condition, message)`; `validateProjectPosture(value, label)`; `sha256(bytes)`; `sourceCommit()`; `commit(process.env.MOBILE_UI_SOURCE_COMMIT || process.env.GITHUB_SHA || execFileSync("git", ["rev-parse", "HEAD"], { cwd: RO...)`; `jsonBytes(value)`; `posix(relativePath)`; `inside(root, candidate)`; `walkFiles(root, current = root)`; `hashRawArtifacts()`; `parseJson(bytes, relative)`; `targetId(record)`; `cellId(record)`; `rawObservation(result)`; `matrixState(result, invariant)`; `expectedApplicable(invariant, cell)`; `resultMap(record, relative)`; `screenshotReferences(record)`; `visit(value, trail)`; `resolveRawReference(referencePath)`; `recordKey(target, cell)`; `parseRawEvidence(bytesByPath, artifacts)`; `addRecord(records, record, relative, artifacts)`; `requiredRecordKeys()` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file run.json; JSON file metrics.json; JSON file artifact-manifest.json]; out [JSON file metrics.json; JSON file artifact-manifest.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Mobile UI Invariants - File: pipelinenews/atman/202608271656-mobile-ui-invariants.mjs (JavaScript, 236 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608271656-mobile-ui-invariants.mjs#L1-L236 - Page: https://code.globalgrid2050.com/explore-code/s/1002.html#f2 - Synopsis: A JavaScript module in the atman folder of PipelineNews that works with deep freeze (`deepFreeze`). It is built from the deep freeze helper (`deepFreeze`). - What it achieves (name): Defines `deepFreeze`. - What it does: It calculates its inputs. Defines deepFreeze. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: Compare Mobile UI (pipelinenews); Verify Mobile UI Browser (pipelinenews). Reached from 1 other entry point, including PipelineNews Mobile CSS Repair Workflow (pipelinenews). - Signatures: `deepFreeze(value)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0 ### Verify Mobile UI Browser - File: pipelinenews/atman/202608271656-verify-mobile-ui-browser.mjs (JavaScript, 1963 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608271656-verify-mobile-ui-browser.mjs#L1-L1963 - Page: https://code.globalgrid2050.com/explore-code/s/1003.html#f1 - Synopsis: A JavaScript module in the atman folder of PipelineNews that applies area (`applySafeArea`), attaches diagnostics (`attachDiagnostics`) and selects full page capture (`selectFullPageCapture`), using SHA-256. - What it achieves (name): It serialises error (`serialiseError`), writes JSON (`writeJson`) and applies safe area (`applySafeArea`). Its name says it verifies mobile UI browser. Defines `selectedIds`, `slug`, `serialiseError` and 52 more. - What it does: It draws its content. Defines 55 functions or classes, including selectedIds, slug, serialiseError, relativeEvidencePath, writeJson. Uses libraries node:crypto, node:fs, node:fs/promises, node:path, node:module. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file run.json; command-line arguments. - Downstream impact: Used directly by 1 file: PipelineNews Mobile CSS Repair Workflow (pipelinenews). - Signatures: `selectedIds(environmentName, allowed)`; `slug(value)`; `serialiseError(error)`; `relativeEvidencePath(filePath)`; `writeJson(filePath, value)`; `sha256File(filePath)`; `invariantResult(id, applicable, pass, measurement)`; `emptyInvariantResults(reason, rotate = false)`; `applySafeArea(cdp, cellId, orientation)`; `attachDiagnostics(page)`; `favicon(url)`; `retain(list, value)`; `waitUntilReady(page, target)`; `navigate(page, target)`; `selectFullPageCapture(dimensions, limits)`; `pngDimensions(buffer)`; `assertViewportScreenshotPixels(fileName, observed, expected)`; `captureScreenshots(page, targetId, cellId, suffix = "", expectedViewport = null)`; `boundedJpeg(filePath, fullPage)`; `exerciseReleaseMenu(page)`; `visible(element)`; `restoreOriginalScroll()`; `collectStaticMeasurements(page, cell, safeArea, menuExercise)`; `nextFrame()`; `rectData(rect)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file run.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Verify V9 6 2 Equivalence - File: pipelinenews/atman/202608282150-verify-v9-6-2-equivalence.mjs (JavaScript, 87 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608282150-verify-v9-6-2-equivalence.mjs#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/1005.html#f2 - Synopsis: A JavaScript module in the atman folder of PipelineNews that draws relationship governance status and solar. - What it achieves (name): Its name says it verifies equivalence. Defines `gate` and `observe`. - What it does: It draws relationship governance status and solar. Defines gate, observe. Uses libraries playwright, node:fs/promises. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file 202608282044-relationship-governance-status.json; command-line arguments. - Downstream impact: Used directly by 1 file: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/). - Signatures: `gate(id,pass,evidence)`; `observe(label,url,viewport)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608282044-relationship-governance-status.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Verify V9 6 2 Complete Equivalence - File: pipelinenews/atman/202608290020-verify-v9-6-2-complete-equivalence.mjs (JavaScript, 264 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608290020-verify-v9-6-2-complete-equivalence.mjs#L1-L264 - Page: https://code.globalgrid2050.com/explore-code/s/1006.html#f1 - Synopsis: A JavaScript module in the atman folder of PipelineNews that projects matrix (`projectMatrix`), covering solar and battery storage (BESS). - What it achieves (name): It is built from the first number helper (`firstNumber`), the range total helper (`rangeTotal`) and the clear projects helper (`clearProjects`). Its name says it verifies complete equivalence. Defines `gate`, `firstNumber`, `rangeTotal` and 4 more. - What it does: It draws solar and battery storage (BESS). Defines 7 functions or classes, including gate, firstNumber, rangeTotal, clearProjects, projectMatrix. Uses libraries playwright, node:fs/promises. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `gate(id, pass, evidence)`; `firstNumber(text)`; `rangeTotal(text)`; `clearProjects(page)`; `projectMatrix(page, label, width, exhaustive)`; `newsMatrix(page, label, width, exhaustive)`; `observe(browser, label, url, viewport)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Verify Adaptive Build Controller - File: pipelinenews/atman/202608290202-verify-adaptive-build-controller.mjs (JavaScript, 226 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608290202-verify-adaptive-build-controller.mjs#L1-L226 - Page: https://code.globalgrid2050.com/explore-code/s/1006.html#f2 - Synopsis: A JavaScript module in the atman folder of PipelineNews that uses SHA-256 using data from GitHub API. It parses args (`parseArgs`), validates milestones (`validateMilestones`) and validates contract (`validateContract`). - What it achieves (name): Its name says it verifies adaptive build controller. Defines `parseArgs`, `sha256`, `git` and 6 more. - What it does: It fetches data. Defines 9 functions or classes, including parseArgs, sha256, git, isAbsent, api. Uses libraries node:assert/strict, node:crypto, node:child_process, node:fs/promises. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: GitHub API; JSON file live-set.json; JSON file current.json; command-line arguments. - Downstream impact: Used directly by 1 file: PipelineNews Adaptive Controller Contract Gate Workflow (pipelinenews). - Signatures: `parseArgs(values)`; `sha256(raw)`; `git(...args)`; `isAbsent(filename)`; `api(endpoint, { authenticated = true } = {})`; `validateMilestones(milestones)`; `validateContract(manifest, manifestPath)`; `verifyArtifact(repository, expected)`; `remoteAttestation(manifest)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file live-set.json; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Verify Complete Equivalence - File: pipelinenews/atman/202608291310-verify-complete-equivalence.mjs (JavaScript, 286 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608291310-verify-complete-equivalence.mjs#L1-L286 - Page: https://code.globalgrid2050.com/explore-code/s/1007.html#f1 - Synopsis: A JavaScript module in the atman folder of PipelineNews that draws relationship governance status, solar and battery storage (BESS). - What it achieves (name): It loads chromium (`loadChromium`) and is built from the first number helper (`firstNumber`) and the range total helper (`rangeTotal`). Its name says it verifies complete equivalence. Defines `loadChromium`, `gate`, `firstNumber` and 5 more. - What it does: It draws relationship governance status, solar and battery storage (BESS). Defines 8 functions or classes, including loadChromium, gate, firstNumber, rangeTotal, clearProjects. Uses libraries node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file 202608282200-relationship-governance-status.json; command-line arguments. - Downstream impact: Used directly by 2 files: Atlas V9 Deep Link Successor (pipelinenews); Atlas Pointer Deep Link Successor (pipelinenews). - Signatures: `loadChromium()`; `gate(id, pass, evidence)`; `firstNumber(text)`; `rangeTotal(text)`; `clearProjects(page)`; `projectMatrix(page, label, width, exhaustive)`; `newsMatrix(page, label, width, exhaustive)`; `observe(browser, label, url, viewport)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608282200-relationship-governance-status.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Build Live Pointer - File: pipelinenews/atman/202608291504-build-live-pointer.mjs (JavaScript, 150 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608291504-build-live-pointer.mjs#L1-L150 - Page: https://code.globalgrid2050.com/explore-code/s/1007.html#f2 - Synopsis: A JavaScript module in the atman folder of PipelineNews that reads the Renewable Energy Planning Database (REPD) register, using SHA-256. It parses args (`parseArgs`). - What it achieves (name): Its name says it builds live pointer. Defines `parseArgs`, `sha256` and `record`. - What it does: It loads the REPD register. Defines parseArgs, sha256, record, main. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file release-manifest.json; JSON file current-v3.json; JSON file build-manifest.json; JSON file live-set.json; command-line arguments. - Downstream impact: Used directly by 2 files: Atlas V9 Deep Link Successor (pipelinenews); Atlas Pointer Deep Link Successor (pipelinenews). - Signatures: `parseArgs(argv)`; `sha256(raw)`; `record(relative, raw)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release-manifest.json; JSON file current-v3.json; JSON file build-manifest.json; JSON file live-set.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Compare Incumbent Successor - File: pipelinenews/atman/202608291504-compare-incumbent-successor.mjs (JavaScript, 345 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608291504-compare-incumbent-successor.mjs#L1-L345 - Page: https://code.globalgrid2050.com/explore-code/s/1008.html#f1 - Synopsis: A JavaScript module in the atman folder of PipelineNews that reads fast site, using SHA-256. It parses args (`parseArgs`), reads JSON (`readJson`) and decodes projects (`decodeProjects`). - What it achieves (name): Defines `parseArgs`, `sha256`, `readJson` and 5 more. - What it does: It loads fast site. Defines 10 functions or classes, including parseArgs, sha256, readJson, fileTree, walk. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file release-manifest.json; JSON file current-v3.json; JSON file build-manifest.json; JSON file 202608282200-v8-fast-site-manifest.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; command-line arguments. - Downstream impact: Used directly by 2 files: Atlas V9 Deep Link Successor (pipelinenews); Atlas Pointer Deep Link Successor (pipelinenews). - Signatures: `parseArgs(argv)`; `sha256(raw)`; `readJson(filename)`; `fileTree(root)`; `walk(directory)`; `item(status, evidence)`; `classified(condition, evidence, { expectedChange = false } = {})`; `decodeProjects(payload)`; `main()`; `entry(browserProof.optional_sentinels || [])` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release-manifest.json; JSON file current-v3.json; JSON file build-manifest.json; JSON file 202608282200-v8-fast-site-manifest.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Wake Up Ledger - File: pipelinenews/atman/202608291504-wake-up-ledger.mjs (JavaScript, 122 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608291504-wake-up-ledger.mjs#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/1008.html#f2 - Synopsis: A JavaScript module in the atman folder of PipelineNews that reads fast site, using SHA-256. It parses args (`parseArgs`) and reads JSON if present (`readJsonIfPresent`). - What it achieves (name): Defines `parseArgs`, `sha256`, `exists` and 1 more. - What it does: It loads fast site. Defines parseArgs, sha256, exists, readJsonIfPresent, main. Uses libraries node:assert/strict, node:crypto, node:child_process, node:fs/promises, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608271524-v8-fast-site-manifest.json; JSON file release-manifest.json; JSON file current-v3.json; JSON file live-set.json; command-line arguments. - Downstream impact: Used directly by 1 file: Atlas Pointer Deep Link Successor (pipelinenews). - Signatures: `parseArgs(argv)`; `sha256(raw)`; `exists(relative)`; `readJsonIfPresent(relative)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608271524-v8-fast-site-manifest.json; JSON file release-manifest.json; JSON file current-v3.json; JSON file live-set.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Public Browser Readback - File: pipelinenews/atman/202608300309-public-browser-readback.mjs (JavaScript, 104 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/202608300309-public-browser-readback.mjs#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/1008.html#f3 - Synopsis: A JavaScript module in the atman folder of PipelineNews covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. - What it achieves (name): Defines `value`. - What it does: It lists and searches the REPD register. Defines value. Uses libraries node:fs/promises, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; command-line arguments. - Downstream impact: Used directly by 2 files: Atlas V9 Deep Link Successor (pipelinenews); Atlas Pointer Deep Link Successor (pipelinenews). - Signatures: `value(flag)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Pages Promotion Wrapper Readback - File: pipelinenews/atman/pages-promotion-wrapper-readback.mjs (JavaScript, 251 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/atman/pages-promotion-wrapper-readback.mjs#L1-L251 - Page: https://code.globalgrid2050.com/explore-code/s/1009.html#f1 - Synopsis: A JavaScript module in the atman folder of PipelineNews that fetches atlas link, using SHA-256 from the GridAtlas repository. - What it achieves (comment): It fetches public bytes (`fetchPublicBytes`) and is built from the value step (`value`) and the sha256 step (`sha256`). Browser proof for any fail-closed Pages promotion wrapper. - What it does: It fetches atlas link. Defines value, sha256, fetchPublicBytes, throttle. Uses libraries node:fs/promises, node:crypto, playwright. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data; JSON file atlas-link-manifest.json; JSON file current.json; command-line arguments. - Downstream impact: Used directly by 1 file: PipelineNews Pages V2 Workflow (pipelinenews). Reached from 1 other entry point, including PipelineNews Pages Workflow (pipelinenews). - Signatures: `value(flag)`; `sha256(payload)`; `fetchPublicBytes(url, label)`; `throttle(target)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file atlas-link-manifest.json; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Repair Pages Historical Source Attestation - File: pipelinenews/automation/202608301152-repair-pages-historical-source-attestation.py (Python, 110 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/automation/202608301152-repair-pages-historical-source-attestation.py#L1-L110 - Page: https://code.globalgrid2050.com/explore-code/s/1009.html#f2 - Synopsis: A Python command-line tool in the automation folder of PipelineNews that verifies record commit (`verify_record_at_commit`), using SHA-256. It replaces once (`replace_once`). - What it achieves (comment): Patch the Pages gate to attest historical compiler inputs for timestamp releases. - What it does: It loads data. Defines replace_once, main, verify_record_at_commit. Uses libraries pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Repair Pages Historical Source Attestation V2 (pipelinenews). - Signatures: `replace_once(text: str, before: str, after: str, label: str)`; `main()`; `verify_record_at_commit(root: Path, commit: str, record: dict, label: str)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### BBC RSS Pipeline Model - File: pipelinenews/cartridges/bbc-rss-pipeline-model.mjs (JavaScript, 73 lines) · role energy-data · stage transform - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/cartridges/bbc-rss-pipeline-model.mjs#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/1009.html#f3 - Synopsis: A JavaScript module in the cartridges folder of PipelineNews that works with the Renewable Energy Planning Database (REPD) register. It builds rss view (`buildRssView`) and refreshes rss (`refreshRss`). - What it achieves (name): Defines `articleIdentity`, `projectObservation`, `buildRssView` and 1 more. - What it does: It calculates the REPD register. Defines articleIdentity, projectObservation, buildRssView, refreshRss. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file bbc-rss.json. - Downstream impact: Used directly by 3 files: BBC RSS Pipeline Panel (pipelinenews); BBC RSS Pipeline Model Test (pipelinenews); Build BBC RSS Package (pipelinenews). Reached from 1 other entry point, including PipelineNews Coverage Contract Workflow (pipelinenews). - Signatures: `export articleIdentity(value)`; `export projectObservation(item, projects = [], evidence = [], official = [])`; `export buildRssView(payload, {now=Date.now(), projects=[], evidence=[], official=[], refreshError=null}={})`; `export refreshRss(previous, {fetcher=fetch, ...options}={})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file bbc-rss.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### BBC RSS Pipeline Model Test - File: pipelinenews/cartridges/bbc-rss-pipeline-model.test.mjs (JavaScript, 54 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/cartridges/bbc-rss-pipeline-model.test.mjs#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1009.html#f4 - Synopsis: A test in the cartridges folder of PipelineNews that checks BBC RSS Pipeline Model. - What it achieves (name): Defines `payload`. It reads `../data/provisional/project-register.json`. - What it does: It tests solar and the REPD register. Defines payload. Uses libraries node:test, node:assert/strict, node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register. - Inputs & outputs: In: JSON file project-register.json; JSON file 202609060208-cearn-project-evidence.json. - Downstream impact: Used directly by 1 file: PipelineNews Coverage Contract Workflow (pipelinenews). - Signatures: `payload()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file project-register.json; JSON file 202609060208-cearn-project-evidence.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Coverage Join Audit - File: pipelinenews/cartridges/coverage-join-audit.mjs (JavaScript, 48 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/cartridges/coverage-join-audit.mjs#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/1009.html#f5 - Synopsis: A JavaScript module in the cartridges folder of PipelineNews that works with substations and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It audits coverage (`auditCoverage`) and is built from the key step (`key`) and the identities step (`identities`). PIPELINE-01: identity coverage only. Presence does not establish network capacity. - What it does: It calculates substations and the REPD register. Defines key, identities, auditCoverage, difference. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, the REPD register. - Downstream impact: Used directly by 2 files: Coverage Join Audit Test (pipelinenews); Build Coverage Candidate (pipelinenews). Reached from 1 other entry point, including PipelineNews Coverage Contract Workflow (pipelinenews). - Signatures: `export auditCoverage(proximity, grid, substation)`; `key(value)`; `identities(rows, label)`; `difference(a, b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Coverage Join Audit Test - File: pipelinenews/cartridges/coverage-join-audit.test.mjs (JavaScript, 28 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/cartridges/coverage-join-audit.test.mjs#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1009.html#f6 - Synopsis: A test in the cartridges folder of PipelineNews that checks Coverage Join Audit. - What it achieves (name): Defines `load`. - What it does: It tests substations. Defines load. Uses libraries node:test, node:assert/strict, node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 33kV. - Inputs & outputs: In: JSON file 202608311610-grid-proximity.json; JSON file 202608311800-grid-distance.json; JSON file 202608311858-substation-33kv.json. Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: PipelineNews Coverage Contract Workflow (pipelinenews). - Signatures: `load(name)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608311610-grid-proximity.json; JSON file 202608311800-grid-distance.json; JSON file 202608311858-substation-33kv.json]; out []; crs []; voltages [33kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Provisional Identity - File: pipelinenews/cartridges/provisional-identity.mjs (JavaScript, 70 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/cartridges/provisional-identity.mjs#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/1009.html#f7 - Synopsis: A JavaScript module in the cartridges folder of PipelineNews that works with the Renewable Energy Planning Database (REPD) register, using SHA-256. It normalises operator (`normaliseOperator`) and resolves project (`resolveProject`). - What it achieves (comment): Uses the existing Pipeline Global Grid reference convention. - What it does: It calculates the REPD register. Defines 8 functions or classes, including globalGridReference, normalise, allocateProvisional, normaliseOperator, reconcileProvisional. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 4 files: Provisional Identity Test (pipelinenews); Build Provisional Package (pipelinenews); Reconcile Provisional (pipelinenews); Register Quarter Test (pipelinenews). Reached from 2 other entry points, including PipelineNews BBC RSS Discovery Workflow (pipelinenews); PipelineNews Coverage Contract Workflow (pipelinenews). - Signatures: `export globalGridReference(ref)`; `export allocateProvisional(records, project)`; `export reconcileProvisional(records, official, source, options = {})`; `export resolveProject(records, identity)`; `normalise(value)`; `normaliseOperator(value)`; `operatorOf(candidate)`; `place(candidate)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Provisional Identity Test - File: pipelinenews/cartridges/provisional-identity.test.mjs (JavaScript, 26 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/cartridges/provisional-identity.test.mjs#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/1009.html#f8 - Synopsis: A test in the cartridges folder of PipelineNews that checks Provisional Identity, using SHA-256. - What it does: It tests the REPD register and solar. Uses libraries node:test. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: JSON file quarterly-repd.json. - Downstream impact: Used directly by 2 files: PipelineNews BBC RSS Discovery Workflow (pipelinenews); PipelineNews Coverage Contract Workflow (pipelinenews). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file quarterly-repd.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Reported Project Test - File: pipelinenews/cartridges/reported-project.test.mjs (JavaScript, 23 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/cartridges/reported-project.test.mjs#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1009.html#f9 - Synopsis: A test in the cartridges folder of PipelineNews that checks Reported Project. - What it achieves (name): Defines `load`. It reads `../discovery/inbox/202609060208-cearn-project-evidence.json`. - What it does: It tests its inputs. Defines load. Uses libraries node:test, node:assert/strict, node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202609060208-cearn-project-evidence.json. - Downstream impact: Used directly by 1 file: PipelineNews Coverage Contract Workflow (pipelinenews). - Signatures: `load()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060208-cearn-project-evidence.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### BBC RSS - File: pipelinenews/discovery/bbc_rss.py (Python, 20 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/discovery/bbc_rss.py#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1010.html#f1 - Synopsis: A Python command-line tool in the discovery folder of PipelineNews. - What it achieves (comment): Compatibility entry point for the BBC RSS collector in news.bbc. - What it does: Uses libraries sys, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Build RSS Candidate (pipelinenews). Reached from 1 other entry point, including PipelineNews Coverage Contract Workflow (pipelinenews). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Datacentre Binder - File: pipelinenews/discovery/datacentre-binder.mjs (JavaScript, 138 lines) · role energy-data · stage transform - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/discovery/datacentre-binder.mjs#L1-L138 - Page: https://code.globalgrid2050.com/explore-code/s/1010.html#f2 - Synopsis: A JavaScript module in the discovery folder of PipelineNews that works with UK datacentre pipeline and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It verifies register bytes (`verifyRegisterBytes`), builds sites (`buildSites`) and binds centre (`bindDataCentreItem`). Data-centre topic binder: news items -> released GridAtlas data-centre register site ids. - What it does: It calculates UK datacentre pipeline and the REPD register. Defines 10 functions or classes, including normalise, distinctive, mentions, verifyRegisterBytes, noteValue. Uses libraries node:crypto. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentre'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: Datacentre Binder Test (pipelinenews). Reached from 1 other entry point, including PipelineNews BBC RSS Discovery Workflow (pipelinenews). - Signatures: `export normalise(value)`; `export verifyRegisterBytes(bytes, pin = DC_REGISTER_PIN)`; `export buildSites(register)`; `export bindDataCentreItem(item, register)`; `export bindDataCentres(items, register)`; `distinctive(alias)`; `mentions(text, phrase)`; `noteValue(notes, key)`; `operatorList(p)`; `chain(name)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### JavaScript BBC Enrichment - File: pipelinenews/discovery/javascript/202608270844-bbc-enrichment.mjs (JavaScript, 455 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/discovery/javascript/202608270844-bbc-enrichment.mjs#L1-L455 - Page: https://code.globalgrid2050.com/explore-code/s/1010.html#f3 - Synopsis: A JavaScript module in the discovery folder of PipelineNews that decodes entities (`decodeHtmlEntities`), finds phrase (`findPhrase`) and parses tag attributes (`parseTagAttributes`). - What it achieves (name): It decodes HTML entities (`decodeHtmlEntities`), finds phrase (`findPhrase`) and parses tag attributes (`parseTagAttributes`). Defines `BbcEnrichmentError`, `fail`, `isPlainObject` and 22 more. - What it does: It lists and searches its content. Defines 25 functions or classes, including BbcEnrichmentError, fail, isPlainObject, compactText, decodeHtmlEntities. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: JavaScript Live News Runner (pipelinenews); Check BBC Enrichment (pipelinenews). Reached from 2 other entry points, including PipelineNews Coverage Contract Workflow (pipelinenews); Check Live News Candidate (pipelinenews). - Signatures: `export class BbcEnrichmentError`; `export validateBbcArticleUrl(value)`; `export extractBbcArticleMetadata(html, articleUrl, options = {})`; `export fetchBbcArticleMetadata(articleUrl, options = {})`; `export enrichBbcArticle(articleUrl, options = {})`; `export classifyEnrichedBbcArticle(article, contract)`; `constructor(code)`; `fail(code)`; `isPlainObject(value)`; `compactText(value)`; `decodeHtmlEntities(value)`; `escapeRegExp(value)`; `exactPhraseRegExp(phrase)`; `findPhrase(text, phrase)`; `boundedSnippet(text, phrase, maximum = BBC_ENRICHMENT_LIMITS.snippet_chars)`; `parseTagAttributes(tag)`; `metaContent(html, key, expected)`; `findNewsArticleJsonLd(html)`; `visit(node)`; `jsonLdAboutNames(article)`; `articlePlainText(html)`; `internalArticleUrls(html, articleUrl)`; `normaliseGazetteer(gazetteer)`; `readBoundedHtml(response)`; `abort()` (and 2 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### JavaScript Live News Runner - File: pipelinenews/discovery/javascript/202608270844-live-news-runner.mjs (JavaScript, 1311 lines) · role storage · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/discovery/javascript/202608270844-live-news-runner.mjs#L1-L1311 - Page: https://code.globalgrid2050.com/explore-code/s/1011.html#f1 - Synopsis: A JavaScript module in the discovery folder of PipelineNews that reads live news discovery contract, solar, battery storage (BESS) and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It gets project (`getProject`), validates canonical contract (`validateCanonicalContract`) and normalises discovery contract (`normaliseDiscoveryContract`). Defines `LiveNewsDiscoveryError`, `fail`, `isPlainObject` and 41 more. - What it does: It loads live news discovery contract, solar, battery storage (BESS) and the REPD register. Defines 44 functions or classes, including LiveNewsDiscoveryError, fail, isPlainObject, assertPlainObject, assertExactKeys. Uses libraries node:fs/promises, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS), the REPD register. - Inputs & outputs: In: JSON file 202608270844-live-news-discovery-contract.json; command-line arguments. - Downstream impact: Used directly by 2 files: Check BBC Enrichment (pipelinenews); Check Live News Candidate (pipelinenews). Reached from 1 other entry point, including PipelineNews Coverage Contract Workflow (pipelinenews). - Signatures: `export class LiveNewsDiscoveryError`; `export normaliseDiscoveryContract(contract)`; `export validateApprovedEvidence({ evidence, contract, projectByRef })`; `export approvedEvidenceToNewsItems({ evidence, contract, projectByRef })`; `export selectEligibleProjects(projects)`; `export buildBoundedQueryPlan(projects)`; `export parseBingNewsRss(xml)`; `export searchNewsProvider(query, options = {})`; `export configuredOptionalProviders(secretEnv = process.env)`; `export classifySearchResult(result, contract)`; `export collectLiveNews({ projects, contract, provider = 'bing', fetch_impl = globalThis.fetch, secret_env = process.env, } = {})`; `constructor(code)`; `fail(code)`; `isPlainObject(value)`; `assertPlainObject(value, code)`; `assertExactKeys(value, keys, code)`; `assertString(value, code, { allowEmpty = false, maximum = 500 } = {})`; `assertNullableString(value, code, maximum = 500)`; `assertIsoDate(value, code)`; `sameJson(left, right)`; `compactText(value)`; `truncateSnippet(value)`; `escapeRegExp(value)`; `containsPhrase(text, phrase)`; `getProject(projectByRef, repdRef)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608270844-live-news-discovery-contract.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### JavaScript Sector Ledger Relevance Gate - File: pipelinenews/discovery/javascript/202609010015-sector-ledger-relevance-gate.mjs (JavaScript, 130 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/discovery/javascript/202609010015-sector-ledger-relevance-gate.mjs#L1-L130 - Page: https://code.globalgrid2050.com/explore-code/s/1013.html#f1 - Synopsis: A JavaScript module in the discovery folder of PipelineNews that works with sector topic decision (`sectorTopicDecision`) and gate sector ledger (`gateSectorLedger`). - What it achieves (name): It is built from the sector topic decision helper (`sectorTopicDecision`), the gate sector ledger helper (`gateSectorLedger`) and the arguments from helper (`argumentsFrom`). Defines `sectorTopicDecision`, `gateSectorLedger` and `argumentsFrom`. - What it does: It loads data. Defines sectorTopicDecision, gateSectorLedger, argumentsFrom, main. Uses libraries node:assert/strict, node:fs/promises, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 3 files: Sector Ledger Relevance Proof (pipelinenews); Sector Topic Relevance Audit (pipelinenews); PipelineNews Sector Intelligence Candidate Workflow (pipelinenews). - Signatures: `export sectorTopicDecision(item)`; `export gateSectorLedger(input)`; `argumentsFrom(argv)`; `main()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### JavaScript Sector Topic Evidence - File: pipelinenews/discovery/javascript/202609010015-sector-topic-evidence.mjs (JavaScript, 49 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/discovery/javascript/202609010015-sector-topic-evidence.mjs#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1013.html#f2 - Synopsis: A JavaScript module in the discovery folder of PipelineNews that works with solar and substations. It normalises sector evidence (`normaliseSectorEvidence`) and classifies sector topic (`classifySectorTopic`). - What it achieves (comment): Affirmative, item-local evidence rules for neutral sector intelligence. - What it does: It calculates solar and substations. Defines normaliseSectorEvidence, classifySectorTopic. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, substations. - Downstream impact: Used directly by 3 files: Datacentre Binder (pipelinenews); JavaScript Sector Ledger Relevance Gate (pipelinenews); Sector Ledger Relevance Proof (pipelinenews). Reached from 4 other entry points, including PipelineNews BBC RSS Discovery Workflow (pipelinenews); PipelineNews Sector Intelligence Candidate Workflow (pipelinenews); Datacentre Binder Test (pipelinenews). - Signatures: `export normaliseSectorEvidence(value)`; `export classifySectorTopic({ title, summary = null })` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### JavaScript Sector Intelligence Runner - File: pipelinenews/discovery/javascript/202609010719-sector-intelligence-runner.mjs (JavaScript, 944 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/discovery/javascript/202609010719-sector-intelligence-runner.mjs#L1-L944 - Page: https://code.globalgrid2050.com/explore-code/s/1013.html#f3 - Synopsis: A JavaScript module in the discovery folder of PipelineNews that reads PipelineNews centres and search, using SHA-256 from the data-centres-GB repository. - What it achieves (name): It decodes entity (`decodeEntity`), cleans text (`cleanText`) and scans feed entries (`scanFeedEntries`). Defines `sha256`, `canonicalJson`, `decodeEntity` and 29 more. - What it does: It loads PipelineNews centres and search. Defines 33 functions or classes, including sha256, canonicalJson, decodeEntity, linearCleanText, cleanText. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: data-centres-gb data; JSON file 202608271727-pipelinenews-data-centres.json; JSON file search.json; command-line arguments. - Downstream impact: Used directly by 1 file: Sector Ledger Relevance Proof (pipelinenews). - Signatures: `export cleanText(value, maximum, { nullable = false, rawMaximum = APPROVED_LIMITS.maximum_raw_text_characters } = {})`; `export scanFeedEntries(text, limits)`; `export failureCode(error)`; `export fetchBounded(source, fetchImpl, limits)`; `export validateContract(contract)`; `export collectSectorIntelligence({ contract, genericNewsPath, fetchImpl = fetch, fixture = null, collectionAnchorAt, collectionAnchorBasis, })`; `sha256(bytes)`; `canonicalJson(value)`; `decodeEntity(token)`; `linearCleanText(raw)`; `iso(value, label, { nullable = false, dateOnly = false } = {})`; `httpsUrl(value, label, allowedHosts = null)`; `stableItemId(sourceId, sourceItemId, canonicalUrl)`; `staleness(sourceAt, collectionAnchorAt, staleAfterHours)`; `itemRow(source, values, collectionAnchorAt, limits)`; `topicRow(item, source, topicRanks, assignmentBasis)`; `tagBoundary(character)`; `boundedRaw(value, maximum, label)`; `nextOpening()`; `rawTagValue(block, tag, limits)`; `rawLinkHref(block, limits)`; `rssItems(source, text, collectionAnchorAt, limits)`; `govukItems(source, text, collectionAnchorAt, limits)`; `ownerExportItems(source, text, contract, fixtureMode)`; `mapLimit(values, limit, mapper)` (and 8 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: data-centres-gb data; JSON file 202608271727-pipelinenews-data-centres.json; JSON file search.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Project Binder - File: pipelinenews/discovery/project-binder.mjs (JavaScript, 367 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/discovery/project-binder.mjs#L1-L367 - Page: https://code.globalgrid2050.com/explore-code/s/1015.html#f1 - Synopsis: A JavaScript module in the discovery folder of PipelineNews that works with solar, wind, battery storage (BESS) and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It normalises operator (`normaliseOperator`), builds gazetteer (`buildGazetteer`) and finds aliases (`findAliases`). Register-driven project binder for news items. Its code works with 49.9 MW. - What it does: It calculates solar, wind, battery storage (BESS) and the REPD register. Defines 21 functions or classes, including normalise, nameForms, stripGeneric, distinctiveTokens, developmentKey. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, wind, battery storage (BESS), the REPD register. - Downstream impact: Used directly by 1 file: Project Binder Test (pipelinenews). Reached from 1 other entry point, including PipelineNews BBC RSS Discovery Workflow (pipelinenews). - Signatures: `export normalise(value)`; `export nameForms(name, {segments: useSegments = true} = {})`; `export stripGeneric(name)`; `export distinctiveTokens(alias)`; `export developmentKey(project)`; `export operatorKeys(names)`; `export normaliseOperator(value)`; `export buildGazetteer(projects, {extraAliases = new Map(), operatorAliases = new Map()} = {})`; `export findAliases(text, gazetteer)`; `export bindItem(item, gazetteer)`; `export reportedMw(text)`; `export capacityCheck(text, chosen, members = [chosen])`; `export bindAll(items, gazetteer)`; `add(alias, ref, kind)`; `isDescriptor(token)`; `describesSite(hit)`; `mentions(text, phrase)`; `note(hit, place)`; `known(value)`; `near(a, b)`; `summarise(evidence, gazetteer)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check BBC Enrichment - File: pipelinenews/discovery/tests/202608270844-check-bbc-enrichment.mjs (JavaScript, 142 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/discovery/tests/202608270844-check-bbc-enrichment.mjs#L1-L142 - Page: https://code.globalgrid2050.com/explore-code/s/1015.html#f2 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests live news discovery contract and synthetic bbc pages. - What it achieves (name): It reads JSON (`readJson`) and is built from the fixture fetch helper (`fixtureFetch`). Its name says it checks BBC enrichment. Defines `readJson` and `fixtureFetch`. It reads `data/news-discovery/202608270844-live-news-discovery-contract.json`. - What it does: It tests live news discovery contract and synthetic bbc pages. Defines readJson, fixtureFetch. Uses libraries node:assert/strict, node:fs, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608270844-live-news-discovery-contract.json; JSON file 202608270844-synthetic-bbc-pages.json. - Downstream impact: Used directly by 1 file: PipelineNews Coverage Contract Workflow (pipelinenews). - Signatures: `readJson(relative)`; `fixtureFetch(url, init)`; `get(name)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608270844-live-news-discovery-contract.json; JSON file 202608270844-synthetic-bbc-pages.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Check Live News Candidate - File: pipelinenews/discovery/tests/202608270844-check-live-news-candidate.mjs (JavaScript, 148 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/discovery/tests/202608270844-check-live-news-candidate.mjs#L1-L148 - Page: https://code.globalgrid2050.com/explore-code/s/1015.html#f3 - Synopsis: A JavaScript module in the tests folder of PipelineNews that tests live news discovery contract, bbc live news evidence, solar and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It reads JSON (`readJson`). Its name says it checks live news candidate. Defines `readJson`. It reads `data/news-discovery/202608270844-live-news-discovery-contract.json`. - What it does: It tests live news discovery contract, bbc live news evidence, solar and the REPD register. Defines readJson. Uses libraries node:assert/strict, node:fs, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register. - Inputs & outputs: In: JSON file 202608270844-live-news-discovery-contract.json; JSON file 202608270844-bbc-live-news-evidence.json. - Downstream impact: Used directly by 1 file: PipelineNews Coverage Contract Workflow (pipelinenews). - Signatures: `readJson(relative)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608270844-live-news-discovery-contract.json; JSON file 202608270844-bbc-live-news-evidence.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Datacentre Binder Test - File: pipelinenews/discovery/tests/datacentre-binder.test.mjs (JavaScript, 70 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/discovery/tests/datacentre-binder.test.mjs#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/1016.html#f1 - Synopsis: A test in the tests folder of PipelineNews that checks Datacentre Binder, using SHA-256. It is built from the feature step (`feature`) and the bind step (`bind`). - What it achieves (comment): Tests `DATA_CENTRES` topic binds to released GridAtlas data-centre register site ids. - What it does: It tests its inputs. Defines feature, bind. Uses libraries node:test, node:assert/strict, node:fs, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentre'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: PipelineNews BBC RSS Discovery Workflow (pipelinenews). - Signatures: `feature(id, name, operator, status, precision, coordinates, notes = [])`; `bind(headline, extra = {})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Project Binder Test - File: pipelinenews/discovery/tests/project-binder.test.mjs (JavaScript, 111 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/discovery/tests/project-binder.test.mjs#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/1016.html#f2 - Synopsis: A test in the tests folder of PipelineNews that checks Project Binder. It is built from the bind step (`bind`). - What it achieves (comment): Tests register-driven project binder. Names and refs are real Renewable Energy Planning Database (REPD) Q3 2026 entries. Its code works with 49.2 MW, 1.2 GW and 20 MW. - What it does: It tests solar, battery storage (BESS) and the REPD register. Defines P, bind. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS), the REPD register. - Downstream impact: Used directly by 1 file: PipelineNews BBC RSS Discovery Workflow (pipelinenews). - Signatures: `P(repd_ref, name, technology, county, operator, capacity_mw, status = 'Awaiting Construction')`; `bind(headline, extra = {})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Compile V8 Fast - File: pipelinenews/index/202608270055-compile-v8-fast.mjs (JavaScript, 619 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/index/202608270055-compile-v8-fast.mjs#L1-L619 - Page: https://code.globalgrid2050.com/explore-code/s/1016.html#f3 - Synopsis: A JavaScript module in the index folder of PipelineNews that reads major project news, solar and battery storage (BESS), using SHA-256 from the GridAtlas repository. - What it achieves (name): It reads pinned (`readPinned`), replaces exactly (`replaceExactly`) and searches text (`searchText`). Its name says it compiles fast. Defines `absolute`, `sha256`, `jsonBytes` and 17 more. - What it does: It loads major project news, solar and battery storage (BESS). Defines 21 functions or classes, including absolute, sha256, jsonBytes, readPinned, replaceExactly. Uses libraries node:assert/strict, node:crypto, node:fs, node:fs/promises, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: data source: gridatlas data; JSON file 202608261927-build-manifest-v9-1.json; JSON file 202608261927-release-v9-1.json; JSON file 202608261721-release-v9-6-2.json; JSON file 202608261927-major-project-news-v9-5-1.json; command-line arguments. - Signatures: `absolute(relativePath)`; `sha256(bytes)`; `jsonBytes(value, pretty = false)`; `readPinned(relativePath, encoding = null)`; `replaceExactly(source, from, to, expectedCount = 1)`; `normalise(value)`; `searchText(project)`; `makeDictionary(projects, field)`; `projectCartridge(index)`; `loadProjects(sourceManifest, inputRecords)`; `validateProjects(projects, releaseContract, sourceManifest)`; `compileProjects(projects, cacheIdentity)`; `canonicalItem(item)`; `compileSignals(items)`; `stableArticleId(item)`; `compileNews(news, cacheIdentity, trustedContract)`; `rewriteHtml(template)`; `build()`; `writeOutputs(outRoot, outputs)`; `argument(name)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file 202608261927-build-manifest-v9-1.json; JSON file 202608261927-release-v9-1.json; JSON file 202608261721-release-v9-6-2.json; JSON file 202608261927-major-project-news-v9-5-1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 13 estate files (estate-url 13); used by 0; mentioned by 0 ### Compile V8 Live News - File: pipelinenews/index/202608270844-compile-v8-live-news.mjs (JavaScript, 610 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/index/202608270844-compile-v8-live-news.mjs#L1-L610 - Page: https://code.globalgrid2050.com/explore-code/s/1017.html#f2 - Synopsis: A JavaScript module in the index folder of PipelineNews that reads fast site and fast registry, using SHA-256. It reads pinned (`readPinned`), replaces exactly (`replaceExactly`) and loads authoritative projects (`loadAuthoritativeProjects`). - What it achieves (name): Its name says it compiles live news. Defines `absolute`, `sha256`, `jsonBytes` and 14 more. Its code works with 1 MW. - What it does: It loads fast site and fast registry. Defines 18 functions or classes, including absolute, sha256, jsonBytes, readPinned, replaceExactly. Uses libraries node:assert/strict, node:crypto, node:fs, node:fs/promises, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608270055-v8-fast-site-manifest.json; JSON file 202608270055-v8-fast-registry.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202608270055-8ab1807551bc-v8-fast-search.json; JSON file 202608270055-8ab1807551bc-v8-fast-news.json; JSON file 202608261927-build-manifest-v9-1.json; JSON file 202608270844-live-news-discovery-contract.json; JSON file 202608270844-bbc-live-news-evidence.json. - Signatures: `absolute(relativePath)`; `sha256(bytes)`; `jsonBytes(value, pretty = false)`; `readPinned(relativePath, encoding = null)`; `replaceExactly(source, from, to, expectedCount = 1)`; `stableArticleId(url)`; `projectMap(payload)`; `loadAuthoritativeProjects(sourceManifest, inputRecords)`; `evidenceSnippet(item)`; `itemToRow(item)`; `canonicalRow(row)`; `compileSignals(rows)`; `validateSuccessorRows(rows)`; `rewriteHtml(parentHtml)`; `build()`; `writeOutputs(outRoot, outputs)`; `argument(name)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file 202608270055-v8-fast-site-manifest.json; JSON file 202608270055-v8-fast-registry.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202608270055-8ab1807551bc-v8-fast-search.json; JSON file 202608270055-8ab1807551bc-v8-fast-news.json; JSON file 202608261927-build-manifest-v9-1.json; JSON file 202608270844-live-news-discovery-contract.json; JSON file 202608270844-bbc-live-news-evidence.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Compile V8 News Chronology - File: pipelinenews/index/202608271524-compile-v8-news-chronology.mjs (JavaScript, 475 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/index/202608271524-compile-v8-news-chronology.mjs#L1-L475 - Page: https://code.globalgrid2050.com/explore-code/s/1018.html#f2 - Synopsis: A JavaScript module in the index folder of PipelineNews that reads fast site and fast registry, using SHA-256 from the GridAtlas repository. - What it achieves (name): It replaces exactly (`replaceExactly`), reads pinned (`readPinned`) and parses published (`parsePublished`). Its name says it compiles news chronology. Defines `absolute`, `sha256`, `jsonBytes` and 10 more. - What it does: It loads fast site and fast registry. Defines 14 functions or classes, including absolute, sha256, jsonBytes, replaceExactly, readPinned. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data; JSON file 202608271329-v8-fast-site-manifest.json; JSON file 202608271329-v8-fast-registry.json; JSON file 202608270844-9ab451f4bf19-v8-fast-news.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202608270055-8ab1807551bc-v8-fast-search.json; command-line arguments. - Signatures: `absolute(relativePath)`; `sha256(bytes)`; `jsonBytes(value, pretty = false)`; `replaceExactly(source, from, to, expectedCount = 1)`; `readPinned(relativePath)`; `parsePublished(value, articleId)`; `stableChronology(rows)`; `chronologyViolationIndexes(rows)`; `validateRecords(parentRows, rows, fields)`; `rewriteRuntime(parentSource, cacheIdentity)`; `rewriteHtml(parentSource)`; `build()`; `argument(argv, name)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file 202608271329-v8-fast-site-manifest.json; JSON file 202608271329-v8-fast-registry.json; JSON file 202608270844-9ab451f4bf19-v8-fast-news.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202608270055-8ab1807551bc-v8-fast-search.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Compile V8 Mobile Orientation - File: pipelinenews/index/202608272048-compile-v8-mobile-orientation.mjs (JavaScript, 535 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/index/202608272048-compile-v8-mobile-orientation.mjs#L1-L535 - Page: https://code.globalgrid2050.com/explore-code/s/1019.html#f1 - Synopsis: A JavaScript module in the index folder of PipelineNews that reads fast site, fast registry, metrics and artifact, using SHA-256. - What it achieves (name): It replaces exactly (`replaceExactly`), reads pinned (`readPinned`) and reads declared asset (`readDeclaredAsset`). Its name says it compiles mobile orientation. Defines `absolute`, `sha256`, `jsonBytes` and 10 more. - What it does: It loads fast site, fast registry, metrics and artifact. Defines 14 functions or classes, including absolute, sha256, jsonBytes, replaceExactly, rewriteReleaseNavigation. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608271524-v8-fast-site-manifest.json; JSON file 202608271524-v8-fast-registry.json; JSON file 202608271524-fd2212a8c76d-v8-fast-news.json; JSON file metrics.json; JSON file artifact-manifest.json; JSON file current.json; command-line arguments. - Signatures: `absolute(relativePath)`; `sha256(bytes)`; `jsonBytes(value, pretty = false)`; `replaceExactly(source, from, to, expectedCount = 1)`; `rewriteReleaseNavigation(source)`; `readPinned(relativePath)`; `readDeclaredAsset(relativePath, declared, label)`; `normalisedFailures(failures)`; `validateAuditEvidence(metrics, report, artifactManifest)`; `rewriteRuntime(parentSource, cacheIdentity)`; `rewriteHtml(parentSource)`; `build()`; `argument(argv, name)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file 202608271524-v8-fast-site-manifest.json; JSON file 202608271524-v8-fast-registry.json; JSON file 202608271524-fd2212a8c76d-v8-fast-news.json; JSON file metrics.json; JSON file artifact-manifest.json; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Compile V8 Federated Relationships - File: pipelinenews/index/202608282200-compile-v8-federated-relationships.mjs (JavaScript, 350 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/index/202608282200-compile-v8-federated-relationships.mjs#L1-L350 - Page: https://code.globalgrid2050.com/explore-code/s/1020.html#f1 - Synopsis: A JavaScript module in the index folder of PipelineNews that reads relationship intelligence contract and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It parses args (`parseArgs`), replaces exactly (`replaceExactly`) and reads pinned (`readPinned`). Its name says it compiles federated relationships. Defines `sha256`, `jsonBytes`, `parseArgs` and 8 more. It responds to click events. - What it does: It loads relationship intelligence contract and the REPD register. Defines 12 functions or classes, including sha256, jsonBytes, parseArgs, repositoryPath, outputPath. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file 202608282041-relationship-intelligence-contract.json; command-line arguments. - Signatures: `sha256(bytes)`; `jsonBytes(value, pretty = true)`; `parseArgs(argv)`; `repositoryPath(relative)`; `outputPath(outRoot, relative)`; `replaceExactly(source, needle, replacement)`; `readPinned(relative, pin)`; `record(relative, bytes)`; `compileHtml(parentBytes)`; `compileRuntime(parentBytes, cacheIdentity)`; `bindFederatedRelationships()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file 202608282041-relationship-intelligence-contract.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Compile V8 Sector Intelligence - File: pipelinenews/index/202609010719-compile-v8-sector-intelligence.mjs (JavaScript, 591 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/index/202609010719-compile-v8-sector-intelligence.mjs#L1-L591 - Page: https://code.globalgrid2050.com/explore-code/s/1021.html#f1 - Synopsis: A JavaScript module in the index folder of PipelineNews that reads fast site, fast registry and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): It replaces exactly (`replaceExactly`), replaces regex exactly (`replaceRegexExactly`) and reads pinned (`readPinned`). Its name says it compiles sector intelligence. Defines `sha256`, `jsonBytes`, `repositoryPath` and 12 more. It responds to click events. - What it does: It loads fast site, fast registry and the REPD register. Defines 16 functions or classes, including sha256, jsonBytes, repositoryPath, childPath, assertResolved. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file 202608272048-v8-fast-site-manifest.json; JSON file 202608272048-v8-fast-registry.json; DuckDB queries; command-line arguments. - Signatures: `sha256(bytes)`; `jsonBytes(value, pretty = true)`; `repositoryPath(relativePath)`; `childPath(root, relativePath)`; `assertResolved(value, label)`; `replaceExactly(source, from, to, count = 1)`; `replaceRegexExactly(source, expression, replacement, count = 1)`; `readPinned(relativePath)`; `readCandidateAsset(candidateRoot, relativePath)`; `rewriteRuntime(parentSource, cacheIdentity)`; `bindSectorIntelligence()`; `rewriteHtml(parentSource)`; `validateSectorData(candidateRoot, auditPath, contract)`; `compile(candidateRoot, auditPath)`; `argument(argv, name)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file 202608272048-v8-fast-site-manifest.json; JSON file 202608272048-v8-fast-registry.json; DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Compile Index - File: pipelinenews/index/202609010836-compile-index.mjs (JavaScript, 330 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/index/202609010836-compile-index.mjs#L1-L330 - Page: https://code.globalgrid2050.com/explore-code/s/1022.html#f1 - Synopsis: A JavaScript module in PipelineNews that reads major project news, using SHA-256 from the GlobalGrid2050 and GridAtlas repositories. It reads pinned (`readPinned`), replaces exactly (`replaceExactly`) and compiles manifest (`compileManifest`). - What it achieves (name): Its name says it compiles index. Defines `absolute`, `sha256`, `readPinned` and 9 more. - What it does: It loads major project news. Defines 13 functions or classes, including absolute, sha256, readPinned, replaceExactly, rewriteImports. Uses libraries node:assert/strict, node:crypto, node:fs, node:fs/promises, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: globalgrid2050 data; data source: gridatlas data; JSON file 202608261927-release-v9-1.json; JSON file 202608261737-release-v9-5-1.json; JSON file 202608261721-release-v9-6-2.json; JSON file 202608261927-build-manifest-v9-1.json; JSON file 202608261927-major-project-news-v9-5-1.json; JSON file major_project_news_v5.json. - Downstream impact: Used directly by 1 file: Compare V9 6 2 to Compiled (pipelinenews). - Signatures: `absolute(relativePath)`; `sha256(bytes)`; `readPinned(relativePath, encoding = null)`; `replaceExactly(source, from, to, expectedCount = 1)`; `rewriteImports(source)`; `rewriteModule(sourcePath, source)`; `rewriteHtml(source)`; `compileManifest(inputRecords)`; `validateContractsAndNews(inputRecords)`; `inspect(value)`; `build()`; `writeOutputs(outputs)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data; data source: gridatlas data; JSON file 202608261927-release-v9-1.json; JSON file 202608261737-release-v9-5-1.json; JSON file 202608261721-release-v9-6-2.json; JSON file 202608261927-build-manifest-v9-1.json; JSON file 202608261927-major-project-news-v9-5-1.json; JSON file major_project_news_v5.json]; out []; crs []; voltages [] - Edges: uses 13 estate files (estate-url 13); used by 1; mentioned by 0 ### PipelineNews — News - File: pipelinenews/news/__init__.py (Python, 1 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/news/__init__.py#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/1022.html#f2 - Synopsis: A Python module. - What it achieves (comment): PipelineNews news collection algorithms. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Build RSS Candidate (pipelinenews). Reached from 1 other entry point, including PipelineNews Coverage Contract Workflow (pipelinenews). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### News — BBC - File: pipelinenews/news/bbc/__init__.py (Python, 1 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/news/bbc/__init__.py#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/1022.html#f3 - Synopsis: A Python module in PipelineNews. - What it achieves (comment): BBC RSS collection and article metadata rules. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Build RSS Candidate (pipelinenews). Reached from 1 other entry point, including PipelineNews Coverage Contract Workflow (pipelinenews). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Articles - File: pipelinenews/news/bbc/articles.py (Python, 75 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/news/bbc/articles.py#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1022.html#f4 - Synopsis: A Python module in the bbc folder of PipelineNews that parses feed (`parse_feed`). - What it achieves (comment): It is built from the canonical article helper (`canonical_article`), the merge items helper (`merge_items`) and the recent step (`recent`). Parse, identify and retain BBC article metadata. - What it does: It lists and searches its content. Defines canonical_article, parse_feed, merge_items, recent. Uses libraries datetime, email.utils, re, urllib.parse, xml.etree.ElementTree. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`bbc/articles.py` validates and filters RSS items, canonicalises BBC links, and merges observations with 30-day retention." - Downstream impact: Used directly by 4 files: BBC RSS (pipelinenews); Collector (pipelinenews); Test BBC RSS (pipelinenews); Build RSS Candidate (pipelinenews). Reached from 2 other entry points, including PipelineNews BBC RSS Discovery Workflow (pipelinenews); PipelineNews Coverage Contract Workflow (pipelinenews). - Signatures: `canonical_article(value)`; `parse_feed(body, feed_url, observed_at)`; `merge_items(previous, incoming, now)`; `recent(item)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 4; mentioned by 0 ### Collector - File: pipelinenews/news/bbc/collector.py (Python, 75 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/news/bbc/collector.py#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1022.html#f5 - Synopsis: A Python command-line tool in the bbc folder of PipelineNews that fetches bbc rss and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the no redirect class (`NoRedirect`), the redirect request helper (`redirect_request`) and the collect step (`collect`). Collect bounded BBC RSS metadata and write a single collection receipt. It accepts `--output` and `--previous`. - What it does: It fetches bbc rss and the REPD register. Defines NoRedirect, redirect_request, collect, main. Uses libraries argparse, datetime, hashlib, json, pathlib. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. README: "`bbc/collector.py` fetches feeds, records health and checks the manual inbox." - Inputs & outputs: In: JSON file bbc-rss.json; command-line arguments. - Downstream impact: Used directly by 3 files: BBC RSS (pipelinenews); Test BBC RSS (pipelinenews); Build RSS Candidate (pipelinenews). Reached from 2 other entry points, including PipelineNews BBC RSS Discovery Workflow (pipelinenews); PipelineNews Coverage Contract Workflow (pipelinenews). - Signatures: `class NoRedirect`; `redirect_request(self, *args, **kwargs)`; `collect(previous, now, fetch=None)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file bbc-rss.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (python-relative 2); used by 3; mentioned by 0 ### Sources - File: pipelinenews/news/bbc/sources.py (Python, 17 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/news/bbc/sources.py#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/1022.html#f6 - Synopsis: A Python module in the bbc folder of PipelineNews that works with feed urls (`feed_urls`). - What it achieves (comment): BBC feed inventory and request limits. - What it does: It calculates its inputs. Defines feed_urls. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`bbc/sources.py` defines the feed sections and input limits." - Downstream impact: Used directly by 5 files: BBC RSS (pipelinenews); Articles (pipelinenews); Collector (pipelinenews); Test BBC RSS (pipelinenews); and 1 more. Reached from 2 other entry points, including PipelineNews BBC RSS Discovery Workflow (pipelinenews); PipelineNews Coverage Contract Workflow (pipelinenews). - Signatures: `feed_urls()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Test BBC RSS - File: pipelinenews/news/tests/test_bbc_rss.py (Python, 77 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/news/tests/test_bbc_rss.py#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1022.html#f7 - Synopsis: A test in the tests folder of PipelineNews that checks Articles and Collector. - What it achieves (readme): It is built from the rss tests class (`RssTests`), the fail step (`fail`) and the offline collection helper (`offline_collection`). The README says: `tests/test_bbc_rss.py` covers collection and article boundaries using offline fixtures. - What it does: It tests its inputs. Defines 9 functions or classes, including RssTests, test_feed_item_stays_unmatched, test_retry_and_cross_feed_deduplication, test_missing_date_never_becomes_collection_date, test_unsafe_urls_and_xml_are_rejected. Uses libraries datetime, json, tempfile, unittest, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`tests/test_bbc_rss.py` covers collection and article boundaries using offline fixtures." - Inputs & outputs: In: JSON file previous.json; JSON file probe.json; command-line arguments. - Downstream impact: Used directly by 2 files: PipelineNews BBC RSS Discovery Workflow (pipelinenews); PipelineNews Coverage Contract Workflow (pipelinenews). - Signatures: `class RssTests`; `test_feed_item_stays_unmatched(self)`; `test_retry_and_cross_feed_deduplication(self)`; `test_missing_date_never_becomes_collection_date(self)`; `test_unsafe_urls_and_xml_are_rejected(self)`; `test_feed_failure_retains_last_good_without_freshness_claim(self)`; `fail(url)`; `test_probe_writes_failed_receipt_without_overwriting_previous(self)`; `offline_collection(prior, _now)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file previous.json; JSON file probe.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### V8 Candidate - File: pipelinenews/releases/202608262141-v8-candidate.html (HTML, 164 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/202608262141-v8-candidate.html#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/1023.html#f1 - Published at: https://ventusltd.github.io/pipelinenews/releases/202608262141-v8-candidate.html - Synopsis: A web page in PipelineNews that reads inputs for news, county and sort projects, covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). Published at https://ventusltd.github.io/pipelinenews/releases/202608262141-v8-candidate.html. - What it achieves (comment): UK Renewables Pipeline V8 FOUNDATION CANDIDATE. Its code works with 1 MW. - What it does: It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/202608261927-v7-foundation.css, styles/202608262141-v8-foundation.css, vendor/202608261927-chart-umd.min.js. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/pipelinenews/releases/202608262141-v8-candidate.html. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 21 estate files (link 14, stylesheet 5, script-src 2); used by 0; mentioned by 0 ### PipelineNews Grid Proximity - File: pipelinenews/releases/202608311557-pipelinenews/assets/202608311557-grid-proximity.mjs (JavaScript, 684 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/202608311557-pipelinenews/assets/202608311557-grid-proximity.mjs#L1-L684 - Page: https://code.globalgrid2050.com/explore-code/s/1023.html#f2 - Synopsis: A JavaScript module that marks tabs, renders radius and sort, calculates great-circle distances and angles and reads inputs for gp centre, gp radius and gp target pick. - What it achieves (comment): It marks tabs (`markTabs`), renders radius (`renderRadius`) and renders sort (`renderSort`). Deployment: not-authorised. Its code works with 66 kV and 132 kV. It responds to click and keydown events. - What it does: It draws substations, the REPD register, 66kV and cables. Defines 27 functions or classes, including atlasHaversineKm, boundingBox, esc, km, mw. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, the REPD register, 66kV, cables, 132kV. - Inputs & outputs: In: form fields (user input). Out: canvas drawing. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 132kV, 66kV. - Signatures: `export mountGridProximity({ host, payloadAsset })`; `atlasHaversineKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `boundingBox(lon, lat, km)`; `esc(s)`; `km(v)`; `mw(v)`; `markTabs()`; `ensurePayload()`; `select(code)`; `renderRadius(d)`; `run()`; `renderSort(d)`; `value(r, k)`; `draw()`; `renderConnect(d)`; `lineFeature(from, to, properties)`; `renderMethod(d)`; `injectScopeStyle()`; `paintScope(canvas, row, t)`; `toXY(lon, lat)`; `dx(lon - row.at[0])`; `dy(lat - row.at[1])`; `rr(R * i)` (and 8 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/pipelinenews_intelligence/202609020611/assets/202608311610-grid-proximity.mjs) · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [canvas drawing]; crs [WGS84 / EPSG:4326]; voltages [132kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews GB Electricity Context - File: pipelinenews/releases/202608312337-pipelinenews/assets/202608312337-gb-electricity-context.mjs (JavaScript, 139 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/202608312337-pipelinenews/assets/202608312337-gb-electricity-context.mjs#L1-L139 - Page: https://code.globalgrid2050.com/explore-code/s/1024.html#f2 - Synopsis: A JavaScript module in the assets folder that loads attested product (`loadAttestedProduct`) and validates product (`validateProduct`), covering solar, using SHA-256. It loads attested product (`loadAttestedProduct`) and validates product (`validateProduct`). - What it achieves (name): Defines `invariant`, `escapeHtml`, `digestHex` and 5 more. - What it does: It draws solar. Defines 8 functions or classes, including invariant, escapeHtml, digestHex, loadAttestedProduct, validateProduct. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Signatures: `export mountGbElectricityContext({ host, payloadAsset })`; `invariant(condition, message)`; `escapeHtml(value)`; `digestHex(buffer)`; `loadAttestedProduct(asset)`; `validateProduct(product)`; `number(value, digits = 0)`; `render(host, product)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### V8 Fast Candidate - File: pipelinenews/releases/202609010719-v8-fast-candidate.html (HTML, 191 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/202609010719-v8-fast-candidate.html#L1-L191 - Page: https://code.globalgrid2050.com/explore-code/s/1024.html#f3 - Published at: https://ventusltd.github.io/pipelinenews/releases/202609010719-v8-fast-candidate.html - Synopsis: A web page in PipelineNews that reads inputs for news, county and sort projects, covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). Published at https://ventusltd.github.io/pipelinenews/releases/202609010719-v8-fast-candidate.html. - What it achieves (comment): PipelineNews five-topic sector intelligence candidate. Its code works with 1 MW. - What it does: It draws the REPD register, solar and battery storage (BESS). Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: DuckDB queries; form fields (user input). Out: web page. - Downstream impact: Used directly by 40 files: Resolve GridAtlas Pointer (pipelinenews); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage Versions — GlobalGrid2050 Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/202608291526-globalgrid2050/); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html); and 36 more. Reached from 85 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://ventusltd.github.io/pipelinenews/releases/202609010719-v8-fast-candidate.html. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [DuckDB queries; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 17 estate files (link 14, stylesheet 2, script-src 1); used by 40; mentioned by 0 ### PipelineNews — Releases Page - File: pipelinenews/releases/202609010836-index.html (HTML, 164 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/202609010836-index.html#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/1024.html#f4 - Published at: https://ventusltd.github.io/pipelinenews/releases/202609010836-index.html - Synopsis: A web page covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS), and uses data from the GridAtlas repository. Published at https://ventusltd.github.io/pipelinenews/releases/202609010836-index.html. - What it achieves (comment): UK Renewables Pipeline V9.6.2. Its code works with 1 MW. - What it does: It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/202609010836-v7-foundation.css, vendor/202609010836-chart-umd.min.js. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 1 file: Performance Audit (pipelinenews). Reached from 1 other entry point, including PipelineNews Performance Audit Workflow (pipelinenews). It is itself an entry point, published at https://ventusltd.github.io/pipelinenews/releases/202609010836-index.html. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 20 estate files (link 13, stylesheet 5, script-src 2); used by 1; mentioned by 0 ### Releases — PipelineNews - File: pipelinenews/releases/202611132345-pipelinenews/assets/202608291447-app.mjs (JavaScript, 2082 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/202611132345-pipelinenews/assets/202608291447-app.mjs#L1-L2082 - Page: https://code.globalgrid2050.com/explore-code/s/1025.html#f1 - Synopsis: A JavaScript module in the assets folder covering engine graph, the Renewable Energy Planning Database (REPD) register and postcodes, using EPSG:27700 and SHA-256, and uses data from the ventus-grid-engine repository. - What it achieves (code): It compares text (`compareText`), fetches queue (`FetchQueue`) and hashes JSON (`hashJson`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). Its code works with 33 kV, 1 MW and 11 kV. It responds to click, change and input events. - What it does: It draws engine graph, the REPD register, postcodes and substations. Defines 92 functions or classes, including localityFor, gridFor, substationFor, metricChip, gridActionHtml. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, postcodes, substations, 132kV, 33kV, 11kV. - Inputs & outputs: In: data source: ventus-grid-engine data; JSON file 202608291447-registry.json; JSON file engine-graph.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: Used directly by 1 file: Releases — PipelineNews Page (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202611132345-pipelinenews/). - Signatures: `localityFor(item)`; `gridFor(item)`; `substationFor(item)`; `metricChip({ ready, hit, located, label, unitSuffix, lines })`; `gridActionHtml(item)`; `substationActionHtml(item)`; `compareText(leftText, rightText, direction)`; `class FetchQueue`; `constructor(limit)`; `add(task)`; `drain()`; `escapeHtml(value)`; `normalise(value)`; `invariant(condition, message)`; `arraysEqual(left, right)`; `hashJson(value)`; `fetchImmutable(url, { timeoutMs = 15000 } = {})`; `dictionary(name, index)`; `project(index)`; `localitySearchText(index)`; `searchTextFor(index)`; `compactSearchText(index)`; `formatNumber(value)`; `displayDate(value)`; `updatedTimestamp(index)` (and 15 more) - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; JSON file 202608291447-registry.json; JSON file engine-graph.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [132kV, 33kV, 11kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Releases — PipelineNews Page - File: pipelinenews/releases/202611132345-pipelinenews/index.html (HTML, 406 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/202611132345-pipelinenews/index.html#L1-L406 - Page: https://code.globalgrid2050.com/explore-code/s/1028.html#f1 - Published at: https://ventusltd.github.io/pipelinenews/releases/202611132345-pipelinenews/ - Synopsis: A web page covering the Renewable Energy Planning Database (REPD) register, solar, postcodes and battery storage (BESS), and uses data from the GridAtlas, ventus-grid-engine and data-federation-map-for-GlobalGrid2050-all-repos repositories. Published at https://ventusltd.github.io/pipelinenews/releases/202611132345-pipelinenews/. - What it achieves (comment): Current verified Atlas V9 deep-link successor. Its code works with 1 MW. - What it does: It draws the REPD register, solar, postcodes and battery storage (BESS). Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, postcodes, battery storage (BESS). - Inputs & outputs: In: DuckDB queries; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/pipelinenews/releases/202611132345-pipelinenews/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [DuckDB queries; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 19 estate files (link 16, stylesheet 2, script-src 1); used by 0; mentioned by 0 ### JavaScript State - File: pipelinenews/releases/javascript/202608261927-state.js (JavaScript, 23 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/javascript/202608261927-state.js#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1028.html#f2 - Synopsis: A JavaScript module in PipelineNews covering major project news, solar and battery storage (BESS). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: JSON file 202608261927-major-project-news-v9-5-1.json. - Downstream impact: Used directly by 5 files: JavaScript Projects V8 Windowed (pipelinenews); JavaScript Projects V8 Foundation (pipelinenews); JavaScript Newspaper V9 5 1 (pipelinenews); JavaScript Newspaper V9 6 2 (pipelinenews); and 1 more. Reached from 6 other entry points, including PipelineNews — Releases Page (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202609010836-index.html); V8 Candidate (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202608262141-v8-candidate.html); PipelineNews Performance Audit Workflow (pipelinenews). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608261927-major-project-news-v9-5-1.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### JavaScript App V8 Candidate - File: pipelinenews/releases/javascript/202608262115-app-v8-candidate.js (JavaScript, 28 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/javascript/202608262115-app-v8-candidate.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1028.html#f3 - Synopsis: A JavaScript module in PipelineNews. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 0; mentioned by 0 ### JavaScript Projects V8 Windowed - File: pipelinenews/releases/javascript/202608262115-projects-v8-windowed.js (JavaScript, 328 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/javascript/202608262115-projects-v8-windowed.js#L1-L328 - Page: https://code.globalgrid2050.com/explore-code/s/1029.html#f1 - Synopsis: A JavaScript module in PipelineNews that compares project updates v9 (`compareProjectUpdatesV9_5_1`), updates sort header (`updateSortHeader`), renders table (`renderTable`) and reads inputs for county and sort projects, using EPSG:27700 and SHA-256. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_5_1`), updates sort header (`updateSortHeader`) and renders table (`renderTable`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 20 functions or classes, including atlasUrlV9_5_1, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_5_1, updateSortHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: JavaScript App V8 Candidate (pipelinenews). - Signatures: `export atlasUrlV9_5_1(project)`; `export compareProjectUpdatesV9_5_1(left, right, direction = "desc")`; `export loadProjectsV9_5_1()`; `export refreshProjectsV9_5_1()`; `export bindProjectControlsV9_5_1()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/uk_renewables_pipeline/v9.5.1/scripts/plugins/projects-v9-5-1.js) · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 6, estate-url 1); used by 1; mentioned by 0 ### JavaScript App V8 Foundation - File: pipelinenews/releases/javascript/202608262141-app-v8-foundation.js (JavaScript, 28 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/javascript/202608262141-app-v8-foundation.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1029.html#f2 - Synopsis: A JavaScript module in PipelineNews. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: V8 Candidate (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202608262141-v8-candidate.html). - Signatures: `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### JavaScript Projects V8 Foundation - File: pipelinenews/releases/javascript/202608262141-projects-v8-foundation.js (JavaScript, 351 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/javascript/202608262141-projects-v8-foundation.js#L1-L351 - Page: https://code.globalgrid2050.com/explore-code/s/1030.html#f1 - Synopsis: A JavaScript module in PipelineNews that compares project updates v9 (`compareProjectUpdatesV9_5_1`), updates sort header (`updateSortHeader`), renders table (`renderTable`) and reads inputs for county and sort projects, using EPSG:27700 and SHA-256. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_5_1`), updates sort header (`updateSortHeader`) and renders table (`renderTable`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 21 functions or classes, including atlasUrlV9_5_1, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_5_1, updateSortHeader. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: JavaScript App V8 Foundation (pipelinenews). Reached from 1 other entry point, including V8 Candidate (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202608262141-v8-candidate.html). - Signatures: `export atlasUrlV9_5_1(project)`; `export compareProjectUpdatesV9_5_1(left, right, direction = "desc")`; `export loadProjectsV9_5_1()`; `export refreshProjectsV9_5_1()`; `export bindProjectControlsV9_5_1()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `renderTable()`; `updateWindowControls()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 7 estate files (import 6, estate-url 1); used by 1; mentioned by 0 ### JavaScript Sector Intelligence - File: pipelinenews/releases/javascript/202609010719-sector-intelligence.js (JavaScript, 223 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/javascript/202609010719-sector-intelligence.js#L1-L223 - Page: https://code.globalgrid2050.com/explore-code/s/1030.html#f2 - Synopsis: A JavaScript module in PipelineNews that validates asset (`validateAsset`), decodes payload (`decodePayload`) and loads payload (`loadPayload`), using SHA-256. It validates asset (`validateAsset`), decodes payload (`decodePayload`) and loads payload (`loadPayload`). - What it achieves (name): Defines `element`, `installStyles`, `sha256Hex` and 6 more. It responds to click events. - What it does: It draws its content. Defines 9 functions or classes, including element, installStyles, sha256Hex, validateAsset, decodePayload. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: DuckDB queries. - Signatures: `export mountSectorIntelligence({ host, payloadAsset })`; `element(tag, attributes = {}, text = null)`; `installStyles()`; `sha256Hex(bytes)`; `validateAsset(asset)`; `decodePayload(payload)`; `loadPayload(asset)`; `renderRows(container, rows)`; `select(topic)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### JavaScript V8 Fast Runtime - File: pipelinenews/releases/javascript/202609010719-v8-fast-runtime.js (JavaScript, 942 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/javascript/202609010719-v8-fast-runtime.js#L1-L942 - Page: https://code.globalgrid2050.com/explore-code/s/1031.html#f1 - Synopsis: A JavaScript module in PipelineNews that fetches queue (`FetchQueue`) and immutable (`fetchImmutable`), renders table (`renderTable`) and reads inputs for county and sort projects (units: MW), using EPSG:27700 and SHA-256. - What it achieves (code): It fetches queue (`FetchQueue`), hashes JSON (`hashJson`) and fetches immutable (`fetchImmutable`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click, change and input events. - What it does: It draws the REPD register, battery storage (BESS), solar and wind. Defines 50 functions or classes, including FetchQueue, escapeHtml, normalise, invariant, arraysEqual. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, battery storage (BESS), solar, wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: V8 Fast Candidate (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202609010719-v8-fast-candidate.html). Reached from 125 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html). - Signatures: `class FetchQueue`; `constructor(limit)`; `add(task)`; `drain()`; `escapeHtml(value)`; `normalise(value)`; `invariant(condition, message)`; `arraysEqual(left, right)`; `hashJson(value)`; `fetchImmutable(url, { timeoutMs = 15000 } = {})`; `dictionary(name, index)`; `project(index)`; `compactSearchText(index)`; `formatNumber(value)`; `displayDate(value)`; `updatedTimestamp(index)`; `atlasUrl(item)`; `signalFor(item)`; `relationshipSummary(item)`; `rowHtml(index)`; `ensureWindowControls()`; `renderTable()`; `updateSortHeader()`; `updateChart(chart, value, maximum)`; `updateGauges(summary)` (and 15 more) - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 1 ### JavaScript App V9 6 2 - File: pipelinenews/releases/javascript/202609010836-app-v9-6-2.js (JavaScript, 28 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/javascript/202609010836-app-v9-6-2.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1032.html#f2 - Synopsis: A JavaScript module in PipelineNews. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: PipelineNews — Releases Page (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202609010836-index.html). Reached from 2 other entry points, including PipelineNews Performance Audit Workflow (pipelinenews); Performance Audit (pipelinenews). - Signatures: `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### JavaScript Canonical Projects V9 1 - File: pipelinenews/releases/javascript/202609010836-canonical-projects-v9-1.js (JavaScript, 75 lines) · role render · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/javascript/202609010836-canonical-projects-v9-1.js#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1032.html#f3 - Synopsis: A JavaScript module in PipelineNews that fetches solar, battery storage (BESS) and the Renewable Energy Planning Database (REPD) register. It fetches JSON (`fetchJson`) and loads canonical projects v9 (`loadCanonicalProjectsV9_1`). - What it achieves (name): Defines `invariant`, `round2`, `fetchJson` and 1 more. Its code works with 1 MW. - What it does: It fetches solar, battery storage (BESS) and the REPD register. Defines invariant, round2, fetchJson, loadCanonicalProjectsV9_1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS), the REPD register. - Inputs & outputs: In: JSON file 202608261927-release-v9-1.json; JSON file 202609010836-build-manifest-v9-1.json. - Downstream impact: Used directly by 1 file: JavaScript Canonical Projects V9 5 1 (pipelinenews). Reached from 6 other entry points, including PipelineNews — Releases Page (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202609010836-index.html); V8 Candidate (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202608262141-v8-candidate.html); PipelineNews Performance Audit Workflow (pipelinenews). - Signatures: `export loadCanonicalProjectsV9_1()`; `invariant(condition, message)`; `round2(value)`; `fetchJson(path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608261927-release-v9-1.json; JSON file 202609010836-build-manifest-v9-1.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### JavaScript Canonical Projects V9 5 1 - File: pipelinenews/releases/javascript/202609010836-canonical-projects-v9-5-1.js (JavaScript, 33 lines) · role render · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/javascript/202609010836-canonical-projects-v9-5-1.js#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1032.html#f4 - Synopsis: A JavaScript module in PipelineNews that fetches release (`fetchRelease`) (units: MW). It fetches release (`fetchRelease`) and loads canonical projects v9 (`loadCanonicalProjectsV9_5_1`). - What it achieves (name): Defines `invariant`, `fetchRelease` and `loadCanonicalProjectsV9_5_1`. - What it does: It fetches data. Defines invariant, fetchRelease, loadCanonicalProjectsV9_5_1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608261737-release-v9-5-1.json. - Downstream impact: Used directly by 3 files: JavaScript Projects V8 Windowed (pipelinenews); JavaScript Projects V8 Foundation (pipelinenews); JavaScript Projects V9 5 1 (pipelinenews). Reached from 6 other entry points, including PipelineNews — Releases Page (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202609010836-index.html); V8 Candidate (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202608262141-v8-candidate.html); PipelineNews Performance Audit Workflow (pipelinenews). - Signatures: `export loadCanonicalProjectsV9_5_1()`; `invariant(condition, message)`; `fetchRelease()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608261737-release-v9-5-1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### JavaScript News Regions - File: pipelinenews/releases/javascript/202609010836-news-regions.js (JavaScript, 87 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/javascript/202609010836-news-regions.js#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/1032.html#f5 - Synopsis: A JavaScript module in PipelineNews that works with solar and battery storage (BESS). It classifies international v9 (`classifyInternationalV9_6_2`) and is built from the distinctive project tokens helper (`distinctiveProjectTokens`). - What it achieves (name): Defines `distinctiveProjectTokens`, `ukEvidenceV9_6_2`, `technology` and 2 more. - What it does: It calculates solar and battery storage (BESS). Defines distinctiveProjectTokens, ukEvidenceV9_6_2, technology, classifyInternationalV9_6_2, regionalCountsV9_6_2. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: JavaScript Newspaper V9 6 2 (pipelinenews). Reached from 6 other entry points, including PipelineNews — Releases Page (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202609010836-index.html); V8 Candidate (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202608262141-v8-candidate.html); PipelineNews Performance Audit Workflow (pipelinenews). - Signatures: `export ukEvidenceV9_6_2(item)`; `export classifyInternationalV9_6_2(item)`; `export regionalCountsV9_6_2(items)`; `distinctiveProjectTokens(item)`; `technology(headline)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### JavaScript Newspaper V9 5 1 - File: pipelinenews/releases/javascript/202609010836-newspaper-v9-5-1.js (JavaScript, 162 lines) · role render · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/javascript/202609010836-newspaper-v9-5-1.js#L1-L162 - Page: https://code.globalgrid2050.com/explore-code/s/1032.html#f6 - Synopsis: A JavaScript module in PipelineNews that draws major project news, battery storage (BESS), the Renewable Energy Planning Database (REPD) register and solar. - What it achieves (name): It refreshes projects (`refreshProjects`), indexes news (`indexNewsItems`) and draws news v9 (`drawNewsV9_5_1`). Defines `refreshProjects`, `canonicalItem`, `indexNewsItems` and 11 more. - What it does: It draws major project news, battery storage (BESS), the REPD register and solar. Defines 14 functions or classes, including refreshProjects, canonicalItem, indexNewsItems, signalLabel, signalForProjectV9_5_1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: battery storage (BESS), the REPD register, solar. - Inputs & outputs: In: JSON file 202608261927-major-project-news-v9-5-1.json. - Downstream impact: Used directly by 4 files: JavaScript Projects V8 Windowed (pipelinenews); JavaScript Projects V8 Foundation (pipelinenews); JavaScript Newspaper V9 6 2 (pipelinenews); JavaScript Projects V9 5 1 (pipelinenews). Reached from 6 other entry points, including PipelineNews — Releases Page (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202609010836-index.html); V8 Candidate (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202608262141-v8-candidate.html); PipelineNews Performance Audit Workflow (pipelinenews). - Signatures: `export signalForProjectV9_5_1(project)`; `export drawNewsV9_5_1()`; `export loadNewsV9_5_1()`; `export bindNewspaperV9_5_1(onNewsLoaded)`; `refreshProjects()`; `canonicalItem(item)`; `indexNewsItems(items)`; `signalLabel(item)`; `itemTechnology(item)`; `newsMatches(item)`; `validPayload(payload)`; `payloadTime(payload)`; `fetchPayload(label, url)`; `renderNews(payload, label)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608261927-major-project-news-v9-5-1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 4; mentioned by 0 ### JavaScript Newspaper V9 6 2 - File: pipelinenews/releases/javascript/202609010836-newspaper-v9-6-2.js (JavaScript, 77 lines) · role render · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/javascript/202609010836-newspaper-v9-6-2.js#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1033.html#f1 - Synopsis: A JavaScript module in PipelineNews that queries matches (`queryMatches`) and draws regional (`drawRegional`) and news v9 (`drawNewsV9_6_2`), covering solar and battery storage (BESS). - What it achieves (name): It queries matches (`queryMatches`), draws regional (`drawRegional`) and draws news v9 (`drawNewsV9_6_2`). Defines `queryMatches`, `regionalRows`, `drawRegional` and 3 more. - What it does: It draws solar and battery storage (BESS). Defines 6 functions or classes, including queryMatches, regionalRows, drawRegional, drawNewsV9_6_2, loadNewsV9_6_2. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 3 files: JavaScript App V8 Candidate (pipelinenews); JavaScript App V8 Foundation (pipelinenews); JavaScript App V9 6 2 (pipelinenews). Reached from 4 other entry points, including PipelineNews — Releases Page (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202609010836-index.html); V8 Candidate (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202608262141-v8-candidate.html); PipelineNews Performance Audit Workflow (pipelinenews). - Signatures: `export drawNewsV9_6_2()`; `export loadNewsV9_6_2()`; `export bindNewspaperV9_6_2(onNewsLoaded)`; `queryMatches(item)`; `regionalRows()`; `drawRegional()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 3; mentioned by 0 ### JavaScript Projects V9 5 1 - File: pipelinenews/releases/javascript/202609010836-projects-v9-5-1.js (JavaScript, 336 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/releases/javascript/202609010836-projects-v9-5-1.js#L1-L336 - Page: https://code.globalgrid2050.com/explore-code/s/1033.html#f2 - Synopsis: A JavaScript module in PipelineNews covering the Renewable Energy Planning Database (REPD) register, solar, battery storage (BESS) and wind, using EPSG:27700 and SHA-256, and uses data from the GridAtlas repository. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_5_1`), updates sort header (`updateSortHeader`) and renders table (`renderTable`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 21 functions or classes, including gridAnalyticsEngineV1, atlasUrlV9_5_1, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_5_1. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: JavaScript App V9 6 2 (pipelinenews). Reached from 3 other entry points, including PipelineNews — Releases Page (pipelinenews, https://ventusltd.github.io/pipelinenews/releases/202609010836-index.html); PipelineNews Performance Audit Workflow (pipelinenews); Performance Audit (pipelinenews). - Signatures: `export gridAnalyticsEngineV1(project)`; `export atlasUrlV9_5_1(project)`; `export compareProjectUpdatesV9_5_1(left, right, direction = "desc")`; `export loadProjectsV9_5_1()`; `export refreshProjectsV9_5_1()`; `export bindProjectControlsV9_5_1()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 6 estate files (import 6); used by 1; mentioned by 1 ### Mobile CSS Repair - File: pipelinenews/repairs/202608271906-mobile-css-repair.css (CSS, 112 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/repairs/202608271906-mobile-css-repair.css#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/1033.html#f3 - Synopsis: A style sheet in the repairs folder of PipelineNews. - What it achieves (comment): PipelineNews quarantine-only mobile CSS repair. Measured source: comparator evidence. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Wider Fleet Deep Link - File: pipelinenews/tools/intelligence/202609030132-verify-wider-fleet-deep-link.mjs (JavaScript, 245 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/202609030132-verify-wider-fleet-deep-link.mjs#L1-L245 - Page: https://code.globalgrid2050.com/explore-code/s/1034.html#f1 - Synopsis: A JavaScript module in the intelligence folder of PipelineNews that reads the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It is built from the check step (`check`), the exists step (`exists`) and the identity step (`identity`). The WIDER FLEET deep link, and the payload behind it. - What it does: It loads the REPD register. Defines check, exists, identity, report. Uses libraries node:fs/promises, node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file 202608291447-registry.json; JSON file current.json; command-line arguments. - Signatures: `check(name, condition, detail = '')`; `exists(path)`; `identity(r)`; `report()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file 202608291447-registry.json; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Sector Ledger Relevance Proof - File: pipelinenews/tools/intelligence/audits/202609010015-sector-ledger-relevance-proof.mjs (JavaScript, 94 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/audits/202609010015-sector-ledger-relevance-proof.mjs#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/1034.html#f2 - Synopsis: A JavaScript module in the audits folder of PipelineNews that reads sector intelligence contract, sector intelligence rss and solar. - What it achieves (name): It reads `data/news-discovery/202608272130-sector-intelligence-contract.json`. - What it does: It loads sector intelligence contract, sector intelligence rss and solar. Uses libraries node:assert/strict, node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file 202608272130-sector-intelligence-contract.json; JSON file 202608272130-sector-intelligence-rss.json; JSON file 202608271524-fd2212a8c76d-v8-fast-news.json; JSON file 202608272130-sector-intelligence.json. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608272130-sector-intelligence-contract.json; JSON file 202608272130-sector-intelligence-rss.json; JSON file 202608271524-fd2212a8c76d-v8-fast-news.json; JSON file 202608272130-sector-intelligence.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Sector Topic Relevance Audit - File: pipelinenews/tools/intelligence/audits/sector_topic_relevance_audit.mjs (JavaScript, 74 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/audits/sector_topic_relevance_audit.mjs#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1034.html#f3 - Synopsis: A JavaScript module in the audits folder of PipelineNews that reads sector intelligence and solar. - What it does: It loads sector intelligence and solar. Uses libraries node:assert/strict, node:fs/promises, node:path, node:process. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file 202608272130-sector-intelligence.json; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608272130-sector-intelligence.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Build BBC RSS Package - File: pipelinenews/tools/intelligence/build-bbc-rss-package.mjs (JavaScript, 39 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/build-bbc-rss-package.mjs#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/1034.html#f4 - Synopsis: A JavaScript module in the intelligence folder of PipelineNews that reads cearn project evidence, project register and cartridge, using SHA-256. - What it achieves (name): Its name says it builds BBC RSS package. Defines `source`. It writes `/cartridge.json`. - What it does: It loads cearn project evidence, project register and cartridge. Defines source. Uses libraries node:fs, node:child_process, node:crypto. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file bbc-rss.json; JSON file 202609060208-cearn-project-evidence.json; JSON file project-register.json; command-line arguments. Out: JSON file cartridge.json. - Signatures: `source(path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file bbc-rss.json; JSON file 202609060208-cearn-project-evidence.json; JSON file project-register.json; command-line arguments]; out [JSON file cartridge.json]; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 0; mentioned by 0 ### Build Provisional Package - File: pipelinenews/tools/intelligence/build-provisional-package.mjs (JavaScript, 30 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/build-provisional-package.mjs#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/1034.html#f5 - Synopsis: A JavaScript module in the intelligence folder of PipelineNews covering project register, cartridge and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): Its name says it builds provisional package. Defines `blob`. It writes `/cartridge.json`. - What it does: Defines blob. Uses libraries node:fs, node:child_process. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Out: JSON file project-register.json; JSON file cartridge.json. - Signatures: `blob(path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file project-register.json; JSON file cartridge.json]; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 0; mentioned by 0 ### BBC RSS Pipeline Model - File: pipelinenews/tools/intelligence/cartridges/bbc-rss-intelligence/assets/{GEN}-bbc-rss-pipeline-model.mjs (JavaScript, 73 lines) · role energy-data · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/bbc-rss-intelligence/assets/%7BGEN%7D-bbc-rss-pipeline-model.mjs#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/1034.html#f6 - Synopsis: A JavaScript module in the assets folder of PipelineNews that works with the Renewable Energy Planning Database (REPD) register. It builds rss view (`buildRssView`) and refreshes rss (`refreshRss`). - What it achieves (name): Defines `articleIdentity`, `projectObservation`, `buildRssView` and 1 more. - What it does: It calculates the REPD register. Defines articleIdentity, projectObservation, buildRssView, refreshRss. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file bbc-rss.json. - Downstream impact: Used directly by 1 file: BBC RSS Pipeline (pipelinenews). - Signatures: `export articleIdentity(value)`; `export projectObservation(item, projects = [], evidence = [], official = [])`; `export buildRssView(payload, {now=Date.now(), projects=[], evidence=[], official=[], refreshError=null}={})`; `export refreshRss(previous, {fetcher=fetch, ...options}={})` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of pipelinenews/cartridges/bbc-rss-pipeline-model.mjs) · essay_status: readme_derived - data_contracts: in [JSON file bbc-rss.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### BBC RSS Pipeline - File: pipelinenews/tools/intelligence/cartridges/bbc-rss-intelligence/assets/{GEN}-bbc-rss-pipeline.mjs (JavaScript, 56 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/bbc-rss-intelligence/assets/%7BGEN%7D-bbc-rss-pipeline.mjs#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1034.html#f7 - Synopsis: A JavaScript module in the assets folder of PipelineNews that works with UK time (`ukTime`), covering the Renewable Energy Planning Database (REPD) register. - What it achieves (name): It is built from the UK time helper (`ukTime`), the options step (`options`) and the render step (`render`). Defines `mount`, `ukTime`, `create` and 3 more. It responds to click events. - What it does: It draws the REPD register. Defines 6 functions or classes, including mount, ukTime, create, options, render. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Signatures: `export mount({host,payload,evidence=[],projects=[],official=[],fetcher=fetch})`; `ukTime(value)`; `create(tag,text)`; `options()`; `render(view)`; `update()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of pipelinenews/cartridges/bbc-rss-pipeline-panel.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Make Cartridge - File: pipelinenews/tools/intelligence/cartridges/capacity-range-filter/make_cartridge.py (Python, 383 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/capacity-range-filter/make_cartridge.py#L1-L383 - Page: https://code.globalgrid2050.com/explore-code/s/1035.html#f1 - Synopsis: A Python command-line tool in the capacity range filter folder of PipelineNews that generates `cartridge.json` for the project-size range filter. - What it achieves (name): Its name says it makes cartridge. Defines `read` and `anchor`. Its code works with 1 MW, 12.3 MW and 40 MW. It accepts `--parent`. - What it does: Defines read, anchor, main. Uses libraries argparse, io, json, os, sys. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file cartridge.json; form fields (user input); command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `read(path)`; `anchor(text, needle, label)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json; form fields (user input); command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Proof - File: pipelinenews/tools/intelligence/cartridges/capacity-range-filter/proof.mjs (JavaScript, 255 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/capacity-range-filter/proof.mjs#L1-L255 - Page: https://code.globalgrid2050.com/explore-code/s/1035.html#f2 - Synopsis: A JavaScript module in the capacity range filter folder of PipelineNews that fetches solar. - What it achieves (comment): It sets band (`setBand`) and is built from the check step (`check`) and the rows of helper (`rowsOf`). Capacity-range-filter render proof. Its code works with 40 MW, 1 MW and 5000 MW. - What it does: It fetches solar. Defines 7 functions or classes, including check, $, rowsOf, refOf, inBand. Uses libraries node:fs/promises, node:path, node:url, node:crypto, jsdom. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; command-line arguments. - Signatures: `check(label, condition, detail = "")`; `$(sel)`; `rowsOf()`; `refOf(row)`; `inBand(lo, hi)`; `reportedCount()`; `setBand(lo, hi)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GB Electricity Context - File: pipelinenews/tools/intelligence/cartridges/gb-electricity-context/assets/{GEN}-gb-electricity-context.mjs (JavaScript, 144 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/gb-electricity-context/assets/%7BGEN%7D-gb-electricity-context.mjs#L1-L144 - Page: https://code.globalgrid2050.com/explore-code/s/1036.html#f1 - Synopsis: A JavaScript module in the assets folder of PipelineNews that loads attested product (`loadAttestedProduct`) and validates product (`validateProduct`), covering solar, using SHA-256. - What it achieves (name): It loads attested product (`loadAttestedProduct`) and validates product (`validateProduct`). Defines `invariant`, `escapeHtml`, `digestHex` and 6 more. - What it does: It draws solar. Defines 9 functions or classes, including invariant, escapeHtml, digestHex, loadAttestedProduct, validateProduct. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Signatures: `export mountGbElectricityContext({ host, payloadAsset })`; `invariant(condition, message)`; `escapeHtml(value)`; `digestHex(buffer)`; `loadAttestedProduct(asset)`; `validateProduct(product)`; `number(value, digits = 0)`; `money(value)`; `render(host, product)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/pipelinenews_intelligence/202608312339/assets/202608312339-gb-electricity-context.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Proof - File: pipelinenews/tools/intelligence/cartridges/gb-electricity-context/proof.mjs (JavaScript, 129 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/gb-electricity-context/proof.mjs#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/1036.html#f2 - Synopsis: A JavaScript module in the GB electricity context folder of PipelineNews that makes host (`makeHost`), covering solar, using SHA-256. It makes host (`makeHost`). - What it achieves (comment): Render and integrity proof for the GB electricity context cartridge. - What it does: It draws solar. Defines makeHost. Uses libraries node:assert/strict, node:crypto, node:fs/promises, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: command-line arguments. - Signatures: `createElement(tagName)`; `makeHost()`; `replaceChildren(...children)`; `appendChild(child)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Sync Payload - File: pipelinenews/tools/intelligence/cartridges/gb-electricity-context/sync_payload.py (Python, 49 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/gb-electricity-context/sync_payload.py#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1036.html#f3 - Synopsis: A Python command-line tool in the GB electricity context folder of PipelineNews that reads price decade rollup and solar. - What it achieves (comment): Pin the browser-sized GB price rollup owned by data-GB-electricity. It accepts `--source`. - What it does: It loads price decade rollup and solar. Defines main. Uses libraries argparse, io, json, os, shutil. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file price-decade-rollup.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file price-decade-rollup.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Payload - File: pipelinenews/tools/intelligence/cartridges/grid-actions-inline/build_payload.py (Python, 284 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/grid-actions-inline/build_payload.py#L1-L284 - Page: https://code.globalgrid2050.com/explore-code/s/1036.html#f4 - Synopsis: A Python command-line tool in the grid actions inline folder of PipelineNews that works with tolerance km and voltages kV and calculates planar distances, covering grid substations. - What it achieves (comment): It is built from the tolerance km helper (`tolerance_km`), the voltages kV helper (`voltages_kv`) and the centre step (`centre`). Build the substation payload: nearest 33kV+ substation per project. Its code works with 33 kV, 11 kV and 40 MW. It accepts `--gen` and `--source`. - What it does: Defines 6 functions or classes, including tolerance_km, voltages_kv, centre, latest_grid_proximity, main. Uses libraries argparse, glob, hashlib, io, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 33kV, transformers, 11kV. - Inputs & outputs: In: GeoJSON file grid_substations.geojson; command-line arguments. Voltage levels named: 33kV, 11kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `tolerance_km(latitudes)`; `voltages_kv(props)`; `centre(geometry)`; `latest_grid_proximity()`; `main()`; `measure(i, lon=lon, lat=lat)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_substations.geojson; command-line arguments]; out []; crs []; voltages [33kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Make Cartridge - File: pipelinenews/tools/intelligence/cartridges/grid-actions-inline/make_cartridge.py (Python, 340 lines) · role ingest · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/grid-actions-inline/make_cartridge.py#L1-L340 - Page: https://code.globalgrid2050.com/explore-code/s/1037.html#f1 - Synopsis: A Python command-line tool in the grid actions inline folder of PipelineNews covering substations, 33kV, cables and 11kV, using SHA-256. - What it achieves (comment): It is built from the read step (`read`) and the anchor step (`anchor`). Generate `cartridge.json`: move GRID out of the table and into ACTIONS, alongside a new nearest 33kV+ substation distance. Its code works with 33 kV, 11 kV and 40 MW. It accepts `--parent`. - What it does: It lists and searches substations, 33kV, cables and 11kV. Defines read, anchor, main. Uses libraries argparse, io, json, os, sys. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 33kV, cables, 11kV. - Inputs & outputs: In: JSON file cartridge.json; command-line arguments. Voltage levels named: 33kV, 11kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `read(path)`; `anchor(text, needle, label)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json; command-line arguments]; out []; crs []; voltages [33kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Proof - File: pipelinenews/tools/intelligence/cartridges/grid-actions-inline/proof.mjs (JavaScript, 189 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/grid-actions-inline/proof.mjs#L1-L189 - Page: https://code.globalgrid2050.com/explore-code/s/1037.html#f2 - Synopsis: A JavaScript module in the grid actions inline folder of PipelineNews that fetches substations, 33kV, the Renewable Energy Planning Database (REPD) register and cables. - What it achieves (comment): It is built from the check step (`check`), the rows of helper (`rowsOf`) and the ref of helper (`refOf`). Grid-actions-inline render proof. Its code works with 33 kV and 11 kV. - What it does: It fetches substations, 33kV, the REPD register and cables. Defines 6 functions or classes, including check, $, rowsOf, refOf, kmOf. Uses libraries node:fs/promises, node:path, node:url, node:crypto, jsdom. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 33kV, the REPD register, cables, 11kV. - Inputs & outputs: In: JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; command-line arguments. Voltage levels named: 33kV, 11kV. - Signatures: `check(label, ok, detail = "")`; `$(s)`; `rowsOf()`; `refOf(r)`; `kmOf(row)`; `expected(direction)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; command-line arguments]; out []; crs []; voltages [33kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Payload - File: pipelinenews/tools/intelligence/cartridges/grid-distance-column/build_payload.py (Python, 329 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/grid-distance-column/build_payload.py#L1-L329 - Page: https://code.globalgrid2050.com/explore-code/s/1038.html#f1 - Synopsis: A Python command-line tool in the grid distance column folder of PipelineNews that works with tolerance km and latest grid proximity and calculates planar distances, covering substations. - What it achieves (comment): It is built from the tolerance km helper (`tolerance_km`), the band for helper (`band_for`) and the latest grid proximity helper (`latest_grid_proximity`). Build the grid-distance payload: one number per project, for the table column. Its code works with 11 kV and 5 MW. It accepts `--gen` and `--source`. - What it does: Defines tolerance_km, band_for, latest_grid_proximity, round_km, main. Uses libraries argparse, glob, hashlib, io, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 11kV. - Inputs & outputs: In: command-line arguments. Voltage levels named: 11kV. - Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `tolerance_km(latitudes)`; `band_for(km)`; `latest_grid_proximity()`; `round_km(v)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [11kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Make Cartridge - File: pipelinenews/tools/intelligence/cartridges/grid-distance-column/make_cartridge.py (Python, 346 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/grid-distance-column/make_cartridge.py#L1-L346 - Page: https://code.globalgrid2050.com/explore-code/s/1038.html#f2 - Synopsis: A Python command-line tool in the grid distance column folder of PipelineNews covering postcodes and cables, using SHA-256 and haversine. - What it achieves (comment): It is built from the read step (`read`) and the anchor step (`anchor`). Generate `cartridge.json` for the grid-distance column. Its code works with 11 kV and 5 MW. It accepts `--parent`. - What it does: It lists and searches postcodes and cables. Defines read, anchor, main. Uses libraries argparse, io, json, os, sys. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, cables, 11kV. - Inputs & outputs: In: JSON file cartridge.json; command-line arguments. Voltage levels named: 11kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `read(path)`; `anchor(text, needle, label)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json; command-line arguments]; out []; crs []; voltages [11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Proof - File: pipelinenews/tools/intelligence/cartridges/grid-distance-column/proof.mjs (JavaScript, 312 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/grid-distance-column/proof.mjs#L1-L312 - Page: https://code.globalgrid2050.com/explore-code/s/1039.html#f1 - Synopsis: A JavaScript module in the grid distance column folder of PipelineNews that fetches the Renewable Energy Planning Database (REPD) register, postcodes and cables. - What it achieves (comment): It is built from the check step (`check`), the rows of helper (`rowsOf`) and the cells of helper (`cellsOf`). Grid-distance-column render proof. - What it does: It fetches the REPD register, postcodes and cables. Defines 8 functions or classes, including check, $, rowsOf, cellsOf, refOf. Uses libraries node:fs/promises, node:path, node:url, node:crypto, jsdom. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, postcodes, cables. - Inputs & outputs: In: JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202608291447-registry.json; command-line arguments. - Signatures: `check(label, condition, detail = "")`; `$(sel)`; `rowsOf()`; `cellsOf(tr)`; `refOf(row)`; `kmOf(row)`; `failRow(await readFile(join(root, "assets", "202608291447-app.mjs"), "utf8"))`; `clickAndRead(selector)`; `expected(direction)`; `proximityFile(await readFile(join(root, "data", "202608291447-registry.json"), "utf8"))` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202608291447-registry.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Grid Proximity - File: pipelinenews/tools/intelligence/cartridges/grid-proximity/assets/{GEN}-grid-proximity.mjs (JavaScript, 698 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/grid-proximity/assets/%7BGEN%7D-grid-proximity.mjs#L1-L698 - Page: https://code.globalgrid2050.com/explore-code/s/1039.html#f2 - Synopsis: A JavaScript module in PipelineNews that marks tabs, renders radius and sort, calculates great-circle distances and angles and reads inputs for gp centre, gp radius and gp target pick. - What it achieves (comment): It marks tabs (`markTabs`), renders radius (`renderRadius`) and renders sort (`renderSort`). Deployment: not-authorised. Its code works with 66 kV and 132 kV. It responds to click and keydown events. - What it does: It draws substations, the REPD register, 66kV and cables. Defines 27 functions or classes, including atlasHaversineKm, boundingBox, esc, km, mw. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, the REPD register, 66kV, cables, 132kV. - Inputs & outputs: In: form fields (user input). Out: canvas drawing. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 132kV, 66kV. - Signatures: `export mountGridProximity({ host, payloadAsset })`; `atlasHaversineKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `boundingBox(lon, lat, km)`; `esc(s)`; `km(v)`; `mw(v)`; `markTabs()`; `ensurePayload()`; `select(code)`; `renderRadius(d)`; `run()`; `renderSort(d)`; `value(r, k)`; `draw()`; `renderConnect(d)`; `lineFeature(from, to, properties)`; `renderMethod(d)`; `injectScopeStyle()`; `paintScope(canvas, row, t)`; `toXY(lon, lat)`; `dx(lon - row.at[0])`; `dy(lat - row.at[1])`; `rr(R * i)` (and 8 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/pipelinenews_intelligence/202609020611/assets/202608311610-grid-proximity.mjs) · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [canvas drawing]; crs [WGS84 / EPSG:4326]; voltages [132kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Payload - File: pipelinenews/tools/intelligence/cartridges/grid-proximity/build_payload.py (Python, 533 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/grid-proximity/build_payload.py#L1-L533 - Page: https://code.globalgrid2050.com/explore-code/s/1040.html#f2 - Synopsis: A Python command-line tool in the grid proximity folder of PipelineNews that reads grid 400kV, grid 275kV, grid 220kV and grid 132kV, using haversine and SHA-256. - What it achieves (comment): It loads segments (`load_segments`), loads substations (`load_substations`) and loads UKPN 11kv (`load_ukpn_11kv`). Grid proximity payload builder. Its code works with 11 kV, 33 kV and 132 kV. It accepts `--gg2050`, `--spine` and `--out`. - What it does: It loads grid 400kV, grid 275kV, grid 220kV and grid 132kV. Defines 13 functions or classes, including curvature, haversine_km, cell_of, load_segments, load_substations. Uses libraries argparse, hashlib, json, math, os. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 220kV, 132kV, 66kV, 33kV, 11kV. - Inputs & outputs: In: GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_33kv_East_of_England.geojson; GeoJSON file grid_33kv_London_Area.geojson; GeoJSON file grid_33kv_North_East_England.geojson. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 400kV, 220kV, 132kV, 66kV, 33kV, 11kV. - Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `curvature(lat_deg)`; `haversine_km(lon1, lat1, lon2, lat2, radius=R_ATLAS)`; `cell_of(lat, lon)`; `load_segments(root)`; `load_substations(root)`; `load_ukpn_11kv(root)`; `build_index(items, lon_at, lat_at, extra=None)`; `swept_radius_km(lon0, lat0, ring, kx, ky)`; `nearest_segment(lon0, lat0, segments, index, only_kv=None)`; `nearest_substations(lon0, lat0, subs, index, want=5)`; `grid_probable(circuit, substation)`; `main()`; `_num(value)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_33kv_East_of_England.geojson; GeoJSON file grid_33kv_London_Area.geojson; GeoJSON file grid_33kv_North_East_England.geojson]; out []; crs [WGS84 / EPSG:4326]; voltages [400kV, 220kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Proof - File: pipelinenews/tools/intelligence/cartridges/grid-proximity/proof.mjs (JavaScript, 281 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/grid-proximity/proof.mjs#L1-L281 - Page: https://code.globalgrid2050.com/explore-code/s/1041.html#f2 - Synopsis: A JavaScript module in the grid proximity folder of PipelineNews that opens tab, calculates great-circle distances and angles and reads inputs for gp centre, gp radius and gp target pick. - What it achieves (comment): It opens tab (`openTab`) and is built from the wait step (`wait`) and the settle step (`settle`). Grid-proximity render proof. Its code works with 33 kV and 11 kV. - What it does: It draws substations, 33kV and solar. Defines 7 functions or classes, including ok, wait, settle, openTab, hav. Uses libraries node:fs/promises, node:path, jsdom. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 33kV, solar, 11kV. - Inputs & outputs: In: command-line arguments. Voltage levels named: 33kV, 11kV. - Signatures: `ok(name, pass, detail = "")`; `wait(ms = 0)`; `settle(ms)`; `openTab(label)`; `hav(lo1, la1, lo2, la2)`; `dLat(la2 - la1)`; `dLon(lo2 - lo1)`; `firstColumnValues(colIndex)`; `constructor(parts, opts)`; `brg(Math.atan2(y, x) / D + 360)`; `expected(bands.find((b) => b.circuit_km_max !== null && r.circuit.km <= b.circuit_km_max && r.substation.km <= b.substation_km...)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [33kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Widen - File: pipelinenews/tools/intelligence/cartridges/grid-proximity/verify_widen.py (Python, 125 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/grid-proximity/verify_widen.py#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/1041.html#f3 - Synopsis: A Python command-line tool in the grid proximity folder of PipelineNews that reads substations. It is built from the rows of helper (`rows_of`). - What it achieves (comment): Prove the widened payload changed nothing it should not have. It accepts `--baseline`, `--widened` and `--published`. - What it does: It loads substations. Defines rows_of, main. Uses libraries argparse, collections, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `rows_of(path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Widen Spine - File: pipelinenews/tools/intelligence/cartridges/grid-proximity/widen_spine.py (Python, 143 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/grid-proximity/widen_spine.py#L1-L143 - Page: https://code.globalgrid2050.com/explore-code/s/1041.html#f4 - Synopsis: A Python command-line tool in the grid proximity folder of PipelineNews that reads solar and battery storage (BESS), using haversine. - What it achieves (comment): It loads wider (`load_wider`) and is built from the title status helper (`title_status`) and the to spine row helper (`to_spine_row`). Put the wider fleet through the same grid-proximity engine. Its code works with 33 kV. It accepts `--spine`, `--wider` and `--out`. - What it does: It loads solar and battery storage (BESS). Defines title_status, load_wider, to_spine_row, main. Uses libraries argparse, json, os, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS), 33kV. - Inputs & outputs: In: command-line arguments. Voltage levels named: 33kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `title_status(s)`; `load_wider(path)`; `to_spine_row(r)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Make Cartridge - File: pipelinenews/tools/intelligence/cartridges/hops-are-not-kilometres/make_cartridge.py (Python, 155 lines) · role ingest · stage transform · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/hops-are-not-kilometres/make_cartridge.py#L1-L155 - Page: https://code.globalgrid2050.com/explore-code/s/1042.html#f1 - Synopsis: A Python command-line tool in the hops are not kilometres folder of PipelineNews covering GB transmission network and substations. - What it achieves (comment): It is built from the read step (`read`) and the anchor step (`anchor`). Generate `cartridge.json`: a kilometre is not a connection. It accepts `--parent`. - What it does: Defines read, anchor, main. Uses libraries argparse, io, json, os. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: JSON file gb-transmission-network.v1.json; JSON file cartridge.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `read(path)`; `anchor(text, needle, label)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file gb-transmission-network.v1.json; JSON file cartridge.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Make Cartridge - File: pipelinenews/tools/intelligence/cartridges/mapped-is-not-nearest/make_cartridge.py (Python, 161 lines) · role ingest · stage transform · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/mapped-is-not-nearest/make_cartridge.py#L1-L161 - Page: https://code.globalgrid2050.com/explore-code/s/1042.html#f2 - Synopsis: A Python command-line tool in the mapped is not nearest folder of PipelineNews covering substations, 33kV and 132kV. - What it achieves (comment): It is built from the read step (`read`) and the anchor step (`anchor`). Generate `cartridge.json`: the nearest mapped substation is not the nearest substation. Its code works with 132 kV and 33 kV. It accepts `--parent`. - What it does: Defines read, anchor, main. Uses libraries argparse, io, json, os. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 33kV, 132kV. - Inputs & outputs: In: JSON file cartridge.json; command-line arguments. Voltage levels named: 132kV, 33kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `read(path)`; `anchor(text, needle, label)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json; command-line arguments]; out []; crs []; voltages [132kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Sector Intelligence - File: pipelinenews/tools/intelligence/cartridges/news-and-sector-clean/assets/{GEN}-sector-intelligence.mjs (JavaScript, 276 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/news-and-sector-clean/assets/%7BGEN%7D-sector-intelligence.mjs#L1-L276 - Page: https://code.globalgrid2050.com/explore-code/s/1042.html#f3 - Synopsis: A JavaScript module in the assets folder of PipelineNews that validates asset (`validateAsset`), decodes payload (`decodePayload`) and loads payload (`loadPayload`), using SHA-256. - What it achieves (comment): It validates asset (`validateAsset`), decodes payload (`decodePayload`) and loads payload (`loadPayload`). The module is a new cartridge over an older immutable payload. It responds to click events. - What it does: It draws its content. Defines 10 functions or classes, including topicIsShown, element, installStyles, sha256Hex, validateAsset. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: DuckDB queries. - Signatures: `export mountSectorIntelligence({ host, payloadAsset })`; `topicIsShown(code)`; `element(tag, attributes = {}, text = null)`; `installStyles()`; `sha256Hex(bytes)`; `validateAsset(asset)`; `decodePayload(payload)`; `loadPayload(asset)`; `renderRows(container, rows)`; `select(topic)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/pipelinenews_intelligence/202608312244/assets/202608312109-sector-intelligence.mjs) · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Make Cartridge - File: pipelinenews/tools/intelligence/cartridges/news-and-sector-clean/make_cartridge.py (Python, 205 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/news-and-sector-clean/make_cartridge.py#L1-L205 - Page: https://code.globalgrid2050.com/explore-code/s/1043.html#f1 - Synopsis: A Python command-line tool in the news and sector clean folder of PipelineNews covering solar and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the read step (`read`) and the anchor step (`anchor`). Generate `cartridge.json`: clean the newspaper, and the sector panel. It accepts `--parent`. - What it does: It lists and searches solar and the REPD register. Defines read, anchor, main. Uses libraries argparse, io, json, os, sys. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register. - Inputs & outputs: In: JSON file 202608291447-registry.json; JSON file cartridge.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `read(path)`; `anchor(text, needle, label)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608291447-registry.json; JSON file cartridge.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Make Cartridge - File: pipelinenews/tools/intelligence/cartridges/no-grading/make_cartridge.py (Python, 187 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/no-grading/make_cartridge.py#L1-L187 - Page: https://code.globalgrid2050.com/explore-code/s/1043.html#f2 - Synopsis: A Python command-line tool in the no grading folder of PipelineNews covering substations. It is built from the read step (`read`) and the anchor step (`anchor`). - What it achieves (comment): Generate `cartridge.json`: report the distance, never grade it. It accepts `--parent`. - What it does: It draws substations. Defines read, anchor, main. Uses libraries argparse, io, json, os, sys. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: JSON file cartridge.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `read(p)`; `anchor(text, needle, label)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Make Cartridge - File: pipelinenews/tools/intelligence/cartridges/phone-first-heights/make_cartridge.py (Python, 142 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/phone-first-heights/make_cartridge.py#L1-L142 - Page: https://code.globalgrid2050.com/explore-code/s/1043.html#f3 - Synopsis: A Python command-line tool in the phone first heights folder of PipelineNews that generates `cartridge.json`: stop measuring a phone's screen with 100vh. - What it achieves (name): Its name says it makes cartridge. Defines `read` and `anchor`. It accepts `--parent`. - What it does: Defines read, anchor, main. Uses libraries argparse, io, json, os, sys. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file cartridge.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `read(p)`; `anchor(text, needle, label)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Project Intelligence - File: pipelinenews/tools/intelligence/cartridges/project-intelligence/assets/{GEN}-project-intelligence.mjs (JavaScript, 323 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/project-intelligence/assets/%7BGEN%7D-project-intelligence.mjs#L1-L323 - Page: https://code.globalgrid2050.com/explore-code/s/1044.html#f1 - Synopsis: A JavaScript module in the assets folder of PipelineNews that works with tab overview (`tabOverview`) and tab lead time (`tabLeadTime`) (units: MW). - What it achieves (comment): It is built from the invariant step (`invariant`), the fmt step (`fmt`) and the esc step (`esc`). Deployment: not-authorised. It responds to click events. - What it does: It draws its content. Defines 12 functions or classes, including invariant, el, fmt, esc, barList. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `export mountProjectIntelligence({ host, payloadAsset })`; `invariant(condition, message)`; `el(tag, cls, html)`; `fmt(n)`; `esc(s)`; `barList(rows, colour)`; `tabOverview(data, ix)`; `tabLeadTime(data, ix)`; `tabGrid(data, ix)`; `tabDataCentres(data, ix)`; `tabMethod(data, ix)`; `select(tab)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/pipelinenews_intelligence/202608311343/assets/202608311343-project-intelligence.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Provisional Identity - File: pipelinenews/tools/intelligence/cartridges/provisional-projects/assets/{GEN}-provisional-identity.mjs (JavaScript, 52 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/provisional-projects/assets/%7BGEN%7D-provisional-identity.mjs#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1044.html#f2 - Synopsis: A JavaScript module in the assets folder of PipelineNews that works with the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It resolves project (`resolveProject`) and is built from the global grid reference helper (`globalGridReference`) and the normalise step (`normalise`). Uses the existing Pipeline Global Grid reference convention. - What it does: It calculates the REPD register. Defines globalGridReference, normalise, allocateProvisional, reconcileProvisional, resolveProject. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: Reconcile Provisional (testcode). - Signatures: `export globalGridReference(ref)`; `export allocateProvisional(records, project)`; `export reconcileProvisional(records, official, source)`; `export resolveProject(records, identity)`; `normalise(value)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/testcode/202609060213/pipeline/assets/202609060213-provisional-identity.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Make Cartridge - File: pipelinenews/tools/intelligence/cartridges/season-is-named/make_cartridge.py (Python, 159 lines) · role ingest · stage transform · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/season-is-named/make_cartridge.py#L1-L159 - Page: https://code.globalgrid2050.com/explore-code/s/1044.html#f3 - Synopsis: A Python command-line tool in the season is named folder of PipelineNews that generates `cartridge.json`: a rating is per season, and the season is named. - What it achieves (name): Its name says it makes cartridge. Defines `read` and `anchor`. It accepts `--parent`. - What it does: Defines read, anchor, main. Uses libraries argparse, io, json, os. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file cartridge.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `read(path)`; `anchor(text, needle, label)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Make Cartridge - File: pipelinenews/tools/intelligence/cartridges/sector-open-neutral-sort/make_cartridge.py (Python, 111 lines) · role ingest · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/sector-open-neutral-sort/make_cartridge.py#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/1044.html#f4 - Synopsis: A Python command-line tool in the sector open neutral sort folder of PipelineNews that repairs Sector Intelligence identity and the remaining distance verdict. - What it achieves (name): Its name says it makes cartridge. Defines `read` and `one`. It accepts `--parent`. - What it does: Defines read, one, main. Uses libraries argparse, io, json, os, sys. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file cartridge.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `read(path)`; `one(text, needle, label)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Payload - File: pipelinenews/tools/intelligence/cartridges/table-locality-sort/build_payload.py (Python, 291 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/table-locality-sort/build_payload.py#L1-L291 - Page: https://code.globalgrid2050.com/explore-code/s/1045.html#f1 - Synopsis: A Python command-line tool in the table locality sort folder of PipelineNews that fetches the Renewable Energy Planning Database (REPD) register, postcodes and wind, using SHA-256 from postcodes.io. - What it achieves (comment): It is built from the norm pc helper (`norm_pc`), the post step (`post`) and the get step (`get`). Build the locality payload: town, postcode and planning authority per REPD ref. It accepts `--limit` and `--gen`. - What it does: It fetches the REPD register, postcodes and wind. Defines 8 functions or classes, including norm_pc, post, get, one_line, town_from. Uses libraries argparse, csv, hashlib, io, json. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, postcodes, wind. - Inputs & outputs: In: data source: postcodes.io; CSV file repd.csv; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `norm_pc(raw)`; `post(url, payload)`; `get(url)`; `one_line(value)`; `town_from(node)`; `looks_like_a_town(value)`; `town_from_address(address, county)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: postcodes.io; CSV file repd.csv; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Proof - File: pipelinenews/tools/intelligence/cartridges/table-locality-sort/proof.mjs (JavaScript, 453 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/table-locality-sort/proof.mjs#L1-L453 - Page: https://code.globalgrid2050.com/explore-code/s/1045.html#f2 - Synopsis: A JavaScript module in the table locality sort folder of PipelineNews that fetches postcodes and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It runs search (`runSearch`) and is built from the check step (`check`) and the rows of helper (`rowsOf`). Table-locality-sort render proof. - What it does: It fetches postcodes and the REPD register. Defines 13 functions or classes, including check, $, rowsOf, cellsOf, refOf. Uses libraries node:fs/promises, node:path, node:url, node:crypto, jsdom. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: postcodes, the REPD register. - Inputs & outputs: In: JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; command-line arguments. - Signatures: `check(label, condition, detail = "")`; `$(sel)`; `rowsOf()`; `cellsOf(tr)`; `refOf(row)`; `townOf(row)`; `postcodeOf(row)`; `countyOf(row)`; `failColspan(await readFile(join(root, "assets", "202608291447-app.mjs"), "utf8"))`; `clickAndRead(buttonId)`; `expected(keyFn, direction, numeric = false)`; `sourced(locality.counts.bua || 0)`; `settle()`; `runSearch(text)`; `townsOfRows(trs)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Make Cartridge - File: pipelinenews/tools/intelligence/cartridges/transmission-is-answerable/make_cartridge.py (Python, 145 lines) · role ingest · stage transform · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/transmission-is-answerable/make_cartridge.py#L1-L145 - Page: https://code.globalgrid2050.com/explore-code/s/1046.html#f2 - Synopsis: A Python command-line tool in the cartridges folder of PipelineNews covering GB transmission network, cables and transformers. It is built from the read step (`read`) and the anchor step (`anchor`). - What it achieves (comment): Generate `cartridge.json`: the strip stops ending on what cannot be answered. Its code works with 100 MVA. It accepts `--parent`. - What it does: Defines read, anchor, main. Uses libraries argparse, io, json, os. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'transmission'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables, transformers. - Inputs & outputs: In: JSON file gb-transmission-network.v1.json; JSON file cartridge.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `read(path)`; `anchor(text, needle, label)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file gb-transmission-network.v1.json; JSON file cartridge.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Make Cartridge - File: pipelinenews/tools/intelligence/cartridges/unbound-carries-nothing/make_cartridge.py (Python, 98 lines) · role ingest · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/unbound-carries-nothing/make_cartridge.py#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/1046.html#f3 - Synopsis: A Python command-line tool in the unbound carries nothing folder of PipelineNews covering battery storage (BESS). It is built from the read step (`read`) and the anchor step (`anchor`). - What it achieves (comment): Generate `cartridge.json`: an unbound story carries no project detail at all. Its code works with 104 MWh, 49.9 MW and 99.9 MW. It accepts `--parent`. - What it does: Defines read, anchor, main. Uses libraries argparse, io, json, os, sys. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: battery storage (BESS). - Inputs & outputs: In: JSON file cartridge.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `read(p)`; `anchor(text, needle, label)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Wider Fleet - File: pipelinenews/tools/intelligence/cartridges/wider-fleet/assets/{GEN}-wider-fleet.mjs (JavaScript, 243 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/wider-fleet/assets/%7BGEN%7D-wider-fleet.mjs#L1-L243 - Page: https://code.globalgrid2050.com/explore-code/s/1046.html#f4 - Synopsis: A JavaScript module in the assets folder of PipelineNews covering the Renewable Energy Planning Database (REPD) register, solar and wind, and uses data from the GridAtlas repository. - What it achieves (comment): It renders wider (`renderWider`) and is built from the esc step (`esc`) and the atlas link helper (`atlasLink`). The REPD technology types the spine does not carry, as tabs in the product's own technology row. It responds to click events. - What it does: It draws the REPD register, solar and wind. Defines 7 functions or classes, including esc, atlasLink, num, mountWiderFleet, visible. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, wind. - Inputs & outputs: In: data source: gridatlas data. - Signatures: `export mountWiderFleet({ host, payloadAsset })`; `esc(value)`; `atlasLink(row)`; `num(value)`; `visible()`; `clearWider()`; `renderWider()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Build Payload - File: pipelinenews/tools/intelligence/cartridges/wider-fleet/build_payload.py (Python, 259 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/wider-fleet/build_payload.py#L1-L259 - Page: https://code.globalgrid2050.com/explore-code/s/1047.html#f1 - Synopsis: A Python command-line tool in the wider fleet folder of PipelineNews that reads wider fleet, the Renewable Energy Planning Database (REPD) register, postcodes and wind. - What it achieves (comment): It loads CSV index (`load_csv_index`) and is built from the norm step (`norm`) and the megawatts step (`megawatts`). Build the WIDER FLEET payload: every REPD technology type the Pipeline News spine does not carry, with its REPD reference. It accepts `--register`, `--repd-csv` and `--out`. - What it does: It loads wider fleet, the REPD register, postcodes and wind. Defines 7 functions or classes, including norm, megawatts, load_csv_index, resolve, build. Uses libraries argparse, csv, io, json, os. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, postcodes, wind. - Inputs & outputs: In: JSON file wider-fleet.json; command-line arguments. Out: JSON file. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `norm(value)`; `megawatts(value)`; `load_csv_index(path)`; `resolve(index, props)`; `build(register_path, csv_path)`; `report(rows, how, skipped)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file wider-fleet.json; command-line arguments]; out [JSON file]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Make Cartridge - File: pipelinenews/tools/intelligence/cartridges/withdraw-nonanswers/make_cartridge.py (Python, 189 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/cartridges/withdraw-nonanswers/make_cartridge.py#L1-L189 - Page: https://code.globalgrid2050.com/explore-code/s/1047.html#f2 - Synopsis: A Python command-line tool in the withdraw nonanswers folder of PipelineNews that works with line containing (`line_containing`), covering the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It is built from the read step (`read`), the once step (`once`) and the section step (`section`). Withdraw two intelligence panels that answer no defensible user question. Its code works with 1 MW. It accepts `--parent`. - What it does: Defines read, once, section, line_containing, main. Uses libraries argparse, io, json, os, sys. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file cartridge.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `read(path)`; `once(text, needle, label)`; `section(text, labelled_by)`; `line_containing(text, needle, label)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews — Intelligence - File: pipelinenews/tools/intelligence/common.py (Python, 176 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/common.py#L1-L176 - Page: https://code.globalgrid2050.com/explore-code/s/1047.html#f3 - Synopsis: A Python module in the tools folder that loads manifest (`load_manifest`) and partitions (`load_partitions`) and loads records (`load_records`). - What it achieves (comment): It is built from the result class (`Result`), the check step (`check`) and the equals step (`equals`). Shared helpers for the VERIFIERS suite. - What it does: It loads data. Defines 13 functions or classes, including Result, __init__, check, equals, failed. Uses libraries io, json, os, sys, glob. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608261927-build-manifest-v9-1.json. - Downstream impact: Used directly by 3 files: V6 Deep Link Cartridge (pipelinenews); V7 Additive Only (pipelinenews); V8 Neutral Surface (pipelinenews). - Signatures: `class Result`; `__init__(self, verifier, title)`; `check(self, name, ok, expected=None, actual=None, detail=None)`; `equals(self, name, expected, actual, detail=None)`; `failed(self)`; `ok(self)`; `report(self)`; `require(path, what)`; `load_manifest()`; `load_partitions()`; `load_records()`; `load_spine()`; `load_fixture(name)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608261927-build-manifest-v9-1.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Reconcile Provisional - File: pipelinenews/tools/intelligence/reconcile-provisional.mjs (JavaScript, 41 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/reconcile-provisional.mjs#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1047.html#f4 - Synopsis: A JavaScript module in the intelligence folder of PipelineNews that reads project register, using SHA-256. - What it does: It loads project register. Uses libraries node:fs, node:crypto. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file project-register.json; command-line arguments. - Downstream impact: Used directly by 2 files: Register Quarter Test (pipelinenews); PipelineNews BBC RSS Discovery Workflow (pipelinenews). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file project-register.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Register Delta - File: pipelinenews/tools/intelligence/register-delta.mjs (JavaScript, 150 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/register-delta.mjs#L1-L150 - Page: https://code.globalgrid2050.com/explore-code/s/1048.html#f1 - Synopsis: A JavaScript module in the intelligence folder of PipelineNews that normalises name (`normaliseName`) and operator (`normaliseOperator`) (units: MW), covering the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It normalises name (`normaliseName`), normalises operator (`normaliseOperator`) and computes delta (`computeDelta`). Quarter-to-quarter delta of the Pipeline News project register, with a safety gate. - What it does: It lists and searches the REPD register. Defines 12 functions or classes, including clean, normaliseName, normaliseOperator, sameNumber, computeDelta. Uses libraries node:fs, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 2 files: Reconcile Provisional (pipelinenews); Register Quarter Test (pipelinenews). Reached from 1 other entry point, including PipelineNews BBC RSS Discovery Workflow (pipelinenews). - Signatures: `export normaliseName(value)`; `export normaliseOperator(value)`; `export computeDelta(previousProjects, nextProjects, {previous = {}, next = {}, limits = DEFAULT_LIMITS} = {})`; `export operatorAliases(delta)`; `export reviewBindings(bindings, delta)`; `export discoveryPriority(delta, nextProjects)`; `clean(value)`; `sameNumber(a, b)`; `index(rows, label)`; `byNumber(a, b)`; `describe(meta, count)`; `take(ref, reason)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Register Quarter Test - File: pipelinenews/tools/intelligence/register-quarter.test.mjs (JavaScript, 171 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/register-quarter.test.mjs#L1-L171 - Page: https://code.globalgrid2050.com/explore-code/s/1048.html#f2 - Synopsis: A test in the intelligence folder of PipelineNews that checks Register Source and Register Delta, using SHA-256. It writes release (`writeRelease`) and runs cli (`runCli`). - What it achieves (comment): Tests a new Renewable Energy Planning Database (REPD) quarter reaches discovery through the release registry, safely. - What it does: It tests the REPD register. Defines 7 functions or classes, including sha, payload, code, writeRelease, fixtureRepo. Uses libraries node:test, node:assert/strict, node:fs, node:os, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file 202608270055-aaaa-v8-fast-projects.json; JSON file 202611132345-bbbb-repd-2026q3-fast-projects.json; JSON file 202608291447-registry.json; JSON file project-register.json. Out: JSON file 202608291447-registry.json; JSON file x.json; JSON file project-register.json. - Downstream impact: Used directly by 1 file: PipelineNews BBC RSS Discovery Workflow (pipelinenews). - Signatures: `sha(bytes)`; `payload(rows)`; `code(field, value)`; `writeRelease(root, id, files, registered, admitted)`; `fixtureRepo({pad = false, q3Rows = Q3} = {})`; `cliRepo(options)`; `runCli(root)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608270055-aaaa-v8-fast-projects.json; JSON file 202611132345-bbbb-repd-2026q3-fast-projects.json; JSON file 202608291447-registry.json; JSON file project-register.json]; out [JSON file 202608291447-registry.json; JSON file x.json; JSON file project-register.json]; crs []; voltages [] - Edges: uses 4 estate files (script-call 4); used by 1; mentioned by 0 ### Register Source - File: pipelinenews/tools/intelligence/register-source.mjs (JavaScript, 75 lines) · role energy-data · stage ingest - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/register-source.mjs#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1048.html#f3 - Synopsis: A JavaScript module in the intelligence folder of PipelineNews that lists releases (`listReleases`), validates payload (`validatePayload`) and decodes projects (`decodeProjects`), using SHA-256. - What it achieves (comment): It lists releases (`listReleases`), resolves register (`resolveRegister`) and validates payload (`validatePayload`). Resolve the project register a Pipeline News release actually serves. - What it does: It loads data. Defines sha256, listReleases, resolveRegister, validatePayload, decodeProjects. Uses libraries node:fs, node:crypto, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608291447-registry.json. - Downstream impact: Used directly by 3 files: Reconcile Provisional (pipelinenews); Register Delta (pipelinenews); Register Quarter Test (pipelinenews). Reached from 1 other entry point, including PipelineNews BBC RSS Discovery Workflow (pipelinenews). - Signatures: `export sha256(bytes)`; `export listReleases(root = '.')`; `export resolveRegister(root = '.', {release} = {})`; `export validatePayload(payload)`; `export decodeProjects(payload)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608291447-registry.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Register Refresh - File: pipelinenews/tools/intelligence/register_refresh.py (Python, 571 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/register_refresh.py#L1-L571 - Page: https://code.globalgrid2050.com/explore-code/s/1049.html#f1 - Synopsis: A Python command-line tool in the intelligence folder of PipelineNews that reads grid distance, using SHA-256. It writes bytes (`write_bytes`), searches text (`search_text`) and compiles projects (`compile_projects`). - What it achieves (comment): Make a register-refresh cartridge: a new quarterly Renewable Energy Planning Database (REPD) cut for Pipeline News. Its code works with 1 MW. It accepts `--prove-q2`, `--label` and `--short-label`. - What it does: It loads grid distance. Defines 22 functions or classes, including sha256_bytes, sha256_file, read, write_bytes, js_number. Uses libraries argparse, hashlib, importlib, io, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608291447-registry.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202608270055-8ab1807551bc-v8-fast-search.json; JSON file build_manifest.json; JSON file 202608311800-grid-distance.json; JSON file cartridge.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha256_bytes(raw)`; `sha256_file(path)`; `read(path)`; `write_bytes(path, raw)`; `js_number(value)`; `js_stringify(value)`; `json_bytes(value)`; `js_string(value)`; `normalise(value)`; `search_text(project)`; `_js_sort_key(value)`; `compile_projects(projects, generation, cache_identity)`; `code(field, project)`; `compile_search(projects, generation, cache_identity)`; `validate_projects(projects)`; `load_partitions(paths)`; `prove_q2(release)`; `build_spine(gg2050, work, label, dataset, identity, coordinates, expected)`; `grid_coverage(parent_root, projects)`; `fmt(n)`; `make_cartridge(a)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608291447-registry.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202608270055-8ab1807551bc-v8-fast-search.json; JSON file build_manifest.json; JSON file 202608311800-grid-distance.json; JSON file cartridge.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Release Builder - File: pipelinenews/tools/intelligence/release_builder.py (Python, 1084 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/release_builder.py#L1-L1084 - Page: https://code.globalgrid2050.com/explore-code/s/1050.html#f1 - Synopsis: A Python command-line tool in the intelligence folder of PipelineNews that reads cartridge and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It normalises lf (`normalise_to_lf`), refreshes sha256 sidecars (`refresh_sha256_sidecars`) and refreshes build manifest (`refresh_build_manifest`). PipelineNews release builder — one timestamp, one discovery cartridge. It accepts `--list`, `--from` and `--cartridge`. - What it does: It loads cartridge and the REPD register. Defines 27 functions or classes, including utc_stamp, sha256_file, sha256_published, published_bytes, published_size. Uses libraries argparse, atexit, contextlib, datetime, hashlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file 202608291447-registry.json; JSON file build-manifest.json; JSON file cartridge.json; JSON file release-manifest.json; command-line arguments. - Downstream impact: Used directly by 6 files: Shift (pipelinenews); Build 30x Ledger (pipelinenews); Run Pages Candidate Gate (pipelinenews); PipelineNews Build Intelligence Release Workflow (pipelinenews); and 2 more. Reached from 1 other entry point, including PipelineNews Pages Routing Candidate Workflow (pipelinenews). - Signatures: `utc_stamp()`; `sha256_file(path)`; `sha256_published(path)`; `published_bytes(path)`; `published_size(path)`; `read(p)`; `write(p, t)`; `walk(root)`; `normalise_to_lf(root)`; `refresh_sha256_sidecars(target)`; `refresh_build_manifest(target, release_id)`; `visit(node)`; `apply_once(text, old, new, label, expect=1)`; `releases()`; `cmd_list()`; `cartridge_keys(release_id)`; `cmd_applicable(parent_id)`; `_canonical_sha(value)`; `_inside(target, rel)`; `_spine_totals(projects)`; `apply_registry_core(target, reg, core, sub)`; `check_registry_core(target, reg)`; `cmd_build(parent_id, cartridge_name, gen, atlas_target)`; `_discard_partial()`; `sub(text)` (and 2 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608291447-registry.json; JSON file build-manifest.json; JSON file cartridge.json; JSON file release-manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### Release Hash Guard - File: pipelinenews/tools/intelligence/release_hash_guard.py (Python, 74 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/release_hash_guard.py#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1051.html#f2 - Synopsis: A Python command-line tool in the intelligence folder of PipelineNews that uses SHA-256. It is built from the digest step (`digest`) and the tree step (`tree`). - What it achieves (comment): No truncation of previous work: every existing release byte must survive. It accepts `--repo`, `--snapshot` and `--verify`. - What it does: It loads data. Defines digest, tree, main. Uses libraries argparse, hashlib, os, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `digest(path)`; `tree(root)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Render Proof - File: pipelinenews/tools/intelligence/render_proof.mjs (JavaScript, 140 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/render_proof.mjs#L1-L140 - Page: https://code.globalgrid2050.com/explore-code/s/1051.html#f3 - Synopsis: A JavaScript module in the intelligence folder of PipelineNews that renders proof for the project-intelligence cartridge. - What it achieves (name): Its name says it renders proof. - What it does: It loads data. Defines El, ok. Uses libraries node:fs/promises, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608291447-registry.json; command-line arguments. - Downstream impact: Used directly by 1 file: PipelineNews Build Intelligence Release Workflow (pipelinenews). - Signatures: `class El`; `constructor(tag)`; `setAttribute(k, v)`; `getAttribute(k)`; `appendChild(c)`; `addEventListener(t, fn)`; `click()`; `collect()`; `ok(name, pass, detail)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608291447-registry.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Sector Render Proof - File: pipelinenews/tools/intelligence/sector_render_proof.mjs (JavaScript, 114 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/sector_render_proof.mjs#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/1052.html#f1 - Synopsis: A JavaScript module in the intelligence folder of PipelineNews. It is built from the check step (`check`). - What it achieves (comment): Mount the registered Sector Intelligence cartridge against its real payload. - What it does: It loads data. Defines El, check. Uses libraries node:fs/promises, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608291447-registry.json; command-line arguments. - Downstream impact: Used directly by 1 file: PipelineNews Build Intelligence Release Workflow (pipelinenews). - Signatures: `class El`; `constructor(tag)`; `setAttribute(name, value)`; `getAttribute(name)`; `appendChild(child)`; `append(...children)`; `replaceChildren(...children)`; `addEventListener(type, listener)`; `collectText()`; `check(name, pass, detail = "")` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608291447-registry.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Serve - File: pipelinenews/tools/intelligence/serve.mjs (JavaScript, 93 lines) · role storage · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/serve.mjs#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/1052.html#f2 - Synopsis: A JavaScript module in the intelligence folder of PipelineNews. - What it achieves (comment): Minimal static server for reviewing a PipelineNews release locally. - What it does: It loads data. Uses libraries node:http, node:fs/promises, node:path, node:url. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Signatures: `dirs(await readdir(RELEASES, { withFileTypes: true }))` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Surface Truth Proof - File: pipelinenews/tools/intelligence/surface_truth_proof.mjs (JavaScript, 49 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/surface_truth_proof.mjs#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1052.html#f3 - Synopsis: A JavaScript module in the intelligence folder of PipelineNews that verifies that the shipped UI exposes only the retained, truthful surfaces. - What it does: It loads data. Uses libraries node:fs/promises, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: PipelineNews Build Intelligence Release Workflow (pipelinenews). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### V6 Deep Link Cartridge - File: pipelinenews/tools/intelligence/v6_deep_link_cartridge.py (Python, 145 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/v6_deep_link_cartridge.py#L1-L145 - Page: https://code.globalgrid2050.com/explore-code/s/1052.html#f4 - Synopsis: A Python command-line tool in the intelligence folder of PipelineNews. - What it achieves (comment): V6 - static checks on the atlas deep-link cartridge. - What it does: It lists and searches its content. Defines main. Uses libraries io, os, re, sys. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### V7 Additive Only - File: pipelinenews/tools/intelligence/v7_additive_only.py (Python, 167 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/v7_additive_only.py#L1-L167 - Page: https://code.globalgrid2050.com/explore-code/s/1052.html#f5 - Synopsis: A Python command-line tool in the intelligence folder of PipelineNews that uses SHA-256. - What it achieves (comment): V7 - the project-intelligence cartridge must be ADDITIVE ONLY. - What it does: It fetches data. Defines main. Uses libraries io, os, re, sys, json. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### V8 Neutral Surface - File: pipelinenews/tools/intelligence/v8_neutral_surface.py (Python, 161 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/intelligence/v8_neutral_surface.py#L1-L161 - Page: https://code.globalgrid2050.com/explore-code/s/1053.html#f1 - Synopsis: A Python command-line tool in the intelligence folder of PipelineNews that checks release (`check_release`). It is built from the scan step (`scan`). - What it achieves (comment): V8 - the surface never characterises anyone's project or company. - What it does: It lists and searches its content. Defines scan, check_release, main. Uses libraries io, json, os, re, sys. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Shift (pipelinenews). - Signatures: `scan(label, text, res, allow_attributable=True)`; `check_release(path, res)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Shift - File: pipelinenews/tools/overnight/202609012300-shift.mjs (JavaScript, 507 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/overnight/202609012300-shift.mjs#L1-L507 - Page: https://code.globalgrid2050.com/explore-code/s/1053.html#f2 - Synopsis: A JavaScript module in the overnight folder of PipelineNews that fetches shift log. - What it achieves (comment): It is built from the utc now helper (`utcNow`), the slash step (`slash`) and the run step (`run`). The Pipeline News night shift. - What it does: It fetches shift log. Defines 18 functions or classes, including utcNow, slash, run, git, gitAt. Uses libraries node:fs, node:path, node:child_process, node:url. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file shift-log.json; JSON file b.json; JSON file release-manifest.json; command-line arguments. - Signatures: `utcNow()`; `slash(p)`; `run(cmd, args, { cwd = ROOT, allowFail = false, quiet = false } = {})`; `out(r.stdout || '')`; `git(...args)`; `gitAt(cwd, ...args)`; `status()`; `untracked()`; `PYTHON(() => { for (const candidate of ['python', 'python3']) { const r = spawnSync(candidate, ['--version'], { encoding: 'u...)`; `record(entry)`; `flag(name)`; `opt(name)`; `step(await import(pathToFileURL(path.resolve(stepPath)).href))`; `stage(name, detail)`; `undo()`; `fail(reason, extra = {})`; `isDebris(p)`; `complete(id)`; `targetOf(id)`; `walk(dir, base = '')` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file shift-log.json; JSON file b.json; JSON file release-manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 5 estate files (script-call 5); used by 0; mentioned by 0 ### Transmission Is Answerable - File: pipelinenews/tools/overnight/steps/202609012335-transmission-is-answerable.mjs (JavaScript, 51 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/overnight/steps/202609012335-transmission-is-answerable.mjs#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/1054.html#f1 - Synopsis: A JavaScript module in the steps folder of PipelineNews covering cartridge. - What it achieves (comment): The GRID strip stops ending on what cannot be answered. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'transmission'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file cartridge.json. - Signatures: `prepare({ parent, run, python })` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Mapped Is Not Nearest - File: pipelinenews/tools/overnight/steps/202609012340-mapped-is-not-nearest.mjs (JavaScript, 49 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/overnight/steps/202609012340-mapped-is-not-nearest.mjs#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1054.html#f2 - Synopsis: A JavaScript module in the steps folder of PipelineNews covering cartridge and substations. - What it achieves (comment): The GRID + SUB strip states the limit of the word "nearest". Its code works with 132 kV. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 132kV. - Inputs & outputs: In: JSON file cartridge.json. Voltage levels named: 132kV. - Signatures: `prepare({ parent, run, python })` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json]; out []; crs []; voltages [132kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Season Is Named - File: pipelinenews/tools/overnight/steps/202609012345-season-is-named.mjs (JavaScript, 48 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/overnight/steps/202609012345-season-is-named.mjs#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/1054.html#f3 - Synopsis: A JavaScript module in the steps folder of PipelineNews covering cartridge. - What it achieves (comment): The strip says a rating without its season is ambiguous, and that the Atlas never sums them. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file cartridge.json. - Signatures: `prepare({ parent, run, python })` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Hops Are Not Kilometres - File: pipelinenews/tools/overnight/steps/202609012350-hops-are-not-kilometres.mjs (JavaScript, 47 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/overnight/steps/202609012350-hops-are-not-kilometres.mjs#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1054.html#f4 - Synopsis: A JavaScript module in the steps folder of PipelineNews covering cartridge. - What it achieves (comment): The connections panel says a kilometre is not a connection, and points at the measurement that is. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file cartridge.json. - Signatures: `prepare({ parent, run, python })` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Homepage Reachability - File: pipelinenews/tools/publication/202609020042-homepage-reachability.mjs (JavaScript, 96 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/202609020042-homepage-reachability.mjs#L1-L96 - Page: https://code.globalgrid2050.com/explore-code/s/1054.html#f5 - Synopsis: A JavaScript module in the publication folder of PipelineNews. It is built from the homepage reachability helper (`homepageReachability`) and the is reachable helper (`isReachable`). - What it achieves (comment): Is the published snapshot reachable from the homepage that serves it? - What it does: It loads data. Defines homepageReachability, isReachable. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Shift (pipelinenews). - Signatures: `export homepageReachability({ globalgrid = GG } = {})`; `export isReachable(generation, options)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Coverage Candidate - File: pipelinenews/tools/publication/build-coverage-candidate.mjs (JavaScript, 56 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/build-coverage-candidate.mjs#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1054.html#f6 - Synopsis: A JavaScript module in the publication folder of PipelineNews that draws grid proximity, grid distance, substation 33kV and substations, using SHA-256. - What it achieves (name): Its name says it builds coverage candidate. Defines `hash`, `committed` and `update`. It reads `./coverage.json` and writes `/coverage.json`. It responds to change and input events. - What it does: It draws grid proximity, grid distance, substation 33kV and substations. Defines hash, committed, el, update. Uses libraries node:fs, node:crypto, node:child_process, node:path. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 33kV. - Inputs & outputs: In: JSON file 202608311610-grid-proximity.json; JSON file 202608311800-grid-distance.json; JSON file 202608311858-substation-33kv.json; JSON file coverage.json; form fields (user input); command-line arguments. Out: JSON file coverage.json. Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: PipelineNews Coverage Contract Workflow (pipelinenews). - Signatures: `hash(body)`; `committed(path)`; `el(id)`; `update()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608311610-grid-proximity.json; JSON file 202608311800-grid-distance.json; JSON file 202608311858-substation-33kv.json; JSON file coverage.json; form fields (user input); command-line arguments]; out [JSON file coverage.json]; crs []; voltages [33kV] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Build Reported Project Candidate - File: pipelinenews/tools/publication/build-reported-project-candidate.mjs (JavaScript, 20 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/build-reported-project-candidate.mjs#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1054.html#f7 - Synopsis: A JavaScript module in the publication folder of PipelineNews that fetches cearn project evidence, using SHA-256. - What it achieves (name): Its name says it builds reported project candidate. Defines `blob` and `digest`. It reads `./project-evidence.json`. - What it does: It fetches cearn project evidence. Defines blob, digest. Uses libraries node:fs, node:child_process, node:crypto. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202609060208-cearn-project-evidence.json; JSON file project-evidence.json; JSON file snapshot.json; command-line arguments. - Signatures: `blob(path)`; `digest(b)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file 202609060208-cearn-project-evidence.json; JSON file project-evidence.json; JSON file snapshot.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 1, import 1); used by 0; mentioned by 0 ### Build RSS Candidate - File: pipelinenews/tools/publication/build-rss-candidate.mjs (JavaScript, 35 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/build-rss-candidate.mjs#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/1054.html#f8 - Synopsis: A JavaScript module in the publication folder of PipelineNews covering bbc rss, using SHA-256. - What it achieves (name): Its name says it builds RSS candidate. Defines `blob` and `digest`. - What it does: Defines blob, digest. Uses libraries node:fs, node:child_process, node:crypto. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file bbc-rss.json; JSON file snapshot.json; command-line arguments. - Downstream impact: Used directly by 2 files: Build Reported Project Candidate (pipelinenews); PipelineNews Coverage Contract Workflow (pipelinenews). - Signatures: `blob(path)`; `digest(bytes)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file bbc-rss.json; JSON file snapshot.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 6 estate files (script-call 6); used by 2; mentioned by 0 ### Build 30x Ledger - File: pipelinenews/tools/publication/build_30x_ledger.py (Python, 125 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/build_30x_ledger.py#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/1054.html#f9 - Synopsis: A Python command-line tool in the publication folder of PipelineNews that builds the machine-readable receipt ledger for the audited candidate stream. - What it achieves (name): Its name says it builds 30x ledger. Defines `git`. It accepts `--base`, `--head` and `--output`. - What it does: Defines git, main. Uses libraries __future__, argparse, json, subprocess, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `git(repo: Path, *args: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 5 estate files (script-call 5); used by 0; mentioned by 0 ### Build Pages Promotion Pointer - File: pipelinenews/tools/publication/build_pages_promotion_pointer.py (Python, 115 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/build_pages_promotion_pointer.py#L1-L115 - Page: https://code.globalgrid2050.com/explore-code/s/1054.html#f10 - Synopsis: A Python command-line tool in the publication folder of PipelineNews that reads atlas link, using SHA-256. - What it achieves (comment): It is built from the require step (`require`), the git step (`git`) and the record step (`record`). Write the two byte-identical v4 pointers for one committed promotion wrapper. It accepts `--repo`. - What it does: It loads atlas link. Defines require, git, record, main. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file release-manifest.json; JSON file build-manifest.json; JSON file atlas-link-manifest.json; JSON file current-v3.json; JSON file current-v4.json; JSON file live-set.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `require(condition: bool, message: str)`; `git(repo: Path, *args: str)`; `record(path: Path, local: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release-manifest.json; JSON file build-manifest.json; JSON file atlas-link-manifest.json; JSON file current-v3.json; JSON file current-v4.json; JSON file live-set.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Pages Promotion Wrapper - File: pipelinenews/tools/publication/build_pages_promotion_wrapper.py (Python, 319 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/build_pages_promotion_wrapper.py#L1-L319 - Page: https://code.globalgrid2050.com/explore-code/s/1055.html#f1 - Synopsis: A Python command-line tool in the publication folder of PipelineNews that reads atlas link, using SHA-256 from the GridAtlas repository. It writes JSON (`write_json`) and verifies source release (`verify_source_release`). - What it achieves (comment): Build one immutable Pages wrapper around an additive Pipeline release. It writes `atlas-link-manifest.json`. It accepts `--repo`, `--source-release` and `--source-commit`. - What it does: It loads atlas link. Defines 15 functions or classes, including require, git, require_clean_checkout, sha256_bytes, sha256. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data; JSON file atlas-link-manifest.json; JSON file build-manifest.json; JSON file release-manifest.json; JSON file current.json; command-line arguments. - Downstream impact: Used directly by 1 file: Test Pages Promotion Tooling (pipelinenews). - Signatures: `require(condition: bool, message: str)`; `git(repo: Path, *args: str)`; `require_clean_checkout(repo: Path, label: str)`; `sha256_bytes(payload: bytes)`; `sha256(path: Path)`; `record(path: Path, local: str)`; `compact_digest(value: object)`; `write_json(path: Path, value: object)`; `committed_tree_files(repo: Path, commit: str, release_id: str)`; `verify_source_release(repo: Path, release_id: str, source_commit: str)`; `grid_file_record(grid: Path, local: str)`; `receiver_contract(grid: Path, exact_commit: str)`; `cartridge(item: dict, label: str)`; `build(repo: Path, source_release_id: str, source_commit: str, grid: Path, grid_commit: str, generation: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file atlas-link-manifest.json; JSON file build-manifest.json; JSON file release-manifest.json; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Pages Release Classifier - File: pipelinenews/tools/publication/pages_release_classifier.py (Python, 300 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/pages_release_classifier.py#L1-L300 - Page: https://code.globalgrid2050.com/explore-code/s/1055.html#f2 - Synopsis: A Python command-line tool in the publication folder of PipelineNews that writes GitHub output (`write_github_output`) and receipt (`write_receipt`) and resolves live pointer (`resolve_live_pointer`), using SHA-256. - What it achieves (comment): It classifies release (`classify_release`) and is built from the classification error class (`ClassificationError`) and the decision class (`Decision`). Classify one immutable Pipeline News release for the Pages workflow. It accepts `--repo`, `--release` and `--base`. - What it does: Defines 13 functions or classes, including ClassificationError, Decision, release_ids_from_paths, require_commit, discover_release. Uses libraries __future__, argparse, hashlib, json, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file release-manifest.json; JSON file live-set.json; JSON file current-v3.json; JSON file current-v4.json; command-line arguments. - Downstream impact: Used directly by 4 files: Build 30x Ledger (pipelinenews); Run Pages Candidate Gate (pipelinenews); Test Pages Release Classifier (pipelinenews); PipelineNews Pages Workflow (pipelinenews). Reached from 1 other entry point, including PipelineNews Pages Routing Candidate Workflow (pipelinenews). - Signatures: `class ClassificationError`; `class Decision`; `release_ids_from_paths(paths: list[str])`; `require_commit(repo: Path, value: str, label: str)`; `discover_release(repo: Path, base: str, head: str, *, allow_pointer_fallback: bool = False)`; `_read_manifest(path: Path)`; `reject_duplicates(pairs: list[tuple[str, Any]])`; `_load_manifest(path: Path)`; `classify_release(repo: Path, release_id: str)`; `write_github_output(decision: Decision, path: Path)`; `write_receipt(decision: Decision, path: Path)`; `resolve_live_pointer(repo: Path)`; `main(argv: list[str] | None = None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release-manifest.json; JSON file live-set.json; JSON file current-v3.json; JSON file current-v4.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Prove Pages Promotion Wrapper - File: pipelinenews/tools/publication/prove_pages_promotion_wrapper.mjs (JavaScript, 172 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/prove_pages_promotion_wrapper.mjs#L1-L172 - Page: https://code.globalgrid2050.com/explore-code/s/1056.html#f1 - Synopsis: A JavaScript module in the publication folder of PipelineNews that reads atlas link, using SHA-256. - What it achieves (comment): It is built from the sha256 step (`sha256`), the read step (`read`) and the JSON step (`json`). Prove a Pages promotion wrapper against its exact Grid production receiver. - What it does: It loads atlas link. Defines 6 functions or classes, including sha256, read, json, check, decode. Uses libraries node:child_process, node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file release-manifest.json; JSON file build-manifest.json; JSON file atlas-link-manifest.json; JSON file 202608291447-registry.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202609030009-wider-fleet.json; command-line arguments. - Downstream impact: Used directly by 1 file: PipelineNews Pages V2 Workflow (pipelinenews). Reached from 1 other entry point, including PipelineNews Pages Workflow (pipelinenews). - Signatures: `sha256(bytes)`; `read(relative)`; `json(relative)`; `check(name, ok, detail = "")`; `app(await read("assets/202608291447-app.mjs"))`; `decode(row)`; `identity(row)`; `measurementSource(await readFile(join(grid, receiver.measurement_cartridge.path)))`; `engineSource(await readFile(join(grid, receiver.engine_cartridge.path)))` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release-manifest.json; JSON file build-manifest.json; JSON file atlas-link-manifest.json; JSON file 202608291447-registry.json; JSON file 202608270055-8ab1807551bc-v8-fast-projects.json; JSON file 202609030009-wider-fleet.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Run Pages Candidate Gate - File: pipelinenews/tools/publication/run_pages_candidate_gate.py (Python, 94 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/run_pages_candidate_gate.py#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/1056.html#f2 - Synopsis: A Python command-line tool in the publication folder of PipelineNews that runs the complete Pages routing gate serially and write a durable receipt, using SHA-256. - What it achieves (name): Defines `execute` and `atomic_json`. It accepts `--repo` and `--receipt`. - What it does: Defines execute, atomic_json, main. Uses libraries __future__, argparse, hashlib, json, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: command-line arguments. Out: JSON file. - Downstream impact: Used directly by 2 files: Build 30x Ledger (pipelinenews); PipelineNews Pages Routing Candidate Workflow (pipelinenews). - Signatures: `execute(repo: Path, command: list[str])`; `atomic_json(path: Path, payload: dict[str, object])`; `main(argv: list[str] | None = None)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 6 estate files (script-call 5, import 1); used by 2; mentioned by 0 ### Test Pages Candidate Workflow - File: pipelinenews/tools/publication/test_pages_candidate_workflow.py (Python, 30 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/test_pages_candidate_workflow.py#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/1056.html#f3 - Synopsis: A test in the publication folder of PipelineNews. It is built from the candidate workflow tests class (`CandidateWorkflowTests`). - What it achieves (name): Defines `CandidateWorkflowTests` and `test_candidate_has_compute_without_publish_authority`. - What it does: It tests its inputs. Defines CandidateWorkflowTests, test_candidate_has_compute_without_publish_authority. Uses libraries __future__, unittest, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Run Pages Candidate Gate (pipelinenews). Reached from 2 other entry points, including PipelineNews Pages Routing Candidate Workflow (pipelinenews); Build 30x Ledger (pipelinenews). - Signatures: `class CandidateWorkflowTests`; `test_candidate_has_compute_without_publish_authority(self)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Pages Promotion Tooling - File: pipelinenews/tools/publication/test_pages_promotion_tooling.py (Python, 254 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/test_pages_promotion_tooling.py#L1-L254 - Page: https://code.globalgrid2050.com/explore-code/s/1056.html#f4 - Synopsis: A test in the publication folder of PipelineNews that checks Build Pages Promotion Wrapper and Build Pages, using SHA-256. It is built from the promotion tooling tests class (`PromotionToolingTests`). - What it achieves (name): Defines `PromotionToolingTests`, `test_exact_source_closure_is_available_without_mutation`, `test_receiver_builder_fails_closed_on_wrong_digest` and 13 more. - What it does: It tests its inputs. Defines 16 functions or classes, including PromotionToolingTests, test_exact_source_closure_is_available_without_mutation, test_receiver_builder_fails_closed_on_wrong_digest, test_wrapper_builder_requires_clean_pipeline_checkout, test_receiver_builder_fails_closed_on_wrong_head. Uses libraries __future__, json, importlib.util, pathlib, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file release-manifest.json; JSON file current.json. Out: JSON file 202601010000-composition.json; JSON file current.json; JSON file release-manifest.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class PromotionToolingTests`; `test_exact_source_closure_is_available_without_mutation(self)`; `test_receiver_builder_fails_closed_on_wrong_digest(self)`; `test_wrapper_builder_requires_clean_pipeline_checkout(self)`; `test_receiver_builder_fails_closed_on_wrong_head(self)`; `test_source_builder_fails_closed_on_wrong_commit(self)`; `test_workflow_uses_read_only_exact_receiver_checkout(self)`; `test_workflow_checks_out_pinned_geodesy_beside_grid_before_proof(self)`; `test_javascript_proofs_parse(self)`; `test_browser_readback_binds_public_receiver_bytes_and_identity(self)`; `test_modular_browser_proof_intercepts_immutable_news_payload(self)`; `test_pointer_source_manifest_receipt_fails_closed(self)`; `test_main_dispatch_reaches_promotion_pointer_validator(self)`; `test_pages_stage_excludes_non_deploying_promotion_source_tree(self)`; `test_non_deploying_source_exclusion_is_independent_of_selected_release(self)`; `test_promotion_public_diff_starts_after_immutable_source(self)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release-manifest.json; JSON file current.json]; out [JSON file 202601010000-composition.json; JSON file current.json; JSON file release-manifest.json]; crs []; voltages [] - Edges: uses 2 estate files (import 1, script-call 1); used by 0; mentioned by 0 ### Test Pages Release Classifier - File: pipelinenews/tools/publication/test_pages_release_classifier.py (Python, 329 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/test_pages_release_classifier.py#L1-L329 - Page: https://code.globalgrid2050.com/explore-code/s/1057.html#f1 - Synopsis: A test in the publication folder of PipelineNews that checks Pages Release Classifier, using SHA-256. - What it achieves (name): It sets up (`setUp`) and is built from the classifier tests class (`ClassifierTests`) and the tear down helper (`tearDown`). Defines `ClassifierTests`, `setUp`, `tearDown` and 28 more. - What it does: It tests its inputs. Defines 31 functions or classes, including ClassifierTests, setUp, tearDown, manifest, test_routes_pages_release. Uses libraries __future__, json, sys, subprocess, tempfile. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file release-manifest.json; JSON file classification.json; JSON file live-set.json. Out: JSON file release-manifest.json; JSON file live-set.json; JSON file current-v3.json; JSON file current-v4.json. - Downstream impact: Used directly by 2 files: Build 30x Ledger (pipelinenews); Run Pages Candidate Gate (pipelinenews). Reached from 1 other entry point, including PipelineNews Pages Routing Candidate Workflow (pipelinenews). - Signatures: `class ClassifierTests`; `setUp(self)`; `tearDown(self)`; `manifest(self, folder_id: str, **values: object)`; `test_routes_pages_release(self)`; `test_routes_additive_release_to_source_validation(self)`; `test_unknown_schema_fails_closed(self)`; `test_release_id_cannot_escape_release_root(self)`; `test_manifest_identity_must_match_directory(self)`; `test_generation_must_match_release_id(self)`; `test_duplicate_manifest_keys_fail_closed(self)`; `test_additive_release_cannot_claim_deployment_authority(self)`; `test_modern_release_must_be_immutable(self)`; `test_additive_parent_must_be_valid_and_older(self)`; `test_additive_parent_must_exist(self)`; `test_oversized_manifest_fails_before_parsing(self)`; `test_decision_receipts_exact_manifest_bytes(self)`; `test_github_outputs_are_scalar_and_job_ready(self)`; `test_receipt_replace_is_complete_json(self)`; `test_current_committed_additive_release_classifies(self)`; `test_release_paths_are_deduplicated_and_sorted(self)`; `test_discovers_release_from_git_commit_range(self)`; `test_git_range_with_two_releases_is_ambiguous(self)`; `test_git_range_rejects_immutable_release_edits(self)`; `test_abbreviated_commit_is_rejected(self)` (and 6 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release-manifest.json; JSON file classification.json; JSON file live-set.json]; out [JSON file release-manifest.json; JSON file live-set.json; JSON file current-v3.json; JSON file current-v4.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Test Register Refresh - File: pipelinenews/tools/publication/test_register_refresh.py (Python, 288 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/test_register_refresh.py#L1-L288 - Page: https://code.globalgrid2050.com/explore-code/s/1057.html#f2 - Synopsis: A test in the publication folder of PipelineNews covering solar, using SHA-256. It validates projects tests (`ValidateProjectsTests`), sets up (`setUp`) and hashes tree (`hash_tree`). - What it achieves (comment): Tests for the quarterly register refresh: `register_refresh.py` and the release builder's `registry_core` door. - What it does: It tests solar. Defines 35 functions or classes, including load, project, JsOutputTests, test_numbers_print_like_json_stringify, test_stringify_keeps_non_ascii_and_null. Uses libraries __future__, contextlib, copy, hashlib, importlib.util. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file 202608291447-registry.json; JSON file old-01.json; JSON file old-p.json; JSON file old-s.json; JSON file news.json; JSON file release-manifest.json; JSON file x.json. Out: JSON file release-manifest.json; JSON file cartridge.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `load(name: str, path: Path)`; `project(ref: str, cap: float, tech: str = "solar", geometry: str = "valid")`; `class JsOutputTests`; `test_numbers_print_like_json_stringify(self)`; `test_stringify_keeps_non_ascii_and_null(self)`; `test_normalise_matches_the_compiler_rules(self)`; `test_dictionary_codes_and_search_alignment(self)`; `class ValidateProjectsTests`; `test_totals(self)`; `test_rejects_duplicate_unsorted_and_sub_megawatt(self)`; `test_rejects_blank_capacity_rather_than_reading_it_as_zero(self)`; `class RegistryCoreBuildTests`; `setUp(self)`; `tearDown(self)`; `hash_tree(root: Path)`; `make_cartridge(self, name="refresh", spine=SPINE, mutate=None)`; `build(self, name, gen="202602020000")`; `test_refresh_derives_digests_and_leaves_parent_untouched(self)`; `assert_refused(self, mutate=None, spine=SPINE, index_spine=None)`; `test_refuses_declared_totals_that_disagree(self)`; `test_refuses_partial_core(self)`; `test_refuses_keys_outside_the_core(self)`; `test_refuses_index_out_of_partition_order(self)`; `test_refuses_short_partition_before_the_last(self)`; `short(m)` (and 8 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608291447-registry.json; JSON file old-01.json; JSON file old-p.json; JSON file old-s.json; JSON file news.json; JSON file release-manifest.json; JSON file x.json]; out [JSON file release-manifest.json; JSON file cartridge.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Release Builder Applicability - File: pipelinenews/tools/publication/test_release_builder_applicability.py (Python, 284 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/test_release_builder_applicability.py#L1-L284 - Page: https://code.globalgrid2050.com/explore-code/s/1058.html#f1 - Synopsis: A test in the publication folder of PipelineNews. It sets up (`setUp`), adds release (`add_release`) and adds root (`add_root`). - What it achieves (comment): Regression tests for release-builder cartridge applicability. - What it does: It tests its inputs. Defines 23 functions or classes, including ApplicabilityFixture, setUp, tearDown, add_release, add_root. Uses libraries __future__, contextlib, importlib.util, io, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608291447-registry.json; JSON file release-manifest.json. Out: JSON file release-manifest.json; JSON file cartridge.json. - Downstream impact: Used directly by 1 file: Run Pages Candidate Gate (pipelinenews). Reached from 2 other entry points, including PipelineNews Pages Routing Candidate Workflow (pipelinenews); Build 30x Ledger (pipelinenews). - Signatures: `class ApplicabilityFixture`; `setUp(self)`; `tearDown(self)`; `add_release(self, release_id: str, *, parent: object = OMIT, schema: str = "pipelinenews.additive-cartridge-release.v1", cartridg...)`; `add_root(self, *, parent: object = OMIT)`; `add_cartridge(self, directory: str, key: str)`; `test_registered_asset_is_applied(self)`; `test_repair_only_key_is_inherited_from_ancestor_manifest(self)`; `test_idempotent_payload_repair_is_not_reapplied(self)`; `test_unapplied_repair_is_probed(self)`; `test_missing_parent_fails_closed_before_probe(self)`; `test_missing_registry_fails_closed(self)`; `test_malformed_manifest_fails_closed(self)`; `test_malformed_registry_fails_closed(self)`; `test_malformed_parent_id_fails_closed(self)`; `test_cycle_fails_closed(self)`; `test_only_legacy_root_may_omit_or_null_parent(self)`; `test_omitted_or_null_intermediate_parent_fails_closed(self)`; `test_legacy_root_requires_schema_marker(self)`; `test_forward_or_equal_parent_generation_fails_closed(self)`; `test_supplemental_entries_must_be_objects(self)`; `class RepositoryAncestryTests`; `test_0144_recognises_all_seven_repair_only_cartridges(self)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608291447-registry.json; JSON file release-manifest.json]; out [JSON file release-manifest.json; JSON file cartridge.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Verify Pages Workflow - File: pipelinenews/tools/publication/test_verify_pages_workflow.py (Python, 21 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/test_verify_pages_workflow.py#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1058.html#f2 - Synopsis: A test in the publication folder of PipelineNews that checks Verify Pages Workflow. It is built from the workflow contract tests class (`WorkflowContractTests`). - What it achieves (name): Defines `WorkflowContractTests` and `test_repository_workflow_keeps_both_routes`. - What it does: It tests its inputs. Defines WorkflowContractTests, test_repository_workflow_keeps_both_routes. Uses libraries __future__, sys, unittest, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 2 files: Build 30x Ledger (pipelinenews); Run Pages Candidate Gate (pipelinenews). Reached from 1 other entry point, including PipelineNews Pages Routing Candidate Workflow (pipelinenews). - Signatures: `class WorkflowContractTests`; `test_repository_workflow_keeps_both_routes(self)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Verify Testcode - File: pipelinenews/tools/publication/verify-testcode.mjs (JavaScript, 19 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/verify-testcode.mjs#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/1058.html#f3 - Synopsis: A JavaScript module in the publication folder of PipelineNews that uses SHA-256. - What it achieves (name): Its name says it verifies testcode. Defines `hash`. - What it does: It loads data. Defines hash. Uses libraries node:fs, node:child_process, node:crypto, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: PipelineNews Coverage Contract Workflow (pipelinenews). - Signatures: `hash(b)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Verify Pages Workflow - File: pipelinenews/tools/publication/verify_pages_workflow.py (Python, 39 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/tools/publication/verify_pages_workflow.py#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/1058.html#f4 - Synopsis: A Python command-line tool in the publication folder of PipelineNews that reads pages release classification. It is built from the verify step (`verify`). - What it achieves (comment): Fail when the Pages caller loses its release-routing boundaries. - What it does: It loads pages release classification. Defines verify. Uses libraries __future__, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file pages-release-classification.json. - Downstream impact: Used directly by 1 file: Test Verify Pages Workflow (pipelinenews). Reached from 3 other entry points, including PipelineNews Pages Routing Candidate Workflow (pipelinenews); Build 30x Ledger (pipelinenews); Run Pages Candidate Gate (pipelinenews). - Signatures: `verify(path: Path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pages-release-classification.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Federated Relationships - File: pipelinenews/ui/cartridges/202608282044-federated-relationships.mjs (JavaScript, 91 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/cartridges/202608282044-federated-relationships.mjs#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/1058.html#f5 - Synopsis: A JavaScript module in the cartridges folder of PipelineNews that fetches verified projection (`fetchVerifiedProjection`), using SHA-256. - What it achieves (name): It fetches verified projection (`fetchVerifiedProjection`) and is built from the bytes to hex helper (`bytesToHex`) and the render step (`render`). Defines `invariant`, `bytesToHex`, `fetchVerifiedProjection` and 2 more. - What it does: It draws its content. Defines invariant, bytesToHex, fetchVerifiedProjection, render, mountFederatedRelationships. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Signatures: `export mountFederatedRelationships({ host, payloadAsset })`; `invariant(condition, message)`; `bytesToHex(bytes)`; `fetchVerifiedProjection(asset)`; `render(host, projection)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/pipelinenews_intelligence/202608311343/assets/202608282200-federated-relationships.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Sector Intelligence - File: pipelinenews/ui/cartridges/202609010145-sector-intelligence.mjs (JavaScript, 223 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/cartridges/202609010145-sector-intelligence.mjs#L1-L223 - Page: https://code.globalgrid2050.com/explore-code/s/1058.html#f6 - Synopsis: A JavaScript module in the cartridges folder of PipelineNews that validates asset (`validateAsset`), decodes payload (`decodePayload`) and loads payload (`loadPayload`), using SHA-256. - What it achieves (name): It validates asset (`validateAsset`), decodes payload (`decodePayload`) and loads payload (`loadPayload`). Defines `element`, `installStyles`, `sha256Hex` and 6 more. It responds to click events. - What it does: It draws its content. Defines 9 functions or classes, including element, installStyles, sha256Hex, validateAsset, decodePayload. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: DuckDB queries. - Signatures: `export mountSectorIntelligence({ host, payloadAsset })`; `element(tag, attributes = {}, text = null)`; `installStyles()`; `sha256Hex(bytes)`; `validateAsset(asset)`; `decodePayload(payload)`; `loadPayload(asset)`; `renderRows(container, rows)`; `select(topic)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of pipelinenews/releases/javascript/202609010719-sector-intelligence.js) · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### JavaScript News Regions - File: pipelinenews/ui/javascript/202608261742-news-regions.js (JavaScript, 87 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/javascript/202608261742-news-regions.js#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/1059.html#f1 - Synopsis: A JavaScript module in PipelineNews that works with solar and battery storage (BESS). It classifies international v9 (`classifyInternationalV9_6_2`) and is built from the distinctive project tokens helper (`distinctiveProjectTokens`). - What it achieves (name): Defines `distinctiveProjectTokens`, `ukEvidenceV9_6_2`, `technology` and 2 more. - What it does: It calculates solar and battery storage (BESS). Defines distinctiveProjectTokens, ukEvidenceV9_6_2, technology, classifyInternationalV9_6_2, regionalCountsV9_6_2. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 2 files: Compare V9 6 2 to Compiled (pipelinenews); JavaScript Newspaper V9 6 2 (pipelinenews). - Signatures: `export ukEvidenceV9_6_2(item)`; `export classifyInternationalV9_6_2(item)`; `export regionalCountsV9_6_2(items)`; `distinctiveProjectTokens(item)`; `technology(headline)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/testcode/202609051152/pipeline/scripts/core/news-regions-v9-6-2.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### JavaScript Canonical Projects V9 5 1 - File: pipelinenews/ui/javascript/202608261754-canonical-projects-v9-5-1.js (JavaScript, 33 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/javascript/202608261754-canonical-projects-v9-5-1.js#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1059.html#f2 - Synopsis: A JavaScript module in PipelineNews that fetches release (`fetchRelease`) (units: MW). It fetches release (`fetchRelease`) and loads canonical projects v9 (`loadCanonicalProjectsV9_5_1`). - What it achieves (name): Defines `invariant`, `fetchRelease` and `loadCanonicalProjectsV9_5_1`. - What it does: It fetches data. Defines invariant, fetchRelease, loadCanonicalProjectsV9_5_1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file release.v9.5.1.json. - Downstream impact: Used directly by 2 files: Compare V9 6 2 to Compiled (pipelinenews); JavaScript Projects V9 5 1 (pipelinenews). - Signatures: `export loadCanonicalProjectsV9_5_1()`; `invariant(condition, message)`; `fetchRelease()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/testcode/202609051152/pipeline/scripts/data/canonical-projects-v9-5-1.js) · essay_status: readme_derived - data_contracts: in [JSON file release.v9.5.1.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### JavaScript Newspaper V9 5 1 - File: pipelinenews/ui/javascript/202608261755-newspaper-v9-5-1.js (JavaScript, 163 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/javascript/202608261755-newspaper-v9-5-1.js#L1-L163 - Page: https://code.globalgrid2050.com/explore-code/s/1059.html#f3 - Synopsis: A JavaScript module in PipelineNews that draws major project news, battery storage (BESS), the Renewable Energy Planning Database (REPD) register and solar, and uses data from the GlobalGrid2050 repository. - What it achieves (name): It refreshes projects (`refreshProjects`), indexes news (`indexNewsItems`) and draws news v9 (`drawNewsV9_5_1`). Defines `refreshProjects`, `canonicalItem`, `indexNewsItems` and 11 more. - What it does: It draws major project news, battery storage (BESS), the REPD register and solar. Defines 14 functions or classes, including refreshProjects, canonicalItem, indexNewsItems, signalLabel, signalForProjectV9_5_1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: battery storage (BESS), the REPD register, solar. - Inputs & outputs: In: data source: globalgrid2050 data; JSON file major_project_news_v9_5_1.json. - Downstream impact: Used directly by 3 files: Compare V9 6 2 to Compiled (pipelinenews); JavaScript Newspaper V9 6 2 (pipelinenews); JavaScript Projects V9 5 1 (pipelinenews). - Signatures: `export signalForProjectV9_5_1(project)`; `export drawNewsV9_5_1()`; `export loadNewsV9_5_1()`; `export bindNewspaperV9_5_1(onNewsLoaded)`; `refreshProjects()`; `canonicalItem(item)`; `indexNewsItems(items)`; `signalLabel(item)`; `itemTechnology(item)`; `newsMatches(item)`; `validPayload(payload)`; `payloadTime(payload)`; `fetchPayload(label, url)`; `renderNews(payload, label)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/uk_renewables_pipeline/202611141017/scripts/plugins/newspaper-v9-5-1.js) · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data; JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 3; mentioned by 0 ### JavaScript Newspaper V9 6 2 - File: pipelinenews/ui/javascript/202608261802-newspaper-v9-6-2.js (JavaScript, 77 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/javascript/202608261802-newspaper-v9-6-2.js#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1059.html#f4 - Synopsis: A JavaScript module in PipelineNews that queries matches (`queryMatches`) and draws regional (`drawRegional`) and news v9 (`drawNewsV9_6_2`), covering solar and battery storage (BESS). - What it achieves (name): It queries matches (`queryMatches`), draws regional (`drawRegional`) and draws news v9 (`drawNewsV9_6_2`). Defines `queryMatches`, `regionalRows`, `drawRegional` and 3 more. - What it does: It draws solar and battery storage (BESS). Defines 6 functions or classes, including queryMatches, regionalRows, drawRegional, drawNewsV9_6_2, loadNewsV9_6_2. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 2 files: Compare V9 6 2 to Compiled (pipelinenews); JavaScript App V9 6 2 (pipelinenews). - Signatures: `export drawNewsV9_6_2()`; `export loadNewsV9_6_2()`; `export bindNewspaperV9_6_2(onNewsLoaded)`; `queryMatches(item)`; `regionalRows()`; `drawRegional()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of pipelinenews/releases/javascript/202609010836-newspaper-v9-6-2.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 2; mentioned by 0 ### JavaScript Projects V9 5 1 - File: pipelinenews/ui/javascript/202608261804-projects-v9-5-1.js (JavaScript, 339 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/javascript/202608261804-projects-v9-5-1.js#L1-L339 - Page: https://code.globalgrid2050.com/explore-code/s/1059.html#f5 - Synopsis: A JavaScript module in PipelineNews covering the Renewable Energy Planning Database (REPD) register, solar, battery storage (BESS) and wind, using EPSG:27700 and SHA-256, and uses data from the GridAtlas repository. - What it achieves (code): It compares project updates v9 (`compareProjectUpdatesV9_5_1`), updates sort header (`updateSortHeader`) and renders table (`renderTable`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click events. - What it does: It draws the REPD register, solar, battery storage (BESS) and wind. Defines 21 functions or classes, including gridAnalyticsEngineV1, atlasUrlV9_5_1, displayDate, repdUpdatedTimestamp, compareProjectUpdatesV9_5_1. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS), wind. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 2 files: Compare V9 6 2 to Compiled (pipelinenews); JavaScript App V9 6 2 (pipelinenews). - Signatures: `export gridAnalyticsEngineV1(project)`; `export atlasUrlV9_5_1(project)`; `export compareProjectUpdatesV9_5_1(left, right, direction = "desc")`; `export loadProjectsV9_5_1()`; `export refreshProjectsV9_5_1()`; `export bindProjectControlsV9_5_1()`; `displayDate(value)`; `repdUpdatedTimestamp(project)`; `updateSortHeader()`; `relationshipSummary(project)`; `renderTable()`; `updateResultSummary()`; `syncFilterUrl()`; `apply({ syncUrl = true } = {})`; `populateCounties()`; `setButtonState(container, dataKey, selected)`; `hydrateFiltersFromUrl()`; `csvCell(value)`; `downloadCsv(event)`; `clearFilters(event)`; `copyProjectId(button)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of pipelinenews/releases/javascript/202609010836-projects-v9-5-1.js) · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 6 estate files (import 6); used by 2; mentioned by 0 ### JavaScript App V9 6 2 - File: pipelinenews/ui/javascript/202608261806-app-v9-6-2.js (JavaScript, 28 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/javascript/202608261806-app-v9-6-2.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1060.html#f1 - Synopsis: A JavaScript module in PipelineNews. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: Used directly by 1 file: Compare V9 6 2 to Compiled (pipelinenews). - Signatures: `start()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### JavaScript V8 Fast Runtime - File: pipelinenews/ui/javascript/202608270055-v8-fast-runtime.js (JavaScript, 862 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/javascript/202608270055-v8-fast-runtime.js#L1-L862 - Page: https://code.globalgrid2050.com/explore-code/s/1060.html#f2 - Synopsis: A JavaScript file in PipelineNews covering the Renewable Energy Planning Database (REPD) register, battery storage (BESS), solar and wind, using EPSG:27700 and SHA-256, and uses data from the GridAtlas repository. - What it achieves (code): It fetches queue (`FetchQueue`), hashes JSON (`hashJson`) and fetches immutable (`fetchImmutable`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click, change and input events. - What it does: It draws the REPD register, battery storage (BESS), solar and wind. Defines 48 functions or classes, including FetchQueue, escapeHtml, normalise, invariant, arraysEqual. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, battery storage (BESS), solar, wind. - Inputs & outputs: In: data source: gridatlas data. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Signatures: `class FetchQueue`; `constructor(limit)`; `add(task)`; `drain()`; `escapeHtml(value)`; `normalise(value)`; `invariant(condition, message)`; `arraysEqual(left, right)`; `hashJson(value)`; `fetchImmutable(url, { timeoutMs = 15000 } = {})`; `dictionary(name, index)`; `project(index)`; `compactSearchText(index)`; `formatNumber(value)`; `displayDate(value)`; `updatedTimestamp(index)`; `atlasUrl(item)`; `signalFor(item)`; `relationshipSummary(item)`; `rowHtml(index)`; `ensureWindowControls()`; `renderTable()`; `updateSortHeader()`; `updateChart(chart, value, maximum)`; `updateGauges(summary)` (and 15 more) - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of pipelinenews/ui/javascript/202608270844-v8-live-news-runtime.js) · essay_status: readme_derived - data_contracts: in [data source: gridatlas data]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### JavaScript V8 Live News Runtime - File: pipelinenews/ui/javascript/202608270844-v8-live-news-runtime.js (JavaScript, 900 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/javascript/202608270844-v8-live-news-runtime.js#L1-L900 - Page: https://code.globalgrid2050.com/explore-code/s/1061.html#f2 - Synopsis: A JavaScript file in PipelineNews covering the Renewable Energy Planning Database (REPD) register, battery storage (BESS), solar and wind, using EPSG:27700 and SHA-256, and uses data from the GridAtlas repository. - What it achieves (code): It fetches queue (`FetchQueue`), hashes JSON (`hashJson`) and fetches immutable (`fetchImmutable`). Its `downloadCsv` function gives CSV download or refusal from active table owner, filtered register rows and official detail partitions (VEDIC: export filtered projects). It responds to click, change and input events. - What it does: It draws the REPD register, battery storage (BESS), solar and wind. Defines 48 functions or classes, including FetchQueue, escapeHtml, normalise, invariant, arraysEqual. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, battery storage (BESS), solar, wind. - Inputs & outputs: In: data source: gridatlas data. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Signatures: `class FetchQueue`; `constructor(limit)`; `add(task)`; `drain()`; `escapeHtml(value)`; `normalise(value)`; `invariant(condition, message)`; `arraysEqual(left, right)`; `hashJson(value)`; `fetchImmutable(url, { timeoutMs = 15000 } = {})`; `dictionary(name, index)`; `project(index)`; `compactSearchText(index)`; `formatNumber(value)`; `displayDate(value)`; `updatedTimestamp(index)`; `atlasUrl(item)`; `signalFor(item)`; `relationshipSummary(item)`; `rowHtml(index)`; `ensureWindowControls()`; `renderTable()`; `updateSortHeader()`; `updateChart(chart, value, maximum)`; `updateGauges(summary)` (and 15 more) - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### UI Orientation - File: pipelinenews/ui/styles/202608272015-orientation.css (CSS, 355 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/styles/202608272015-orientation.css#L1-L355 - Page: https://code.globalgrid2050.com/explore-code/s/1063.html#f1 - Synopsis: A style sheet in the styles folder of PipelineNews. - What it achieves (comment): PipelineNews orientation repair cartridge. The application is non-commercial open source. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Shell V9 6 2 - File: pipelinenews/ui/templates/202608261927-shell-v9-6-2.html (HTML, 180 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/templates/202608261927-shell-v9-6-2.html#L1-L180 - Page: https://code.globalgrid2050.com/explore-code/s/1063.html#f2 - Published at: https://ventusltd.github.io/pipelinenews/ui/templates/202608261927-shell-v9-6-2.html - Synopsis: A web page in the templates folder of PipelineNews covering the Renewable Energy Planning Database (REPD) register and solar, and uses data from the GridAtlas repository. Published at https://ventusltd.github.io/pipelinenews/ui/templates/202608261927-shell-v9-6-2.html. - What it achieves (comment): This was `../../repd_grid_atlasv8/` until . That route is named RETIRED by the deep-link contract every shell built from this template compiles in. Its code works with 1 MW. - What it does: It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/v7.css?v=9.6.2, styles/mobile.css?v=9.6.2, styles/v9-3.css?v=9.6.2, styles/v9-4.css?v=9.6.2, styles/v9-5-1.css?v=9.6.2. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/pipelinenews/ui/templates/202608261927-shell-v9-6-2.html. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 0; mentioned by 0 ### BBC RSS Intelligence - File: pipelinenews/ui/templates/bbc-rss-intelligence.html (HTML, 21 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/ui/templates/bbc-rss-intelligence.html#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1063.html#f3 - Published at: https://ventusltd.github.io/pipelinenews/ui/templates/bbc-rss-intelligence.html - Synopsis: A web page in the templates folder of PipelineNews covering the Renewable Energy Planning Database (REPD) register. Published at https://ventusltd.github.io/pipelinenews/ui/templates/bbc-rss-intelligence.html. - What it achieves (name): Defines `load`. It responds to click events. - What it does: It draws the REPD register. Defines el, load. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file snapshot.json; JSON file bbc-rss.json. Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/pipelinenews/ui/templates/bbc-rss-intelligence.html. - Signatures: `el(id)`; `load(live)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file snapshot.json; JSON file bbc-rss.json]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Registry of All Content in Repos and Dependencies — Index Page - File: registry_of_all_content_in_repos_and_dependencies/index.html (HTML, 181 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/registry_of_all_content_in_repos_and_dependencies/blob/2205a7abf98723f320f00aa4a0f6b648cf7109df/index.html#L1-L181 - Page: https://code.globalgrid2050.com/explore-code/s/1064.html#f1 - Published at: https://ventusltd.github.io/registry_of_all_content_in_repos_and_dependencies/ - Synopsis: A web page that draws kernel, registry repos, interconnectors and solar, and uses data from the gemini, Spiders and kuiper-belt repositories. Published at https://ventusltd.github.io/registry_of_all_content_in_repos_and_dependencies/. It loads live (`loadLive`). - What it achieves (name): Defines `loadLive`. It reads `./registry/latest.json`. - What it does: It draws kernel, registry repos, interconnectors and solar. Defines loadLive. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors, solar. - Inputs & outputs: In: data source: gemini data; data source: spiders data; data source: kuiper-belt data; data source: vedic- data; data source: Elexon BMRS; data source: NESO data portal; data source: data-federation-map-for-globalgrid2050-all-repos data; JSON file latest.json. Out: web page; SVG drawing. - Downstream impact: Used directly by 42 files: GlobalGrid2050 Dashboard (globalgrid2050); Dashboard (globalgrid2050-homepage); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Spider Printer Registry Smoke Workflow (spiders); and 38 more. Reached from 89 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html). It is itself an entry point, published at https://ventusltd.github.io/registry_of_all_content_in_repos_and_dependencies/. - Signatures: `loadLive()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: auto - data_contracts: in [data source: gemini data; data source: spiders data; data source: kuiper-belt data; data source: vedic- data; data source: Elexon BMRS; data source: NESO data portal; data source: data-federation-map-for-globalgrid2050-all-repos data; JSON file latest.json]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 7 estate files (link 7); used by 42; mentioned by 0 ### Build Graph Latest - File: registry_of_all_content_in_repos_and_dependencies/scripts/build_graph_latest.py (Python, 143 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/registry_of_all_content_in_repos_and_dependencies/blob/2205a7abf98723f320f00aa4a0f6b648cf7109df/scripts/build_graph_latest.py#L1-L143 - Page: https://code.globalgrid2050.com/explore-code/s/1064.html#f2 - Synopsis: A Python command-line tool in the scripts folder of Registry Of All Content In Repos And Dependencies that reads sources. - What it achieves (comment): It is built from the repo kind helper (`repo_kind`), the repo layer helper (`repo_layer`) and the key files helper (`key_files`). Create `registry/graph_latest.json` for Spider Printer from `registry/latest.json`. - What it does: It loads sources. Defines repo_kind, repo_layer, key_files, main. Uses libraries __future__, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file latest.json; JSON file sources.json; JSON file graph_latest.json. - Downstream impact: Used directly by 1 file: Registry Workflow (registry_of_all_content_in_repos_and_dependencies). - Signatures: `repo_kind(name: str)`; `repo_layer(name: str)`; `key_files(files: list[dict])`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: auto - data_contracts: in [JSON file latest.json; JSON file sources.json; JSON file graph_latest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Kernel - File: registry_of_all_content_in_repos_and_dependencies/scripts/build_kernel.py (Python, 59 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/registry_of_all_content_in_repos_and_dependencies/blob/2205a7abf98723f320f00aa4a0f6b648cf7109df/scripts/build_kernel.py#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/1064.html#f3 - Synopsis: A Python command-line tool in the scripts folder of Registry Of All Content In Repos And Dependencies that reads sources and schema. It is built from the important step (`important`). - What it achieves (comment): Build compact `registry/kernel.json` from the authoritative registry snapshot. - What it does: It loads sources and schema. Defines important, main. Uses libraries __future__, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file latest.json; JSON file sources.json; JSON file .schema.json; JSON file kernel.json. Out: JSON file kernel.json. - Downstream impact: Used directly by 1 file: Registry Workflow (registry_of_all_content_in_repos_and_dependencies). - Signatures: `important(path: str)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: auto - data_contracts: in [JSON file latest.json; JSON file sources.json; JSON file .schema.json; JSON file kernel.json]; out [JSON file kernel.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Registry - File: registry_of_all_content_in_repos_and_dependencies/scripts/build_registry.py (Python, 458 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/registry_of_all_content_in_repos_and_dependencies/blob/2205a7abf98723f320f00aa4a0f6b648cf7109df/scripts/build_registry.py#L1-L458 - Page: https://code.globalgrid2050.com/explore-code/s/1065.html#f1 - Synopsis: A Python command-line tool in the scripts folder of Registry Of All Content In Repos And Dependencies that fetches registry repos, schema, sources and kernel from GitHub API. - What it achieves (comment): It reads scope config (`read_scope_config`), applies config scope (`apply_config_scope`) and validates scope completeness (`validate_scope_completeness`). Build the GlobalGrid2050 kernel registry. - What it does: It fetches registry repos, schema, sources and kernel. Defines 26 functions or classes, including utc_now, read_scope_config, config_repo_entries, apply_config_scope, unresolved_candidate_names. Uses libraries __future__, json, os, re, sys. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: GitHub API; JSON file registry_repos.json; JSON file .schema.json; JSON file sources.json; JSON file latest.json; JSON file graph_latest.json; JSON file kernel.json; SQLite database. Out: JSON file latest.json. - Downstream impact: Used directly by 3 files: Build Registry from Config (registry_of_all_content_in_repos_and_dependencies); Reconcile Registry (registry_of_all_content_in_repos_and_dependencies); Reconcile Registry from Config (registry_of_all_content_in_repos_and_dependencies). Reached from 1 other entry point, including Registry Workflow (registry_of_all_content_in_repos_and_dependencies). - Signatures: `utc_now()`; `read_scope_config()`; `config_repo_entries(cfg: dict[str, Any])`; `apply_config_scope()`; `unresolved_candidate_names(cfg: dict[str, Any])`; `expected_scope_from_config()`; `validate_scope_completeness(registry: dict[str, Any])`; `github_headers()`; `api_get_json(url: str)`; `repo_api(repo: str)`; `repo_html(repo: str)`; `blob_url(repo: str, branch: str, path: str)`; `raw_url(repo: str, branch: str, path: str)`; `classify_type(path: str)`; `classify_role(path: str)`; `classify_state(path: str, tree_item: dict[str, Any])`; `fetch_repo_tree(repo: str)`; `boot_sequence()`; `existing_versions()`; `read_latest()`; `next_version()`; `assemble_registry(version: int)`; `validate_registry(registry: dict[str, Any], expected_version: int)`; `render_markdown(registry: dict[str, Any])`; `write_registry(registry: dict[str, Any], version: int)` (and 1 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: auto - data_contracts: in [data source: GitHub API; JSON file registry_repos.json; JSON file .schema.json; JSON file sources.json; JSON file latest.json; JSON file graph_latest.json; JSON file kernel.json; SQLite database]; out [JSON file latest.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Build Registry from Config - File: registry_of_all_content_in_repos_and_dependencies/scripts/build_registry_from_config.py (Python, 30 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/registry_of_all_content_in_repos_and_dependencies/blob/2205a7abf98723f320f00aa4a0f6b648cf7109df/scripts/build_registry_from_config.py#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/1065.html#f2 - Synopsis: A Python command-line tool in the scripts folder of Registry Of All Content In Repos And Dependencies that reads registry repos. It loads scope (`load_scope`). - What it achieves (comment): Build the registry using `config/registry_repos.json` instead of the legacy hardcoded scope. - What it does: It loads registry repos. Defines load_scope, main. Uses libraries __future__, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file registry_repos.json. - Downstream impact: Used directly by 1 file: Registry Workflow (registry_of_all_content_in_repos_and_dependencies). - Signatures: `load_scope()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of registry_of_all_content_in_repos_and_dependencies/scripts/reconcile_registry_from_config.py) · essay_status: auto - data_contracts: in [JSON file registry_repos.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Reconcile Registry - File: registry_of_all_content_in_repos_and_dependencies/scripts/reconcile_registry.py (Python, 100 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/registry_of_all_content_in_repos_and_dependencies/blob/2205a7abf98723f320f00aa4a0f6b648cf7109df/scripts/reconcile_registry.py#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/1065.html#f3 - Synopsis: A Python command-line tool in the scripts folder of Registry Of All Content In Repos And Dependencies that writes receipt (`write_receipt`), counts live (`count_live`) and runs builder (`run_builder`). - What it achieves (comment): It is built from the utc now helper (`utc_now`), the latest pointer helper (`latest_pointer`) and the authoritative registry helper (`authoritative_registry`). Reconcile the authoritative registry against live GitHub repo trees. - What it does: It loads data. Defines 7 functions or classes, including utc_now, write_receipt, latest_pointer, authoritative_registry, count_live. Uses libraries __future__, json, subprocess, sys, datetime. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file latest.json. - Downstream impact: Used directly by 1 file: Reconcile Registry from Config (registry_of_all_content_in_repos_and_dependencies). Reached from 1 other entry point, including Registry Workflow (registry_of_all_content_in_repos_and_dependencies). - Signatures: `utc_now()`; `write_receipt(kind: str, payload: dict)`; `latest_pointer()`; `authoritative_registry()`; `count_live()`; `run_builder(reason: str, before: dict | None, live: dict | None)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: auto - data_contracts: in [JSON file latest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Reconcile Registry from Config - File: registry_of_all_content_in_repos_and_dependencies/scripts/reconcile_registry_from_config.py (Python, 35 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/registry_of_all_content_in_repos_and_dependencies/blob/2205a7abf98723f320f00aa4a0f6b648cf7109df/scripts/reconcile_registry_from_config.py#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/1065.html#f4 - Synopsis: A Python command-line tool in the scripts folder of Registry Of All Content In Repos And Dependencies that reads registry repos. It loads scope (`load_scope`). - What it achieves (comment): Reconcile the registry using `config/registry_repos.json`. - What it does: It loads registry repos. Defines load_scope, main. Uses libraries __future__, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file registry_repos.json. - Downstream impact: Used directly by 1 file: Registry Workflow (registry_of_all_content_in_repos_and_dependencies). - Signatures: `load_scope()`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file registry_repos.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Validate Kernel Outputs - File: registry_of_all_content_in_repos_and_dependencies/scripts/validate_kernel_outputs.py (Python, 134 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/registry_of_all_content_in_repos_and_dependencies/blob/2205a7abf98723f320f00aa4a0f6b648cf7109df/scripts/validate_kernel_outputs.py#L1-L134 - Page: https://code.globalgrid2050.com/explore-code/s/1066.html#f1 - Synopsis: A Python command-line tool in the scripts folder of Registry Of All Content In Repos And Dependencies that validates registry (`validate_registry`) and graph (`validate_graph`). - What it achieves (comment): It reads JSON (`read_json`) and validates kernel (`validate_kernel`). Validate the registry pointer, kernel export, and graph export. It reads `latest.json`. - What it does: It loads data. Defines 7 functions or classes, including fail, read_json, rel, validate_registry, validate_kernel. Uses libraries __future__, json, sys, pathlib, typing. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file latest.json. - Downstream impact: Used directly by 1 file: Registry Workflow (registry_of_all_content_in_repos_and_dependencies). - Signatures: `fail(message: str)`; `read_json(path: Path)`; `rel(path_str: str)`; `validate_registry(latest: dict[str, Any])`; `validate_kernel(latest: dict[str, Any], registry: dict[str, Any])`; `validate_graph(latest: dict[str, Any], registry: dict[str, Any])`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file latest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Federation - File: spiders/codex/build-plan/federation.mjs (JavaScript, 76 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/codex/build-plan/federation.mjs#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1066.html#f2 - Synopsis: A JavaScript module in the build plan folder of Spiders that validates plan (`validatePlan`) and compiles plan (`compilePlan`), using SHA-256. It validates plan (`validatePlan`) and compiles plan (`compilePlan`). - What it achieves (name): Defines `record`, `text`, `safePath` and 7 more. - What it does: It calculates its inputs. Defines 10 functions or classes, including record, text, safePath, canonical, hash. Uses libraries node:crypto. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file nodes.json; JSON file edges.json; JSON file evidence.json. - Downstream impact: Used directly by 2 files: Federation Test (spiders); Build (spiders). Reached from 1 other entry point, including Genome Workflow (spiders). - Signatures: `export validatePlan(plan)`; `export compilePlan(plan)`; `record(x)`; `text(x)`; `safePath(x)`; `canonical(x)`; `hash(x)`; `visit(id)`; `node(id,label,kind,extra={})`; `edge(from,to,kind,buildId,pointer,detail={})` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file nodes.json; JSON file edges.json; JSON file evidence.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Federation Test - File: spiders/codex/build-plan/federation.test.mjs (JavaScript, 16 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/codex/build-plan/federation.test.mjs#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/1066.html#f3 - Synopsis: A test in the build plan folder of Spiders that checks Federation, using SHA-256. - What it does: It tests its inputs. Uses libraries node:test. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Genome Workflow (spiders). - Signatures: `fixture()`; `migration()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Species — Federation Spider Page - File: spiders/species/federation-spider/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/federation-spider/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1066.html#f4 - Published at: https://ventusltd.github.io/spiders/species/federation-spider/ - Synopsis: A web page in Spiders using data from the data-federation-map-for-GlobalGrid2050-all-repos repository. Published at https://ventusltd.github.io/spiders/species/federation-spider/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 2 files: Spiders — Index Page (spiders, https://ventusltd.github.io/spiders/); Root Index — V Page (spiders, https://ventusltd.github.io/spiders/site_versions/root_index/v20260704/). Reached from 270 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://ventusltd.github.io/spiders/species/federation-spider/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 2; mentioned by 0 ### GlobalGrid2050 Build Project Identity V6 - File: testcode/backups/202611140031-repd-2026q3-pre-release/globalgrid2050/scripts/build_project_identity_v6.py (Python, 588 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/backups/202611140031-repd-2026q3-pre-release/globalgrid2050/scripts/build_project_identity_v6.py#L1-L588 - Page: https://code.globalgrid2050.com/explore-code/s/1066.html#f5 - Synopsis: A Python command-line tool in the scripts folder of Testcode that reads major projects, the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS), using SHA-256. - What it achieves (name): It splits refs (`split_refs`), loads manifest (`load_manifest`) and reads official rows (`read_official_rows`). Defines `clean`, `norm`, `numeric_sort` and 16 more. - What it does: It loads major projects, the REPD register, solar and battery storage (BESS). Defines 21 functions or classes, including clean, norm, numeric_sort, technology_category, lifecycle. Uses libraries __future__, csv, hashlib, io, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Inputs & outputs: In: JSON file project_identity_v6.json; JSON file major_projects_v6.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `clean(v)`; `norm(v)`; `numeric_sort(value)`; `technology_category(value)`; `lifecycle(status)`; `valid_planning_ref(value)`; `canon_header(v)`; `split_refs(v)`; `short_hash(value, n=16)`; `gg_project_id(repd_ref, row)`; `class UnionFind`; `__init__(self, values)`; `find(self, x)`; `union(self, a, b)`; `resolve(headers, *aliases)`; `load_manifest()`; `ensure_official_csv(manifest)`; `read_official_rows(path)`; `build_registry(rows, manifest, source_url)`; `build_public_snapshot(registry, manifest)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/scripts/build_project_identity_v6.py) · essay_status: readme_derived - data_contracts: in [JSON file project_identity_v6.json; JSON file major_projects_v6.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Validate Project Identity V6 - File: testcode/backups/202611140031-repd-2026q3-pre-release/globalgrid2050/scripts/validate_project_identity_v6.py (Python, 236 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/backups/202611140031-repd-2026q3-pre-release/globalgrid2050/scripts/validate_project_identity_v6.py#L1-L236 - Page: https://code.globalgrid2050.com/explore-code/s/1067.html#f2 - Synopsis: A Python module in the scripts folder of Testcode that reads project identity integrity, major projects, major project news and project news links, using SHA-256. - What it achieves (comment): It is built from the check step (`check`), the load step (`load`) and the clean step (`clean`). Validate V6 project/development identities and news relationships. - What it does: It loads project identity integrity, major projects, major project news and project news links. Defines check, load, clean, number. Uses libraries __future__, hashlib, json, math, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file project_identity_v6.json; JSON file major_projects_v6.json; JSON file major_project_news_v6.json; JSON file project_news_links_v6.json; JSON file project_identity_v6_integrity.json. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `check(condition, gate, detail="")`; `load(path)`; `clean(value)`; `number(value)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of globalgrid2050/scripts/validate_project_identity_v6.py) · essay_status: readme_derived - data_contracts: in [JSON file project_identity_v6.json; JSON file major_projects_v6.json; JSON file major_project_news_v6.json; JSON file project_news_links_v6.json; JSON file project_identity_v6_integrity.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Validate V6 Manifest Provenance - File: testcode/backups/202611140031-repd-2026q3-pre-release/globalgrid2050/scripts/validate_v6_manifest_provenance.py (Python, 76 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/backups/202611140031-repd-2026q3-pre-release/globalgrid2050/scripts/validate_v6_manifest_provenance.py#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1067.html#f3 - Synopsis: A Python module in the scripts folder of Testcode that reads the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). - What it achieves (comment): It is built from the need step (`need`) and the load step (`load`). Validate that V6 is bound to the reconciled, immutable Q2 2026 release. - What it does: It loads the REPD register, solar and battery storage (BESS). Defines need, load. Uses libraries __future__, json, pathlib, urllib.parse, repd_sources_v6. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS). - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `need(condition, message)`; `load(path: Path)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### BBC RSS Discovery - File: testcode/backups/202611140229-pipelinenews-before-repd-2026q3/files/.github/workflows/bbc-rss-discovery.yml (YAML, 55 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/backups/202611140229-pipelinenews-before-repd-2026q3/files/.github/workflows/bbc-rss-discovery.yml#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/1067.html#f4 - Synopsis: A configuration file in the backups folder of Testcode. Runs on a schedule and by hand. - What it achieves (comment): Runs `discovery/bbc_rss.py` and `tools/intelligence/reconcile-provisional.mjs`. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Reconcile Provisional - File: testcode/backups/202611140229-pipelinenews-before-repd-2026q3/files/tools/intelligence/reconcile-provisional.mjs (JavaScript, 33 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/backups/202611140229-pipelinenews-before-repd-2026q3/files/tools/intelligence/reconcile-provisional.mjs#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1067.html#f5 - Synopsis: A JavaScript module in the intelligence folder of Testcode that reads project register, using SHA-256. - What it does: It loads project register. Uses libraries node:fs, node:crypto. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file project-register.json; command-line arguments. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file project-register.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Release Builder - File: testcode/backups/202611140229-pipelinenews-before-repd-2026q3/files/tools/intelligence/release_builder.py (Python, 919 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/backups/202611140229-pipelinenews-before-repd-2026q3/files/tools/intelligence/release_builder.py#L1-L919 - Page: https://code.globalgrid2050.com/explore-code/s/1068.html#f1 - Synopsis: A Python command-line tool in the intelligence folder of Testcode that reads cartridge and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It normalises lf (`normalise_to_lf`), refreshes sha256 sidecars (`refresh_sha256_sidecars`) and refreshes build manifest (`refresh_build_manifest`). PipelineNews release builder — one timestamp, one discovery cartridge. It accepts `--list`, `--from` and `--cartridge`. - What it does: It loads cartridge and the REPD register. Defines 22 functions or classes, including utc_stamp, sha256_file, sha256_published, published_bytes, published_size. Uses libraries argparse, atexit, contextlib, datetime, hashlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file 202608291447-registry.json; JSON file build-manifest.json; JSON file cartridge.json; JSON file release-manifest.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `utc_stamp()`; `sha256_file(path)`; `sha256_published(path)`; `published_bytes(path)`; `published_size(path)`; `read(p)`; `write(p, t)`; `walk(root)`; `normalise_to_lf(root)`; `refresh_sha256_sidecars(target)`; `refresh_build_manifest(target, release_id)`; `visit(node)`; `apply_once(text, old, new, label, expect=1)`; `releases()`; `cmd_list()`; `cartridge_keys(release_id)`; `cmd_applicable(parent_id)`; `cmd_build(parent_id, cartridge_name, gen, atlas_target)`; `_discard_partial()`; `sub(text)`; `cmd_check(release_id)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file 202608291447-registry.json; JSON file build-manifest.json; JSON file cartridge.json; JSON file release-manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Renewable Energy Planning Database (REPD) Rows - File: testcode/drivers/repd-rows.mjs (JavaScript, 250 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/drivers/repd-rows.mjs#L1-L250 - Page: https://code.globalgrid2050.com/explore-code/s/1069.html#f2 - Synopsis: A JavaScript module in the drivers folder of Testcode that reads REPD rows and the REPD register. - What it achieves (comment): It is built from the check step (`check`), the note step (`note`) and the rank step (`rank`). Every REPD row on every surface the estate publishes, and the link it should have. - What it does: It loads REPD rows and the REPD register. Defines check, note, rank, partsDirOf, declaredCounts. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. README: "Every run saves all six immutable checkout SHAs in `estate-inputs.json` alongside `testcode-run.json`, `link-targets.json` and `repd-rows.json`." - Inputs & outputs: In: command-line arguments. Out: JSON file repd-rows.json. - Signatures: `check(name, ok, detail = '')`; `note(name, detail)`; `rank(n)`; `partsDirOf(dir)`; `declaredCounts(surfaceDir)`; `expected(JSON.parse(readFileSync(path.join(contractsDir, name), 'utf8')).expected)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file repd-rows.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Sandbox — Pipeline Page - File: testcode/sandbox/202609052028/pipeline/index.html (HTML, 150 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609052028/pipeline/index.html#L1-L150 - Page: https://code.globalgrid2050.com/explore-code/s/1069.html#f3 - Synopsis: A web page in Testcode that reads inputs for news, county and sort projects (units: MW), covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). - What it achieves (comment): The deep-link contract this page verifies its MAP receiver against lives on a second origin. Its code works with 1 MW. - What it does: It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/v7.css?v=9.7. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, solar, battery storage (BESS). README: "The publication checkout is sparse: `index.html` and the complete `uk_renewables_pipeline/` tree." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 9 estate files (stylesheet 6, script-src 3); used by 0; mentioned by 0 ### Teleprinter Bootstrap - File: testcode/sandbox/202609052028/pipeline/teleprinter-bootstrap.js (JavaScript, 11 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609052028/pipeline/teleprinter-bootstrap.js#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/1069.html#f4 - Synopsis: A JavaScript module in the pipeline folder of Testcode that draws pipeline pin and pipeline code. - What it does: It draws pipeline pin and pipeline code. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file pipeline-source-pin.json; JSON file pipeline-source-code.manifest.json. - Downstream impact: Used directly by 1 file: Sandbox — Pipeline Page (testcode). - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file pipeline-source-pin.json; JSON file pipeline-source-code.manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Registry - File: testcode/sandbox/capsules/tool-layers/registry.mjs (JavaScript, 42 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/tool-layers/registry.mjs#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1069.html#f5 - Synopsis: A JavaScript module in the tool layers folder of Testcode that resolves actual composed destinations; historical navigation declarations remain separate. - What it achieves (readme): It builds navigation registry (`buildNavigationRegistry`) and is built from the pin step (`pin`) and the identity step (`identity`). The README says: `registry.mjs` resolves explicit current tool pins before retained historical bundles and also identifies unlaunched DC/AC review. - What it does: It calculates its inputs. Defines buildNavigationRegistry, pin, identity, entryFor. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`registry.mjs` resolves explicit current tool pins before retained historical bundles and also identifies unlaunched DC/AC review." - Downstream impact: Used directly by 2 files: Registry Test (testcode); Build (testcode). Reached from 3 other entry points, including Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `export buildNavigationRegistry(config)`; `pin(owner)`; `identity(owner)`; `entryFor(app)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Registry Test - File: testcode/sandbox/capsules/tool-layers/registry.test.mjs (JavaScript, 55 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/tool-layers/registry.test.mjs#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/1070.html#f1 - Synopsis: A test in the tool layers folder of Testcode that checks Registry. It is built from the fixture step (`fixture`). - What it achieves (name): Defines `app`, `owner`, `tool` and 1 more. - What it does: It tests solar and battery storage (BESS). Defines app, owner, tool, fixture. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 3 files: Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `app(id)`; `owner(char,apps)`; `tool(id,pin,title=id)`; `fixture()` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Dashboard - File: ventus-grid-engine/assets/dashboard.js (JavaScript, 5 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/assets/dashboard.js#L1-L5 - Page: https://code.globalgrid2050.com/explore-code/s/1070.html#f2 - Synopsis: A JavaScript file in the assets folder of Ventus Grid Engine that keeps existing engine-map bookmarks working after introducing the dashboard. - What it achieves (name): It responds to input events. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 0; mentioned by 0 ### Ventus Corev8engine Exact Renewable Energy Planning Database (REPD) Delegation Excerpt - File: ventus-grid-engine/sources/deeplink-extracts/receiver/ventus-corev8engine-exact-repd-delegation.excerpt.js (JavaScript, 102 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/sources/deeplink-extracts/receiver/ventus-corev8engine-exact-repd-delegation.excerpt.js#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/1070.html#f3 - Synopsis: A JavaScript file in the receiver folder of Ventus Grid Engine covering elizabeth line, london underground, UK metros trams and HS2. - What it achieves (comment): `head_sha` (GridAtlas): (repo HEAD, file unchanged since) lines: 61-90 and 796-840 (two ranges from the same file, concatenated). - What it does: Defines focusCanonicalProjectDeepLink. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson. - Signatures: `focusCanonicalProjectDeepLink()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file elizabeth_line.geojson; GeoJSON file london_underground.geojson; GeoJSON file uk_metros_trams.geojson; GeoJSON file hs2.geojson]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Dashboard - File: ventus-grid-engine/tools/build-dashboard.py (Python, 21 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/tools/build-dashboard.py#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1070.html#f4 - Synopsis: A Python module in the tools folder of Ventus Grid Engine that reads solar. - What it achieves (comment): Render the static dashboard from its small, reviewed live-route catalogue. - What it does: It loads solar. Uses libraries pathlib, html, json, urllib.parse. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (topic 'markets-data'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file dashboard.json; form fields (user input). - Downstream impact: Used directly by 1 file: Dashboard Review Workflow (ventus-grid-engine). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file dashboard.json; form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Cosmic — Index Page - File: cosmic/index.html (HTML, 1018 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/index.html#L1-L1018 - Page: https://code.globalgrid2050.com/explore-code/s/1071.html#f1 - Published at: https://ventusltd.github.io/cosmic/ - Synopsis: A web page that makes accumulator (`makeAccumulator`), loads rows (`loadRows`), finds ordinal (`findByOrdinal`) and calculates planar distances. Published at https://ventusltd.github.io/cosmic/. - What it achieves (name): It makes accumulator (`makeAccumulator`), loads rows (`loadRows`) and finds ordinal (`findByOrdinal`). Defines `fmt`, `words`, `build` and 26 more. It responds to webglcontextlost, resize and pointerdown events. - What it does: It draws its content. Defines 31 functions or classes, including fmt, words, build, mk, makeAccumulator. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: JSON file universe.json; form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/cosmic/. - Signatures: `fmt(n)`; `words(n)`; `build(vs, fs)`; `mk(t, src)`; `makeAccumulator()`; `whitePoint()`; `U(n)`; `restart()`; `sizes(children, P)`; `spacing(n === 1)`; `explicit(children, cx, cy, P)`; `e(M && M.extent_mm)`; `areal(children, cx, cy, P)`; `grid(children, cx, cy, P)`; `loadRows(url, depth)`; `requestChildren(node)`; `ensureChildren(node)`; `cumulate(rows)`; `findByOrdinal(rows, k)`; `leafPosition(node, m)`; `k32(node.seed + m)`; `fx(Math.imul(k32, 3242174889) >>> 0)`; `fy(Math.imul(k32, 2447445413) >>> 0)`; `collapseTo(k)`; `resize()` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file universe.json; form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Belt Split - File: cosmic/tools/belt_split.py (Python, 130 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/belt_split.py#L1-L130 - Page: https://code.globalgrid2050.com/explore-code/s/1072.html#f2 - Synopsis: A Python command-line tool in the tools folder of Cosmic that reads meta. - What it achieves (comment): It finds repos (`find_repos`) and is built from the git step (`git`) and the lines of helper (`lines_of`). Split the estate's line count by repository, exactly. It accepts `--roots` and `--out`. - What it does: It loads meta. Defines git, lines_of, batch_count, find_repos, main. Uses libraries argparse, json, os, subprocess, sys. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file -meta.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `git(d, args, binary=False)`; `lines_of(body, size)`; `batch_count(d, shas)`; `find_repos(root)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file -meta.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Clusters - File: cosmic/tools/clusters.py (Python, 200 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/clusters.py#L1-L200 - Page: https://code.globalgrid2050.com/explore-code/s/1072.html#f3 - Synopsis: A Python command-line tool in the tools folder of Cosmic that reads belt meta. - What it achieves (comment): It is built from the git step (`git`), the lines of helper (`lines_of`) and the batch count helper (`batch_count`). The estate as a hierarchy, measured at every level. It accepts `--roots` and `--out`. - What it does: It loads belt meta. Defines git, lines_of, batch_count, main. Uses libraries argparse, json, os, subprocess, sys. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file belt-meta.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `git(d, args)`; `lines_of(body, size)`; `batch_count(d, shas)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file belt-meta.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Agentdocs - File: cosmic/tools/explore/agentdocs.py (Python, 924 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/agentdocs.py#L1-L924 - Page: https://code.globalgrid2050.com/explore-code/s/1073.html#f1 - Synopsis: A Python module in the explore folder of Cosmic that maps composer, jsconfig, 33kV and substations, using EPSG:27700 and EPSG:4326. - What it achieves (name): It splits parts (`split_parts`), sizes label (`size_label`) and finds step (`find_step`). Defines `words_of`, `voltages_in`, `crs_in` and 28 more. Its code works with 33 kV, 132 kV and 11 kV. - What it does: It maps composer, jsconfig, 33kV and substations. Defines 41 functions or classes, including words_of, _stage_from_words, voltages_in, crs_in, _add. Uses libraries collections, hashlib, html, posixpath, re. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: 33kV, substations, 400kV, 275kV, 132kV, 11kV. - Inputs & outputs: In: browser storage (getItem); browser IndexedDB; DuckDB queries; user-supplied file (file picker); form fields (user input); command-line arguments. Out: CSV file x.csv; downloaded file x.csv; interactive map; SVG drawing. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326, Web Mercator / EPSG:3857, ETRS89 / EPSG:4258, UTM. Voltage levels named: 400kV, 275kV, 132kV, 33kV, 11kV, 11kV/400V, 6.6kV, 1500V. - Downstream impact: Used directly by 3 files: Build (cosmic); Test Agentdocs (cosmic); Test Build (cosmic). Reached from 3 other entry points, including Cadastre 27 (cosmic); Ship (cosmic); Test Ship (cosmic). - Signatures: `words_of(s)`; `_stage_from_words(words)`; `voltages_in(low, extra='')`; `crs_in(low)`; `_add(xs, x, cap=8)`; `data_contracts_of(f, sources=())`; `contracts_words(dc)`; `domain_stage_of(repo, path_words, topic, voltages)`; `commercial_users_of(stage, words)`; `_norm_hash(text)`; `canonical_statuses(files, dependents, core_repos)`; `nlines(f)`; `rank(i)`; `entry_reach(links, entries)`; `_params_at(text, pos, cap=300)`; `_clean_params(p)`; `signatures_of(path, text, exports=(), leaks=lambda s: 0, cap=40)`; `_join(xs)`; `what_it_does(verb, objects, defines, ext_imports, effects, kind='')`; `why_it_exists(stage, stage_evidence, domain_terms, readme_sentence)`; `compact_four_part(parts, stage)`; `downstream_impact(fid, files, dependents, reached_by, published='')`; `name(j)`; `four_part_html(parts)`; `shard_block(f, base, page_url, gh_url)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [browser storage (getItem); browser IndexedDB; DuckDB queries; user-supplied file (file picker); form fields (user input); command-line arguments]; out [CSV file x.csv; downloaded file x.csv; interactive map; SVG drawing]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326; Web Mercator / EPSG:3857; ETRS89 / EPSG:4258; UTM]; voltages [400kV, 275kV, 132kV, 33kV, 11kV, 11kV/400V, 6.6kV, 1500V] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Arena - File: cosmic/tools/explore/bigbang/arena.py (Python, 338 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/bigbang/arena.py#L1-L338 - Page: https://code.globalgrid2050.com/explore-code/s/1074.html#f2 - Synopsis: A Python command-line tool in the bigbang folder of Cosmic that reads build graph, games and translations, using Bradley-Terry and SHA-256. - What it achieves (comment): It loads players (`load_players`), runs player (`run_player`) and loads cache (`load_cache`). Big Bang translation tournament (ARBITER: TALLY-58). It accepts `--n`, `--players` and `--out`. - What it does: It loads build graph, games and translations. Defines 16 functions or classes, including load_players, Corpus, __init__, prep, key. Uses libraries argparse, hashlib, importlib.util, json, math. Side effects: reads or writes files. - Inputs & outputs: In: JSON file build_graph.json; JSON file translations.json; command-line arguments. Out: JSON file games.json. - Downstream impact: Used directly by 3 files: Test Primer 48 (cosmic); Test Arena (cosmic); Extras (cosmic). Reached from 3 other entry points, including Ship (cosmic); Test Extras (cosmic); Test Ship (cosmic). - Signatures: `load_players(names=None)`; `class Corpus`; `__init__(self, graph=GRAPH, src=SRC)`; `prep(self, i)`; `key(self, i)`; `readable(self, i)`; `sample(self, seed, n=60)`; `run_player(mod, rec, src)`; `bt_elo(players, games, iters=200)`; `_sha(path)`; `player_hash(mod)`; `load_cache(cache_dir, name, mod)`; `tournament(corpus, players, n=60, log=print, cache_dir=None)`; `crosstable(names, games)`; `write(out_dir, corpus, players, games, trans, fails)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file translations.json; command-line arguments]; out [JSON file games.json]; crs []; voltages [] - Edges: uses 3 estate files (import 2, sys-path 1); used by 3; mentioned by 0 ### Describe Bigbang - File: cosmic/tools/explore/bigbang/describe_bigbang.py (Python, 374 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/bigbang/describe_bigbang.py#L1-L374 - Page: https://code.globalgrid2050.com/explore-code/s/1075.html#f1 - Synopsis: A Python module in the explore folder of Cosmic that works with function clauses (`function_clauses`) and io facts (`io_facts`) (units: kV), using haversine and Newton-Raphson. - What it achieves (comment): It describes bigbang (`describe_bigbang`) and is built from the specifics step (`specifics`) and the first step (`first`). Distilled Big Bang translation rules (arbiter TALLY-58). Its code works with 400 kV. - What it does: It calculates its inputs. Defines 17 functions or classes, including _verb_clause, function_clauses, specifics, _plain_ok, _cap_words. Uses libraries os, re, sys. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: Coordinate systems named: Web Mercator / EPSG:3857. Voltage levels named: 400kV. - Downstream impact: Used directly by 2 files: Arena (cosmic); Test Describe Bigbang (cosmic). Reached from 4 other entry points, including Extras (cosmic); Ship (cosmic); Test Extras (cosmic). - Signatures: `_verb_clause(name)`; `function_clauses(defines, src, title='', n=3)`; `specifics(src)`; `_plain_ok(s)`; `_cap_words(s, n)`; `_sentence(s)`; `_short_sentences(text, max_words=28, n=2)`; `_place(ev, rec)`; `io_facts(src, kind='')`; `first(rxs, n)`; `units_with_numbers(src, n=3)`; `helper_clause(name)`; `main_names(defines, src, n=6)`; `describe_bigbang(ev, src, rec=None)`; `_bad(s, evt, src)`; `_guard(out, ev, src, rec)`; `translate(rec, src)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs [Web Mercator / EPSG:3857]; voltages [400kV] - Edges: uses 1 estate file (sys-path 1); used by 2; mentioned by 0 ### Judge - File: cosmic/tools/explore/bigbang/judge.py (Python, 240 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/bigbang/judge.py#L1-L240 - Page: https://code.globalgrid2050.com/explore-code/s/1075.html#f2 - Synopsis: A Python module in the bigbang folder of Cosmic that uses haversine and Vincenty. - What it achieves (comment): It is built from the main functions helper (`main_functions`), the explained step (`explained`) and the sentence case off helper (`sentence_case_off`). Deterministic scoring of one translation (Big Bang arena, TALLY-58). - What it does: It calculates its inputs. Defines 8 functions or classes, including _words, main_functions, _plain_words, explained, _occurs. Uses libraries os, re, sys. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326, Web Mercator / EPSG:3857. - Downstream impact: Used directly by 3 files: Arena (cosmic); Test Arena (cosmic); Test Describe Bigbang (cosmic). Reached from 4 other entry points, including Extras (cosmic); Ship (cosmic); Test Extras (cosmic). - Signatures: `_words(t)`; `main_functions(rec, n=6)`; `_plain_words(name)`; `explained(name, text)`; `_occurs(ident, src)`; `sentence_case_off(text)`; `score(out, rec, src, evidence)`; `move(sw, sb, eps=0.25)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326; Web Mercator / EPSG:3857]; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 3; mentioned by 0 ### Cadastre 27 - File: cosmic/tools/explore/bigbang/rules/CADASTRE-27.py (Python, 585 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/bigbang/rules/CADASTRE-27.py#L1-L585 - Page: https://code.globalgrid2050.com/explore-code/s/1076.html#f1 - Synopsis: A Python command-line tool in the rules folder of Cosmic that reads build graph and dictionary, using haversine and Vincenty. - What it achieves (comment): It is built from the rank step (`rank`) and the translate step (`translate`). ESTATE CONTEXT rule set for the big bang translation tournament. - What it does: It loads build graph and dictionary. Defines 26 functions or classes, including _graph, _dictionary, _readme_for, _words, _area. Uses libraries collections, json, os, posixpath, re. Side effects: reads or writes files. - Inputs & outputs: In: JSON file build_graph.json; JSON file dictionary.json; command-line arguments. Coordinate systems named: WGS84 / EPSG:4326, Web Mercator / EPSG:3857. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `_graph()`; `_dictionary()`; `_readme_for(repo, d)`; `_words(seg)`; `_area(path, skip='')`; `_first_sentence(text, cap=32)`; `_plain(name)`; `_short(name)`; `_fact(rec, text)`; `_connections(rec)`; `rank(u)`; `_family(rec)`; `_dict_word(rec, text)`; `_uniq(xs)`; `_cap(s)`; `_clip_words(s, n)`; `_verb3(w)`; `_func_doc(name, text, path)`; `_doc_clause(raw, name)`; `_params(name, rec, text)`; `_explain(name, rec, text)`; `_main_functions(rec, text)`; `_context_sentence(para)`; `_code_terms(text, already)`; `_sent(lead, link, body)` (and 1 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file dictionary.json; command-line arguments]; out []; crs [WGS84 / EPSG:4326; Web Mercator / EPSG:3857]; voltages [] - Edges: uses 2 estate files (sys-path 2); used by 0; mentioned by 0 ### Primer 48 - File: cosmic/tools/explore/bigbang/rules/PRIMER-48.py (Python, 464 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/bigbang/rules/PRIMER-48.py#L1-L464 - Page: https://code.globalgrid2050.com/explore-code/s/1077.html#f1 - Synopsis: A Python module in the rules folder of Cosmic that maps cables, overhead lines (OHL) and solar, using haversine and Dijkstra. - What it achieves (comment): It is built from the main functions helper (`main_functions`) and the translate step (`translate`). Big Bang rule writer, strategy PLAIN LEARNER. - What it does: It maps cables, overhead lines (OHL) and solar. Defines 19 functions or classes, including _words, _short_title, _deraw, _sent, _gloss. Uses libraries os, re, sys. - Why it exists in the grid workflow: Domain terms in the code: cables, overhead lines (OHL), solar. - Inputs & outputs: In: DuckDB queries. Out: downloaded file downloads. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Signatures: `_words(s)`; `_short_title(t)`; `_deraw(text, evt)`; `_sent(s)`; `_gloss(text, seen, limit=2)`; `_verb_phrase(name)`; `main_functions(rec, n=6)`; `_verbify(sentence)`; `_first_sentence(text, cap=26)`; `_what(ev, rec, title)`; `_why(rec)`; `_helper_phrase(d)`; `_steps(rec, src)`; `_terms(src)`; `_readme_line(rec, title)`; `_evidence(rec, src)`; `_invented(text, evt)`; `_ok(sentence, evt, src)`; `translate(rec, src)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out [downloaded file downloads]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 0; mentioned by 0 ### TRUSS 47 - File: cosmic/tools/explore/bigbang/rules/TRUSS-47.py (Python, 790 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/bigbang/rules/TRUSS-47.py#L1-L790 - Page: https://code.globalgrid2050.com/explore-code/s/1078.html#f1 - Synopsis: A Python module in the rules folder of Cosmic that cleans name (`clean_name`) and groups steps (`group_steps`) (units: mm², MVA, MW), using haversine and Vincenty. - What it achieves (comment): It joins list (`join_list`) and is built from the words step (`words`) and the ext of helper (`ext_of`). TRUSS-47 rule set (Big Bang tournament player): STRUCTURE strategy. - What it does: It draws its content. Defines 30 functions or classes, including words, clean_name, ext_of, defined_functions, call_counts. Uses libraries re. Side effects: changes the web page (DOM); makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: form fields (user input). Out: SVG drawing. Coordinate systems named: WGS84 / EPSG:4326, Web Mercator / EPSG:3857. - Signatures: `words(name)`; `clean_name(s)`; `ext_of(path)`; `defined_functions(src, lang, defines)`; `call_counts(src, names)`; `entry_order(src, lang, funcs)`; `phrase_for(name, title_words)`; `join_list(xs)`; `structure(rec, src)`; `code_terms(src, budget_mixed=2)`; `main_functions(rec)`; `q(name)`; `clause(group)`; `group_steps(steps)`; `_old_group_steps(steps)`; `nwords(s)`; `folder_phrase(rec)`; `translate(file_record, source_text)`; `workflow_parts(src, rec)`; `css_parts(src)`; `page_parts(src)`; `config_keys(src, rec)`; `pad_parts(src, rec, s, parts)`; `context_sentence(rec, title)`; `function_roles(src, lang, names)` (and 5 more) - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [SVG drawing]; crs [WGS84 / EPSG:4326; Web Mercator / EPSG:3857]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Baseline - File: cosmic/tools/explore/bigbang/rules/baseline.py (Python, 22 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/bigbang/rules/baseline.py#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/1079.html#f2 - Synopsis: A Python module in the rules folder of Cosmic. It is built from the translate step (`translate`). - What it achieves (comment): The current `tools/explore/describe.py` output, as a Big Bang player (owned by TALLY-58, arbiter). - What it does: It calculates its inputs. Defines translate. Uses libraries os, sys. - Signatures: `translate(rec, src)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 0; mentioned by 0 ### Test Cadastre 27 - File: cosmic/tools/explore/bigbang/rules/test_CADASTRE-27.py (Python, 135 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/bigbang/rules/test_CADASTRE-27.py#L1-L135 - Page: https://code.globalgrid2050.com/explore-code/s/1079.html#f3 - Synopsis: A test in the rules folder of Cosmic that checks Describe. It builds tables (`build_tables`) and is built from the run step (`run`) and the rec step (`rec`). - What it achieves (comment): Tests for `bigbang/rules/CADASTRE-27.py` (ESTATE CONTEXT player). - What it does: It tests solar and substations. Defines 15 functions or classes, including build_tables, run, rec, test_shape_and_determinism, test_synopsis_leads_with_estate_context. Uses libraries importlib.util, json, os, re, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar, substations. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `build_tables(config, data_dir)`; `run(cmd, args)`; `rec(**kw)`; `test_shape_and_determinism()`; `test_synopsis_leads_with_estate_context()`; `test_quoted_identifiers_occur_in_source()`; `test_function_explained_from_doc_comment()`; `test_function_explained_from_params()`; `test_no_timestamp_or_date_in_text()`; `test_area_strips_stamps_and_generic_folders()`; `test_long_descriptor_repo_title_replaced()`; `test_context_sentence_filters()`; `test_no_religious_words_in_own_phrasing()`; `test_never_invents_on_graph_sample()`; `_readmes(r)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 0; mentioned by 0 ### Test Primer 48 - File: cosmic/tools/explore/bigbang/rules/test_PRIMER-48.py (Python, 105 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/bigbang/rules/test_PRIMER-48.py#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/1079.html#f4 - Synopsis: A test in the rules folder of Cosmic that checks Arena. - What it achieves (comment): Tests for PRIMER-48 (plain learner). Its code works with 33 kV and 20 MW. - What it does: It tests cables, battery storage (BESS) and 33kV. Defines 10 functions or classes, including _rec, test_shape_and_determinism, test_never_invents_and_quotes_only_source, test_functions_explained_in_plain_verbs, test_units_get_plain_meaning. Uses libraries importlib.util, json, os, re, sys. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, battery storage (BESS), 33kV. - Inputs & outputs: In: JSON file build_graph.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. Voltage levels named: 33kV. - Signatures: `_rec(**kw)`; `test_shape_and_determinism()`; `test_never_invents_and_quotes_only_source()`; `test_functions_explained_in_plain_verbs()`; `test_units_get_plain_meaning()`; `test_why_it_matters_only_with_dependents()`; `test_glossary_meanings_are_lower_case_and_used_once()`; `test_imperative_comment_becomes_third_person()`; `test_no_religious_terms()`; `test_real_graph_sample_no_invented()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [33kV] - Edges: uses 1 estate file (sys-path 1); used by 0; mentioned by 0 ### Test TRUSS 47 - File: cosmic/tools/explore/bigbang/rules/test_TRUSS-47.py (Python, 127 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/bigbang/rules/test_TRUSS-47.py#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/1079.html#f5 - Synopsis: A test in the rules folder of Cosmic that checks Describe. It loads cables (`load_cables`) and writes table (`write_table`). - What it achieves (comment): Tests for the TRUSS-47 Big Bang player (STRUCTURE strategy). It reads `data/prices.json` and writes `table.csv`. It accepts `--input`. - What it does: It tests cables. Defines 12 functions or classes, including load_cables, voltage_drop, write_table, main, _check. Uses libraries importlib.util, os, re, sys, argparse. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: JSON file prices.json; JSON file cables.json; CSV file table.csv; command-line arguments. Out: CSV file table.csv; canvas drawing. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `load_cables(path)`; `voltage_drop(i, r)`; `write_table(rows)`; `main()`; `_check(out, src, rec)`; `test_js_structure_sentence()`; `test_js_events_and_context()`; `test_python_cli_reads_and_writes()`; `test_role_from_body_for_noun_names()`; `test_workflow()`; `test_style_sheet_and_empty()`; `test_deterministic_and_no_religious_terms()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file prices.json; JSON file cables.json; CSV file table.csv; command-line arguments]; out [CSV file table.csv; canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 0; mentioned by 0 ### Test Arena - File: cosmic/tools/explore/bigbang/test_arena.py (Python, 118 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/bigbang/test_arena.py#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/1079.html#f6 - Synopsis: A test in the bigbang folder of Cosmic that checks Arena and Judge, using IEC 60287. It is built from the good step (`good`). - What it achieves (comment): Tests for the Big Bang arena and judge (TALLY-58). - What it does: It tests cables. Defines 13 functions or classes, including good, test_good_scores_and_counts_specifics, test_bare_define_list_counts_half, test_invented_proper_noun_is_hard_fail, test_quoted_identifier_not_in_source_is_hard_fail. Uses libraries os, sys, types. - Why it exists in the grid workflow: Domain terms in the code: cables. - Signatures: `good()`; `test_good_scores_and_counts_specifics()`; `test_bare_define_list_counts_half()`; `test_invented_proper_noun_is_hard_fail()`; `test_quoted_identifier_not_in_source_is_hard_fail()`; `test_malformed_and_empty()`; `test_plainness_penalises_dumps_and_status()`; `test_move_rules()`; `test_bt_elo_orders_players()`; `test_crosstable_points()`; `test_sample_is_seeded_stratified_and_baseline_clean()`; `test_player_error_is_contained()`; `test_backtick_list_is_a_dump()` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Test Describe Bigbang - File: cosmic/tools/explore/bigbang/test_describe_bigbang.py (Python, 55 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/bigbang/test_describe_bigbang.py#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/1079.html#f7 - Synopsis: A test in the explore folder of Cosmic that checks Describe Bigbang and Judge, using IEC 60287 and SHA-256. It is built from the out step (`out`). - What it achieves (comment): Tests for `describe_bigbang.py` (TALLY-58). Its code works with 33 kV. It writes `ratings.json`. It accepts `--cable`. - What it does: It tests cables and 33kV. Defines 7 functions or classes, including out, test_verb_clause_and_helper, test_specifics_use_source_spelling, test_io_facts, test_output_is_honest_and_scored_well. Uses libraries os, re, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 33kV. - Inputs & outputs: In: JSON file ratings.json; command-line arguments. Out: JSON file ratings.json. Voltage levels named: 33kV. - Signatures: `out()`; `test_verb_clause_and_helper()`; `test_specifics_use_source_spelling()`; `test_io_facts()`; `test_output_is_honest_and_scored_well()`; `test_guard_drops_invented_sentence()`; `test_deterministic()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file ratings.json; command-line arguments]; out [JSON file ratings.json]; crs []; voltages [33kV] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Build - File: cosmic/tools/explore/build.py (Python, 3776 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/build.py#L1-L3776 - Page: https://code.globalgrid2050.com/explore-code/s/1080.html#f1 - Synopsis: A Python command-line tool in the explore folder of Cosmic that maps dictionary and build graph, using EPSG:27700 and EPSG:4326, and uses data from the GridAtlas, ventus-grid-engine and SatNav repositories. - What it achieves (readme): It loads leaks (`load_leaks`), loads essays (`load_essays`) and cleans key (`clean_key`). The README says: `build.py` is the method. Its code works with 132 kV, 33 kV and 11 kV. It writes `words/index.html`. - What it does: It maps dictionary, build graph, words and solar. Defines 114 functions or classes, including words_of, git, ext, slug, load_leaks. Uses libraries argparse, collections, datetime, fnmatch, html. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: solar, 132kV, 33kV, 11kV, 11kV/400V, 400V. README: "`build.py` is the method" - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: satnav data; data source: solar-electrical-topology-analysis-engine-text-based data; JSON file dictionary.json; JSON file build_graph.json; Parquet file code.parquet; Parquet file words.parquet. Out: Parquet file; JSON file; interactive map; SVG drawing. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326, Web Mercator / EPSG:3857, ETRS89 / EPSG:4258. Voltage levels named: 132kV, 33kV, 11kV, 11kV/400V, 400V. - Downstream impact: Used directly by 3 files: Cadastre 27 (cosmic); Ship (cosmic); Test Build (cosmic). Reached from 1 other entry point, including Test Ship (cosmic). - Signatures: `words_of(s)`; `git(d, *a, binary=False)`; `ext(path)`; `slug(s)`; `load_leaks(kuiper_tools)`; `_tokens(s)`; `humanise(*parts)`; `kind_of(path, lines=None)`; `_spell(s)`; `name_words(path)`; `stamp_note(path)`; `_phrased(title)`; `_is_term(s)`; `title_parts(repo, path, lines=None)`; `title_of(repo, path, lines=None)`; `repo_title(repo)`; `md_strip(t)`; `trim(t, n=400)`; `front_matter(text)`; `_readme_paragraphs(text)`; `flush()`; `_readme_usable(p)`; `readme_score(plain, heading='', names=(), opening=False, lead=False)`; `readme_pick(text, repo='')`; `readme_summary(text, repo='')` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: satnav data; data source: solar-electrical-topology-analysis-engine-text-based data; JSON file dictionary.json; JSON file build_graph.json; Parquet file code.parquet; Parquet file words.parquet]; out [Parquet file; JSON file; interactive map; SVG drawing]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326; Web Mercator / EPSG:3857; ETRS89 / EPSG:4258]; voltages [132kV, 33kV, 11kV, 11kV/400V, 400V] - Edges: uses 5 estate files (estate-url 3, import 2); used by 3; mentioned by 0 ### Board - File: cosmic/tools/explore/chess/board.py (Python, 331 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/chess/board.py#L1-L331 - Page: https://code.globalgrid2050.com/explore-code/s/1085.html#f2 - Synopsis: A Python command-line tool in the chess folder of Cosmic that reads build graph, using Louvain and PageRank. It loads JSON (`load_json`), labels propagation (`label_propagation`) and makes labels (`make_labels`). - What it achieves (comment): Code chess board: assigns 32 code communities to the 32 chess pieces (writes `board.json`, `CONTRACT.md` v1). It accepts `--graph`, `--lab` and `--out`. - What it does: It loads build graph. Defines 11 functions or classes, including load_json, edge_lists, label_propagation, lab_communities, pagerank. Uses libraries argparse, json, math, os, re. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file build_graph.json; JSON file board.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 5 files: Page (cosmic); Test Board (cosmic); Test No Tmp (cosmic); CI Chess Gate (cosmic); and 1 more. Reached from 4 other entry points, including Ship (cosmic); Test Extras (cosmic); Test Page (cosmic). - Signatures: `load_json(path)`; `edge_lists(graph)`; `label_propagation(n, arcs)`; `lab_communities(path, graph)`; `pagerank(n, weighted_arcs, d=0.85, tol=1e-12, max_iter=200)`; `words_ok(w)`; `make_labels(comms, files)`; `top_repo(members, files)`; `build_board(graph, lab_path=DEFAULT_LAB)`; `ordinal(k)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file board.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 5; mentioned by 0 ### Furnace - File: cosmic/tools/explore/chess/furnace.py (Python, 259 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/chess/furnace.py#L1-L259 - Page: https://code.globalgrid2050.com/explore-code/s/1086.html#f1 - Synopsis: A Python command-line tool in the chess folder of Cosmic that reads furnace receipt. - What it achieves (comment): It is built from the piece values helper (`piece_values`), the furnace class (`Furnace`) and the encode step (`encode`). Batched, vectorised chess evaluation (numpy now, CuPy/CUDA later). It accepts `--board`, `--games` and `--out`. - What it does: It loads furnace receipt. Defines 14 functions or classes, including _cheb, _centre, _shelter, piece_values, Furnace. Uses libraries json, sys, time, numpy, argparse. Side effects: reads or writes files. - Inputs & outputs: In: JSON file furnace-receipt.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 1 file: Players (cosmic). Reached from 7 other entry points, including CI Chess Gate (cosmic); Extras (cosmic); Ship (cosmic). - Signatures: `_cheb(a, b)`; `_centre(s)`; `_shelter(k, s, side)`; `piece_values(pieces)`; `class Furnace`; `__init__(self, pieces, xp=np)`; `encode(self, codes, ids)`; `features(self, codes, ids)`; `score(self, codes, ids, w)`; `to_host(self, a)`; `reference_features(pieces, code64, id64)`; `benchmark(pieces, codes, ids, repeat=5, xp=np, clock=time.process_time)`; `best(fn)`; `positions_from_games(games_path, pieces)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file furnace-receipt.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Page - File: cosmic/tools/explore/chess/page.py (Python, 353 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/chess/page.py#L1-L353 - Page: https://code.globalgrid2050.com/explore-code/s/1086.html#f2 - Synopsis: A Python command-line tool in the chess folder of Cosmic that reads board, games and build graph. It finds graph (`find_graph`), loads JSON (`load_json`) and starts squares (`start_squares`). - What it achieves (comment): Code chess page builder (reads `CONTRACT.md` `board.json` + `games.json`, writes one self-contained page). It accepts `--board`, `--games` and `--graph`. - What it does: It loads board, games and build graph. Defines 14 functions or classes, including first_existing, peek_cut, find_graph, load_json, start_squares. Uses libraries argparse, glob, html, json, os. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file board.json; JSON file games.json; JSON file build_graph.json; JSON file data.json; DuckDB queries; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 4 files: Test No Tmp (cosmic); Test Page (cosmic); CI Chess Gate (cosmic); Extras (cosmic). Reached from 3 other entry points, including Ship (cosmic); Test Extras (cosmic); Test Ship (cosmic). - Signatures: `first_existing(paths)`; `peek_cut(path)`; `find_graph(cut)`; `load_json(path)`; `start_squares()`; `fixture_board(graph)`; `fixture_games(board)`; `build_data(board, games, graph)`; `E(s)`; `noscript_html(data)`; `fixture_note(data)`; `read_template(name)`; `render(data)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file board.json; JSON file games.json; JSON file build_graph.json; JSON file data.json; DuckDB queries; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Players - File: cosmic/tools/explore/chess/players.py (Python, 245 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/chess/players.py#L1-L245 - Page: https://code.globalgrid2050.com/explore-code/s/1087.html#f1 - Synopsis: A Python module in the chess folder of Cosmic. It is built from the player class (`Player`), the info step (`info`) and the enc step (`enc`). - What it achieves (comment): Ten deterministic computer players for code chess (5 white, 5 black), scored by the furnace. - What it does: It calculates its inputs. Defines 16 functions or classes, including w, Player, __init__, info, enc. Uses libraries random, numpy. - Downstream impact: Used directly by 2 files: Tournament (cosmic); CI Chess Gate (cosmic). Reached from 5 other entry points, including Extras (cosmic); Ship (cosmic); Test Extras (cosmic). - Signatures: `w(**kw)`; `class Player`; `__init__(self, pid, side, name, strategy, weights, depth, extra, furnace)`; `info(self)`; `enc(self, bd)`; `scores(self, rows, persp)`; `terminal(bd, persp)`; `choose(self, bd, rng, own_moves_played)`; `_d1(self, bd, legal, me)`; `_d2(self, bd, legal, me)`; `_d3(self, bd, legal, me)`; `_min_node(self, bd, me, alpha)`; `_max_leaf(self, bd, me)`; `roster(pieces, xp=np)`; `_pct(x)`; `note(rec, by_id, mate=False)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Rules - File: cosmic/tools/explore/chess/rules.py (Python, 557 lines) · role ingest · stage transform · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/chess/rules.py#L1-L557 - Page: https://code.globalgrid2050.com/explore-code/s/1087.html#f2 - Synopsis: A Python command-line tool in the chess folder of Cosmic that starts piece (`start_piece_ids`), sets fen (`set_fen`) and parses uci (`parse_uci`). - What it achieves (comment): It is built from the sq name helper (`sq_name`), the sq parse helper (`sq_parse`) and the square colour helper (`square_colour`). Chess rules engine in pure Python (no dependencies): chess-rules-v1. - What it does: Defines 36 functions or classes, including sq_name, sq_parse, square_colour, start_piece_ids, Board. Uses libraries sys, time. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 7 files: Board (cosmic); Furnace (cosmic); Players (cosmic); Test Board (cosmic); and 3 more. Reached from 7 other entry points, including Extras (cosmic); Page (cosmic); Ship (cosmic). - Signatures: `sq_name(sq)`; `sq_parse(name)`; `square_colour(sq)`; `start_piece_ids()`; `class Board`; `__init__(self, fen=START_FEN, track_ids=False)`; `set_fen(self, fen)`; `fen(self)`; `copy(self)`; `attacked(self, sq, by)`; `in_check(self, side=None)`; `pseudo_moves(self)`; `pinned(self, side=None)`; `legal_moves(self)`; `_make(self, m)`; `_unmake(self)`; `_ep_legal(self)`; `_record_key(self)`; `push(self, m)`; `pop(self)`; `push_uci(self, uci)`; `parse_uci(self, uci)`; `uci(m)`; `is_capture(self, m)`; `piece_at(self, square)` (and 11 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### Chess - File: cosmic/tools/explore/chess/template/chess.css (CSS, 113 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/chess/template/chess.css#L1-L113 - Page: https://code.globalgrid2050.com/explore-code/s/1088.html#f2 - Published at: https://ventusltd.github.io/cosmic/tools/explore/chess/template/ - Synopsis: A style sheet in the template folder of Cosmic. Served with the page at https://ventusltd.github.io/cosmic/tools/explore/chess/template/. - What it does: Side effects: changes the web page (DOM). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Chess - File: cosmic/tools/explore/chess/template/chess.js (JavaScript, 245 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/chess/template/chess.js#L1-L245 - Page: https://code.globalgrid2050.com/explore-code/s/1088.html#f3 - Published at: https://ventusltd.github.io/cosmic/tools/explore/chess/template/ - Synopsis: A JavaScript file in the template folder of Cosmic that starts pos (`startPos`), loads game (`loadGame`) and renders games (`renderGames`). Served with the page at https://ventusltd.github.io/cosmic/tools/explore/chess/template/. - What it achieves (name): It starts pos (`startPos`), loads game (`loadGame`) and renders games (`renderGames`). Defines `esc`, `colour`, `roleTitle` and 17 more. It responds to keydown events. - What it does: It draws its content. Defines 22 functions or classes, including $, esc, colour, roleTitle, pname. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: browser storage (getItem). Out: browser storage (setItem). - Signatures: `$(id)`; `esc(s)`; `colour(p)`; `roleTitle(p)`; `pname(id)`; `pct(x)`; `startPos()`; `compute(ply)`; `rf(kside ? 'h' : 'a')`; `draw()`; `go(ply)`; `stop()`; `play()`; `loadGame(i)`; `renderGames()`; `renderPlayers()`; `renderTable()`; `renderPieces()`; `bar(name, v)`; `fileItems(p, from, to)`; `openCard(id, from)`; `closeCard()`; `setTheme(rb)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [browser storage (getItem)]; out [browser storage (setItem)]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Chess — Template Page - File: cosmic/tools/explore/chess/template/index.html (HTML, 79 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/chess/template/index.html#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/1088.html#f4 - Published at: https://ventusltd.github.io/cosmic/tools/explore/chess/template/ - Synopsis: A web page in the explore folder of Cosmic that reads inputs for scrub. Published at https://ventusltd.github.io/cosmic/tools/explore/chess/template/. - What it achieves (comment): A playful chess board where each piece is a community of code files in the GlobalGrid2050 estate. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "`build_graph.json` (see `GRAPH-CONTRACT.md`) feeds `visualise.py`, which writes `visual/index.html`: pipeline (Ingest / Transform / Output), estate map and topic flow, coloured by role, topic, stage or pattern, with a reachability overlay." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/cosmic/tools/explore/chess/template/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Board - File: cosmic/tools/explore/chess/test_board.py (Python, 189 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/chess/test_board.py#L1-L189 - Page: https://code.globalgrid2050.com/explore-code/s/1089.html#f1 - Synopsis: A test in the chess folder of Cosmic that checks Board and Rules. It checks schema (`check_schema`), sets up (`setUp`) and sets up class (`setUpClass`). - What it achieves (comment): Tests for `chess/board.py` (unittest, no network). - What it does: It tests its inputs. Defines 15 functions or classes, including synthetic_graph, check_schema, Synthetic, setUp, test_label_propagation_ignores_comment_url. Uses libraries json, os, sys, tempfile, unittest. Side effects: reads or writes files. - Inputs & outputs: In: JSON file communities.json; JSON file g.json; JSON file board.json. Out: JSON file. - Downstream impact: Used directly by 1 file: Test No Tmp (cosmic). - Signatures: `synthetic_graph(n_comm=40)`; `check_schema(tc, board)`; `class Synthetic`; `setUp(self)`; `test_label_propagation_ignores_comment_url(self)`; `test_schema_and_rules(self)`; `test_metrics_from_evidence(self)`; `test_deterministic(self)`; `test_lab_overlay_used_only_when_matching(self)`; `test_too_few_communities(self)`; `test_main_writes_file(self)`; `class RealGraph`; `setUpClass(cls)`; `test_computed(self)`; `test_lab(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file communities.json; JSON file g.json; JSON file board.json]; out [JSON file]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Test No Tmp - File: cosmic/tools/explore/chess/test_no_tmp.py (Python, 74 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/chess/test_no_tmp.py#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1089.html#f2 - Synopsis: A test in the chess folder of Cosmic that checks Test Board and Board. It is built from the no tmp test class (`NoTmpTest`). - What it achieves (comment): CI check: the chess generators run on a clean machine (no /tmp inputs, no lab overlay), as `extras.py` runs them. - What it does: It tests its inputs. Defines NoTmpTest, test_sources_have_no_host_paths, test_pipeline_from_build_graph_only, test_page_computes_board_when_missing, test_missing_graph_is_a_clear_error. Uses libraries json, os, re, subprocess, sys. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file build_graph.json; JSON file board.json; JSON file games.json. Out: JSON file. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class NoTmpTest`; `test_sources_have_no_host_paths(self)`; `test_pipeline_from_build_graph_only(self)`; `test_page_computes_board_when_missing(self)`; `test_missing_graph_is_a_clear_error(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file board.json; JSON file games.json]; out [JSON file]; crs []; voltages [] - Edges: uses 4 estate files (script-call 3, import 1); used by 0; mentioned by 0 ### Test Page - File: cosmic/tools/explore/chess/test_page.py (Python, 115 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/chess/test_page.py#L1-L115 - Page: https://code.globalgrid2050.com/explore-code/s/1089.html#f3 - Synopsis: A test in the chess folder of Cosmic that checks Page. - What it achieves (comment): It sets up class (`setUpClass`) and is built from the tiny graph helper (`tiny_graph`) and the page test class (`PageTest`). Tests for the code chess page builder: python -m unittest `tools/explore/chess/test_page.py`. - What it does: It tests cables. Defines 11 functions or classes, including tiny_graph, PageTest, setUpClass, test_noscript_lists_pieces_with_links, test_no_external_hosts. Uses libraries json, os, re, sys, tempfile. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: JSON file graph.json; JSON file missing.json; JSON file data.json. Out: JSON file. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `tiny_graph(cut=CUT)`; `class PageTest`; `setUpClass(cls)`; `test_noscript_lists_pieces_with_links(self)`; `test_no_external_hosts(self)`; `test_data_embedded_and_matches_file(self)`; `test_theme_switch_and_controls_present(self)`; `test_file_links_and_topics(self)`; `test_fixture_games_replay_consistently(self)`; `test_cut_mismatch_drops_links(self)`; `test_template_has_no_cdn(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file graph.json; JSON file missing.json; JSON file data.json]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Rules - File: cosmic/tools/explore/chess/test_rules.py (Python, 259 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/chess/test_rules.py#L1-L259 - Page: https://code.globalgrid2050.com/explore-code/s/1089.html#f4 - Synopsis: A test in the chess folder of Cosmic that checks Rules. It is built from the play step (`play`), the perft class (`Perft`) and the count step (`count`). - What it achieves (comment): Tests for `chess/rules.py` (unittest). - What it does: It tests its inputs. Defines 34 functions or classes, including play, Perft, test_start, test_kiwipete, test_more_positions. Uses libraries os, sys, time, unittest, random. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `play(board, *ucis)`; `class Perft`; `test_start(self)`; `test_kiwipete(self)`; `test_more_positions(self)`; `test_legal_moves_match_perft1(self)`; `test_pin_aware_generator(self)`; `count(b, d)`; `test_speed(self)`; `class Fen`; `test_round_trip(self)`; `test_push_pop_restores(self)`; `test_counters(self)`; `test_bad_fen(self)`; `class SpecialMoves`; `test_castling_both_sides(self)`; `test_castling_blocked_by_attack(self)`; `test_castling_rights_lost(self)`; `test_en_passant(self)`; `test_en_passant_pinned(self)`; `test_promotion(self)`; `class GameEnd`; `test_fools_mate(self)`; `test_stalemate(self)`; `test_threefold(self)` (and 9 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Tournament - File: cosmic/tools/explore/chess/tournament.py (Python, 146 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/chess/tournament.py#L1-L146 - Page: https://code.globalgrid2050.com/explore-code/s/1090.html#f1 - Synopsis: A Python command-line tool in the chess folder of Cosmic that reads board and games. - What it achieves (comment): It finds board (`find_board`) and is built from the adjudicate step (`adjudicate`) and the play step (`play`). Code chess tournament: every white player against every black player, fixed seeds -> `games.json`. It accepts `--board`, `--out` and `--both-colours`. - What it does: It loads board and games. Defines 6 functions or classes, including find_board, adjudicate, play, table, run. Uses libraries argparse, json, os, random, sys. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file board.json; JSON file games.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 3 files: Test No Tmp (cosmic); CI Chess Gate (cosmic); Extras (cosmic). Reached from 3 other entry points, including Ship (cosmic); Test Extras (cosmic); Test Ship (cosmic). - Signatures: `find_board()`; `adjudicate(bd)`; `play(white, black, seed, by_id, ply_cap=PLY_CAP)`; `table(games, roster)`; `run(board_path, both=False, ply_cap=PLY_CAP, only=None, log=None)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file board.json; JSON file games.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 3; mentioned by 0 ### CI Chess Gate - File: cosmic/tools/explore/ci/chess_gate.py (Python, 393 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/ci/chess_gate.py#L1-L393 - Page: https://code.globalgrid2050.com/explore-code/s/1090.html#f2 - Synopsis: A Python command-line tool in the explore folder of Cosmic that reads build graph, using SHA-256. It checks perft (`check_perft`), checks board (`check_board`) and checks tournament (`check_tournament`). - What it achieves (comment): Chess regression gate for CI: four quick checks on `tools/explore/chess`, plus a "new code enters the board" view. It accepts `--graph`, `--newcode` and `--out-dir`. - What it does: It loads build graph. Defines 14 functions or classes, including load, timed, wrap, check_perft, canon. Uses libraries argparse, hashlib, html, json, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file build_graph.json; JSON file release.json; JSON file ci-chess.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 1 file: Test CI (cosmic). - Signatures: `load(path)`; `timed(fn)`; `wrap(*a, **k)`; `check_perft()`; `canon(obj)`; `check_board(graph, keep)`; `replay(game, by_id, ply_cap)`; `check_tournament(keep, n_games, ply_cap)`; `run()`; `check_page(graph, keep, out_dir)`; `release_view(newcode, graph, board)`; `release_html(rel, board)`; `report(checks, rel)`; `main(argv=None)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file release.json; JSON file ci-chess.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 5 estate files (sys-path 5); used by 1; mentioned by 0 ### CI Newcode - File: cosmic/tools/explore/ci/newcode.py (Python, 666 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/ci/newcode.py#L1-L666 - Page: https://code.globalgrid2050.com/explore-code/s/1091.html#f1 - Synopsis: A Python command-line tool in the explore folder of Cosmic that reads units and build graph, using haversine and SHA-256. - What it achieves (comment): It makes key (`make_key`), loads Parquet (`load_parquet`) and finds bng (`find_bng`). New-code hunter: lists only the files and functions that are new or changed since the last deployed commit, and flags each new function as unique, a duplicate (exact or near, with the key of the original). It accepts `--repo`, `--name` and `--base`. - What it does: It loads units and build graph. Defines 31 functions or classes, including first, git, sha, make_key, Extractor. Uses libraries argparse, hashlib, json, os, re. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: Parquet file units.parquet; JSON file build_graph.json; command-line arguments. Out: JSON file. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Test CI (cosmic). - Signatures: `first(paths, isdir=False)`; `git(repo, *args, binary=False, check=True)`; `sha(s)`; `make_key(repo, commit, path, a, b, blob)`; `class Extractor`; `__init__(self, vedic_dir=None)`; `vedic(self)`; `rows(self, path, text)`; `_strip_comments(text, py)`; `_lite_hashes(body, py)`; `_lite_minhash(struct)`; `lite_rows(path, text)`; `class Index`; `add(self, u, prio)`; `_best(cands)`; `_other(u, r)`; `match(self, u)`; `tree_files(repo, rev)`; `text_hash(path, text, a, b)`; `file_units(ex, repo_name, commit, path, blob, text)`; `load_parquet(path, skip_repos=())`; `engine_reference(ex, engine_dir, bng_path)`; `find_bng()`; `resolve_base(repo, repo_name, head, base, graph)`; `changed_files(repo, base, head)` (and 5 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [Parquet file units.parquet; JSON file build_graph.json; command-line arguments]; out [JSON file]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test CI - File: cosmic/tools/explore/ci/test_ci.py (Python, 319 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/ci/test_ci.py#L1-L319 - Page: https://code.globalgrid2050.com/explore-code/s/1092.html#f1 - Synopsis: A test in the explore folder of Cosmic that checks CI Newcode and CI Chess Gate. - What it achieves (comment): It runs newcode (`run_newcode`) and is built from the settle cable rating helper (`settle_cable_rating`) and the tiny helper helper (`tiny_helper`). Tests for `tools/explore/ci` (GAUNTLET-17): `newcode.py`, `chess_gate.py` and the proposed workflow. - What it does: It tests its inputs. Defines 25 functions or classes, including settle_cable_rating, tiny_helper, brand_new_thing, Ledger, __init__. Uses libraries copy, json, os, subprocess, sys. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file ci-newcode.json; JSON file x.json; JSON file g.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `settle_cable_rating(load_kw, length_m, derate)`; `tiny_helper(a, b, c)`; `brand_new_thing(items)`; `class Ledger`; `__init__(self)`; `post(self, who, amount, note='')`; `sh(cwd, *args)`; `commit(repo, files, msg)`; `repos(tmp_path)`; `run_newcode(r, *extra)`; `by_name(doc)`; `test_newcode_classes_and_exit(repos, lite)`; `test_changed_function_and_advisory_exit(repos)`; `test_base_from_graph_and_parent(repos)`; `test_index_ignores_self_and_nested_units()`; `test_imports_engine_regex()`; `test_lite_extractor_js_and_py()`; `synthetic_graph(n_comm=40)`; `test_gate_checks_pass_on_synthetic_graph(tmp_path)`; `test_board_skip_without_graph()`; `test_replay_catches_tampering()`; `test_crash_is_reported_as_fail()`; `test_release_view_promote_reserve_reinforce(tmp_path)`; `test_gate_main_writes_reports(tmp_path, repos)`; `test_proposed_workflow_is_advisory()` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file ci-newcode.json; JSON file x.json; JSON file g.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### CI UI Shots - File: cosmic/tools/explore/ci/ui_shots.py (Python, 143 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/ci/ui_shots.py#L1-L143 - Page: https://code.globalgrid2050.com/explore-code/s/1092.html#f2 - Synopsis: A Python command-line tool in the explore folder of Cosmic that builds site (`build_site`), covering play and UI metrics. - What it achieves (comment): It is built from the serve step (`serve`), the quiet class (`Quiet`) and the log message helper (`log_message`). UI pass for the CI advice: screenshots + measured issues for the chess page, the release board and Pilot. It accepts `--chess` and `--out`. - What it does: It lists and searches play and UI metrics. Defines 6 functions or classes, including serve, Quiet, log_message, build_site, chromium. Uses libraries argparse, functools, http.server, importlib.util, json. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: JSON file play-index.json; command-line arguments. Out: JSON file ui-metrics.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `serve(root)`; `class Quiet`; `log_message(self, *a)`; `build_site(chess_dir)`; `chromium()`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file play-index.json; command-line arguments]; out [JSON file ui-metrics.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Apply - File: cosmic/tools/explore/clean/apply.py (Python, 501 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/clean/apply.py#L1-L501 - Page: https://code.globalgrid2050.com/explore-code/s/1093.html#f1 - Synopsis: A Python command-line tool in the clean folder of Cosmic that reads build graph, noise, families and units, using SHA-256. - What it achieves (comment): It parses key (`parse_key`), parses category (`parse_category`) and loads proposals (`load_proposals`). Merge clean-proposals-v1 files into one clean-manifest-v1 (see `clean/CONTRACT.md`). It accepts `--graph`, `--proposals` and `--input`. - What it does: It loads build graph, noise, families and units. Defines 21 functions or classes, including Key, parse_key, parse_category, sha256_file, load_proposals. Uses libraries __future__, argparse, collections, hashlib, json. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file build_graph.json; JSON file noise.json; JSON file families.json; JSON file units.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 2 files: CI (cosmic); Test Apply (cosmic). Reached from 1 other entry point, including Test CI (cosmic). - Signatures: `class Key`; `parse_key(s: str)`; `parse_category(s: str)`; `sha256_file(path: str)`; `load_proposals(path: str)`; `git_blobs(src: str, repo: str, specs: list[str])`; `version_of(path: str)`; `stamp_of(path: str)`; `size_ratio_of(a: dict, b: dict)`; `_demote(a: dict, why: str, extra: str)`; `guard_near_copies(accepted: list[dict], byid: dict, warnings: list, *, min_ratio: float = 0.7)`; `score(i)`; `file_key_like(f: dict, sample: dict)`; `merge(graph: dict, inputs: list[tuple[str, dict, list]], *, min_confidence: float = 0.6, blob_lookup=None, approve: bool = ...)`; `reject(source, rec, why)`; `is_whole(a)`; `rank(a)`; `chain(fid)`; `file_key(f)`; `summary(c: dict, inputs: list[dict], approve: bool)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file noise.json; JSON file families.json; JSON file units.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### CI - File: cosmic/tools/explore/clean/ci.py (Python, 132 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/clean/ci.py#L1-L132 - Page: https://code.globalgrid2050.com/explore-code/s/1093.html#f2 - Synopsis: A Python command-line tool in the clean folder of Cosmic that reads noise, families, units and identity. - What it achieves (comment): It is built from the warn step (`warn`), the run step (`run`) and the sane step (`sane`). Produce the clean manifest on the build machine, from the build's own outputs (no /tmp inputs). It accepts `--graph`, `--src` and `--work`. - What it does: It loads noise, families, units and identity. Defines warn, run, sane, main. Uses libraries argparse, json, os, subprocess, sys. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file noise.json; JSON file families.json; JSON file units.json; JSON file identity-files.json; Parquet file units.parquet; JSON file rules.json; JSON file unit-shares.json; command-line arguments. - Downstream impact: Used directly by 1 file: Test CI (cosmic). - Signatures: `warn(msg)`; `run(name, argv, timeout)`; `sane(manifest_path, graph_path, max_share)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file noise.json; JSON file families.json; JSON file units.json; JSON file identity-files.json; Parquet file units.parquet; JSON file rules.json; JSON file unit-shares.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 4 estate files (script-call 4); used by 1; mentioned by 0 ### Families - File: cosmic/tools/explore/clean/families.py (Python, 118 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/clean/families.py#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/1094.html#f1 - Synopsis: A Python command-line tool in the clean folder of Cosmic that reads identity and build graph, using SHA-256. - What it achieves (comment): It is built from the canon order helper (`canon_order`), the build step (`build`) and the find step (`find`). Near-copy proposals (clean-proposals-v1) built from `identity/genome.py` verdicts. It accepts `--identity`, `--graph` and `--src`. - What it does: It loads identity and build graph. Defines canon_order, _neg, build, find, main. Uses libraries argparse, collections, json, os, re. Side effects: reads or writes files. - Inputs & outputs: In: JSON file identity-files.json; JSON file build_graph.json; JSON file families.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 3 files: CI (cosmic); Test Apply (cosmic); Test Families (cosmic). Reached from 1 other entry point, including Test CI (cosmic). - Signatures: `canon_order(f, key)`; `_neg(s)`; `build(identity_path, graph_path, src)`; `find(x)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file identity-files.json; JSON file build_graph.json; JSON file families.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 3; mentioned by 0 ### Noise - File: cosmic/tools/explore/clean/noise.py (Python, 405 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/clean/noise.py#L1-L405 - Page: https://code.globalgrid2050.com/explore-code/s/1094.html#f2 - Synopsis: A Python command-line tool in the clean folder of Cosmic that maps NPM shrinkwrap and build graph. - What it achieves (comment): It is built from the git step (`git`), the tree blobs helper (`tree_blobs`) and the cat blobs helper (`cat_blobs`). Propose files in Explore Code's unique set that are not authored code. It accepts `--graph`, `--src` and `--out`. - What it does: It maps NPM shrinkwrap and build graph. Defines 10 functions or classes, including git, tree_blobs, cat_blobs, measure, header_text. Uses libraries __future__, argparse, json, os, re. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file npm-shrinkwrap.json; JSON file build_graph.json; JSON file noise.json; DuckDB queries; command-line arguments. - Downstream impact: Used directly by 3 files: CI (cosmic); Test Apply (cosmic); Test Noise (cosmic). Reached from 1 other entry point, including Test CI (cosmic). - Signatures: `git(repo_dir, *args, data=None)`; `tree_blobs(repo_dir, commit)`; `cat_blobs(repo_dir, shas)`; `measure(data: bytes)`; `header_text(data: bytes, nlines=HEADER_LINES)`; `path_segments(path)`; `classify(f, data, m)`; `is_banner(line)`; `run(graph_path, src)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file npm-shrinkwrap.json; JSON file build_graph.json; JSON file noise.json; DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Test Apply - File: cosmic/tools/explore/clean/test_apply.py (Python, 221 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/clean/test_apply.py#L1-L221 - Page: https://code.globalgrid2050.com/explore-code/s/1095.html#f1 - Synopsis: A test in the clean folder of Cosmic that checks Apply and Noise. It merges tests (`MergeTests`) and guards tests (`GuardTests`). - What it achieves (comment): Tests for `clean/apply.py` (clean-manifest-v1). - What it does: It tests its inputs. Defines 34 functions or classes, including graph, key, rec, run, aside. Uses libraries json, os, subprocess, sys, tempfile. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file p.json; JSON file x.json; JSON file families.json; JSON file f.json; JSON file g.json; JSON file noise.json; JSON file m.json. Out: JSON file. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `graph(n=8)`; `key(i, a=1, b=10, repo=None)`; `rec(i, cat, conf=0.9, proposer="noise.py", target=None, **kw)`; `run(recs, **kw)`; `aside(m)`; `class KeyTests`; `test_parse_key(self)`; `test_parse_category(self)`; `class MergeTests`; `test_partition_and_counts(self)`; `test_threshold_and_keep(self)`; `test_human_wins(self)`; `test_tie_breaks_by_category_order(self)`; `test_partial_units_are_annotations(self)`; `test_chain_repointed(self)`; `test_cycle_keeps_smallest_key(self)`; `test_copy_of_noise(self)`; `test_rejections_and_bad_targets(self)`; `test_wrong_schema_and_missing_input(self)`; `test_blob_mismatch_is_warning(self)`; `test_deterministic_order_independent(self)`; `class GuardTests`; `g2(self, specs)`; `k2(self, g, i)`; `r2(self, g, i, t, conf=0.95)` (and 9 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file p.json; JSON file x.json; JSON file families.json; JSON file f.json; JSON file g.json; JSON file noise.json; JSON file m.json]; out [JSON file]; crs []; voltages [] - Edges: uses 4 estate files (script-call 3, import 1); used by 0; mentioned by 0 ### Test CI - File: cosmic/tools/explore/clean/test_ci.py (Python, 39 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/clean/test_ci.py#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/1095.html#f2 - Synopsis: A test in the clean folder of Cosmic that checks CI. It sets up (`setUp`) and is built from the ci test class (`CiTest`) and the man step (`man`). - What it achieves (comment): Tests for `clean/ci.py`'s fail-safe checks. - What it does: It tests its inputs. Defines CiTest, setUp, man, test_sane, test_required_step_failure_writes_no_manifest. Uses libraries json, os, sys, tempfile, unittest. Side effects: reads or writes files. - Inputs & outputs: In: JSON file g.json; JSON file m.json; JSON file missing.json. Out: JSON file. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class CiTest`; `setUp(self)`; `man(self, kept, aside, reason='r')`; `test_sane(self)`; `test_required_step_failure_writes_no_manifest(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file g.json; JSON file m.json; JSON file missing.json]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Families - File: cosmic/tools/explore/clean/test_families.py (Python, 43 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/clean/test_families.py#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1095.html#f3 - Synopsis: A test in the clean folder of Cosmic that checks Families. It sets up class (`setUpClass`) and is built from the families tests class (`FamiliesTests`). - What it achieves (comment): Tests for `clean/families.py` (contract shape, targets stay, determinism). - What it does: It tests its inputs. Defines FamiliesTests, setUpClass, test_contract_shape, test_targets_stay, test_deterministic. Uses libraries json, os, sys, tempfile, unittest. - Inputs & outputs: In: JSON file identity-files.json; JSON file build_graph.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class FamiliesTests`; `setUpClass(cls)`; `test_contract_shape(self)`; `test_targets_stay(self)`; `test_deterministic(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file identity-files.json; JSON file build_graph.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Noise - File: cosmic/tools/explore/clean/test_noise.py (Python, 170 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/clean/test_noise.py#L1-L170 - Page: https://code.globalgrid2050.com/explore-code/s/1095.html#f4 - Synopsis: A test in the clean folder of Cosmic that checks Noise. It is built from the verdict step (`verdict`), the minified step (`minified`) and the classify class (`Classify`). - What it achieves (comment): Tests for `noise.py`: synthetic files with known answers, plus one end-to-end run on a throwaway git repo. - What it does: It tests its inputs. Defines 22 functions or classes, including verdict, minified, Classify, test_authored_code_has_no_signal, test_min_in_name. Uses libraries json, os, random, subprocess, sys. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file g.json. Out: JSON file. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `verdict(path, text, lang="JavaScript")`; `minified(n_chars=60_000, seed=1)`; `class Classify`; `test_authored_code_has_no_signal(self)`; `test_min_in_name(self)`; `test_mangled_long_lines_are_minified(self)`; `test_dense_but_readable_code_stays(self)`; `test_node_modules_is_vendored(self)`; `test_named_library_with_its_header_is_vendored(self)`; `test_mentioning_a_library_is_not_vendoring(self)`; `test_vendor_folder_without_header_is_borderline_keep(self)`; `test_generated_banner(self)`; `test_written_by_script_is_generated_but_written_by_author_is_not(self)`; `test_banner_phrase_deep_in_a_comment_is_prose(self)`; `test_banner_inside_a_string_is_not_a_banner(self)`; `test_copy_banner_stays_for_the_copy_checks(self)`; `test_lock_file(self)`; `test_literal_data_file_is_a_data_blob(self)`; `test_base64_blob(self)`; `test_every_finding_has_evidence_and_a_valid_category(self)`; `class EndToEnd`; `test_run_reads_blobs_at_the_commit_and_writes_contract_keys(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file g.json]; out [JSON file]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Units - File: cosmic/tools/explore/clean/test_units.py (Python, 212 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/clean/test_units.py#L1-L212 - Page: https://code.globalgrid2050.com/explore-code/s/1095.html#f5 - Synopsis: A test in the clean folder of Cosmic that checks Units. It runs tests (`RunTests`) and sets up (`setUp`). - What it achieves (comment): Tests for `tools/explore/clean/units.py` (unittest, no network). - What it does: It tests its inputs. Defines 20 functions or classes, including mh, unit, graph, KeyTests, test_key_round_trip_with_spaces_in_path. Uses libraries json, os, sys, tempfile, unittest. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file g.json; Parquet file u.parquet; JSON file units.json; JSON file shares.json; JSON file rules.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `mh(seed, change=0)`; `unit(uid, repo, path, a, b, name, exact, struct, sig, kind="function", tokens=40, commit=None, blob="f" * 40)`; `graph(files, core=("r1",))`; `class KeyTests`; `test_key_round_trip_with_spaces_in_path(self)`; `test_jaccard(self)`; `class RunTests`; `setUp(self)`; `run_it(self, src=None, **kw)`; `by_name(self, records)`; `test_exact_struct_near_and_targets(self)`; `test_whole_file_unit(self)`; `test_nested_same_file_small_anonymous_ungraphed(self)`; `test_shares(self)`; `test_near_copy_files_are_left_to_families(self)`; `test_byte_identical_with_clones(self)`; `test_canonical_prefers_core_and_status(self)`; `test_deterministic_and_top(self)`; `class MainTests`; `test_main_writes_contract_files(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file g.json; Parquet file u.parquet; JSON file units.json; JSON file shares.json; JSON file rules.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Units - File: cosmic/tools/explore/clean/units.py (Python, 403 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/clean/units.py#L1-L403 - Page: https://code.globalgrid2050.com/explore-code/s/1096.html#f1 - Synopsis: A Python command-line tool in the clean folder of Cosmic that reads unit shares, using SHA-256. It makes key (`make_key`), parses key (`parse_key`) and loads rules (`load_rules`). - What it achieves (comment): Propose function-level duplicates for Explore Code cleaning (clean-proposals-v1). It accepts `--graph`, `--units` and `--src`. - What it does: It loads unit shares. Defines 23 functions or classes, including make_key, parse_key, est_jaccard, UnionFind, __init__. Uses libraries __future__, argparse, hashlib, json, os. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file units.json; JSON file unit-shares.json; command-line arguments. - Downstream impact: Used directly by 3 files: CI (cosmic); Test Apply (cosmic); Test Units (cosmic). Reached from 1 other entry point, including Test CI (cosmic). - Signatures: `make_key(repo, commit, path, first, last, blob)`; `parse_key(key)`; `est_jaccard(a, b)`; `class UnionFind`; `__init__(self, n)`; `find(self, x)`; `union(self, a, b)`; `load_rules(path)`; `load_units(path)`; `class TextSource`; `lines(self, repo, path)`; `text(self, u)`; `select_units(graph, units, rules)`; `cluster_units(units, rules)`; `canonical_rank(u, fmeta, core)`; `relation(u, c, text, rules)`; `run(graph, units, rules, src=None, near_copy_files=0.8)`; `file_jaccard(a, b)`; `covered(min_conf)`; `sha256_file(path)`; `write_json(path, obj)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file units.json; JSON file unit-shares.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Describe - File: cosmic/tools/explore/describe.py (Python, 1758 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/describe.py#L1-L1758 - Page: https://code.globalgrid2050.com/explore-code/s/1097.html#f1 - Synopsis: A Python command-line tool in the explore folder of Cosmic that maps build graph, overhead lines (OHL) and the Renewable Energy Planning Database (REPD) register, using G99/1 and IEC 60287. - What it achieves (comment): It cleans comment (`clean_comment`), joins words (`join_words`) and cleans objects (`clean_objects`). Careful one-line descriptions for Explore Code, from evidence only. It accepts `--graph`, `--src` and `--sample`. - What it does: It maps build graph, overhead lines (OHL), the REPD register and battery storage (BESS). Defines 67 functions or classes, including _strip_markers, _is_heading, _codeish, _quote, code_quote. Uses libraries argparse, collections, json, os, posixpath. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: overhead lines (OHL), the REPD register, battery storage (BESS). - Inputs & outputs: In: JSON file build_graph.json; DuckDB queries; command-line arguments. Out: JSON file; interactive map; SVG drawing. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326, Web Mercator / EPSG:3857. - Downstream impact: Used directly by 11 files: Feeder 47 (cosmic); Arena (cosmic); Describe Bigbang (cosmic); Judge (cosmic); and 7 more. Reached from 5 other entry points, including Extras (cosmic); Ship (cosmic); Test Build (cosmic). - Signatures: `_strip_markers(line)`; `_is_heading(s)`; `_codeish(s)`; `_quote(m)`; `code_quote(text)`; `_sentences(text)`; `_cap_words(text, n)`; `_finish(s)`; `_strip_name_prefix(s, names)`; `clean_comment(raw, file_name='', names=(), max_words=40, title='')`; `leading_comment(path, text)`; `config_summary(path, text)`; `workflow_facts(text)`; `main_only(text)`; `_md_inline(t)`; `readme_sentences(text, cap=300)`; `flush()`; `readme_match(sentences, path)`; `fix_case(text)`; `fix(seg)`; `word(m)`; `article(phrase)`; `join_words(xs)`; `dedupe_words(text)`; `expand_once(text, already, protect=())` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; DuckDB queries; command-line arguments]; out [JSON file; interactive map; SVG drawing]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326; Web Mercator / EPSG:3857]; voltages [] - Edges: uses 0 estate files; used by 11; mentioned by 0 ### Extras - File: cosmic/tools/explore/extras.py (Python, 891 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/extras.py#L1-L891 - Page: https://code.globalgrid2050.com/explore-code/s/1100.html#f1 - Synopsis: A Python command-line tool in the explore folder of Cosmic that draws identity, board, games and periodic. It audits mass (`audit_mass`), reads text (`read_text`) and writes text (`write_text`). - What it achieves (comment): Explore Code extras: a post-build step that adds the team's extra experiences to a built site. It accepts `--site`, `--graph` and `--base`. - What it does: It draws identity, board, games and periodic. Defines 33 functions or classes, including picture_svg, first_sentence, slim_kuiper, slim_identity, audit_mass. Uses libraries argparse, datetime, html, json, os. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: In: JSON file identity-files.json; JSON file extra.json; JSON file data.json; JSON file board.json; JSON file games.json; JSON file periodic.json; JSON file props.json; JSON file clarity.json. Out: JSON file; SVG drawing. - Downstream impact: Used directly by 2 files: Ship (cosmic); Test Extras (cosmic). Reached from 1 other entry point, including Test Ship (cosmic). - Signatures: `picture_svg(key)`; `first_sentence(t, cap=140)`; `slim_kuiper(stage)`; `slim_identity(stage)`; `audit_mass(d, max_str=2000, max_lines=8)`; `walk(o, path, fname)`; `folder_bytes(d)`; `read_text(p)`; `write_text(p, s)`; `show(p)`; `log(msg)`; `warn(msg)`; `find_generator(candidates, roots=None)`; `parse_flags(src)`; `supply(flag, ctx)`; `expand(template, ctx)`; `build_command(gen, ctx, overrides=None)`; `prune(d, keep)`; `html_files(d)`; `page_title(path)`; `fix_paths(stage, site, final)`; `write_listing(stage, title, pages)`; `run_extra(ex, ctx, timeout, roots=None)`; `run_post(pp, ctx, timeout, roots=None)`; `card(key, title, desc, href, preview=None, tag='')` (and 8 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file identity-files.json; JSON file extra.json; JSON file data.json; JSON file board.json; JSON file games.json; JSON file periodic.json; JSON file props.json; JSON file clarity.json]; out [JSON file; SVG drawing]; crs []; voltages [] - Edges: uses 18 estate files (script-call 18); used by 2; mentioned by 0 ### Extract - File: cosmic/tools/explore/identity/extract.mjs (JavaScript, 54 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/identity/extract.mjs#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1101.html#f2 - Synopsis: A JavaScript module in the identity folder of Cosmic that runs the estate's OWN extraction code over the Explore Code files, using SHA-256. - What it does: It loads data. Uses libraries node:fs, node:url. Side effects: reads or writes files. - Inputs & outputs: In: command-line arguments. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Genome - File: cosmic/tools/explore/identity/genome.py (Python, 824 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/identity/genome.py#L1-L824 - Page: https://code.globalgrid2050.com/explore-code/s/1101.html#f3 - Synopsis: A Python command-line tool in the identity folder of Cosmic that reads jobs, rules, units and electron, using SHA-256. It loads JSON (`load_json`), runs extract (`run_extract`) and builds lite (`build_lite`). - What it achieves (comment): The estate's own permanent identities and genome for every Explore Code file. It accepts `--graph`, `--src` and `--fingerprints`. - What it does: It loads jobs, rules, units and electron. Defines 24 functions or classes, including sha256_file, load_json, run_extract, modular_numbers, vedic_clusters. Uses libraries argparse, collections, glob, hashlib, importlib.util. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: README: "`genome.py` gives every file in `build_graph.json`, and every function inside it, the identity keys the estate already uses." - Inputs & outputs: In: JSON file jobs.json; JSON file rules.json; Parquet file units.parquet; Parquet file candidates.parquet; JSON file electron.json; JSON file entangled.json; JSON file functions.json; JSON file surfaces.json. Out: JSON file. - Downstream impact: Used directly by 3 files: Families (cosmic); Extras (cosmic); Test Genome (cosmic). Reached from 7 other entry points, including CI (cosmic); Ship (cosmic); Test Apply (cosmic). - Signatures: `sha256_file(path)`; `load_json(path)`; `run_extract(graph, src, out_dir, reuse)`; `modular_numbers(graph, recs, src)`; `vedic_clusters(fp_dir)`; `estate_blobs(graph, src)`; `norm_lines(path)`; `preference(f)`; `logical_group_key(path)`; `build(args)`; `key_of(f)`; `near_root(i)`; `shells(f)`; `default_path(env, *cands)`; `work_dir(sub)`; `full_prerequisites(src, fingerprints)`; `file_keys(path)`; `build_lite(graph, src, missing=())`; `by_path_cache(files)`; `files_in_cluster(root, cluster_root)`; `cluster_shared_outside(cid, i, own_cluster, unit_cluster, units_by_file, fid, cluster_root, bp)`; `write(result, out_dir)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file jobs.json; JSON file rules.json; Parquet file units.parquet; Parquet file candidates.parquet; JSON file electron.json; JSON file entangled.json; JSON file functions.json; JSON file surfaces.json]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Test Genome - File: cosmic/tools/explore/identity/test_genome.py (Python, 155 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/identity/test_genome.py#L1-L155 - Page: https://code.globalgrid2050.com/explore-code/s/1102.html#f2 - Synopsis: A test in the identity folder of Cosmic that checks Genome, using SHA-256. - What it achieves (comment): It sets up class (`setUpClass`) and is built from the sha step (`sha`) and the identity tests class (`IdentityTests`). Tests for `identity/genome.py`. - What it does: It tests its inputs. Defines 15 functions or classes, including sha, IdentityTests, setUpClass, test_every_file_covered, test_verdict_counts_add_up. Uses libraries hashlib, json, os, shutil, sys. Side effects: reads or writes files. - Inputs & outputs: In: JSON file build_graph.json; JSON file identity.json; JSON file identity-files.json. Out: JSON file build_graph.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `sha(path)`; `class IdentityTests`; `setUpClass(cls)`; `test_every_file_covered(self)`; `test_verdict_counts_add_up(self)`; `test_evidence_keys_present(self)`; `test_near_copy_targets_are_not_circular(self)`; `test_keys_match_bytes_on_disk(self)`; `test_function_view(self)`; `test_reproduction_checks(self)`; `test_determinism(self)`; `class UnitTests`; `test_logical_group_key_strips_timestamp(self)`; `test_preference_prefers_reachable_then_non_release(self)`; `test_no_tmp_inputs_lite(tmp_path, monkeypatch)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file identity.json; JSON file identity-files.json]; out [JSON file build_graph.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Explore — Lab - File: cosmic/tools/explore/lab/common.py (Python, 263 lines) · role storage · stage output - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/lab/common.py#L1-L263 - Page: https://code.globalgrid2050.com/explore-code/s/1103.html#f1 - Synopsis: A Python module in the tools folder of Cosmic that reads build graph and units, using SHA-256. It splits ident (`split_ident`) and writes JSON (`write_json`). - What it achieves (comment): Shared contract and helpers for the Explore Code intelligence lab. - What it does: It loads build graph and units. Defines 18 functions or classes, including split_ident, Graph, __init__, key, ref. Uses libraries hashlib, json, math, os, re. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file build_graph.json; JSON file graph.json; Parquet file units.parquet; Parquet file files.parquet; DuckDB queries. Out: JSON file. - Downstream impact: Used directly by 9 files: Pipeline (cosmic); Communities (cosmic); Drift (cosmic); Importance (cosmic); and 5 more. Reached from 5 other entry points, including Extras (cosmic); Ship (cosmic); Test Extras (cosmic). - Signatures: `split_ident(s)`; `class Graph`; `__init__(self, g, blobs=None)`; `key(self, i)`; `ref(self, i)`; `adjacency(n, uedges)`; `load(path=BUILD_GRAPH, data_dir=DATA_DIR)`; `synthetic(n, edges, **cols)`; `_contingency(a, b)`; `nmi(a, b)`; `ari(a, b)`; `modularity(nbr, labels, weights=None)`; `top_words(members, words_of, df_all, n_all, k=3)`; `file_words(f)`; `digest(obj)`; `r4(x)`; `overlay(G, name, rules, cols=None, edges=None, legend=None, state='measurement', extra=None)`; `write_json(path, obj, compact=True)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file graph.json; Parquet file units.parquet; Parquet file files.parquet; DuckDB queries]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 9; mentioned by 0 ### Communities - File: cosmic/tools/explore/lab/communities.py (Python, 184 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/lab/communities.py#L1-L184 - Page: https://code.globalgrid2050.com/explore-code/s/1103.html#f2 - Synopsis: A Python module in the lab folder of Cosmic that labels propagation (`label_propagation`), using Louvain. - What it achieves (comment): It is built from the louvain step (`louvain`), the by size helper (`by_size`) and the run step (`run`). Experiment 1: communities by modularity (Louvain) and label propagation. - What it does: It calculates its inputs. Defines louvain, label_propagation, by_size, run. Uses libraries random, collections. - Downstream impact: Used directly by 2 files: Explore — Lab (cosmic); Test Lab (cosmic). Reached from 4 other entry points, including Extras (cosmic); Ship (cosmic); Test Extras (cosmic). - Signatures: `louvain(n, uedges, seed=SEED, resolution=1.0, max_levels=12)`; `label_propagation(nbr, seed=SEED, sweeps=60)`; `by_size(labels, active)`; `run(G)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Drift - File: cosmic/tools/explore/lab/drift.py (Python, 142 lines) · role storage · stage ingest - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/lab/drift.py#L1-L142 - Page: https://code.globalgrid2050.com/explore-code/s/1103.html#f3 - Synopsis: A Python module in the lab folder of Cosmic that loads units (`load_units`). It is built from the families step (`families`), the find step (`find`) and the canonical step (`canonical`). - What it achieves (comment): Experiment 5: duplication and drift from Vedic structural fingerprints. - What it does: It loads data. Defines 7 functions or classes, including load_units, families, find, canonical, key. Uses libraries os, re, collections, duckdb. Side effects: uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: DuckDB queries. - Downstream impact: Used directly by 2 files: Explore — Lab (cosmic); Test Lab (cosmic). Reached from 4 other entry points, including Extras (cosmic); Ship (cosmic); Test Extras (cosmic). - Signatures: `load_units(path=VEDIC_UNITS)`; `families(sets, min_jac=0.5, min_shared=3, max_df=30)`; `find(x)`; `canonical(G, members)`; `key(i)`; `run(G)`; `jab(a, b)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Importance - File: cosmic/tools/explore/lab/importance.py (Python, 159 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/lab/importance.py#L1-L159 - Page: https://code.globalgrid2050.com/explore-code/s/1104.html#f1 - Synopsis: A Python module in the lab folder of Cosmic that uses PageRank. It is built from the pagerank step (`pagerank`), the betweenness step (`betweenness`) and the kcore step (`kcore`). - What it achieves (comment): Experiment 2: importance by PageRank, reverse PageRank, sampled betweenness and k-core. - What it does: It calculates its inputs. Defines 8 functions or classes, including pagerank, betweenness, kcore, quant, topk. Uses libraries random, collections, numpy, heapq. - Downstream impact: Used directly by 2 files: Explore — Lab (cosmic); Test Lab (cosmic). Reached from 4 other entry points, including Extras (cosmic); Ship (cosmic); Test Extras (cosmic). - Signatures: `pagerank(n, edges, d=0.85, tol=1e-10, max_iter=200)`; `betweenness(n, out_adj, sources)`; `kcore(nbr)`; `quant(x)`; `topk(score, k)`; `spearman(a, b)`; `run(G, n_sources=400)`; `profile(top)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Lab - File: cosmic/tools/explore/lab/lab.html (HTML, 243 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/lab/lab.html#L1-L243 - Page: https://code.globalgrid2050.com/explore-code/s/1104.html#f2 - Published at: https://ventusltd.github.io/cosmic/tools/explore/lab/lab.html - Synopsis: A web page in the explore folder of Cosmic that draws metrics, using SHA-256 and Louvain. Published at https://ventusltd.github.io/cosmic/tools/explore/lab/lab.html. It gets JSON (`getJSON`), reads hash (`readHash`) and sets view (`setView`). - What it achieves (comment): Explore Code intelligence lab. It responds to hashchange, resize and mousedown events. - What it does: It draws metrics. Defines 20 functions or classes, including esc, hue, getJSON, readHash, layoutFor. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: JSON file graph.json; JSON file keys.json; JSON file .metrics.json. Out: web page; canvas drawing. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/cosmic/tools/explore/lab/lab.html. - Signatures: `esc(s)`; `hue(i)`; `getJSON(u)`; `readHash()`; `layoutFor(v)`; `fit()`; `setView()`; `sx(i)`; `sy(i)`; `colour(i)`; `radius(i)`; `resize()`; `edgeSet(list, stride, colourFn, dash, width)`; `draw()`; `legend()`; `row(c, t, n)`; `buildGrid()`; `pick(x, y)`; `info(i)`; `bindPointer()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file graph.json; JSON file keys.json; JSON file .metrics.json]; out [web page; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Links - File: cosmic/tools/explore/lab/links.py (Python, 223 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/lab/links.py#L1-L223 - Page: https://code.globalgrid2050.com/explore-code/s/1104.html#f3 - Synopsis: A Python module in the lab folder of Cosmic that steps files (`step_files`). - What it achieves (comment): It is built from the data items helper (`data_items`), the data score helper (`data_score`) and the two hop helper (`two_hop`). Experiment 6: missing links and journey gaps by link prediction. - What it does: It calculates its inputs. Defines 7 functions or classes, including data_items, data_score, two_hop, precision_at, run. Uses libraries math, random, collections, numpy. - Downstream impact: Used directly by 2 files: Explore — Lab (cosmic); Test Lab (cosmic). Reached from 4 other entry points, including Extras (cosmic); Ship (cosmic); Test Extras (cosmic). - Signatures: `data_items(G, max_df=60)`; `data_score(a, b, ins, outs, idf)`; `two_hop(nbr)`; `precision_at(ranked, hidden, ks)`; `run(G, hold=0.10)`; `feats(k)`; `step_files(G, step)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Explore — Lab - File: cosmic/tools/explore/lab/run.py (Python, 192 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/lab/run.py#L1-L192 - Page: https://code.globalgrid2050.com/explore-code/s/1105.html#f1 - Synopsis: A Python command-line tool in the tools folder of Cosmic that reads metrics and build graph, using Louvain and PageRank. - What it achieves (comment): It is built from the verdict step (`verdict`), the run all helper (`run_all`) and the report step (`report`). Explore Code intelligence lab: run every experiment, check determinism, write overlays, metrics and `REPORT.md`. It accepts `--only`, `--out` and `--graph`. - What it does: It loads metrics and build graph. Defines verdict, run_all, report, main. Uses libraries argparse, datetime, json, os, shutil. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file keys.json; JSON file .metrics.json; JSON file build_graph.json; JSON file graph.json; command-line arguments. - Downstream impact: Used directly by 1 file: Extras (cosmic). Reached from 3 other entry points, including Ship (cosmic); Test Extras (cosmic); Test Ship (cosmic). - Signatures: `verdict(name, m)`; `run_all(only=None, out=common.OUT, graph=common.BUILD_GRAPH)`; `report(G, results)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file keys.json; JSON file .metrics.json; JSON file build_graph.json; JSON file graph.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 8 estate files (import 8); used by 1; mentioned by 0 ### Semantic - File: cosmic/tools/explore/lab/semantic.py (Python, 206 lines) · role storage · stage ingest - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/lab/semantic.py#L1-L206 - Page: https://code.globalgrid2050.com/explore-code/s/1105.html#f2 - Synopsis: A Python module in the lab folder of Cosmic that reads words, substations and cables, using k-means. - What it achieves (comment): It is built from the file terms helper (`file_terms`), the tfidf step (`tfidf`) and the rsvd step (`rsvd`). Experiment 4: semantic map. TF-IDF over identifier words, truncated SVD (numpy), spherical k-means. - What it does: It loads words, substations and cables. Defines 6 functions or classes, including file_terms, tfidf, rsvd, kmeans, silhouette. Uses libraries math, os, collections, numpy, duckdb. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: substations, cables. - Inputs & outputs: In: Parquet file words.parquet; DuckDB queries. - Downstream impact: Used directly by 2 files: Explore — Lab (cosmic); Test Lab (cosmic). Reached from 4 other entry points, including Extras (cosmic); Ship (cosmic); Test Extras (cosmic). - Signatures: `file_terms(G)`; `tfidf(docs, min_df=3, max_df_share=0.25, max_vocab=4000)`; `rsvd(X, k, seed=SEED, power=3)`; `kmeans(Z, k, seed=SEED, iters=60)`; `silhouette(Z, lab, sample=2000, seed=SEED)`; `run(G, k=16, dims=40)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [Parquet file words.parquet; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Shoot - File: cosmic/tools/explore/lab/shoot.py (Python, 58 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/lab/shoot.py#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/1105.html#f3 - Synopsis: A Python command-line tool in the lab folder of Cosmic that renders `lab.html` in headless Chromium (Playwright), fail on console errors, screenshot every view. - What it achieves (name): It is built from the quiet class (`Quiet`). Defines `Quiet` and `log_message`. It accepts `--root` and `--out`. - What it does: It draws its content. Defines main, Quiet, log_message. Uses libraries argparse, functools, http.server, json, os. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: In: command-line arguments. Out: canvas drawing. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main(argv=None)`; `class Quiet`; `log_message(self, *args)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Lab - File: cosmic/tools/explore/lab/test_lab.py (Python, 204 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/lab/test_lab.py#L1-L204 - Page: https://code.globalgrid2050.com/explore-code/s/1105.html#f4 - Synopsis: A test in the explore folder of Cosmic that checks Explore — Lab and Communities, using Louvain and PageRank. - What it achieves (comment): It is built from the clique step (`clique`), the agreement class (`Agreement`) and the communities class (`Communities`). Unit tests for the intelligence lab: tiny synthetic graphs with known answers, no network, no estate files. - What it does: It tests cables. Defines 31 functions or classes, including clique, Agreement, test_identical_partitions, test_known_values, test_modularity_two_triangles. Uses libraries math, os, sys, unittest, numpy. - Why it exists in the grid workflow: Domain terms in the code: cables. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `clique(nodes)`; `class Agreement`; `test_identical_partitions(self)`; `test_known_values(self)`; `test_modularity_two_triangles(self)`; `class Communities`; `test_two_cliques_louvain(self)`; `test_two_cliques_label_propagation(self)`; `test_run_and_determinism(self)`; `class Importance`; `test_star_hub_top_pagerank(self)`; `test_betweenness_path(self)`; `test_kcore(self)`; `class Wafer`; `test_hash_key_invariant_under_insertion(self)`; `test_registry_and_dies_invariant_rank_not(self)`; `test_law_and_hex(self)`; `test_procrustes_recovers_rotation(self)`; `class Pipeline`; `test_tarjan(self)`; `test_layers(self)`; `class LinkPrediction`; `test_common_neighbours_and_adamic_adar(self)`; `test_precision_at(self)`; `class Semantic` (and 6 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 8 estate files (import 8); used by 0; mentioned by 0 ### Wafer - File: cosmic/tools/explore/lab/wafer.py (Python, 252 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/lab/wafer.py#L1-L252 - Page: https://code.globalgrid2050.com/explore-code/s/1106.html#f1 - Synopsis: A Python module in the lab folder of Cosmic that ranks spiral (`rank_spiral`), using SHA-256. - What it achieves (comment): It hashes key (`hash_key`) and is built from the key32 step (`key32`) and the law step (`law`). Experiment 3: Kuiper wafer layout. Positions are computed from a permanent ordinal, never stored. - What it does: It calculates its inputs. Defines 14 functions or classes, including key32, law, rank_spiral, registry_spiral, hash_key. Uses libraries hashlib, math, random, numpy. - Downstream impact: Used directly by 3 files: Explore — Lab (cosmic); Test Lab (cosmic); Test Visualise (cosmic). Reached from 4 other entry points, including Extras (cosmic); Ship (cosmic); Test Extras (cosmic). - Signatures: `key32(repo, path)`; `law(k)`; `rank_spiral(keys)`; `registry_spiral(keys, registry)`; `hash_key(keys)`; `hex_cell(i)`; `wafer_dies(keys, repo_registry)`; `shelf(keys)`; `force(keys, edges, iters=60)`; `procrustes(A, B)`; `diameter(P)`; `snapshots(G, seed=SEED, frac=0.05)`; `measure(layA, layB, edgesA, keys_common, align=False)`; `run(G)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Laws — Demo Page - File: cosmic/tools/explore/laws/demo/index.html (HTML, 278 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/laws/demo/index.html#L1-L278 - Page: https://code.globalgrid2050.com/explore-code/s/1106.html#f2 - Published at: https://ventusltd.github.io/cosmic/tools/explore/laws/demo/ - Synopsis: A web page in Cosmic that works with verdict cls and verdict txt, calculates planar distances, draws on a canvas and reads inputs for law s1. Published at https://ventusltd.github.io/cosmic/tools/explore/laws/demo/. - What it achieves (comment): It is built from the key pos helper (`keyPos`), the hue step (`hue`) and the verdict cls helper (`verdictCls`). Nine physical analogies measured on the Explore Code graph, each with a toggle that changes the drawing. It responds to change, resize and click events. - What it does: It draws its content. Defines 17 functions or classes, including keyPos, hue, verdictCls, verdictTxt, explain. Uses libraries data.js. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "`build_graph.json` (see `GRAPH-CONTRACT.md`) feeds `visualise.py`, which writes `visual/index.html`: pipeline (Ingest / Transform / Output), estate map and topic flow, coloured by role, topic, stage or pattern, with a reachability overlay." - Inputs & outputs: Out: web page; canvas drawing. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/cosmic/tools/explore/laws/demo/. - Signatures: `keyPos(n)`; `hue(r)`; `verdictCls(v)`; `verdictTxt(v)`; `explain(id)`; `resize()`; `sx(p)`; `sy(p)`; `rad(n)`; `step()`; `draw(ts)`; `j(1 - distil)`; `rnd()`; `induce(i, depth)`; `pick(px, py)`; `show(i)`; `li(s)`; `frame(ts)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Laws - File: cosmic/tools/explore/laws/laws.py (Python, 960 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/laws/laws.py#L1-L960 - Page: https://code.globalgrid2050.com/explore-code/s/1107.html#f1 - Synopsis: A Python command-line tool in the explore folder of Cosmic that reads build graph, identity and sentences, using SHA-256. - What it achieves (comment): It loads JSON (`load_json`) and is built from the ranks step (`ranks`) and the pearson step (`pearson`). The Explore Code estate measured as if it obeyed physical laws (GRAVITON-64, ). It accepts `--out`, `--demo` and `--no-lines`. - What it does: It loads build graph, identity and sentences. Defines 34 functions or classes, including load_json, ranks, pearson, spearman, gini. Uses libraries argparse, collections, itertools, json, math. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: In: JSON file build_graph.json; JSON file identity.json; JSON file laws.json; JSON file sentences.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 1 file: Test Laws (cosmic). - Signatures: `load_json(p)`; `ranks(xs)`; `pearson(a, b)`; `spearman(a, b)`; `gini(xs)`; `r4(x)`; `verdict(ok, partly=False)`; `class Estate`; `__init__(self, paths, read_lines=True)`; `key(self, i)`; `label(self, i)`; `law_gravity(E)`; `_named(item)`; `law_field(E)`; `_lines_md(path)`; `law_conservation(E)`; `_stamp(path)`; `law_entropy(E)`; `_copy_components(E)`; `find(x)`; `law_inertia(E, comp)`; `law_kirchhoff(E)`; `law_induction(E, comp)`; `law_key(E)`; `_minutes(a, b)` (and 9 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file identity.json; JSON file laws.json; JSON file sentences.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Laws - File: cosmic/tools/explore/laws/test_laws.py (Python, 261 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/laws/test_laws.py#L1-L261 - Page: https://code.globalgrid2050.com/explore-code/s/1108.html#f2 - Synopsis: A test in the explore folder of Cosmic that checks Laws, using SHA-256. It builds fixture (`build_fixture`), sets up (`setUp`) and sets up class (`setUpClass`). - What it achieves (comment): Tests for `laws.py` (unittest, no network). - What it does: It tests its inputs. Defines 31 functions or classes, including fmeta, ident, build_fixture, rj, wj. Uses libraries json, os, re, shutil, sys. Side effects: reads or writes files. - Inputs & outputs: Out: JSON file. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `fmeta(i, repo, path, dc_in=(), dc_out=(), prov='comment', lines=10, stage='transform')`; `ident(i, repo, path, fams, verdict='unique', of=None, sim=None)`; `build_fixture(d, user_changes=True)`; `rj(p)`; `wj(p, obj)`; `rt(p)`; `class Synthetic`; `setUp(self)`; `tearDown(self)`; `test_mass_excludes_mentions(self)`; `test_gravity_concentrated(self)`; `test_field_closed_share(self)`; `test_conservation_holds_and_counts_words(self)`; `test_conservation_breaks_on_reused_number(self)`; `test_conservation_partly_when_modular_not_one_to_one(self)`; `test_kirchhoff_leak(self)`; `test_induction_table(self)`; `test_induction_counts_unchanged_user(self)`; `test_key_law_counts_name_only(self)`; `test_light_ages(self)`; `test_light_fails_on_bare_clock(self)`; `test_sentences_grounded(self)`; `test_spearman_and_gini(self)`; `test_no_religious_wording(self)`; `class RealEstate` (and 6 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Exp - File: cosmic/tools/explore/periodic/experiments/exp.py (Python, 760 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/experiments/exp.py#L1-L760 - Page: https://code.globalgrid2050.com/explore-code/s/1109.html#f1 - Synopsis: A Python command-line tool in the experiments folder of Cosmic that draws families and metrics, using Louvain. It writes page (`write_page`) and matches acc (`match_acc`). - What it achieves (comment): Five code visualisation experiments driven by element properties. It accepts `--out`. - What it does: It draws families and metrics. Defines 29 functions or classes, including rnd, quantile, spearman, ranks, table. Uses libraries collections, hashlib, html, json, math. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file families.json; JSON file metrics.json; command-line arguments. Out: JSON file; canvas drawing. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `rnd(x, k=4)`; `quantile(xs, q)`; `spearman(a, b)`; `ranks(v)`; `table(head, rows)`; `write_page(out, name, title, question, res, read, method, data, js, table_html, ctx, controls='')`; `modularity(adj, part, m2)`; `element_bonds(ctx, members_by_sym)`; `louvain(bonds, nodes, seed)`; `exp_reactions(ctx, P, out)`; `_lines(repo, path)`; `chain_drift(ctx, chains)`; `exp_decay(ctx, P, out)`; `exp_isotopes(ctx, P, out)`; `crosses(ids)`; `real_layout()`; `add(p, g, row=None, col=None)`; `mapper_axes_test(P, keys, rng)`; `eta(groups)`; `exp_periodicity(ctx, P, out)`; `ratio(vals)`; `acf(vals, lag)`; `exp_barcode(ctx, P, out)`; `spec(fs)`; `js_div(p, q)` (and 4 more) - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file families.json; JSON file metrics.json; command-line arguments]; out [JSON file; canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 0; mentioned by 0 ### Feed - File: cosmic/tools/explore/periodic/feed.py (Python, 760 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/feed.py#L1-L760 - Page: https://code.globalgrid2050.com/explore-code/s/1110.html#f2 - Synopsis: A Python command-line tool in the periodic folder of Cosmic that reads fixture periodic, fixture props, element and cards. It loads periodic (`load_periodic`), loads props (`load_props`) and loads graph (`load_graph`). - What it achieves (comment): Post-build step: feed the periodic table of the code estate into Explore Code. It accepts `--site`, `--out` and `--graph`. - What it does: It loads fixture periodic, fixture props, element and cards. Defines 35 functions or classes, including _chem_table, ln_of, esc, first, pick. Uses libraries __future__, argparse, html, json, math. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file periodic.json; JSON file fixture-periodic.json; JSON file props.json; JSON file fixture-props.json; JSON file element-index.json; JSON file cards.json; JSON file build_graph.json; form fields (user input). Out: JSON file element-index.json; JSON file extra.json; JSON file cards.json; JSON file fixture-periodic.json; JSON file fixture-props.json. - Downstream impact: Used directly by 2 files: Extras (cosmic); Test Feed (cosmic). Reached from 3 other entry points, including Ship (cosmic); Test Extras (cosmic); Test Ship (cosmic). - Signatures: `_chem_table()`; `ln_of(period: int)`; `esc(s)`; `first(d: dict, *keys, default=None)`; `pick(paths)`; `norm_analogy(raw)`; `norm_value(v)`; `as_list(x)`; `norm_evidence(x)`; `norm_files(x)`; `load_periodic(path: Path)`; `load_props(path: Path | None, elements: list[dict])`; `load_graph(path: Path | None)`; `file_names(elements: list[dict])`; `order_key(e: dict)`; `layout(elements: list[dict], groups: list[dict], periods: list[dict])`; `shape(height: int)`; `header(crumbs: list[tuple[str, str]], h1: str, lead: str)`; `state_label(e: dict)`; `num_label(e: dict)`; `file_link(f: dict, up: str)`; `group_of(meta: dict, e: dict)`; `element_card_html(meta: dict, e: dict, files: list[dict], props: list[dict])`; `fixture_note(meta: dict)`; `tile(e: dict)` (and 10 more) - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file periodic.json; JSON file fixture-periodic.json; JSON file props.json; JSON file fixture-props.json; JSON file element-index.json; JSON file cards.json; JSON file build_graph.json; form fields (user input)]; out [JSON file element-index.json; JSON file extra.json; JSON file cards.json; JSON file fixture-periodic.json; JSON file fixture-props.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Furnace — Electron - File: cosmic/tools/explore/periodic/furnace/electron/common.py (Python, 906 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/common.py#L1-L906 - Page: https://code.globalgrid2050.com/explore-code/s/1111.html#f2 - Synopsis: A Python module in the periodic folder of Cosmic that reads build graph and elements118. It ranks top (`rank_top`) and runs element (`run_element`). - What it achieves (comment): ELECTRON shared helpers: graph arrays, element parameters, the 20 measure families. - What it does: It loads build graph and elements118. Defines 47 functions or classes, including layout_from_z, _valence_from_layout, _elements_file, _pick, element_params. Uses libraries __future__, json, math, os, re. Side effects: reads or writes files. - Inputs & outputs: In: JSON file build_graph.json; JSON file elements118.json. - Signatures: `layout_from_z(z: int)`; `_valence_from_layout(lay: dict)`; `_elements_file()`; `_pick(d: dict, *names)`; `element_params(z: int, ctx: dict | None)`; `get(*names)`; `_count_params(sig: str)`; `_graph_path(ctx)`; `_host_graph(graph: dict | None = None, path: str = GRAPH_PATH)`; `intern(values)`; `graph_arrays(ctx, xp)`; `_to_dev(host: dict, xp)`; `edge_set(G: dict, block: str, xp)`; `py(x)`; `scatter_max(idx, val, n, xp)`; `raw(x)`; `degrees(src, dst, n, xp)`; `rank_top(score, mask, v, xp)`; `q_cut(values, q, xp)`; `bfs(src, dst, n, seeds_mask, hops, xp)`; `trim_to_cycles(src, dst, n, xp)`; `on_cycle_within(src, dst, n, cand, L, xp, chunk=512)`; `weak_components(src, dst, n, xp)`; `gini(x, xp)`; `picture(bars, hi, named, src, dst, k, xp, labels=None)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file elements118.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E1 - File: cosmic/tools/explore/periodic/furnace/electron/e1.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e1.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1112.html#f2 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E1 H — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E10 - File: cosmic/tools/explore/periodic/furnace/electron/e10.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e10.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1112.html#f3 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E10 Ne — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E100 - File: cosmic/tools/explore/periodic/furnace/electron/e100.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e100.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1112.html#f4 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E100 Fm — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E101 - File: cosmic/tools/explore/periodic/furnace/electron/e101.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e101.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1112.html#f5 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E101 Md — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E102 - File: cosmic/tools/explore/periodic/furnace/electron/e102.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e102.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1112.html#f6 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E102 No — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E103 - File: cosmic/tools/explore/periodic/furnace/electron/e103.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e103.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1112.html#f7 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E103 Lr — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E104 - File: cosmic/tools/explore/periodic/furnace/electron/e104.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e104.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1112.html#f8 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E104 Rf — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E105 - File: cosmic/tools/explore/periodic/furnace/electron/e105.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e105.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1112.html#f9 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E105 Db — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E106 - File: cosmic/tools/explore/periodic/furnace/electron/e106.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e106.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1112.html#f10 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E106 Sg — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E107 - File: cosmic/tools/explore/periodic/furnace/electron/e107.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e107.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1112.html#f11 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E107 Bh — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E108 - File: cosmic/tools/explore/periodic/furnace/electron/e108.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e108.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1112.html#f12 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E108 Hs — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E109 - File: cosmic/tools/explore/periodic/furnace/electron/e109.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e109.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1112.html#f13 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E109 Mt — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E11 - File: cosmic/tools/explore/periodic/furnace/electron/e11.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e11.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f1 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E11 Na — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E110 - File: cosmic/tools/explore/periodic/furnace/electron/e110.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e110.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f2 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E110 Ds — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E111 - File: cosmic/tools/explore/periodic/furnace/electron/e111.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e111.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f3 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E111 Rg — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E112 - File: cosmic/tools/explore/periodic/furnace/electron/e112.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e112.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f4 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E112 Cn — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E113 - File: cosmic/tools/explore/periodic/furnace/electron/e113.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e113.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f5 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E113 Nh — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E114 - File: cosmic/tools/explore/periodic/furnace/electron/e114.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e114.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f6 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E114 Fl — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E115 - File: cosmic/tools/explore/periodic/furnace/electron/e115.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e115.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f7 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E115 Mc — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E116 - File: cosmic/tools/explore/periodic/furnace/electron/e116.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e116.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f8 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E116 LV — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E117 - File: cosmic/tools/explore/periodic/furnace/electron/e117.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e117.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f9 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E117 Ts — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E118 - File: cosmic/tools/explore/periodic/furnace/electron/e118.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e118.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f10 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E118 Og — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E12 - File: cosmic/tools/explore/periodic/furnace/electron/e12.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e12.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f11 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E12 Mg — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E13 - File: cosmic/tools/explore/periodic/furnace/electron/e13.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e13.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f12 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E13 Al — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E14 - File: cosmic/tools/explore/periodic/furnace/electron/e14.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e14.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f13 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E14 Si — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E15 - File: cosmic/tools/explore/periodic/furnace/electron/e15.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e15.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f14 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E15 P — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E16 - File: cosmic/tools/explore/periodic/furnace/electron/e16.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e16.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f15 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E16 S — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E17 - File: cosmic/tools/explore/periodic/furnace/electron/e17.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e17.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f16 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E17 Cl — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E18 - File: cosmic/tools/explore/periodic/furnace/electron/e18.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e18.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f17 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E18 Ar — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E19 - File: cosmic/tools/explore/periodic/furnace/electron/e19.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e19.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f18 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E19 K — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E2 - File: cosmic/tools/explore/periodic/furnace/electron/e2.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e2.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f19 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E2 He — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E20 - File: cosmic/tools/explore/periodic/furnace/electron/e20.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e20.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f20 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E20 Ca — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E21 - File: cosmic/tools/explore/periodic/furnace/electron/e21.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e21.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f21 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E21 Sc — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E22 - File: cosmic/tools/explore/periodic/furnace/electron/e22.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e22.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f22 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E22 Ti — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E23 - File: cosmic/tools/explore/periodic/furnace/electron/e23.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e23.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f23 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E23 V — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E24 - File: cosmic/tools/explore/periodic/furnace/electron/e24.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e24.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1113.html#f24 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E24 Cr — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E25 - File: cosmic/tools/explore/periodic/furnace/electron/e25.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e25.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f1 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E25 Mn — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E26 - File: cosmic/tools/explore/periodic/furnace/electron/e26.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e26.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f2 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E26 Fe — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E27 - File: cosmic/tools/explore/periodic/furnace/electron/e27.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e27.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f3 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E27 Co — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E28 - File: cosmic/tools/explore/periodic/furnace/electron/e28.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e28.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f4 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E28 Ni — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E29 - File: cosmic/tools/explore/periodic/furnace/electron/e29.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e29.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f5 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E29 Cu — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E3 - File: cosmic/tools/explore/periodic/furnace/electron/e3.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e3.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f6 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E3 Li — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E30 - File: cosmic/tools/explore/periodic/furnace/electron/e30.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e30.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f7 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E30 Zn — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E31 - File: cosmic/tools/explore/periodic/furnace/electron/e31.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e31.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f8 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E31 Ga — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E32 - File: cosmic/tools/explore/periodic/furnace/electron/e32.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e32.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f9 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E32 Ge — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E33 - File: cosmic/tools/explore/periodic/furnace/electron/e33.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e33.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f10 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E33 As — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E34 - File: cosmic/tools/explore/periodic/furnace/electron/e34.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e34.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f11 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E34 Se — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E35 - File: cosmic/tools/explore/periodic/furnace/electron/e35.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e35.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f12 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E35 Br — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E36 - File: cosmic/tools/explore/periodic/furnace/electron/e36.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e36.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f13 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E36 Kr — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E37 - File: cosmic/tools/explore/periodic/furnace/electron/e37.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e37.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f14 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E37 Rb — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E38 - File: cosmic/tools/explore/periodic/furnace/electron/e38.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e38.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f15 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E38 Sr — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E39 - File: cosmic/tools/explore/periodic/furnace/electron/e39.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e39.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f16 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E39 Y — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E4 - File: cosmic/tools/explore/periodic/furnace/electron/e4.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e4.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f17 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E4 Be — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E40 - File: cosmic/tools/explore/periodic/furnace/electron/e40.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e40.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f18 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E40 Zr — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E41 - File: cosmic/tools/explore/periodic/furnace/electron/e41.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e41.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f19 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E41 Nb — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E42 - File: cosmic/tools/explore/periodic/furnace/electron/e42.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e42.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f20 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E42 Mo — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E43 - File: cosmic/tools/explore/periodic/furnace/electron/e43.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e43.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f21 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E43 Tc — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E44 - File: cosmic/tools/explore/periodic/furnace/electron/e44.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e44.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f22 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E44 Ru — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E45 - File: cosmic/tools/explore/periodic/furnace/electron/e45.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e45.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f23 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E45 Rh — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E46 - File: cosmic/tools/explore/periodic/furnace/electron/e46.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e46.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1114.html#f24 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E46 Pd — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E47 - File: cosmic/tools/explore/periodic/furnace/electron/e47.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e47.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f1 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E47 Ag — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E48 - File: cosmic/tools/explore/periodic/furnace/electron/e48.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e48.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f2 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E48 Cd — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E49 - File: cosmic/tools/explore/periodic/furnace/electron/e49.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e49.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f3 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E49 In — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E5 - File: cosmic/tools/explore/periodic/furnace/electron/e5.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e5.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f4 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E5 B — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E50 - File: cosmic/tools/explore/periodic/furnace/electron/e50.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e50.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f5 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E50 Sn — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E51 - File: cosmic/tools/explore/periodic/furnace/electron/e51.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e51.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f6 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E51 Sb — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E52 - File: cosmic/tools/explore/periodic/furnace/electron/e52.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e52.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f7 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E52 Te — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E53 - File: cosmic/tools/explore/periodic/furnace/electron/e53.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e53.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f8 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E53 I — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E54 - File: cosmic/tools/explore/periodic/furnace/electron/e54.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e54.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f9 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E54 Xe — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E55 - File: cosmic/tools/explore/periodic/furnace/electron/e55.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e55.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f10 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E55 Cs — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E56 - File: cosmic/tools/explore/periodic/furnace/electron/e56.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e56.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f11 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E56 Ba — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E57 - File: cosmic/tools/explore/periodic/furnace/electron/e57.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e57.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f12 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E57 La — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E58 - File: cosmic/tools/explore/periodic/furnace/electron/e58.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e58.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f13 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E58 Ce — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E59 - File: cosmic/tools/explore/periodic/furnace/electron/e59.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e59.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f14 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E59 Pr — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E6 - File: cosmic/tools/explore/periodic/furnace/electron/e6.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e6.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f15 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E6 C — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E60 - File: cosmic/tools/explore/periodic/furnace/electron/e60.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e60.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f16 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E60 Nd — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E61 - File: cosmic/tools/explore/periodic/furnace/electron/e61.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e61.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f17 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E61 Pm — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E62 - File: cosmic/tools/explore/periodic/furnace/electron/e62.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e62.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f18 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E62 Sm — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E63 - File: cosmic/tools/explore/periodic/furnace/electron/e63.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e63.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f19 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E63 Eu — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E64 - File: cosmic/tools/explore/periodic/furnace/electron/e64.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e64.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f20 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E64 Gd — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E65 - File: cosmic/tools/explore/periodic/furnace/electron/e65.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e65.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f21 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E65 Tb — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E66 - File: cosmic/tools/explore/periodic/furnace/electron/e66.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e66.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f22 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E66 Dy — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E67 - File: cosmic/tools/explore/periodic/furnace/electron/e67.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e67.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f23 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E67 Ho — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E68 - File: cosmic/tools/explore/periodic/furnace/electron/e68.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e68.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1115.html#f24 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E68 Er — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E69 - File: cosmic/tools/explore/periodic/furnace/electron/e69.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e69.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f1 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E69 Tm — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E7 - File: cosmic/tools/explore/periodic/furnace/electron/e7.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e7.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f2 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E7 N — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E70 - File: cosmic/tools/explore/periodic/furnace/electron/e70.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e70.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f3 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E70 Yb — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E71 - File: cosmic/tools/explore/periodic/furnace/electron/e71.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e71.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f4 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E71 Lu — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E72 - File: cosmic/tools/explore/periodic/furnace/electron/e72.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e72.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f5 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E72 Hf — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E73 - File: cosmic/tools/explore/periodic/furnace/electron/e73.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e73.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f6 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E73 Ta — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E74 - File: cosmic/tools/explore/periodic/furnace/electron/e74.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e74.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f7 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E74 W — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E75 - File: cosmic/tools/explore/periodic/furnace/electron/e75.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e75.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f8 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E75 Re — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E76 - File: cosmic/tools/explore/periodic/furnace/electron/e76.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e76.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f9 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E76 Os — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E77 - File: cosmic/tools/explore/periodic/furnace/electron/e77.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e77.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f10 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E77 Ir — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E78 - File: cosmic/tools/explore/periodic/furnace/electron/e78.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e78.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f11 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E78 Pt — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E79 - File: cosmic/tools/explore/periodic/furnace/electron/e79.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e79.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f12 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E79 Au — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E8 - File: cosmic/tools/explore/periodic/furnace/electron/e8.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e8.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f13 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E8 O — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E80 - File: cosmic/tools/explore/periodic/furnace/electron/e80.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e80.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f14 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E80 Hg — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E81 - File: cosmic/tools/explore/periodic/furnace/electron/e81.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e81.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f15 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E81 Tl — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E82 - File: cosmic/tools/explore/periodic/furnace/electron/e82.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e82.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f16 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E82 Pb — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E83 - File: cosmic/tools/explore/periodic/furnace/electron/e83.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e83.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f17 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E83 Bi — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E84 - File: cosmic/tools/explore/periodic/furnace/electron/e84.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e84.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f18 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E84 Po — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E85 - File: cosmic/tools/explore/periodic/furnace/electron/e85.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e85.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f19 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E85 At — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E86 - File: cosmic/tools/explore/periodic/furnace/electron/e86.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e86.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f20 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E86 Rn — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E87 - File: cosmic/tools/explore/periodic/furnace/electron/e87.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e87.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f21 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E87 Fr — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E88 - File: cosmic/tools/explore/periodic/furnace/electron/e88.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e88.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f22 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E88 Ra — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E89 - File: cosmic/tools/explore/periodic/furnace/electron/e89.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e89.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f23 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E89 Ac — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E9 - File: cosmic/tools/explore/periodic/furnace/electron/e9.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e9.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1116.html#f24 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E9 F — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E90 - File: cosmic/tools/explore/periodic/furnace/electron/e90.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e90.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f1 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E90 Th — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E91 - File: cosmic/tools/explore/periodic/furnace/electron/e91.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e91.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f2 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E91 Pa — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E92 - File: cosmic/tools/explore/periodic/furnace/electron/e92.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e92.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f3 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E92 U — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E93 - File: cosmic/tools/explore/periodic/furnace/electron/e93.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e93.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f4 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E93 Np — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E94 - File: cosmic/tools/explore/periodic/furnace/electron/e94.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e94.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f5 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E94 Pu — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E95 - File: cosmic/tools/explore/periodic/furnace/electron/e95.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e95.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f6 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E95 Am — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E96 - File: cosmic/tools/explore/periodic/furnace/electron/e96.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e96.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f7 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E96 Cm — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E97 - File: cosmic/tools/explore/periodic/furnace/electron/e97.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e97.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f8 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E97 Bk — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E98 - File: cosmic/tools/explore/periodic/furnace/electron/e98.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e98.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f9 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E98 Cf — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E99 - File: cosmic/tools/explore/periodic/furnace/electron/e99.py (Python, 29 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/e99.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f10 - Synopsis: A Python module in the electron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): E99 Es — ELECTRON (primary computation). - What it does: It calculates its inputs. Defines _common, run. Uses libraries importlib.util, os, sys. - Signatures: `_common()`; `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Electron - File: cosmic/tools/explore/periodic/furnace/electron/test_electron.py (Python, 106 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/electron/test_electron.py#L1-L106 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f11 - Synopsis: A test in the furnace folder of Cosmic. It sets up class (`setUpClass`) and is built from the load step (`load`) and the common step (`common`). - What it achieves (comment): ELECTRON tests: every Z present, runs on xp=numpy, deterministic, evidence keys well formed. - What it does: It tests its inputs. Defines 11 functions or classes, including load, common, TestElectron, setUpClass, test_every_z_present. Uses libraries importlib.util, json, os, re, sys. Side effects: reads or writes files. - Inputs & outputs: In: JSON file build_graph.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `load(z)`; `common()`; `class TestElectron`; `setUpClass(cls)`; `test_every_z_present(self)`; `test_runs_numpy_and_shape(self)`; `test_evidence_keys(self)`; `test_deterministic(self)`; `test_layout_and_families(self)`; `test_column_monotone(self)`; `test_hand_check_fanout(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Gallery - File: cosmic/tools/explore/periodic/furnace/page/gallery.css (CSS, 64 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/page/gallery.css#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f12 - Synopsis: A style sheet in the page folder of Cosmic. - What it achieves (comment): Furnace gallery (`run.py`, CRUCIBLE-31). Site palette: #000 #0b0e14 #2f343d #fff #a6adbb #66ccff #00ffff. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Index Template (cosmic, https://ventusltd.github.io/cosmic/tools/explore/periodic/furnace/page/index.template.html). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Gallery - File: cosmic/tools/explore/periodic/furnace/page/gallery.js (JavaScript, 153 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/page/gallery.js#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f13 - Synopsis: A JavaScript file in the page folder of Cosmic that works with st cls (`stCls`) and draws SVG graphics (units: kV). - What it achieves (comment): It is built from the st cls helper (`stCls`), the mark step (`mark`) and the fmt step (`fmt`). Furnace gallery (`run.py`, CRUCIBLE-31). Reads window.FURNACE (`data.js`); no network, no CDN. It responds to click events. - What it does: It draws its content. Defines 9 functions or classes, including el, stCls, mark, fmt, num. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: Out: SVG drawing. - Downstream impact: Used directly by 1 file: Index Template (cosmic, https://ventusltd.github.io/cosmic/tools/explore/periodic/furnace/page/index.template.html). - Signatures: `el(tag, cls, text)`; `stCls(s)`; `mark(s)`; `fmt(v)`; `num(v, d)`; `picture(prims, cls, label)`; `kv(dl, k, v, pre)`; `open(r)`; `close()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Index Template - File: cosmic/tools/explore/periodic/furnace/page/index.template.html (HTML, 43 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/page/index.template.html#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f14 - Published at: https://ventusltd.github.io/cosmic/tools/explore/periodic/furnace/page/index.template.html - Synopsis: A web page in the page folder of Cosmic. Published at https://ventusltd.github.io/cosmic/tools/explore/periodic/furnace/page/index.template.html. - What it achieves (comment): Furnace: 118 code experiments, electron and positron. - What it does: It draws its content. Uses libraries data.js. Side effects: changes the web page (DOM). - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/cosmic/tools/explore/periodic/furnace/page/index.template.html. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 0; mentioned by 0 ### P1 - File: cosmic/tools/explore/periodic/furnace/positron/p1.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p1.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f15 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p1 (ANTIPODE-26): independent second computation for Z=1; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P10 - File: cosmic/tools/explore/periodic/furnace/positron/p10.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p10.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f16 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p10 (ANTIPODE-26): independent second computation for Z=10; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P100 - File: cosmic/tools/explore/periodic/furnace/positron/p100.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p100.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f17 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p100 (ANTIPODE-26): independent second computation for Z=100; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P101 - File: cosmic/tools/explore/periodic/furnace/positron/p101.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p101.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f18 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p101 (ANTIPODE-26): independent second computation for Z=101; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P102 - File: cosmic/tools/explore/periodic/furnace/positron/p102.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p102.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1117.html#f19 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p102 (ANTIPODE-26): independent second computation for Z=102; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P103 - File: cosmic/tools/explore/periodic/furnace/positron/p103.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p103.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f1 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p103 (ANTIPODE-26): independent second computation for Z=103; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P104 - File: cosmic/tools/explore/periodic/furnace/positron/p104.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p104.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f2 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p104 (ANTIPODE-26): independent second computation for Z=104; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P105 - File: cosmic/tools/explore/periodic/furnace/positron/p105.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p105.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f3 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p105 (ANTIPODE-26): independent second computation for Z=105; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P106 - File: cosmic/tools/explore/periodic/furnace/positron/p106.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p106.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f4 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p106 (ANTIPODE-26): independent second computation for Z=106; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P107 - File: cosmic/tools/explore/periodic/furnace/positron/p107.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p107.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f5 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p107 (ANTIPODE-26): independent second computation for Z=107; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P108 - File: cosmic/tools/explore/periodic/furnace/positron/p108.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p108.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f6 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p108 (ANTIPODE-26): independent second computation for Z=108; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P109 - File: cosmic/tools/explore/periodic/furnace/positron/p109.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p109.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f7 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p109 (ANTIPODE-26): independent second computation for Z=109; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P11 - File: cosmic/tools/explore/periodic/furnace/positron/p11.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p11.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f8 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p11 (ANTIPODE-26): independent second computation for Z=11; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P110 - File: cosmic/tools/explore/periodic/furnace/positron/p110.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p110.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f9 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p110 (ANTIPODE-26): independent second computation for Z=110; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P111 - File: cosmic/tools/explore/periodic/furnace/positron/p111.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p111.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f10 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p111 (ANTIPODE-26): independent second computation for Z=111; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P112 - File: cosmic/tools/explore/periodic/furnace/positron/p112.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p112.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f11 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p112 (ANTIPODE-26): independent second computation for Z=112; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P113 - File: cosmic/tools/explore/periodic/furnace/positron/p113.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p113.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f12 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p113 (ANTIPODE-26): independent second computation for Z=113; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P114 - File: cosmic/tools/explore/periodic/furnace/positron/p114.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p114.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f13 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p114 (ANTIPODE-26): independent second computation for Z=114; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P115 - File: cosmic/tools/explore/periodic/furnace/positron/p115.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p115.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f14 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p115 (ANTIPODE-26): independent second computation for Z=115; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P116 - File: cosmic/tools/explore/periodic/furnace/positron/p116.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p116.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f15 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p116 (ANTIPODE-26): independent second computation for Z=116; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P117 - File: cosmic/tools/explore/periodic/furnace/positron/p117.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p117.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f16 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p117 (ANTIPODE-26): independent second computation for Z=117; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P118 - File: cosmic/tools/explore/periodic/furnace/positron/p118.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p118.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f17 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p118 (ANTIPODE-26): independent second computation for Z=118; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P12 - File: cosmic/tools/explore/periodic/furnace/positron/p12.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p12.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f18 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p12 (ANTIPODE-26): independent second computation for Z=12; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P13 - File: cosmic/tools/explore/periodic/furnace/positron/p13.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p13.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f19 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p13 (ANTIPODE-26): independent second computation for Z=13; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P14 - File: cosmic/tools/explore/periodic/furnace/positron/p14.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p14.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f20 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p14 (ANTIPODE-26): independent second computation for Z=14; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P15 - File: cosmic/tools/explore/periodic/furnace/positron/p15.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p15.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f21 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p15 (ANTIPODE-26): independent second computation for Z=15; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P16 - File: cosmic/tools/explore/periodic/furnace/positron/p16.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p16.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f22 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p16 (ANTIPODE-26): independent second computation for Z=16; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P17 - File: cosmic/tools/explore/periodic/furnace/positron/p17.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p17.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f23 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p17 (ANTIPODE-26): independent second computation for Z=17; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P18 - File: cosmic/tools/explore/periodic/furnace/positron/p18.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p18.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f24 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p18 (ANTIPODE-26): independent second computation for Z=18; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P19 - File: cosmic/tools/explore/periodic/furnace/positron/p19.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p19.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f25 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p19 (ANTIPODE-26): independent second computation for Z=19; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P2 - File: cosmic/tools/explore/periodic/furnace/positron/p2.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p2.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f26 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p2 (ANTIPODE-26): independent second computation for Z=2; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P20 - File: cosmic/tools/explore/periodic/furnace/positron/p20.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p20.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f27 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p20 (ANTIPODE-26): independent second computation for Z=20; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P21 - File: cosmic/tools/explore/periodic/furnace/positron/p21.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p21.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f28 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p21 (ANTIPODE-26): independent second computation for Z=21; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P22 - File: cosmic/tools/explore/periodic/furnace/positron/p22.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p22.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f29 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p22 (ANTIPODE-26): independent second computation for Z=22; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P23 - File: cosmic/tools/explore/periodic/furnace/positron/p23.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p23.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f30 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p23 (ANTIPODE-26): independent second computation for Z=23; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P24 - File: cosmic/tools/explore/periodic/furnace/positron/p24.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p24.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f31 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p24 (ANTIPODE-26): independent second computation for Z=24; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P25 - File: cosmic/tools/explore/periodic/furnace/positron/p25.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p25.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f32 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p25 (ANTIPODE-26): independent second computation for Z=25; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P26 - File: cosmic/tools/explore/periodic/furnace/positron/p26.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p26.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f33 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p26 (ANTIPODE-26): independent second computation for Z=26; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P27 - File: cosmic/tools/explore/periodic/furnace/positron/p27.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p27.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f34 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p27 (ANTIPODE-26): independent second computation for Z=27; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P28 - File: cosmic/tools/explore/periodic/furnace/positron/p28.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p28.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f35 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p28 (ANTIPODE-26): independent second computation for Z=28; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P29 - File: cosmic/tools/explore/periodic/furnace/positron/p29.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p29.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f36 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p29 (ANTIPODE-26): independent second computation for Z=29; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P3 - File: cosmic/tools/explore/periodic/furnace/positron/p3.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p3.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f37 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p3 (ANTIPODE-26): independent second computation for Z=3; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P30 - File: cosmic/tools/explore/periodic/furnace/positron/p30.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p30.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f38 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p30 (ANTIPODE-26): independent second computation for Z=30; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P31 - File: cosmic/tools/explore/periodic/furnace/positron/p31.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p31.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f39 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p31 (ANTIPODE-26): independent second computation for Z=31; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P32 - File: cosmic/tools/explore/periodic/furnace/positron/p32.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p32.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f40 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p32 (ANTIPODE-26): independent second computation for Z=32; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P33 - File: cosmic/tools/explore/periodic/furnace/positron/p33.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p33.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f41 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p33 (ANTIPODE-26): independent second computation for Z=33; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P34 - File: cosmic/tools/explore/periodic/furnace/positron/p34.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p34.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f42 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p34 (ANTIPODE-26): independent second computation for Z=34; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P35 - File: cosmic/tools/explore/periodic/furnace/positron/p35.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p35.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f43 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p35 (ANTIPODE-26): independent second computation for Z=35; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P36 - File: cosmic/tools/explore/periodic/furnace/positron/p36.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p36.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f44 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p36 (ANTIPODE-26): independent second computation for Z=36; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P37 - File: cosmic/tools/explore/periodic/furnace/positron/p37.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p37.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f45 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p37 (ANTIPODE-26): independent second computation for Z=37; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P38 - File: cosmic/tools/explore/periodic/furnace/positron/p38.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p38.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f46 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p38 (ANTIPODE-26): independent second computation for Z=38; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P39 - File: cosmic/tools/explore/periodic/furnace/positron/p39.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p39.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f47 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p39 (ANTIPODE-26): independent second computation for Z=39; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P4 - File: cosmic/tools/explore/periodic/furnace/positron/p4.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p4.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f48 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p4 (ANTIPODE-26): independent second computation for Z=4; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P40 - File: cosmic/tools/explore/periodic/furnace/positron/p40.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p40.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f49 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p40 (ANTIPODE-26): independent second computation for Z=40; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P41 - File: cosmic/tools/explore/periodic/furnace/positron/p41.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p41.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f50 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p41 (ANTIPODE-26): independent second computation for Z=41; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P42 - File: cosmic/tools/explore/periodic/furnace/positron/p42.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p42.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f51 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p42 (ANTIPODE-26): independent second computation for Z=42; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P43 - File: cosmic/tools/explore/periodic/furnace/positron/p43.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p43.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f52 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p43 (ANTIPODE-26): independent second computation for Z=43; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P44 - File: cosmic/tools/explore/periodic/furnace/positron/p44.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p44.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f53 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p44 (ANTIPODE-26): independent second computation for Z=44; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P45 - File: cosmic/tools/explore/periodic/furnace/positron/p45.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p45.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f54 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p45 (ANTIPODE-26): independent second computation for Z=45; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P46 - File: cosmic/tools/explore/periodic/furnace/positron/p46.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p46.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f55 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p46 (ANTIPODE-26): independent second computation for Z=46; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P47 - File: cosmic/tools/explore/periodic/furnace/positron/p47.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p47.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f56 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p47 (ANTIPODE-26): independent second computation for Z=47; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P48 - File: cosmic/tools/explore/periodic/furnace/positron/p48.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p48.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f57 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p48 (ANTIPODE-26): independent second computation for Z=48; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P49 - File: cosmic/tools/explore/periodic/furnace/positron/p49.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p49.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f58 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p49 (ANTIPODE-26): independent second computation for Z=49; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P5 - File: cosmic/tools/explore/periodic/furnace/positron/p5.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p5.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f59 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p5 (ANTIPODE-26): independent second computation for Z=5; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P50 - File: cosmic/tools/explore/periodic/furnace/positron/p50.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p50.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f60 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p50 (ANTIPODE-26): independent second computation for Z=50; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P51 - File: cosmic/tools/explore/periodic/furnace/positron/p51.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p51.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f61 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p51 (ANTIPODE-26): independent second computation for Z=51; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P52 - File: cosmic/tools/explore/periodic/furnace/positron/p52.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p52.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f62 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p52 (ANTIPODE-26): independent second computation for Z=52; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P53 - File: cosmic/tools/explore/periodic/furnace/positron/p53.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p53.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f63 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p53 (ANTIPODE-26): independent second computation for Z=53; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P54 - File: cosmic/tools/explore/periodic/furnace/positron/p54.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p54.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f64 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p54 (ANTIPODE-26): independent second computation for Z=54; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P55 - File: cosmic/tools/explore/periodic/furnace/positron/p55.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p55.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f65 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p55 (ANTIPODE-26): independent second computation for Z=55; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P56 - File: cosmic/tools/explore/periodic/furnace/positron/p56.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p56.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f66 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p56 (ANTIPODE-26): independent second computation for Z=56; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P57 - File: cosmic/tools/explore/periodic/furnace/positron/p57.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p57.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f67 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p57 (ANTIPODE-26): independent second computation for Z=57; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P58 - File: cosmic/tools/explore/periodic/furnace/positron/p58.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p58.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f68 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p58 (ANTIPODE-26): independent second computation for Z=58; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P59 - File: cosmic/tools/explore/periodic/furnace/positron/p59.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p59.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f69 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p59 (ANTIPODE-26): independent second computation for Z=59; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P6 - File: cosmic/tools/explore/periodic/furnace/positron/p6.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p6.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f70 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p6 (ANTIPODE-26): independent second computation for Z=6; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P60 - File: cosmic/tools/explore/periodic/furnace/positron/p60.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p60.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f71 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p60 (ANTIPODE-26): independent second computation for Z=60; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P61 - File: cosmic/tools/explore/periodic/furnace/positron/p61.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p61.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f72 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p61 (ANTIPODE-26): independent second computation for Z=61; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P62 - File: cosmic/tools/explore/periodic/furnace/positron/p62.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p62.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f73 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p62 (ANTIPODE-26): independent second computation for Z=62; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P63 - File: cosmic/tools/explore/periodic/furnace/positron/p63.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p63.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f74 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p63 (ANTIPODE-26): independent second computation for Z=63; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P64 - File: cosmic/tools/explore/periodic/furnace/positron/p64.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p64.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f75 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p64 (ANTIPODE-26): independent second computation for Z=64; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P65 - File: cosmic/tools/explore/periodic/furnace/positron/p65.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p65.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f76 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p65 (ANTIPODE-26): independent second computation for Z=65; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P66 - File: cosmic/tools/explore/periodic/furnace/positron/p66.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p66.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f77 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p66 (ANTIPODE-26): independent second computation for Z=66; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P67 - File: cosmic/tools/explore/periodic/furnace/positron/p67.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p67.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f78 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p67 (ANTIPODE-26): independent second computation for Z=67; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P68 - File: cosmic/tools/explore/periodic/furnace/positron/p68.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p68.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f79 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p68 (ANTIPODE-26): independent second computation for Z=68; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P69 - File: cosmic/tools/explore/periodic/furnace/positron/p69.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p69.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f80 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p69 (ANTIPODE-26): independent second computation for Z=69; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P7 - File: cosmic/tools/explore/periodic/furnace/positron/p7.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p7.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f81 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p7 (ANTIPODE-26): independent second computation for Z=7; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P70 - File: cosmic/tools/explore/periodic/furnace/positron/p70.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p70.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f82 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p70 (ANTIPODE-26): independent second computation for Z=70; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P71 - File: cosmic/tools/explore/periodic/furnace/positron/p71.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p71.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f83 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p71 (ANTIPODE-26): independent second computation for Z=71; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P72 - File: cosmic/tools/explore/periodic/furnace/positron/p72.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p72.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f84 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p72 (ANTIPODE-26): independent second computation for Z=72; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P73 - File: cosmic/tools/explore/periodic/furnace/positron/p73.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p73.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f85 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p73 (ANTIPODE-26): independent second computation for Z=73; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P74 - File: cosmic/tools/explore/periodic/furnace/positron/p74.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p74.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f86 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p74 (ANTIPODE-26): independent second computation for Z=74; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P75 - File: cosmic/tools/explore/periodic/furnace/positron/p75.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p75.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1118.html#f87 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p75 (ANTIPODE-26): independent second computation for Z=75; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P76 - File: cosmic/tools/explore/periodic/furnace/positron/p76.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p76.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f1 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p76 (ANTIPODE-26): independent second computation for Z=76; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P77 - File: cosmic/tools/explore/periodic/furnace/positron/p77.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p77.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f2 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p77 (ANTIPODE-26): independent second computation for Z=77; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P78 - File: cosmic/tools/explore/periodic/furnace/positron/p78.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p78.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f3 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p78 (ANTIPODE-26): independent second computation for Z=78; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P79 - File: cosmic/tools/explore/periodic/furnace/positron/p79.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p79.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f4 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p79 (ANTIPODE-26): independent second computation for Z=79; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P8 - File: cosmic/tools/explore/periodic/furnace/positron/p8.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p8.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f5 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p8 (ANTIPODE-26): independent second computation for Z=8; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P80 - File: cosmic/tools/explore/periodic/furnace/positron/p80.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p80.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f6 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p80 (ANTIPODE-26): independent second computation for Z=80; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P81 - File: cosmic/tools/explore/periodic/furnace/positron/p81.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p81.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f7 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p81 (ANTIPODE-26): independent second computation for Z=81; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P82 - File: cosmic/tools/explore/periodic/furnace/positron/p82.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p82.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f8 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p82 (ANTIPODE-26): independent second computation for Z=82; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P83 - File: cosmic/tools/explore/periodic/furnace/positron/p83.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p83.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f9 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p83 (ANTIPODE-26): independent second computation for Z=83; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P84 - File: cosmic/tools/explore/periodic/furnace/positron/p84.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p84.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f10 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p84 (ANTIPODE-26): independent second computation for Z=84; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P85 - File: cosmic/tools/explore/periodic/furnace/positron/p85.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p85.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f11 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p85 (ANTIPODE-26): independent second computation for Z=85; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P86 - File: cosmic/tools/explore/periodic/furnace/positron/p86.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p86.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f12 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p86 (ANTIPODE-26): independent second computation for Z=86; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P87 - File: cosmic/tools/explore/periodic/furnace/positron/p87.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p87.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f13 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p87 (ANTIPODE-26): independent second computation for Z=87; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P88 - File: cosmic/tools/explore/periodic/furnace/positron/p88.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p88.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f14 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p88 (ANTIPODE-26): independent second computation for Z=88; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P89 - File: cosmic/tools/explore/periodic/furnace/positron/p89.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p89.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f15 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p89 (ANTIPODE-26): independent second computation for Z=89; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P9 - File: cosmic/tools/explore/periodic/furnace/positron/p9.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p9.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f16 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p9 (ANTIPODE-26): independent second computation for Z=9; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P90 - File: cosmic/tools/explore/periodic/furnace/positron/p90.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p90.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f17 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p90 (ANTIPODE-26): independent second computation for Z=90; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P91 - File: cosmic/tools/explore/periodic/furnace/positron/p91.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p91.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f18 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p91 (ANTIPODE-26): independent second computation for Z=91; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P92 - File: cosmic/tools/explore/periodic/furnace/positron/p92.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p92.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f19 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p92 (ANTIPODE-26): independent second computation for Z=92; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P93 - File: cosmic/tools/explore/periodic/furnace/positron/p93.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p93.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f20 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p93 (ANTIPODE-26): independent second computation for Z=93; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P94 - File: cosmic/tools/explore/periodic/furnace/positron/p94.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p94.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f21 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p94 (ANTIPODE-26): independent second computation for Z=94; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P95 - File: cosmic/tools/explore/periodic/furnace/positron/p95.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p95.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f22 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p95 (ANTIPODE-26): independent second computation for Z=95; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P96 - File: cosmic/tools/explore/periodic/furnace/positron/p96.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p96.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f23 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p96 (ANTIPODE-26): independent second computation for Z=96; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P97 - File: cosmic/tools/explore/periodic/furnace/positron/p97.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p97.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f24 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p97 (ANTIPODE-26): independent second computation for Z=97; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P98 - File: cosmic/tools/explore/periodic/furnace/positron/p98.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p98.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f25 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p98 (ANTIPODE-26): independent second computation for Z=98; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### P99 - File: cosmic/tools/explore/periodic/furnace/positron/p99.py (Python, 8 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/p99.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f26 - Synopsis: A Python module in the positron folder of Cosmic. It is built from the run step (`run`). - What it achieves (comment): POSITRON p99 (ANTIPODE-26): independent second computation for Z=99; see `positron_core.py` and `electron/GRID.md`. - What it does: It calculates its inputs. Defines run. - Signatures: `run(ctx, xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Positron Core - File: cosmic/tools/explore/periodic/furnace/positron/positron_core.py (Python, 480 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/positron_core.py#L1-L480 - Page: https://code.globalgrid2050.com/explore-code/s/1119.html#f27 - Synopsis: A Python module in the furnace folder of Cosmic that reads build graph. It loads graph (`load_graph`) and runs element (`run_element`). - What it achieves (comment): POSITRON core (ANTIPODE-26): an independent second computation of the 118 furnace experiments. - What it does: It loads build graph. Defines 46 functions or classes, including _graph_path, load_graph, element_of, _layout_from_z, View. Uses libraries __future__, json, os, collections, fractions. Side effects: reads or writes files. - Inputs & outputs: In: JSON file build_graph.json. - Downstream impact: Used directly by 119 files: P1 (cosmic); P10 (cosmic); P100 (cosmic); P101 (cosmic); and 115 more. - Signatures: `_graph_path(ctx)`; `load_graph(ctx)`; `element_of(ctx, z: int)`; `_layout_from_z(z: int)`; `class View`; `__init__(self, g: dict, block: str)`; `outdeg(self, i)`; `indeg(self, i)`; `total(self, i)`; `_view(g, block)`; `ranked(ids, score)`; `share(hits: int, den: int)`; `bfs_within(adj: dict, sources, hops: int)`; `fam_fanout(g, v, d, **_)`; `fam_fanin(g, v, d, **_)`; `fam_forward_reach(g, v, d, z, **_)`; `fam_impact(g, v, d, **_)`; `fam_weak_components(g, v, d, **_)`; `find(x)`; `fam_short_cycles(g, v, d, **_)`; `fam_folder_crossing(g, v, d, **_)`; `_common_prefix(x, y)`; `fam_folder_distance(g, v, d, **_)`; `fam_role_cohesion(g, v, d, **_)`; `fam_domain_crossing(g, v, d, **_)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 119; mentioned by 0 ### Test Positron - File: cosmic/tools/explore/periodic/furnace/positron/test_positron.py (Python, 199 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/positron/test_positron.py#L1-L199 - Page: https://code.globalgrid2050.com/explore-code/s/1120.html#f1 - Synopsis: A test in the furnace folder of Cosmic that checks Positron Core. It sets up (`setUp`) and sets up class (`setUpClass`). - What it achieves (comment): Tests for the POSITRON (ANTIPODE-26). - What it does: It tests its inputs. Defines 28 functions or classes, including f, tiny, Fixtures, setUp, v. Uses libraries __future__, importlib.util, json, math, os. Side effects: reads or writes files. - Inputs & outputs: In: JSON file elements118.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `f(i, repo="r", path=(), role="render", lang="JavaScript", lines=10, defines=(), pure=False, reachable=True, dup=None, s...)`; `tiny()`; `class Fixtures`; `setUp(self)`; `v(self, block)`; `test_unique_pairs_and_self_loops(self)`; `test_fan(self)`; `test_forward_reach_excludes_seeds(self)`; `test_impact_rank_and_ties(self)`; `test_components(self)`; `test_cycles(self)`; `test_folder_measures(self)`; `test_role_measures(self)`; `test_gini_matches_ranked_formula(self)`; `test_median(self)`; `test_param_count(self)`; `test_vocabulary_counts_files_once(self)`; `test_layout_fallback(self)`; `class Independence`; `test_no_electron_import(self)`; `test_all_118_modules(self)`; `class RealGraph`; `setUpClass(cls)`; `load(self, z)`; `test_interface_and_determinism(self)` (and 3 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file elements118.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Periodic — Furnace - File: cosmic/tools/explore/periodic/furnace/run.py (Python, 742 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/run.py#L1-L742 - Page: https://code.globalgrid2050.com/explore-code/s/1120.html#f2 - Synopsis: A Python command-line tool in the explore folder of Cosmic that reads elements118, build graph, identity and receipts, using SHA-256. - What it achieves (comment): It gets xp (`get_xp`), builds elements (`build_elements`) and writes elements (`write_elements`). FURNACE: batched runner for the 118 periodic code experiments. It accepts `--xp`, `--batch` and `--out`. - What it does: It loads elements118, build graph, identity and receipts. Defines 32 functions or classes, including get_xp, to_host, sha256_bytes, sha256_file, digest. Uses libraries __future__, argparse, hashlib, html, importlib.util. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: In: JSON file elements118.json; JSON file build_graph.json; JSON file identity.json; JSON file periodic.json; JSON file receipts.json; command-line arguments. - Downstream impact: Used directly by 2 files: Extras (cosmic); Test Run (cosmic). Reached from 3 other entry points, including Ship (cosmic); Test Extras (cosmic); Test Ship (cosmic). - Signatures: `get_xp(name: str = "numpy")`; `to_host(v)`; `sha256_bytes(b: bytes)`; `sha256_file(path: Path)`; `digest(obj)`; `roman(n: int)`; `position(z: int)`; `category(z: int, group, block)`; `valence(z: int, group, block)`; `build_elements(data_path: Path = PGF_DATA, names_path: Path = PGF_NAMES)`; `write_elements(path: Path = ELEMENTS_JSON)`; `load_elements(path: Path = ELEMENTS_JSON)`; `_index(values)`; `build_base(graph: dict, xp=np, inputs: dict | None = None)`; `ln(f, key)`; `element_ctx(base: dict, el: dict, xp=np)`; `_enter_side(d: Path)`; `_forget_sides(dirs)`; `load_module(path: Path)`; `clean_picture(pic)`; `compare(e, p, tol=None)`; `num_ok(a, b)`; `walk(a, b, where)`; `rel_name(path: Path)`; `scrub(text: str)` (and 7 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file elements118.json; JSON file build_graph.json; JSON file identity.json; JSON file periodic.json; JSON file receipts.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Test Run - File: cosmic/tools/explore/periodic/furnace/test_run.py (Python, 316 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/furnace/test_run.py#L1-L316 - Page: https://code.globalgrid2050.com/explore-code/s/1121.html#f2 - Synopsis: A test in the furnace folder of Cosmic that checks Periodic — Furnace. - What it achieves (comment): It runs synth (`run_synth`) and is built from the gpu like class (`GpuLike`) and the get step (`get`). Tests for the periodic FURNACE (`run.py`, CRUCIBLE-31). - What it does: It tests its inputs. Defines 28 functions or classes, including test_elements118_complete_and_cited, test_position_rules, test_compare_numbers_dicts_lists, test_to_host_converts_numpy_and_gpu_like, GpuLike. Uses libraries __future__, json, sys, types, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: JSON file graph.json; JSON file receipts.json; JSON file build_graph.json; JSON file elements118.json. - Signatures: `test_elements118_complete_and_cited()`; `test_position_rules()`; `test_compare_numbers_dicts_lists()`; `test_to_host_converts_numpy_and_gpu_like()`; `class GpuLike`; `get(self)`; `test_clean_picture_whitelists()`; `tiny_graph()`; `run(ctx, xp)`; `synth(tmp_path)`; `run_synth(synth, xp="numpy")`; `test_run_all_receipts(synth)`; `test_no_absolute_paths_and_content_digest(synth, tmp_path)`; `test_once_flag(synth, monkeypatch)`; `fake(xp, batch, graph_path, out_dir)`; `test_deterministic_outputs(synth)`; `test_xp_drop_in_backend(synth)`; `class DevArray`; `test_cupy_switch_reports_missing()`; `test_page_written(synth)`; `test_real_graph_run_if_present(tmp_path)`; `_browser_check(out_dir: Path)`; `_assert_browser(res)`; `test_gallery_browser_synthetic(synth)`; `test_gallery_browser_live()` (and 1 more) - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file graph.json; JSON file receipts.json; JSON file build_graph.json; JSON file elements118.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Periodic - File: cosmic/tools/explore/periodic/page/periodic.css (CSS, 78 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/page/periodic.css#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/1121.html#f3 - Synopsis: A style sheet in the page folder of Cosmic. - What it achieves (comment): Periodic table page (`feed.py`, LATTICE-62). Site palette: #000 #0b0e14 #2f343d #fff #a6adbb #66ccff #00ffff. - What it does: Side effects: changes the web page (DOM). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Periodic - File: cosmic/tools/explore/periodic/page/periodic.js (JavaScript, 240 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/page/periodic.js#L1-L240 - Page: https://code.globalgrid2050.com/explore-code/s/1122.html#f1 - Synopsis: A JavaScript file in the page folder of Cosmic that draws cards. It builds chem (`buildChem`), opens chem (`openChem`) and sets view (`setView`). - What it achieves (comment): Periodic table page behaviour (`feed.py`, LATTICE-62). It reads `cards.json`. It responds to click, keydown and change events. - What it does: It draws cards. Defines 20 functions or classes, including h, numLabel, stateLabel, gcol, pad4. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file cards.json; browser storage (getItem). Out: browser storage (setItem). - Signatures: `h(tag, attrs, kids)`; `numLabel(e)`; `stateLabel(e, nvals)`; `gcol(e)`; `pad4(n)`; `fmt(x)`; `ink(hex)`; `colorFn(mode)`; `bin(v)`; `paint()`; `buildChem()`; `openChem(z)`; `setView(v)`; `loadCards()`; `showCard()`; `openCard(sym, push)`; `fillMore(more, e, j)`; `closeCard()`; `byFiles(test)`; `mark(list)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file cards.json; browser storage (getItem)]; out [browser storage (setItem)]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Props - File: cosmic/tools/explore/periodic/props.py (Python, 534 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/props.py#L1-L534 - Page: https://code.globalgrid2050.com/explore-code/s/1122.html#f2 - Synopsis: A Python command-line tool in the periodic folder of Cosmic that reads build graph, identity, elements and periodic, using SHA-256. It loads ctx (`load_ctx`) and computes element (`compute_element`). - What it achieves (comment): Measurable PROPERTIES of every code element (PHYSICIST, QUANTA-19). It accepts `--site`, `--graph` and `--periodic`. - What it does: It loads build graph, identity, elements and periodic. Defines 28 functions or classes, including _read_json, stamp_time, masked, load_ctx, dev_ctx. Uses libraries collections, datetime, hashlib, json, math. Side effects: reads or writes files. - Inputs & outputs: In: JSON file build_graph.json; JSON file identity-files.json; JSON file elements.json; JSON file periodic.json; JSON file props.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 3 files: Extras (cosmic); Exp (cosmic); Test Props (cosmic). Reached from 3 other entry points, including Ship (cosmic); Test Extras (cosmic); Test Ship (cosmic). - Signatures: `_read_json(path)`; `stamp_time(path)`; `masked(path)`; `load_ctx(graph=None, identity=None, catalogue=None, periodic=None, blobs=None, g=None, ident=None)`; `dev_ctx()`; `_member_ids_from_periodic(ctx, el)`; `element_members(ctx)`; `file_mass(ctx, i)`; `file_valence(ctx, i)`; `version_family(ctx, i)`; `mass(ctx, ids)`; `valence(ctx, ids)`; `in_reach(ctx, ids)`; `electronegativity(ctx, ids)`; `_rev_index(ctx)`; `near_copies(ctx, ids)`; `relatives(ctx, ids)`; `isotopes(ctx, ids)`; `_median(xs)`; `half_life(ctx, ids)`; `stability(ctx, ids, state=None)`; `reactivity(ctx, ids)`; `spectrum(ctx, ids)`; `evidence_key(ctx, i)`; `compute_element(ctx, el)` (and 3 more) - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file identity-files.json; JSON file elements.json; JSON file periodic.json; JSON file props.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Test Feed - File: cosmic/tools/explore/periodic/test_feed.py (Python, 319 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/test_feed.py#L1-L319 - Page: https://code.globalgrid2050.com/explore-code/s/1123.html#f2 - Synopsis: A test in the periodic folder of Cosmic that checks Feed. - What it achieves (comment): It is built from the graph doc helper (`graph_doc`), the periodic doc helper (`periodic_doc`) and the props doc helper (`props_doc`). Tests for `feed.py` (periodic table -> Explore Code). It writes `../index.html`. - What it does: It tests its inputs. Defines 20 functions or classes, including graph_doc, periodic_doc, props_doc, built, test_outputs_exist. Uses libraries __future__, functools, http.server, json, os. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: JSON file EARTH_KM.json; JSON file p.json; JSON file q.json; JSON file g.json; JSON file element-index.json; JSON file cards.json; JSON file fixture-periodic.json; JSON file fixture-props.json. Out: JSON file p.json; JSON file q.json; JSON file g.json; JSON file build_graph.json. - Signatures: `graph_doc()`; `periodic_doc()`; `props_doc()`; `built(tmp_path)`; `test_outputs_exist(built)`; `test_candidate_never_numbered(built)`; `test_element_index_hook(built)`; `test_element_page_card(built)`; `test_index_page(built)`; `test_no_cdn_no_absolute_paths(built)`; `test_llms_shard(built)`; `test_idempotent_and_stale_pages_removed(built, tmp_path)`; `test_no_furnace_no_link(tmp_path)`; `test_fixture_and_cli(tmp_path)`; `test_analogy_and_chem_table()`; `served()`; `new_page(browser, w, h)`; `test_table_page(served, w, h)`; `test_element_pages_and_deeplinks(served, w, h)`; `test_noscript(served)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file EARTH_KM.json; JSON file p.json; JSON file q.json; JSON file g.json; JSON file element-index.json; JSON file cards.json; JSON file fixture-periodic.json; JSON file fixture-props.json]; out [JSON file p.json; JSON file q.json; JSON file g.json; JSON file build_graph.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Props - File: cosmic/tools/explore/periodic/test_props.py (Python, 139 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/periodic/test_props.py#L1-L139 - Page: https://code.globalgrid2050.com/explore-code/s/1123.html#f3 - Synopsis: A test in the periodic folder of Cosmic that checks Props. It is built from the tiny graph helper (`tiny_graph`) and the tctx step (`tctx`). - What it achieves (comment): Tests for `props.py` and `experiments/exp.py` (QUANTA-19). python3 -m pytest -q `test_props.py`. - What it does: It tests its inputs. Defines 12 functions or classes, including tiny_graph, tctx, test_mass_valence, test_electronegativity_and_reach, test_reactivity_and_spectrum. Uses libraries json, os, subprocess, sys, pytest. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: In: JSON file build_graph.json; JSON file p.json; JSON file metrics.json. - Signatures: `tiny_graph()`; `tctx(tmp_path)`; `test_mass_valence(tctx)`; `test_electronegativity_and_reach(tctx)`; `test_reactivity_and_spectrum(tctx)`; `test_versions_half_life_stability(tctx)`; `test_graph_only_fallback(tctx)`; `test_cli_graph_only(tmp_path)`; `test_stamp_time()`; `test_real_props_deterministic()`; `test_metrics_written()`; `test_pages_playwright(vp)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file p.json; JSON file metrics.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Show - File: cosmic/tools/explore/presentations/show.py (Python, 672 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/presentations/show.py#L1-L672 - Page: https://code.globalgrid2050.com/explore-code/s/1124.html#f1 - Synopsis: A Python command-line tool in the presentations folder of Cosmic that reads clean, clarity, periodic and receipts, using Louvain. It loads JSON (`load_json`), parses key (`parse_key`) and finds input (`find_input`). - What it achieves (comment): Explore Code story mode: guided, swipeable presentations of the most promising experiments. It accepts `--site`, `--graph` and `--out`. - What it does: It loads clean, clarity, periodic and receipts. Defines 39 functions or classes, including warn, load_json, n, pct, first_sentence. Uses libraries argparse, html, json, os, re. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file clean-manifest.json; JSON file clarity.json; JSON file periodic.json; JSON file receipts.json; JSON file laws.json; JSON file index.json; JSON file places.json; JSON file build_graph.json. Out: JSON file. - Downstream impact: Used directly by 2 files: Extras (cosmic); Test Show (cosmic). Reached from 3 other entry points, including Ship (cosmic); Test Extras (cosmic); Test Ship (cosmic). - Signatures: `warn(msg)`; `load_json(path)`; `n(x)`; `pct(a, b)`; `first_sentence(t, cap=200)`; `lower1(t)`; `slug(s)`; `parse_key(k)`; `class Graph`; `__init__(self, g)`; `file(self, fid)`; `resolve(self, key)`; `key(self, f)`; `href(self, f)`; `ev(self, f)`; `ev_key(self, key)`; `role(self, rid)`; `class Ctx`; `exists(self, href)`; `deeper(self, *cands)`; `card(pic, say, keys, deeper, alt)`; `data_key(schema, field, cut='')`; `story_engines(cx, about_dir=None)`; `dominant(fs)`; `story_clean(cx, man, clarity=None)` (and 12 more) - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file clean-manifest.json; JSON file clarity.json; JSON file periodic.json; JSON file receipts.json; JSON file laws.json; JSON file index.json; JSON file places.json; JSON file build_graph.json]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Presentations — Template Page - File: cosmic/tools/explore/presentations/template/index.html (HTML, 38 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/presentations/template/index.html#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1125.html#f1 - Published at: https://ventusltd.github.io/cosmic/tools/explore/presentations/template/ - Synopsis: A web page in the explore folder of Cosmic. Published at https://ventusltd.github.io/cosmic/tools/explore/presentations/template/. - What it achieves (comment): Short guided stories about the code estate for newcomers: one picture and one or two plain sentences per card, each with its evidence and a link to go deeper. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "`build_graph.json` (see `GRAPH-CONTRACT.md`) feeds `visualise.py`, which writes `visual/index.html`: pipeline (Ingest / Transform / Output), estate map and topic flow, coloured by role, topic, stage or pattern, with a reachability overlay." - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/cosmic/tools/explore/presentations/template/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Show - File: cosmic/tools/explore/presentations/template/show.css (CSS, 58 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/presentations/template/show.css#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/1125.html#f2 - Published at: https://ventusltd.github.io/cosmic/tools/explore/presentations/template/ - Synopsis: A style sheet in the template folder of Cosmic. Served with the page at https://ventusltd.github.io/cosmic/tools/explore/presentations/template/. - What it achieves (comment): Explore Code stories player (show-1). Site palette from `explore.css`; no web fonts, no CDN. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Presentations — Template Page (cosmic, https://ventusltd.github.io/cosmic/tools/explore/presentations/template/). It is itself an entry point, published at https://ventusltd.github.io/cosmic/tools/explore/presentations/template/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Show - File: cosmic/tools/explore/presentations/template/show.js (JavaScript, 196 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/presentations/template/show.js#L1-L196 - Page: https://code.globalgrid2050.com/explore-code/s/1125.html#f3 - Published at: https://ventusltd.github.io/cosmic/tools/explore/presentations/template/ - Synopsis: A JavaScript file in the template folder of Cosmic that draws stories. Served with the page at https://ventusltd.github.io/cosmic/tools/explore/presentations/template/. It gets JSON (`getJSON`), shows list (`showList`) and renders list (`renderList`). - What it achieves (comment): Explore Code stories player (show-1): one shared page for every story. It responds to hashchange, click and keydown events. - What it does: It draws stories. Defines 18 functions or classes, including $, esc, fmt, svg, wrap2. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: JSON file stories.json. Out: SVG drawing. - Downstream impact: Used directly by 1 file: Presentations — Template Page (cosmic, https://ventusltd.github.io/cosmic/tools/explore/presentations/template/). It is itself an entry point, published at https://ventusltd.github.io/cosmic/tools/explore/presentations/template/. - Signatures: `$(id)`; `esc(s)`; `fmt(v)`; `svg(w, h, body, label)`; `wrap2(s, n)`; `clip(s, n)`; `it(p.items || [])`; `X(k % cols)`; `sx(bx[2] - bx[0])`; `P(lon, lat)`; `picture(p, alt, small)`; `legend(p)`; `getJSON(url)`; `story(id)`; `s(INDEX.stories || [])`; `showList()`; `renderList()`; `renderCard(dir)`; `keys(c.keys || [])`; `swap()`; `route()`; `go(d)`; `bind()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file stories.json]; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Show - File: cosmic/tools/explore/presentations/test_show.py (Python, 356 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/presentations/test_show.py#L1-L356 - Page: https://code.globalgrid2050.com/explore-code/s/1125.html#f4 - Synopsis: A test in the presentations folder of Cosmic that checks Show, using Louvain. It makes site (`make_site`), sets up (`setUp`) and sets up class (`setUpClass`). - What it achieves (comment): Tests for `show.py` (story mode). - What it does: It tests its inputs. Defines 29 functions or classes, including fixture_graph, key, make_site, run, TestStories. Uses libraries functools, http.server, json, os, re. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: JSON file build_graph.json; JSON file clarity.json; JSON file clean-manifest.json; JSON file communities.json; JSON file communities.metrics.json; JSON file periodic.json; JSON file receipts.json; JSON file laws.json. Out: JSON file communities.json; JSON file keys.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `fixture_graph()`; `key(i, g)`; `make_site(root, with_inputs=True)`; `run(site, *extra)`; `class TestStories`; `setUp(self)`; `tearDown(self)`; `stories(self)`; `test_all_six_stories(self)`; `test_numbers_come_from_inputs(self)`; `test_keys_link_to_real_section_pages(self)`; `test_deeper_links_only_to_existing_pages(self)`; `test_massless_no_code_text(self)`; `test_noscript_has_every_card(self)`; `test_missing_inputs_skip_with_warning(self)`; `test_bad_input_is_fail_safe(self)`; `test_no_graph_fails(self)`; `test_only_and_cross_cut_key_resolution(self)`; `test_parse_key(self)`; `class Quiet`; `log_message(self, *a)`; `serve(root)`; `class TestPlayer`; `setUpClass(cls)`; `tearDownClass(cls)` (and 4 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file clarity.json; JSON file clean-manifest.json; JSON file communities.json; JSON file communities.metrics.json; JSON file periodic.json; JSON file receipts.json; JSON file laws.json]; out [JSON file communities.json; JSON file keys.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Bench Speed - File: cosmic/tools/explore/repokuiper/bench_speed.py (Python, 242 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/bench_speed.py#L1-L242 - Page: https://code.globalgrid2050.com/explore-code/s/1126.html#f1 - Synopsis: A Python command-line tool in the repokuiper folder of Cosmic that reads lookup. It runs go (`run_go`) and runs manual (`run_manual`). - What it achieves (comment): `bench_speed.py` (K5, TACHYON-29): how fast does a person find a file in Kuiper, with "go" versus by hand? It accepts `--json`. - What it does: It loads lookup. Defines 12 functions or classes, including serve, Q, log_message, targets, settle. Uses libraries __future__, argparse, functools, http.server, json. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file index.json; JSON file lookup.json; command-line arguments. Out: JSON file; browser storage (setItem). - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `serve(folder)`; `class Q`; `log_message(self, *a)`; `targets(site)`; `settle(pg, ms=1600)`; `fresh(ctx, url, need_gx=True)`; `query_for(pg, t)`; `run_go(ctx, base, t)`; `run_manual(ctx, base, t)`; `reach(target, done_js)`; `bench(site, width=390, height=844)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file lookup.json; command-line arguments]; out [JSON file; browser storage (setItem)]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build - File: cosmic/tools/explore/repokuiper/build.py (Python, 471 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/build.py#L1-L471 - Page: https://code.globalgrid2050.com/explore-code/s/1126.html#f2 - Synopsis: A Python command-line tool in the repokuiper folder of Cosmic that draws build graph and galaxy, using SHA-256. It runs hooks (`run_hooks`) and writes page (`write_page`). - What it achieves (comment): Repokuiper: every repository gets its own Kuiper. It accepts `--graph`, `--src` and `--out`. - What it does: It draws build graph and galaxy. Defines 20 functions or classes, including sig_name, first_sentence, ordinal, ordinal_window, break_ties. Uses libraries __future__, argparse, hashlib, html, json. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: README: "`build.py` is the method" - Inputs & outputs: In: JSON file build_graph.json; JSON file index.json; JSON file index.galaxy.json; form fields (user input); command-line arguments. Out: JSON file. - Downstream impact: Used directly by 9 files: Extras (cosmic); Test No Tmp (cosmic); Test Repokuiper (cosmic); Test Repokuiper API (cosmic); and 5 more. Reached from 3 other entry points, including Ship (cosmic); Test Extras (cosmic); Test Ship (cosmic). - Signatures: `sig_name(sig)`; `first_sentence(t: str, cap: int = 140)`; `ordinal(path: str)`; `ordinal_window(path: str, w: int)`; `break_ties(rows, paths, parent_ix=1, key_ix=2)`; `polar(k: int, inner: float, span: float, radius: float)`; `layout(folders, files, band=(FILE_IN, FILE_SPAN))`; `slug(repo: str)`; `git_blobs(src: str, repo: str, commit: str)`; `repo_data(g, repo, files, edges_by_src, sec_url, role_ix, kind_ix, blobs)`; `index_data(g, per_repo, role_ix)`; `header_line(d)`; `noscript_list(d)`; `folder_paths(folders)`; `modules()`; `module_tags()`; `run_hooks(g, per_repo, idx, out, src="")`; `write_page(out, name, d, is_index=False)`; `build(graph_path=DEFAULT_GRAPH, src=DEFAULT_SRC, out=DEFAULT_OUT, repos=None, graph=None)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file index.json; JSON file index.galaxy.json; form fields (user input); command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 9; mentioned by 0 ### Kuiper API - File: cosmic/tools/explore/repokuiper/kuiper_api.py (Python, 484 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/kuiper_api.py#L1-L484 - Page: https://code.globalgrid2050.com/explore-code/s/1127.html#f2 - Synopsis: A Python command-line tool in the repokuiper folder of Cosmic that reads build graph, galaxy and lookup. - What it achieves (comment): It adds llms (`add_to_llms`) and is built from the ids class (`Ids`) and the sid step (`sid`). A static, machine-readable Kuiper API so agents fly as fast as people (K5, TACHYON-29). It accepts `--graph`, `--site` and `--out`. - What it does: It loads build graph, galaxy and lookup. Defines 18 functions or classes, including _load, _dump, _order, _enc, Ids. Uses libraries __future__, argparse, json, os, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file build_graph.json; JSON file index.galaxy.json; JSON file lookup.json; JSON file index.json; command-line arguments. - Downstream impact: Used directly by 4 files: Extras (cosmic); Test Repokuiper (cosmic); Test Repokuiper API (cosmic); Test Repokuiper Speed (cosmic). Reached from 3 other entry points, including Ship (cosmic); Test Extras (cosmic); Test Ship (cosmic). - Signatures: `_load(p)`; `_dump(path, obj)`; `_order(r)`; `_enc(path)`; `class Ids`; `__init__(self, g, per_repo, slug)`; `sid(self, gid)`; `ref(self, gid, repo)`; `_overlay(out, slug_, mode, cut)`; `_columns(out, slug_, n, cut)`; `repo_api(g, repo, d, gfiles, ids, out, slug, base, kbase, sec_url)`; `entry_points(rows)`; `cross_links(g, ids, slug)`; `build(ctx)`; `guide(index, lookup, out, slug)`; `llms_section(base)`; `add_to_llms(site, base)`; `main(argv=None)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file index.galaxy.json; JSON file lookup.json; JSON file index.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Kuiper Galaxy - File: cosmic/tools/explore/repokuiper/kuiper_galaxy.py (Python, 219 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/kuiper_galaxy.py#L1-L219 - Page: https://code.globalgrid2050.com/explore-code/s/1128.html#f1 - Synopsis: A Python module in the repokuiper folder of Cosmic that works with cluster index (`cluster_index`) (units: kV), using SHA-256. - What it achieves (comment): It is built from the ordinal step (`ordinal`), the communities step (`communities`) and the tour step (`tour`). The estate galaxy for `kuiper/index.html` (K4 build hook, contract v1 section 2). - What it does: It calculates its inputs. Defines 9 functions or classes, including ordinal, _pair_weights, communities, _commit, tour. Uses libraries __future__, hashlib, collections. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file index.galaxy.json. - Downstream impact: Used directly by 1 file: Test Repokuiper Galaxy (cosmic). - Signatures: `ordinal(s: str)`; `_pair_weights(graph, repos)`; `communities(und, repos)`; `_commit(graph, repo)`; `tour(graph, per_repo, groups, arcs, deg)`; `_folder_paths(folders)`; `galaxy(graph, per_repo)`; `cluster_index(index, gal)`; `build(ctx)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.galaxy.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Kuiper Overlays - File: cosmic/tools/explore/repokuiper/kuiper_overlays.py (Python, 440 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/kuiper_overlays.py#L1-L440 - Page: https://code.globalgrid2050.com/explore-code/s/1128.html#f2 - Synopsis: A Python command-line tool in the repokuiper folder of Cosmic that reads communities, drift, clarity and periodic, using SHA-256. - What it achieves (comment): It indexes modes (`index_modes`) and is built from the join class (`Join`) and the column step (`column`). Intelligence overlays for every repository Kuiper (K3, ALBEDO-47). It accepts `--graph`, `--site` and `--out`. - What it does: It loads communities, drift, clarity and periodic. Defines 21 functions or classes, including _vis, _load, _exists, _key, Join. Uses libraries __future__, argparse, json, os, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file communities.json; JSON file drift.json; JSON file clarity.json; JSON file periodic.json; JSON file importance.json; JSON file keys.json; JSON file identity-files.json; JSON file dictionary.json. - Downstream impact: Used directly by 3 files: Extras (cosmic); Test Repokuiper (cosmic); Test Repokuiper Overlays (cosmic). Reached from 3 other entry points, including Ship (cosmic); Test Extras (cosmic); Test Ship (cosmic). - Signatures: `_vis(extras_dir)`; `_load(p)`; `_exists(p)`; `_key(site, rel, cut)`; `class Join`; `__init__(self, g, per_repo)`; `column(self, col, default=-1)`; `_cats_local(col_by_repo, cats, palette, pattern)`; `mode_community(vis, lab, g, J, pal)`; `mode_drift(vis, lab, g, J, pal)`; `mode_clarity(vis, p, g, J)`; `mode_periodic(vis, p, g, J)`; `mode_importance(vis, lab, g, J)`; `mode_identity(p, g, J, src=None)`; `vedic_ids(g, src)`; `faraday(vis, p, g)`; `index_modes(per_repo_modes, index)`; `share(mode, good, title, legend_title)`; `build(ctx)`; `put(name, res)`; `main(argv=None)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file communities.json; JSON file drift.json; JSON file clarity.json; JSON file periodic.json; JSON file importance.json; JSON file keys.json; JSON file identity-files.json; JSON file dictionary.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Repokuiper Galaxy - File: cosmic/tools/explore/repokuiper/repokuiper-galaxy.css (CSS, 55 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/repokuiper-galaxy.css#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/1129.html#f1 - Synopsis: A style sheet in the explore folder of Cosmic. - What it achieves (comment): `repokuiper-galaxy.css` (K4, ACCRETION-52): estate galaxy panels: file card, breadcrumb inside a star, guided tour, repository card section. - What it does: Side effects: changes the web page (DOM). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Repokuiper Galaxy - File: cosmic/tools/explore/repokuiper/repokuiper-galaxy.js (JavaScript, 573 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/repokuiper-galaxy.js#L1-L573 - Page: https://code.globalgrid2050.com/explore-code/s/1129.html#f2 - Synopsis: A JavaScript file in the explore folder of Cosmic that draws places, using SHA-256 and uses data from the kuiper-belt repository. - What it achieves (comment): It hides btn (`hideBtn`), loads repo (`loadRepo`) and loads places (`loadPlaces`). `repokuiper-galaxy.js` (K4, ACCRETION-52): the estate galaxy on `kuiper/index.html`, built on window.KUIPER (CONTRACT v1). every public repository is one star; groups of repositories that link to each other come from index.galaxy.json (`kuiper_galaxy.py`, same build cut) and, when `build.py` applies `cluster_index`. It responds to click events. - What it does: It draws places. Defines 38 functions or classes, including slugOf, groupOf, hideBtn, loadRepo, prep. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: data source: kuiper-belt data; JSON file places.json; JSON file index.json. - Signatures: `slugOf(i)`; `groupOf(name)`; `hideBtn(id)`; `loadRepo(i)`; `prep(d)`; `key2u(k)`; `ready(i)`; `folderPaths(r)`; `filePath(r, j)`; `loadPlaces()`; `add(repo, path, item)`; `get(u)`; `droneHref(i)`; `stHref(name)`; `placesHtml(items, label)`; `repoPlacesHtml(name)`; `pauseForInside(on)`; `flyWorld(wx, wy, s, ms)`; `fitS(worldR, frac)`; `unitW(i)`; `enterRepo(i, f)`; `goFolder(i, f)`; `goFile(i, j, noCard)`; `leaveRepo()`; `pass(bin, hiOnly)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: kuiper-belt data; JSON file places.json; JSON file index.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Repokuiper Nav - File: cosmic/tools/explore/repokuiper/repokuiper-nav.css (CSS, 54 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/repokuiper-nav.css#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1129.html#f3 - Synopsis: A style sheet in the explore folder of Cosmic. - What it achieves (comment): `repokuiper-nav.css` (K2, WAYFINDER-38): search/browse panel, trail, onboarding hint, toast, phone zoom pad. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'nav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Repokuiper Nav - File: cosmic/tools/explore/repokuiper/repokuiper-nav.js (JavaScript, 424 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/repokuiper-nav.js#L1-L424 - Page: https://code.globalgrid2050.com/explore-code/s/1130.html#f1 - Synopsis: A JavaScript module in the explore folder of Cosmic that parses hash (`parseHash`), makes hash (`makeHash`) and syncs hash (`syncHash`) (units: kV). - What it achieves (comment): It parses hash (`parseHash`), makes hash (`makeHash`) and syncs hash (`syncHash`). `repokuiper-nav.js` (K2, WAYFINDER-38): navigation and UX for a Kuiper universe, built on window.KUIPER (CONTRACT v1). It responds to popstate, hashchange and input events. - What it does: It draws its content. Defines 41 functions or classes, including parseHash, encPath, makeHash, score, commonAncestor. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage field_execution (path word 'nav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: browser storage (getItem); form fields (user input). Out: browser storage (setItem). - Signatures: `parseHash(h)`; `encPath(p)`; `makeHash(kind, path, fn)`; `score(name, path, q, noFuzzy)`; `commonAncestor(a, b, fpar, fdepth)`; `PAGE(location.pathname.split('/').pop() || 'index.html')`; `reduced()`; `fit(f)`; `fname(f)`; `bodyName(i)`; `search(q)`; `add(s, e)`; `land(f, i, moon)`; `fly(f, i, moon)`; `hops(A.fdepth[from] - A.fdepth[anc])`; `goFile(i, moon)`; `goFolder(f)`; `current()`; `syncHash()`; `applyHash(initial)`; `remember(kind, path)`; `toast(msg)`; `rowHtml(e, n)`; `browse(f)`; `refresh()` (and 15 more) - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [browser storage (getItem); form fields (user input)]; out [browser storage (setItem)]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Repokuiper Overlays - File: cosmic/tools/explore/repokuiper/repokuiper-overlays.css (CSS, 42 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/repokuiper-overlays.css#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1130.html#f2 - Synopsis: A style sheet in the explore folder of Cosmic. - What it achieves (comment): `repokuiper-overlays.css` (K3, ALBEDO-47): mode picker (#kp-ov), legend content (.ov-leg) and card lines (.ov-card). - What it does: Side effects: changes the web page (DOM). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Repokuiper Overlays - File: cosmic/tools/explore/repokuiper/repokuiper-overlays.js (JavaScript, 329 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/repokuiper-overlays.js#L1-L329 - Page: https://code.globalgrid2050.com/explore-code/s/1131.html#f1 - Synopsis: A JavaScript file in the explore folder of Cosmic that computes reach (`computeReach`), sets mode (`setMode`) and renders panel (`renderPanel`). - What it achieves (comment): It computes reach (`computeReach`), sets mode (`setMode`) and renders panel (`renderPanel`). `repokuiper-overlays.js` (K3, ALBEDO-47): intelligence overlays for a repository Kuiper. It responds to click events. - What it does: It draws its content. Defines 18 functions or classes, including reduce, computeReach, hasReach, modeList, load. Side effects: changes the web page (DOM). - Signatures: `reduce()`; `computeReach()`; `hasReach()`; `modeList()`; `m(man && man.modes)`; `load(name)`; `ramp(x)`; `styler(name)`; `legendFor(name)`; `sized(data[name] || {})`; `setMode(name)`; `shortName(n)`; `renderPanel()`; `link(i)`; `add(name, html)`; `countFrom(e)`; `frameBox()`; `SX(wx)`; `onScreen(x, y)`; `start(m)`; `onClick(on)`; `want(location.hash.match(/[)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Repokuiper Speed - File: cosmic/tools/explore/repokuiper/repokuiper-speed.css (CSS, 45 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/repokuiper-speed.css#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1131.html#f2 - Synopsis: A style sheet in the explore folder of Cosmic. - What it achieves (comment): `repokuiper-speed.css` (K5, TACHYON-29): command palette, "what uses this" trail, speed HUD, toast, card buttons. - What it does: Side effects: changes the web page (DOM). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Repokuiper Speed - File: cosmic/tools/explore/repokuiper/repokuiper-speed.js (JavaScript, 345 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/repokuiper-speed.js#L1-L345 - Page: https://code.globalgrid2050.com/explore-code/s/1132.html#f1 - Synopsis: A JavaScript module in the explore folder of Cosmic that draws lookup. It indexes lookup (`indexLookup`), gets index API (`getIndexApi`) and saves taps (`saveTaps`). - What it achieves (comment): `repokuiper-speed.js` (K5, TACHYON-29): light speed for people, on window.KUIPER (CONTRACT v1) and the static agent API `kuiper/api/` (`kuiper_api.py`). It reads `api/lookup.json`. It responds to pointerdown, input and keydown events. - What it does: It draws lookup. Defines 35 functions or classes, including encPath, score, indexLookup, search, handTaps. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file lookup.json; JSON file index.json; browser storage (getItem); form fields (user input). Out: browser storage (setItem). - Signatures: `encPath(p)`; `score(name, path, q, noFuzzy, ws)`; `indexLookup(L)`; `lp(slug + '/' + p)`; `search(S, q, here, limit)`; `handTaps(depth)`; `reduced()`; `absURL(u)`; `load()`; `apiRow(slug, i)`; `get(u)`; `getIndexApi()`; `saveTaps()`; `toast(msg)`; `navPresent()`; `arrive()`; `goFile(slug, i, path)`; `open(slug, path)`; `goRepo(slug)`; `render()`; `openPalette()`; `closePalette()`; `pick(k)`; `trailPush(slug, i, path)`; `refName(ref, slug)` (and 11 more) - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file lookup.json; JSON file index.json; browser storage (getItem); form fields (user input)]; out [browser storage (setItem)]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Repokuiper - File: cosmic/tools/explore/repokuiper/repokuiper.css (CSS, 72 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/repokuiper.css#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/1132.html#f2 - Synopsis: A style sheet in the explore folder of Cosmic. - What it achieves (comment): Black sky, cyan accents, links #66ccff, text #fff, muted #a6adbb. - What it does: Side effects: changes the web page (DOM). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Repokuiper - File: cosmic/tools/explore/repokuiper/repokuiper.js (JavaScript, 690 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/repokuiper.js#L1-L690 - Page: https://code.globalgrid2050.com/explore-code/s/1133.html#f1 - Synopsis: A JavaScript file in the explore folder of Cosmic that finds path (`findPath`), converts to screen (`toScreen`) and world (`toWorld`), calculates planar distances and draws on a canvas, using SHA-256. - What it achieves (comment): It finds path (`findPath`), fits scale (`fitScale`) and closes card (`closeCard`). One repository as a Kuiper universe. Its code works with 30 Hz. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws its content. Defines 52 functions or classes, including $, esc, fmt, pct, emit. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: Out: canvas drawing. - Signatures: `$(id)`; `esc(s)`; `fmt(n)`; `pct(a, p)`; `emit(e, ...a)`; `key2u(k)`; `key2th(k)`; `omega(rel)`; `prepare(d)`; `restyle()`; `place(time)`; `bodyPath(i)`; `findPath(p)`; `view()`; `bottom(!card.hidden && narrow)`; `right(!card.hidden && !narrow)`; `camX()`; `toScreen(wx, wy, v)`; `toWorld(sx, sy, v)`; `panBy(dx, dy)`; `refollow(i)`; `fitScale(i)`; `flyTo(folder, ox, oy, s, ms)`; `travel(i)`; `pullBack()` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test No Tmp - File: cosmic/tools/explore/repokuiper/test_no_tmp.py (Python, 60 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/test_no_tmp.py#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/1134.html#f1 - Synopsis: A test in the repokuiper folder of Cosmic that checks Build. It is built from the tiny graph helper (`tiny_graph`). - What it achieves (comment): CI check: `repokuiper/build.py` runs on a clean machine with only `build_graph.json` (no /tmp inputs, no clones). - What it does: It tests its inputs. Defines tiny_graph, test_source_has_no_host_paths, test_runs_from_env_only_and_copies_no_code, test_missing_graph_is_a_clear_error. Uses libraries json, os, re, subprocess, sys. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file build_graph.json; JSON file demo.json. Out: JSON file. - Signatures: `tiny_graph()`; `test_source_has_no_host_paths()`; `test_runs_from_env_only_and_copies_no_code()`; `test_missing_graph_is_a_clear_error()` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file demo.json]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Repokuiper - File: cosmic/tools/explore/repokuiper/test_repokuiper.py (Python, 231 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/test_repokuiper.py#L1-L231 - Page: https://code.globalgrid2050.com/explore-code/s/1134.html#f2 - Synopsis: A test in the explore folder of Cosmic that checks Build and Kuiper API, using SHA-256. It is built from the tree step (`tree`). - What it achieves (name): Defines `graph`, `built`, `test_layout_invariant_when_a_file_is_added` and 15 more. It reads `demo.json`. - What it does: It tests its inputs. Defines 21 functions or classes, including graph, built, _one_repo, _positions, _fake. Uses libraries copy, filecmp, json, os, sys. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: JSON file index.json; JSON file demo.json; JSON file lookup.json; JSON file identity-files.json. Out: JSON file demo.json; JSON file demo.overlays.json; JSON file index.json. - Signatures: `graph()`; `built(graph, tmp_path_factory)`; `_one_repo(graph, repo, extra_files=())`; `_positions(d)`; `_fake(repo, path, fid)`; `test_layout_invariant_when_a_file_is_added(graph, repo)`; `test_position_depends_only_on_path()`; `test_deterministic(graph, built, tmp_path)`; `tree(root)`; `test_every_repo_produced(graph, built)`; `test_json_size_per_repo(built)`; `test_no_cdn(built)`; `test_plugin_api_surface()`; `test_modules_tagged_in_contract_order(built)`; `test_failing_hook_hides_data_not_build(tmp_path, monkeypatch, capsys)`; `test_hook_cannot_overwrite_core_json(tmp_path, monkeypatch)`; `test_ordinal_collisions_broken_by_full_hash()`; `test_no_sibling_ordinals_collide_in_real_data(built)`; `test_llms_block_added_once(tmp_path)`; `test_lite_identity_cut_is_accepted(tmp_path)`; `test_module_keys_do_not_clash()` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file demo.json; JSON file lookup.json; JSON file identity-files.json]; out [JSON file demo.json; JSON file demo.overlays.json; JSON file index.json]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Test Repokuiper API - File: cosmic/tools/explore/repokuiper/test_repokuiper_api.py (Python, 153 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/test_repokuiper_api.py#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/1134.html#f3 - Synopsis: A test in the explore folder of Cosmic that checks Build and Kuiper API. - What it achieves (comment): It is built from the graph step (`graph`), the overlays step (`overlays`) and the run step (`run`). Tests for `kuiper_api.py` (K5 agent API build hook). pytest, no network. It reads `index.json`. - What it does: It tests its inputs. Defines 11 functions or classes, including graph, overlays, run, test_rows_ids_keys_links, test_canonical_community_clarity_vedic. Uses libraries json, os, sys, pytest. Side effects: reads or writes files. - Inputs & outputs: In: JSON file index.galaxy.json; JSON file index.json; JSON file alpha.json; JSON file lookup.json; JSON file alpha.p0.json; JSON file alpha.p1.json; JSON file g.json. Out: JSON file. - Downstream impact: Used directly by 1 file: Test Repokuiper Speed (cosmic). - Signatures: `graph()`; `overlays(out, cut=CUT)`; `run(tmp, cut=CUT, with_overlays=True)`; `test_rows_ids_keys_links(tmp_path)`; `test_canonical_community_clarity_vedic(tmp_path)`; `test_index_and_guide(tmp_path)`; `test_photon_rule_and_size(tmp_path)`; `test_other_cut_or_missing_overlays_are_left_out(tmp_path)`; `test_shards_when_large(tmp_path, monkeypatch)`; `test_standalone_main(tmp_path)`; `test_real_site_budget()` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.galaxy.json; JSON file index.json; JSON file alpha.json; JSON file lookup.json; JSON file alpha.p0.json; JSON file alpha.p1.json; JSON file g.json]; out [JSON file]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Test Repokuiper Galaxy - File: cosmic/tools/explore/repokuiper/test_repokuiper_galaxy.py (Python, 195 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/test_repokuiper_galaxy.py#L1-L195 - Page: https://code.globalgrid2050.com/explore-code/s/1134.html#f4 - Synopsis: A test in the explore folder of Cosmic that checks Build and Kuiper Galaxy. - What it achieves (comment): It is built from the graph step (`graph`), the built step (`built`) and the log message helper (`log_message`). Tests for the K4 estate galaxy: `kuiper_galaxy.py` (build hook) and `repokuiper-galaxy.js/`.CSS. pytest, no network. It reads `index.json` and writes `index.json`. - What it does: It tests its inputs. Defines 12 functions or classes, including graph, built, test_communities_arcs_and_determinism, test_tour_stops_have_keys_and_no_positions, test_photon_rule_and_budget. Uses libraries functools, http.server, json, os, re. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: JSON file index.json; JSON file index.galaxy.json. Out: JSON file index.json. - Signatures: `graph()`; `built(tmp_path)`; `test_communities_arcs_and_determinism(built)`; `test_tour_stops_have_keys_and_no_positions(built)`; `test_photon_rule_and_budget(built)`; `test_cluster_index_uses_the_law(built)`; `test_failing_input_leaves_no_galaxy(tmp_path)`; `test_js_and_css_rules()`; `_serve(folder)`; `class Q`; `log_message(self, *a)`; `test_browser_galaxy(built, size)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file index.galaxy.json]; out [JSON file index.json]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Test Repokuiper Nav - File: cosmic/tools/explore/repokuiper/test_repokuiper_nav.py (Python, 113 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/test_repokuiper_nav.py#L1-L113 - Page: https://code.globalgrid2050.com/explore-code/s/1135.html#f1 - Synopsis: A test in the explore folder of Cosmic that checks Build. It is built from the read step (`read`). - What it achieves (comment): Tests for the K2 navigation module (`repokuiper-nav.js` / .CSS). - What it does: It tests its inputs. Defines 9 functions or classes, including read, test_files_exist, test_registers_as_plugin_and_no_network, test_css_palette_only, test_css_does_not_restyle_core_ids. Uses libraries json, os, re, shutil, subprocess. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'nav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: command-line arguments. - Signatures: `read(p)`; `test_files_exist()`; `test_registers_as_plugin_and_no_network()`; `test_css_palette_only()`; `test_css_does_not_restyle_core_ids()`; `test_tap_targets_44px()`; `test_input_keys_do_not_reach_core()`; `test_reduced_motion_respected()`; `test_pure_helpers_under_node()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Test Repokuiper Overlays - File: cosmic/tools/explore/repokuiper/test_repokuiper_overlays.py (Python, 151 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/test_repokuiper_overlays.py#L1-L151 - Page: https://code.globalgrid2050.com/explore-code/s/1135.html#f2 - Synopsis: A test in the explore folder of Cosmic that checks Build and Kuiper Overlays, using SHA-256. - What it achieves (comment): It is built from the graph step (`graph`), the site step (`site`) and the run step (`run`). Tests for `kuiper_overlays.py` (K3 overlays build hook). pytest, no network. It reads `index.json`. - What it does: It tests its inputs. Defines 9 functions or classes, including graph, site, run, test_modes_line_up_with_bodies, test_other_cut_hides_modes. Uses libraries json, os, sys, subprocess, pytest. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file index.json; JSON file alpha.overlays.json; JSON file alpha.ov-community.json; JSON file alpha.ov-drift.json; JSON file alpha.ov-identity.json; JSON file alpha.ov-words.json; JSON file index.overlays.json; JSON file keys.json. Out: JSON file keys.json; JSON file communities.json; JSON file drift.json; JSON file clarity.json; JSON file identity-files.json; JSON file dictionary.json. - Signatures: `graph()`; `site(tmp, g, cut=CUT, vedic=True)`; `run(tmp, g, s, src='')`; `test_modes_line_up_with_bodies(tmp_path)`; `test_other_cut_hides_modes(tmp_path)`; `test_missing_sources_hide_modes(tmp_path)`; `test_photon_rule_and_real_names_kept(tmp_path)`; `test_vedic_ids_from_dictionary_at_graph_commit(tmp_path)`; `test_real_site_budget(tmp_path)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file alpha.overlays.json; JSON file alpha.ov-community.json; JSON file alpha.ov-drift.json; JSON file alpha.ov-identity.json; JSON file alpha.ov-words.json; JSON file index.overlays.json; JSON file keys.json]; out [JSON file keys.json; JSON file communities.json; JSON file drift.json; JSON file clarity.json; JSON file identity-files.json; JSON file dictionary.json]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Test Repokuiper Speed - File: cosmic/tools/explore/repokuiper/test_repokuiper_speed.py (Python, 138 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/test_repokuiper_speed.py#L1-L138 - Page: https://code.globalgrid2050.com/explore-code/s/1135.html#f3 - Synopsis: A test in the explore folder of Cosmic that checks Build and Kuiper API. It is built from the log message helper (`log_message`) and the site step (`site`). - What it achieves (comment): Tests for `repokuiper-speed.js/`.CSS (K5 light speed plugin). pytest, no network. It reads `api/lookup.json`. - What it does: It tests cables. Defines 8 functions or classes, including test_registers_as_plugin_and_no_network, test_css_palette_scoped_and_tap_targets, test_search_ranking_under_node, _serve, Q. Uses libraries functools, http.server, json, os, re. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: JSON file lookup.json; JSON file index.json. Out: browser storage (setItem). - Signatures: `test_registers_as_plugin_and_no_network()`; `test_css_palette_scoped_and_tap_targets()`; `test_search_ranking_under_node()`; `_serve(folder)`; `class Q`; `log_message(self, *a)`; `site(tmp_path)`; `test_browser_speed(site, size)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file lookup.json; JSON file index.json]; out [browser storage (setItem)]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Verify Playwright - File: cosmic/tools/explore/repokuiper/verify_playwright.py (Python, 109 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/repokuiper/verify_playwright.py#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/1135.html#f4 - Synopsis: A Python command-line tool in the repokuiper folder of Cosmic. It is built from the serve step (`serve`), the quiet class (`Quiet`) and the log message helper (`log_message`). - What it achieves (comment): Headless Chromium check of the repokuiper pages at four screen sizes. It accepts `--out` and `--shots`. - What it does: It loads data. Defines serve, Quiet, log_message, main. Uses libraries argparse, functools, http.server, json, os. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: command-line arguments. Out: browser storage (setItem). - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `serve(folder)`; `class Quiet`; `log_message(self, *a)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [browser storage (setItem)]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Ship - File: cosmic/tools/explore/ship.py (Python, 557 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/ship.py#L1-L557 - Page: https://code.globalgrid2050.com/explore-code/s/1136.html#f1 - Synopsis: A Python command-line tool in the explore folder of Cosmic that reads build graph and extras, using SHA-256. It summarises changes (`summarise_changes`), runs cmd (`run_cmd`) and picks manifest (`pick_manifest`). - What it achieves (comment): Explore Code ship: a local, fail-safe wrapper that runs the Explore Code pipeline in deploy order. It accepts `--src`, `--out` and `--base`. - What it does: It loads build graph and extras. Defines 29 functions or classes, including now, warn, snapshot, summarise_changes, script_flags. Uses libraries argparse, datetime, hashlib, json, os. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file build_graph.json; JSON file extras.json; DuckDB queries; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 1 file: Test Ship (cosmic). - Signatures: `now()`; `warn(msg)`; `snapshot(root)`; `summarise_changes(before, after, limit=6)`; `script_flags(script)`; `class Step`; `__init__(self, name, script, required=False, timeout=600, note='')`; `run_cmd(step, cmd, log_dir, out_root, cwd=None, env=None)`; `measure(step, before, after)`; `tail(log, n=2)`; `skip(step, reason)`; `plan(a)`; `ship(a)`; `step_clean(st, a, out, graph, logs, by)`; `pick_manifest(a, by)`; `step_build(st, a, out, graph, logs, by)`; `step_duckdb(st, a, out, graph, logs, by)`; `step_visualise(st, a, out, graph, logs, by)`; `step_extras(st, a, out, graph, logs, by)`; `step_verify(st, a, out, graph, logs, by)`; `budget_check(steps)`; `duplicate_groups(root, min_bytes=DUP_MIN_BYTES)`; `tree_size(root)`; `size_budget(a, steps, out, report, stopped)`; `budget_lines(bd, steps)` (and 4 more) - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file extras.json; DuckDB queries; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 3 estate files (script-call 3); used by 1; mentioned by 0 ### Test Agentdocs - File: cosmic/tools/explore/test_agentdocs.py (Python, 356 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/test_agentdocs.py#L1-L356 - Page: https://code.globalgrid2050.com/explore-code/s/1137.html#f1 - Synopsis: A test in the explore folder of Cosmic that checks Agentdocs and Kuiper Belt — See Through Page, using EPSG:27700 and EPSG:4326 using data from ukpn.example and the kuiper-belt repository. - What it achieves (comment): It sets up (`setUp`) and is built from the domain stage class (`DomainStage`) and the commercial user class (`CommercialUser`). Tests for `tools/explore/agentdocs.py` (unittest, no network): every enum rule, data-contract extraction, four-part omission rules, signatures, shard splitting, journeys (found and not found) and the llms.txt budget. Its code works with 33 kV, 11 kV and 132 kV. It reads `data/132kv_ohl.geojson` and writes `out/routes.csv`. - What it does: It tests cables. Defines 36 functions or classes, including F, DomainStage, test_path_words_and_precedence, test_repo_words_then_voltages_then_topic, test_enum_closed. Uses libraries os, sys, unittest. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: cables, 400kV, 132kV, 33kV, 11kV, 11kV/400V. - Inputs & outputs: In: data source: ukpn.example; data source: kuiper-belt data; GeoJSON file 132kv_ohl.geojson; JSON file x.json; browser storage (getItem); form fields (user input); command-line arguments. Out: CSV file routes.csv; Excel file boq.xlsx; CSV file repd.csv; Parquet file repd.parquet; downloaded file boq.xlsx; browser storage (setItem); interactive map. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326, Web Mercator / EPSG:3857. Voltage levels named: 400kV, 132kV, 33kV, 11kV, 11kV/400V, 6.6kV, 400V. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `F(text='', **kw)`; `class DomainStage`; `test_path_words_and_precedence(self)`; `test_repo_words_then_voltages_then_topic(self)`; `test_enum_closed(self)`; `class CommercialUser`; `test_stage_users_and_words(self)`; `class DataContracts`; `test_coordinate_systems(self)`; `test_voltages(self)`; `test_files_apis_and_outputs(self)`; `test_sources_need_reads_and_python_writes(self)`; `test_contract_words(self)`; `class Canonical`; `files(self)`; `test_rules(self)`; `class Signatures`; `test_python(self)`; `test_javascript(self)`; `class FourPart`; `test_omission(self)`; `test_content_from_evidence(self)`; `class Shards`; `test_split(self)`; `test_block(self)` (and 11 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ukpn.example; data source: kuiper-belt data; GeoJSON file 132kv_ohl.geojson; JSON file x.json; browser storage (getItem); form fields (user input); command-line arguments]; out [CSV file routes.csv; Excel file boq.xlsx; CSV file repd.csv; Parquet file repd.parquet; downloaded file boq.xlsx; browser storage (setItem); interactive map]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326; Web Mercator / EPSG:3857]; voltages [400kV, 132kV, 33kV, 11kV, 11kV/400V, 6.6kV, 400V] - Edges: uses 2 estate files (import 1, estate-url 1); used by 0; mentioned by 0 ### Test Build - File: cosmic/tools/explore/test_build.py (Python, 927 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/test_build.py#L1-L927 - Page: https://code.globalgrid2050.com/explore-code/s/1138.html#f1 - Synopsis: A test in the explore folder of Cosmic that checks Build and Agentdocs, using haversine using data from UK Power Networks open data and the GlobalGrid2050 and delta repositories. - What it achieves (comment): It makes repo (`make_repo`), checks links (`check_links`) and builds test (`BuildTest`). Tests for `tools/explore/build.py` (unittest, no network). Its code works with 132 kV and 33 kV. It reads `data/132kv_ohl.geojson`. - What it does: It tests A roads and overhead lines (OHL). Defines 64 functions or classes, including read, make_repo, Links, __init__, handle_starttag. Uses libraries contextlib, html.parser, io, json, os. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: A roads, overhead lines (OHL), 132kV, 33kV. - Inputs & outputs: In: data source: UK Power Networks open data; data source: globalgrid2050 data; data source: delta data; GeoJSON file 132kv_ohl.geojson; JSON file build_graph.json; JSON file missing.json; DuckDB queries; command-line arguments. Out: JSON file; interactive map. Voltage levels named: 132kV, 33kV. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `read(path)`; `make_repo(root, name, files)`; `class Links`; `__init__(self)`; `handle_starttag(self, tag, attrs)`; `handle_data(self, data)`; `handle_endtag(self, tag)`; `parse(path)`; `check_links(root, anchors=True)`; `ids(path)`; `class BuildTest`; `setUpClass(cls)`; `tearDownClass(cls)`; `f(self, repo, path)`; `section_html(self, repo, path)`; `test_titles(self)`; `test_kind_and_name_words(self)`; `test_achieves_from_name(self)`; `test_achieves_from_readme(self)`; `test_readme_context(self)`; `test_drafts_never_rendered(self)`; `test_readme_pick_rejects_process_records(self)`; `test_labels_framed_as_rules(self)`; `test_essay_promoted(self)`; `test_licences(self)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: UK Power Networks open data; data source: globalgrid2050 data; data source: delta data; GeoJSON file 132kv_ohl.geojson; JSON file build_graph.json; JSON file missing.json; DuckDB queries; command-line arguments]; out [JSON file; interactive map]; crs []; voltages [132kV, 33kV] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Test Describe - File: cosmic/tools/explore/test_describe.py (Python, 470 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/test_describe.py#L1-L470 - Page: https://code.globalgrid2050.com/explore-code/s/1139.html#f2 - Synopsis: A test in the explore folder of Cosmic that checks Describe and GridAtlas — Atlas Page, using IEC 60287-1-1 and IEC 60287-2-1 using data from the GridAtlas repository. - What it achieves (comment): It builds adapter (`BuildAdapter`) and is built from the evidence of helper (`evidence_of`) and the comment cleaning class (`CommentCleaning`). Tests for `tools/explore/describe.py` (unittest, no network). Its code works with 33 kV, 132 kV and 000 MVA. It reads `/tmp/site5/explore-code/build_graph.json` and writes `report.md`. It accepts `--out`. - What it does: It tests cables, 33kV, the REPD register and substations. Defines 67 functions or classes, including ev, evidence_of, CommentCleaning, test_status_header_dropped_purpose_kept, test_todo_version_ai_banner_hash_date_dropped. Uses libraries os, re, sys, unittest, json. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: cables, 33kV, the REPD register, substations, 132kV. - Inputs & outputs: In: data source: gridatlas data; data source: a data; data source: ets data; JSON file build_graph.json; JSON file cables.json. Out: interactive map; canvas drawing. Voltage levels named: 132kV, 33kV. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `ev(**kw)`; `evidence_of(e)`; `class CommentCleaning`; `test_status_header_dropped_purpose_kept(self)`; `test_todo_version_ai_banner_hash_date_dropped(self)`; `test_file_name_prefix_and_star_leaks(self)`; `test_shouted_banner_and_box_drawing(self)`; `test_usage_lines_dropped(self)`; `test_title_restating_sentence_skipped(self)`; `test_identifiers_quoted_as_code(self)`; `test_word_limit_and_clause_cut(self)`; `test_midcode_comment_not_taken_as_purpose(self)`; `class Glossary`; `test_capitalisation(self)`; `test_code_and_urls_untouched(self)`; `test_expand_once_and_not_when_title_has_it(self)`; `test_articles(self)`; `test_polish_title(self)`; `test_collapse_expansions(self)`; `class CodeEvidence`; `test_names_formulas_drawing_inputs_units(self)`; `test_formulas(self)`; `test_python_has_no_drawing_or_form_evidence(self)`; `test_synopsis_uses_code_evidence_and_never_invents(self)`; `class Synopsis` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: a data; data source: ets data; JSON file build_graph.json; JSON file cables.json]; out [interactive map; canvas drawing]; crs []; voltages [132kV, 33kV] - Edges: uses 2 estate files (import 1, estate-url 1); used by 0; mentioned by 0 ### Test Extras - File: cosmic/tools/explore/test_extras.py (Python, 316 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/test_extras.py#L1-L316 - Page: https://code.globalgrid2050.com/explore-code/s/1140.html#f1 - Synopsis: A test in the explore folder of Cosmic that checks Extras. It sets up (`setUp`) and runs extras (`run_extras`). - What it achieves (comment): Tests for `extras.py`. It writes `../index.html`. It accepts `--graph`, `--out` and `--secret-key`. - What it does: It tests its inputs. Defines 25 functions or classes, including ex, ExtrasTest, setUp, tearDown, run_extras. Uses libraries json, os, shutil, sys, tempfile. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: In: JSON file data.json; JSON file jobs.json; JSON file build_graph.json; JSON file extras.json; JSON file board.json; JSON file identity.json; JSON file graph.json; JSON file keys.json. Out: JSON file identity.json; JSON file r.json; JSON file a.json; JSON file b.json; SVG drawing. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `ex(slug, *files, **kw)`; `class ExtrasTest`; `setUp(self)`; `tearDown(self)`; `run_extras(self, extras, *args, posts=())`; `hub(self)`; `test_missing_and_failing_extras_are_skipped(self)`; `test_strict_exit_code(self)`; `test_timeout_is_a_skip(self)`; `test_hub_lists_only_existing_extras(self)`; `test_builtin_cards_when_present(self)`; `test_sitemap_llms_robots(self)`; `test_link_index_opt_in_and_idempotent(self)`; `test_step_overrides(self)`; `test_data_only_extra_has_no_card(self)`; `test_required_flag_missing_is_pending(self)`; `test_post_processors(self)`; `test_lab_graph_path(self)`; `test_slim_kuiper_keeps_shape(self)`; `test_audit_mass_flags_code_bodies(self)`; `test_copy_step_and_optional_paths(self)`; `test_loop_defined_flags_get_overrides(self)`; `test_phases_late_extra_runs_after_pre_post(self)`; `test_parse_flags(self)`; `test_paths_made_relative(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file data.json; JSON file jobs.json; JSON file build_graph.json; JSON file extras.json; JSON file board.json; JSON file identity.json; JSON file graph.json; JSON file keys.json]; out [JSON file identity.json; JSON file r.json; JSON file a.json; JSON file b.json; SVG drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Ship - File: cosmic/tools/explore/test_ship.py (Python, 208 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/test_ship.py#L1-L208 - Page: https://code.globalgrid2050.com/explore-code/s/1140.html#f2 - Synopsis: A test in the explore folder of Cosmic that checks Ship. It sets up (`setUp`) and runs ship (`run_ship`). - What it achieves (comment): Tests for `ship.py`: a failing optional step is skipped with a warning; only `build.py` failing stops the run. It accepts `--src`, `--out` and `--base`. - What it does: It tests its inputs. Defines 17 functions or classes, including ShipTest, setUp, tearDown, put, full_tools. Uses libraries json, os, sys, tempfile, textwrap. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file args.json; DuckDB queries; command-line arguments. Out: JSON file build_graph.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class ShipTest`; `setUp(self)`; `tearDown(self)`; `put(self, rel, code)`; `full_tools(self, build=None, **over)`; `run_ship(self, *extra)`; `test_all_ok(self)`; `test_failing_optional_step_is_skipped_and_run_continues(self)`; `test_missing_optional_script_is_skipped(self)`; `test_optional_timeout_is_skipped(self)`; `test_build_failure_stops_the_run(self)`; `test_build_without_outputs_counts_as_failure(self)`; `test_clean_manifest_passed_only_when_supported(self)`; `test_duckdb_vendor_copied(self)`; `test_duckdb_dir_handed_to_build_when_supported(self)`; `test_size_budget_top_of_report(self)`; `test_small_duplicates_ignored(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file args.json; DuckDB queries; command-line arguments]; out [JSON file build_graph.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Visualise - File: cosmic/tools/explore/test_visualise.py (Python, 442 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/test_visualise.py#L1-L442 - Page: https://code.globalgrid2050.com/explore-code/s/1141.html#f1 - Synopsis: A test in the explore folder of Cosmic that checks Visualise and Wafer, using haversine and SHA-256. It sets up (`setUp`), runs vis (`run_vis`) and writes JSON (`write_json`). - What it achieves (comment): Tests for `tools/explore/visualise.py` (unittest, no network). Its code works with 132 kV. It writes `lab/keys.json`. - What it does: It tests its inputs. Defines 26 functions or classes, including tiny_graph, VisualiseTest, setUp, tearDown, run_vis. Uses libraries contextlib, glob, io, json, math. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 132kV. - Inputs & outputs: In: JSON file build_graph.json; JSON file graph.json; JSON file g2.json; Parquet file files.parquet; Parquet file sections.parquet; JSON file keys.json; JSON file communities.json; JSON file drift.json. Out: JSON file. Voltage levels named: 132kV. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `tiny_graph(with_roles=True)`; `class VisualiseTest`; `setUp(self)`; `tearDown(self)`; `run_vis(self, out, graph=None)`; `test_outputs_exist_and_compact(self)`; `test_coordinates_finite_and_in_bounds(self)`; `test_stage_columns_respected(self)`; `test_edges_resolved_and_bad_ids_dropped(self)`; `test_deterministic(self)`; `test_html_noscript_links_title_author_hosts(self)`; `test_colour_modes_and_legend(self)`; `test_fallback_palette_when_roles_absent(self)`; `test_script_passes_node_check(self)`; `test_pack_siblings_no_overlap(self)`; `test_approx_role(self)`; `test_parquet_adapter(self)`; `write_json(self, name, obj)`; `lab_fixture(self)`; `test_no_overlays_no_buttons(self)`; `test_lab_overlays_by_key_and_lazy_files(self)`; `test_id_overlays_need_same_cut(self)`; `test_periodic_and_laws(self)`; `test_faraday_pulse_from_laws_json(self)`; `test_phone_page_features(self)` (and 1 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file graph.json; JSON file g2.json; Parquet file files.parquet; Parquet file sections.parquet; JSON file keys.json; JSON file communities.json; JSON file drift.json]; out [JSON file]; crs []; voltages [132kV] - Edges: uses 2 estate files (import 1, sys-path 1); used by 0; mentioned by 0 ### Ide - File: cosmic/tools/explore/theme/ide.css (CSS, 204 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/ide.css#L1-L204 - Page: https://code.globalgrid2050.com/explore-code/s/1141.html#f2 - Synopsis: A style sheet in the theme folder of Cosmic. - What it achieves (comment): Explore Code IDE layer (HOTBAR-36). Every rule is scoped to body.ide, which only `ide.js` sets, so with JS off the section pages look and read exactly as before. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "Section pages (`s/*.html`) also get `ide.css`/`ide.js`, which bonus B (HOTBAR-36) owns." - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Ide - File: cosmic/tools/explore/theme/ide.js (JavaScript, 556 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/ide.js#L1-L556 - Page: https://code.globalgrid2050.com/explore-code/s/1142.html#f1 - Synopsis: A JavaScript file in the theme folder of Cosmic that opens map (`openMap`), converts to code (`toCode`) and renders facts (`renderFacts`). - What it achieves (comment): It maps URL (`mapURL`), opens map (`openMap`) and copies lines text (`copyLinesText`). Explore Code IDE layer (HOTBAR-36). Progressive enhancement for section pages (`s/NNNN.html`). It reads `../visual/graph.json`. It responds to scroll, click and keydown events. - What it does: It draws its content. Defines 41 functions or classes, including el, txt, ddFor, fileId, mapURL. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: README: "Section pages (`s/*.html`) also get `ide.css`/`ide.js`, which bonus B (HOTBAR-36) owns." - Inputs & outputs: In: JSON file graph.json; browser storage (getItem). Out: browser storage (setItem); canvas drawing. - Signatures: `el(tag, attrs, kids)`; `txt(n)`; `ddFor(sec, label)`; `role((sec.className.match(/\br-([a-z-]+)/) || [])[1])`; `fileId(f)`; `mapURL(id)`; `openMap(f, inPanel)`; `pilotURL(f)`; `copy(text, btn)`; `done(ok)`; `fallback()`; `copyLinesText(f)`; `btn(label, title, fn, cls)`; `toCode()`; `cloneLinks(dd)`; `renderFacts()`; `buildMiniRows()`; `drawMini()`; `updateMiniVP()`; `scrollToLine(f, j)`; `flashLine(f, j)`; `setCur(i)`; `go(i, push)`; `bump()`; `visited(i)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file graph.json; browser storage (getItem)]; out [browser storage (setItem); canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Inject - File: cosmic/tools/explore/theme/inject.py (Python, 265 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/inject.py#L1-L265 - Page: https://code.globalgrid2050.com/explore-code/s/1143.html#f1 - Synopsis: A Python command-line tool in the theme folder of Cosmic that reads pilot places, build graph and play, using SHA-256. - What it achieves (comment): It copies assets (`copy_assets`), syncs pilot (`sync_pilot`) and builds index (`build_index`). Post-build step: add the Explore Code play layer to every built HTML page. It accepts `--site`, `--quiet` and `--no-ide`. - What it does: It loads pilot places, build graph and play. Defines 11 functions or classes, including _ver, copy_assets, pilot_modules, pilot_module_html, bust. Uses libraries __future__, argparse, hashlib, json, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: README: "`inject.py` copies `play.css` and `play.js` to `/theme/`." - Inputs & outputs: In: JSON file pilot-places.json; JSON file places.json; JSON file build_graph.json; JSON file play-index.json; command-line arguments. - Downstream impact: Used directly by 5 files: Extras (cosmic); Test Pilot Dark (cosmic); Test Pilot Lightning (cosmic); Test Pilot Static (cosmic); and 1 more. Reached from 4 other entry points, including CI Chess Workflow (cosmic); Ship (cosmic); Test Extras (cosmic). - Signatures: `_ver(path: Path)`; `copy_assets(site: Path, ide: bool = True)`; `pilot_modules(here: Path = HERE)`; `pilot_module_html(page: str, here: Path = HERE)`; `bust(m)`; `sync_pilot(site: Path, vers: dict[str, str])`; `build_index(site: Path)`; `page_tags(rel: str, root: str, vers: dict[str, str])`; `inject_html(html: str, tags: str)`; `run(site: Path, quiet: bool = False, ide: bool = True)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file pilot-places.json; JSON file places.json; JSON file build_graph.json; JSON file play-index.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Pilot Dark - File: cosmic/tools/explore/theme/pilot-dark.css (CSS, 25 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-dark.css#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1143.html#f2 - Synopsis: A style sheet in the theme folder of Cosmic. - What it achieves (comment): Pilot module "dark" (DARK GRID 1 / UMBRA-63). - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Dark - File: cosmic/tools/explore/theme/pilot-dark.js (JavaScript, 487 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-dark.js#L1-L487 - Page: https://code.globalgrid2050.com/explore-code/s/1143.html#f3 - Synopsis: A JavaScript file in the theme folder of Cosmic that maps the Renewable Energy Planning Database (REPD) register, substations and 66kV, using SHA-256. - What it achieves (comment): It wires grid (`wireGrid`), refreshes halos (`refreshHalos`) and refreshes near (`refreshNear`). Pilot module "dark" (DARK GRID 1 / UMBRA-63): DARK GRID view for Drone View. Its code works with 66 kV and 11 kV. It responds to click and keydown events. - What it does: It maps the REPD register, substations and 66kV. Defines 39 functions or classes, including bandOf, colOf, wOf, grid, finite. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, substations, 66kV, 11kV. - Inputs & outputs: In: browser storage (getItem). Out: interactive map; canvas drawing. Voltage levels named: 66kV, 11kV. - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - Signatures: `bandOf(kv)`; `colOf(kv)`; `wOf(kv)`; `grid(cx, cy, { spacing, radius }, heightAt, { origin = [0, 0, 0], near = null, sample = null } = {})`; `finite(h)`; `reduced()`; `effR(c)`; `focusCentre(c, R)`; `h(c.hdg || 0)`; `dxy(lat, lon)`; `fade(d, R)`; `ingest(k)`; `pack(gj)`; `add(a, b)`; `eachSeg(k, R, fn)`; `gridOn(k)`; `heightAt(x, y)`; `wireGrid(v, R)`; `sprite(col)`; `hexA(h, a)`; `ringPath(g, v, r, zg)`; `ask(kind, lat, lon, n, rM, cb)`; `visible(id)`; `refreshHalos()`; `geo()` (and 15 more) - VEDIC: HEIGHT (GG2050-VEDIC-000011): Solar Design Studio / LiDAR · Mathematics / Raster sampling. bng_easting_m, bng_northing_m -> height_receipt_or_null - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [browser storage (getItem)]; out [interactive map; canvas drawing]; crs []; voltages [66kV, 11kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Darkfx - File: cosmic/tools/explore/theme/pilot-darkfx.css (CSS, 4 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-darkfx.css#L1-L4 - Page: https://code.globalgrid2050.com/explore-code/s/1144.html#f2 - Synopsis: A style sheet in the theme folder of Cosmic. - What it achieves (comment): Pilot module "darkfx" (DARK GRID 2, NOCTILUCENT-27): caption for the dark Pilot effects. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Darkfx - File: cosmic/tools/explore/theme/pilot-darkfx.js (JavaScript, 476 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-darkfx.js#L1-L476 - Page: https://code.globalgrid2050.com/explore-code/s/1144.html#f3 - Synopsis: A JavaScript file in the theme folder of Cosmic that maps substations. It sets focus (`setFocus`), adds line path (`addLinePath`) and starts pulse (`startPulse`). - What it achieves (comment): Pilot module "darkfx" (DARK GRID 2, NOCTILUCENT-27): the effects layer of the dark Pilot mode. - What it does: It maps substations. Defines 39 functions or classes, including active, kvCls, rgba, mApprox, hash. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: substations. - Inputs & outputs: In: browser storage (getItem). Out: browser storage (setItem); canvas drawing. - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - Signatures: `active()`; `kvCls(kv)`; `rgba(c, a)`; `mApprox(la1, lo1, la2, lo2)`; `hash(s)`; `canvas(w, h)`; `setFocus(f)`; `subs(Array.isArray(f.subs) ? f.subs : [])`; `sprite(cls, far)`; `flashSprite()`; `dotSprite()`; `stars(w, h)`; `bandCanvas(w)`; `bloomBuf(w, h)`; `project(v)`; `segVisible(x1, y1, x2, y2, w, h)`; `addLinePath(path, L, w, h, minPx)`; `along(L, d)`; `u(d - c[lo])`; `part(k, ms)`; `poseKey(v)`; `flush(g)`; `t0(g)`; `spent(t, now, g)`; `finishFrame()` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [browser storage (getItem)]; out [browser storage (setItem); canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Estate - File: cosmic/tools/explore/theme/pilot-estate.js (JavaScript, 1185 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-estate.js#L1-L1185 - Page: https://code.globalgrid2050.com/explore-code/s/1145.html#f1 - Synopsis: A JavaScript file in the theme folder of Cosmic covering substations and solar, using SHA-256 and haversine, and uses data from the GridAtlas repository. - What it achieves (comment): It audits project rows (`auditProjectRows`), builds deep link (`buildDeepLink`) and parses deep link (`parseDeepLink`). Pilot module "estate" (W10 / CAPSTAN-41): estate originals vendored VERBATIM, as PILOT.estate. Its code works with 750 kV. - What it does: It lists and searches substations, solar, the REPD register and cables. Defines 41 functions or classes, including curvatureKm, localScaleKm, distanceKm, distanceEllipsoidalKm, pathLengthKm. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: substations, solar, the REPD register, cables, 750kV, 400kV. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Downstream impact: Used directly by 2 files: Pilot Vicinity (cosmic); Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - Signatures: `curvatureKm(latDeg)`; `localScaleKm(latDeg)`; `distanceKm(lon1, lat1, lon2, lat2, radius = R_ATLAS)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `distanceEllipsoidalKm(lon1, lat1, lon2, lat2)`; `L(lon2 - lon1)`; `sinAlpha(cU1 * cU2 * sl)`; `C(f / 16)`; `u2(cos2Alpha * (a * a - b * b))`; `B(u2 / 1024)`; `pathLengthKm(coords, radius = R_ATLAS)`; `initialBearingDeg(lon1, lat1, lon2, lat2)`; `dl(lon2 - lon1)`; `destinationPoint(lon, lat, km, bearingDeg, radius = R_ATLAS)`; `distanceToSegmentKm(lon, lat, aLon, aLat, bLon, bLat, radius = R_ATLAS)`; `ax(aLon - lon)`; `bx(bLon - lon)`; `distanceToLineKm(lon, lat, coords, radius = R_ATLAS)`; `geodesicCircle(lon, lat, radiusKm, vertices = 128, radius = R_ATLAS)`; `circleApproximationError(vertices)`; `polygonAreaKm2(coords, radius = R_ATLAS)`; `j(i + 1)`; `areaKm2(Math.abs(sum) * radius * radius)`; `areaUnits(areaKm2)` (and 15 more) - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: BEARING (GG2050-VEDIC-000005): GridAtlas / Geodesy · Mathematics / Trigonometry. coordinate_pair, coordinate_pair -> bearing_deg - VEDIC: DESTINATION (GG2050-VEDIC-000004): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, distance_km, bearing_deg -> coordinate_pair - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 2 estate files (estate-url 2); used by 2; mentioned by 0 ### Pilot Goto - File: cosmic/tools/explore/theme/pilot-goto.css (CSS, 43 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-goto.css#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1146.html#f2 - Synopsis: A style sheet in the theme folder of Cosmic. - What it achieves (comment): Pilot module "goto" (W02 / WAYPOINT-27). - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Goto - File: cosmic/tools/explore/theme/pilot-goto.js (JavaScript, 497 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-goto.js#L1-L497 - Page: https://code.globalgrid2050.com/explore-code/s/1147.html#f1 - Synopsis: A JavaScript file in the theme folder of Cosmic that maps goto mark and postcodes, using Helmert and OSTN15, and uses data from postcodes.io, OpenStreetMap Nominatim and OpenStreetMap tiles. - What it achieves (comment): It parses grid ref (`parseGridRef`), resolves coord (`resolveCoord`) and gets JSON (`getJSON`). Pilot module "goto" (W02 / WAYPOINT-27): fly to anywhere. It responds to submit, click and pointerdown events. - What it does: It maps goto mark and postcodes. Defines 57 functions or classes, including invert3, apply, toCart, fromCart, meridional. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: postcodes. - Inputs & outputs: In: data source: postcodes.io; data source: OpenStreetMap Nominatim; data source: OpenStreetMap tiles; browser storage (getItem). Out: browser storage (setItem). Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - Signatures: `NN(AIRY_A - AIRY_B)`; `invert3(m)`; `apply(m, v)`; `toCart(lat, lon, h, a, e2)`; `fromCart(x, y, z, a, e2)`; `meridional(lat)`; `tmForward(lat, lon)`; `tmInverse(E, N)`; `bngToWgs84(e, n)`; `wgs84ToBng(lat, lon)`; `parseGridRef(ref)`; `e100((l1 - 2) % 5)`; `pad(d)`; `gridRef(e, n, digits)`; `l1(19 - n100)`; `refOf(lat, lon, digits)`; `compact(s)`; `classify(text)`; `resolveCoord(k)`; `getJSON(url)`; `pcGet(path)`; `join()`; `arr(v)`; `ukLane(k)`; `nomLane(q)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: postcodes.io; data source: OpenStreetMap Nominatim; data source: OpenStreetMap tiles; browser storage (getItem)]; out [browser storage (setItem)]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Grid - File: cosmic/tools/explore/theme/pilot-grid.css (CSS, 40 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-grid.css#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1147.html#f2 - Synopsis: A style sheet in the theme folder of Cosmic. - What it achieves (comment): Pilot module "grid" (W05 / CONDUCTOR-466). - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Grid - File: cosmic/tools/explore/theme/pilot-grid.js (JavaScript, 523 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-grid.js#L1-L523 - Page: https://code.globalgrid2050.com/explore-code/s/1148.html#f1 - Synopsis: A JavaScript file in the theme folder of Cosmic that maps grid 400kV, grid 275kV, grid 132kV and grid 66kV, and uses data from the GridAtlas repository. - What it achieves (comment): It adds cell (`addCell`), clamps box (`clampBox`) and renders toggles (`renderToggles`). Pilot module W05 "grid" (CONDUCTOR-466): 400, 275, 132 and 66kV lines and the 5,800 substations at 33kV and above, drawn as layers, tappable, with a find / jump list and a nearest list. Its code works with 33 kV, 66 kV and 132 kV. It responds to click, focus and input events. - What it does: It maps grid 400kV, grid 275kV, grid 132kV and grid 66kV. Defines 44 functions or classes, including base, src, save, ckey, addCell. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: 400kV, 275kV, 132kV, 66kV, 33kV. - Inputs & outputs: In: data source: gridatlas data; browser storage (getItem); form fields (user input). Out: browser storage (setItem). Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV. - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - Signatures: `base()`; `src(kind)`; `save()`; `ckey(la, lo)`; `addCell(idx, key, i)`; `cellsOf(b, fn)`; `voltages(v)`; `clsOf(mx)`; `kvText(v)`; `approxM(la1, lo1, la2, lo2)`; `packLines(kind, gj)`; `fs(gj && gj.features)`; `packSubs(gj)`; `load(kind, retry)`; `lodKinds(lod)`; `subMinCls(lod)`; `clampBox(v)`; `coarseOwner(k, ci)`; `hoverFor(c)`; `flyBtn(lat, lon, label, c, extra)`; `srcLine(kind)`; `subCard(i)`; `endSub(la, lo)`; `lineMid(L, ll)`; `lineCard(kind, li)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; browser storage (getItem); form fields (user input)]; out [browser storage (setItem)]; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Pilot Lightning - File: cosmic/tools/explore/theme/pilot-lightning.css (CSS, 37 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-lightning.css#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/1148.html#f2 - Synopsis: A style sheet in the theme folder of Cosmic. - What it achieves (comment): W08 lightning panel (all classes prefixed p-lightning-). - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Lightning - File: cosmic/tools/explore/theme/pilot-lightning.js (JavaScript, 880 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-lightning.js#L1-L880 - Page: https://code.globalgrid2050.com/explore-code/s/1149.html#f1 - Synopsis: A JavaScript file in the theme folder of Cosmic that maps UK lightning and grid substations, using SHA-256 and haversine, and uses data from the GridAtlas, lightning and PipelineNews repositories. - What it achieves (comment): It builds atlas v9 deep link (`buildAtlasV9DeepLink`), parses optical feed (`parseOpticalFeed`) and describes optical feed evidence (`describeOpticalFeedEvidence`). W08 (FLASHOVER-31); integrated and maintained by W10 (CAPSTAN-41). Its code works with 275 kV. It responds to click and submit events. - What it does: It maps UK lightning, grid substations, solar and the REPD register. Defines 86 functions or classes, including mm, finite, validPoint, rowLocation, positive. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 275kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, the REPD register, 275kV. - Inputs & outputs: In: data source: gridatlas data; data source: lightning data; data source: pipelinenews data; GeoJSON file uk_lightning.geojson; JSON file index.json; GeoJSON file grid_substations.geojson; GeoJSON file kv.geojson; form fields (user input). Voltage levels named: 275kV. - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - Signatures: `mm(t,k)`; `LM()`; `finite(x)`; `validPoint(lon,lat)`; `rowLocation(row)`; `positive(n)`; `capacityOf(project)`; `solarProject(project)`; `numberInRange(value, minimum, maximum)`; `projectFields(project)`; `buildAtlasV9DeepLink(project)`; `utc(t)`; `validCoordinates(p)`; `parseOpticalFeed(data,{nowMs=Date.now(),staleAfterHours=6}={})`; `describeOpticalFeedEvidence(e)`; `q(name)`; `safeBase(v)`; `pad(n)`; `ymd(t)`; `ds(d)`; `T(ms)`; `fmt(n)`; `fetchJSON(url)`; `compass(deg)`; `words(c)` (and 15 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: lightning data; data source: pipelinenews data; GeoJSON file uk_lightning.geojson; JSON file index.json; GeoJSON file grid_substations.geojson; GeoJSON file kv.geojson; form fields (user input)]; out []; crs []; voltages [275kV] - Edges: uses 2 estate files (estate-url 2); used by 1; mentioned by 1 ### Pilot Modes - File: cosmic/tools/explore/theme/pilot-modes.css (CSS, 15 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-modes.css#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/1150.html#f2 - Synopsis: A style sheet in the theme folder of Cosmic. - What it achieves (comment): Pilot MAP / SAT / STREET switch (Pilot-200 W03, BASEMAP-46). - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Modes - File: cosmic/tools/explore/theme/pilot-modes.js (JavaScript, 374 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-modes.js#L1-L374 - Page: https://code.globalgrid2050.com/explore-code/s/1150.html#f3 - Synopsis: A JavaScript file in the theme folder of Cosmic that maps modes fade and uses data from OpenStreetMap tiles. It gets tile (`getTile`), draws tile (`drawTile`) and draws grid (`drawGrid`). - What it achieves (comment): Pilot MAP / SATELLITE / STREET ground modes, terrain relief and attribution (Pilot-200 W03, BASEMAP-46). It responds to click and keydown events. - What it does: It maps modes fade. Defines 23 functions or classes, including tileXY, tileLL, st, evict, getTile. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: data source: OpenStreetMap tiles; browser storage (getItem). Out: browser storage (setItem); canvas drawing. - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - Signatures: `tileXY(lat, lon, z)`; `tileLL(x, y, z)`; `st(s)`; `evict()`; `getTile(name, z, x, y, mayLoad)`; `zoomFor(agl, pitch, zmax)`; `affine(g, im, s0, s1, s2, u0, u1, u2)`; `a(s0.x * (u1[1] - u2[1]) + s1.x * (u2[1] - u0[1]) + s2.x * (u0[1] - u1[1]))`; `mx(s0.x + s1.x + s2.x)`; `drawTile(g, v, z, x, y, im, ux, uy, us, N, shade)`; `hillshade(dzdx, dzdy)`; `shadeFor(z, x, y, N)`; `cw(l1[1] - l0[1])`; `dzdx((h10 + h11) - (h00 + h01))`; `drawGrid(g, v, light)`; `makeGround(name)`; `creditText(m)`; `changed()`; `buildUI()`; `syncUI()`; `choose(name, quiet)`; `setRelief(on)`; `panelBody(force)`; `statusText()`; `status()` (and 2 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: OpenStreetMap tiles; browser storage (getItem)]; out [browser storage (setItem); canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Nav - File: cosmic/tools/explore/theme/pilot-nav.css (CSS, 24 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-nav.css#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1150.html#f4 - Synopsis: A style sheet in the theme folder of Cosmic. - What it achieves (comment): Every selector prefixed p-nav-. Mobile first: 390 px, 44 px taps, no sideways scroll. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'nav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Nav - File: cosmic/tools/explore/theme/pilot-nav.js (JavaScript, 504 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-nav.js#L1-L504 - Page: https://code.globalgrid2050.com/explore-code/s/1151.html#f1 - Synopsis: A JavaScript module in the theme folder of Cosmic that maps the Renewable Energy Planning Database (REPD) register. It makes route (`makeRoute`), turns word (`turnWord`) and turns cues (`turnCues`). - What it achieves (comment): Pilot SatNav (W09 / WAYMARK-09): route to a chosen asset or point, follow-route flight, turn cues and ETA. Its code works with 5 Hz. It responds to click events. - What it does: It maps the REPD register. Defines 51 functions or classes, including distanceKm, initialBearingDeg, destinationPoint, localScaleKm, distanceToSegmentKm. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage field_execution (path word 'nav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: the REPD register. - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - Signatures: `distanceKm(lon1, lat1, lon2, lat2, radius)`; `dLat(lat2 - lat1)`; `initialBearingDeg(lon1, lat1, lon2, lat2)`; `destinationPoint(lon, lat, km, bearingDeg, radius)`; `localScaleKm(latDeg)`; `meridional(WGS_A * (1 - WGS_E2))`; `distanceToSegmentKm(lon, lat, aLon, aLat, bLon, bLat)`; `metres(a, b)`; `okLL(lat, lon)`; `densify(pts, maxM)`; `makeRoute(stops)`; `follow(route, tolM)`; `turnWord(delta)`; `turnCues(route)`; `d((L[i].bearing - L[i - 1].bearing) % 360 + 540)`; `compass(b)`; `nextCue(cues, progressM)`; `fmtDist(m)`; `pad2(n)`; `eta(remainingM, speedMs, nowMs, secs)`; `flightSecs(m)`; `speedFor(remainingM, toTurnM)`; `coordinate(value, max)`; `parseDestination(search)`; `buildDestination(d)` (and 15 more) - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: BEARING (GG2050-VEDIC-000005): GridAtlas / Geodesy · Mathematics / Trigonometry. coordinate_pair, coordinate_pair -> bearing_deg - VEDIC: DESTINATION (GG2050-VEDIC-000004): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, distance_km, bearing_deg -> coordinate_pair - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Subfind - File: cosmic/tools/explore/theme/pilot-subfind.css (CSS, 55 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-subfind.css#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/1151.html#f2 - Synopsis: A style sheet in the theme folder of Cosmic. - What it achieves (comment): Pilot module "subfind" (AZIMUTH-47). Every selector prefixed p-subfind-; colours follow `pilot.css` tokens. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Subfind - File: cosmic/tools/explore/theme/pilot-subfind.js (JavaScript, 463 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-subfind.js#L1-L463 - Page: https://code.globalgrid2050.com/explore-code/s/1152.html#f1 - Synopsis: A JavaScript file in the theme folder of Cosmic that maps grid substations, postcodes, 33kV and A roads, and uses data from the GridAtlas repository. - What it achieves (comment): It marks ties (`markTies`), sets msg (`setMsg`) and loads grid (`loadGridFor`). Pilot module "subfind" (AZIMUTH-47, SUBFINDER): find substations by postcode, town, place or substation name. Its code works with 33 kV and 32.5 kV. It responds to submit, click and keydown events. - What it does: It maps grid substations, postcodes, 33kV and A roads. Defines 50 functions or classes, including geo, distM, bearing, kvList, norm. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV, 32.5kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: postcodes, 33kV, A roads, 32.5kV. - Inputs & outputs: In: data source: gridatlas data; browser storage (getItem); form fields (user input). Out: browser storage (setItem). Voltage levels named: 33kV, 32.5kV. - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - Signatures: `geo()`; `distM(a, b, c, d)`; `bearing(a, b, c, d)`; `kvList(raw)`; `norm(s)`; `caveat()`; `level(kv)`; `topLevel(kvs)`; `kvText(kvs)`; `compass(b)`; `fmtD(m)`; `okLL(la, lo)`; `byDist(a, b)`; `atlasLink(r)`; `hasModule(name)`; `gaBase()`; `sub(name, operator, raw, lat, lon)`; `gridAll()`; `ukpnNear(lat, lon, rKm)`; `fin(v)`; `recent()`; `remember(r)`; `measure(list, o)`; `kvOn()`; `compute()` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; browser storage (getItem); form fields (user input)]; out [browser storage (setItem)]; crs []; voltages [33kV, 32.5kV] - Edges: uses 2 estate files (estate-url 2); used by 1; mentioned by 0 ### Pilot Ticker - File: cosmic/tools/explore/theme/pilot-ticker.css (CSS, 52 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-ticker.css#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1152.html#f2 - Synopsis: A style sheet in the theme folder of Cosmic. - What it achieves (comment): Pilot module: Pipeline News ticker (MARQUEE-53). - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Ticker - File: cosmic/tools/explore/theme/pilot-ticker.js (JavaScript, 413 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-ticker.js#L1-L413 - Page: https://code.globalgrid2050.com/explore-code/s/1153.html#f1 - Synopsis: A JavaScript file in the theme folder of Cosmic that draws pipeline headlines snapshot and uses data from the GlobalGrid2050 and data-GB-electricity repositories. - What it achieves (comment): It loads feed (`loadFeed`), loads price (`loadPrice`) and sets hidden (`setHidden`). Pilot module: Pipeline News ticker (MARQUEE-53, optional). It responds to click, focusin and focusout events. - What it does: It draws pipeline headlines snapshot, the REPD register, solar and wind. Defines 34 functions or classes, including publicationStamp, publicHttpsUrl, fmtDay, fmtStamp, age. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, wind. - Inputs & outputs: In: data source: globalgrid2050 data; data source: data-gb-electricity data; JSON file pipeline_headlines.json; JSON file pipeline_headlines.snapshot.json; JSON file index.json; browser storage (getItem). Out: browser storage (setItem). - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - Signatures: `publicationStamp(value)`; `publicHttpsUrl(value)`; `fmtDay(ms)`; `fmtStamp(ms, withTime)`; `age(ms, now)`; `shortAge(ms, now)`; `dateOf(item, now)`; `hasTime(s)`; `ahead(isFinite(p) && p - now > FUTURE_MS)`; `dateText(dt, now)`; `feedLabel(doc, source, now)`; `rowsOf(doc, now)`; `norm(v)`; `distinctive(name)`; `relevance(row)`; `km(m)`; `askContext(force)`; `ctxKey()`; `reduced()`; `loadFeed()`; `loadPrice()`; `status()`; `entries()`; `itemHTML(e, k, now)`; `render()` (and 11 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data; data source: data-gb-electricity data; JSON file pipeline_headlines.json; JSON file pipeline_headlines.snapshot.json; JSON file index.json; browser storage (getItem)]; out [browser storage (setItem)]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Vicinity - File: cosmic/tools/explore/theme/pilot-vicinity.css (CSS, 32 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-vicinity.css#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/1153.html#f2 - Synopsis: A style sheet in the theme folder of Cosmic. - What it achieves (comment): Pilot vicinity panel (W07). Every selector prefixed p-vicinity-. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot Vicinity - File: cosmic/tools/explore/theme/pilot-vicinity.js (JavaScript, 497 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot-vicinity.js#L1-L497 - Page: https://code.globalgrid2050.com/explore-code/s/1154.html#f1 - Synopsis: A JavaScript module in the theme folder of Cosmic that maps grid substations and the Renewable Energy Planning Database (REPD) register, using haversine, and uses data from the GridAtlas repository. - What it achieves (comment): It parses lat lon (`parseLatLon`), parses subs (`parseSubs`) and loads subs (`loadSubs`). Pilot vicinity (W07, RADIAL-38): deploy the Ventus Grid Engine at any point and list the nearest real assets with straight-line distances and bearings, drawn in the flight view as a radius ring and links. Its code works with 220 kV, 25 kV and 33 kV. It responds to click, submit and input events. - What it does: It maps grid substations and the REPD register. Defines 40 functions or classes, including destinationCirclePoints, circleVertexCount, nearest, radiusKm, bandColour. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, 220kV, 33kV, 25kV. - Inputs & outputs: In: GeoJSON file grid_substations.geojson; form fields (user input). Voltage levels named: 220kV, 33kV, 25kV. - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - Signatures: `ESTATE(W && W.PILOT && W.PILOT.estate)`; `destinationCirclePoints(lon, lat, radiusKm, n, earthRadiusKm)`; `b(i / n)`; `circleVertexCount(radiusKm)`; `nearest(points, lat, lon, options)`; `minimumKv(options && options.minimumKv)`; `limit(options && options.limit)`; `radiusKm(value)`; `bandColour(kv)`; `compass(deg)`; `fmtKm(km)`; `fmtDistBrg(km, deg)`; `fmtBearing(deg)`; `validPoint(lat, lon)`; `parseLatLon(text)`; `parseSubs(gj)`; `normItem(kind, it)`; `dedupe(items)`; `model(kind, items, lat, lon, rKm, capped)`; `replyState(answered, list, meta)`; `loadSubs()`; `hasModule(name)`; `ask(kind, lat, lon, rKm)`; `finish(list, meta)`; `gather(lat, lon, rKm, onPartial)` (and 15 more) - VEDIC: TRACE GEODESIC CIRCLE (GG2050-VEDIC-000103): Ventus Grid Engine / Geometry · Mathematics / Spherical geometry. lon, lat, radiusKm, n, earthRadiusKm -> Open ring of n [lon, lat] degree pairs evenly spaced in bearing around the centre. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_substations.geojson; form fields (user input)]; out []; crs []; voltages [220kV, 33kV, 25kV] - Edges: uses 2 estate files (require 1, estate-url 1); used by 1; mentioned by 0 ### Pilot - File: cosmic/tools/explore/theme/pilot.css (CSS, 93 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot.css#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/1154.html#f2 - Synopsis: A style sheet in the theme folder of Cosmic. - What it achieves (comment): Explore Code Pilot (HOTBAR-36). Look: Energy Transition Simulator / site-world menu tokens (`mod/menu-style.js`). - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pilot - File: cosmic/tools/explore/theme/pilot.html (HTML, 57 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot.html#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/1154.html#f3 - Published at: https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html - Synopsis: A web page in the theme folder of Cosmic that draws places and the Renewable Energy Planning Database (REPD) register. Published at https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html. - What it achieves (comment): Fly over real coordinates written in the GlobalGrid2050 estate. - What it does: It draws places and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register. README: "When `theme/pilot.html` exists, the Pilot page files go to `/pilot/`." - Inputs & outputs: In: JSON file places.json. Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file places.json]; out [web page]; crs []; voltages [] - Edges: uses 28 estate files (script-src 15, stylesheet 13); used by 0; mentioned by 0 ### Pilot - File: cosmic/tools/explore/theme/pilot.js (JavaScript, 880 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot.js#L1-L880 - Page: https://code.globalgrid2050.com/explore-code/s/1155.html#f1 - Synopsis: A JavaScript file in the theme folder of Cosmic that maps places, beacon, substations and overhead lines (OHL), and uses data from the GridAtlas repository. - What it achieves (comment): It sets origin (`setOrigin`), loads dem (`loadDem`) and sets basis (`setBasis`). Explore Code Pilot (HOTBAR-36; core flight, FAST MODE and window.PILOT contract v1: ALTIMETER-58 / Pilot-200 W01). It reads `places.json`. It responds to click, visibilitychange and keydown events. - What it does: It maps places, beacon, substations and overhead lines (OHL). Defines 85 functions or classes, including noop, ease, turn, lattice, half. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: substations, overhead lines (OHL). - Inputs & outputs: In: data source: gridatlas data; JSON file places.json. Out: canvas drawing. - Downstream impact: Used directly by 1 file: Pilot (cosmic, https://ventusltd.github.io/cosmic/tools/explore/theme/pilot.html). - Signatures: `noop()`; `ease(u)`; `turn(from, to)`; `lattice(g)`; `half(z)`; `sq(z)`; `attach(g)`; `warnOnce(k, e)`; `clamp(v, a, b)`; `fireReady()`; `$(id)`; `toLocal(lat, lon)`; `toLL(x, y)`; `setOrigin(lat, lon)`; `tileXY(lat, lon, z)`; `tileLL(x, y, z)`; `loadDem(tx, ty)`; `demAt(lat, lon)`; `awsLL(lat, lon)`; `groundLL(lat, lon)`; `ground(x, y)`; `camLL()`; `dest(lat, lon, brg, m)`; `tileImg(x, y, z)`; `tileGeo(t)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file places.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Pilot - File: cosmic/tools/explore/theme/pilot.py (Python, 240 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot.py#L1-L240 - Page: https://code.globalgrid2050.com/explore-code/s/1156.html#f2 - Synopsis: A Python command-line tool in the theme folder of Cosmic that reads grid substations, build graph and pilot places. - What it achieves (comment): It scans text (`scan_text`) and is built from the inb step (`inb`) and the git step (`git`). Pilot places for Explore Code (HOTBAR-36): real coordinates found in the estate's own code files. Its code works with 400 kV. It accepts `--graph` and `--out`. - What it does: It loads grid substations, build graph and pilot places. Defines 8 functions or classes, including inb, scan_text, git, blobs, km. Uses libraries __future__, argparse, json, math, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: In: GeoJSON file grid_substations.geojson; JSON file build_graph.json; JSON file pilot-places.json; command-line arguments. Voltage levels named: 400kV. - Downstream impact: Used directly by 2 files: Test Ide (cosmic); Test Pilot Static (cosmic). Reached from 1 other entry point, including CI Chess Workflow (cosmic). - Signatures: `inb(lat: float, lon: float)`; `scan_text(text: str)`; `git(repo: Path, *args: str, inp: str | None = None)`; `blobs(repo: Path, commit: str, paths: list[str])`; `km(a, b)`; `build(graph_path: Path)`; `clip_runs(coords, c, radius_km=RADIUS_KM)`; `main(argv=None)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_substations.geojson; JSON file build_graph.json; JSON file pilot-places.json; command-line arguments]; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Pilot Estate - File: cosmic/tools/explore/theme/pilot_estate.py (Python, 112 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/pilot_estate.py#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/1156.html#f3 - Synopsis: A Python command-line tool in the theme folder of Cosmic that works with rewrite imports (`rewrite_imports`) (units: kV), using SHA-256. - What it achieves (comment): It is built from the sub step (`sub`), the source step (`source`) and the vendored step (`vendored`). Build `theme/pilot-estate.js`: estate originals vendored VERBATIM for the Pilot page (W10 CAPSTAN-41). It accepts `--check`. - What it does: It loads data. Defines 6 functions or classes, including rewrite_imports, sub, source, vendored, build. Uses libraries __future__, argparse, hashlib, re, subprocess. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: In: command-line arguments. Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: Used directly by 1 file: Test Pilot Geo (cosmic). Reached from 1 other entry point, including CI Chess Workflow (cosmic). - Signatures: `rewrite_imports(text: str)`; `sub(m)`; `source(repo: str, commit: str, path: str)`; `vendored(text: str, a: int, b: int | None)`; `build()`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Play - File: cosmic/tools/explore/theme/play.css (CSS, 173 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/play.css#L1-L173 - Page: https://code.globalgrid2050.com/explore-code/s/1157.html#f1 - Synopsis: A style sheet in the theme folder of Cosmic. - What it achieves (comment): Explore Code play layer (`theme/play.css`). Progressive enhancement, added after build by `theme/inject.py`. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "`inject.py` copies `play.css` and `play.js` to `/theme/`." - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Play - File: cosmic/tools/explore/theme/play.js (JavaScript, 463 lines) · role interaction · stage output - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/play.js#L1-L463 - Page: https://code.globalgrid2050.com/explore-code/s/1157.html#f2 - Synopsis: A JavaScript file in the theme folder of Cosmic that checks badges (`checkBadges`), builds hud (`buildHud`) and refreshes hud (`refreshHud`). - What it achieves (comment): It checks badges (`checkBadges`), builds hud (`buildHud`) and refreshes hud (`refreshHud`). Explore Code play layer (`theme/play.js`). Vanilla, no dependencies, no external hosts. It responds to click, keydown and DOMContentLoaded events. - What it does: It draws its content. Defines 38 functions or classes, including get, set, today, dayBefore, fnv. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: README: "`inject.py` copies `play.css` and `play.js` to `/theme/`." - Inputs & outputs: In: JSON file play-index.json; browser storage (getItem). Out: browser storage (setItem). - Downstream impact: Used directly by 1 file: Test Theme (cosmic). - Signatures: `root((me && me.src) || '')`; `get(k, d)`; `set(k, v)`; `today()`; `dayBefore(d)`; `fnv(s)`; `el(tag, attrs, kids)`; `pad4(n)`; `index()`; `prep(d)`; `fileHref(d, f)`; `save()`; `streak()`; `count(prefix)`; `award(id, quiet)`; `checkBadges()`; `chime(up)`; `toast(htmlText)`; `nextToast()`; `esc(s)`; `title(id, icon, label, aria, withCount)`; `buildHud()`; `refreshHud()`; `toggle(id, force)`; `typing(t)` (and 14 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file play-index.json; browser storage (getItem)]; out [browser storage (setItem)]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Seethrough - File: cosmic/tools/explore/theme/seethrough.css (CSS, 63 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/seethrough.css#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/1157.html#f3 - Synopsis: A style sheet in the theme folder of Cosmic. - What it achieves (comment): The See Through mode for Explore Code (PERISCOPE-64). - What it does: Side effects: changes the web page (DOM). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Seethrough - File: cosmic/tools/explore/theme/seethrough.js (JavaScript, 212 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/seethrough.js#L1-L212 - Page: https://code.globalgrid2050.com/explore-code/s/1158.html#f1 - Synopsis: A JavaScript file in the theme folder of Cosmic covering substations and uses data from the kuiper-belt repository. It opens sub (`openSub`) and opens repo (`openRepo`). - What it achieves (comment): The See Through mode for Explore Code (PERISCOPE-64). It responds to keydown, load and ide events. - What it does: It draws substations. Defines 20 functions or classes, including el, ring, hashFor, close, onKey. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: substations. - Inputs & outputs: In: data source: kuiper-belt data; JSON file index.json. - Signatures: `el(tag, attrs, kids)`; `ring()`; `hashFor(fields)`; `close()`; `onKey(e)`; `shell(nameText, whereNode, tabUrl)`; `frame(url, label)`; `smallScreen()`; `openSub(m, fileKey)`; `openRepo(repo)`; `choose(groups, title)`; `modeButton(label, title, onClick)`; `fileButton(sec, rec)`; `sectionPage(sec)`; `repoPage(repo)`; `attach()`; `whenChromeReady(fn)`; `go()`; `start()` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: kuiper-belt data; JSON file index.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Seethrough Index - File: cosmic/tools/explore/theme/seethrough_index.py (Python, 332 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/seethrough_index.py#L1-L332 - Page: https://code.globalgrid2050.com/explore-code/s/1158.html#f2 - Synopsis: A Python command-line tool in the theme folder of Cosmic that reads build graph and substations from the kuiper-belt repository. It loads names (`load_names`) and loads repos (`load_repos`). - What it achieves (comment): Post-build step: link Explore Code files to the substations that See Through knows. It accepts `--site`, `--src` and `--seethrough`. - What it does: It loads build graph and substations. Defines 15 functions or classes, including newest_folder, load_names, load_repos, Matcher, __init__. Uses libraries __future__, argparse, json, os, re. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: substations. - Inputs & outputs: In: data source: kuiper-belt data; JSON file build_graph.json; command-line arguments. Out: JSON file index.json. - Downstream impact: Used directly by 2 files: Extras (cosmic); Test Seethrough (cosmic). Reached from 3 other entry points, including Ship (cosmic); Test Extras (cosmic); Test Ship (cosmic). - Signatures: `newest_folder(st: Path)`; `load_names(folder: Path)`; `load_repos(cosmos: Path)`; `class Matcher`; `__init__(self, names: dict[int, str])`; `scan(self, text: str)`; `_shaped(s)`; `_inside_proper_noun(text, spans, i, j)`; `_joined(text, spans, i, k)`; `_window(text, a, b, name)`; `landing(names: dict[int, str], want: str)`; `evidence(text: str, a: int, b: int)`; `build(site: Path, src: Path, st: Path, base: str)`; `inject(site: Path)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: kuiper-belt data; JSON file build_graph.json; command-line arguments]; out [JSON file index.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0 ### Test Ide - File: cosmic/tools/explore/theme/test_ide.py (Python, 211 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/test_ide.py#L1-L211 - Page: https://code.globalgrid2050.com/explore-code/s/1159.html#f1 - Synopsis: A test in the theme folder of Cosmic that checks Pilot. It is built from the served step (`served`). - What it achieves (comment): Tests for the Explore Code IDE layer and Pilot page (HOTBAR-36). - What it does: It tests its inputs. Defines 14 functions or classes, including test_ide_files_exist_and_parse, test_ide_has_no_external_hosts_or_cdn, test_ide_never_rewrites_page_text, test_ide_css_is_scoped_to_body_ide, test_ide_palette_and_motion. Uses libraries __future__, functools, http.server, json, os. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: In: JSON file pilot-places.json; command-line arguments. - Signatures: `test_ide_files_exist_and_parse()`; `test_ide_has_no_external_hosts_or_cdn()`; `test_ide_never_rewrites_page_text()`; `test_ide_css_is_scoped_to_body_ide()`; `test_ide_palette_and_motion()`; `test_ide_keys_and_features_present()`; `test_phone_bar_targets_44px()`; `test_pilot_page_local_only_except_listed_hosts()`; `test_pilot_provenance_header()`; `test_scan_text_rules()`; `test_places_are_real_coordinates_with_keys()`; `_chromium()`; `served()`; `test_browser_layout_keys_and_js_off(served)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file pilot-places.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Test Pilot Bng - File: cosmic/tools/explore/theme/test_pilot_bng.py (Python, 56 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/test_pilot_bng.py#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1159.html#f2 - Synopsis: A test in the theme folder of Cosmic covering solar. - What it achieves (comment): OS grid parity: `pilot-goto.js`'s 11 BNG functions vs their source `bng.mjs` (W10 CAPSTAN-41; THEODOLITE-19 STAR-1 #1). - What it does: It tests solar. Defines test_goto_bng_matches_source. Uses libraries __future__, json, shutil, subprocess, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `test_goto_bng_matches_source(tmp_path)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Pilot Browser - File: cosmic/tools/explore/theme/test_pilot_browser.py (Python, 254 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/test_pilot_browser.py#L1-L254 - Page: https://code.globalgrid2050.com/explore-code/s/1159.html#f3 - Synopsis: A test in the theme folder of Cosmic covering the Renewable Energy Planning Database (REPD) register. It is built from the served step (`served`) and the browser step (`browser`). - What it achieves (comment): Browser tests for the Pilot / Drone View page with every shipped module (Pilot-200, W10 CAPSTAN-41). - What it does: It tests the REPD register. Defines 14 functions or classes, including _chromium, served, browser, _open, _has_pilot. Uses libraries __future__, functools, http.server, importlib.util, json. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: Out: JSON file play-index.json; JSON file repd-fixture.json. - Downstream impact: Used directly by 1 file: CI Chess Workflow (cosmic). - Signatures: `_chromium()`; `served()`; `browser()`; `_open(browser, url, w, h, reduced=False)`; `_has_pilot(pg)`; `test_loads_clean_no_sideways_scroll_and_taps(served, browser, w, h)`; `test_contract_surface_and_modules_registered(served, browser)`; `test_flyto_instant_and_reduced_motion(served, browser)`; `test_long_flight_fast_arc_reaches_target(served, browser)`; `test_module_smoke(served, browser, name)`; `test_vicinity_query_contract_states(served, browser)`; `test_no_overlapping_controls_at_390(served, browser)`; `test_repd_ranking_matches_gridatlas_order(served, browser)`; `test_vicinity_substations_never_wait_for_optional_layers(served, browser)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [JSON file play-index.json; JSON file repd-fixture.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Pilot Dark - File: cosmic/tools/explore/theme/test_pilot_dark.py (Python, 290 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/test_pilot_dark.py#L1-L290 - Page: https://code.globalgrid2050.com/explore-code/s/1160.html#f1 - Synopsis: A test in the theme folder of Cosmic that checks Inject, using SHA-256. - What it achieves (comment): It is built from the served step (`served`), the quiet class (`Quiet`) and the log message helper (`log_message`). Tests for the DARK GRID Pilot module (`theme/pilot-dark.js` + `pilot-dark.css`; DARK GRID 1 / UMBRA-63). Its code works with 132 kV. - What it does: It tests its inputs. Defines 22 functions or classes, including js, test_module_shell, test_no_animation_in_module, test_css_prefixed_and_touch_targets, test_dock_pill_style_matches_gridatlas. Uses libraries __future__, functools, hashlib, http.server, importlib.util. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 132kV. - Inputs & outputs: In: GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson. Out: JSON file play-index.json; browser storage (setItem). Voltage levels named: 132kV. - Signatures: `js()`; `test_module_shell()`; `test_no_animation_in_module()`; `test_css_prefixed_and_touch_targets()`; `test_dock_pill_style_matches_gridatlas()`; `test_band_colours_pinned_to_gridatlas()`; `test_vendored_wireframe_is_verbatim()`; `test_vendored_grid_runs_in_node()`; `test_js_parses()`; `_chromium()`; `served()`; `class Quiet`; `log_message(self, *a, **k)`; `browser()`; `_open(browser, served, w, h, hash_='', reduced=False, grid_on=True)`; `_dbg(pg)`; `_wait_lines(pg, ms=20000)`; `_overflow_and_small(pg)`; `test_toggle_by_button_hash_readout_and_shots(served, browser, w, h)`; `test_hash_starts_dark_and_key_toggles(served, browser)`; `test_fast_mode_widens_focus_and_events(served, browser)`; `test_reduced_motion_and_frame_budget(served, browser)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_substations.geojson]; out [JSON file play-index.json; browser storage (setItem)]; crs []; voltages [132kV] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Test Pilot Darkfx - File: cosmic/tools/explore/theme/test_pilot_darkfx.py (Python, 355 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/test_pilot_darkfx.py#L1-L355 - Page: https://code.globalgrid2050.com/explore-code/s/1160.html#f2 - Synopsis: A test in the theme folder of Cosmic. It is built from the served step (`served`), the quiet class (`Quiet`) and the log message helper (`log_message`). - What it achieves (comment): Tests for the dark Pilot effects layer, `theme/pilot-darkfx.js` + `pilot-darkfx.css` (DARK GRID 2, NOCTILUCENT-27). - What it does: It tests its inputs. Defines 24 functions or classes, including _src, _code, test_module_shell_and_registration, test_layer_ids_orders_and_css_prefix, test_honesty_captions_present. Uses libraries __future__, functools, http.server, importlib.util, json. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Inputs & outputs: Out: JSON file play-index.json; JSON file fx-budget-390x844-cpu4x.json. - Signatures: `_src()`; `_code()`; `test_module_shell_and_registration()`; `test_layer_ids_orders_and_css_prefix()`; `test_honesty_captions_present()`; `test_animation_is_guarded_by_reduced_motion()`; `test_bolts_stop_above_ground()`; `_chromium()`; `_fixture()`; `served()`; `class Quiet`; `log_message(self, *a, **k)`; `browser()`; `_open(browser, url, w, h, reduced=False)`; `_go_dark(pg)`; `_frame_costs(pg, ms=2000)`; `_measure(pg, raster, runs=3)`; `_p95(xs)`; `test_darkfx_draws_within_budget(served, browser, w, h)`; `test_budget_phone_cpu_throttled(served, browser)`; `test_substation_tap_pulse_is_adjacency_only(served, browser)`; `test_lightning_flashes_stop_above_ground_with_captions(served, browser)`; `test_reduced_motion_nothing_animates(served, browser)`; `test_effects_toggle_and_glow_handover(served, browser)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file play-index.json; JSON file fx-budget-390x844-cpu4x.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Pilot Lightning - File: cosmic/tools/explore/theme/test_pilot_lightning.py (Python, 177 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/test_pilot_lightning.py#L1-L177 - Page: https://code.globalgrid2050.com/explore-code/s/1161.html#f1 - Synopsis: A test in the theme folder of Cosmic that checks Inject, using haversine and SHA-256. - What it achieves (comment): It is built from the git show helper (`git_show`), the reference step (`reference`) and the bearing step (`bearing`). Lightning parity acceptance (ChatGPT round 2 item 1; W10 CAPSTAN-41). It reads `in.json` and writes `in.json`. - What it does: It tests its inputs. Defines 14 functions or classes, including git_show, _flash_feature, reference, bearing, site. Uses libraries __future__, functools, hashlib, http.server, importlib.util. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: In: GeoJSON file grid_substations.geojson; GeoJSON file uk_lightning.geojson; JSON file in.json. Out: JSON file in.json; JSON file play-index.json; GeoJSON file grid_substations.geojson. - Signatures: `git_show(repo: Path, sha: str, path: str)`; `_flash_feature()`; `reference(features, flash, opts)`; `bearing(lon1, lat1, lon2, lat2)`; `site()`; `browser()`; `pilot_readout(browser, base, fx, lon, lat, kind, info, min_kv=132)`; `test_parity_with_reference_engine_on_a_real_flash(site, browser)`; `test_flash_time_pin()`; `test_empty_dataset(site, browser)`; `test_polygon_and_multipolygon_locations(site, browser)`; `test_voltage_filter(site, browser)`; `test_tie_order_matches_reference(site, browser)`; `test_failed_load_is_unknown_not_none(site, browser)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_substations.geojson; GeoJSON file uk_lightning.geojson; JSON file in.json]; out [JSON file in.json; JSON file play-index.json; GeoJSON file grid_substations.geojson]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Test Pilot Static - File: cosmic/tools/explore/theme/test_pilot_static.py (Python, 257 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/test_pilot_static.py#L1-L257 - Page: https://code.globalgrid2050.com/explore-code/s/1161.html#f2 - Synopsis: A test in the theme folder of Cosmic that checks Inject and Pilot using data from postcodes.io. - What it achieves (comment): Static tests for the Pilot / Drone View page and its modules (Pilot-200, W10 CAPSTAN-41). - What it does: It tests postcodes. Defines 20 functions or classes, including _inject, _strip_comments, test_page_has_module_markers_once_in_contract_order, test_source_page_tags_each_module_literally_once_in_order, test_inject_tags_every_shipped_module_in_order_and_is_idempotent. Uses libraries __future__, importlib.util, re, shutil, subprocess. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: postcodes. - Inputs & outputs: In: data source: postcodes.io; JSON file places.json; JSON file pilot-places.json. - Downstream impact: Used directly by 1 file: CI Chess Workflow (cosmic). - Signatures: `_inject()`; `_strip_comments(js: str)`; `test_page_has_module_markers_once_in_contract_order()`; `test_source_page_tags_each_module_literally_once_in_order()`; `test_inject_tags_every_shipped_module_in_order_and_is_idempotent()`; `test_inject_with_no_modules_and_absent_files(tmp_path)`; `test_sync_pilot_copies_modules(tmp_path)`; `test_js_parses(path)`; `test_module_shell_follows_contract(path)`; `test_module_css_is_prefixed(path)`; `test_external_hosts_are_allow_listed()`; `test_imagery_and_data_hosts_carry_attribution()`; `test_photon_rule_file_sizes()`; `test_no_religious_terms()`; `test_modules_escape_fetched_text()`; `test_modules_respect_offline_flag()`; `_pilot_py()`; `test_clip_runs_cuts_each_segment_at_the_radius()`; `test_places_cache_declares_exception()`; `test_licence_manifest_rows_and_notices()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: postcodes.io; JSON file places.json; JSON file pilot-places.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 1; mentioned by 0 ### Test Pilot Subfind - File: cosmic/tools/explore/theme/test_pilot_subfind.py (Python, 377 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/test_pilot_subfind.py#L1-L377 - Page: https://code.globalgrid2050.com/explore-code/s/1162.html#f1 - Synopsis: A test in the theme folder of Cosmic that checks GridAtlas — Atlas Page using data from the GridAtlas repository. - What it achieves (comment): It is built from the feat step (`feat`), the served step (`served`) and the browser step (`browser`). Browser tests for the optional Pilot "Find substations" module (`theme/pilot-subfind.js`, AZIMUTH-47). Its code works with 400 kV, 33 kV and 132 kV. - What it does: It tests postcodes, 400kV and 33kV. Defines 21 functions or classes, including _chromium, feat, served, browser, _open. Uses libraries __future__, functools, http.server, importlib.util, json. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: postcodes, 400kV, 33kV, 132kV, 0.75kV. - Inputs & outputs: In: data source: gridatlas data; GeoJSON file grid_substations.geojson; browser storage (getItem). Out: JSON file play-index.json; GeoJSON file grid_substations.geojson. Voltage levels named: 400kV, 132kV, 33kV, 0.75kV. - Signatures: `_chromium()`; `feat(name, voltage, lat, lon, operator='')`; `served()`; `browser()`; `_open(browser, url, w=390, h=844, geo='ok', ga='/fx/', reduced=True, query='')`; `router(route)`; `_search(pg, text)`; `_rows(pg, sel='.p-subfind-near')`; `_status(pg)`; `test_postcode_with_space_ranks_nearest_with_ties_and_caveat(served, browser)`; `test_town_name_gives_point_then_list(served, browser)`; `test_substation_name_matches_directly(served, browser)`; `test_unknown_place_says_so_never_silent(served, browser)`; `test_geocoder_failure_is_clear_and_unknown(served, browser)`; `test_data_failure_is_clear_with_retry(served, browser)`; `test_ukpn_failure_is_unknown(served, browser)`; `test_voltage_and_radius_filters(served, browser)`; `test_fly_route_and_recent(served, browser)`; `test_offline_never_geocodes(served, browser)`; `test_layout_targets_and_no_overlap(served, browser, w, h)`; `test_reduced_motion_fly_is_instant_and_motion_fly_animates(served, browser)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; GeoJSON file grid_substations.geojson; browser storage (getItem)]; out [JSON file play-index.json; GeoJSON file grid_substations.geojson]; crs []; voltages [400kV, 132kV, 33kV, 0.75kV] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Test Pilot Ticker - File: cosmic/tools/explore/theme/test_pilot_ticker.py (Python, 350 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/test_pilot_ticker.py#L1-L350 - Page: https://code.globalgrid2050.com/explore-code/s/1163.html#f1 - Synopsis: A test in the theme folder of Cosmic that checks GlobalGrid2050 — UK Renewables Pipeline Page using data from the GlobalGrid2050 and data-GB-electricity repositories. - What it achieves (comment): It is built from the iso step (`iso`), the item step (`item`) and the feed step (`feed`). Browser tests for the optional Pilot ticker module (`theme/pilot-ticker.js`, MARQUEE-53). - What it does: It tests the REPD register and solar. Defines 21 functions or classes, including _chromium, iso, item, feed, served. Uses libraries __future__, functools, http.server, importlib.util, json. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: data source: globalgrid2050 data; data source: data-gb-electricity data; JSON file pipeline_headlines.json; JSON file pipeline_headlines.snapshot.json; JSON file 2026.json; JSON file index.json; browser storage (getItem). Out: JSON file play-index.json; JSON file repd-fixture.json; browser storage (setItem). - Signatures: `_chromium()`; `iso(dt: datetime)`; `item(n, date=..., **kw)`; `feed(items, generated=None, status='ok', **kw)`; `served()`; `browser()`; `_open(browser, url, w=390, h=844, live=None, snapshot=None, price=True, reduced=False, query='', storage_hidden=False)`; `answer(route, body)`; `router(route)`; `_ticker(pg)`; `_status(pg)`; `test_malformed_dates_never_interrupt_rendering(served, browser)`; `test_stale_feed_is_labelled_overdue(served, browser)`; `test_failed_load_says_unknown_not_zero(served, browser)`; `test_offline_never_fetches(served, browser)`; `test_market_item_dated_and_historical(served, browser)`; `test_local_items_float_only_when_the_feed_names_them(served, browser)`; `test_tap_opens_card_with_pipeline_news_source(served, browser, w, h)`; `test_reduced_motion_is_static_and_pause_button(served, browser)`; `test_hide_toggle_persists_and_restores_from_panel(served, browser)`; `test_layout_targets_and_no_overlap(served, browser, w, h)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data; data source: data-gb-electricity data; JSON file pipeline_headlines.json; JSON file pipeline_headlines.snapshot.json; JSON file 2026.json; JSON file index.json; browser storage (getItem)]; out [JSON file play-index.json; JSON file repd-fixture.json; browser storage (setItem)]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Test Seethrough - File: cosmic/tools/explore/theme/test_seethrough.py (Python, 236 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/test_seethrough.py#L1-L236 - Page: https://code.globalgrid2050.com/explore-code/s/1163.html#f2 - Synopsis: A test in the theme folder of Cosmic that checks Seethrough Index and Kuiper Belt — See Through Page using data from the kuiper-belt repository. - What it achieves (comment): It loads index (`load_index`), indexes evidence (`IndexEvidence`) and sets up (`setUp`). Tests for the See Through mode (PERISCOPE-64). Its code works with 400 kV and 33 kV. - What it does: It tests substations and 400kV. Defines 29 functions or classes, including names, matcher, found, RealMatches, test_names_are_see_throughs_own. Uses libraries functools, http.server, json, os, re. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: substations, 400kV, 33kV. - Inputs & outputs: In: data source: kuiper-belt data; JSON file index.json; JSON file build_graph.json. Voltage levels named: 400kV, 33kV. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `names()`; `matcher()`; `found(line)`; `class RealMatches`; `test_names_are_see_throughs_own(self)`; `test_exact(self)`; `test_normalised(self)`; `test_suffix_variant(self)`; `test_longest_wins(self)`; `test_single_word_needs_context(self)`; `class NoFalseMatches`; `test_common_words(self)`; `test_placeholders_and_generic_names_never_link(self)`; `load_index()`; `class IndexEvidence`; `setUp(self)`; `test_every_match_is_on_its_line(self)`; `test_deep_link_opens_that_name(self)`; `test_repos_are_exact_cosmos_names(self)`; `test_sections_point_at_linked_files(self)`; `class PageTextUnchanged`; `test_inject_touches_only_the_head(self)`; `test_no_belief_words_in_shipped_files(self)`; `test_live_app_by_url(self)`; `_serve(root)` (and 4 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: kuiper-belt data; JSON file index.json; JSON file build_graph.json]; out []; crs []; voltages [400kV, 33kV] - Edges: uses 2 estate files (import 1, estate-url 1); used by 0; mentioned by 0 ### Test Theme - File: cosmic/tools/explore/theme/test_theme.py (Python, 207 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/theme/test_theme.py#L1-L207 - Page: https://code.globalgrid2050.com/explore-code/s/1164.html#f1 - Synopsis: A test in the explore folder of Cosmic that checks Inject and Play, using EPSG:4326. It makes site (`make_site`) and sets up (`setUp`). - What it achieves (comment): Tests for the Explore Code play layer: python -m pytest `tools/explore/theme/test_theme.py` (or run directly). - What it does: It tests cables. Defines 22 functions or classes, including TextOnly, __init__, handle_starttag, handle_endtag, handle_data. Uses libraries __future__, json, re, shutil, subprocess. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: JSON file play-index.json; JSON file places.json. Out: JSON file build_graph.json; JSON file pilot-places.json. Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class TextOnly`; `__init__(self)`; `handle_starttag(self, tag, attrs)`; `handle_endtag(self, tag)`; `handle_data(self, d)`; `text_of(html: str)`; `make_site(root: Path)`; `class InjectTests`; `setUp(self)`; `tearDown(self)`; `snapshot(self)`; `test_idempotent(self)`; `test_text_ids_and_body_unchanged(self)`; `test_one_link_one_deferred_script_in_head(self)`; `test_no_external_hosts(self)`; `test_digest_copies_graph(self)`; `test_rerun_replaces_old_version_tags(self)`; `test_pilot_hook_copies_when_present(self)`; `test_storage_wrapped_and_sound_off(self)`; `test_play_js_parses(self)`; `class RealSiteTest`; `test_real_build(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file play-index.json; JSON file places.json]; out [JSON file build_graph.json; JSON file pilot-places.json]; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 2 estate files (import 1, script-call 1); used by 0; mentioned by 0 ### Clarity - File: cosmic/tools/explore/translator/clarity.py (Python, 577 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/translator/clarity.py#L1-L577 - Page: https://code.globalgrid2050.com/explore-code/s/1164.html#f2 - Synopsis: A Python command-line tool in the translator folder of Cosmic that draws build graph. It joins words (`join_words`), counts line (`count_line`) and filters nav (`filter_nav`). - What it achieves (comment): Clarity view: read the whole estate as fields of pictograms and see what is real. It accepts `--graph` and `--out`. - What it does: It draws build graph. Defines 26 functions or classes, including neutral, esc, slugify, section_href, folder_of. Uses libraries __future__, argparse, collections, html, json. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: In: JSON file build_graph.json; JSON file clarity.json; command-line arguments. Out: SVG drawing. - Downstream impact: Used directly by 3 files: Extras (cosmic); Test No Tmp (cosmic); Test Translator (cosmic). Reached from 3 other entry points, including Ship (cosmic); Test Extras (cosmic); Test Ship (cosmic). - Signatures: `neutral(s: str)`; `esc(s)`; `slugify(s: str)`; `section_href(f: dict)`; `folder_of(f: dict)`; `reach_from_entries(files: list[dict], skip: set[int])`; `classify(files: list[dict])`; `synopsis_clause(s: str)`; `plural(n: int, one: str, many: str | None = None)`; `join_words(items: list[str])`; `_lower(s: str)`; `repo_paragraph(repo: str, files: list[dict], cat: dict[int, str], role_title: dict[str, str])`; `page(title: str, body: str, *, script: bool = False, desc: str = "")`; `topbar(here: str)`; `glyph_link(f: dict, g: glyphs.Glyph, c: str, role_title: dict[str, str])`; `count_line(counter, total=None)`; `proportion_bar(counter)`; `filter_nav(counter, *, live: bool, here: str = "all")`; `legend_html(role_list: list[dict], colours: dict[str, str], *, open_: bool)`; `demo(**kw)`; `fields_html(files: list[dict], enc: dict, cat: dict, role_title: dict, *, with_repo: bool, repo_order: list[str], repo_slug: dict...)`; `mini_strip(files: list[dict], enc: dict, cat: dict, n: int)`; `repo_picture(files: list[dict], enc: dict, cat: dict, repo: str)`; `build(graph: dict)`; `write(out_dir: str, files: dict[str, str])` (and 1 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file clarity.json; command-line arguments]; out [SVG drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Glyphs - File: cosmic/tools/explore/translator/glyphs.py (Python, 202 lines) · role render · stage output - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/translator/glyphs.py#L1-L202 - Page: https://code.globalgrid2050.com/explore-code/s/1165.html#f2 - Synopsis: A Python module in the translator folder of Cosmic that sizes step (`size_step`). - What it achieves (comment): It is built from the glyph class (`Glyph`), the palette step (`palette`) and the link count helper (`link_count`). Pictorial translator: one deterministic pictogram per estate file. - What it does: It draws its content. Defines 14 functions or classes, including Glyph, palette, size_step, link_count, encode. Uses libraries __future__, math, typing. Side effects: changes the web page (DOM). - Inputs & outputs: Out: SVG drawing. - Downstream impact: Used directly by 3 files: Clarity (cosmic); Test No Tmp (cosmic); Test Translator (cosmic). Reached from 4 other entry points, including Extras (cosmic); Ship (cosmic); Test Extras (cosmic). - Signatures: `class Glyph`; `palette(roles: list[dict])`; `size_step(lines: int)`; `link_count(f: dict)`; `encode(f: dict, colours: dict[str, str])`; `key(g: Glyph)`; `_fmt(v: float)`; `_shape(shape: str, cx: float, cy: float, r: float, attrs: str)`; `body(g: Glyph)`; `svg(g: Glyph, size: int = 40, title: str | None = None)`; `symbol(g: Glyph)`; `sprite(glyphs)`; `_esc(s: str)`; `describe(g: Glyph, roles_title: dict[str, str] | None = None)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Test No Tmp - File: cosmic/tools/explore/translator/test_no_tmp.py (Python, 50 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/translator/test_no_tmp.py#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/1165.html#f3 - Synopsis: A test in the translator folder of Cosmic that checks Test Translator and Clarity. It is built from the no tmp test class (`NoTmpTest`). - What it achieves (comment): CI check: `clarity.py` runs on a clean machine with only `build_graph.json` (no /tmp inputs), as `extras.py` runs it. - What it does: It tests its inputs. Defines NoTmpTest, test_source_has_no_host_paths, test_runs_from_env_only, test_missing_graph_is_a_clear_error. Uses libraries json, os, re, subprocess, sys. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file build_graph.json; JSON file clarity.json. Out: JSON file. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class NoTmpTest`; `test_source_has_no_host_paths(self)`; `test_runs_from_env_only(self)`; `test_missing_graph_is_a_clear_error(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file clarity.json]; out [JSON file]; crs []; voltages [] - Edges: uses 3 estate files (script-call 2, import 1); used by 0; mentioned by 0 ### Test Translator - File: cosmic/tools/explore/translator/test_translator.py (Python, 182 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/translator/test_translator.py#L1-L182 - Page: https://code.globalgrid2050.com/explore-code/s/1165.html#f4 - Synopsis: A test in the explore folder of Cosmic that checks Clarity and Glyphs. - What it achieves (comment): It sets up class (`setUpClass`) and is built from the mini graph helper (`mini_graph`) and the glyph tests class (`GlyphTests`). Tests for the pictorial translator: python3 -m pytest `translator/test_translator.py` (or run directly). Its code works with 400 kV. - What it does: It tests 400kV and cables. Defines 23 functions or classes, including f, mini_graph, GlyphTests, test_encodings, test_svg_reflects_encoding. Uses libraries collections, json, os, re, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, cables. - Inputs & outputs: In: JSON file clarity.json. Voltage levels named: 400kV. - Downstream impact: Used directly by 1 file: Test No Tmp (cosmic). - Signatures: `f(i, **kw)`; `mini_graph()`; `class GlyphTests`; `test_encodings(self)`; `test_svg_reflects_encoding(self)`; `test_keys_unique_per_picture(self)`; `test_deterministic(self)`; `class ClarityTests`; `test_classify_mini(self)`; `test_build_mini_deterministic_and_links(self)`; `test_synopsis_clause(self)`; `test_neutral(self)`; `class RealGraphTests`; `setUpClass(cls)`; `test_counts_add_up(self)`; `test_filter_pages_match_counts(self)`; `test_index_phone_sized(self)`; `test_every_glyph_links_to_its_section(self)`; `test_deterministic_real(self)`; `test_no_religious_terms(self)`; `test_generated_wording_has_no_religious_terms(self)`; `test_names_shown_as_is(self)`; `test_palette_only(self)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file clarity.json]; out []; crs []; voltages [400kV] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Journeys - File: cosmic/tools/explore/uxtests/journeys.py (Python, 532 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/uxtests/journeys.py#L1-L532 - Page: https://code.globalgrid2050.com/explore-code/s/1166.html#f1 - Synopsis: A Python command-line tool in the uxtests folder of Cosmic that reads cables, using haversine. It maps live (`map_live`), adds port (`add_port`) and checks GitHub (`check_github`). - What it achieves (comment): Walk Vikram's journeys on phone, tablet, laptop and desktop, screenshot every step, measure UX faults. It accepts `--out`, `--only` and `--viewports`. - What it does: It loads cables. Defines 27 functions or classes, including local_targets, QuietHandler, log_message, end_headers, free_port. Uses libraries argparse, json, mimetypes, os, re. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: DuckDB queries; command-line arguments. Out: JSON file results.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `local_targets()`; `class QuietHandler`; `log_message(self, *a)`; `end_headers(self)`; `free_port()`; `serve(root)`; `map_live(url)`; `install_routes(ctx, external_log)`; `handler(route)`; `class Walker`; `__init__(self, page, vpname, target, shotdir, link_checker)`; `tap(self, loc)`; `tap_nav(self, loc, timeout=30000)`; `goto(self, url, timeout=45000)`; `settle(self, ms=600)`; `step(self, name, note='', elapsed=None, ok=True, problem='', extra=None)`; `fail(self, name, exc)`; `scroll_end(self, name)`; `class LinkChecker`; `add_port(self, port, root)`; `__call__(self, url)`; `check_github(url)`; `first(page, selectors)`; `explore_journey(w, base, homepage=None)`; `generic_journey(w, start)` (and 1 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [DuckDB queries; command-line arguments]; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Ownership - File: cosmic/tools/explore/verify/ownership.py (Python, 63 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/verify/ownership.py#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/1166.html#f2 - Synopsis: A Python command-line tool in the verify folder of Cosmic that compares `git status` in the cosmic repo with the owners in the Neural Link roster (`/tmp/vk/neural/ROSTER.md`). - What it achieves (name): Defines `expand` and `owners`. It accepts `--repo` and `--roster`. - What it does: It loads data. Defines expand, owners, main. Uses libraries argparse, re, subprocess. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `expand(spec)`; `owners(roster)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Review - File: cosmic/tools/explore/verify/review.py (Python, 163 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/verify/review.py#L1-L163 - Page: https://code.globalgrid2050.com/explore-code/s/1167.html#f1 - Synopsis: A Python command-line tool in the verify folder of Cosmic that works with files under (`files_under`) and asserts missing (`asserts_missing`). - What it achieves (comment): It is built from the comments and strings helper (`comments_and_strings`) and the scan step (`scan`). Static review scan of the team's new/changed code under `tools/explore/`. - What it does: It fetches data. Defines files_under, comments_and_strings, asserts_missing, scan, main. Uses libraries ast, json, os, re, sys. Side effects: reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `files_under(paths)`; `comments_and_strings(path, text)`; `asserts_missing(path, text)`; `scan(path)`; `main(argv)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Vaccines - File: cosmic/tools/explore/verify/test_vaccines.py (Python, 311 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/verify/test_vaccines.py#L1-L311 - Page: https://code.globalgrid2050.com/explore-code/s/1167.html#f2 - Synopsis: A test in the verify folder of Cosmic that checks Vaccines, using haversine and SHA-256. It runs one (`run_one`) and sets up (`setUp`). - What it achieves (comment): Self-test for `vaccines.py`, CVAA-style: every antibody must stay quiet on a healthy fixture and fire on a diseased one. python -m unittest `tools/explore/verify/test_vaccines.py`. - What it does: It tests its inputs. Defines 51 functions or classes, including run_one, page, chess_board, chess_games, Registry. Uses libraries hashlib, json, os, shutil, sys. Side effects: reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file m.metrics.json; JSON file x.json; JSON file build_graph.json; JSON file board.json; JSON file games.json; JSON file x.metrics.json; JSON file p.json; DuckDB queries. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `run_one(vid, files, **kw)`; `page(body)`; `chess_board()`; `chess_games(to='e4')`; `class Registry`; `test_five_sections_and_unique_ids(self)`; `test_fail_closed(self)`; `class V1FirstLaw`; `test_pass(self)`; `test_fail_no_key(self)`; `test_fail_uncandidate(self)`; `test_json_findings_and_llms(self)`; `class V2Religion`; `test_pass_code_excluded(self)`; `test_fail(self)`; `test_configurable(self)`; `class V3Private`; `setUp(self)`; `tearDown(self)`; `class V4Hosts`; `class V5Links`; `class V6Contracts`; `graph(self)`; `test_graph_pass_fail(self)`; `test_chess_pass_fail(self)` (and 10 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file m.metrics.json; JSON file x.json; JSON file build_graph.json; JSON file board.json; JSON file games.json; JSON file x.metrics.json; JSON file p.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Vaccines - File: cosmic/tools/explore/verify/vaccines.py (Python, 1956 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/verify/vaccines.py#L1-L1956 - Page: https://code.globalgrid2050.com/explore-code/s/1168.html#f1 - Synopsis: A Python command-line tool in the verify folder of Cosmic that fetches build graph, metrics, board and games, using SHA-256. - What it achieves (comment): It checks build graph (`check_build_graph`), checks board (`check_board`) and checks games (`check_games`). The independent verifier for Explore Code outputs, CVAA-style. It accepts `--minutes`, `--every` and `--report`. - What it does: It fetches build graph, metrics, board and games. Defines 85 functions or classes, including now, overlay_digest_ok, sha256_file, _leaks, Summary. Uses libraries argparse, collections, colorsys, hashlib, html. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file build_graph.json; JSON file keys.json; JSON file .metrics.json; JSON file board.json; JSON file games.json; JSON file identity.json; JSON file cache.json; JSON file findings.json. Out: JSON file findings.json. - Downstream impact: Used directly by 2 files: Review (cosmic); Test Vaccines (cosmic). - Signatures: `now()`; `overlay_digest_ok(path, recorded, o=None, vid='V6')`; `sha256_file(p)`; `_leaks()`; `class Summary`; `__init__(self)`; `_skip(self)`; `handle_starttag(self, tag, attrs)`; `handle_startendtag(self, tag, attrs)`; `handle_endtag(self, tag)`; `handle_data(self, data)`; `_read(path)`; `summarise(path)`; `class Output`; `p(self, rel)`; `by_ext(self, *exts)`; `html_files(self)`; `json_files(self)`; `text(self, rel)`; `summary(self, rel)`; `summary_abs(self, absp)`; `json(self, rel)`; `kinds(self)`; `site_base(self)`; `fingerprint(self)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file build_graph.json; JSON file keys.json; JSON file .metrics.json; JSON file board.json; JSON file games.json; JSON file identity.json; JSON file cache.json; JSON file findings.json]; out [JSON file findings.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Explore — Visual Style Sheet - File: cosmic/tools/explore/visual/app.css (CSS, 53 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/visual/app.css#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1170.html#f2 - Synopsis: A style sheet in the tools folder of Cosmic. - What it does: Side effects: changes the web page (DOM). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Explore — Visual - File: cosmic/tools/explore/visual/app.js (JavaScript, 971 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/visual/app.js#L1-L971 - Page: https://code.globalgrid2050.com/explore-code/s/1171.html#f1 - Synopsis: A JavaScript file in the tools folder of Cosmic that builds wafer and grid, fits cam, calculates planar distances and draws on a canvas, using SHA-256 and Louvain. - What it achieves (comment): It maps like (`mapLike`), builds wafer (`buildWafer`) and builds grid (`buildGrid`). Explore Code visualiser. Vanilla canvas; reads `graph.json` (coordinates precomputed by `visualise.py`). It responds to resize, hashchange and input events. - What it does: It draws its content. Defines 83 functions or classes, including $, narrow, mapLike, esc, path. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: JSON file graph.json. Out: canvas drawing. - Signatures: `$(id)`; `narrow()`; `mapLike(v)`; `esc(s)`; `path(i)`; `title(i)`; `human(b)`; `repoName(i)`; `secUrl(i)`; `isOv(mode)`; `cat(i, mode)`; `catColour(c, mode)`; `catTitle(c, mode)`; `colour(i)`; `shown(i)`; `lit(i)`; `load()`; `progress(got)`; `init(data)`; `ensureOv(name, cb)`; `prepOv(name, d)`; `sha256word0(str)`; `ro(x, k)`; `t1(hh + (ro(e, 6) ^ ro(e, 11) ^ ro(e, 25)) + ((e & f) ^ (~e & g)) + SHA_K[i] + w[i])`; `t2((ro(a, 2) ^ ro(a, 13) ^ ro(a, 22)) + ((a & bb) ^ (a & c) ^ (bb & c)))` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file graph.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Template - File: cosmic/tools/explore/visual/template.html (HTML, 57 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/visual/template.html#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/1172.html#f2 - Published at: https://ventusltd.github.io/cosmic/tools/explore/visual/template.html - Synopsis: A web page in the visual folder of Cosmic that reads inputs for mode, ftopic and frepo. Published at https://ventusltd.github.io/cosmic/tools/explore/visual/template.html. - What it achieves (comment): The GlobalGrid2050 code estate drawn as a pipeline (ingest, transform, engineering output), an estate map and an import flow matrix, coloured by function. - What it does: It draws its content. Side effects: changes the web page (DOM). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/cosmic/tools/explore/visual/template.html. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Visualise - File: cosmic/tools/explore/visualise.py (Python, 986 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/explore/visualise.py#L1-L986 - Page: https://code.globalgrid2050.com/explore-code/s/1172.html#f3 - Synopsis: A Python command-line tool in the explore folder of Cosmic that reads sections, communities, drift and wafer, using haversine and SHA-256. - What it achieves (comment): It compiles visual (`compile_visual`), reads lab (`read_lab`) and reads clarity (`read_clarity`). Explore Code visualiser: `build_graph.json` -> `visual/index.html` + `visual/graph.json`. It accepts `--graph`, `--from-parquet` and `--out`. - What it does: It loads sections, communities, drift and wafer. Defines 36 functions or classes, including slug, words_of, clip, fnv1a, pattern_colour. Uses libraries argparse, colorsys, glob, html, json. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: 132kV, 33kV, 11kV. README: "`build_graph.json` (see `GRAPH-CONTRACT.md`) feeds `visualise.py`, which writes `visual/index.html`: pipeline (Ingest / Transform / Output), estate map and topic flow, coloured by role, topic, stage or pattern, with a reachability overlay." - Inputs & outputs: In: Parquet file files.parquet; Parquet file sections.parquet; JSON file keys.json; JSON file communities.json; JSON file drift.json; JSON file wafer.json; JSON file graph.json; JSON file build_graph.json. Out: JSON file. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: Used directly by 3 files: Extras (cosmic); Ship (cosmic); Test Visualise (cosmic). Reached from 2 other entry points, including Test Extras (cosmic); Test Ship (cosmic). - Signatures: `slug(s)`; `words_of(s)`; `clip(s, n)`; `fnv1a(s)`; `pattern_colour(key)`; `humanise(path)`; `approx_role(path, capability)`; `graph_from_parquet(data_dir)`; `_place(b, a, c)`; `_intersects(a, b)`; `class _N`; `__init__(self, c)`; `_score(node)`; `pack_siblings(circles)`; `layout_pipeline(files, order_key)`; `layout_map(files, order_key)`; `compile_visual(g, scale=1.0, ov_manifest=None)`; `order_key(i)`; `warn(msg)`; `_load_json(p)`; `key_index(g)`; `aligner(g, cut, n, keys=None)`; `_remap_col(col, al, N, default=-1)`; `read_lab(d, g)`; `wafer_numbers(g, lab_numbers)` (and 11 more) - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [Parquet file files.parquet; Parquet file sections.parquet; JSON file keys.json; JSON file communities.json; JSON file drift.json; JSON file wafer.json; JSON file graph.json; JSON file build_graph.json]; out [JSON file]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [132kV, 33kV, 11kV] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Assign Licences - File: cosmic/tools/licence/assign_licences.py (Python, 167 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/licence/assign_licences.py#L1-L167 - Page: https://code.globalgrid2050.com/explore-code/s/1174.html#f1 - Synopsis: A Python command-line tool in the licence folder of Cosmic that works with readme line (`readme_line`), using SHA-256. - What it achieves (comment): It is built from the git step (`git`), the wrap step (`wrap`) and the has licence helper (`has_licence`). Give every Ventusltd repository that has no licence the estate's licence. It accepts `--clones`, `--repos` and `--commit`. - What it does: It loads data. Defines git, readme_line, wrap, has_licence, main. Uses libraries argparse, hashlib, os, re, subprocess. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `git(d, *a)`; `readme_line(d)`; `wrap(text, width=78)`; `has_licence(d)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Wafer - File: cosmic/tools/wafer.py (Python, 164 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/tools/wafer.py#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/1174.html#f2 - Synopsis: A Python command-line tool in the tools folder of Cosmic that calculates planar distances. - What it achieves (comment): A 300 mm wafer as real geometry, computed from stated inputs. It accepts `--diameter`, `--exclusion` and `--die-w`. - What it does: It loads data. Defines main. Uses libraries argparse, json, math, os. Side effects: reads or writes files. - Inputs & outputs: In: JSON file wafer.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file wafer.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Cosmic Regression - File: cvaa/tools/seed-regression/cosmic_regression.mjs (JavaScript, 103 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/tools/seed-regression/cosmic_regression.mjs#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/1174.html#f3 - Synopsis: A JavaScript module in the seed regression folder of CVAA that replays the selected COSMIC functions against compact controlled sector fixtures, using SHA-256. - What it achieves (name): Defines `scenario`. - What it does: Defines scenario. Uses libraries node:assert/strict, node:child_process, node:crypto, node:path, node:vm. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'cvaa'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `scenario(body, { online = true } = {})` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Exact Cosmic Target - File: cvaa/tools/seed-regression/exact_cosmic_target.mjs (JavaScript, 19 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/tools/seed-regression/exact_cosmic_target.mjs#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/1174.html#f4 - Synopsis: A JavaScript module in the seed regression folder of CVAA. It is built from the require exact cosmic target helper (`requireExactCosmicTarget`). - What it achieves (comment): Confirm that COSMIC returned an exact leaf for the requested ordinal. - What it does: It calculates its inputs. Defines requireExactCosmicTarget. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'cvaa'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "These compact checks cover deterministic discovery, resource-aware planning, exact retrieval and provenance, recursive comparison, and COSMIC's incomplete-target refusal." - Downstream impact: Used directly by 1 file: Cosmic Regression (cvaa). - Signatures: `export requireExactCosmicTarget(target, levels, ordinal)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Check Catalogue - File: elements/tests/check_catalogue.py (Python, 254 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/elements/blob/3179b0b8474ca395a949678d6f4d576dc33f3220/tests/check_catalogue.py#L1-L254 - Page: https://code.globalgrid2050.com/explore-code/s/1175.html#f1 - Synopsis: A Python command-line tool in the tests folder of Elements that tests provenance, families and lines meta, using SHA-256. - What it achieves (comment): It sets field (`set_field`) and is built from the expected rows helper (`expected_rows`) and the same step (`same`). Checks of the committed catalogue against its pinned inputs. - What it does: It tests provenance, families and lines meta. Defines expected_rows, same, problems, main, set_field. Uses libraries copy, hashlib, json, struct, sys. Side effects: reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: JSON file provenance.json; JSON file families.json; JSON file all-lines.meta.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `expected_rows(register, families, fam_lines)`; `same(a, b)`; `problems(cat, prov, exp, keyset)`; `main()`; `set_field(part, i, field, value)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file provenance.json; JSON file families.json; JSON file all-lines.meta.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 404 - File: galaxies-wafers/404.html (HTML, 59 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/404.html#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/1175.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/404.html - Synopsis: A web page in Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/404.html. - What it achieves (name): Defines `say` and `squash`. - What it does: It draws its content. Defines say, squash. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: JSON file index.json. Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/404.html. - Signatures: `say(t)`; `squash(s)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 0; mentioned by 0 ### Galaxies Wafers — App - File: galaxies-wafers/app.mjs (JavaScript, 1609 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/app.mjs#L1-L1609 - Page: https://code.globalgrid2050.com/explore-code/s/1175.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/ - Synopsis: A JavaScript module that draws lines meta, families, blocks and cables, using SHA-256, and uses data from the stars repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/. - What it achieves (comment): It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). The Line Wafer. Its code works with 100 kW. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws lines meta, families, blocks and cables. Defines 91 functions or classes, including $, snapshot, clearColour, motion, indexOfKey. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: data source: stars data; JSON file all-lines.meta.json; JSON file families.json; JSON file blocks.json; JSON file index.json. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Galaxies Wafers — Index Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/). Reached from 242 other entry points, including 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html); Galaxies Wafers — Iterations Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/); Galaxies Wafers — Proof Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/proof/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/. - Signatures: `$(id)`; `snapshot()`; `clearColour()`; `motion()`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `lowerBound(a, v)`; `visibleRange(halfWpx, halfHpx, cx, cy)`; `drawPoints(w, h, cx, cy)`; `ensureCache()`; `cacheRect()`; `rasterCache()`; `blitCache()`; `recordFrame()` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; JSON file all-lines.meta.json; JSON file families.json; JSON file blocks.json; JSON file index.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 1, estate-url 1); used by 1; mentioned by 1 ### Code Galaxy Engine - File: galaxies-wafers/engine/code-galaxy-engine.mjs (JavaScript, 100 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/engine/code-galaxy-engine.mjs#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/1177.html#f2 - Synopsis: A JavaScript module in Galaxies Wafers that builds deep link (`buildDeepLink`) and parses deep link (`parseDeepLink`). It builds deep link (`buildDeepLink`) and parses deep link (`parseDeepLink`). - What it achieves (comment): The Ventus Grid Engine's deep-link contract, lifted and applied to the code galaxy as a separate engine. - What it does: It lists and searches its content. Defines isKey, buildDeepLink, parseDeepLink. - Downstream impact: Used directly by 4 files: Layers Panel (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/); Questions (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/); Receiver (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/); Engine Check (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/proof/). Reached from 3 other entry points, including Iterations — 09 Deeplink Receiver (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/); Iterations — 09 Deeplink Receiver Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/); Iterations — 45 Deeplink Round Trip Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/). - Signatures: `export buildDeepLink(receiverId, { line, to, layers, zoom } = {})`; `export parseDeepLink(href)`; `isKey(v)` - VEDIC: BUILD PROJECT MAP LINK (GG2050-VEDIC-000086): Ventus Grid Engine · Map integration. base, project -> URL string with supported project query parameters. - VEDIC: PARSE PROJECT MAP LINK (GG2050-VEDIC-000087): Ventus Grid Engine · Map integration. href -> Parsed project and layer fields. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 4; mentioned by 0 ### Galaxies Wafers — Index Page - File: galaxies-wafers/index.html (HTML, 47 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/index.html#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1177.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/ - Synopsis: A web page that reads inputs for dark ground. Published at https://ventusltd.github.io/galaxies-wafers/. - What it achieves (comment): The Line Wafer — every numbered line of the estate, on one surface. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 21 files: Pilot (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/); Layers Panel (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/); Layers Panel (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/); Layers Panel (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/); and 17 more. Reached from 224 other entry points, including Iterations — 01 Route Alpha Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/); Iterations — 02 Tunnels Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/); Iterations — 03 Code Particle Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 2, stylesheet 1, link 1); used by 21; mentioned by 0 ### Iterations — 02 Tunnels Page - File: galaxies-wafers/iterations/02-tunnels/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/02-tunnels/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1178.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/ - Synopsis: A web page in Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/. - What it achieves (comment): Tunnels — the same line, far apart on the wafer. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 6 estate files (script-src 3, stylesheet 2, link 1); used by 0; mentioned by 0 ### Questions - File: galaxies-wafers/iterations/02-tunnels/questions.mjs (JavaScript, 125 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/02-tunnels/questions.mjs#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/1178.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that works with layer tags (`layerTags`) and single-line diagram (SLD) sentence (`sldSentence`), using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/. - What it achieves (comment): It reads JSON (`readJSON`) and is built from the fmt step (`fmt`) and the answer step (`answer`). Iteration 02, Tunnels: the owner's three questions and the machine detail line. It reads `manifest.json`. It responds to resize and toggle events. - What it does: It draws its content. Defines 11 functions or classes, including $, fmt, answer, fill, readJSON. Side effects: changes the web page (DOM); makes network requests. - Downstream impact: Used directly by 1 file: Iterations — 02 Tunnels Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/. - Signatures: `$(id)`; `fmt(n)`; `answer(dl, q, parts)`; `fill(ps)`; `readJSON(url)`; `layerTags()`; `s(t.textContent.match(/[A-Z]+/) || ['?'])`; `sldSentence(m, file)`; `text(id)`; `mount(build, machine)`; `fit()`; `paint()` - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of galaxies-wafers/iterations/09-deeplink-receiver/questions.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 03 Code Particle - File: galaxies-wafers/iterations/03-code-particle/app.mjs (JavaScript, 562 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/03-code-particle/app.mjs#L1-L562 - Page: https://code.globalgrid2050.com/explore-code/s/1178.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/ - Synopsis: A JavaScript module in Galaxies Wafers that draws lines meta and families, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/. - What it achieves (comment): It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). The Line Wafer. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws lines meta and families. Defines 31 functions or classes, including $, snapshot, indexOfKey, bin, tier1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Iterations — 03 Code Particle Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/. - Signatures: `$(id)`; `snapshot()`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `render()`; `x(U.pos[i * 2] - view.x)`; `draw()`; `home()`; `flyTo(key, zoom)`; `nearestKeyAt(cx, cy)`; `wx(cx - view.w / 2)`; `wy(view.h / 2 - cy)`; `famsOf(key)`; `paintPanel(key)` (and 7 more) - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of galaxies-wafers/iterations/01-route-alpha/app.mjs) · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 1, dynamic-import 1); used by 1; mentioned by 0 ### Code Particle - File: galaxies-wafers/iterations/03-code-particle/code-particle.mjs (JavaScript, 129 lines) · role render · stage output - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/03-code-particle/code-particle.mjs#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/1179.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that draws blocks and uses data from the stars repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/. - What it achieves (comment): It fetches queue (`FetchQueue`), loads register (`loadRegister`) and reads file (`readFile`). The code particle: a tapped line opens the real code block it belongs to. - What it does: It draws blocks. Defines 6 functions or classes, including FetchQueue, el, loadRegister, readFile, openCode. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Inputs & outputs: In: data source: stars data; JSON file blocks.json. - Downstream impact: Used directly by 1 file: Iterations — 03 Code Particle (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/). Reached from 1 other entry point, including Iterations — 03 Code Particle Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/). - Signatures: `export openCode(families, host)`; `class FetchQueue`; `constructor(concurrency)`; `add(task, onWait)`; `el(tag, cls, text)`; `loadRegister()`; `readFile(file, onWait)`; `setTag(state, text)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; JSON file blocks.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 03 Code Particle Page - File: galaxies-wafers/iterations/03-code-particle/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/03-code-particle/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1179.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/ - Synopsis: A web page in Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/. - What it achieves (comment): Code Particle — tap a line, read its code. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (stylesheet 2, script-src 2, link 1); used by 0; mentioned by 0 ### Questions - File: galaxies-wafers/iterations/03-code-particle/questions.mjs (JavaScript, 128 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/03-code-particle/questions.mjs#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/1179.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that draws blocks and uses data from the stars repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/. - What it achieves (comment): It reads JSON (`readJSON`) and is built from the fmt step (`fmt`) and the answer step (`answer`). Iteration 03, Code Particle: the owner's three questions and the machine detail line. It responds to resize and toggle events. - What it does: It draws blocks. Defines 13 functions or classes, including $, fmt, answer, fill, readJSON. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Inputs & outputs: In: data source: stars data; JSON file blocks.json. - Downstream impact: Used directly by 1 file: Iterations — 03 Code Particle Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/. - Signatures: `$(id)`; `fmt(n)`; `answer(dl, q, parts)`; `fill(ps)`; `readJSON(url)`; `layerTags()`; `s(t.textContent.match(/[A-Z]+/) || ['?'])`; `sldSentence(m, file)`; `text(id)`; `mount(build, machine)`; `fit()`; `paint()`; `cat(c)`; `list(bs)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; JSON file blocks.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 03 Code Particle Style Sheet - File: galaxies-wafers/iterations/03-code-particle/style.css (CSS, 93 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/03-code-particle/style.css#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/1179.html#f5 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/ - Synopsis: A style sheet in Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/. - What it achieves (comment): The Line Wafer. Designed at 430 px first; the desktop is the same layout with more room. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 03 Code Particle Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 04 400kV Engine - File: galaxies-wafers/iterations/04-400kv-engine/app.mjs (JavaScript, 581 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/04-400kv-engine/app.mjs#L1-L581 - Page: https://code.globalgrid2050.com/explore-code/s/1180.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/ - Synopsis: A JavaScript module in Galaxies Wafers that draws lines meta and families, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/. - What it achieves (comment): It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). The Line Wafer. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws lines meta and families. Defines 32 functions or classes, including $, snapshot, motion, indexOfKey, bin. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word '400kv'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json. Out: WebGL/WebGPU drawing. Voltage levels named: 400kV. - Downstream impact: Used directly by 1 file: Iterations — 04 400kV Engine Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/). Reached from 88 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/. - Signatures: `$(id)`; `snapshot()`; `motion()`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `render()`; `x(U.pos[i * 2] - view.x)`; `draw()`; `home()`; `flyTo(key, zoom)`; `nearestKeyAt(cx, cy)`; `wx(cx - view.w / 2)`; `wy(view.h / 2 - cy)`; `famsOf(key)` (and 8 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json]; out [WebGL/WebGPU drawing]; crs []; voltages [400kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Iterations — 04 400kV Engine Page - File: galaxies-wafers/iterations/04-400kv-engine/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/04-400kv-engine/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1180.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/ - Synopsis: A web page in Galaxies Wafers covering 400kV. Published at https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/. - What it achieves (comment): 400kV Engine Mode — module routes restyled as grid voltage. Its code works with 400 kV. - What it does: It draws 400kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word '400kv'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV] - Edges: uses 5 estate files (script-src 3, stylesheet 1, link 1); used by 5; mentioned by 0 ### Questions - File: galaxies-wafers/iterations/04-400kv-engine/questions.mjs (JavaScript, 133 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/04-400kv-engine/questions.mjs#L1-L133 - Page: https://code.globalgrid2050.com/explore-code/s/1181.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that paints machine (`paintMachine`), covering substations. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/. - What it achieves (comment): It paints machine (`paintMachine`) and is built from the fmt step (`fmt`) and the place step (`place`). Iteration 04: the owner's three questions and the machine detail line, added after the page was built. It responds to resize and toggle events. - What it does: It draws substations. Defines 11 functions or classes, including $, fmt, place, text, lineOf. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word '400kv'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, 400kV. - Inputs & outputs: Voltage levels named: 400kV. - Downstream impact: Used directly by 1 file: Iterations — 04 400kV Engine Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/). Reached from 88 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/. - Signatures: `$(id)`; `fmt(n)`; `place()`; `text(url)`; `lineOf(src, re)`; `answer(dl, q, a)`; `bandsPrinted()`; `build()`; `get(t, k)`; `at(k)`; `paintMachine()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Iterations — 04 400kV Engine Style Sheet - File: galaxies-wafers/iterations/04-400kv-engine/style.css (CSS, 97 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/04-400kv-engine/style.css#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/1181.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/ - Synopsis: A style sheet in Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/. - What it achieves (comment): The Line Wafer. Designed at 430 px first; the desktop is the same layout with more room. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word '400kv'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: Voltage levels named: 400kV. - Downstream impact: Used directly by 1 file: Iterations — 04 400kV Engine Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/). Reached from 88 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 05 Periodic Table Page - File: galaxies-wafers/iterations/05-periodic-table/index.html (HTML, 46 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/05-periodic-table/index.html#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/1181.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/ - Synopsis: A web page in Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/. - What it achieves (comment): The Line Wafer — the periodic table of blocks, on the numbered surface. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 7 estate files (script-src 4, stylesheet 2, link 1); used by 0; mentioned by 0 ### Questions - File: galaxies-wafers/iterations/05-periodic-table/questions.mjs (JavaScript, 136 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/05-periodic-table/questions.mjs#L1-L136 - Page: https://code.globalgrid2050.com/explore-code/s/1181.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers using data from the stars repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/. - What it achieves (comment): It reads JSON (`readJSON`) and is built from the fmt step (`fmt`) and the answer step (`answer`). Iteration 05, the Periodic Table on the wafer: the owner's three questions and the machine detail line. It responds to resize and toggle events. - What it does: It draws its content. Defines 14 functions or classes, including $, fmt, answer, fill, readJSON. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: data source: stars data. - Downstream impact: Used directly by 1 file: Iterations — 05 Periodic Table Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/. - Signatures: `$(id)`; `fmt(n)`; `answer(dl, q, parts)`; `readJSON(url)`; `layerTags()`; `s(t.textContent.match(/[A-Z]+/) || ['?'])`; `sldSentence(m, file)`; `text(id)`; `mount(build, machine)`; `fit()`; `paint()`; `cells()`; `fill()`; `by(c)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 05 Periodic Table Style Sheet - File: galaxies-wafers/iterations/05-periodic-table/style.css (CSS, 114 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/05-periodic-table/style.css#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/1181.html#f5 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/ - Synopsis: A style sheet in Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/. - What it achieves (comment): The Line Wafer. Designed at 430 px first; the desktop is the same layout with more room. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 05 Periodic Table Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Table - File: galaxies-wafers/iterations/05-periodic-table/table.mjs (JavaScript, 172 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/05-periodic-table/table.mjs#L1-L172 - Page: https://code.globalgrid2050.com/explore-code/s/1181.html#f6 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that draws blocks and uses data from the stars repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/. - What it achieves (comment): It is built from the layers step (`layers`), the wafer ready helper (`waferReady`) and the layer id helper (`layerId`). The periodic table, as a strip along the bottom of the wafer. It responds to layers and click events. - What it does: It draws blocks. Defines 13 functions or classes, including $, el, layers, waferReady, layerId. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: data source: stars data; JSON file blocks.json. - Downstream impact: Used directly by 1 file: Iterations — 05 Periodic Table Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/. - Signatures: `$(id)`; `el(tag, cls, text)`; `layers()`; `waferReady()`; `layerId(sym)`; `paint(sym)`; `paintAll()`; `hydrate(sym)`; `firstLine(doc)`; `fly(key)`; `choose(sym)`; `queue(symbols, n)`; `worker()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; JSON file blocks.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Iterations — 06 Stars As Engines - File: galaxies-wafers/iterations/06-stars-as-engines/app.mjs (JavaScript, 570 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/06-stars-as-engines/app.mjs#L1-L570 - Page: https://code.globalgrid2050.com/explore-code/s/1182.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/ - Synopsis: A JavaScript module in Galaxies Wafers that draws lines meta and families, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/. - What it achieves (comment): It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). The Line Wafer. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws lines meta and families. Defines 31 functions or classes, including $, snapshot, indexOfKey, bin, tier1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Iterations — 06 Stars As Engines Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/. - Signatures: `$(id)`; `snapshot()`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `render()`; `x(U.pos[i * 2] - view.x)`; `draw()`; `home()`; `flyTo(key, zoom)`; `nearestKeyAt(cx, cy)`; `wx(cx - view.w / 2)`; `wy(view.h / 2 - cy)`; `famsOf(key)`; `paintPanel(key)` (and 7 more) - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of galaxies-wafers/iterations/01-route-alpha/app.mjs) · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Engines - File: galaxies-wafers/iterations/06-stars-as-engines/engines.mjs (JavaScript, 208 lines) · role render · stage output - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/06-stars-as-engines/engines.mjs#L1-L208 - Page: https://code.globalgrid2050.com/explore-code/s/1183.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that loads laws (`loadLaws`), builds facts (`buildFacts`), places under (`placeUnder`) and calculates planar distances. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/. - What it achieves (comment): It loads laws (`loadLaws`), builds facts (`buildFacts`) and places under (`placeUnder`). STARS AS ENGINES. A second substrate beside the wafer, never instead of it. It responds to change events. - What it does: It draws its content. Defines 18 functions or classes, including current, loadLaws, buildFacts, entity, lawOf. Side effects: changes the web page (DOM). - Downstream impact: Used directly by 2 files: Layers Panel (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/); Iterations — 06 Stars As Engines (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/). Reached from 1 other entry point, including Iterations — 06 Stars As Engines Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/). - Signatures: `export current()`; `export placeUnder(key, id)`; `export placeKey(key)`; `export select(id, { tween = true } = {})`; `export attach(U, onFrame)`; `export familiesReady()`; `loadLaws()`; `buildFacts()`; `entity(i)`; `lawOf(id)`; `target(id)`; `ease(u)`; `at(id, s)`; `step(now)`; `writeURL()`; `mountSelector()`; `opt(v, t)`; `wanted()`; `screenOf(key, id)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, estate-url 1); used by 2; mentioned by 0 ### Iterations — 06 Stars As Engines Page - File: galaxies-wafers/iterations/06-stars-as-engines/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/06-stars-as-engines/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1183.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/ - Synopsis: A web page in Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/. - What it achieves (comment): Stars as Engines — the Line Wafer under ten laws. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 6 estate files (script-src 3, stylesheet 2, link 1); used by 0; mentioned by 0 ### Questions - File: galaxies-wafers/iterations/06-stars-as-engines/questions.mjs (JavaScript, 124 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/06-stars-as-engines/questions.mjs#L1-L124 - Page: https://code.globalgrid2050.com/explore-code/s/1183.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that works with layer tags (`layerTags`) and single-line diagram (SLD) sentence (`sldSentence`). Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/. - What it achieves (comment): It reads JSON (`readJSON`) and is built from the fmt step (`fmt`) and the answer step (`answer`). Iteration 06, Stars as Engines: the owner's three questions and the machine detail line. It reads `../../layers/manifest.json`. It responds to resize and toggle events. - What it does: It draws its content. Defines 11 functions or classes, including $, fmt, answer, fill, readJSON. Side effects: changes the web page (DOM); makes network requests. - Downstream impact: Used directly by 1 file: Iterations — 06 Stars As Engines Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/. - Signatures: `$(id)`; `fmt(n)`; `answer(dl, q, parts)`; `fill(ps)`; `readJSON(url)`; `layerTags()`; `s(t.textContent.match(/[A-Z]+/) || ['?'])`; `sldSentence(m, file)`; `text(id)`; `mount(build, machine)`; `fit()`; `paint()` - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of galaxies-wafers/iterations/09-deeplink-receiver/questions.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Iterations — 06 Stars As Engines Style Sheet - File: galaxies-wafers/iterations/06-stars-as-engines/style.css (CSS, 88 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/06-stars-as-engines/style.css#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/1183.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/ - Synopsis: A style sheet in Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/. - What it achieves (comment): The Line Wafer. Designed at 430 px first; the desktop is the same layout with more room. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 06 Stars As Engines Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Code Card - File: galaxies-wafers/iterations/07-code-card/code-card.mjs (JavaScript, 268 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/07-code-card/code-card.mjs#L1-L268 - Page: https://code.globalgrid2050.com/explore-code/s/1184.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that draws families and the Renewable Energy Planning Database (REPD) register. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/. - What it achieves (comment): It closes card (`closeCard`) and opens card (`openCard`). Iteration 07: brightness by association, and the code card. It responds to wafer, click and pointerdown events. - What it does: It draws families and the REPD register. Defines 13 functions or classes, including atlasRadius, $, bin, index, onAtlasAxis. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file families.json. Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 07 Code Card Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/. - Signatures: `atlasRadius(v)`; `$(id)`; `bin(name, Kind)`; `onAtlasAxis(fam)`; `shine(r)`; `draw(v)`; `sx(p.x - v.x)`; `redraw()`; `pick(cx, cy)`; `dx(S.ownerXY[i * 2] - v.x)`; `closeCard()`; `positionCard()`; `span(cls, text)`; `openCard(key)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file families.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Iterations — 07 Code Card Page - File: galaxies-wafers/iterations/07-code-card/index.html (HTML, 45 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/07-code-card/index.html#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1184.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/ - Synopsis: A web page in Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/. - What it achieves (comment): The Line Wafer — every numbered line of the estate, on one surface. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 7 estate files (script-src 4, stylesheet 2, link 1); used by 0; mentioned by 0 ### Questions - File: galaxies-wafers/iterations/07-code-card/questions.mjs (JavaScript, 125 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/07-code-card/questions.mjs#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/1184.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that works with layer tags (`layerTags`) and single-line diagram (SLD) sentence (`sldSentence`) (units: MW). Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/. - What it achieves (comment): It reads JSON (`readJSON`) and is built from the fmt step (`fmt`) and the answer step (`answer`). Iteration 07, the Code Card: the owner's three questions and the machine detail line. It reads `../../layers/manifest.json`. It responds to resize and toggle events. - What it does: It draws its content. Defines 11 functions or classes, including $, fmt, answer, fill, readJSON. Side effects: changes the web page (DOM); makes network requests. - Downstream impact: Used directly by 1 file: Iterations — 07 Code Card Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/. - Signatures: `$(id)`; `fmt(n)`; `answer(dl, q, parts)`; `fill(ps)`; `readJSON(url)`; `layerTags()`; `s(t.textContent.match(/[A-Z]+/) || ['?'])`; `sldSentence(m, file)`; `text(id)`; `mount(build, machine)`; `fit()`; `paint()` - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of galaxies-wafers/iterations/09-deeplink-receiver/questions.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 07 Code Card Style Sheet - File: galaxies-wafers/iterations/07-code-card/style.css (CSS, 84 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/07-code-card/style.css#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/1184.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/ - Synopsis: A style sheet in Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/. - What it achieves (comment): The Line Wafer. Designed at 430 px first; the desktop is the same layout with more room. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 2 files: Iterations — 07 Code Card Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/); Wafer (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/10-ground-bridge/wafer.html). Reached from 1 other entry point, including Iterations — 10 Ground Bridge Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/10-ground-bridge/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/07-code-card/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Iterations — 08 Space and Time - File: galaxies-wafers/iterations/08-space-and-time/app.mjs (JavaScript, 626 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/08-space-and-time/app.mjs#L1-L626 - Page: https://code.globalgrid2050.com/explore-code/s/1185.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/ - Synopsis: A JavaScript module in Galaxies Wafers that draws lines meta and families, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/. - What it achieves (comment): It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). The Line Wafer. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws lines meta and families. Defines 35 functions or classes, including $, snapshot, indexOfKey, bin, tier1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Iterations — 08 Space and Time Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/. - Signatures: `$(id)`; `snapshot()`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `render()`; `x(U.pos[i * 2] - view.x)`; `draw()`; `home()`; `flyTo(key, zoom)`; `nearestKeyAt(cx, cy)`; `wx(cx - view.w / 2)`; `wy(view.h / 2 - cy)`; `famsOf(key)`; `paintPanel(key)` (and 11 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Clock - File: galaxies-wafers/iterations/08-space-and-time/clock.mjs (JavaScript, 74 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/08-space-and-time/clock.mjs#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1185.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that works with born prefix (`bornPrefix`) and date index (`dateIndex`). Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/. - What it achieves (comment): It is built from the born step (`born`), the glow step (`glow`) and the set t helper (`setT`). The third axis of the wafer, drawn in two dimensions. - What it does: It calculates its inputs. Defines 6 functions or classes, including born, glow, setT, onTick, bornPrefix. - Downstream impact: Used directly by 3 files: Layers Panel (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/); Iterations — 08 Space and Time (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/); Questions (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/). Reached from 1 other entry point, including Iterations — 08 Space and Time Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/). - Signatures: `export born(k)`; `export glow(k)`; `export setT(t)`; `export onTick(f)`; `export bornPrefix(keys)`; `export dateIndex(families, famLines)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Iterations — 08 Space and Time Page - File: galaxies-wafers/iterations/08-space-and-time/index.html (HTML, 50 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/08-space-and-time/index.html#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/1186.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/ - Synopsis: A web page in Galaxies Wafers that reads inputs for tslider. Published at https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/. - What it achieves (comment): Space and Time — the Line Wafer with its clock. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 6 estate files (script-src 3, stylesheet 2, link 1); used by 0; mentioned by 0 ### Questions - File: galaxies-wafers/iterations/08-space-and-time/questions.mjs (JavaScript, 118 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/08-space-and-time/questions.mjs#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/1186.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that works with layer tags (`layerTags`) and single-line diagram (SLD) sentence (`sldSentence`). Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/. - What it achieves (comment): It reads JSON (`readJSON`) and is built from the fmt step (`fmt`) and the answer step (`answer`). Iteration 08, Space and Time: the owner's three questions and the machine detail line. It reads `../../layers/manifest.json`. It responds to resize and toggle events. - What it does: It draws its content. Defines 11 functions or classes, including $, fmt, answer, fill, readJSON. Side effects: changes the web page (DOM); makes network requests. - Downstream impact: Used directly by 1 file: Iterations — 08 Space and Time Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/. - Signatures: `$(id)`; `fmt(n)`; `answer(dl, q, parts)`; `fill(ps)`; `readJSON(url)`; `layerTags()`; `s(t.textContent.match(/[A-Z]+/) || ['?'])`; `sldSentence(m, file)`; `text(id)`; `mount(build, machine)`; `fit()`; `paint()` - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of galaxies-wafers/iterations/09-deeplink-receiver/questions.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Iterations — 08 Space and Time Style Sheet - File: galaxies-wafers/iterations/08-space-and-time/style.css (CSS, 94 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/08-space-and-time/style.css#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/1186.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/ - Synopsis: A style sheet in Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/. - What it achieves (comment): The Line Wafer. Designed at 430 px first; the desktop is the same layout with more room. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 08 Space and Time Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/08-space-and-time/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 09 Deeplink Receiver - File: galaxies-wafers/iterations/09-deeplink-receiver/app.mjs (JavaScript, 700 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/09-deeplink-receiver/app.mjs#L1-L700 - Page: https://code.globalgrid2050.com/explore-code/s/1186.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/ - Synopsis: A JavaScript module in Galaxies Wafers that draws lines meta and families, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/. - What it achieves (comment): It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). The Line Wafer. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws lines meta and families. Defines 39 functions or classes, including $, snapshot, motion, indexOfKey, bin. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Iterations — 09 Deeplink Receiver Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/). Reached from 1 other entry point, including Iterations — 45 Deeplink Round Trip Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/. - Signatures: `$(id)`; `snapshot()`; `motion()`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `lowerBound(a, v)`; `visibleRange(halfWpx, halfHpx, cx, cy)`; `drawPoints(w, h, cx, cy)`; `ensureCache()`; `cacheRect()`; `rasterCache()`; `blitCache()`; `render()`; `x(U.pos[i * 2] - view.x)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Iterations — 09 Deeplink Receiver Page - File: galaxies-wafers/iterations/09-deeplink-receiver/index.html (HTML, 66 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/09-deeplink-receiver/index.html#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/1187.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/ - Synopsis: A web page in Galaxies Wafers that reads inputs for emit line, emit to and emit layers. Published at https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/. - What it achieves (comment): The Line Wafer — iteration 09, the deep-link receiver. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 1 file: Iterations — 45 Deeplink Round Trip Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 7 estate files (script-src 4, stylesheet 2, link 1); used by 1; mentioned by 0 ### Questions - File: galaxies-wafers/iterations/09-deeplink-receiver/questions.css (CSS, 15 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/09-deeplink-receiver/questions.css#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/1187.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/. - What it achieves (comment): The Questions panel, collapsed by default. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 09 Deeplink Receiver Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/). Reached from 1 other entry point, including Iterations — 45 Deeplink Round Trip Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Questions - File: galaxies-wafers/iterations/09-deeplink-receiver/questions.mjs (JavaScript, 127 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/09-deeplink-receiver/questions.mjs#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/1187.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that works with layer tags (`layerTags`) and single-line diagram (SLD) sentence (`sldSentence`). Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/. - What it achieves (comment): It reads JSON (`readJSON`) and is built from the fmt step (`fmt`) and the answer step (`answer`). Iteration 09, the Deep-Link Receiver: the owner's three questions and the machine detail line. It reads `../../layers/manifest.json`. It responds to resize and toggle events. - What it does: It draws its content. Defines 11 functions or classes, including $, fmt, answer, fill, readJSON. Side effects: changes the web page (DOM); makes network requests. - Downstream impact: Used directly by 1 file: Iterations — 09 Deeplink Receiver Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/). Reached from 1 other entry point, including Iterations — 45 Deeplink Round Trip Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/. - Signatures: `$(id)`; `fmt(n)`; `answer(dl, q, parts)`; `fill(ps)`; `readJSON(url)`; `layerTags()`; `s(t.textContent.match(/[A-Z]+/) || ['?'])`; `sldSentence(m, file)`; `text(id)`; `mount(build, machine)`; `fit()`; `paint()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Receiver - File: galaxies-wafers/iterations/09-deeplink-receiver/receiver.mjs (JavaScript, 131 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/09-deeplink-receiver/receiver.mjs#L1-L131 - Page: https://code.globalgrid2050.com/explore-code/s/1187.html#f5 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that draws receivers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/. It paints card (`paintCard`), emits panel (`emitPanel`) and checks receivers (`checkReceivers`). - What it achieves (comment): Iteration 09: the page reads its own URL through the engine. It responds to click, input and change events. - What it does: It draws receivers. Defines 10 functions or classes, including $, node, paintCard, kv, reportLayers. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: JSON file receivers.json. - Downstream impact: Used directly by 4 files: Layers Panel (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/); Iterations — 09 Deeplink Receiver (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/); Iterations — 09 Deeplink Receiver Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/); Questions (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/). Reached from 1 other entry point, including Iterations — 45 Deeplink Round Trip Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/. - Signatures: `export reportLayers(r)`; `$(id)`; `node(tag, text, cls)`; `paintCard()`; `kv(k, v, cls)`; `emitPanel(manifest)`; `intOrUndef(s)`; `show(id, fn)`; `update()`; `checkReceivers()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file receivers.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Iterations — 09 Deeplink Receiver Style Sheet - File: galaxies-wafers/iterations/09-deeplink-receiver/style.css (CSS, 111 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/09-deeplink-receiver/style.css#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/1188.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/ - Synopsis: A style sheet in Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/. - What it achieves (comment): The Line Wafer. Designed at 430 px first; the desktop is the same layout with more room. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 09 Deeplink Receiver Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/). Reached from 1 other entry point, including Iterations — 45 Deeplink Round Trip Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 10 Ground Bridge Page - File: galaxies-wafers/iterations/10-ground-bridge/index.html (HTML, 179 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/10-ground-bridge/index.html#L1-L179 - Page: https://code.globalgrid2050.com/explore-code/s/1188.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/10-ground-bridge/ - Synopsis: A map page in Galaxies Wafers that maps grid 132kV, grid substations, pack and names, and uses data from the GridAtlas repository. Published at https://ventusltd.github.io/galaxies-wafers/iterations/10-ground-bridge/. - What it achieves (comment): It is built from the fmt step (`fmt`), the wafer win helper (`waferWin`) and the layers step (`layers`). The Ground Bridge — the wafer and the ground, one tap apart. Its code works with 132 kV. It responds to load events. - What it does: It maps grid 132kV, grid substations, pack and names. Defines 15 functions or classes, including $, fmt, waferWin, layers, counts. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 132kV. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: data source: gridatlas data; GeoJSON file grid_132kv.geojson; GeoJSON file grid_substations.geojson; JSON file style.json; JSON file pack.json; JSON file names.json. Out: web page; interactive map. Voltage levels named: 132kV. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/10-ground-bridge/. - Signatures: `$(id)`; `fmt(n)`; `waferWin()`; `layers()`; `counts()`; `json(u)`; `bin(name, Kind)`; `say(parts)`; `symOf(id)`; `lightFor(kind, what)`; `onSubstation(e)`; `onProject(e)`; `km(a, b)`; `dLat(b[1] - a[1])`; `onRoute(layerId)`; `label(L && L.label(layerId))`; `wait()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; GeoJSON file grid_132kv.geojson; GeoJSON file grid_substations.geojson; JSON file style.json; JSON file pack.json; JSON file names.json]; out [web page; interactive map]; crs []; voltages [132kV] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Wafer - File: galaxies-wafers/iterations/10-ground-bridge/wafer.html (HTML, 41 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/10-ground-bridge/wafer.html#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1188.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/10-ground-bridge/wafer.html - Synopsis: A web page in the iterations folder of Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/iterations/10-ground-bridge/wafer.html. - What it achieves (comment): The Line Wafer — every numbered line of the estate, on one surface. - What it does: It draws its content. Side effects: changes the web page (DOM). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 1 file: Iterations — 10 Ground Bridge Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/10-ground-bridge/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/10-ground-bridge/wafer.html. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 2, stylesheet 1, link 1); used by 1; mentioned by 0 ### Iterations — 11 the Bond - File: galaxies-wafers/iterations/11-the-bond/app.mjs (JavaScript, 84 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/11-the-bond/app.mjs#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/1188.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/ - Synopsis: A JavaScript module in Galaxies Wafers that draws on a canvas. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/. - What it achieves (readme): It is built from the number step (`number`), the make step (`make`) and the string step (`string`). The README says: Required browser files: `index.html`, `style.css`, `app.mjs`, `model.mjs`, `report.json`, and unchanged `wafer.mjs`. It reads `./report.json`. It responds to click, input and change events. - What it does: It draws its content. Defines 10 functions or classes, including $, number, make, string, field. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "Required browser files: `index.html`, `style.css`, `app.mjs`, `model.mjs`, `report.json`, and unchanged `wafer.mjs`." - Inputs & outputs: In: JSON file report.json. Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 11 the Bond Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/. - Signatures: `$(id)`; `number(n)`; `make(tag, text, className)`; `string(value)`; `field(parent, title, value)`; `inspect(row)`; `filter()`; `draw()`; `plot(key, radius)`; `start()`; `applySelection()` - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of testcode/sandbox/202609151802-galaxy-bond/app.mjs) · essay_status: readme_derived - data_contracts: in [JSON file report.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Bond Validator - File: galaxies-wafers/iterations/11-the-bond/bond_validator.py (Python, 523 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/11-the-bond/bond_validator.py#L1-L523 - Page: https://code.globalgrid2050.com/explore-code/s/1189.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/ - Synopsis: A Python command-line tool in the iterations folder of Galaxies Wafers that reads u32 (`read_u32`), using SHA-256. - What it achieves (comment): It reads JSON (`read_json`) and is built from the integrity checks helper (`integrity_checks`) and the audit step (`audit`). The Bond validator v2: deterministic checks with explicit evidence limits. It accepts `--manifest`, `--layers-map` and `--issued-keys`. - What it does: It loads data. Defines 20 functions or classes, including _int, _deviation, _predicate, _one, _neq. Uses libraries __future__, argparse, collections, collections.abc, hashlib. Side effects: reads or writes files. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 5 files: Build Report (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/); Test Adversarial V2 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/); Test Bond Validator (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/); Test V2 Contract (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/); and 1 more. Reached from 1 other entry point, including Test Verify Bundle (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/. - Signatures: `_int(value)`; `_deviation(field, expected, actual, feature_index=None)`; `_predicate(name, text, checks, total=None)`; `_one(name, text, ok, field, expected, actual)`; `_neq(row, field, text, reason)`; `_lookup(mapping, entry)`; `_family_index(families, family_lines)`; `_geometry_keys(g)`; `_block_index(register)`; `_independent_index(independent_lines)`; `integrity_checks(entry, doc, raw=None, *, duplicate_id=False)`; `_disclosures(row, doc, features)`; `_structural(row, doc, features, issued)`; `_anchors_and_routes(row, features, family_index)`; `_copying(row, features, independent_lines, family_index, owner_index)`; `_module(row, doc, features, match, blocks, family_index)`; `audit(manifest, layers, issued_keys, families=None, family_lines=None, *, raw_bytes=None, independent_lines=None, block_reg...)`; `read_u32(path)`; `main(argv=None)`; `read_json(path)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Build Report - File: galaxies-wafers/iterations/11-the-bond/build_report.py (Python, 100 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/11-the-bond/build_report.py#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/1189.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/ - Synopsis: A Python command-line tool in the iterations folder of Galaxies Wafers that reads source (`read_source`) and input (`read_input`), covering Codex sources and families, using SHA-256. - What it achieves (comment): It is built from the sha256 step (`sha256`), the git blob helper (`git_blob`) and the build step (`build`). Build a bounded source-evidence report from immutable public inputs. It reads `build/codex-sources.json`. It accepts `--galaxy-repo`, `--commit` and `--input-dir`. - What it does: Defines 6 functions or classes, including sha256, git_blob, build, read_source, read_input. Uses libraries argparse, hashlib, json, pathlib, re. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file codex-sources.json; JSON file families.json; command-line arguments. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/. - Signatures: `sha256(data)`; `git_blob(data)`; `build(repo, commit, cache, generated_utc)`; `read_source(path)`; `read_input(name)`; `column(name)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file codex-sources.json; JSON file families.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Iterations — 11 the Bond Page - File: galaxies-wafers/iterations/11-the-bond/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/11-the-bond/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1189.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/ - Synopsis: A web page in Galaxies Wafers that reads inputs for status. Published at https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/. - What it achieves (comment): The Bond — inspect the evidence behind a layer. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "Required browser files: `index.html`, `style.css`, `app.mjs`, `model.mjs`, `report.json`, and unchanged `wafer.mjs`." - Inputs & outputs: In: JSON file report.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file report.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Model - File: galaxies-wafers/iterations/11-the-bond/model.mjs (JavaScript, 42 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/11-the-bond/model.mjs#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1189.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that validates report (`validateReport`) and filters rows (`filterRows`). Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/. - What it achieves (comment): It validates report (`validateReport`) and filters rows (`filterRows`). Pure report logic shared by the page and its offline tests. - What it does: It calculates its inputs. Defines 6 functions or classes, including count, validateReport, filterRows, summarise, selectionFromHash. - Why it exists in the grid workflow: README: "Counters are recomputed from report rows and predicates in the same pure `model.mjs` used by the page's tests." - Downstream impact: Used directly by 2 files: Iterations — 11 the Bond (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/); Model Test (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/). Reached from 1 other entry point, including Iterations — 11 the Bond Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/). - Signatures: `export validateReport(report)`; `export filterRows(rows, query = '', status = '')`; `export summarise(rows)`; `export selectionFromHash(hash, rows)`; `export layerHash(id)`; `count(n)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Model Test - File: galaxies-wafers/iterations/11-the-bond/model.test.mjs (JavaScript, 17 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/11-the-bond/model.test.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/1190.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/ - Synopsis: A test in the iterations folder of Galaxies Wafers that checks Model. - What it achieves (name): Defines `row` and `report`. - What it does: It tests its inputs. Defines row, report. Uses libraries node:test, node:assert/strict. - Signatures: `row()`; `report()` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Adversarial V2 - File: galaxies-wafers/iterations/11-the-bond/test_adversarial_v2.py (Python, 131 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/11-the-bond/test_adversarial_v2.py#L1-L131 - Page: https://code.globalgrid2050.com/explore-code/s/1190.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/ - Synopsis: A test in the iterations folder of Galaxies Wafers that checks Bond Validator, using SHA-256. - What it achieves (comment): It copies doc (`copy_doc`) and is built from the point step (`point`) and the route step (`route`). Ordinary v2 regressions converted from all twelve demonstrated v1 gaps. - What it does: It tests its inputs. Defines 27 functions or classes, including point, route, module_doc, copy_doc, register. Uses libraries copy, hashlib, unittest, json. - Downstream impact: Used directly by 1 file: Test V2 Contract (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/. - Signatures: `point(family=9, key=101)`; `route(keys=None, marked=True)`; `module_doc(features, named=1, lines=3)`; `copy_doc()`; `register(inside=None)`; `audit(doc, *, families=None, blocks=None, independent=None)`; `row(report)`; `class FormerV1Gaps`; `test_module_empty_rendering_does_not_honour_three_line_claim(self)`; `test_module_point_only_does_not_honour_missing_route(self)`; `test_module_duplicate_logical_features_are_not_honoured(self)`; `test_module_route_cannot_escape_validation_by_omitting_marker(self)`; `test_duplicate_block_symbols_cannot_be_silently_last_wins(self)`; `test_duplicate_independent_family_membership_not_counted_twice(self)`; `test_negative_copying_owner_ids_are_invalid(self)`; `test_known_forty_one_owners_defeat_claimed_two_owner_subset(self)`; `test_supplied_owner_family_arrays_must_contain_the_line(self)`; `test_incomplete_owner_membership_does_not_prove_upper_bound(self)`; `test_null_independent_line_record_returns_report_not_exception(self)`; `test_null_block_array_returns_report_not_exception(self)`; `class Controls`; `test_valid_full_module_with_exact_register_and_route(self)`; `test_explicit_wrong_route_marker_is_already_caught(self)`; `test_no_independent_copying_input_is_already_withheld(self)`; `test_genuine_two_owner_independent_input_passes(self)` (and 2 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Test Bond Validator - File: galaxies-wafers/iterations/11-the-bond/test_bond_validator.py (Python, 198 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/11-the-bond/test_bond_validator.py#L1-L198 - Page: https://code.globalgrid2050.com/explore-code/s/1190.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/ - Synopsis: A test in the iterations folder of Galaxies Wafers that checks Bond Validator, using SHA-256. - What it achieves (name): It is built from the predicate step (`predicate`), the bond tests class (`BondTests`) and the corrupt step (`corrupt`). Defines `feature`, `fixture`, `run` and 28 more. - What it does: It tests its inputs. Defines 31 functions or classes, including feature, fixture, run, predicate, BondTests. Uses libraries copy, hashlib, json, pathlib, unittest. Side effects: reads or writes files. - Inputs & outputs: In: JSON file example.json. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/. - Signatures: `feature(key=101, family=9)`; `fixture(features=None, evidence=BLOCKS, note="")`; `run(doc, *, manifest_edit=None, families=None, keys=None, independent_lines=None, block_register=None)`; `predicate(report, name)`; `class BondTests`; `test_known_valid_point(self)`; `test_unissued_key(self)`; `test_family_number_is_not_key(self)`; `test_family_number_can_be_issued_but_wrong_anchor(self)`; `test_first_line_mismatch(self)`; `test_anchor_family(self)`; `test_coordinates_forbidden_even_with_valid_key(self)`; `test_stale_manifest_count_hash_bytes(self)`; `corrupt(m)`; `test_duplicate_manifest_ids(self)`; `duplicate(m)`; `test_duplicate_feature_ids(self)`; `test_honest_empty_disclosed(self)`; `test_disclosure_does_not_waive_bad_key(self)`; `test_unresolved_disclosure_exact_field(self)`; `test_issued_keys_reject_non_uint32_values(self)`; `test_cli_refuses_existing_output_before_reading_inputs(self)`; `test_unsupported_prose_is_verbatim_and_not_honoured(self)`; `test_copying_does_not_trust_same_feature_fields(self)`; `test_copying_independent_both_predicates(self)` (and 6 more) - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of testcode/sandbox/202609151802-galaxy-bond/test_bond_validator.py) · essay_status: readme_derived - data_contracts: in [JSON file example.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test V2 Contract - File: galaxies-wafers/iterations/11-the-bond/test_v2_contract.py (Python, 89 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/11-the-bond/test_v2_contract.py#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/1190.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/ - Synopsis: A test in the iterations folder of Galaxies Wafers that checks Bond Validator and Test Adversarial V2. It is built from the v2 contract tests class (`V2ContractTests`). - What it achieves (name): Defines `pred`, `V2ContractTests`, `test_report_schema_is_compatible_and_validator_version_separate` and 10 more. - What it does: It tests its inputs. Defines 13 functions or classes, including pred, V2ContractTests, test_report_schema_is_compatible_and_validator_version_separate, test_complete_owner_index_with_canonical_string_key_passes, test_complete_flag_with_missing_owner_array_stays_unevaluated. Uses libraries json, unittest. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/. - Signatures: `pred(result, ident)`; `class V2ContractTests`; `test_report_schema_is_compatible_and_validator_version_separate(self)`; `test_complete_owner_index_with_canonical_string_key_passes(self)`; `test_complete_flag_with_missing_owner_array_stays_unevaluated(self)`; `test_declared_complete_list_cannot_omit_an_observed_owner(self)`; `test_repeated_key_in_one_family_counts_as_one_owner(self)`; `test_over_forty_observed_owners_fails_without_an_owner_map(self)`; `test_two_observed_owners_without_completeness_do_not_prove_bound(self)`; `test_module_has_explicit_missing_coverage_even_when_exact(self)`; `test_family_array_unissued_keys_are_input_failure(self)`; `test_malformed_optional_tables_never_throw(self)`; `test_malformed_raw_bytes_and_family_line_sequence_return_issues(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Test Verify Bundle - File: galaxies-wafers/iterations/11-the-bond/test_verify_bundle.py (Python, 204 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/11-the-bond/test_verify_bundle.py#L1-L204 - Page: https://code.globalgrid2050.com/explore-code/s/1190.html#f5 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/ - Synopsis: A test in the iterations folder of Galaxies Wafers that checks Verify Bundle, using SHA-256. It sets up (`setUp`) and saves report (`save_report`). - What it achieves (name): Defines `report_fixture`, `successes`, `ReportChecks` and 31 more. It writes `report.json`. - What it does: It tests its inputs. Defines 34 functions or classes, including report_fixture, successes, ReportChecks, test_partial_and_not_evaluated_rows_are_valid_reports, test_honest_contradiction_is_valid_report. Uses libraries copy, hashlib, json, pathlib, subprocess. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file report.json; JSON file receipt.json; JSON file existing.json. Out: JSON file report.json. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/. - Signatures: `report_fixture(status="PARTIALLY EVALUATED")`; `successes(checks)`; `class ReportChecks`; `test_partial_and_not_evaluated_rows_are_valid_reports(self)`; `test_honest_contradiction_is_valid_report(self)`; `test_short_commit_fails(self)`; `test_source_input_must_be_evaluated_and_passed(self)`; `test_passed_input_with_incomplete_denominator_fails(self)`; `test_optional_source_issues_fail(self)`; `test_advertised_aggregate_count_mismatch_fails(self)`; `test_status_count_type_and_value_mismatch_fail(self)`; `test_row_count_mismatch_fails(self)`; `test_contradiction_cannot_be_hidden_as_honoured(self)`; `test_duplicate_layer_ids_fail(self)`; `class BundleChecks`; `setUp(self)`; `tearDown(self)`; `save_report(self)`; `runner(self, argv, cwd, timeout)`; `verify(self, **kwargs)`; `test_good_bundle_passes_with_relative_hashes_only(self)`; `test_canonical_pin_normalizes_crlf_only(self)`; `test_report_digest_uses_exact_bytes(self)`; `test_optional_contradiction_gate(self)`; `test_node_runtime_disagreement_fails(self)` (and 6 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file report.json; JSON file receipt.json; JSON file existing.json]; out [JSON file report.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Verify Bundle - File: galaxies-wafers/iterations/11-the-bond/verify_bundle.py (Python, 258 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/11-the-bond/verify_bundle.py#L1-L258 - Page: https://code.globalgrid2050.com/explore-code/s/1191.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/ - Synopsis: A Python command-line tool in the iterations folder of Galaxies Wafers that runs process (`run_process`), using SHA-256. - What it achieves (comment): It verifies bundle (`verify_bundle`) and is built from the digest step (`digest`) and the inspect report helper (`inspect_report`). Portable offline verification of one explicitly selected public Bond bundle. It reads `report.json`. It accepts `--version-dir`, `--output` and `--timeout-seconds`. - What it does: It loads data. Defines 11 functions or classes, including digest, _integer, _hex, _check, run_process. Uses libraries __future__, argparse, collections, hashlib, json. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file report.json; command-line arguments. - Downstream impact: Used directly by 1 file: Test Verify Bundle (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/. - Signatures: `digest(data)`; `_integer(n)`; `_hex(value, size)`; `_check(ident, ok, **facts)`; `run_process(argv, cwd, timeout)`; `_public_process(result)`; `_predicate_valid(p)`; `inspect_report(report)`; `_inventory(root, excluded)`; `verify_bundle(version_dir, *, timeout_seconds=60, fail_on_contradiction=False, excluded_paths=(), runner=run_process)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file report.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Wafer - File: galaxies-wafers/iterations/11-the-bond/wafer.mjs (JavaScript, 78 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/11-the-bond/wafer.mjs#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/1191.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/. - What it achieves (comment): It is built from the place step (`place`), the place all helper (`placeAll`) and the extent step (`extent`). This file is the ground the galaxy is drawn on, and it is the one file here that must not change. - What it does: It calculates its inputs. Defines place, placeAll, extent, phase. - Why it exists in the grid workflow: README: "Required browser files: `index.html`, `style.css`, `app.mjs`, `model.mjs`, `report.json`, and unchanged `wafer.mjs`." - Downstream impact: Used directly by 5 files: Iterations — 11 the Bond (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/); Model (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/); Model Test (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/); Iterations — 41 Golden Angle (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/); and 1 more. Reached from 5 other entry points, including Iterations — 11 the Bond Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/); Iterations — 12 Visibility Lab (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/); Iterations — 12 Visibility Lab Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/). - Signatures: `export place(key)`; `export placeAll(keys)`; `export extent(max)`; `export phase(key)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 1 ### Iterations — 12 Visibility Lab - File: galaxies-wafers/iterations/12-visibility-lab/app.mjs (JavaScript, 113 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/12-visibility-lab/app.mjs#L1-L113 - Page: https://code.globalgrid2050.com/explore-code/s/1191.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/ - Synopsis: A JavaScript module in Galaxies Wafers that draws visibility style and catalog, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/. - What it achieves (readme): It reads checked (`readChecked`), builds table (`buildTable`) and registers page tools (`registerPageTools`). The README says: The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/. It reads `catalog.json`. It responds to pagehide, click and change events. - What it does: It draws visibility style and catalog. Defines 14 functions or classes, including $, options, error, clearError, readChecked. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file catalog.json. Out: JSON file visibility-style.json; downloaded file visibility-style.json; canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 12 Visibility Lab Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/. - Signatures: `$(id)`; `options()`; `error(message)`; `clearError()`; `readChecked(path,expected,bytes,signal)`; `styles()`; `styleReadings()`; `draw()`; `choose(id,load=true)`; `buildTable()`; `registerPageTools()`; `snapshot()`; `register(tool)`; `init()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file catalog.json]; out [JSON file visibility-style.json; downloaded file visibility-style.json; canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Browser Check - File: galaxies-wafers/iterations/12-visibility-lab/browser-check.mjs (JavaScript, 52 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/12-visibility-lab/browser-check.mjs#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1191.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that fetches visibility style and catalog. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/. - What it achieves (readme): The README says: `browser-check.mjs` exercises this exact page at390x844 and1400x900 in Chromium and WebKit. - What it does: It fetches visibility style and catalog. Uses libraries node:fs/promises, node:url, node:path, node:child_process, node:assert/strict. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: README: "`browser-check.mjs` exercises this exact page at390x844 and1400x900 in Chromium and WebKit." - Inputs & outputs: In: JSON file catalog.json. Out: JSON file visibility-style.json; JSON file receipt.json. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file catalog.json]; out [JSON file visibility-style.json; JSON file receipt.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Export Style - File: galaxies-wafers/iterations/12-visibility-lab/export-style.mjs (JavaScript, 13 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/12-visibility-lab/export-style.mjs#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/1191.html#f5 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that reads catalog and visibility style, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/. - What it achieves (name): Its name says it exports style. It reads `./catalog.json` and writes `./visibility-style.json`. - What it does: It loads catalog and visibility style. Uses libraries node:fs/promises, node:crypto. Side effects: reads or writes files. - Inputs & outputs: In: JSON file catalog.json; command-line arguments. Out: JSON file visibility-style.json. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file catalog.json; command-line arguments]; out [JSON file visibility-style.json]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Iterations — 12 Visibility Lab Page - File: galaxies-wafers/iterations/12-visibility-lab/index.html (HTML, 31 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/12-visibility-lab/index.html#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/1191.html#f6 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/ - Synopsis: A web page in Galaxies Wafers that draws visibility style and catalog. Published at https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/. - What it achieves (comment): Compare pinned code-layer geometry, stroke sizes and contrast on a dark substrate. - What it does: It draws visibility style and catalog. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file visibility-style.json; JSON file catalog.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file visibility-style.json; JSON file catalog.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Model - File: galaxies-wafers/iterations/12-visibility-lab/model.mjs (JavaScript, 32 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/12-visibility-lab/model.mjs#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/1191.html#f7 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that validates catalog (`validateCatalog`) and prepares geometry (`prepareGeometry`), using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/. - What it achieves (name): It validates catalog (`validateCatalog`) and prepares geometry (`prepareGeometry`). Defines `validateCatalog`, `prepareGeometry` and `cameraFor`. - What it does: It calculates its inputs. Defines validateCatalog, prepareGeometry, cameraFor. - Downstream impact: Used directly by 3 files: Iterations — 12 Visibility Lab (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/); Export Style (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/); Model Test (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/). Reached from 1 other entry point, including Iterations — 12 Visibility Lab Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/). - Signatures: `export validateCatalog(c)`; `export prepareGeometry(doc,layer,maxKey)`; `export cameraFor(mode,geometry,width,height,maxKey)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 1 ### Model Test - File: galaxies-wafers/iterations/12-visibility-lab/model.test.mjs (JavaScript, 19 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/12-visibility-lab/model.test.mjs#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/1191.html#f8 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/ - Synopsis: A test in the iterations folder of Galaxies Wafers that checks Model and Visibility Style, using SHA-256. It is built from the sha step (`sha`). - What it achieves (readme): The README says: `model.test.mjs` checks the pure model and all geometry identities/hashes. It reads `./catalog.json`. - What it does: It tests its inputs. Defines sha. Uses libraries node:test, node:assert/strict, node:fs/promises, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: README: "`model.test.mjs` checks the pure model and all geometry identities/hashes" - Inputs & outputs: In: JSON file catalog.json. - Signatures: `sha(b)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file catalog.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 2, url-import-meta 1); used by 0; mentioned by 0 ### Visibility Style - File: galaxies-wafers/iterations/12-visibility-lab/visibility-style.mjs (JavaScript, 108 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/12-visibility-lab/visibility-style.mjs#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1192.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that works with linear channel (`linearChannel`) and source contexts (`sourceContexts`). Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/. - What it achieves (comment): It measures style (`measureStyle`) and exports visibility (`exportVisibility`). Pure `sRGB` visibility model. No DOM, geometry keys, network or source changes. - What it does: It calculates its inputs. Defines 16 functions or classes, including finite, unit, rgb, hex, composite. - Why it exists in the grid workflow: README: "The exported `bond.visibility-style.v1` JSON preserves layer IDs and colours and records all named comparison contexts." - Downstream impact: Used directly by 3 files: Iterations — 12 Visibility Lab (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/); Export Style (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/); Model Test (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/). Reached from 1 other entry point, including Iterations — 12 Visibility Lab Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/12-visibility-lab/). - Signatures: `export rgb(value)`; `export hex(value)`; `export composite(foreground, alpha, background)`; `export linearChannel(value)`; `export luminance(value)`; `export contrast(a, b)`; `export brightness(value, factor = 1)`; `export sourceContexts({ ground = [0.043, 0.051, 0.071] } = {})`; `export chooseCasing(contexts, { alpha = 1, threshold = GRAPHICS_COMPARATOR } = {})`; `export currentStyle(layer)`; `export proposedStyle(layer, options = {})`; `export measureStyle(style, contexts)`; `export exportVisibility(manifest, options = {})`; `finite(value, label)`; `unit(value, label)`; `contextsChecked(contexts)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 1 ### Iterations — 13 Diversified Demand - File: galaxies-wafers/iterations/13-diversified-demand/app.mjs (JavaScript, 61 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/13-diversified-demand/app.mjs#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1192.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/13-diversified-demand/ - Synopsis: A JavaScript module in Galaxies Wafers covering group demand, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/13-diversified-demand/. - What it achieves (readme): It is built from the fmt step (`fmt`), the refresh step (`refresh`) and the register step (`register`). The README says: The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/. It responds to submit, input and change events. - What it does: It draws group demand. Defines $, fmt, refresh, register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: Out: JSON file group-demand.json; downloaded file group-demand.json. - Downstream impact: Used directly by 1 file: Iterations — 13 Diversified Demand Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/13-diversified-demand/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/13-diversified-demand/. - Signatures: `$(id)`; `fmt(n)`; `refresh()`; `register(tool)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out [JSON file group-demand.json; downloaded file group-demand.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Browser Check - File: galaxies-wafers/iterations/13-diversified-demand/browser-check.mjs (JavaScript, 58 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/13-diversified-demand/browser-check.mjs#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/1192.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/13-diversified-demand/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that uses SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/13-diversified-demand/. - What it achieves (name): Defines `hash`. Its code works with 700 kW. - What it does: It draws its content. Defines hash. Uses libraries node:child_process, node:fs/promises, node:path, node:crypto, node:assert/strict. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Inputs & outputs: Out: JSON file receipt.json. - Signatures: `hash(bytes)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Iterations — 13 Diversified Demand Page - File: galaxies-wafers/iterations/13-diversified-demand/index.html (HTML, 26 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/13-diversified-demand/index.html#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/1192.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/13-diversified-demand/ - Synopsis: A web page in Galaxies Wafers that reads inputs for mode, unit count and per unit kW (units: kW). Published at https://ventusltd.github.io/galaxies-wafers/iterations/13-diversified-demand/. - What it achieves (comment): Explore aggregate group demand with an explicit coincidence factor and a pinned calculation module. Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/13-diversified-demand/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Model - File: galaxies-wafers/iterations/13-diversified-demand/model.mjs (JavaScript, 21 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/13-diversified-demand/model.mjs#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1192.html#f5 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/13-diversified-demand/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that uses SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/13-diversified-demand/. It is built from the number input helper (`numberInput`). - What it achieves (name): Defines `numberInput` and `calculate`. Its code works with 1000 kW. - What it does: It calculates its inputs. Defines numberInput, calculate. - Downstream impact: Used directly by 3 files: Iterations — 13 Diversified Demand (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/13-diversified-demand/); Browser Check (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/13-diversified-demand/); Model Test (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/13-diversified-demand/). Reached from 1 other entry point, including Iterations — 13 Diversified Demand Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/13-diversified-demand/). - Signatures: `export numberInput(text)`; `export calculate(engine, mode, inputs)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 1 ### Model Test - File: galaxies-wafers/iterations/13-diversified-demand/model.test.mjs (JavaScript, 21 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/13-diversified-demand/model.test.mjs#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1192.html#f6 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/13-diversified-demand/ - Synopsis: A test in the iterations folder of Galaxies Wafers that checks Model, using SHA-256. - What it achieves (comment): The engine remains external. Only the reviewed, hash-matching source may execute. - What it does: It tests its inputs. Uses libraries node:test, node:assert/strict, node:crypto, node:fs/promises. Side effects: reads or writes files; makes network requests. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Iterations — 14 Electrical Hops - File: galaxies-wafers/iterations/14-electrical-hops/app.mjs (JavaScript, 60 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/14-electrical-hops/app.mjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/1192.html#f7 - Synopsis: A JavaScript module in Galaxies Wafers that draws topology query and transformers, using SHA-256. - What it achieves (readme): It is built from the SVG step (`svg`), the text step (`text`) and the draw step (`draw`). The README says: The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/. Its code works with 9999 MVA. It responds to submit, input and change events. - What it does: It draws topology query and transformers. Defines 7 functions or classes, including $, svg, text, draw, clear. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: transformers. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: Out: JSON file topology-query.json; downloaded file topology-query.json. - Signatures: `$(id)`; `svg(tag,attrs,parent=$('network'))`; `text(x,y,value,cls)`; `draw()`; `clear()`; `refresh()`; `register(tool)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file topology-query.json; downloaded file topology-query.json]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Browser Check - File: galaxies-wafers/iterations/14-electrical-hops/browser-check.mjs (JavaScript, 33 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/14-electrical-hops/browser-check.mjs#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1192.html#f8 - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that uses SHA-256. - What it achieves (name): Its code works with 33 kV and 9999 MVA. - What it does: It draws its content. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV. - Inputs & outputs: Out: JSON file receipt.json. Voltage levels named: 33kV. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file receipt.json]; crs []; voltages [33kV] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Fixture - File: galaxies-wafers/iterations/14-electrical-hops/fixture.mjs (JavaScript, 10 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/14-electrical-hops/fixture.mjs#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/1192.html#f9 - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers covering overhead lines (OHL). - What it achieves (comment): Data-only transcription of PRODUCT in the pinned electrical-distance proof. - Why it exists in the grid workflow: Domain terms in the code: overhead lines (OHL). - Downstream impact: Used directly by 1 file: Iterations — 14 Electrical Hops (galaxies-wafers). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Model - File: galaxies-wafers/iterations/14-electrical-hops/model.mjs (JavaScript, 13 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/14-electrical-hops/model.mjs#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/1192.html#f10 - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that uses SHA-256. It is built from the edge key helper (`edgeKey`). - What it achieves (name): Defines `query` and `edgeKey`. - What it does: It calculates its inputs. Defines query, edgeKey. - Downstream impact: Used directly by 2 files: Iterations — 14 Electrical Hops (galaxies-wafers); Browser Check (galaxies-wafers). - Signatures: `export query(engine,index,{from,to,budget,voltage})`; `export edgeKey(a,b)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Model Test - File: galaxies-wafers/iterations/14-electrical-hops/model.test.mjs (JavaScript, 17 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/14-electrical-hops/model.test.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/1192.html#f11 - Synopsis: A test in the iterations folder of Galaxies Wafers that uses SHA-256. - What it achieves (name): Its code works with 132 kV and 33 kV. - What it does: It tests its inputs. Uses libraries node:test. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain terms in the code: 132kV, 33kV. - Inputs & outputs: Voltage levels named: 132kV, 33kV. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [132kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Browser Check - File: galaxies-wafers/iterations/16-firm-capacity/browser-check.mjs (JavaScript, 25 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/16-firm-capacity/browser-check.mjs#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1192.html#f12 - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that uses SHA-256. - What it achieves (name): Its code works with 30 MVA, 0 MVA and 120 MVA. - What it does: It draws its content. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Inputs & outputs: Out: JSON file receipt.json. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Model - File: galaxies-wafers/iterations/16-firm-capacity/model.mjs (JavaScript, 15 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/16-firm-capacity/model.mjs#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/1192.html#f13 - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that parses units (`parseUnits`) (units: MVA), using SHA-256. It parses number (`parseNumber`) and parses units (`parseUnits`). - What it achieves (name): Defines `parseNumber`, `parseUnits` and `calculate`. Its code works with 1000 MVA. - What it does: Defines parseNumber, parseUnits, calculate. - Downstream impact: Used directly by 1 file: Browser Check (galaxies-wafers). - Signatures: `export parseNumber(text)`; `export parseUnits(text)`; `export calculate(engine,{units,demandMva})` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Model Test - File: galaxies-wafers/iterations/16-firm-capacity/model.test.mjs (JavaScript, 13 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/16-firm-capacity/model.test.mjs#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/1192.html#f14 - Synopsis: A test in the iterations folder of Galaxies Wafers that uses SHA-256. - What it does: It tests its inputs. Uses libraries node:test. Side effects: reads or writes files; makes network requests. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Iterations — 21 Dark Pixels - File: galaxies-wafers/iterations/21-dark-pixels/app.mjs (JavaScript, 574 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/21-dark-pixels/app.mjs#L1-L574 - Page: https://code.globalgrid2050.com/explore-code/s/1193.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/21-dark-pixels/ - Synopsis: A JavaScript module in Galaxies Wafers that draws lines meta and families, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/21-dark-pixels/. - What it achieves (comment): It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). Dark Pixels: the Line Wafer with its ground switched off. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws lines meta and families. Defines 31 functions or classes, including $, snapshot, indexOfKey, bin, tier1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 2 files: Iterations — 21 Dark Pixels Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/21-dark-pixels/); Iterations — 33 Engines As Tools Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/21-dark-pixels/. - Signatures: `$(id)`; `snapshot()`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `render()`; `x(U.pos[i * 2] - view.x)`; `draw()`; `home()`; `flyTo(key, zoom)`; `nearestKeyAt(cx, cy)`; `wx(cx - view.w / 2)`; `wy(view.h / 2 - cy)`; `famsOf(key)`; `paintPanel(key)` (and 7 more) - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of galaxies-wafers/iterations/01-route-alpha/app.mjs) · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Iterations — 21 Dark Pixels Page - File: galaxies-wafers/iterations/21-dark-pixels/index.html (HTML, 43 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/21-dark-pixels/index.html#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1193.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/21-dark-pixels/ - Synopsis: A web page in Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/iterations/21-dark-pixels/. - What it achieves (comment): Dark Pixels — every line dark, only the charted lines lit. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/21-dark-pixels/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 2, stylesheet 1, link 1); used by 0; mentioned by 0 ### Iterations — 21 Dark Pixels Style Sheet - File: galaxies-wafers/iterations/21-dark-pixels/style.css (CSS, 92 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/21-dark-pixels/style.css#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/1194.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/21-dark-pixels/ - Synopsis: A style sheet in Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/21-dark-pixels/. - What it achieves (comment): The Line Wafer. Designed at 430 px first; the desktop is the same layout with more room. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 2 files: Iterations — 21 Dark Pixels Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/21-dark-pixels/); Iterations — 33 Engines As Tools Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/21-dark-pixels/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Iterations — 22 Fast Zoom - File: galaxies-wafers/iterations/22-fast-zoom/app.mjs (JavaScript, 720 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/22-fast-zoom/app.mjs#L1-L720 - Page: https://code.globalgrid2050.com/explore-code/s/1194.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/ - Synopsis: A JavaScript module in Galaxies Wafers that draws lines meta and families, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/. - What it achieves (comment): It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). The Line Wafer. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws lines meta and families. Defines 40 functions or classes, including $, snapshot, motion, indexOfKey, bin. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Iterations — 22 Fast Zoom Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/. - Signatures: `$(id)`; `snapshot()`; `motion()`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `lowerBound(a, v)`; `visibleRange(halfWpx, halfHpx, cx, cy)`; `drawPoints(w, h, cx, cy)`; `ensureCache()`; `cacheRect()`; `rasterCache()`; `blitCache()`; `recordFrame()`; `render()` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Iterations — 22 Fast Zoom Page - File: galaxies-wafers/iterations/22-fast-zoom/index.html (HTML, 45 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/22-fast-zoom/index.html#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1195.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/ - Synopsis: A web page in Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/. - What it achieves (comment): Fast Zoom — The Line Wafer, iteration 22. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (script-src 3, stylesheet 1, link 1); used by 0; mentioned by 0 ### Questions - File: galaxies-wafers/iterations/22-fast-zoom/questions.mjs (JavaScript, 57 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/22-fast-zoom/questions.mjs#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/1195.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/. - What it achieves (comment): It is built from the fmt step (`fmt`), the answer step (`answer`) and the paint step (`paint`). Iteration 22: the owner's three questions and the machine detail line. It reads `../../layers/manifest.json`. - What it does: It draws its content. Defines $, fmt, answer, paint. Side effects: changes the web page (DOM); makes network requests. - Downstream impact: Used directly by 1 file: Iterations — 22 Fast Zoom Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/. - Signatures: `$(id)`; `fmt(n)`; `answer(dl, q, a)`; `paint()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Iterations — 22 Fast Zoom Style Sheet - File: galaxies-wafers/iterations/22-fast-zoom/style.css (CSS, 94 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/22-fast-zoom/style.css#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/1195.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/ - Synopsis: A style sheet in Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/. - What it achieves (comment): The Line Wafer. Designed at 430 px first; the desktop is the same layout with more room. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 22 Fast Zoom Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/22-fast-zoom/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 24 Electrification Model Page - File: galaxies-wafers/iterations/24-electrification-model/index.html (HTML, 62 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/24-electrification-model/index.html#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/1195.html#f5 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/24-electrification-model/ - Synopsis: A web page in Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/iterations/24-electrification-model/. - What it achieves (comment): Seven Meanings — a kilowatt is not a kilowatt. Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/24-electrification-model/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (stylesheet 1, link 1, script-src 1); used by 0; mentioned by 0 ### Seven - File: galaxies-wafers/iterations/24-electrification-model/seven.css (CSS, 72 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/24-electrification-model/seven.css#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/1195.html#f6 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/24-electrification-model/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/24-electrification-model/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 24 Electrification Model Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/24-electrification-model/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/24-electrification-model/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Seven - File: galaxies-wafers/iterations/24-electrification-model/seven.mjs (JavaScript, 347 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/24-electrification-model/seven.mjs#L1-L347 - Page: https://code.globalgrid2050.com/explore-code/s/1196.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/24-electrification-model/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that sets val, shows bar and lane note and calculates planar distances. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/24-electrification-model/. - What it achieves (comment): It sets val (`setVal`), shows bar (`showBar`) and shows lane note (`showLaneNote`). Draws `engine/electrification-model.js`. Every value comes from the module; the page formats, scales and places. It responds to input, pointerdown and pointermove events. - What it does: It draws its content. Defines 20 functions or classes, including $, el, fmt, show, read. Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 24 Electrification Model Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/24-electrification-model/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/24-electrification-model/. - Signatures: `$(id)`; `el(tag, cls, text)`; `fmt(n, d = 3)`; `show()`; `read(id)`; `attempt(fn)`; `compute()`; `draw()`; `setVal(node, v, u)`; `schedule()`; `laneOf(key)`; `showBar(meaningKey, id, scroll = true)`; `showLaneNote(L)`; `attachDrag(bar)`; `end(e)`; `laneAt(x, y)`; `tryAdd(fromKey, fromId, toKey, x, y)`; `hidePop()`; `workedExample()`; `dim(t)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 26 Apps Layers Substrate - File: galaxies-wafers/iterations/26-apps-layers-substrate/app.mjs (JavaScript, 575 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/26-apps-layers-substrate/app.mjs#L1-L575 - Page: https://code.globalgrid2050.com/explore-code/s/1196.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/ - Synopsis: A JavaScript module in Galaxies Wafers that draws lines meta and families, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/. - What it achieves (comment): It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). This file is iteration 21's `app.mjs` (the dark substrate) with one change: `writeURL` keeps every other parameter. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws lines meta and families. Defines 31 functions or classes, including $, snapshot, indexOfKey, bin, tier1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Iterations — 26 Apps Layers Substrate Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/. - Signatures: `$(id)`; `snapshot()`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `render()`; `x(U.pos[i * 2] - view.x)`; `draw()`; `home()`; `flyTo(key, zoom)`; `nearestKeyAt(cx, cy)`; `wx(cx - view.w / 2)`; `wy(view.h / 2 - cy)`; `famsOf(key)`; `paintPanel(key)` (and 7 more) - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of galaxies-wafers/iterations/01-route-alpha/app.mjs) · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Apps - File: galaxies-wafers/iterations/26-apps-layers-substrate/apps.mjs (JavaScript, 461 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/26-apps-layers-substrate/apps.mjs#L1-L461 - Page: https://code.globalgrid2050.com/explore-code/s/1197.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that draws blocks, transformers, substations and cables, and uses data from the stars repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/. - What it achieves (comment): It builds tabs (`buildTabs`), paints tab (`paintTab`) and writes URL (`writeURL`). The top tier: apps as tabs over the layers over the substrate. It responds to click and change events. - What it does: It draws blocks, transformers, substations and cables. Defines 21 functions or classes, including $, fmt, el, link, appOfFile. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: transformers, substations, cables. - Inputs & outputs: In: data source: stars data; JSON file blocks.json. - Downstream impact: Used directly by 1 file: Iterations — 26 Apps Layers Substrate Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/. - Signatures: `$(id)`; `fmt(n)`; `el(tag, cls, text)`; `link(href, text)`; `appOfFile(f, d)`; `group(d)`; `folderName(a)`; `nameOf(a)`; `wantTitle(a)`; `buildTabs()`; `paintTab(a)`; `layersFor(a)`; `select(id, { scroll = true } = {})`; `writeURL()`; `phone()`; `paintHead()`; `buildCard(a)`; `refresh(changedIds)`; `list(arr, n)`; `paintQuestions(a, refusals, complete)`; `qa(q, ans)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; JSON file blocks.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Iterations — 26 Apps Layers Substrate Page - File: galaxies-wafers/iterations/26-apps-layers-substrate/index.html (HTML, 59 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/26-apps-layers-substrate/index.html#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/1198.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/ - Synopsis: A web page in Galaxies Wafers that reads inputs for depth. Published at https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/. - What it achieves (comment): Apps, Layers, Substrate — the estate's apps as tabs over its numbered lines. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (script-src 3, stylesheet 1, link 1); used by 0; mentioned by 0 ### Queue - File: galaxies-wafers/iterations/26-apps-layers-substrate/queue.mjs (JavaScript, 56 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/26-apps-layers-substrate/queue.mjs#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1198.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/. - What it achieves (comment): It fetches JSON (`fetchJSON`) and is built from the unwanted class (`Unwanted`) and the run step (`run`). One FetchQueue for every request this page makes after the substrate: layer files, the block register and page titles. - What it does: It fetches data. Defines Unwanted, run, fetchJSON, forget, queueDepth. Side effects: makes network requests. - Downstream impact: Used directly by 2 files: Layers Panel (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/); Apps (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/). Reached from 1 other entry point, including Iterations — 26 Apps Layers Substrate Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/). - Signatures: `export class Unwanted`; `export run(job, wanted = () => true)`; `export fetchJSON(url, failPrefix = 'HTTP ', wanted = () => true)`; `export forget(url)`; `export queueDepth()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Iterations — 26 Apps Layers Substrate Style Sheet - File: galaxies-wafers/iterations/26-apps-layers-substrate/style.css (CSS, 147 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/26-apps-layers-substrate/style.css#L1-L147 - Page: https://code.globalgrid2050.com/explore-code/s/1198.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/ - Synopsis: A style sheet in Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/. - What it achieves (comment): The Line Wafer. Designed at 430 px first; the desktop is the same layout with more room. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 26 Apps Layers Substrate Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/26-apps-layers-substrate/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Hazards - File: galaxies-wafers/iterations/27-earth-radii-and-argument-order/hazards.css (CSS, 56 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/27-earth-radii-and-argument-order/hazards.css#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1198.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/27-earth-radii-and-argument-order/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/27-earth-radii-and-argument-order/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 27 Earth Radii and Argument Order Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/27-earth-radii-and-argument-order/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/27-earth-radii-and-argument-order/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Hazards - File: galaxies-wafers/iterations/27-earth-radii-and-argument-order/hazards.mjs (JavaScript, 483 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/27-earth-radii-and-argument-order/hazards.mjs#L1-L483 - Page: https://code.globalgrid2050.com/explore-code/s/1198.html#f5 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/27-earth-radii-and-argument-order/ - Synopsis: A JavaScript module in Galaxies Wafers that paints mods and controls, wraps lon, calculates great-circle distances and draws on a canvas. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/27-earth-radii-and-argument-order/. - What it achieves (comment): It paints mods (`paintMods`), paints controls (`paintControls`) and maps projection (`mapProjection`). Two Hazards on One Map — Earth radii and argument order, charted from the engine's own geodesy. It responds to click, input and resize events. - What it does: It draws cables. Defines 38 functions or classes, including $, el, nf, fmtLen, fmtLat. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 27 Earth Radii and Argument Order Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/27-earth-radii-and-argument-order/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/27-earth-radii-and-argument-order/. - Signatures: `$(id)`; `el(tag, cls, text)`; `nf(v, sig = 4)`; `fmtLen(km, sig = 6)`; `fmtLat(v)`; `fmtLon(v)`; `fmtPt(p)`; `paintMods()`; `dFromT(t)`; `seg(box, items, isOn, onTap)`; `paintControls()`; `fit(cv, cssH)`; `textHalo(g, s, x, y, color, align = 'left')`; `emptyCanvas(g, text)`; `mapProjection(w)`; `midLat(v.lat[0] + v.lat[1])`; `cLon(v.lon[0] + v.lon[1])`; `wrapLon(l)`; `gcPath(a, b, n = 96)`; `drawPoly(g, P, pts)`; `strokePath(g, P, pts, color, dash)`; `marker(g, P, p, label, color, hollow)`; `drawMap(model)`; `out(p)`; `k(c, dash, t)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 27 Earth Radii and Argument Order Page - File: galaxies-wafers/iterations/27-earth-radii-and-argument-order/index.html (HTML, 87 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/27-earth-radii-and-argument-order/index.html#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/1199.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/27-earth-radii-and-argument-order/ - Synopsis: A web page in Galaxies Wafers that uses haversine. Published at https://ventusltd.github.io/galaxies-wafers/iterations/27-earth-radii-and-argument-order/. - What it achieves (comment): Two Hazards on One Map — Earth radii and argument order in distance code. Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. Coordinate systems named: WGS84 / EPSG:4326. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/27-earth-radii-and-argument-order/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 3 estate files (stylesheet 1, link 1, script-src 1); used by 0; mentioned by 0 ### Iterations — 28 Nearest Search Trap Page - File: galaxies-wafers/iterations/28-nearest-search-trap/index.html (HTML, 71 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/28-nearest-search-trap/index.html#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/1199.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/28-nearest-search-trap/ - Synopsis: A web page in Galaxies Wafers covering substations and cables, using haversine. Published at https://ventusltd.github.io/galaxies-wafers/iterations/28-nearest-search-trap/. - What it achieves (comment): The Nearest-Search Trap — a gate made visible. Its code works with 100 kW. - What it does: It draws substations and cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: substations, cables. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/28-nearest-search-trap/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (stylesheet 1, link 1, script-src 1); used by 0; mentioned by 0 ### Trap - File: galaxies-wafers/iterations/28-nearest-search-trap/trap.css (CSS, 51 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/28-nearest-search-trap/trap.css#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/1199.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/28-nearest-search-trap/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/28-nearest-search-trap/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 28 Nearest Search Trap Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/28-nearest-search-trap/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/28-nearest-search-trap/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Trap - File: galaxies-wafers/iterations/28-nearest-search-trap/trap.mjs (JavaScript, 445 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/28-nearest-search-trap/trap.mjs#L1-L445 - Page: https://code.globalgrid2050.com/explore-code/s/1199.html#f5 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/28-nearest-search-trap/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that paints mods, builds steps and renders steps, covering substations and 33kV, using haversine. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/28-nearest-search-trap/. - What it achieves (comment): It paints mods (`paintMods`), builds steps (`buildSteps`) and renders steps (`renderSteps`). The Nearest-Search Trap — the ring-search bug class from `proofs/v9-engine.proof`.mjs, made visible. Its code works with 33 kV. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws substations and 33kV. Defines 43 functions or classes, including near, $, el, f, paintMods. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, 33kV. - Inputs & outputs: Out: canvas drawing. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Iterations — 28 Nearest Search Trap Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/28-nearest-search-trap/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/28-nearest-search-trap/. - Signatures: `near(a, b, tol)`; `$(id)`; `el(tag, cls, text)`; `f(v, d = 3)`; `paintMods()`; `load()`; `inBox(p, lon, lat)`; `searchA(lon, lat)`; `searchB(lon, lat)`; `buildSteps()`; `kmOf(list, p)`; `renderSteps(list, ol, active)`; `ansNode(r, lead)`; `renderPanels()`; `runGate(search, tag)`; `check(name, condition)`; `renderGate()`; `runGrid()`; `pct(v)`; `li(...parts)`; `KM_PER_DEG()`; `resize()`; `halfWkm(GRID.lonMax - GRID.lonMin)`; `halfHkm(GRID.latMax - GRID.latMin)`; `px(lon, lat)` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs [WGS84 / EPSG:4326]; voltages [33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Envelope - File: galaxies-wafers/iterations/29-rating-envelope/envelope.css (CSS, 88 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/29-rating-envelope/envelope.css#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/1200.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/29-rating-envelope/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/29-rating-envelope/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 29 Rating Envelope Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/29-rating-envelope/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/29-rating-envelope/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Envelope - File: galaxies-wafers/iterations/29-rating-envelope/envelope.mjs (JavaScript, 414 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/29-rating-envelope/envelope.mjs#L1-L414 - Page: https://code.globalgrid2050.com/explore-code/s/1200.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/29-rating-envelope/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that paints mods (`paintMods`) and questions (`paintQuestions`) and builds seasons (`buildSeasons`), covering transformers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/29-rating-envelope/. - What it achieves (comment): It paints mods (`paintMods`), paints questions (`paintQuestions`) and builds seasons (`buildSeasons`). Ratings That Do Not Add — `engine/rating-envelope.js`, called as it is. Its code works with 100 MVA. It responds to click, pointerdown and pointermove events. - What it does: It draws transformers. Defines 25 functions or classes, including colourOf, $, el, paintMods, load. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: transformers. - Downstream impact: Used directly by 1 file: Iterations — 29 Rating Envelope Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/29-rating-envelope/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/29-rating-envelope/. - Signatures: `colourOf(kv)`; `$(id)`; `el(tag, cls, text)`; `paintMods()`; `load(src, job)`; `fixtureFrom(text, accepts)`; `idOf(rec)`; `boot()`; `paintQuestions()`; `emptyAll()`; `segment(box, opts, isOn, onPick)`; `buildSeasons()`; `buildVolts()`; `nodeLine(name)`; `buildCircuits()`; `paintCard(id)`; `toggle(id, want)`; `paintTray()`; `attachDrag(grip, id, label, fromTray)`; `over(e)`; `end(e, cancelled)`; `siteCodesOf(id)`; `paintResult()`; `callCard(code)`; `line(k, v)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 29 Rating Envelope Page - File: galaxies-wafers/iterations/29-rating-envelope/index.html (HTML, 68 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/29-rating-envelope/index.html#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/1200.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/29-rating-envelope/ - Synopsis: A web page in Galaxies Wafers covering substations. Published at https://ventusltd.github.io/galaxies-wafers/iterations/29-rating-envelope/. - What it achieves (comment): Ratings That Do Not Add. Its code works with 100 kW, 11 kV and 132 kV. - What it does: It draws substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: substations, 400kV, 275kV, 220kV, 132kV, 66kV. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: Out: web page. Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/29-rating-envelope/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [400kV, 275kV, 220kV, 132kV, 66kV, 11kV] - Edges: uses 3 estate files (stylesheet 1, link 1, script-src 1); used by 0; mentioned by 0 ### Iterations — 30 Journey - File: galaxies-wafers/iterations/30-journey/app.mjs (JavaScript, 1165 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/30-journey/app.mjs#L1-L1165 - Page: https://code.globalgrid2050.com/explore-code/s/1201.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/30-journey/ - Synopsis: A JavaScript module in Galaxies Wafers that draws lines meta, families, crossname and substations, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/30-journey/. - What it achieves (comment): It fetches timeout (`fetchWithTimeout`), fetches JSON (`fetchJSON`) and fetches bin (`fetchBin`). Journey: the Line Wafer read by level of detail, and by following one thread. Its code works with 11 kV. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws lines meta, families, crossname and substations. Defines 60 functions or classes, including levelOf, $, enqueue, pump, fetchWithTimeout. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 11kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, 11kV. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file index.json; JSON file all-lines.meta.json; JSON file families.json; JSON file crossname.json. Out: canvas drawing. Voltage levels named: 11kV. - Downstream impact: Used directly by 1 file: Iterations — 30 Journey Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/30-journey/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/30-journey/. - Signatures: `levelOf(z)`; `$(id)`; `enqueue(task)`; `pump()`; `fetchWithTimeout(url)`; `fetchJSON(url)`; `fetchBin(url, Kind)`; `tilesToggle()`; `wantTiles(band)`; `paintTileRow()`; `loadModule(id)`; `scheduleHubs()`; `woken()`; `paintLoadRow()`; `bin(name, Kind)`; `tier1()`; `tier2()`; `buildDensity()`; `sx(x)`; `sy(y)`; `resize()`; `homeZoom()`; `home()`; `flyTo(x, y, z1, ms = 700)`; `lowerBound(a, v)` (and 15 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file all-lines.meta.json; JSON file families.json; JSON file crossname.json]; out [canvas drawing]; crs []; voltages [11kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Iterations — 30 Journey Page - File: galaxies-wafers/iterations/30-journey/index.html (HTML, 61 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/30-journey/index.html#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1202.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/30-journey/ - Synopsis: A web page in Galaxies Wafers that reads inputs for thread. Published at https://ventusltd.github.io/galaxies-wafers/iterations/30-journey/. - What it achieves (comment): Journey — follow one thread through the Line Wafer, level by level. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/30-journey/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Iterations — 30 Journey Style Sheet - File: galaxies-wafers/iterations/30-journey/style.css (CSS, 91 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/30-journey/style.css#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/1202.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/30-journey/ - Synopsis: A style sheet in Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/30-journey/. - What it achieves (comment): Designed at 390 px first; the desktop is the same layout with more room. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 30 Journey Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/30-journey/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/30-journey/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 31 Code Card Everywhere - File: galaxies-wafers/iterations/31-code-card-everywhere/app.mjs (JavaScript, 583 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/31-code-card-everywhere/app.mjs#L1-L583 - Page: https://code.globalgrid2050.com/explore-code/s/1203.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/ - Synopsis: A JavaScript module in Galaxies Wafers that draws lines meta and families, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/. - What it achieves (comment): It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). Code Card Everywhere (iteration 31): Dark Pixels, where any tap on the wafer opens a code card (`card.mjs`). It responds to pointerdown, pointermove and pointerup events. - What it does: It draws lines meta and families. Defines 31 functions or classes, including $, snapshot, indexOfKey, bin, tier1. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Iterations — 31 Code Card Everywhere Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/). Reached from 90 other entry points, including Iterations — 39 Decisions and Permission Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/); Iterations — 41 Golden Angle Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/. - Signatures: `$(id)`; `snapshot()`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `render()`; `x(U.pos[i * 2] - view.x)`; `draw()`; `home()`; `flyTo(key, zoom)`; `nearestKeyAt(cx, cy)`; `wx(cx - view.w / 2)`; `wy(view.h / 2 - cy)`; `famsOf(key)`; `paintPanel(key)` (and 7 more) - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of galaxies-wafers/iterations/01-route-alpha/app.mjs) · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Card - File: galaxies-wafers/iterations/31-code-card-everywhere/card.mjs (JavaScript, 839 lines) · role render · stage output - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/31-code-card-everywhere/card.mjs#L1-L839 - Page: https://code.globalgrid2050.com/explore-code/s/1204.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that draws blocks and cables, and uses data from the stars repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/. - What it achieves (comment): It reads source (`readSource`), binds wafer (`bindWafer`) and sets tag (`setTag`). Iteration 31, Code Card Everywhere. Its code works with 100 kW. It responds to click, wafer and keydown events. - What it does: It draws blocks and cables. Defines 53 functions or classes, including Queue, LRU, cached, rawURL, ghURL. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: stars data; JSON file blocks.json; JSON file index.json. Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 31 Code Card Everywhere (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/). Reached from 91 other entry points, including Iterations — 31 Code Card Everywhere Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/); Iterations — 39 Decisions and Permission Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/); Iterations — 41 Golden Angle Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/). - Signatures: `export bindWafer(w)`; `export cardTap(cx, cy)`; `export openLine(key, opts = {})`; `class Queue`; `constructor(n)`; `add(task, onWait)`; `class LRU`; `get(k)`; `set(k, v)`; `delete(k)`; `cached(cache, url, parse, onWait)`; `rawURL(repo, commit, path)`; `ghURL(repo, commit, path, a, b)`; `register()`; `familyRecord(n, onWait)`; `readSource(repo, commit, path, onWait)`; `el(tag, cls, text)`; `link(href, text)`; `row(dl, k, ...v)`; `btn(text, cls, on)`; `$(id)`; `sheet(title, sub)`; `setTag(s, text)`; `closeCard()`; `wx(cx - v.w / 2)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; JSON file blocks.json; JSON file index.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 1, estate-url 1); used by 1; mentioned by 0 ### Iterations — 31 Code Card Everywhere Page - File: galaxies-wafers/iterations/31-code-card-everywhere/index.html (HTML, 45 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/31-code-card-everywhere/index.html#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1205.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/ - Synopsis: A web page in Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/. - What it achieves (comment): Code Card Everywhere — tap anything on the wafer, read its code. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 8 files: Iterations — 39 Decisions and Permission Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/); Iterations — 41 Golden Angle Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); and 4 more. Reached from 82 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 2, stylesheet 1, link 1); used by 8; mentioned by 0 ### Iterations — 31 Code Card Everywhere Style Sheet - File: galaxies-wafers/iterations/31-code-card-everywhere/style.css (CSS, 151 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/31-code-card-everywhere/style.css#L1-L151 - Page: https://code.globalgrid2050.com/explore-code/s/1205.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/ - Synopsis: A style sheet in Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/. - What it achieves (comment): The Line Wafer. Designed at 430 px first; the desktop is the same layout with more room. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 31 Code Card Everywhere Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/). Reached from 90 other entry points, including Iterations — 39 Decisions and Permission Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/); Iterations — 41 Golden Angle Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 32 Spider and Galaxy - File: galaxies-wafers/iterations/32-spider-and-galaxy/app.mjs (JavaScript, 868 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/32-spider-and-galaxy/app.mjs#L1-L868 - Page: https://code.globalgrid2050.com/explore-code/s/1205.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/ - Synopsis: A JavaScript module in Galaxies Wafers that draws blocks, families, receivers and provenance, using SHA-256, and uses data from the stars and GridAtlas repositories. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/. - What it achieves (comment): It fetches queue (`FetchQueue`), fetches as (`fetchAs`) and gets JSON (`getJSON`). Spider and Galaxy — one universe, two views. It responds to click, change and toggle events. - What it does: It draws blocks, families, receivers and provenance. Defines 58 functions or classes, including $, FetchQueue, fetchAs, getJSON, layerDoc. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: data source: stars data; data source: gridatlas data; JSON file blocks.json; JSON file families.json; JSON file current.json; JSON file receivers.json; JSON file provenance.json; JSON file all-lines.meta.json. - Downstream impact: Used directly by 1 file: Iterations — 32 Spider and Galaxy Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/). Reached from 89 other entry points, including Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/. - Signatures: `$(id)`; `class FetchQueue`; `constructor(n)`; `add(task)`; `fetchAs(url, kind)`; `getJSON(u)`; `layerDoc(file)`; `waferFoot(s)`; `say(html)`; `graphUrl(p)`; `optionText(g)`; `relabel(id)`; `loadGraph(id)`; `showGraph(id)`; `computeBridge()`; `measureBridge()`; `ensureFamilies()`; `ensureFamLines()`; `keysForBlock(sym)`; `tapSpider(i, fromLink = false)`; `receiverRow(n)`; `tapWafer(x, y)`; `replaceQuery(edit)`; `writeSelection(n)`; `writeGraphChoice(id)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; data source: gridatlas data; JSON file blocks.json; JSON file families.json; JSON file current.json; JSON file receivers.json; JSON file provenance.json; JSON file all-lines.meta.json]; out []; crs []; voltages [] - Edges: uses 9 estate files (import 7, estate-url 2); used by 1; mentioned by 0 ### Bridge - File: galaxies-wafers/iterations/32-spider-and-galaxy/bridge.mjs (JavaScript, 131 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/32-spider-and-galaxy/bridge.mjs#L1-L131 - Page: https://code.globalgrid2050.com/explore-code/s/1206.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that reads graph (`readGraph`). Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/. It reads graph (`readGraph`) and indexes register (`indexRegister`). - What it achieves (comment): One universe, two views: how a spider node is read as a place in the numbered universe, and back. - What it does: It lists and searches its content. Defines 7 functions or classes, including readGraph, end, nodeRefs, indexRegister, pathCovers. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Iterations — 32 Spider and Galaxy (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/). Reached from 90 other entry points, including Iterations — 32 Spider and Galaxy Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). - Signatures: `export readGraph(raw, edgesRaw)`; `export nodeRefs(graphId, n)`; `export indexRegister(register)`; `export pathCovers(nodePath, filePath)`; `export counterpart(refs, reg, families)`; `export nodesForBlock(symbol, family, graphId, nodes, reg)`; `end(x, arr)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 32 Spider and Galaxy Page - File: galaxies-wafers/iterations/32-spider-and-galaxy/index.html (HTML, 72 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/32-spider-and-galaxy/index.html#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/1207.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/ - Synopsis: A web page in Galaxies Wafers that reads inputs for graph pick and find. Published at https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/. - What it achieves (comment): Spider and Galaxy — one universe, two views. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 8 files: Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V121 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v121.html); and 4 more. Reached from 81 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 8; mentioned by 0 ### Link - File: galaxies-wafers/iterations/32-spider-and-galaxy/link.mjs (JavaScript, 64 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/32-spider-and-galaxy/link.mjs#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/1207.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/. It parses key (`parseKey`) and is built from the val step (`val`). - What it achieves (comment): What a link into this page asks for, read strictly. - What it does: Defines parseKey, readLink, val. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Iterations — 32 Spider and Galaxy (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/). Reached from 90 other entry points, including Iterations — 32 Spider and Galaxy Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). - Signatures: `export parseKey(raw)`; `export readLink(search, graphIds)`; `val(k)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Spider Pane - File: galaxies-wafers/iterations/32-spider-and-galaxy/spider-pane.mjs (JavaScript, 170 lines) · role render · stage output - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/32-spider-and-galaxy/spider-pane.mjs#L1-L170 - Page: https://code.globalgrid2050.com/explore-code/s/1207.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that draws on a canvas. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/. - What it achieves (comment): It creates spider (`createSpider`) and is built from the resize step (`resize`) and the layout step (`layout`). The spider's graph drawn on one canvas, radial as the spider draws it: the focus card in the centre, what it points to on the right, what points to it on the left. It responds to pointerdown and pointerup events. - What it does: It draws its content. Defines 9 functions or classes, including createSpider, resize, layout, arc, clip. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 32 Spider and Galaxy (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/). Reached from 90 other entry points, including Iterations — 32 Spider and Galaxy Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). - Signatures: `export createSpider(pane, { onTap })`; `resize()`; `layout()`; `arc(list, a0, a1)`; `clip(s, k)`; `draw()`; `P(i)`; `label(i, bright)`; `pick(cx, cy, reach = 22)`; `bias(i === S.focus || S.near.has(i))`; `setGraph(g, bridge)`; `setBridge(bridge)`; `focus(i)`; `highlight(list)`; `screenOf(i)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 32 Spider and Galaxy Style Sheet - File: galaxies-wafers/iterations/32-spider-and-galaxy/style.css (CSS, 71 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/32-spider-and-galaxy/style.css#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/1207.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/ - Synopsis: A style sheet in Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/. - What it achieves (comment): Phone first: the two views stacked, the answer strip and the drawers below them in one scrolling column. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Iterations — 32 Spider and Galaxy Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/). Reached from 89 other entry points, including Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Unknown Paths - File: galaxies-wafers/iterations/32-spider-and-galaxy/unknown-paths.mjs (JavaScript, 84 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/32-spider-and-galaxy/unknown-paths.mjs#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/1207.html#f5 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that adds bucket (`addBucket`). Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/. - What it achieves (comment): It adds bucket (`addBucket`) and is built from the ext of helper (`extOf`) and the shape of helper (`shapeOf`). Why a spider repository or path is unknown to the numbered universe, measured, never guessed. - What it does: It calculates its inputs. Defines 6 functions or classes, including extOf, shapeOf, newIndex, addBucket, holds. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Iterations — 32 Spider and Galaxy (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/). Reached from 90 other entry points, including Iterations — 32 Spider and Galaxy Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). - Signatures: `export extOf(path)`; `export shapeOf(n, ref)`; `export newIndex()`; `export addBucket(ix, bucket)`; `export holds(ix, repo, path, shape)`; `export classify(item, pack)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Wafer Pane - File: galaxies-wafers/iterations/32-spider-and-galaxy/wafer-pane.mjs (JavaScript, 334 lines) · role render · stage output - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/32-spider-and-galaxy/wafer-pane.mjs#L1-L334 - Page: https://code.globalgrid2050.com/explore-code/s/1208.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that draws lines meta. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/. - What it achieves (comment): It creates wafer (`createWafer`), draws woken (`drawWoken`) and picks woken (`pickWoken`). The dark wafer of iteration 21, drawn inside a pane instead of the whole window. Its code works with 11 kV. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws lines meta. Defines 23 functions or classes, including interp, createWafer, load, bin, compile. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: 11kV. - Inputs & outputs: In: JSON file all-lines.meta.json. Out: WebGL/WebGPU drawing. Voltage levels named: 11kV. - Downstream impact: Used directly by 1 file: Iterations — 32 Spider and Galaxy (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/). Reached from 90 other entry points, including Iterations — 32 Spider and Galaxy Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/32-spider-and-galaxy/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). - Signatures: `export createWafer(pane, { onTap, onStatus, onFrame })`; `interp(stops, x)`; `load()`; `bin(name, Kind)`; `compile(type, src)`; `initGL()`; `put(data, name, size, Kind)`; `fallback2d()`; `resize()`; `home()`; `draw()`; `render()`; `x(U.pos[i * 2] - view.x)`; `visibleBand(padWorld)`; `drawWoken()`; `wake(id, colour, keys, props)`; `unwakeAll(except)`; `wokenIds()`; `flyTo(key, zoom)`; `frame(id)`; `cx(x0 + x1)`; `pickWoken(cx, cy, reach = 16)`; `gestures()`; `local(e)`; `up(e)` (and 1 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json]; out [WebGL/WebGPU drawing]; crs []; voltages [11kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Demo - File: galaxies-wafers/iterations/33-engines-as-tools/demo.css (CSS, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/33-engines-as-tools/demo.css#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1208.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/. - What it achieves (comment): Engines as Tools: the picker over iteration 21's dark wafer. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 33 Engines As Tools Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Demo - File: galaxies-wafers/iterations/33-engines-as-tools/demo.mjs (JavaScript, 486 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/33-engines-as-tools/demo.mjs#L1-L486 - Page: https://code.globalgrid2050.com/explore-code/s/1209.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/ - Synopsis: A JavaScript module in Galaxies Wafers that adds module layer, builds panel, picks layer and draws on a canvas, covering substations. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/. - What it achieves (comment): It adds module layer (`addModuleLayer`), builds panel (`buildPanel`) and picks layer (`pickLayer`). Engines as Tools, the picker. Its code works with 11 kV and 400 kV. It responds to change and click events. - What it does: It draws substations, 400kV, 11kV and solar. Defines 23 functions or classes, including $, el, addModuleLayer, modelFromFeatures, modelFromModules. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: substations, 400kV, 11kV, solar. - Inputs & outputs: In: JSON file index.json. Out: canvas drawing. Voltage levels named: 400kV, 11kV. - Downstream impact: Used directly by 1 file: Iterations — 33 Engines As Tools Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/. - Signatures: `$(id)`; `el(tag, cls, text)`; `addModuleLayer(id)`; `modelFromFeatures(features, L)`; `modelFromModules(docs)`; `tiledModel(L)`; `label(id, text)`; `buildPanel()`; `pickLayer(id)`; `pickTool(id)`; `ownParams()`; `writeURL()`; `readLink()`; `showLink(link, outcome)`; `src(name)`; `code(s)`; `questions(tool)`; `refreshStatic()`; `drawOverlay()`; `drawTool(tool, model, v, L)`; `add(r)`; `setLegend(vb, model)`; `requestDraw()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json]; out [canvas drawing]; crs []; voltages [400kV, 11kV] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Iterations — 33 Engines As Tools Page - File: galaxies-wafers/iterations/33-engines-as-tools/index.html (HTML, 68 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/33-engines-as-tools/index.html#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/1209.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/ - Synopsis: A web page in Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/. - What it achieves (comment): Engines as Tools — the 400kV engine's drawing logic, applied to any layer. Its code works with 100 kW and 400 kV. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV] - Edges: uses 5 estate files (stylesheet 2, script-src 2, link 1); used by 0; mentioned by 0 ### Tools - File: galaxies-wafers/iterations/33-engines-as-tools/tools.mjs (JavaScript, 532 lines) · role electrical · stage output - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/33-engines-as-tools/tools.mjs#L1-L532 - Page: https://code.globalgrid2050.com/explore-code/s/1210.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/ - Synopsis: A JavaScript module in Galaxies Wafers that parses atlas topology, zooms gate, converts to screen and calculates planar distances, covering 400kV. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/. - What it achieves (comment): It parses atlas topology (`parseAtlasTopology`), zooms gate (`zoomGate`) and fetches queue (`FetchQueue`). Engines as Tools. Its code works with 11 kV, 400 kV and 132 kV. - What it does: It draws 400kV, 11kV, substations and solar. Defines 29 functions or classes, including atlasZoom, evalExpr, mix, hex, parseAtlasTopology. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: 400kV, 11kV, substations, solar, 132kV. - Inputs & outputs: Voltage levels named: 400kV, 132kV, 11kV. - Downstream impact: Used directly by 2 files: Demo (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/); Iterations — 33 Engines As Tools Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/33-engines-as-tools/). - Signatures: `export atlasZoom(waferZoom)`; `export evalExpr(e, z, props = {})`; `export parseAtlasTopology(html)`; `export voltageBands(values, groups)`; `export zoomGate(layerStyle, zoom)`; `export toScreen(v, x, y)`; `export strokeLikeTransmission(ctx, routes, view, { band, budget = Infinity } = {})`; `export substationDot(ctx, points, view, { radiusExpr, color = ')`; `export circleLikeAtlas(ctx, points, view, { style, budget = Infinity } = {})`; `export projectPixel(ctx, points, view, { magnitudes, style = ATLAS_SOLAR, budget = Infinity } = {})`; `export interp(stops, x)`; `export wake(ctx, points, view, { colour, budget = Infinity } = {})`; `export class FetchQueue`; `export fetchWithTimeout(url, ms = 15000, fetchFn = globalThis.fetch, init = { cache: 'no-cache' })`; `export createUrlCache(load)`; `export createHydrator(load, onState = () => {})`; `export updateLabel(doc, id, text)`; `export bandOfKey(key, S)`; `export bandKeyRange(b, S)`; `export bandsInView(view, S, bands)`; `export createBandTiles({ cap, load, onChange = () => {} })`; `mix(a, b, t)`; `hex(s)`; `get(t, k)`; `q(B - 1 - i)` (and 7 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 132kV, 11kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Floorplan - File: galaxies-wafers/iterations/34-cpu-floorplan/floorplan.css (CSS, 35 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/34-cpu-floorplan/floorplan.css#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/1210.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/34-cpu-floorplan/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/34-cpu-floorplan/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 34 Cpu Floorplan Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/34-cpu-floorplan/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/34-cpu-floorplan/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Floorplan - File: galaxies-wafers/iterations/34-cpu-floorplan/floorplan.mjs (JavaScript, 710 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/34-cpu-floorplan/floorplan.mjs#L1-L710 - Page: https://code.globalgrid2050.com/explore-code/s/1211.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/34-cpu-floorplan/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that draws engine and cables, and uses data from the stars repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/34-cpu-floorplan/. - What it achieves (comment): It fetches queue (`FetchQueue`), fetches timed (`fetchTimed`) and fetches text (`fetchText`). Logical Floorplan — iteration 34. It responds to change, click and input events. - What it does: It draws engine and cables. Defines 39 functions or classes, including $, FetchQueue, fetchTimed, fetchText, fetchRange. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: stars data; JSON file engine.json. Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 34 Cpu Floorplan Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/34-cpu-floorplan/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/34-cpu-floorplan/. - Signatures: `$(id)`; `class FetchQueue`; `constructor(n)`; `add(task)`; `fetchTimed(url, init = {})`; `fetchText(url)`; `fetchRange(start, len)`; `tokenize(src)`; `push(c, start, end)`; `exportedFunctions(tokens)`; `analyse(toks)`; `strSide(prev && prev.c === 'str')`; `layout()`; `sw(x1 - x0 - 4 * (reg + 2 * gap))`; `resize()`; `px(r)`; `inFlight(stageIndex)`; `stepIndex(stageIndex)`; `predictorLit()`; `rrect(r, fill, stroke, lw = 1)`; `text(s, x, y, size, color, align = 'left', weight = '')`; `clip(s, maxW, size)`; `wire(a, b, lit)`; `draw()`; `side(key, sub)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; JSON file engine.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 34 Cpu Floorplan Page - File: galaxies-wafers/iterations/34-cpu-floorplan/index.html (HTML, 89 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/34-cpu-floorplan/index.html#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/1212.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/34-cpu-floorplan/ - Synopsis: A web page in Galaxies Wafers that reads inputs for speed. Published at https://ventusltd.github.io/galaxies-wafers/iterations/34-cpu-floorplan/. - What it achieves (comment): Logical Floorplan — the estate's code through a textbook processor. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/34-cpu-floorplan/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 2, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Iterations — 35 System Journey Page - File: galaxies-wafers/iterations/35-system-journey/index.html (HTML, 42 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/35-system-journey/index.html#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1212.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/35-system-journey/ - Synopsis: A web page in Galaxies Wafers that draws SVG graphics. Published at https://ventusltd.github.io/galaxies-wafers/iterations/35-system-journey/. - What it achieves (comment): One System, Stop by Stop. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: Out: web page; SVG drawing. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/35-system-journey/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 3 estate files (stylesheet 1, link 1, script-src 1); used by 0; mentioned by 0 ### Journey - File: galaxies-wafers/iterations/35-system-journey/journey.css (CSS, 70 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/35-system-journey/journey.css#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/1212.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/35-system-journey/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/35-system-journey/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 35 System Journey Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/35-system-journey/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/35-system-journey/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Journey - File: galaxies-wafers/iterations/35-system-journey/journey.mjs (JavaScript, 959 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/35-system-journey/journey.mjs#L1-L959 - Page: https://code.globalgrid2050.com/explore-code/s/1212.html#f5 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/35-system-journey/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that builds rows, paints row, verifies v9 and draws on a canvas, covering cables. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/35-system-journey/. - What it achieves (comment): It builds rows (`buildRows`), paints row (`paintRow`) and verifies v9 (`verifyV9`). One System, Stop by Stop. Five published engine calculations chained into one illustrative system and drawn as a single-line diagram that grows stop by stop. Its code works with 33 kV, 0 kV and 0.001 MVA. It responds to click, input and pointerdown events. - What it does: It draws cables, substations, transformers and 33kV. Defines 53 functions or classes, including $, el, nf, esc, attempt. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables, substations, transformers, 33kV, 100kV, 1kV. - Inputs & outputs: Out: canvas drawing. Voltage levels named: 100kV, 33kV, 1kV. - Downstream impact: Used directly by 1 file: Iterations — 35 System Journey Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/35-system-journey/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/35-system-journey/. - Signatures: `$(id)`; `el(tag, cls, text)`; `nf(v, sig = 4)`; `esc(s)`; `attempt(fn)`; `colourOf(kv)`; `enqueue(job)`; `pump()`; `timed(p, what)`; `hydrate(id)`; `M(id)`; `why(id)`; `buildRows()`; `paintRow(id)`; `verifyV9(text)`; `fixtureFrom(text, accepts)`; `inject(id, q)`; `unsound(q)`; `INJECTED(id)`; `connect({ id, from, to, q, emptyWhy, accepts })`; `gate(w)`; `chain()`; `added(fleet.ok && plateOnly.ok)`; `drawSld(R)`; `T(x, y, t, cls = '', anchor = 'start')` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [100kV, 33kV, 1kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Actions - File: galaxies-wafers/iterations/36-elements-assembly/actions.mjs (JavaScript, 97 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/36-elements-assembly/actions.mjs#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/1213.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/. - What it achieves (comment): It is built from the press step (`press`), the first fn helper (`firstFn`) and the reason step (`reason`). The button row on every card: WAFER, RUN, APP, SPIDER, CODE, TOOLS. - What it does: It calculates its inputs. Defines press, firstFn, reason, link, internal. - Downstream impact: Used directly by 1 file: Assembly (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/). Reached from 1 other entry point, including Iterations — 36 Elements Assembly Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/). - Signatures: `export press(name, t, ctx)`; `firstFn(el)`; `entry(man.graphs || [])`; `node(g.nodes || [])`; `file(e.files || [])`; `layer(m.layers || [])`; `reason(text)`; `link(href, text)`; `internal(go, text, deep)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Assembly - File: galaxies-wafers/iterations/36-elements-assembly/assembly.mjs (JavaScript, 954 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/36-elements-assembly/assembly.mjs#L1-L954 - Page: https://code.globalgrid2050.com/explore-code/s/1214.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that draws provenance and elements, using SHA-256, and uses data from the elements repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/. - What it achieves (comment): It gets URL (`getURL`), builds source rows (`buildSourceRows`) and sets row (`setRow`). The same universe at four assembly levels, each a zoom gate: sequence order, read from the numbered database (`families.json` `lineOffset`/lineCount into lines.bin). It responds to click, change and pointerdown events. - What it does: It draws provenance, elements, functions and surfaces. Defines 73 functions or classes, including $, el, s, inQueue, getURL. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: data source: elements data; JSON file provenance.json; JSON file elements.json; JSON file functions.json; JSON file surfaces.json; JSON file apps.json; JSON file families.json. Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 36 Elements Assembly Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/. - Signatures: `$(id)`; `el(tag, cls, text)`; `inQueue(task)`; `getURL(url, as, onStart)`; `buildSourceRows()`; `setRow(id, state, note)`; `hex(buf)`; `load(id)`; `want(prov.numbered_database || [])`; `index(id, v)`; `ensure(level)`; `refuse(msg, kind = 'refusal')`; `setCard(title, sub)`; `actions(...nodes)`; `button(label, fn, cls)`; `sayGate(t)`; `writeURL()`; `setLevel(L, why)`; `paint()`; `famN(key)`; `engineFiles(e)`; `bonded(list)`; `dangling(list)`; `stateWords(e)`; `challengeFrom(e)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: elements data; JSON file provenance.json; JSON file elements.json; JSON file functions.json; JSON file surfaces.json; JSON file apps.json; JSON file families.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 4 estate files (import 3, dynamic-import 1); used by 1; mentioned by 0 ### Engine - File: galaxies-wafers/iterations/36-elements-assembly/engine.mjs (JavaScript, 132 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/36-elements-assembly/engine.mjs#L1-L132 - Page: https://code.globalgrid2050.com/explore-code/s/1215.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that fetches cables and interconnectors, using haversine. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/. - What it achieves (comment): It checks proof (`checkProof`) and runs worker (`runInWorker`). Level 4, IN ACTION. Its code works with 100 kW. - What it does: It fetches cables and interconnectors. Defines collapse, checkProof, refuse, runInWorker, done. Side effects: makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables, interconnectors. - Downstream impact: Used directly by 1 file: Assembly (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/). Reached from 1 other entry point, including Iterations — 36 Elements Assembly Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/). - Signatures: `export collapse(s)`; `export checkProof(fx, proofText)`; `export runInWorker(path, fx)`; `refuse()`; `done(r)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 36 Elements Assembly Page - File: galaxies-wafers/iterations/36-elements-assembly/index.html (HTML, 67 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/36-elements-assembly/index.html#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/1215.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/ - Synopsis: A web page in Galaxies Wafers that reads inputs for gate. Published at https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/. - What it achieves (comment): Assembly — lines into functions, functions into elements, elements into apps, and in action. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Iterations — 36 Elements Assembly Style Sheet - File: galaxies-wafers/iterations/36-elements-assembly/style.css (CSS, 85 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/36-elements-assembly/style.css#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/1215.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/ - Synopsis: A style sheet in Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/. - What it achieves (comment): 390 px first; the desktop is the same column with more room. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 36 Elements Assembly Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Wafer - File: galaxies-wafers/iterations/36-elements-assembly/wafer.mjs (JavaScript, 234 lines) · role render · stage output - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/36-elements-assembly/wafer.mjs#L1-L234 - Page: https://code.globalgrid2050.com/explore-code/s/1216.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that draws on a canvas. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/. - What it achieves (comment): It is built from the wafer class (`Wafer`) and the mark step (`mark`). Level 1's dark wafer (base: iteration 21, Dark Pixels). - What it does: It draws its content. Defines Wafer, sh, mk, mark. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "It is the basemap and it never changes (`wafer.mjs`)." - Inputs & outputs: Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Assembly (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/). Reached from 1 other entry point, including Iterations — 36 Elements Assembly Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/36-elements-assembly/). - Signatures: `export class Wafer`; `constructor(glCanvas, overlay)`; `init(keys)`; `sh(t, s)`; `mk(data)`; `resize()`; `setRun(seq, ringKey)`; `frame()`; `render()`; `x(P[i * 2] - v.x)`; `toScreen(x, y)`; `drawRun()`; `mark(x, y, col, r)`; `nearestSeq(cx, cy)`; `d(x - cx)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Iterations — 37 Hidden Wires - File: galaxies-wafers/iterations/37-hidden-wires/app.mjs (JavaScript, 638 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/37-hidden-wires/app.mjs#L1-L638 - Page: https://code.globalgrid2050.com/explore-code/s/1216.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/37-hidden-wires/ - Synopsis: A JavaScript module in Galaxies Wafers that draws blocks and compounds, and uses data from GitHub API and the star-maker and stars repositories. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/37-hidden-wires/. - What it achieves (comment): It fetches queue (`FetchQueue`), fetches once (`fetchOnce`) and updates ui state (`updateUIState`). Loading in Grid Atlas grammar, drawing on one canvas, one card re-filled. It responds to change, click and pointerdown events. - What it does: It draws blocks and compounds. Defines 39 functions or classes, including $, el, fmt, short, FetchQueue. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: data source: star-maker data; data source: stars data; data source: GitHub API; JSON file blocks.json; JSON file compounds.json; JSON file graph.json. Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 37 Hidden Wires Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/37-hidden-wires/). Reached from 1 other entry point, including Iterations — 46 Chemistry Ledger Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/37-hidden-wires/. - Signatures: `$(id)`; `el(tag, cls, text)`; `fmt(n)`; `short(s)`; `class FetchQueue`; `constructor(concurrency)`; `add(task)`; `fetchOnce(url, as)`; `updateUIState(id, state, detail)`; `hydrate(id)`; `buildNodes(extra = [])`; `endpointOf(name)`; `buildWires()`; `wireShown(w)`; `resize()`; `fit()`; `fitScale()`; `sx(x)`; `sy(y)`; `wx(px)`; `wy(py)`; `schedule()`; `inView(minx, miny, maxx, maxy, pad = 20)`; `draw()`; `label(text, X, Y, colour = ')` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: star-maker data; data source: stars data; data source: GitHub API; JSON file blocks.json; JSON file compounds.json; JSON file graph.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Hw - File: galaxies-wafers/iterations/37-hidden-wires/hw.css (CSS, 45 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/37-hidden-wires/hw.css#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1217.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/37-hidden-wires/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/37-hidden-wires/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 37 Hidden Wires Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/37-hidden-wires/). Reached from 1 other entry point, including Iterations — 46 Chemistry Ledger Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/37-hidden-wires/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 37 Hidden Wires Page - File: galaxies-wafers/iterations/37-hidden-wires/index.html (HTML, 69 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/37-hidden-wires/index.html#L1-L69 - Page: https://code.globalgrid2050.com/explore-code/s/1217.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/37-hidden-wires/ - Synopsis: A web page in Galaxies Wafers covering substations and cables. Published at https://ventusltd.github.io/galaxies-wafers/iterations/37-hidden-wires/. - What it achieves (readme): The README says: The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/. - What it does: It draws substations and cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: substations, cables. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 1 file: Iterations — 46 Chemistry Ledger Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/37-hidden-wires/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (stylesheet 1, link 1, script-src 1); used by 1; mentioned by 0 ### Wires - File: galaxies-wafers/iterations/37-hidden-wires/wires.mjs (JavaScript, 182 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/37-hidden-wires/wires.mjs#L1-L182 - Page: https://code.globalgrid2050.com/explore-code/s/1217.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/37-hidden-wires/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that parses message (`parseMessage`) and counts failures (`countFailures`). Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/37-hidden-wires/. - What it achieves (comment): It parses message (`parseMessage`), counts failures (`countFailures`) and registers index (`registerIndex`). The arithmetic of Hidden Wires, with no DOM and no fetch. - What it does: It lists and searches its content. Defines 13 functions or classes, including parseMessage, tokens, legend, countFailures, unplugSuppliers. - Downstream impact: Used directly by 1 file: Iterations — 37 Hidden Wires (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/37-hidden-wires/). Reached from 2 other entry points, including Iterations — 37 Hidden Wires Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/37-hidden-wires/); Iterations — 46 Chemistry Ledger Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/). - Signatures: `export parseMessage(text)`; `export tokens(formula)`; `export legend(markdown)`; `export countFailures(doc)`; `export unplugSuppliers(doc, text, hostSymbol, symbols)`; `export decayEdges(graph, text)`; `export registerIndex(reg)`; `export camel(s)`; `export declaredNow(idx, hostTitle, needed)`; `export vaccineMentions(names, wire)`; `export layout(blocks, extraNames, R = 100)`; `export curve(a, b, bow = 0.22, steps = 24)`; `export distToSegment(px, py, ax, ay, bx, by)`; `r(w.stamps[s] ||= { min: stamp, max: stamp, set: new Set() })`; `un((doc && doc.compounds) || [])`; `node(graph.nodes || [])`; `dep(host.depends_on || [])`; `need(host.needs || [])`; `candidateDeps(host.depends_on || [])`; `mx(a[0] + b[0])` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 39 Decisions and Permission - File: galaxies-wafers/iterations/39-decisions-and-permission/app.mjs (JavaScript, 683 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/39-decisions-and-permission/app.mjs#L1-L683 - Page: https://code.globalgrid2050.com/explore-code/s/1218.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/ - Synopsis: A JavaScript module in Galaxies Wafers that uses haversine using data from GitHub API and the stars repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/. - What it achieves (comment): It fetches queue (`FetchQueue`), fetches once (`fetchOnce`) and updates ui state (`updateUIState`). No Record, No Permission — the page. It responds to change, click and submit events. - What it does: It draws its content. Defines 56 functions or classes, including WAFER, CODE, ELEMENT, $, el. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: data source: stars data; data source: GitHub API; JSON file graph.json. Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 39 Decisions and Permission Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/. - Signatures: `WAFER(n)`; `CODE(n)`; `ELEMENT(key)`; `$(id)`; `el(tag, cls, text)`; `link(href, text, cls)`; `short(s)`; `class FetchQueue`; `constructor(concurrency)`; `add(task)`; `fetchOnce(url, as)`; `updateUIState(id, state, detail)`; `tick(id)`; `hydrate(id)`; `loadIndex()`; `pick(names)`; `loadRecord(id)`; `loadBoard(b, keep = [])`; `boardsTotal()`; `loadedList()`; `rebuild()`; `buildEdges()`; `why(r)`; `paintAll()`; `countStatus()` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; data source: GitHub API; JSON file graph.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Dec - File: galaxies-wafers/iterations/39-decisions-and-permission/dec.css (CSS, 65 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/39-decisions-and-permission/dec.css#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/1219.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 39 Decisions and Permission Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 39 Decisions and Permission Page - File: galaxies-wafers/iterations/39-decisions-and-permission/index.html (HTML, 76 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/39-decisions-and-permission/index.html#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1219.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/ - Synopsis: A web page in Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/. - What it achieves (comment): No Record, No Permission. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file graph.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file graph.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (link 3, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Records - File: galaxies-wafers/iterations/39-decisions-and-permission/records.mjs (JavaScript, 235 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/39-decisions-and-permission/records.mjs#L1-L235 - Page: https://code.globalgrid2050.com/explore-code/s/1219.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that parses schema (`parseSchema`). Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/. - What it achieves (comment): It parses schema (`parseSchema`), splits key (`splitKey`) and reads key (`readKey`). No Record, No Permission — the arithmetic, with no DOM. - What it does: It lists and searches its content. Defines 19 functions or classes, including parseSchema, splitKey, atomProblem, keyProblem, isStr. - Downstream impact: Used directly by 1 file: Iterations — 39 Decisions and Permission (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/). Reached from 1 other entry point, including Iterations — 39 Decisions and Permission Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/39-decisions-and-permission/). - Signatures: `export parseSchema(md)`; `export splitKey(key)`; `export atomProblem(atom, schema)`; `export keyProblem(key, schema)`; `export validate(rec, fileName, schema)`; `export crossCheck(records)`; `export keysOf(rec)`; `export readKey(input, schema)`; `export permission(k, loaded)`; `export numberOf(id)`; `export boardOf(n)`; `export stonePoint(n)`; `export layoutBoard(recs)`; `isStr(v)`; `isStrArr(v)`; `REAL_DATE(s)`; `norm(ks)`; `may(decided.length ? decided : open)`; `rank(d)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 40 Same Name Same Body - File: galaxies-wafers/iterations/40-same-name-same-body/app.mjs (JavaScript, 617 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/40-same-name-same-body/app.mjs#L1-L617 - Page: https://code.globalgrid2050.com/explore-code/s/1220.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/40-same-name-same-body/ - Synopsis: A JavaScript module in Galaxies Wafers that draws provenance and families, using haversine, and uses data from the stars repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/40-same-name-same-body/. - What it achieves (comment): It fetches queue (`FetchQueue`), fetches once (`fetchOnce`) and updates ui state (`updateUIState`). Loading in Grid Atlas grammar (WAIT, LOAD, OK, EMPTY, FAIL; one queue of at most 3 fetches, 15 s timeout, one promise per URL, retry by ticking again). It responds to change, click and submit events. - What it does: It draws provenance and families. Defines 38 functions or classes, including $, el, plural, pct, FetchQueue. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: data source: stars data; JSON file provenance.json; JSON file families.json. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Iterations — 40 Same Name Same Body Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/40-same-name-same-body/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/40-same-name-same-body/. - Signatures: `$(id)`; `el(tag, cls, text)`; `plural(n, w)`; `pct(x)`; `class FetchQueue`; `constructor(c)`; `fetchOnce(url, as)`; `updateUIState(id, state, detail)`; `progress(frac, text)`; `hydrate(id)`; `loadCompute()`; `loadGround()`; `paintCases()`; `paintFinding()`; `famOf(g)`; `listNow()`; `paintRanks()`; `cardText(head, text)`; `selectName(g, body)`; `colourOf(i)`; `paintLegend()`; `paintGroupCard()`; `add(k, v)`; `selectBody(b)`; `resize()` (and 14 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; JSON file provenance.json; JSON file families.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 1, url-import-meta 1); used by 1; mentioned by 0 ### Iterations — 40 Same Name Same Body Page - File: galaxies-wafers/iterations/40-same-name-same-body/index.html (HTML, 92 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/40-same-name-same-body/index.html#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/1221.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/40-same-name-same-body/ - Synopsis: A web page in Galaxies Wafers that reads inputs for name. Published at https://ventusltd.github.io/galaxies-wafers/iterations/40-same-name-same-body/. - What it achieves (readme): The README says: The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/40-same-name-same-body/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (stylesheet 1, link 1, script-src 1); used by 0; mentioned by 0 ### Snsb - File: galaxies-wafers/iterations/40-same-name-same-body/snsb.css (CSS, 68 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/40-same-name-same-body/snsb.css#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/1221.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/40-same-name-same-body/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/40-same-name-same-body/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 40 Same Name Same Body Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/40-same-name-same-body/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/40-same-name-same-body/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Worker - File: galaxies-wafers/iterations/40-same-name-same-body/worker.js (JavaScript, 232 lines) · role render · stage output - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/40-same-name-same-body/worker.js#L1-L232 - Page: https://code.globalgrid2050.com/explore-code/s/1221.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/40-same-name-same-body/ - Synopsis: A JavaScript file in the iterations folder of Galaxies Wafers that works with same seq (`sameSeq`). Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/40-same-name-same-body/. - What it achieves (comment): It is built from the fnv step (`fnv`), the same seq helper (`sameSeq`) and the csr step (`csr`). Same Name, Same Body? — the arithmetic, in a Web Worker so the page stays live. - What it does: It lists and searches its content. Defines 7 functions or classes, including fnv, sameSeq, csr, intern, ranks. - Downstream impact: Used directly by 1 file: Iterations — 40 Same Name Same Body (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/40-same-name-same-body/). Reached from 1 other entry point, including Iterations — 40 Same Name Same Body Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/40-same-name-same-body/). - Signatures: `fnv(lines, o, c)`; `sameSeq(lines, o1, o2, c)`; `csr(groupOf, groups)`; `intern(values)`; `ranks(a)`; `avg(s + e)`; `spearman(x, y)`; `post(phase, done, total)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 41 Golden Angle - File: galaxies-wafers/iterations/41-golden-angle/app.mjs (JavaScript, 426 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/41-golden-angle/app.mjs#L1-L426 - Page: https://code.globalgrid2050.com/explore-code/s/1222.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/ - Synopsis: A JavaScript module in Galaxies Wafers that draws lines meta and 400kV, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/. - What it achieves (comment): It fetches queue (`FetchQueue`), fetches once (`fetchOnce`) and updates ui state (`updateUIState`). The Placement Law — the page. It responds to change, input and click events. - What it does: It draws lines meta and 400kV. Defines 27 functions or classes, including $, el, f4, FetchQueue, fetchOnce. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file all-lines.meta.json. Out: canvas drawing. Voltage levels named: 400kV. - Downstream impact: Used directly by 1 file: Iterations — 41 Golden Angle Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/. - Signatures: `$(id)`; `el(tag, cls, text)`; `f4(x)`; `class FetchQueue`; `constructor(c)`; `add(task)`; `fetchOnce(url, as)`; `updateUIState(state, detail)`; `ensureKeys()`; `sliderToN(v)`; `nToSlider(n)`; `setN(n, fromSlider)`; `schedule()`; `prep(canvas)`; `frame(c, R)`; `scale(half - 6 * c.dpr)`; `splat(f, pos, n, rgb, a, pick)`; `j(y * w + x)`; `put(f)`; `renderS1()`; `measure(ang, n)`; `panel(ang, cv, dl, cap)`; `renderS2()`; `readKeys()`; `renderS3()` (and 6 more) - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Iterations — 41 Golden Angle Page - File: galaxies-wafers/iterations/41-golden-angle/index.html (HTML, 107 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/41-golden-angle/index.html#L1-L107 - Page: https://code.globalgrid2050.com/explore-code/s/1222.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/ - Synopsis: A web page in Galaxies Wafers that calculates planar distances and reads inputs for nrange, nnum and rings. Published at https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/. - What it achieves (comment): The Placement Law. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (link 3, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Law - File: galaxies-wafers/iterations/41-golden-angle/law.css (CSS, 71 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/41-golden-angle/law.css#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/1222.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 41 Golden Angle Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Law - File: galaxies-wafers/iterations/41-golden-angle/law.mjs (JavaScript, 237 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/41-golden-angle/law.mjs#L1-L237 - Page: https://code.globalgrid2050.com/explore-code/s/1223.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that counts rings (`countRings`), places linear (`placeLinear`), counts most (`countAtMost`) and calculates planar distances. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/. - What it achieves (comment): It counts rings (`countRings`), places linear (`placeLinear`) and counts most (`countAtMost`). The mathematics of The Placement Law, with no DOM and no fetch. - What it does: It calculates its inputs. Defines 18 functions or classes, including integers, placeWith, sameBits, digitsAgree, s. - Downstream impact: Used directly by 1 file: Iterations — 41 Golden Angle (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/). Reached from 1 other entry point, including Iterations — 41 Golden Angle Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/41-golden-angle/). - Signatures: `export PHI(1 + Math.sqrt(5))`; `export integers(n)`; `export placeWith(keys, theta)`; `export sameBits(a, b)`; `export digitsAgree(a, b)`; `export goldenCheck()`; `export continuedFraction(x, max = 14, tol = 1e-9)`; `export signedFrac(x)`; `export nearest(pos, keys, cell = SPACING)`; `export arms(theta, n, d)`; `export ringBounds(Rout, m)`; `export countRings(pos, bounds, limit = Infinity)`; `export placeLinear(keys, n)`; `export countAtMost(keys, n)`; `export gaps(keys)`; `export bands(keys, max, m)`; `s(x)`; `cx(x)`; `cy_cx(i)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Iterations — 42 Counts That Say Themselves - File: galaxies-wafers/iterations/42-counts-that-say-themselves/app.mjs (JavaScript, 454 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/42-counts-that-say-themselves/app.mjs#L1-L454 - Page: https://code.globalgrid2050.com/explore-code/s/1223.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/ - Synopsis: A JavaScript module in Galaxies Wafers that draws blocks, families and provenance, and uses data from GitHub API and the stars and elements repositories. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/. - What it achieves (comment): It fetches queue (`FetchQueue`), fetches once (`fetchOnce`) and counts lines md (`countLinesMd`). Loading in Grid Atlas grammar: every section exists from the start, nothing is fetched until the reader opens it, one queue of 4, a 15 s timeout on every fetch, one promise per URL. It responds to toggle events. - What it does: It draws blocks, families, provenance and elements. Defines 27 functions or classes, including rel, $, el, link, blob. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: data source: stars data; data source: elements data; data source: GitHub API; JSON file blocks.json; JSON file families.json; JSON file index.json; JSON file provenance.json; JSON file apps.json. - Downstream impact: Used directly by 1 file: Iterations — 42 Counts That Say Themselves Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/. - Signatures: `rel(p)`; `$(id)`; `el(tag, cls, text)`; `link(href, text)`; `blob(url, line)`; `cite(url, line)`; `class FetchQueue`; `constructor(n)`; `add(task)`; `withTimeout(run)`; `fetchOnce(url, as = 'json')`; `tryGet(url, as)`; `countLinesMd(onProgress)`; `addRow(sec, id, title)`; `fillRow(id, r)`; `failRow(id, title, reason)`; `paintTally()`; `paintMachine()`; `label(sec, state, detail)`; `hydrate(sec)`; `starsData()`; `nounRule(noun, S, family, tableNamedCite, famCite)`; `scanTyped(sec, url, S, family, tableNamedCite, famCite)`; `computedRow(sec, id, title, url, text, re, stated, recount, rule, ruleCite, note)`; `stars()` (and 11 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; data source: elements data; data source: GitHub API; JSON file blocks.json; JSON file families.json; JSON file index.json; JSON file provenance.json; JSON file apps.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (estate-url 2, import 1, url-import-meta 1); used by 1; mentioned by 0 ### Audit - File: galaxies-wafers/iterations/42-counts-that-say-themselves/audit.mjs (JavaScript, 104 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/42-counts-that-say-themselves/audit.mjs#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/1224.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that parses count (`parseCount`), finds typed (`findTyped`) and parses lines header (`parseLinesHeader`). Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/. - What it achieves (comment): It parses count (`parseCount`), finds typed (`findTyped`) and parses lines header (`parseLinesHeader`). Counts That Say Themselves — the rules. - What it does: It lists and searches its content. Defines 10 functions or classes, including parseCount, fmt, statusOf, locate, findTyped. - Downstream impact: Used directly by 1 file: Iterations — 42 Counts That Say Themselves (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/). Reached from 1 other entry point, including Iterations — 42 Counts That Say Themselves Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/). - Signatures: `export parseCount(s)`; `export fmt(n)`; `export statusOf(stated, recount)`; `export locate(text, re)`; `export findTyped(text)`; `export starsCounts(blocksDoc, families, index)`; `export parseLinesHeader(text)`; `export lineRowCounter()`; `take(ln)`; `push(chunk)`; `end()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Counts - File: galaxies-wafers/iterations/42-counts-that-say-themselves/counts.css (CSS, 42 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/42-counts-that-say-themselves/counts.css#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1224.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 42 Counts That Say Themselves Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/). Reached from 1 other entry point, including Iterations — 42 Counts That Say Themselves (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 42 Counts That Say Themselves Page - File: galaxies-wafers/iterations/42-counts-that-say-themselves/index.html (HTML, 76 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/42-counts-that-say-themselves/index.html#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1224.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/ - Synopsis: A web page in Galaxies Wafers that reads inputs for layer pick. Published at https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/. - What it achieves (readme): The README says: The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file index.json; form fields (user input). Out: web page. - Downstream impact: Used directly by 1 file: Iterations — 42 Counts That Say Themselves (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (stylesheet 1, link 1, script-src 1); used by 1; mentioned by 0 ### Iterations — 44 Vaccine Immunity - File: galaxies-wafers/iterations/44-vaccine-immunity/app.mjs (JavaScript, 630 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/44-vaccine-immunity/app.mjs#L1-L630 - Page: https://code.globalgrid2050.com/explore-code/s/1224.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/44-vaccine-immunity/ - Synopsis: A JavaScript module in Galaxies Wafers that draws last fired, using SHA-256 and uses data from GitHub API and the CVAA repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/44-vaccine-immunity/. - What it achieves (comment): It fetches queue (`FetchQueue`), fetches once (`fetchOnce`) and updates ui state (`updateUIState`). Loading in Grid Atlas grammar; one canvas for the ring, one card and one integrity table re-filled. It responds to click, change and toggle events. - What it does: It draws last fired. Defines 48 functions or classes, including short, $, el, link, FetchQueue. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: data source: cvaa data; data source: GitHub API; JSON file last-fired.json. Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 44 Vaccine Immunity Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/44-vaccine-immunity/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/44-vaccine-immunity/. - Signatures: `short(s)`; `$(id)`; `el(tag, cls, text)`; `link(href, text, cls)`; `class FetchQueue`; `constructor(concurrency)`; `add(task)`; `class HttpError`; `fetchOnce(url, as)`; `updateUIState(id, state, detail)`; `tick(id)`; `setText(id, text)`; `hydrate(id)`; `loadListing()`; `readWindow()`; `sha256hex(buf)`; `loadFile(file)`; `capText()`; `parsedMap()`; `refresh()`; `counts()`; `paintSummary()`; `paintIntegrity()`; `need(n)`; `paintQuestions()` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: cvaa data; data source: GitHub API; JSON file last-fired.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Imm - File: galaxies-wafers/iterations/44-vaccine-immunity/imm.css (CSS, 55 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/44-vaccine-immunity/imm.css#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/1225.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/44-vaccine-immunity/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/44-vaccine-immunity/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 44 Vaccine Immunity Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/44-vaccine-immunity/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/44-vaccine-immunity/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 44 Vaccine Immunity Page - File: galaxies-wafers/iterations/44-vaccine-immunity/index.html (HTML, 91 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/44-vaccine-immunity/index.html#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/1225.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/44-vaccine-immunity/ - Synopsis: A web page in Galaxies Wafers that draws last fired, transformers and cables, using SHA-256. Published at https://ventusltd.github.io/galaxies-wafers/iterations/44-vaccine-immunity/. - What it achieves (readme): The README says: The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/. - What it does: It draws last fired, transformers and cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: transformers, cables. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file last-fired.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/44-vaccine-immunity/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file last-fired.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (stylesheet 1, link 1, script-src 1); used by 0; mentioned by 0 ### Vax - File: galaxies-wafers/iterations/44-vaccine-immunity/vax.mjs (JavaScript, 127 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/44-vaccine-immunity/vax.mjs#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/1225.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/44-vaccine-immunity/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that parses name (`parseName`) and vaccine (`parseVaccine`) and builds edges (`buildEdges`), using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/44-vaccine-immunity/. - What it achieves (comment): It parses name (`parseName`), parses vaccine (`parseVaccine`) and builds edges (`buildEdges`). Immunity — the pure part. Parsing a vaccine file the way `cvaa/inoculate.mjs` reads it (filename rule, front matter, the five sections, the js block), the public wording adaptation, and the registry integrity counts. - What it does: Defines 11 functions or classes, including hasPrivateWord, adapt, parseName, frontMatter, normalise. - Downstream impact: Used directly by 1 file: Iterations — 44 Vaccine Immunity (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/44-vaccine-immunity/). Reached from 1 other entry point, including Iterations — 44 Vaccine Immunity Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/44-vaccine-immunity/). - Signatures: `export hasPrivateWord(s)`; `export adapt(s)`; `export parseName(name)`; `export frontMatter(text)`; `export normalise(text)`; `export parseVaccine(file, text)`; `export hex(buf)`; `export lockStatus(lock, file, rawHex, lfHex)`; `export orderRing(names)`; `export buildEdges(ring, parsed)`; `export reposNamed(text)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 45 Deeplink Round Trip - File: galaxies-wafers/iterations/45-deeplink-round-trip/app.mjs (JavaScript, 302 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/45-deeplink-round-trip/app.mjs#L1-L302 - Page: https://code.globalgrid2050.com/explore-code/s/1226.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/ - Synopsis: A JavaScript module in Galaxies Wafers that draws receivers and wind. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/. It extracts null reason (`extractNullReason`), lists receivers (`listReceivers`) and renders verdict (`renderVerdict`). - What it achieves (comment): 45 · The MAP Button, Round Trip. It responds to click, change and input events. - What it does: It draws receivers and wind. Defines 25 functions or classes, including $, esc, show, enqueue, pump. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: wind. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file receivers.json; JSON file current.json. - Downstream impact: Used directly by 1 file: Iterations — 45 Deeplink Round Trip Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/. - Signatures: `$(id)`; `esc(s)`; `show(v)`; `enqueue(task)`; `pump()`; `timedFetch(url, init = {})`; `cachedText(url)`; `syntheticRecords()`; `extractNullReason(src)`; `reasonText(bucket)`; `roundTrip()`; `fillReasons()`; `listReceivers(json)`; `measure()`; `count(needle)`; `analyse(text)`; `add(st, field, words)`; `strip(v)`; `renderVerdict()`; `chips()`; `set(k, v)`; `mapButton()`; `update()`; `questions()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file receivers.json; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Iterations — 45 Deeplink Round Trip Page - File: galaxies-wafers/iterations/45-deeplink-round-trip/index.html (HTML, 62 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/45-deeplink-round-trip/index.html#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/1226.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/ - Synopsis: A web page in Galaxies Wafers that reads inputs for edit and pick, covering substations. Published at https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/. - What it achieves (comment): The MAP Button, Round Trip. - What it does: It draws substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: substations. README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (stylesheet 1, link 1, script-src 1); used by 0; mentioned by 0 ### Iterations — 45 Deeplink Round Trip Style Sheet - File: galaxies-wafers/iterations/45-deeplink-round-trip/style.css (CSS, 41 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/45-deeplink-round-trip/style.css#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1226.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/ - Synopsis: A style sheet in Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 45 Deeplink Round Trip Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/45-deeplink-round-trip/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 46 Chemistry Ledger - File: galaxies-wafers/iterations/46-chemistry-ledger/app.mjs (JavaScript, 265 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/46-chemistry-ledger/app.mjs#L1-L265 - Page: https://code.globalgrid2050.com/explore-code/s/1226.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/ - Synopsis: A JavaScript module in Galaxies Wafers that draws compounds and uses data from the star-maker repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/. - What it achieves (comment): It fetches queue (`FetchQueue`), fetches once (`fetchOnce`) and sets label (`setLabel`). Grid Atlas loading grammar; arithmetic in `ledger.mjs`. It responds to click, resize and change events. - What it does: It draws compounds. Defines 19 functions or classes, including $, el, fmt, FetchQueue, fetchOnce. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: data source: star-maker data; JSON file compounds.json; JSON file graph.json. Out: canvas drawing. - Downstream impact: Used directly by 1 file: Iterations — 46 Chemistry Ledger Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/. - Signatures: `$(id)`; `el(tag, cls, text)`; `fmt(n)`; `class FetchQueue`; `constructor(n)`; `fetchOnce(url, as)`; `setLabel(id, base, state)`; `hydrateLedger()`; `buildGrid()`; `applyMode()`; `renderRule()`; `renderSummary()`; `renderCard(label)`; `add(k, v)`; `page()`; `renderQuestions()`; `hydrateGraph()`; `geom()`; `drawGraph()`; `P(l)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: star-maker data; JSON file compounds.json; JSON file graph.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Cl - File: galaxies-wafers/iterations/46-chemistry-ledger/cl.css (CSS, 59 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/46-chemistry-ledger/cl.css#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/1227.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/ - Synopsis: A style sheet in the iterations folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 46 Chemistry Ledger Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 46 Chemistry Ledger Page - File: galaxies-wafers/iterations/46-chemistry-ledger/index.html (HTML, 61 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/46-chemistry-ledger/index.html#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1227.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/ - Synopsis: A web page in Galaxies Wafers that reads inputs for open ledger and open graph. Published at https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/. - What it achieves (readme): The README says: The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (stylesheet 1, link 1, script-src 1); used by 0; mentioned by 0 ### Ledger - File: galaxies-wafers/iterations/46-chemistry-ledger/ledger.mjs (JavaScript, 87 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/46-chemistry-ledger/ledger.mjs#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/1227.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that splits element (`splitElement`), counts elements (`countElements`) and reads rules (`readRules`). Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/. - What it achieves (comment): It splits element (`splitElement`), counts elements (`countElements`) and reads rules (`readRules`). The arithmetic of the Chemistry Ledger. - What it does: It lists and searches its content. Defines 9 functions or classes, including parts, splitElement, countElements, readRules, isNoble. - Downstream impact: Used directly by 1 file: Iterations — 46 Chemistry Ledger (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/). Reached from 1 other entry point, including Iterations — 46 Chemistry Ledger Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/). - Signatures: `export parts(formula)`; `export splitElement(label)`; `export countElements(compounds)`; `export readRules(md)`; `export isNoble(e, rule)`; `export isRadioactive(e, rule)`; `export drawableEdges(graph)`; `export decayTotals(compounds, needle)`; `export layout(nodes)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Grid - File: galaxies-wafers/iterations/48-grid-challenge/grid.mjs (JavaScript, 177 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/48-grid-challenge/grid.mjs#L1-L177 - Page: https://code.globalgrid2050.com/explore-code/s/1227.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/48-grid-challenge/ - Synopsis: A JavaScript module in the iterations folder of Galaxies Wafers that draws elements and functions, using haversine, and uses data from the elements repository. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/48-grid-challenge/. - What it achieves (comment): It gets JSON (`getJSON`), matches element (`matchElement`) and renders counts (`renderCounts`). Which Element Meets Which Grid Question. It responds to toggle events. - What it does: It draws elements, functions, interconnectors and substations. Defines 14 functions or classes, including $, el, enqueue, pump, getJSON. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: interconnectors, substations. - Inputs & outputs: In: data source: elements data; JSON file elements.json; JSON file functions.json. - Downstream impact: Used directly by 1 file: Iterations — 48 Grid Challenge Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/48-grid-challenge/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/48-grid-challenge/. - Signatures: `export matchElement(e, terms)`; `$(id)`; `el(tag, cls, text)`; `enqueue(job)`; `pump()`; `getJSON(url)`; `catalogue()`; `esc(s)`; `wordRe(terms)`; `highlighted(text, terms)`; `assemblyButton(e)`; `appButton(e)`; `renderCounts()`; `openQuestion(q)`; `names(e.function_keys || [])` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: elements data; JSON file elements.json; JSON file functions.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Iterations — 48 Grid Challenge Page - File: galaxies-wafers/iterations/48-grid-challenge/index.html (HTML, 40 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/48-grid-challenge/index.html#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1227.html#f5 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/48-grid-challenge/ - Synopsis: A web page in Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/iterations/48-grid-challenge/. - What it achieves (comment): Which Element Meets Which Grid Question. Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/48-grid-challenge/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Iterations — 48 Grid Challenge Style Sheet - File: galaxies-wafers/iterations/48-grid-challenge/style.css (CSS, 31 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/48-grid-challenge/style.css#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/1227.html#f6 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/48-grid-challenge/ - Synopsis: A style sheet in Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/iterations/48-grid-challenge/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Iterations — 48 Grid Challenge Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/48-grid-challenge/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/48-grid-challenge/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Galaxies Wafers — Iterations Page - File: galaxies-wafers/iterations/index.html (HTML, 92 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/iterations/index.html#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/1227.html#f7 - Published at: https://ventusltd.github.io/galaxies-wafers/iterations/ - Synopsis: A web page using data from GitHub API. Published at https://ventusltd.github.io/galaxies-wafers/iterations/. It is built from the esc step (`esc`), the when step (`when`) and the card step (`card`). - What it achieves (readme): The README says: The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/. Its code works with 100 kW. It reads `index.json`. - What it does: It draws its content. Defines $, esc, when, card. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: data source: GitHub API; JSON file index.json. Out: web page. - Downstream impact: Used directly by 15 files: Iterations — 25 One Feeder Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/25-one-feeder/); Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html); Iterations — 24 Electrification Model Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/24-electrification-model/); and 11 more. Reached from 3 other entry points, including Iterations — 42 Counts That Say Themselves (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/); Iterations — 46 Chemistry Ledger Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/46-chemistry-ledger/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/iterations/. - Signatures: `$(id)`; `esc(s)`; `when(iso)`; `card(r, isNew)`; `extra(await res.json())` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file index.json]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 15; mentioned by 0 ### Galaxies Wafers — Lib - File: galaxies-wafers/lib.mjs (JavaScript, 119 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/lib.mjs#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/1227.html#f8 - Published at: https://ventusltd.github.io/galaxies-wafers/ - Synopsis: A JavaScript module that works with fanout count (`fanoutCount`) and connect answer (`connectAnswer`). Served with the page at https://ventusltd.github.io/galaxies-wafers/. It parses key (`parseKey`) and indexes key (`indexOfKey`). - What it achieves (comment): The logic of The Line Wafer, with no DOM and no fetch. - What it does: It lists and searches its content. Defines 9 functions or classes, including place, placeAll, parseKey, indexOfKey, ownersOf. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Downstream impact: Used directly by 45 files: Wafer Development Environment — Cable Cross Sections (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/); Layers Panel (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/); Layers Panel (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/); Layers Panel (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/04-400kv-engine/); and 41 more. Reached from 245 other entry points, including 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html); Galaxies Wafers — Index Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/); Galaxies Wafers — Iterations Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/). - Signatures: `export place(key)`; `export placeAll(keys)`; `export parseKey(raw)`; `export indexOfKey(keys, key)`; `export ownersOf(families, famLines)`; `export fanoutCount(owner)`; `export connectAnswer(a, b, { keys, owner })`; `export esc(s)`; `export fmt(n)`; `m(lo + hi)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 45; mentioned by 1 ### Judge Check - File: galaxies-wafers/proof/browser/judge.check.mjs (JavaScript, 22 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/proof/browser/judge.check.mjs#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/1227.html#f9 - Synopsis: A JavaScript module in the browser folder of Galaxies Wafers. - What it achieves (comment): Negative and positive fixtures for `judge`. - What it does: Side effects: starts processes. - Inputs & outputs: In: JSON file a.json. - Downstream impact: Used directly by 1 file: Browser Matrix Workflow (galaxies-wafers). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file a.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Judge - File: galaxies-wafers/proof/browser/judge.mjs (JavaScript, 10 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/proof/browser/judge.mjs#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/1227.html#f10 - Synopsis: A JavaScript module in the browser folder of Galaxies Wafers. It is built from the judge step (`judge`). - What it achieves (comment): The verdict for one browser job, kept pure so its failure cases can be proved without a browser (see judge.check.mjs). - What it does: It calculates its inputs. Defines judge. - Downstream impact: Used directly by 2 files: Judge Check (galaxies-wafers); Smoke (galaxies-wafers). Reached from 1 other entry point, including Browser Matrix Workflow (galaxies-wafers). - Signatures: `export judge({ errors = [], failedRequests = [], layers = {} })` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Root Check - File: galaxies-wafers/proof/browser/root.check.mjs (JavaScript, 252 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/proof/browser/root.check.mjs#L1-L252 - Page: https://code.globalgrid2050.com/explore-code/s/1228.html#f1 - Synopsis: A JavaScript module in the browser folder of Galaxies Wafers that zooms run (`zoomRun`). - What it achieves (comment): It zooms run (`zoomRun`) and is built from the check step (`check`) and the sleep step (`sleep`). The root page, checked in a real browser against the root it replaced. - What it does: It lists and searches its content. Defines 20 functions or classes, including check, sleep, serve, newPage, goto. Uses libraries node:http, node:fs, node:os, node:path, node:child_process. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Signatures: `check(name, ok, detail)`; `sleep(ms)`; `serve(dir)`; `newPage()`; `goto(u)`; `until(fn, arg, ms = 60000)`; `close()`; `tagsOf(page, ids)`; `allOK(ids)`; `zoomRun(page)`; `syntheticPinch(page)`; `ev(type, id, x, y)`; `cdpPinch(cdp)`; `touch(type, pts)`; `opened(page)`; `p95(z)`; `sample()`; `drag(dx, dy)`; `max(k)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 0; mentioned by 0 ### Smoke - File: galaxies-wafers/proof/browser/smoke.mjs (JavaScript, 74 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/proof/browser/smoke.mjs#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1228.html#f2 - Synopsis: A JavaScript module in the browser folder of Galaxies Wafers that tests smoke result. - What it achieves (comment): One browser job: load a served page, let its requested layers settle, zoom it for three seconds, and record what happened. It writes `smoke-result.json`. - What it does: It tests smoke result. Defines f, q. Uses libraries node:fs, puppeteer. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: Out: JSON file smoke-result.json. - Downstream impact: Used directly by 1 file: Browser Matrix Workflow (galaxies-wafers). - Signatures: `f(t)`; `q(p)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [JSON file smoke-result.json]; crs []; voltages [] - Edges: uses 2 estate files (import 1, estate-url 1); used by 1; mentioned by 0 ### Checks - File: galaxies-wafers/proof/checks.mjs (JavaScript, 188 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/proof/checks.mjs#L1-L188 - Page: https://code.globalgrid2050.com/explore-code/s/1228.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/proof/ - Synopsis: A JavaScript module in the proof folder of Galaxies Wafers that calculates planar distances, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/proof/. - What it achieves (comment): The checks behind The Line Wafer, written once and run in two places: `proof/index.html` runs them in a browser on a phone, `proof/wafer.check`.mjs runs them under Node with no browser for CI. - What it does: It calculates its inputs. Defines buildChecks. - Downstream impact: Used directly by 2 files: Galaxies Wafers — Proof Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/proof/); Wafer Check (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/proof/). Reached from 242 other entry points, including 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html); Galaxies Wafers — Index Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/); Galaxies Wafers — Iterations Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/proof/. - Signatures: `export buildChecks(D)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Engine Check - File: galaxies-wafers/proof/engine.check.mjs (JavaScript, 46 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/proof/engine.check.mjs#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/1228.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/proof/ - Synopsis: A JavaScript module in the proof folder of Galaxies Wafers. Served with the page at https://ventusltd.github.io/galaxies-wafers/proof/. It is built from the check step (`check`) and the throws step (`throws`). - What it achieves (comment): The code galaxy's deep-link contract, checked offline. - What it does: Defines check, throws. Side effects: starts processes. - Signatures: `check(n, c)`; `throws(fn, K)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Galaxies Wafers — Proof Page - File: galaxies-wafers/proof/index.html (HTML, 102 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/proof/index.html#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/1228.html#f5 - Published at: https://ventusltd.github.io/galaxies-wafers/proof/ - Synopsis: A web page that draws lines meta and families, using SHA-256. Published at https://ventusltd.github.io/galaxies-wafers/proof/. It is built from the fmt step (`fmt`) and the bin step (`bin`). - What it achieves (comment): Proofs — The Line Wafer. - What it does: It draws lines meta and families. Defines $, fmt, bin. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "The page (`index.html`, `app.mjs`, `lib.mjs`) is inherited unchanged from testcode/202609151339." - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json. Out: web page. - Downstream impact: Used directly by 16 files: Iterations — 01 Route Alpha Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/); Galaxies Wafers — Index Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/); Iterations — 02 Tunnels Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/); Iterations — 03 Code Particle Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/03-code-particle/); and 12 more. Reached from 226 other entry points, including 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html); Galaxies Wafers — Iterations Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/); Iterations — 09 Deeplink Receiver (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/09-deeplink-receiver/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/proof/. - Signatures: `$(id)`; `fmt(n)`; `bin(name, Kind)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (import 1, link 1); used by 16; mentioned by 0 ### Layers Check - File: galaxies-wafers/proof/layers.check.mjs (JavaScript, 99 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/proof/layers.check.mjs#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/1229.html#f1 - Published at: https://ventusltd.github.io/galaxies-wafers/proof/ - Synopsis: A JavaScript module in the proof folder of Galaxies Wafers that reads tunnels and definitely unlisted, using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/proof/. - What it achieves (comment): It reads bytes (`readBytes`) and is built from the JSON step (`json`) and the sha256hex step (`sha256hex`). The same checks `proof/layers.html` runs in a browser, run under Node with no browser, reading the layers from this repository and the numbered database from the GlobalGrid2050 checkout beside it. - What it does: It loads tunnels and definitely unlisted. Defines json, readBytes, sha256hex, unaccounted. Uses libraries node:fs, node:url, node:crypto. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file tunnels.json; JSON file definitely-unlisted.json. - Signatures: `json(u)`; `readBytes(f)`; `sha256hex(x)`; `unaccounted(names)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file tunnels.json; JSON file definitely-unlisted.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, url-import-meta 1); used by 0; mentioned by 0 ### Layers Checks - File: galaxies-wafers/proof/layers.checks.mjs (JavaScript, 82 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/proof/layers.checks.mjs#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/1229.html#f2 - Published at: https://ventusltd.github.io/galaxies-wafers/proof/ - Synopsis: A JavaScript module in the proof folder of Galaxies Wafers that builds layer checks (`buildLayerChecks`), using SHA-256. Served with the page at https://ventusltd.github.io/galaxies-wafers/proof/. - What it achieves (comment): It builds layer checks (`buildLayerChecks`) and is built from the keys of helper (`keysOf`) and the manifest checks helper (`manifestChecks`). The checks behind the layers, written once and run in two places: `proof/layers.html` runs them in a browser, `proof/layers.check`.mjs runs them under Node with no browser. - What it does: It calculates its inputs. Defines keysOf, manifestChecks, buildLayerChecks, doc. - Downstream impact: Used directly by 2 files: Layers Check (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/proof/); Layers (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/proof/layers.html). Reached from 19 other entry points, including 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html); Galaxies Wafers — Iterations Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/); Iterations — 24 Electrification Model Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/24-electrification-model/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/proof/. - Signatures: `export manifestChecks(manifest, readBytes, sha256hex)`; `export buildLayerChecks({ manifest, layers, keys })`; `keysOf(g)`; `doc()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Layers - File: galaxies-wafers/proof/layers.html (HTML, 110 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/proof/layers.html#L1-L110 - Page: https://code.globalgrid2050.com/explore-code/s/1229.html#f3 - Published at: https://ventusltd.github.io/galaxies-wafers/proof/layers.html - Synopsis: A web page in the proof folder of Galaxies Wafers. Published at https://ventusltd.github.io/galaxies-wafers/proof/layers.html. - What it achieves (name): Defines `fmt`, `esc` and `get`. - What it does: It draws its content. Defines $, fmt, esc, get. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Galaxies Wafers — Iterations Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/). Reached from 18 other entry points, including 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html); Iterations — 24 Electrification Model Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/24-electrification-model/); Iterations — 25 One Feeder Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/25-one-feeder/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/proof/layers.html. - Signatures: `$(id)`; `fmt(n)`; `esc(s)`; `get(url, as)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 2, import 1); used by 1; mentioned by 0 ### Layers Codex Test - File: galaxies-wafers/proof/layers_codex_test.py (Python, 135 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/proof/layers_codex_test.py#L1-L135 - Page: https://code.globalgrid2050.com/explore-code/s/1229.html#f4 - Published at: https://ventusltd.github.io/galaxies-wafers/proof/ - Synopsis: A test in the proof folder of Galaxies Wafers that uses SHA-256. It is built from the layer checks class (`LayerChecks`), the estate step (`estate`) and the sources step (`sources`). - What it achieves (comment): Small, offline regression checks for the additional layer builder. - What it does: It tests its inputs. Defines 20 functions or classes, including LayerChecks, estate, sources, record, test_block_ids_are_not_line_keys. Uses libraries copy, importlib.util, pathlib, unittest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/proof/. - Signatures: `class LayerChecks`; `estate(self)`; `sources(self)`; `record(self, source)`; `test_block_ids_are_not_line_keys(self)`; `test_corrupt_pack_is_refused(self)`; `test_boolean_is_not_a_key(self)`; `test_binary_alignment(self)`; `test_input_blob_integrity(self)`; `test_exact_source_not_name(self)`; `test_unique_exact_span_bridge(self)`; `test_changed_or_ambiguous_span_not_bridged(self)`; `test_pack_index_disagreement_refuses_anchor(self)`; `test_guard_extraction_does_not_claim_execution(self)`; `test_reader_parameters_from_exact_span(self)`; `test_invalid_geometry_and_count_refused(self)`; `test_non_finite_serialization_refused(self)`; `test_empty_reason_is_in_visible_metadata(self)`; `test_receiver_parameters_are_module_context(self)`; `test_canonical_bytes_deterministic(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Wafer Check - File: galaxies-wafers/proof/wafer.check.mjs (JavaScript, 37 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/proof/wafer.check.mjs#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/1229.html#f5 - Published at: https://ventusltd.github.io/galaxies-wafers/proof/ - Synopsis: A JavaScript module in the proof folder of Galaxies Wafers that reads lines meta and families. Served with the page at https://ventusltd.github.io/galaxies-wafers/proof/. - What it achieves (comment): It is built from the buf step (`buf`) and the arr step (`arr`). The same checks `proof/index.html` runs in a phone browser, run under Node with no browser at all, so CI can gate on them. - What it does: It loads lines meta and families. Defines buf, arr. Uses libraries node:fs. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json. - Signatures: `buf(n)`; `arr(n, K)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Galaxies Wafers — Style Sheet - File: galaxies-wafers/style.css (CSS, 162 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/style.css#L1-L162 - Page: https://code.globalgrid2050.com/explore-code/s/1229.html#f6 - Published at: https://ventusltd.github.io/galaxies-wafers/ - Synopsis: A style sheet. Served with the page at https://ventusltd.github.io/galaxies-wafers/. - What it achieves (comment): The Line Wafer. Designed at 430 px first; the desktop is the same layout with more room. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 6 files: Iterations — 01 Route Alpha Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/01-route-alpha/); Galaxies Wafers — Index Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/); Iterations — 02 Tunnels Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/02-tunnels/); Iterations — 11 the Bond Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/11-the-bond/); and 2 more. Reached from 240 other entry points, including 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html); Galaxies Wafers — Iterations Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/); Galaxies Wafers — Proof Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/proof/). It is itself an entry point, published at https://ventusltd.github.io/galaxies-wafers/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### GlobalGrid2050 — Kuiper Editions Page - File: globalgrid2050/kuiper-editions/index.html (HTML, 19 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-editions/index.html#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/1229.html#f7 - Published at: https://globalgrid2050.com/kuiper-editions/ - Synopsis: A web page using data from the kuiper-belt repository. Published at https://globalgrid2050.com/kuiper-editions/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/kuiper-editions/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 0; mentioned by 0 ### Assemble - File: globalgrid2050/kuiper-grid/drawing/assemble.mjs (JavaScript, 249 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/drawing/assemble.mjs#L1-L249 - Page: https://code.globalgrid2050.com/explore-code/s/1230.html#f1 - Published at: https://globalgrid2050.com/kuiper-grid/drawing/ - Synopsis: A JavaScript module in the drawing folder of GlobalGrid2050 that calculates planar distances. Served with the page at https://globalgrid2050.com/kuiper-grid/drawing/. - What it achieves (comment): It is built from the ease step (`ease`), the step step (`step`) and the targets step (`targets`). The one gathering animation of the estate. - What it does: It calculates its inputs. Defines 13 functions or classes, including ease, step, targets, cluster, ring. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 2 files: Kuiper Programs (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/); Wafer Development Environment — Proof K0030 Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609192238-proof-k0030/). Reached from 90 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/drawing/. - Signatures: `export ease(u)`; `export step(from, to, t, out)`; `export targets(shape, n, opts = {})`; `export raster(words)`; `export selftest()`; `cluster(n, { radius = 1 } = {})`; `ring(n, { radius = 1 } = {})`; `orbit(n, { radius = 1, e = 0.3 } = {})`; `clock(n, { radius = 1, date } = {})`; `put(x, y)`; `hand(count, turn, len)`; `text(words, n, { radius = 1, raster: own } = {})`; `say(good, what)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Design Record - File: globalgrid2050/kuiper-grid/drawing/design-record.js (JavaScript, 19 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/drawing/design-record.js#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/1230.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/drawing/ - Synopsis: A JavaScript file in the drawing folder of GlobalGrid2050 that draws Kuiper proposed table and cables. Served with the page at https://globalgrid2050.com/kuiper-grid/drawing/. - What it achieves (name): Defines `build`. - What it does: It draws Kuiper proposed table and cables. Defines build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables. - Inputs & outputs: Out: JSON file kuiper-proposed-table.json; downloaded file kuiper-proposed-table.json. - Downstream impact: Used directly by 1 file: Kuiper Grid — Drawing Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/). Reached from 109 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/drawing/. - Signatures: `build()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file kuiper-proposed-table.json; downloaded file kuiper-proposed-table.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Kuiper Grid — Drawing Page - File: globalgrid2050/kuiper-grid/drawing/index.html (HTML, 43 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/drawing/index.html#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1230.html#f3 - Published at: https://globalgrid2050.com/kuiper-grid/drawing/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for module, count and rows, covering cables. Published at https://globalgrid2050.com/kuiper-grid/drawing/. - What it achieves (comment): Solar array drawing. - What it does: It draws cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables. - Inputs & outputs: In: user-supplied file (file picker); form fields (user input). Out: web page. - Downstream impact: Used directly by 5 files: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 104 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/); GlobalGrid2050 — Kuiper Page (globalgrid2050, https://globalgrid2050.com/kuiper/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/drawing/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker); form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 9 estate files (script-src 7, link 1, iframe 1); used by 5; mentioned by 0 ### Kuiper Card - File: globalgrid2050/kuiper-grid/drawing/kuiper-card.js (JavaScript, 277 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/drawing/kuiper-card.js#L1-L277 - Page: https://code.globalgrid2050.com/explore-code/s/1230.html#f4 - Published at: https://globalgrid2050.com/kuiper-grid/drawing/ - Synopsis: A JavaScript file in the drawing folder of GlobalGrid2050 that converts to world (`toWorld`) and steps anim (`stepAnim`). Served with the page at https://globalgrid2050.com/kuiper-grid/drawing/. - What it achieves (comment): It shows new (`showNew`) and is built from the to world helper (`toWorld`) and the card for helper (`cardFor`). A cartridge of the Kuiper shell. It responds to toggle and click events. - What it does: It draws its content. Defines 19 functions or classes, including toWorld, cardFor, esc, gh, ghLink. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Renderer (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/renderer.html). Reached from 110 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/drawing/. - Signatures: `toWorld(px, py)`; `cardFor(k)`; `esc(t)`; `gh(o)`; `ghLink(c, line)`; `el(tag, cls, text)`; `drow(dl, k, v)`; `linkTo(href, text)`; `workTable()`; `rawFile()`; `workCode(a, r, s)`; `open(i)`; `revealUnderHead()`; `show(a)`; `door(r.pub && frontOfWork[a.c.sha])`; `put(data)`; `goKey(k)`; `arriveAt(k)`; `showNew(hours)`; `stepAnim()`; `t(performance.now() - anim.t0)` - VEDIC: RECENT (GG2050-VEDIC-000041): Kuiper / Code navigation · Computer science / Interactive visualisation. hours, ordered_commits -> recent_band_animation_state - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Kuiper Chrome - File: globalgrid2050/kuiper-grid/drawing/kuiper-chrome.js (JavaScript, 529 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/drawing/kuiper-chrome.js#L1-L529 - Page: https://code.globalgrid2050.com/explore-code/s/1231.html#f1 - Published at: https://globalgrid2050.com/kuiper-grid/drawing/ - Synopsis: A JavaScript file in the drawing folder of GlobalGrid2050 that opens sheet (`openSheet`), shows systems (`showSystems`) and groups boxes (`groupBoxes`), covering cables and substations. Served with the page at https://globalgrid2050.com/kuiper-grid/drawing/. - What it achieves (comment): It opens sheet (`openSheet`), shows systems (`showSystems`) and marks state (`markState`). A cartridge of the Kuiper shell: HOW THE PAGE IS DRESSED. It responds to click, focus and keydown events. - What it does: It draws cables and substations. Defines 26 functions or classes, including PHONE, $, el, kick, relayout. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, substations. - Downstream impact: Used directly by 1 file: Renderer (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/renderer.html). Reached from 110 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/drawing/. - Signatures: `PHONE()`; `$(id)`; `el(tag, cls, t)`; `kick()`; `relayout()`; `judge()`; `boot()`; `isOpen()`; `shut()`; `loosen()`; `openSheet(title)`; `refire(extra)`; `camera(fn)`; `typed(text)`; `showSystems()`; `markState()`; `on(n === 'numbers on' && numbersOn)`; `fixChips()`; `devWatch()`; `groupBoxes()`; `keyOfRow(r)`; `readKey()`; `applyKey()`; `keepMark(m)`; `filterDrawing(d)` (and 2 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Kuiper Controls - File: globalgrid2050/kuiper-grid/drawing/kuiper-controls.js (JavaScript, 104 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/drawing/kuiper-controls.js#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/1231.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/drawing/ - Synopsis: A JavaScript file in the drawing folder of GlobalGrid2050 that loads tracked (`loadTracked`) and calculates planar distances. Served with the page at https://globalgrid2050.com/kuiper-grid/drawing/. - What it achieves (comment): It loads tracked (`loadTracked`) and is built from the raise flags helper (`raiseFlags`) and the light path helper (`lightPath`). A cartridge of the Kuiper shell. It responds to pointerup, pointercancel and wheel events. - What it does: It draws its content. Defines loadTracked, raiseFlags, lightPath, goToKey. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 2 files: Renderer (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/renderer.html); Releases — Kuiper Shell Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/). Reached from 111 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/drawing/. - Signatures: `loadTracked()`; `raiseFlags(idx)`; `lightPath(name, quiet)`; `goToKey(k)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Kuiper Pointer - File: globalgrid2050/kuiper-grid/drawing/kuiper-pointer.js (JavaScript, 25 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/drawing/kuiper-pointer.js#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1231.html#f3 - Published at: https://globalgrid2050.com/kuiper-grid/drawing/ - Synopsis: A JavaScript file in the drawing folder of GlobalGrid2050 that works with pointer gone (`pointerGone`) and calculates planar distances. Served with the page at https://globalgrid2050.com/kuiper-grid/drawing/. - What it achieves (comment): It is built from the pinch now helper (`pinchNow`) and the pointer gone helper (`pointerGone`). Native Kuiper pointer runtime, extracted from the public tests cartridge. It responds to pointerdown and pointermove events. - What it does: It calculates its inputs. Defines pinchNow, pointerGone. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Renderer (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/renderer.html). Reached from 110 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/drawing/. - Signatures: `pinchNow()`; `pointerGone(e)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/drawing/kuiper-programs.js (JavaScript, 4071 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/drawing/kuiper-programs.js#L1-L4071 - Page: https://code.globalgrid2050.com/explore-code/s/1232.html#f1 - Published at: https://globalgrid2050.com/kuiper-grid/drawing/ - Synopsis: A JavaScript module in the drawing folder of GlobalGrid2050 covering cables, using IEC 62446-1 and SHA-256 and uses data from the faraday repository. Served with the page at https://globalgrid2050.com/kuiper-grid/drawing/. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 352 kVA, 295 kVA and 320 kVA. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 208 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV, 1500V. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV, 1500V. - Downstream impact: Used directly by 1 file: Renderer (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/renderer.html). Reached from 110 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/drawing/. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 1; mentioned by 1 ### Power Block Planner - File: globalgrid2050/kuiper-grid/drawing/power-block-planner.js (JavaScript, 107 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/drawing/power-block-planner.js#L1-L107 - Page: https://code.globalgrid2050.com/explore-code/s/1237.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/drawing/ - Synopsis: A JavaScript module in the drawing folder of GlobalGrid2050 that draws Kuiper power block proposal, Kuiper power block station routes, cables and transformers. Served with the page at https://globalgrid2050.com/kuiper-grid/drawing/. - What it achieves (comment): It draws routes (`drawRoutes`) and is built from the number step (`number`) and the rational step (`rational`). New generic power-block proposal planner. Pure counts and optional local panel. Its code works with 500 MW. It responds to input, change and DOMContentLoaded events. - What it does: It draws Kuiper power block proposal, Kuiper power block station routes, cables and transformers. Defines 16 functions or classes, including number, rational, ceilRatio, multiply, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, transformers. - Inputs & outputs: In: JSON file kuiper-power-block-proposal.json; JSON file kuiper-power-block-station-routes.json; form fields (user input). Out: SVG drawing. - Downstream impact: Used directly by 1 file: Kuiper Grid — Drawing Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/). Reached from 109 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/drawing/. - Signatures: `number(v,name,min,max,whole)`; `rational(n)`; `ceilRatio(a,b)`; `multiply(a,b)`; `build(input)`; `invId(i)`; `collection(proposal,stationId,options={})`; `mount()`; `invalidateRoutes(message='Station or route inputs changed. Prepare routes again.')`; `invalidateProposal(message='Proposal inputs changed. Build the proposal again.')`; `drawRoutes(data)`; `xy(p)`; `node(name,attrs,text)`; `stationPlanSvg()`; `fail(e)`; `download(data,name)`; `render()` - domain_stage: agent_infra · commercial_user: landowner_planner, ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file kuiper-power-block-proposal.json; JSON file kuiper-power-block-station-routes.json; form fields (user input)]; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Public Start - File: globalgrid2050/kuiper-grid/drawing/public-start.js (JavaScript, 20 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/drawing/public-start.js#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1237.html#f3 - Published at: https://globalgrid2050.com/kuiper-grid/drawing/ - Synopsis: A JavaScript file in the drawing folder of GlobalGrid2050 that works with finite tree (`finiteTree`). Served with the page at https://globalgrid2050.com/kuiper-grid/drawing/. It is built from the finite tree helper (`finiteTree`). - What it achieves (comment): Generic release bootstrap. Native canvas, camera and string engine remain inherited. - What it does: Defines finiteTree. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Renderer (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/renderer.html). Reached from 110 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/drawing/. - Signatures: `finiteTree(value)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Renderer - File: globalgrid2050/kuiper-grid/drawing/renderer.html (HTML, 829 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/drawing/renderer.html#L1-L829 - Page: https://code.globalgrid2050.com/explore-code/s/1238.html#f1 - Published at: https://globalgrid2050.com/kuiper-grid/drawing/renderer.html - Synopsis: A web page in the drawing folder of GlobalGrid2050 that draws programs. Published at https://globalgrid2050.com/kuiper-grid/drawing/renderer.html. It builds link (`buildLink`) and parses link (`parseLink`). - What it achieves (code): Its `describe` function gives human readable address description from resolved address and repository metadata (VEDIC: explain). It reads `cosmos/programs.json`. It responds to error, webglcontextlost and resize events. - What it does: It draws programs. Defines 34 functions or classes, including buildLink, complaints, parseLink, fmt, day. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file programs.json; form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Kuiper Grid — Drawing Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/). Reached from 109 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/drawing/renderer.html. - Signatures: `buildLink(o, base)`; `v(o || {})`; `complaints(href)`; `parseLink(href)`; `fmt(n)`; `day(unix)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `boot()`; `appFor(owner, name, path)`; `full((owner || '') + '/' + (name || ''))`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)` (and 14 more) - VEDIC: EXPLAIN (GG2050-VEDIC-000040): Kuiper / Code navigation · Computer science / Interactive visualisation. resolved_address, repository_metadata -> human_readable_address_description - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file programs.json; form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 6 estate files (script-src 6); used by 1; mentioned by 1 ### Site Scale - File: globalgrid2050/kuiper-grid/drawing/site-scale.js (JavaScript, 164 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/drawing/site-scale.js#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/1239.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/drawing/ - Synopsis: A JavaScript file in the drawing folder of GlobalGrid2050 that draws synthetic project. Served with the page at https://globalgrid2050.com/kuiper-grid/drawing/. It cleans recipe (`cleanRecipe`), validates project (`validateProject`) and loads project (`loadProject`). - What it achieves (comment): Local synthetic hierarchy. Arithmetic instance addressing; no electrical solver or surveyed placement. It responds to kuiper, pointerdown and pointerup events. - What it does: It draws synthetic project. Defines 32 functions or classes, including $, copy, stringKey, cleanRecipe, storageKey. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: browser storage (getItem); user-supplied file (file picker); form fields (user input). Out: JSON file -synthetic-project.json; browser storage (setItem); canvas drawing. - Downstream impact: Used directly by 1 file: Kuiper Grid — Drawing Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/). Reached from 109 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/drawing/. - Signatures: `$(id)`; `copy(value)`; `stringKey(a)`; `cleanRecipe(r)`; `storageKey(id)`; `projectState(message)`; `validateProject(value)`; `persist()`; `loadProject(next,base)`; `saveCurrent(r)`; `fail(message)`; `number(value,name,min,max)`; `bid(n)`; `makeSpec(mw,wp,series)`; `countInBlock(b)`; `parseAddress(text)`; `stopTrace()`; `clearOldDrawing()`; `cells()`; `buildNative()`; `x(i%cols)`; `status()`; `show(newLevel)`; `generate(mw=$('scale-mw').value,wp=$('scale-wp').value,series=$('scale-series').value)`; `openItem(item)` (and 9 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [browser storage (getItem); user-supplied file (file picker); form fields (user input)]; out [JSON file -synthetic-project.json; browser storage (setItem); canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### View Mode - File: globalgrid2050/kuiper-grid/drawing/view-mode.js (JavaScript, 29 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/drawing/view-mode.js#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1239.html#f3 - Published at: https://globalgrid2050.com/kuiper-grid/drawing/ - Synopsis: A JavaScript file in the drawing folder of GlobalGrid2050 that marks advanced (`markAdvanced`). Served with the page at https://globalgrid2050.com/kuiper-grid/drawing/. It marks advanced (`markAdvanced`). - What it achieves (name): Defines `markAdvanced` and `set`. - What it does: It draws its content. Defines markAdvanced, set. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Kuiper Grid — Drawing Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/). Reached from 109 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/drawing/. - Signatures: `markAdvanced()`; `set(mode)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Kuiper Chrome - File: globalgrid2050/kuiper-grid/i0073/cartridges/003200000000-kuiper-chrome.js (JavaScript, 35 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/003200000000-kuiper-chrome.js#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/1239.html#f4 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050. It is built from the set step (`set`). - What it achieves (comment): A cartridge of the Kuiper shell: HOW THE PAGE IS DRESSED. It responds to click and keydown events. - What it does: It draws its content. Defines set. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `set(open)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/003300000000-kuiper-programs.js (JavaScript, 223 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/003300000000-kuiper-programs.js#L1-L223 - Page: https://code.globalgrid2050.com/explore-code/s/1239.html#f5 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that makes body (`makeBody`), sets tag (`setTag`), makes app buttons (`makeAppButtons`) and calculates planar distances. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and makes app buttons (`makeAppButtons`). A cartridge of the Kuiper shell. It responds to click and keydown events. - What it does: Defines 27 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)`; `closeCard()`; `codeWindow(lines, a, b, at)` (and 4 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0073/cartridges/003600000000-kuiper-programs.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Tests - File: globalgrid2050/kuiper-grid/i0073/cartridges/003400000000-kuiper-tests.js (JavaScript, 864 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/003400000000-kuiper-tests.js#L1-L864 - Page: https://code.globalgrid2050.com/explore-code/s/1240.html#f1 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that tests link contract, cables, solar and battery storage (BESS), and uses data from the GridAtlas repository. - What it achieves (comment): It is built from the finish selftest helper (`finishSelftest`), the path selftest helper (`pathSelftest`) and the in window helper (`inWindow`). A cartridge of the Kuiper shell. It reads `cosmos/link-contract.json`. It responds to pointerdown and pointermove events. - What it does: It tests link contract, cables, solar and battery storage (BESS). Defines 28 functions or classes, including finishSelftest, pathSelftest, inWindow, on, buttonsSelftest. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, battery storage (BESS). - Inputs & outputs: In: data source: gridatlas data; JSON file link-contract.json. - Signatures: `finishSelftest(c, n, lines)`; `pathSelftest(name)`; `mid(Math.sqrt(commits[best].k0) + Math.sqrt(commits[best].k1))`; `inWindow(r)`; `on(el)`; `buttonsSelftest()`; `settle()`; `litPixels()`; `isolateSelftest()`; `onScreen(el)`; `census()`; `x0(0 - cx)`; `want(appWork[pr.select.app] || [])`; `ring(t0, t1)`; `ev(t, px2, py2)`; `ask(label)`; `q((h2 - 1 - yy) * w + xx)`; `cardSelftest()`; `esc1(t)`; `box(el)`; `same(a, b)`; `src(await Promise.all(parts.map(u => fetch(u).then(r => r.text()))))`; `wx(p[0] - cx)`; `want_app(appFor(withApp.owner, withApp.repo, withApp.path) || {})`; `named(path, button, live)` (and 13 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0073/releases/003100000000-kuiper-shell/kuiper-tests.js) · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file link-contract.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (estate-url 3); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/003600000000-kuiper-programs.js (JavaScript, 231 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/003600000000-kuiper-programs.js#L1-L231 - Page: https://code.globalgrid2050.com/explore-code/s/1241.html#f2 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that makes body (`makeBody`), sets tag (`setTag`), makes app buttons (`makeAppButtons`) and calculates planar distances. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and makes app buttons (`makeAppButtons`). A cartridge of the Kuiper shell. It responds to click and keydown events. - What it does: Defines 27 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)`; `closeCard()`; `codeWindow(lines, a, b, at)` (and 4 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Card - File: globalgrid2050/kuiper-grid/i0073/cartridges/003700000000-kuiper-card.js (JavaScript, 259 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/003700000000-kuiper-card.js#L1-L259 - Page: https://code.globalgrid2050.com/explore-code/s/1241.html#f3 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that converts to world (`toWorld`) and steps anim (`stepAnim`). - What it achieves (comment): It shows new (`showNew`) and is built from the to world helper (`toWorld`) and the card for helper (`cardFor`). A cartridge of the Kuiper shell. It responds to toggle and click events. - What it does: It draws its content. Defines 18 functions or classes, including toWorld, cardFor, esc, gh, ghLink. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `toWorld(px, py)`; `cardFor(k)`; `esc(t)`; `gh(o)`; `ghLink(c, line)`; `el(tag, cls, text)`; `drow(dl, k, v)`; `linkTo(href, text)`; `workTable()`; `rawFile(owner, repo, sha, path)`; `workCode(a, r, s)`; `open(i)`; `show(a)`; `door(r.pub && frontOfWork[a.c.sha])`; `put(data)`; `goKey(k)`; `arriveAt(k)`; `showNew(hours)`; `stepAnim()`; `t(performance.now() - anim.t0)` - VEDIC: RECENT (GG2050-VEDIC-000041): Kuiper / Code navigation · Computer science / Interactive visualisation. hours, ordered_commits -> recent_band_animation_state - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0073/cartridges/003900000000-kuiper-card.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Tests - File: globalgrid2050/kuiper-grid/i0073/cartridges/003800000000-kuiper-tests.js (JavaScript, 881 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/003800000000-kuiper-tests.js#L1-L881 - Page: https://code.globalgrid2050.com/explore-code/s/1242.html#f1 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that tests link contract, cables, solar and battery storage (BESS), and uses data from the GridAtlas repository. - What it achieves (comment): It is built from the finish selftest helper (`finishSelftest`), the path selftest helper (`pathSelftest`) and the in window helper (`inWindow`). A cartridge of the Kuiper shell. It reads `cosmos/link-contract.json`. It responds to pointerdown and pointermove events. - What it does: It tests link contract, cables, solar and battery storage (BESS). Defines 28 functions or classes, including finishSelftest, pathSelftest, inWindow, on, buttonsSelftest. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, battery storage (BESS). - Inputs & outputs: In: data source: gridatlas data; JSON file link-contract.json. - Signatures: `finishSelftest(c, n, lines)`; `pathSelftest(name)`; `mid(Math.sqrt(commits[best].k0) + Math.sqrt(commits[best].k1))`; `inWindow(r)`; `on(el)`; `buttonsSelftest()`; `settle()`; `litPixels()`; `isolateSelftest()`; `onScreen(el)`; `census()`; `x0(0 - cx)`; `want(appWork[pr.select.app] || [])`; `ring(t0, t1)`; `ev(t, px2, py2)`; `ask(label)`; `q((h2 - 1 - yy) * w + xx)`; `cardSelftest()`; `esc1(t)`; `box(el)`; `same(a, b)`; `src(await Promise.all(parts.map(u => fetch(u).then(r => r.text()))))`; `wx(p[0] - cx)`; `want_app(appFor(withApp.owner, withApp.repo, withApp.path) || {})`; `named(path, button, live)` (and 13 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0073/releases/003100000000-kuiper-shell/kuiper-tests.js) · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file link-contract.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (estate-url 3); used by 0; mentioned by 0 ### Kuiper Card - File: globalgrid2050/kuiper-grid/i0073/cartridges/003900000000-kuiper-card.js (JavaScript, 266 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/003900000000-kuiper-card.js#L1-L266 - Page: https://code.globalgrid2050.com/explore-code/s/1243.html#f2 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that converts to world (`toWorld`) and steps anim (`stepAnim`). - What it achieves (comment): It shows new (`showNew`) and is built from the to world helper (`toWorld`) and the card for helper (`cardFor`). A cartridge of the Kuiper shell. It responds to toggle and click events. - What it does: It draws its content. Defines 18 functions or classes, including toWorld, cardFor, esc, gh, ghLink. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `toWorld(px, py)`; `cardFor(k)`; `esc(t)`; `gh(o)`; `ghLink(c, line)`; `el(tag, cls, text)`; `drow(dl, k, v)`; `linkTo(href, text)`; `workTable()`; `rawFile(owner, repo, sha, path)`; `workCode(a, r, s)`; `open(i)`; `show(a)`; `door(r.pub && frontOfWork[a.c.sha])`; `put(data)`; `goKey(k)`; `arriveAt(k)`; `showNew(hours)`; `stepAnim()`; `t(performance.now() - anim.t0)` - VEDIC: RECENT (GG2050-VEDIC-000041): Kuiper / Code navigation · Computer science / Interactive visualisation. hours, ordered_commits -> recent_band_animation_state - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Card - File: globalgrid2050/kuiper-grid/i0073/cartridges/004000000000-kuiper-card.js (JavaScript, 283 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/004000000000-kuiper-card.js#L1-L283 - Page: https://code.globalgrid2050.com/explore-code/s/1244.html#f1 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that converts to world (`toWorld`) and steps anim (`stepAnim`). - What it achieves (comment): It shows new (`showNew`) and is built from the to world helper (`toWorld`) and the card for helper (`cardFor`). A cartridge of the Kuiper shell. It responds to toggle and click events. - What it does: It draws its content. Defines 19 functions or classes, including toWorld, cardFor, esc, gh, ghLink. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `toWorld(px, py)`; `cardFor(k)`; `esc(t)`; `gh(o)`; `ghLink(c, line)`; `el(tag, cls, text)`; `drow(dl, k, v)`; `linkTo(href, text)`; `workTable()`; `rawFile(owner, repo, sha, path)`; `workCode(a, r, s)`; `open(i)`; `revealUnderHead()`; `show(a)`; `door(r.pub && frontOfWork[a.c.sha])`; `put(data)`; `goKey(k)`; `arriveAt(k)`; `showNew(hours)`; `stepAnim()`; `t(performance.now() - anim.t0)` - VEDIC: RECENT (GG2050-VEDIC-000041): Kuiper / Code navigation · Computer science / Interactive visualisation. hours, ordered_commits -> recent_band_animation_state - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/drawing/kuiper-card.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Tests - File: globalgrid2050/kuiper-grid/i0073/cartridges/004100000000-kuiper-tests.js (JavaScript, 897 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/004100000000-kuiper-tests.js#L1-L897 - Page: https://code.globalgrid2050.com/explore-code/s/1244.html#f2 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that tests link contract, cables, solar and battery storage (BESS), and uses data from the GridAtlas repository. - What it achieves (comment): It is built from the finish selftest helper (`finishSelftest`), the path selftest helper (`pathSelftest`) and the in window helper (`inWindow`). A cartridge of the Kuiper shell. It reads `cosmos/link-contract.json`. It responds to pointerdown and pointermove events. - What it does: It tests link contract, cables, solar and battery storage (BESS). Defines 28 functions or classes, including finishSelftest, pathSelftest, inWindow, on, buttonsSelftest. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, battery storage (BESS). - Inputs & outputs: In: data source: gridatlas data; JSON file link-contract.json. - Signatures: `finishSelftest(c, n, lines)`; `pathSelftest(name)`; `mid(Math.sqrt(commits[best].k0) + Math.sqrt(commits[best].k1))`; `inWindow(r)`; `on(el)`; `buttonsSelftest()`; `settle()`; `litPixels()`; `isolateSelftest()`; `onScreen(el)`; `census()`; `x0(0 - cx)`; `want(appWork[pr.select.app] || [])`; `ring(t0, t1)`; `ev(t, px2, py2)`; `ask(label)`; `q((h2 - 1 - yy) * w + xx)`; `cardSelftest()`; `esc1(t)`; `box(el)`; `same(a, b)`; `src(await Promise.all(parts.map(u => fetch(u).then(r => r.text()))))`; `wx(p[0] - cx)`; `want_app(appFor(withApp.owner, withApp.repo, withApp.path) || {})`; `named(path, button, live)` (and 13 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0073/releases/003100000000-kuiper-shell/kuiper-tests.js) · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file link-contract.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (estate-url 3); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/004200000000-kuiper-programs.js (JavaScript, 759 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/004200000000-kuiper-programs.js#L1-L759 - Page: https://code.globalgrid2050.com/explore-code/s/1246.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 that draws commands, solar, cables and substations, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 604 GWh. It responds to click, keydown and change events. - What it does: It draws commands, solar, cables and substations. Defines 76 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar, cables, substations. - Inputs & outputs: In: data source: faraday data; JSON file commands.json. - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)`; `closeCard()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file commands.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Tests - File: globalgrid2050/kuiper-grid/i0073/cartridges/004300000000-kuiper-tests.js (JavaScript, 898 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/004300000000-kuiper-tests.js#L1-L898 - Page: https://code.globalgrid2050.com/explore-code/s/1247.html#f2 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that tests link contract, cables, solar and battery storage (BESS), and uses data from the GridAtlas repository. - What it achieves (comment): It is built from the finish selftest helper (`finishSelftest`), the path selftest helper (`pathSelftest`) and the in window helper (`inWindow`). A cartridge of the Kuiper shell. It reads `cosmos/link-contract.json`. It responds to pointerdown and pointermove events. - What it does: It tests link contract, cables, solar and battery storage (BESS). Defines 28 functions or classes, including finishSelftest, pathSelftest, inWindow, on, buttonsSelftest. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, battery storage (BESS). - Inputs & outputs: In: data source: gridatlas data; JSON file link-contract.json. - Signatures: `finishSelftest(c, n, lines)`; `pathSelftest(name)`; `mid(Math.sqrt(commits[best].k0) + Math.sqrt(commits[best].k1))`; `inWindow(r)`; `on(el)`; `buttonsSelftest()`; `settle()`; `litPixels()`; `isolateSelftest()`; `onScreen(el)`; `census()`; `x0(0 - cx)`; `want(appWork[pr.select.app] || [])`; `ring(t0, t1)`; `ev(t, px2, py2)`; `ask(label)`; `q((h2 - 1 - yy) * w + xx)`; `cardSelftest()`; `esc1(t)`; `box(el)`; `same(a, b)`; `src(await Promise.all(parts.map(u => fetch(u).then(r => r.text()))))`; `wx(p[0] - cx)`; `want_app(appFor(withApp.owner, withApp.repo, withApp.path) || {})`; `named(path, button, live)` (and 13 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0073/releases/003100000000-kuiper-shell/kuiper-tests.js) · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file link-contract.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (estate-url 3); used by 0; mentioned by 0 ### Kuiper Chrome - File: globalgrid2050/kuiper-grid/i0073/cartridges/004400000000-kuiper-chrome.js (JavaScript, 40 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/004400000000-kuiper-chrome.js#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1248.html#f2 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050. - What it achieves (comment): A cartridge of the Kuiper shell: HOW THE PAGE IS DRESSED. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/004600000000-kuiper-programs.js (JavaScript, 885 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/004600000000-kuiper-programs.js#L1-L885 - Page: https://code.globalgrid2050.com/explore-code/s/1248.html#f3 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering solar, cables, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 500 kW and 604 GWh. It responds to click, keydown and change events. - What it does: It draws solar, cables, substations and transformers. Defines 82 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar, cables, substations, transformers. - Inputs & outputs: In: data source: faraday data; JSON file current.json. - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)`; `closeCard()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/004700000000-kuiper-programs.js (JavaScript, 1079 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/004700000000-kuiper-programs.js#L1-L1079 - Page: https://code.globalgrid2050.com/explore-code/s/1250.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering solar, substations, cables and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 500 kW and 604 GWh. It responds to click, keydown and focus events. - What it does: It draws solar, substations, cables and transformers. Defines 91 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar, substations, cables, transformers. - Inputs & outputs: In: data source: faraday data; JSON file current.json. - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)`; `closeCard()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0073/cartridges/005000000000-kuiper-programs.js) · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Tests - File: globalgrid2050/kuiper-grid/i0073/cartridges/004800000000-kuiper-tests.js (JavaScript, 918 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/004800000000-kuiper-tests.js#L1-L918 - Page: https://code.globalgrid2050.com/explore-code/s/1252.html#f1 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that tests link contract, cables, solar and battery storage (BESS), and uses data from the GridAtlas repository. - What it achieves (comment): It is built from the finish selftest helper (`finishSelftest`), the path selftest helper (`pathSelftest`) and the in window helper (`inWindow`). A cartridge of the Kuiper shell. It reads `cosmos/link-contract.json`. It responds to pointerdown and pointermove events. - What it does: It tests link contract, cables, solar and battery storage (BESS). Defines 29 functions or classes, including finishSelftest, pathSelftest, inWindow, on, buttonsSelftest. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, battery storage (BESS). - Inputs & outputs: In: data source: gridatlas data; JSON file link-contract.json. - Signatures: `finishSelftest(c, n, lines)`; `pathSelftest(name)`; `mid(Math.sqrt(commits[best].k0) + Math.sqrt(commits[best].k1))`; `inWindow(r)`; `on(el)`; `buttonsSelftest()`; `settle()`; `litPixels()`; `isolateSelftest()`; `onScreen(el)`; `reach(el)`; `census()`; `x0(0 - cx)`; `want(appWork[pr.select.app] || [])`; `ring(t0, t1)`; `ev(t, px2, py2)`; `ask(label)`; `q((h2 - 1 - yy) * w + xx)`; `cardSelftest()`; `esc1(t)`; `box(el)`; `same(a, b)`; `src(await Promise.all(parts.map(u => fetch(u).then(r => r.text()))))`; `wx(p[0] - cx)`; `want_app(appFor(withApp.owner, withApp.repo, withApp.path) || {})` (and 14 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0073/cartridges/005300000000-kuiper-tests.js) · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file link-contract.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (estate-url 3); used by 0; mentioned by 0 ### Kuiper Chrome - File: globalgrid2050/kuiper-grid/i0073/cartridges/004900000000-kuiper-chrome.js (JavaScript, 61 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/004900000000-kuiper-chrome.js#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1253.html#f2 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050. It is built from the judge step (`judge`). - What it achieves (comment): A cartridge of the Kuiper shell: HOW THE PAGE IS DRESSED. - What it does: It draws its content. Defines judge. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `judge()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/005000000000-kuiper-programs.js (JavaScript, 1107 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/005000000000-kuiper-programs.js#L1-L1107 - Page: https://code.globalgrid2050.com/explore-code/s/1253.html#f3 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering solar, substations, cables and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 500 kW and 604 GWh. It responds to click, keydown and focus events. - What it does: It draws solar, substations, cables and transformers. Defines 91 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar, substations, cables, transformers. - Inputs & outputs: In: data source: faraday data; JSON file current.json. - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)`; `closeCard()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/005100000000-kuiper-programs.js (JavaScript, 1211 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/005100000000-kuiper-programs.js#L1-L1211 - Page: https://code.globalgrid2050.com/explore-code/s/1255.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering solar, cables, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 50 kW, 500 kW and 604 GWh. It responds to click, keydown and focus events. - What it does: It draws solar, cables, substations and transformers. Defines 100 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar, cables, substations, transformers. - Inputs & outputs: In: data source: faraday data; JSON file current.json. - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)`; `closeCard()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/005200000000-kuiper-programs.js (JavaScript, 1249 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/005200000000-kuiper-programs.js#L1-L1249 - Page: https://code.globalgrid2050.com/explore-code/s/1257.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering solar, cables, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws solar, cables, substations and transformers. Defines 106 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar, cables, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Voltage levels named: 400kV. - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)`; `closeCard()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out []; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Tests - File: globalgrid2050/kuiper-grid/i0073/cartridges/005300000000-kuiper-tests.js (JavaScript, 939 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/005300000000-kuiper-tests.js#L1-L939 - Page: https://code.globalgrid2050.com/explore-code/s/1259.html#f1 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that tests link contract, cables, solar and battery storage (BESS), and uses data from the GridAtlas repository. - What it achieves (comment): It is built from the finish selftest helper (`finishSelftest`), the path selftest helper (`pathSelftest`) and the in window helper (`inWindow`). A cartridge of the Kuiper shell. It reads `cosmos/link-contract.json`. It responds to pointerdown and pointermove events. - What it does: It tests link contract, cables, solar and battery storage (BESS). Defines 29 functions or classes, including finishSelftest, pathSelftest, inWindow, on, buttonsSelftest. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, battery storage (BESS). - Inputs & outputs: In: data source: gridatlas data; JSON file link-contract.json. - Signatures: `finishSelftest(c, n, lines)`; `pathSelftest(name)`; `mid(Math.sqrt(commits[best].k0) + Math.sqrt(commits[best].k1))`; `inWindow(r)`; `on(el)`; `buttonsSelftest()`; `settle()`; `litPixels()`; `isolateSelftest()`; `onScreen(el)`; `reach(el)`; `census()`; `x0(0 - cx)`; `want(appWork[pr.select.app] || [])`; `ring(t0, t1)`; `ev(t, px2, py2)`; `ask(label)`; `q((h2 - 1 - yy) * w + xx)`; `cardSelftest()`; `esc1(t)`; `box(el)`; `same(a, b)`; `src(await Promise.all(parts.map(u => fetch(u).then(r => r.text()))))`; `wx(p[0] - cx)`; `want_app(appFor(withApp.owner, withApp.repo, withApp.path) || {})` (and 14 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file link-contract.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (estate-url 3); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/005400000000-kuiper-programs.js (JavaScript, 1316 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/005400000000-kuiper-programs.js#L1-L1316 - Page: https://code.globalgrid2050.com/explore-code/s/1260.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering solar, cables, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws solar, cables, substations and transformers. Defines 108 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar, cables, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Voltage levels named: 400kV. - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)`; `closeCard()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out []; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/005500000000-kuiper-programs.js (JavaScript, 1402 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/005500000000-kuiper-programs.js#L1-L1402 - Page: https://code.globalgrid2050.com/explore-code/s/1262.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering solar, cables, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws solar, cables, substations and transformers. Defines 117 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar, cables, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Voltage levels named: 400kV. - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)`; `closeCard()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out []; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/005600000000-kuiper-programs.js (JavaScript, 1521 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/005600000000-kuiper-programs.js#L1-L1521 - Page: https://code.globalgrid2050.com/explore-code/s/1264.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 128 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)`; `closeCard()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/005700000000-kuiper-programs.js (JavaScript, 1827 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/005700000000-kuiper-programs.js#L1-L1827 - Page: https://code.globalgrid2050.com/explore-code/s/1266.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering solar, cables, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws solar, cables, substations and transformers. Defines 145 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar, cables, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/005800000000-kuiper-programs.js (JavaScript, 2041 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/005800000000-kuiper-programs.js#L1-L2041 - Page: https://code.globalgrid2050.com/explore-code/s/1269.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 157 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0073/cartridges/006000000000-kuiper-programs.js) · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/005900000000-kuiper-programs.js (JavaScript, 2083 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/005900000000-kuiper-programs.js#L1-L2083 - Page: https://code.globalgrid2050.com/explore-code/s/1272.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 157 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0073/cartridges/006000000000-kuiper-programs.js) · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/006000000000-kuiper-programs.js (JavaScript, 2147 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/006000000000-kuiper-programs.js#L1-L2147 - Page: https://code.globalgrid2050.com/explore-code/s/1275.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 157 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/006100000000-kuiper-programs.js (JavaScript, 2298 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/006100000000-kuiper-programs.js#L1-L2298 - Page: https://code.globalgrid2050.com/explore-code/s/1278.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 165 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/006200000000-kuiper-programs.js (JavaScript, 2445 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/006200000000-kuiper-programs.js#L1-L2445 - Page: https://code.globalgrid2050.com/explore-code/s/1281.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 167 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/006300000000-kuiper-programs.js (JavaScript, 2517 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/006300000000-kuiper-programs.js#L1-L2517 - Page: https://code.globalgrid2050.com/explore-code/s/1285.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 171 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Chrome - File: globalgrid2050/kuiper-grid/i0073/cartridges/006400000000-kuiper-chrome.js (JavaScript, 472 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/006400000000-kuiper-chrome.js#L1-L472 - Page: https://code.globalgrid2050.com/explore-code/s/1289.html#f1 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that opens sheet (`openSheet`), groups boxes (`groupBoxes`) and filters drawing (`filterDrawing`) (units: mm²), covering cables. - What it achieves (comment): It opens sheet (`openSheet`), marks state (`markState`) and groups boxes (`groupBoxes`). A cartridge of the Kuiper shell: HOW THE PAGE IS DRESSED. It responds to click, focus and keydown events. - What it does: It draws cables. Defines 25 functions or classes, including PHONE, $, el, kick, relayout. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables. - Signatures: `PHONE()`; `$(id)`; `el(tag, cls, t)`; `kick()`; `relayout()`; `judge()`; `boot()`; `isOpen()`; `shut()`; `loosen()`; `openSheet(title, toAnswer)`; `refire(extra)`; `camera(fn)`; `markState()`; `on(n === 'numbers on' && numbersOn)`; `HOW_MANY()`; `fixChips()`; `groupBoxes()`; `keyOfRow(r)`; `pinnedWords()`; `readKey()`; `applyKey()`; `keepMark(m)`; `filterDrawing(d)`; `applyMarks()` (and 1 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/006500000000-kuiper-programs.js (JavaScript, 2613 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/006500000000-kuiper-programs.js#L1-L2613 - Page: https://code.globalgrid2050.com/explore-code/s/1290.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 175 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/006600000000-kuiper-programs.js (JavaScript, 2610 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/006600000000-kuiper-programs.js#L1-L2610 - Page: https://code.globalgrid2050.com/explore-code/s/1294.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 174 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0073/cartridges/007000000000-kuiper-programs.js) · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/006700000000-kuiper-programs.js (JavaScript, 2630 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/006700000000-kuiper-programs.js#L1-L2630 - Page: https://code.globalgrid2050.com/explore-code/s/1298.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 174 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0073/cartridges/007000000000-kuiper-programs.js) · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/006800000000-kuiper-programs.js (JavaScript, 2640 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/006800000000-kuiper-programs.js#L1-L2640 - Page: https://code.globalgrid2050.com/explore-code/s/1302.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 174 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0073/cartridges/007000000000-kuiper-programs.js) · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/006900000000-kuiper-programs.js (JavaScript, 2676 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/006900000000-kuiper-programs.js#L1-L2676 - Page: https://code.globalgrid2050.com/explore-code/s/1306.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 176 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/007000000000-kuiper-programs.js (JavaScript, 2648 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/007000000000-kuiper-programs.js#L1-L2648 - Page: https://code.globalgrid2050.com/explore-code/s/1310.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 174 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/007100000000-kuiper-programs.js (JavaScript, 2693 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/007100000000-kuiper-programs.js#L1-L2693 - Page: https://code.globalgrid2050.com/explore-code/s/1314.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 175 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0083/cartridges/007400000000-kuiper-programs.js) · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/007200000000-kuiper-programs.js (JavaScript, 2703 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/007200000000-kuiper-programs.js#L1-L2703 - Page: https://code.globalgrid2050.com/explore-code/s/1318.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 175 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0083/cartridges/007400000000-kuiper-programs.js) · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/cartridges/007300000000-kuiper-programs.js (JavaScript, 2711 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/cartridges/007300000000-kuiper-programs.js#L1-L2711 - Page: https://code.globalgrid2050.com/explore-code/s/1322.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 175 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0083/cartridges/007400000000-kuiper-programs.js) · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Grid — I0073 Page - File: globalgrid2050/kuiper-grid/i0073/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1326.html#f1 - Published at: https://globalgrid2050.com/kuiper-grid/i0073/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0073/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/). Reached from 108 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0073/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 1; mentioned by 0 ### Releases — Kuiper Shell Page - File: globalgrid2050/kuiper-grid/i0073/releases/003100000000-kuiper-shell/index.html (HTML, 826 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/releases/003100000000-kuiper-shell/index.html#L1-L826 - Page: https://code.globalgrid2050.com/explore-code/s/1326.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/ - Synopsis: A web page in the kuiper grid folder of GlobalGrid2050 that draws programs. Published at https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/. It builds link (`buildLink`) and parses link (`parseLink`). - What it achieves (code): Its `describe` function gives human readable address description from resolved address and repository metadata (VEDIC: explain). It reads `cosmos/programs.json`. It responds to error, webglcontextlost and resize events. - What it does: It draws programs. Defines 34 functions or classes, including buildLink, complaints, parseLink, fmt, day. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file programs.json; form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Phone (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/phone.html). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/. - Signatures: `buildLink(o, base)`; `v(o || {})`; `complaints(href)`; `parseLink(href)`; `fmt(n)`; `day(unix)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `boot()`; `appFor(owner, name, path)`; `full((owner || '') + '/' + (name || ''))`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)` (and 14 more) - VEDIC: EXPLAIN (GG2050-VEDIC-000040): Kuiper / Code navigation · Computer science / Interactive visualisation. resolved_address, repository_metadata -> human_readable_address_description - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file programs.json; form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 5 estate files (script-src 5); used by 1; mentioned by 0 ### Kuiper Card - File: globalgrid2050/kuiper-grid/i0073/releases/003100000000-kuiper-shell/kuiper-card.js (JavaScript, 210 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/releases/003100000000-kuiper-shell/kuiper-card.js#L1-L210 - Page: https://code.globalgrid2050.com/explore-code/s/1327.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/ - Synopsis: A JavaScript file in the kuiper grid folder of GlobalGrid2050 that converts to world (`toWorld`) and steps anim (`stepAnim`). Served with the page at https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/. - What it achieves (comment): It shows new (`showNew`) and is built from the to world helper (`toWorld`) and the card for helper (`cardFor`). A cartridge of the Kuiper shell. It responds to toggle events. - What it does: It draws its content. Defines 14 functions or classes, including toWorld, cardFor, esc, gh, ghLink. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Releases — Kuiper Shell Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/). Reached from 1 other entry point, including Phone (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/phone.html). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/. - Signatures: `toWorld(px, py)`; `cardFor(k)`; `esc(t)`; `gh(o)`; `ghLink(c, line)`; `el(tag, cls, text)`; `drow(dl, k, v)`; `linkTo(href, text)`; `show(a)`; `door(r.pub && frontOfWork[a.c.sha])`; `put(data)`; `goKey(k)`; `arriveAt(k)`; `showNew(hours)`; `stepAnim()`; `t(performance.now() - anim.t0)` - VEDIC: RECENT (GG2050-VEDIC-000041): Kuiper / Code navigation · Computer science / Interactive visualisation. hours, ordered_commits -> recent_band_animation_state - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Kuiper Chrome - File: globalgrid2050/kuiper-grid/i0073/releases/003100000000-kuiper-shell/kuiper-chrome.js (JavaScript, 35 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/releases/003100000000-kuiper-shell/kuiper-chrome.js#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/1327.html#f3 - Published at: https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/ - Synopsis: A JavaScript file in the kuiper grid folder of GlobalGrid2050. Served with the page at https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/. It is built from the set step (`set`). - What it achieves (comment): A cartridge of the Kuiper shell: HOW THE PAGE IS DRESSED. It responds to click and keydown events. - What it does: It draws its content. Defines set. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Releases — Kuiper Shell Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/). Reached from 1 other entry point, including Phone (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/phone.html). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/. - Signatures: `set(open)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0073/releases/003100000000-kuiper-shell/kuiper-programs.js (JavaScript, 212 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/releases/003100000000-kuiper-shell/kuiper-programs.js#L1-L212 - Page: https://code.globalgrid2050.com/explore-code/s/1327.html#f4 - Published at: https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/ - Synopsis: A JavaScript file in the kuiper grid folder of GlobalGrid2050 that makes body, sets tag, makes app buttons and calculates planar distances. Served with the page at https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and makes app buttons (`makeAppButtons`). A cartridge of the Kuiper shell. It responds to click and keydown events. - What it does: Defines 26 functions or classes, including closestPair, blackSky, nameInLines, makeBody, bodyTo. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Releases — Kuiper Shell Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/). Reached from 1 other entry point, including Phone (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/phone.html). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/. - Signatures: `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)`; `appCard(st)`; `closeCard()`; `codeWindow(lines, a, b, at)`; `lh()` (and 3 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (dynamic-import 1); used by 1; mentioned by 0 ### Kuiper Tests - File: globalgrid2050/kuiper-grid/i0073/releases/003100000000-kuiper-shell/kuiper-tests.js (JavaScript, 844 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/releases/003100000000-kuiper-shell/kuiper-tests.js#L1-L844 - Page: https://code.globalgrid2050.com/explore-code/s/1328.html#f1 - Published at: https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/ - Synopsis: A JavaScript file in the kuiper grid folder of GlobalGrid2050 that tests link contract, cables and solar, and uses data from the GridAtlas repository. Served with the page at https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/. - What it achieves (comment): It is built from the finish selftest helper (`finishSelftest`), the path selftest helper (`pathSelftest`) and the in window helper (`inWindow`). A cartridge of the Kuiper shell. It reads `cosmos/link-contract.json`. It responds to pointerdown and pointermove events. - What it does: It tests link contract, cables, solar and battery storage (BESS). Defines 28 functions or classes, including finishSelftest, pathSelftest, inWindow, on, buttonsSelftest. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, battery storage (BESS). - Inputs & outputs: In: data source: gridatlas data; JSON file link-contract.json. - Downstream impact: Used directly by 1 file: Releases — Kuiper Shell Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/). Reached from 1 other entry point, including Phone (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/phone.html). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/. - Signatures: `finishSelftest(c, n, lines)`; `pathSelftest(name)`; `mid(Math.sqrt(commits[best].k0) + Math.sqrt(commits[best].k1))`; `inWindow(r)`; `on(el)`; `buttonsSelftest()`; `settle()`; `litPixels()`; `isolateSelftest()`; `onScreen(el)`; `census()`; `x0(0 - cx)`; `want(appWork[pr.select.app] || [])`; `ring(t0, t1)`; `ev(t, px2, py2)`; `ask(label)`; `q((h2 - 1 - yy) * w + xx)`; `cardSelftest()`; `esc1(t)`; `box(el)`; `same(a, b)`; `src(await Promise.all(parts.map(u => fetch(u).then(r => r.text()))))`; `wx(p[0] - cx)`; `want_app(appFor(withApp.owner, withApp.repo, withApp.path) || {})`; `named(path, button, live)` (and 13 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file link-contract.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (estate-url 3); used by 1; mentioned by 0 ### Phone - File: globalgrid2050/kuiper-grid/i0073/releases/003100000000-kuiper-shell/phone.html (HTML, 59 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0073/releases/003100000000-kuiper-shell/phone.html#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/1329.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/phone.html - Synopsis: A web page in the kuiper grid folder of GlobalGrid2050. Published at https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/phone.html. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0073/releases/003100000000-kuiper-shell/phone.html. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (iframe 2); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0083/cartridges/007400000000-kuiper-programs.js (JavaScript, 2716 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0083/cartridges/007400000000-kuiper-programs.js#L1-L2716 - Page: https://code.globalgrid2050.com/explore-code/s/1329.html#f3 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 175 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0083/cartridges/007500000000-kuiper-programs.js (JavaScript, 2798 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0083/cartridges/007500000000-kuiper-programs.js#L1-L2798 - Page: https://code.globalgrid2050.com/explore-code/s/1333.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 181 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0083/cartridges/007600000000-kuiper-programs.js (JavaScript, 2835 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0083/cartridges/007600000000-kuiper-programs.js#L1-L2835 - Page: https://code.globalgrid2050.com/explore-code/s/1337.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 177 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0083/cartridges/007700000000-kuiper-programs.js (JavaScript, 2837 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0083/cartridges/007700000000-kuiper-programs.js#L1-L2837 - Page: https://code.globalgrid2050.com/explore-code/s/1341.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 184 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0083/cartridges/007800000000-kuiper-programs.js (JavaScript, 3254 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0083/cartridges/007800000000-kuiper-programs.js#L1-L3254 - Page: https://code.globalgrid2050.com/explore-code/s/1345.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using IEC 62446-1 and SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 352 kVA, 295 kVA and 320 kVA. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 193 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV, 1500V. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV, 1500V. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0083/cartridges/007900000000-kuiper-programs.js (JavaScript, 3016 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0083/cartridges/007900000000-kuiper-programs.js#L1-L3016 - Page: https://code.globalgrid2050.com/explore-code/s/1350.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 180 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0083/cartridges/008000000000-kuiper-programs.js (JavaScript, 3063 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0083/cartridges/008000000000-kuiper-programs.js#L1-L3063 - Page: https://code.globalgrid2050.com/explore-code/s/1354.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 197 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0083/cartridges/008100000000-kuiper-programs.js (JavaScript, 2888 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0083/cartridges/008100000000-kuiper-programs.js#L1-L2888 - Page: https://code.globalgrid2050.com/explore-code/s/1359.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 400 kV, 50 kW and 500 kW. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 180 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV, 1500V. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV, 1500V. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0083/cartridges/008200000000-kuiper-programs.js (JavaScript, 3683 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0083/cartridges/008200000000-kuiper-programs.js#L1-L3683 - Page: https://code.globalgrid2050.com/explore-code/s/1363.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using IEC 62446-1 and SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 352 kVA, 295 kVA and 320 kVA. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 200 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV, 1500V. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV, 1500V. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0083/cartridges/008300000000-kuiper-programs.js) · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0083/cartridges/008300000000-kuiper-programs.js (JavaScript, 3710 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0083/cartridges/008300000000-kuiper-programs.js#L1-L3710 - Page: https://code.globalgrid2050.com/explore-code/s/1368.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using IEC 62446-1 and SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 352 kVA, 295 kVA and 320 kVA. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 200 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV, 1500V. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV, 1500V. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Grid — I0083 Page - File: globalgrid2050/kuiper-grid/i0083/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0083/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1373.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/i0083/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0083/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/). Reached from 108 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0083/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 1; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0084/cartridges/008400000000-kuiper-programs.js (JavaScript, 3817 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0084/cartridges/008400000000-kuiper-programs.js#L1-L3817 - Page: https://code.globalgrid2050.com/explore-code/s/1374.html#f1 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that draws interconnectors, london underground and grid 66kV, using IEC 62446-1 and SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 11 kV, 33 kV and 352 kVA. It responds to click and keydown events. - What it does: It draws interconnectors, london underground, grid 66kV and motorway services. Defines 207 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: interconnectors, 400kV, 66kV, 33kV, 11kV, 1500V. - Inputs & outputs: In: data source: faraday data; JSON file interconnectors.config.json; GeoJSON file london_underground.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file motorway_services.geojson; GeoJSON file railways.geojson; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV, 66kV, 33kV, 11kV, 1500V. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `systemFind(q)`; `systemWork(sys, W)`; `systemProgram(sys)`; `fireSystem(q)`; `systemCard(st, sys)`; `put(s, cls)`; `systemsList()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file interconnectors.config.json; GeoJSON file london_underground.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file motorway_services.geojson; GeoJSON file railways.geojson; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV, 66kV, 33kV, 11kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Grid — I0084 Page - File: globalgrid2050/kuiper-grid/i0084/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0084/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1379.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/i0084/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0084/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/). Reached from 108 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0084/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 1; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0085/cartridges/008500000000-kuiper-programs.js (JavaScript, 4036 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0085/cartridges/008500000000-kuiper-programs.js#L1-L4036 - Page: https://code.globalgrid2050.com/explore-code/s/1380.html#f1 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 covering interconnectors, london underground, grid 66kV and motorway services, using IEC 62446-1 and SHA-256, and uses data from the faraday repository. - What it achieves (name): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). Defines `reFire`, `closestPair`, `blackSky` and 202 more. Its code works with 11 kV, 33 kV and 352 kVA. It responds to click and keydown events. - What it does: It draws interconnectors, london underground, grid 66kV and motorway services. Defines 220 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: interconnectors, 400kV, 275kV, 132kV, 66kV, 33kV. - Inputs & outputs: In: data source: faraday data; JSON file interconnectors.config.json; GeoJSON file london_underground.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file motorway_services.geojson; GeoJSON file railways.geojson; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV, 1500V. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `systemFind(q)`; `systemWork(sys, W)`; `systemProgram(sys)`; `fireSystem(q)`; `systemCard(st, sys)`; `put(s, cls)`; `systemsList()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0090/cartridges/009000000000-kuiper-programs.js) · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file interconnectors.config.json; GeoJSON file london_underground.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file motorway_services.geojson; GeoJSON file railways.geojson; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Grid — I0085 Page - File: globalgrid2050/kuiper-grid/i0085/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0085/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1385.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/i0085/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0085/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/). Reached from 108 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0085/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 1; mentioned by 0 ### Kuiper Grid — I0086 Page - File: globalgrid2050/kuiper-grid/i0086/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0086/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1386.html#f1 - Published at: https://globalgrid2050.com/kuiper-grid/i0086/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0086/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/). Reached from 108 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0086/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 1; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0087/cartridges/008700000000-kuiper-programs.js (JavaScript, 4264 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0087/cartridges/008700000000-kuiper-programs.js#L1-L4264 - Page: https://code.globalgrid2050.com/explore-code/s/1386.html#f2 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that maps interconnectors, london underground, grid 66kV and motorway services, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and draws tube map (`drawTubeMap`). A cartridge of the Kuiper shell. Its code works with 33 kV, 11 kV and 275 kV. It responds to click events. - What it does: It maps interconnectors, london underground, grid 66kV and motorway services. Defines 237 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: interconnectors, 750kV, 400kV, 275kV, 132kV, 110kV. - Inputs & outputs: In: data source: faraday data; JSON file interconnectors.config.json; GeoJSON file london_underground.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file motorway_services.geojson; GeoJSON file railways.geojson; JSON file current.json. Out: interactive map; canvas drawing. Voltage levels named: 750kV, 400kV, 275kV, 132kV, 110kV, 66kV, 50kV, 33kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `systemFind(q)`; `systemWork(sys, W)`; `systemProgram(sys)`; `fireSystem(q)`; `systemCard(st, sys)`; `put(s, cls)`; `systemsList()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file interconnectors.config.json; GeoJSON file london_underground.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file motorway_services.geojson; GeoJSON file railways.geojson; JSON file current.json]; out [interactive map; canvas drawing]; crs []; voltages [750kV, 400kV, 275kV, 132kV, 110kV, 66kV, 50kV, 33kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Grid — I0087 Page - File: globalgrid2050/kuiper-grid/i0087/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0087/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1392.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/i0087/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0087/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/). Reached from 108 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0087/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 1; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0088/cartridges/008800000000-kuiper-programs.js (JavaScript, 4659 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0088/cartridges/008800000000-kuiper-programs.js#L1-L4659 - Page: https://code.globalgrid2050.com/explore-code/s/1392.html#f3 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that draws interconnectors, london underground, grid 66kV and motorway services, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and draws tube map (`drawTubeMap`). A cartridge of the Kuiper shell. Its code works with 33 kV, 11 kV and 275 kV. It responds to click events. - What it does: It draws interconnectors, london underground, grid 66kV and motorway services. Defines 253 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: interconnectors, 750kV, 400kV, 275kV, 132kV, 110kV. - Inputs & outputs: In: data source: faraday data; JSON file interconnectors.config.json; GeoJSON file london_underground.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file motorway_services.geojson; GeoJSON file railways.geojson; JSON file current.json. Out: canvas drawing. Voltage levels named: 750kV, 400kV, 275kV, 132kV, 110kV, 66kV, 50kV, 33kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `systemFind(q)`; `systemWork(sys, W)`; `systemProgram(sys)`; `fireSystem(q)`; `systemCard(st, sys)`; `put(s, cls)`; `systemsList()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0089/cartridges/008900000000-kuiper-programs.js) · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file interconnectors.config.json; GeoJSON file london_underground.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file motorway_services.geojson; GeoJSON file railways.geojson; JSON file current.json]; out [canvas drawing]; crs []; voltages [750kV, 400kV, 275kV, 132kV, 110kV, 66kV, 50kV, 33kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Grid — I0088 Page - File: globalgrid2050/kuiper-grid/i0088/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0088/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1399.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/i0088/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0088/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/). Reached from 108 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0088/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 1; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0089/cartridges/008900000000-kuiper-programs.js (JavaScript, 4690 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0089/cartridges/008900000000-kuiper-programs.js#L1-L4690 - Page: https://code.globalgrid2050.com/explore-code/s/1399.html#f3 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that draws interconnectors, london underground, grid 66kV and motorway services, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and draws tube map (`drawTubeMap`). A cartridge of the Kuiper shell. Its code works with 33 kV, 11 kV and 275 kV. It responds to click events. - What it does: It draws interconnectors, london underground, grid 66kV and motorway services. Defines 253 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: interconnectors, 750kV, 400kV, 275kV, 132kV, 110kV. - Inputs & outputs: In: data source: faraday data; JSON file interconnectors.config.json; GeoJSON file london_underground.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file motorway_services.geojson; GeoJSON file railways.geojson; JSON file current.json. Out: canvas drawing. Voltage levels named: 750kV, 400kV, 275kV, 132kV, 110kV, 66kV, 50kV, 33kV. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `systemFind(q)`; `systemWork(sys, W)`; `systemProgram(sys)`; `fireSystem(q)`; `systemCard(st, sys)`; `put(s, cls)`; `systemsList()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file interconnectors.config.json; GeoJSON file london_underground.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file motorway_services.geojson; GeoJSON file railways.geojson; JSON file current.json]; out [canvas drawing]; crs []; voltages [750kV, 400kV, 275kV, 132kV, 110kV, 66kV, 50kV, 33kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Chrome - File: globalgrid2050/kuiper-grid/i0089/cartridges/009200000000-kuiper-chrome.js (JavaScript, 579 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0089/cartridges/009200000000-kuiper-chrome.js#L1-L579 - Page: https://code.globalgrid2050.com/explore-code/s/1406.html#f1 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that opens sheet (`openSheet`), shows systems (`showSystems`) and groups boxes (`groupBoxes`) (units: mm²), covering cables and substations. - What it achieves (comment): It opens sheet (`openSheet`), shows systems (`showSystems`) and marks state (`markState`). A cartridge of the Kuiper shell: HOW THE PAGE IS DRESSED. It responds to click, focus and keydown events. - What it does: It draws cables and substations. Defines 27 functions or classes, including PHONE, $, el, kick, relayout. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, substations. - Signatures: `PHONE()`; `$(id)`; `el(tag, cls, t)`; `kick()`; `relayout()`; `gatherMs()`; `judge()`; `boot()`; `isOpen()`; `shut()`; `loosen()`; `openSheet(title, folded)`; `refire(extra)`; `camera(fn)`; `typed(text)`; `showSystems()`; `markState()`; `on(n === 'numbers on' && numbersOn)`; `fixChips()`; `devWatch()`; `groupBoxes()`; `keyOfRow(r)`; `readKey()`; `applyKey()`; `keepMark(m)` (and 3 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Grid — I0089 Page - File: globalgrid2050/kuiper-grid/i0089/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0089/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1406.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/i0089/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0089/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 6 files: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); and 2 more. Reached from 103 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/); GlobalGrid2050 — Kuiper Page (globalgrid2050, https://globalgrid2050.com/kuiper/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0089/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 6; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0090/cartridges/009000000000-kuiper-programs.js (JavaScript, 4074 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0090/cartridges/009000000000-kuiper-programs.js#L1-L4074 - Page: https://code.globalgrid2050.com/explore-code/s/1407.html#f1 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 covering interconnectors, london underground, grid 66kV and motorway services, using IEC 62446-1 and SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 11 kV, 33 kV and 352 kVA. It responds to click and keydown events. - What it does: It draws interconnectors, london underground, grid 66kV and motorway services. Defines 220 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: interconnectors, 400kV, 275kV, 132kV, 66kV, 33kV. - Inputs & outputs: In: data source: faraday data; JSON file interconnectors.config.json; GeoJSON file london_underground.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file motorway_services.geojson; GeoJSON file railways.geojson; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV, 1500V. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `systemFind(q)`; `systemWork(sys, W)`; `systemProgram(sys)`; `fireSystem(q)`; `systemCard(st, sys)`; `put(s, cls)`; `systemsList()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file interconnectors.config.json; GeoJSON file london_underground.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file motorway_services.geojson; GeoJSON file railways.geojson; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Grid — I0090 Page - File: globalgrid2050/kuiper-grid/i0090/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0090/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1412.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/i0090/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0090/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 6 files: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); and 2 more. Reached from 103 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/); GlobalGrid2050 — Kuiper Page (globalgrid2050, https://globalgrid2050.com/kuiper/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0090/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 6; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0091/cartridges/009100000000-kuiper-programs.js (JavaScript, 3725 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0091/cartridges/009100000000-kuiper-programs.js#L1-L3725 - Page: https://code.globalgrid2050.com/explore-code/s/1413.html#f1 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using IEC 62446-1 and SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 352 kVA, 295 kVA and 320 kVA. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 201 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV, 1500V. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV, 1500V. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Grid — I0091 Page - File: globalgrid2050/kuiper-grid/i0091/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0091/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1418.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/i0091/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0091/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/). Reached from 108 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0091/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 1; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0092/cartridges/009200000000-kuiper-programs.js (JavaScript, 3948 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0092/cartridges/009200000000-kuiper-programs.js#L1-L3948 - Page: https://code.globalgrid2050.com/explore-code/s/1418.html#f3 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using IEC 62446-1 and SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 352 kVA, 295 kVA and 320 kVA. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 205 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV, 1500V. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV, 1500V. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Grid — I0092 Page - File: globalgrid2050/kuiper-grid/i0092/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0092/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1424.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/i0092/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0092/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/). Reached from 108 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0092/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 1; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0093/cartridges/009300000000-kuiper-programs.js (JavaScript, 4013 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0093/cartridges/009300000000-kuiper-programs.js#L1-L4013 - Page: https://code.globalgrid2050.com/explore-code/s/1424.html#f3 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using IEC 62446-1 and SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 352 kVA, 295 kVA and 320 kVA. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 207 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV, 1500V. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV, 1500V. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0095/cartridges/009500000000-kuiper-programs.js) · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Grid — I0093 Page - File: globalgrid2050/kuiper-grid/i0093/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0093/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1430.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/i0093/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0093/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/). Reached from 108 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0093/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 1; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0094/cartridges/009400000000-kuiper-programs.js (JavaScript, 4032 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0094/cartridges/009400000000-kuiper-programs.js#L1-L4032 - Page: https://code.globalgrid2050.com/explore-code/s/1430.html#f3 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using IEC 62446-1 and SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 352 kVA, 295 kVA and 320 kVA. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 207 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV, 1500V. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV, 1500V. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/i0095/cartridges/009500000000-kuiper-programs.js) · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 1 ### Kuiper Grid — I0094 Page - File: globalgrid2050/kuiper-grid/i0094/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0094/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1436.html#f1 - Published at: https://globalgrid2050.com/kuiper-grid/i0094/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0094/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/). Reached from 108 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0094/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 1; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0095/cartridges/009500000000-kuiper-programs.js (JavaScript, 4040 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0095/cartridges/009500000000-kuiper-programs.js#L1-L4040 - Page: https://code.globalgrid2050.com/explore-code/s/1436.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using IEC 62446-1 and SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 352 kVA, 295 kVA and 320 kVA. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 207 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV, 1500V. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV, 1500V. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Grid — I0095 Page - File: globalgrid2050/kuiper-grid/i0095/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0095/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1442.html#f1 - Published at: https://globalgrid2050.com/kuiper-grid/i0095/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0095/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/). Reached from 108 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0095/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 1; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0096/cartridges/009600000000-kuiper-programs.js (JavaScript, 4055 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0096/cartridges/009600000000-kuiper-programs.js#L1-L4055 - Page: https://code.globalgrid2050.com/explore-code/s/1442.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using IEC 62446-1 and SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 352 kVA, 295 kVA and 320 kVA. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 208 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV, 1500V. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV, 1500V. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/drawing/kuiper-programs.js) · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Grid — I0096 Page - File: globalgrid2050/kuiper-grid/i0096/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0096/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1448.html#f1 - Published at: https://globalgrid2050.com/kuiper-grid/i0096/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0096/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/). Reached from 108 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0096/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 1; mentioned by 0 ### Kuiper Programs - File: globalgrid2050/kuiper-grid/i0097/cartridges/009700000000-kuiper-programs.js (JavaScript, 4071 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0097/cartridges/009700000000-kuiper-programs.js#L1-L4071 - Page: https://code.globalgrid2050.com/explore-code/s/1448.html#f2 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 covering cables, solar, substations and transformers, using IEC 62446-1 and SHA-256, and uses data from the faraday repository. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the Kuiper shell. Its code works with 352 kVA, 295 kVA and 320 kVA. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 208 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, solar, substations, transformers, 400kV, 1500V. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV, 1500V. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/kuiper-grid/drawing/kuiper-programs.js) · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Kuiper Grid — I0097 Page - File: globalgrid2050/kuiper-grid/i0097/index.html (HTML, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/i0097/index.html#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1454.html#f1 - Published at: https://globalgrid2050.com/kuiper-grid/i0097/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256. Published at https://globalgrid2050.com/kuiper-grid/i0097/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 3 files: GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/); Manual (globalgrid2050, https://globalgrid2050.com/kuiper-grid/manual.html); GlobalGrid2050 — Plant Page (globalgrid2050, https://globalgrid2050.com/plant/). Reached from 106 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/i0097/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 3; mentioned by 0 ### GlobalGrid2050 — Kuiper Grid Page - File: globalgrid2050/kuiper-grid/index.html (HTML, 83 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/index.html#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/1454.html#f2 - Published at: https://globalgrid2050.com/kuiper-grid/ - Synopsis: A web page covering solar and substations. Published at https://globalgrid2050.com/kuiper-grid/. - What it achieves (comment): The Kuiper: the grid as a map (development builds, 20 September 2026). Its code works with 400 kV. - What it does: It draws solar and substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar, substations, 400kV. - Inputs & outputs: Out: web page. Voltage levels named: 400kV. - Downstream impact: Used directly by 26 files: Kuiper Grid — Drawing Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/); Kuiper Grid — I0073 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/); Kuiper Grid — I0083 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0083/); Kuiper Grid — I0084 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0084/); and 22 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [400kV] - Edges: uses 20 estate files (link 20); used by 26; mentioned by 0 ### Manual - File: globalgrid2050/kuiper-grid/manual.html (HTML, 260 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper-grid/manual.html#L1-L260 - Page: https://code.globalgrid2050.com/explore-code/s/1454.html#f3 - Published at: https://globalgrid2050.com/kuiper-grid/manual.html - Synopsis: A web page in the kuiper grid folder of GlobalGrid2050 covering substations, cables and solar. Published at https://globalgrid2050.com/kuiper-grid/manual.html. - What it achieves (comment): The Kuiper manual: what it is, what to type, and what it will not tell you. Its code works with 400 kV. - What it does: It draws substations, cables and solar. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: substations, cables, solar, 400kV, 1500V. - Inputs & outputs: Out: web page. Voltage levels named: 400kV, 1500V. - Downstream impact: Used directly by 25 files: Kuiper Grid — I0073 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/); Kuiper Grid — I0083 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0083/); Kuiper Grid — I0084 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0084/); Kuiper Grid — I0085 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0085/); and 21 more. Reached from 84 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/kuiper-grid/manual.html. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [400kV, 1500V] - Edges: uses 4 estate files (link 4); used by 25; mentioned by 0 ### GlobalGrid2050 — Kuiper Page - File: globalgrid2050/kuiper/index.html (HTML, 115 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/kuiper/index.html#L1-L115 - Page: https://code.globalgrid2050.com/explore-code/s/1454.html#f4 - Published at: https://globalgrid2050.com/kuiper/ - Synopsis: A web page that uses SHA-256. Published at https://globalgrid2050.com/kuiper/. It is built from the must step (`must`), the attr step (`attr`) and the sha256 step (`sha256`). - What it achieves (comment): THE WAY OUT. This page is a composer: with script off, or with a refused record, it renders nothing a reader can click. It reads `./current.json`. - What it does: It draws its content. Defines must, attr, sha256. Uses libraries …/NAME, ' + attr(url.href) + '. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. Out: web page. - Downstream impact: Used directly by 9 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 5 more. Reached from 80 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/kuiper/. - Signatures: `must(ok, why)`; `attr(v)`; `sha256(bytes)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 9; mentioned by 1 ### Testcode — V03 Particle Universe Page - File: globalgrid2050/testcode/202609141522/v03-particle-universe/index.html (HTML, 76 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141522/v03-particle-universe/index.html#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1454.html#f5 - Published at: https://globalgrid2050.com/testcode/202609141522/v03-particle-universe/ - Synopsis: A web page in GlobalGrid2050 that selects star (`selectStar`), opens family (`openFamily`), calculates planar distances and draws on a canvas. Published at https://globalgrid2050.com/testcode/202609141522/v03-particle-universe/. - What it achieves (name): It selects star (`selectStar`) and opens family (`openFamily`). Defines `size`, `layout`, `scr` and 4 more. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws its content. Defines 7 functions or classes, including size, layout, scr, draw, hit. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page; canvas drawing. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141522/v03-particle-universe/. - Signatures: `size()`; `layout()`; `a0(ci / cats.length)`; `scr(s)`; `draw(now)`; `hit(x, y)`; `selectStar(sym)`; `openFamily(n)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 0; mentioned by 0 ### Testcode — V04 Periodic Arrows Page - File: globalgrid2050/testcode/202609141522/v04-periodic-arrows/index.html (HTML, 58 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141522/v04-periodic-arrows/index.html#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/1454.html#f6 - Published at: https://globalgrid2050.com/testcode/202609141522/v04-periodic-arrows/ - Synopsis: A web page in GlobalGrid2050 that opens family (`openFamily`) and draws SVG graphics. Published at https://globalgrid2050.com/testcode/202609141522/v04-periodic-arrows/. It opens family (`openFamily`) and is built from the pick step (`pick`). - What it achieves (name): Defines `build`, `arrows`, `line` and 2 more. It responds to resize events. - What it does: It draws its content. Defines build, arrows, line, pick, openFamily. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page; SVG drawing. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141522/v04-periodic-arrows/. - Signatures: `build()`; `arrows(sym)`; `line(a, b, col)`; `pick(sym)`; `openFamily(n)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 0; mentioned by 0 ### Quantum - File: globalgrid2050/testcode/202609142202/quantum.js (JavaScript, 976 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/quantum.js#L1-L976 - Page: https://code.globalgrid2050.com/explore-code/s/1455.html#f1 - Synopsis: A JavaScript file in the testcode folder of GlobalGrid2050 that draws families, blocks, electron and entangled, using SHA-256. It makes program (`makeProgram`), builds layout (`buildLayout`) and sets focus (`setFocus`). - What it achieves (comment): Quantum Twin Star — testcode/ — generation 2 — ES module, WebGL2 only, no CDN, no framework. It responds to keydown, click and pointerdown events. - What it does: It draws families, blocks, electron and entangled. Defines 75 functions or classes, including $, fmt, phoneNow, fail, hex. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "A read-only lab page: `index.html` + `quantum.js` (one ES module, WebGL2, no CDN, no framework, no build step)." - Inputs & outputs: In: JSON file families.json; JSON file blocks.json; JSON file electron.json; JSON file random.json; JSON file entangled.json; JSON file provenance.json. Out: WebGL/WebGPU drawing. - Signatures: `$(s)`; `fmt(n)`; `phoneNow()`; `fail(msg)`; `hex(h)`; `hash32(str)`; `mulberry32(a)`; `stateNum(key)`; `stateName(key)`; `SEA_VS(NC, texMask, texShift)`; `UNIQ_VS(NC, texMask, texShift)`; `makeProgram(gl, vs, fs)`; `sh(t, s)`; `loadData()`; `get(f, bin)`; `expect(file, buf)`; `cond(electron.conduction_band_electron_md || [])`; `uniqIndex(n)`; `buildLayout()`; `h(hash32('fam' + families[fi].n) % 1000)`; `familyPos(fi)`; `initGL()`; `genVAO(buf)`; `allocPick(W, H)`; `onContextLost(e)` (and 15 more) - VEDIC: SEARCH (GG2050-VEDIC-000030): See Through / Kuiper · Computer science / Interactive visualisation. query, substation_names -> match_count_and_indices - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file families.json; JSON file blocks.json; JSON file electron.json; JSON file random.json; JSON file entangled.json; JSON file provenance.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Particle - File: globalgrid2050/testcode/202609142225/lenses/particle.js (JavaScript, 51 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/lenses/particle.js#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/1456.html#f2 - Synopsis: A JavaScript module in the lenses folder of GlobalGrid2050. It is built from the put step (`put`). - What it achieves (comment): Lens particle — from v03-particle-universe (GRAMMAR §7 particle). - What it does: It calculates its inputs. Defines put. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: UI (globalgrid2050). - Signatures: `hint(core, view)`; `simplify(width)`; `camera()`; `layout(core, view, out)`; `put(i, r, a)`; `edges(core, view)`; `labels(core, view, max)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Star - File: globalgrid2050/testcode/202609150125/star.js (JavaScript, 297 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609150125/star.js#L1-L297 - Page: https://code.globalgrid2050.com/explore-code/s/1456.html#f3 - Synopsis: A JavaScript file in the testcode folder of GlobalGrid2050 that draws map (`drawMap`) (units: kWh), covering postcodes, using SHA-256. It draws map (`drawMap`) and maps lens (`mapLens`). - What it achieves (comment): Sector Star — testcode/. Every number on this page is read from `data/*.json` at run time; none is typed into the HTML. It responds to resize events. - What it does: It draws postcodes. Defines 22 functions or classes, including el, n, money, esc, withheld. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: postcodes. README: "`index.html` + `star.js` + `style.css` — three lenses (map, sector, energy) that compute every number from the JSON at run time." - Inputs & outputs: Out: canvas drawing. - Signatures: `el(id)`; `n(v)`; `money(v)`; `esc(s)`; `withheld(reason)`; `catName(id)`; `catColour(id)`; `q()`; `setQ(k, v)`; `lens()`; `countsLine()`; `dates(p.sources[1] && p.sources[1].months)`; `built(p.built_utc || '')`; `drawMap()`; `sx(W - 2 * pad)`; `px(d)`; `py(d)`; `dd(h.x - mx)`; `catRow(o)`; `districtCard(code)`; `mapLens()`; `sectorLens()`; `w(d.count / max * 100)`; `energyLens()`; `footer()` (and 3 more) - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Particles Check - File: globalgrid2050/testcode/202609160224/proof/particles.check.mjs (JavaScript, 458 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160224/proof/particles.check.mjs#L1-L458 - Page: https://code.globalgrid2050.com/explore-code/s/1457.html#f1 - Published at: https://globalgrid2050.com/testcode/202609160224/proof/ - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that reads lines meta, using haversine and SHA-256. Served with the page at https://globalgrid2050.com/testcode/202609160224/proof/. - What it achieves (comment): It is built from the check step (`check`) and the size at helper (`sizeAt`). The checks the code wafer must pass. - What it does: It loads lines meta. Defines check, sizeAt. Uses libraries node:crypto, node:fs, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file particles.json; JSON file all-lines.meta.json; command-line arguments. - Signatures: `check(name, ok, detail)`; `sizeAt(zoom, dpr)`; `lits(body.match(/'(?:[^'\\]|\\.)*'/g) || [])`; `all(scan.match(/textContent = '[^']*\d{1,3},\d{3}[^']*'/g) || [])` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file particles.json; JSON file all-lines.meta.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Wafer - File: globalgrid2050/testcode/202609160321/wafer.mjs (JavaScript, 217 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160321/wafer.mjs#L1-L217 - Page: https://code.globalgrid2050.com/explore-code/s/1457.html#f2 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that draws lines meta and laws. - What it achieves (comment): It is built from the shell step (`shell`), the place step (`place`) and the build step (`build`). The bands-by-usage law, generated. Variation bands-by-usage-lit. It responds to resize events. - What it does: It draws lines meta and laws. Defines 8 functions or classes, including shell, place, u8, build, layout. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file laws-index.json. Out: canvas drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Testcode Page (globalgrid2050, https://globalgrid2050.com/testcode/202609160319/). Reached from 6 other entry points, including Iterations — 42 Counts That Say Themselves (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/); Iterations — 42 Counts That Say Themselves Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/); GlobalGrid2050 — Testcode Page (globalgrid2050, https://globalgrid2050.com/testcode/). - Signatures: `export place(key, rad, len, fam, maxKey)`; `shell(key)`; `u8(b)`; `build()`; `layout()`; `draw()`; `x(cx + px[i] * scale)`; `put(xx, yy)`; `o(yy * stage.width + xx)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file laws-index.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Testcode — Quantum Twin Flights Page - File: globalgrid2050/testcode/202609162200-quantum-twin-flights/index.html (HTML, 42 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609162200-quantum-twin-flights/index.html#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1458.html#f1 - Published at: https://globalgrid2050.com/testcode/202609162200-quantum-twin-flights/ - Synopsis: A web page in GlobalGrid2050. Published at https://globalgrid2050.com/testcode/202609162200-quantum-twin-flights/. - What it achieves (comment): Quantum Twin — primary key to actual code flights. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`index.html`, `app.mjs`, `lib.mjs`, `pick.mjs`, `read.mjs`, `style.css`, `line-index.json`, `proof/` — the Line Wafer, unchanged apart from the title and two script tags." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/202609162200-quantum-twin-flights/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 3, stylesheet 1); used by 0; mentioned by 0 ### Pilot Rules - File: globalgrid2050/testcode/202609162200-quantum-twin-flights/pilot-rules.js (JavaScript, 51 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609162200-quantum-twin-flights/pilot-rules.js#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/1458.html#f2 - Published at: https://globalgrid2050.com/testcode/202609162200-quantum-twin-flights/ - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that works with substations. Served with the page at https://globalgrid2050.com/testcode/202609162200-quantum-twin-flights/. - What it achieves (comment): It is built from the plan step (`plan`) and the num step (`num`). Pilot by typing anything, with no model: plain words are matched to commands by rules the page can show you. - What it does: It calculates substations. Defines plan, num. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations. README: "`pilot.mjs`, `pilot-rules.js` — the command box, the cards, and the sentence rules (no language model)." - Downstream impact: Used directly by 13 files: Wafer Development Environment — Cable Cross Sections Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/); Wafer Development Environment — Voltage Drop Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170042-voltage-drop/); Wafer Development Environment — GridAtlas Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170041-gridatlas/); Wafer Development Environment — Land GridAtlas Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170045-land-gridatlas/); and 9 more. Reached from 150 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609162200-quantum-twin-flights/. - Signatures: `plan(sentence, ctx)`; `num(re)`; `appNames(ctx && ctx.appNames)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 13; mentioned by 1 ### Testcode — Quantum Twin Flights - File: globalgrid2050/testcode/202609170129-quantum-twin-flights/app.mjs (JavaScript, 819 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609170129-quantum-twin-flights/app.mjs#L1-L819 - Page: https://code.globalgrid2050.com/explore-code/s/1458.html#f3 - Synopsis: A JavaScript module in GlobalGrid2050 that draws lines meta and families, using SHA-256. It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). - What it achieves (comment): The Line Wafer. It responds to click, pointerdown and pointermove events. - What it does: It draws lines meta and families. Defines 50 functions or classes, including $, indexOfKey, bin, tier1, tier2. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`index.html`, `app.mjs`, `lib.mjs`, `pick.mjs`, `read.mjs`, `style.css`, `line-index.json`, `proof/` — the Line Wafer, unchanged apart from the title and two script tags." - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json; JSON file line-index.json. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Testcode — Quantum Twin Flights Page (globalgrid2050, https://globalgrid2050.com/testcode/202609162200-quantum-twin-flights/). - Signatures: `$(id)`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm, usage)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `render()`; `x(U.posB[i * 2] - view.x)`; `draw()`; `home()`; `flyTo(key, zoom)`; `waferR()`; `clearPupil(buf)`; `rimStart()`; `partition(keys)`; `fullTargets(scopeTargets)`; `lawTargets()` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json; JSON file line-index.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Pilot - File: globalgrid2050/testcode/202609170129-quantum-twin-flights/pilot.mjs (JavaScript, 236 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609170129-quantum-twin-flights/pilot.mjs#L1-L236 - Page: https://code.globalgrid2050.com/explore-code/s/1459.html#f2 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that draws electron, qubit and entangle, and uses data from the ventus-grid-engine, GridAtlas and PipelineNews repositories. - What it achieves (comment): It describes line (`describeLine`) and is built from the here step (`here`) and the hash32 step (`hash32`). Quantum Twin — primary key to actual code flights. Its code works with 100 kW. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws electron, qubit and entangle. Defines 25 functions or classes, including $, here, hash32, mulberry32, atomOf. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`pilot.mjs`, `pilot-rules.js` — the command box, the cards, and the sentence rules (no language model)." - Inputs & outputs: In: data source: ventus-grid-engine data; data source: gridatlas data; data source: pipelinenews data; data source: grid-dictionary data; data source: spiders data; data source: star-solar-star data; data source: code-generator data; data source: testcode data. Out: browser storage (setItem); canvas drawing. - Downstream impact: Used directly by 1 file: Testcode — Quantum Twin Flights Page (globalgrid2050, https://globalgrid2050.com/testcode/202609162200-quantum-twin-flights/). - Signatures: `$(id)`; `here(() => { const m = document.querySelector('meta[name="wafer-data"]'); return m ? new URL(m.content, location.href).hre...)`; `hash32(str)`; `mulberry32(a)`; `atomOf(k)`; `twinOf(k)`; `say(html)`; `esc(s)`; `fly(a, b)`; `gh(t)`; `signal(o)`; `plainLabel(mod, fn, args)`; `describeLine(line)`; `help()`; `block(k)`; `twin(k)`; `read(k)`; `showCode(k, t, verb)`; `state(k)`; `qubit(k)`; `measure(rest)`; `connect(ab)`; `apps()`; `app(name)`; `engine()` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: gridatlas data; data source: pipelinenews data; data source: grid-dictionary data; data source: spiders data; data source: star-solar-star data; data source: code-generator data; data source: testcode data]; out [browser storage (setItem); canvas drawing]; crs []; voltages [] - Edges: uses 6 estate files (estate-url 6); used by 1; mentioned by 0 ### Testcode — Underground from Particles Page - File: globalgrid2050/testcode/202609180120-underground-from-particles/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609180120-underground-from-particles/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1459.html#f3 - Published at: https://globalgrid2050.com/testcode/202609180120-underground-from-particles/ - Synopsis: A web page in GlobalGrid2050. Published at https://globalgrid2050.com/testcode/202609180120-underground-from-particles/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/202609180120-underground-from-particles/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### CI Star Checks - File: globalgrid2050/testcode/ci/star_checks.py (Python, 343 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/ci/star_checks.py#L1-L343 - Page: https://code.globalgrid2050.com/explore-code/s/1460.html#f1 - Synopsis: A Python command-line tool in the testcode folder of GlobalGrid2050 that fetches today, history, UK solar and voices, using SHA-256 from the star-solar-star repository. - What it achieves (comment): It validates sun owner (`validate_sun_owner`) and is built from the digest step (`digest`) and the strict JSON helper (`strict_json`). Read-only publication audit. Reports contain hashes/counts, never fetched bodies. It accepts `--repo-root`, `--sun-root` and `--output`. - What it does: It fetches today, history, UK solar and voices. Defines 21 functions or classes, including digest, strict_json, unique, finite_only, git. Uses libraries __future__, argparse, concurrent.futures, datetime, hashlib. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: star-solar-star data; JSON file today.json; JSON file history.json; JSON file uk-solar.json; JSON file voices.json; JSON file press.json; JSON file provenance.json; command-line arguments. - Downstream impact: Used directly by 2 files: CI Test Star Checks (globalgrid2050); GlobalGrid2050 Star Checks Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `digest(raw: bytes)`; `strict_json(raw: bytes)`; `unique(pairs)`; `finite_only(value)`; `git(root: Path, *args: str)`; `committed(root: Path, commit: str, path: str)`; `safe_asset(manifest: str, name: str)`; `inventory(manifest: str, obj: dict)`; `plan(root: Path, commit: str)`; `origin(url: str)`; `remaining_timeout(deadline: float, maximum: float)`; `class SameOriginRedirect`; `redirect_request(self, req, fp, code, msg, headers, newurl)`; `fetch(url: str, limit: int, deadline: float)`; `sector_patterns(raw: bytes)`; `walk(value)`; `check_item(item: dict, base: str, deadline: float, reader=fetch)`; `validate_sun_owner(owner: Path, deadline: float, reader=fetch)`; `window_open(until: str, now: dt.datetime | None = None)`; `window_overdue_days(until: str, now: dt.datetime | None = None)`; `main(argv=None)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: star-solar-star data; JSON file today.json; JSON file history.json; JSON file uk-solar.json; JSON file voices.json; JSON file press.json; JSON file provenance.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### CI Test Star Checks - File: globalgrid2050/testcode/ci/test_star_checks.py (Python, 160 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/ci/test_star_checks.py#L1-L160 - Page: https://code.globalgrid2050.com/explore-code/s/1460.html#f2 - Synopsis: A test in the testcode folder of GlobalGrid2050 that checks CI Star Checks, using SHA-256. - What it achieves (name): It is built from the publication checks class (`PublicationChecks`), the target class (`Target`) and the do get helper (`do_GET`). Defines `PublicationChecks`, `test_inventory_supports_three_committed_formats`, `test_missing_inventory_is_explicit` and 18 more. - What it does: It tests its inputs. Defines 21 functions or classes, including PublicationChecks, test_inventory_supports_three_committed_formats, test_missing_inventory_is_explicit, test_path_escapes_and_cross_publication_references_rejected, test_invalid_hash_size_duplicate_inventory_rejected. Uses libraries datetime, importlib.util, json, pathlib, time. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: 127.0.0.1:{source.server_port}; JSON file x.json; JSON file publication.json; JSON file test.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Star Checks Workflow (globalgrid2050). - Signatures: `class PublicationChecks`; `test_inventory_supports_three_committed_formats(self)`; `test_missing_inventory_is_explicit(self)`; `test_path_escapes_and_cross_publication_references_rejected(self)`; `test_invalid_hash_size_duplicate_inventory_rejected(self)`; `test_served_manifest_cannot_authorize_changed_asset(self)`; `test_plan_uses_committed_manifest_bytes(self)`; `test_unsupported_inventory_is_a_distinct_coverage_gate(self)`; `test_public_patterns_report_counts_not_values(self)`; `test_public_patterns_ignore_numeric_measurements_and_hashes(self)`; `test_duplicate_json_and_failed_pattern_scan_fail_closed(self)`; `test_redirect_target_is_never_requested_across_origins(self)`; `class Target`; `do_GET(self)`; `log_message(self,*args)`; `class Redirect`; `test_sun_owner_pin_checked_before_execution(self)`; `test_night_cutoff_is_exclusive_and_utc(self)`; `test_subprocess_timeout_respects_remaining_deadline(self)`; `test_production_pin_matches_workflow(self)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: 127.0.0.1:{source.server_port}; JSON file x.json; JSON file publication.json; JSON file test.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 2; mentioned by 0 ### Particles — 01 Run T0120z Page - File: globalgrid2050/testcode/particles/01-run-20260918t0120z/index.html (HTML, 31 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/01-run-20260918t0120z/index.html#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/1460.html#f3 - Published at: https://globalgrid2050.com/testcode/particles/01-run-20260918t0120z/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/01-run-20260918t0120z/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/01-run-20260918t0120z/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Particles — 02 Run T0120z Page - File: globalgrid2050/testcode/particles/02-run-20260918t0120z/index.html (HTML, 31 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/02-run-20260918t0120z/index.html#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/1460.html#f4 - Published at: https://globalgrid2050.com/testcode/particles/02-run-20260918t0120z/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/02-run-20260918t0120z/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/02-run-20260918t0120z/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Particles — 03 Run T0120z Page - File: globalgrid2050/testcode/particles/03-run-20260918t0120z/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/03-run-20260918t0120z/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1460.html#f5 - Published at: https://globalgrid2050.com/testcode/particles/03-run-20260918t0120z/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/03-run-20260918t0120z/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/03-run-20260918t0120z/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 04 Line Page - File: globalgrid2050/testcode/particles/04-line-161846/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/04-line-161846/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1460.html#f6 - Published at: https://globalgrid2050.com/testcode/particles/04-line-161846/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/04-line-161846/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/04-line-161846/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 05 Line 30910 Page - File: globalgrid2050/testcode/particles/05-line-30910/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/05-line-30910/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1460.html#f7 - Published at: https://globalgrid2050.com/testcode/particles/05-line-30910/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/05-line-30910/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/05-line-30910/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 06 UK Line Page - File: globalgrid2050/testcode/particles/06-uk-line-242769/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/06-uk-line-242769/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1460.html#f8 - Published at: https://globalgrid2050.com/testcode/particles/06-uk-line-242769/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/06-uk-line-242769/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/06-uk-line-242769/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 07 World Line Page - File: globalgrid2050/testcode/particles/07-world-line-111833/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/07-world-line-111833/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f1 - Published at: https://globalgrid2050.com/testcode/particles/07-world-line-111833/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/07-world-line-111833/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/07-world-line-111833/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 08 Logo Line Page - File: globalgrid2050/testcode/particles/08-logo-line-323692/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/08-logo-line-323692/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f2 - Published at: https://globalgrid2050.com/testcode/particles/08-logo-line-323692/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/08-logo-line-323692/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/08-logo-line-323692/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 09 Grid Line Page - File: globalgrid2050/testcode/particles/09-grid-line-192756/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/09-grid-line-192756/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f3 - Published at: https://globalgrid2050.com/testcode/particles/09-grid-line-192756/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/09-grid-line-192756/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/09-grid-line-192756/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 10 Grid400 Line 61820 Page - File: globalgrid2050/testcode/particles/10-grid400-line-61820/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/10-grid400-line-61820/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f4 - Published at: https://globalgrid2050.com/testcode/particles/10-grid400-line-61820/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/10-grid400-line-61820/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/10-grid400-line-61820/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 11 Grid132 Line Page - File: globalgrid2050/testcode/particles/11-grid132-line-273679/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/11-grid132-line-273679/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f5 - Published at: https://globalgrid2050.com/testcode/particles/11-grid132-line-273679/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/11-grid132-line-273679/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/11-grid132-line-273679/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 13 Shotwick Line 11807 Page - File: globalgrid2050/testcode/particles/13-shotwick-line-11807/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/13-shotwick-line-11807/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f6 - Published at: https://globalgrid2050.com/testcode/particles/13-shotwick-line-11807/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/13-shotwick-line-11807/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/13-shotwick-line-11807/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 14 Underground Line Page - File: globalgrid2050/testcode/particles/14-underground-line-223666/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/14-underground-line-223666/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f7 - Published at: https://globalgrid2050.com/testcode/particles/14-underground-line-223666/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/14-underground-line-223666/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/14-underground-line-223666/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 15 UK Line 92730 Page - File: globalgrid2050/testcode/particles/15-uk-line-92730/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/15-uk-line-92730/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f8 - Published at: https://globalgrid2050.com/testcode/particles/15-uk-line-92730/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/15-uk-line-92730/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/15-uk-line-92730/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 16 World Line Page - File: globalgrid2050/testcode/particles/16-world-line-304589/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/16-world-line-304589/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f9 - Published at: https://globalgrid2050.com/testcode/particles/16-world-line-304589/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/16-world-line-304589/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/16-world-line-304589/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 17 Logo Line Page - File: globalgrid2050/testcode/particles/17-logo-line-173653/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/17-logo-line-173653/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f10 - Published at: https://globalgrid2050.com/testcode/particles/17-logo-line-173653/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/17-logo-line-173653/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/17-logo-line-173653/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 18 Grid Line 42717 Page - File: globalgrid2050/testcode/particles/18-grid-line-42717/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/18-grid-line-42717/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f11 - Published at: https://globalgrid2050.com/testcode/particles/18-grid-line-42717/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/18-grid-line-42717/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/18-grid-line-42717/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 19 Grid400 Line Page - File: globalgrid2050/testcode/particles/19-grid400-line-254576/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/19-grid400-line-254576/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f12 - Published at: https://globalgrid2050.com/testcode/particles/19-grid400-line-254576/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/19-grid400-line-254576/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/19-grid400-line-254576/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 20 Grid132 Line Page - File: globalgrid2050/testcode/particles/20-grid132-line-123640/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/20-grid132-line-123640/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f13 - Published at: https://globalgrid2050.com/testcode/particles/20-grid132-line-123640/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/20-grid132-line-123640/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/20-grid132-line-123640/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 22 Shotwick Line Page - File: globalgrid2050/testcode/particles/22-shotwick-line-204563/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/22-shotwick-line-204563/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f14 - Published at: https://globalgrid2050.com/testcode/particles/22-shotwick-line-204563/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/22-shotwick-line-204563/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/22-shotwick-line-204563/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 23 Underground Line 73627 Page - File: globalgrid2050/testcode/particles/23-underground-line-73627/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/23-underground-line-73627/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f15 - Published at: https://globalgrid2050.com/testcode/particles/23-underground-line-73627/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/23-underground-line-73627/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/23-underground-line-73627/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 24 UK Line Page - File: globalgrid2050/testcode/particles/24-uk-line-285486/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/24-uk-line-285486/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f16 - Published at: https://globalgrid2050.com/testcode/particles/24-uk-line-285486/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/24-uk-line-285486/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/24-uk-line-285486/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 25 World Line Page - File: globalgrid2050/testcode/particles/25-world-line-154550/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/25-world-line-154550/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f17 - Published at: https://globalgrid2050.com/testcode/particles/25-world-line-154550/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/25-world-line-154550/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/25-world-line-154550/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 26 Logo Line 23613 Page - File: globalgrid2050/testcode/particles/26-logo-line-23613/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/26-logo-line-23613/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f18 - Published at: https://globalgrid2050.com/testcode/particles/26-logo-line-23613/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/26-logo-line-23613/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/26-logo-line-23613/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 27 Grid Line Page - File: globalgrid2050/testcode/particles/27-grid-line-235472/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/27-grid-line-235472/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f19 - Published at: https://globalgrid2050.com/testcode/particles/27-grid-line-235472/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/27-grid-line-235472/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/27-grid-line-235472/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 28 Grid400 Line Page - File: globalgrid2050/testcode/particles/28-grid400-line-104536/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/28-grid400-line-104536/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f20 - Published at: https://globalgrid2050.com/testcode/particles/28-grid400-line-104536/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/28-grid400-line-104536/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/28-grid400-line-104536/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Particles — 29 Grid132 Line Page - File: globalgrid2050/testcode/particles/29-grid132-line-316395/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/particles/29-grid132-line-316395/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1461.html#f21 - Published at: https://globalgrid2050.com/testcode/particles/29-grid132-line-316395/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/particles/29-grid132-line-316395/. - What it achieves (name): Its code works with 100 kW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/particles/29-grid132-line-316395/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (iframe 1); used by 0; mentioned by 0 ### Wafer Development Environment — Estate - File: globalgrid2050/testcode/wafer-development-environment/202609170020-estate/app.mjs (JavaScript, 819 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609170020-estate/app.mjs#L1-L819 - Page: https://code.globalgrid2050.com/explore-code/s/1462.html#f1 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that draws lines meta and families, using SHA-256. It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). - What it achieves (comment): WHAT THIS IS. Every line of code in the estate that has been given a permanent number is one point on one surface. It responds to click, pointerdown and pointermove events. - What it does: It draws lines meta and families. Defines 50 functions or classes, including $, indexOfKey, bin, tier1, tier2. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json; JSON file line-index.json. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 10 files: Wafer Development Environment — Voltage Drop Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170042-voltage-drop/); Wafer Development Environment — GridAtlas Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170041-gridatlas/); Wafer Development Environment — Land GridAtlas Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170045-land-gridatlas/); Wafer Development Environment — Estate Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170036-estate/); and 6 more. Reached from 124 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). - Signatures: `$(id)`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm, usage)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `render()`; `x(U.posB[i * 2] - view.x)`; `draw()`; `home()`; `flyTo(key, zoom)`; `waferR()`; `clearPupil(buf)`; `rimStart()`; `partition(keys)`; `fullTargets(scopeTargets)`; `lawTargets()` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json; JSON file line-index.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 10; mentioned by 0 ### Wafer Development Environment — Estate Page - File: globalgrid2050/testcode/wafer-development-environment/202609170036-estate/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609170036-estate/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1463.html#f2 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609170036-estate/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170036-estate/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 6 files: Testcode — Wafer Development Environment Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); and 2 more. Reached from 115 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170036-estate/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 3, stylesheet 1); used by 6; mentioned by 0 ### Pilot - File: globalgrid2050/testcode/wafer-development-environment/202609170036-estate/pilot.mjs (JavaScript, 236 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609170036-estate/pilot.mjs#L1-L236 - Page: https://code.globalgrid2050.com/explore-code/s/1463.html#f3 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609170036-estate/ - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that draws electron and qubit, and uses data from the ventus-grid-engine, GridAtlas and PipelineNews repositories. Served with the page at https://globalgrid2050.com/testcode/wafer-development-environment/202609170036-estate/. - What it achieves (comment): It describes line (`describeLine`) and is built from the here step (`here`) and the hash32 step (`hash32`). Quantum Twin — primary key to actual code flights. Its code works with 100 kW. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws electron, qubit and entangle. Defines 25 functions or classes, including $, here, hash32, mulberry32, atomOf. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: gridatlas data; data source: pipelinenews data; data source: grid-dictionary data; data source: spiders data; data source: star-solar-star data; data source: code-generator data; data source: testcode data. Out: browser storage (setItem); canvas drawing. - Downstream impact: Used directly by 10 files: Wafer Development Environment — Voltage Drop Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170042-voltage-drop/); Wafer Development Environment — GridAtlas Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170041-gridatlas/); Wafer Development Environment — Land GridAtlas Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170045-land-gridatlas/); Wafer Development Environment — Estate Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170036-estate/); and 6 more. Reached from 124 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170036-estate/. - Signatures: `$(id)`; `here(() => { const m = document.querySelector('meta[name="wafer-data"]'); return m ? new URL(m.content, location.href).hre...)`; `hash32(str)`; `mulberry32(a)`; `atomOf(k)`; `twinOf(k)`; `say(html)`; `esc(s)`; `fly(a, b)`; `gh(t)`; `signal(o)`; `plainLabel(mod, fn, args)`; `describeLine(line)`; `help()`; `block(k)`; `twin(k)`; `read(k)`; `showCode(k, t, verb)`; `state(k)`; `qubit(k)`; `measure(rest)`; `connect(ab)`; `apps()`; `app(name)`; `engine()` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: gridatlas data; data source: pipelinenews data; data source: grid-dictionary data; data source: spiders data; data source: star-solar-star data; data source: code-generator data; data source: testcode data]; out [browser storage (setItem); canvas drawing]; crs []; voltages [] - Edges: uses 6 estate files (estate-url 6); used by 10; mentioned by 0 ### Wafer Development Environment — Block 39885 Page - File: globalgrid2050/testcode/wafer-development-environment/202609170037-block-39885/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609170037-block-39885/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1463.html#f4 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609170037-block-39885/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170037-block-39885/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 6 files: Testcode — Wafer Development Environment Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); and 2 more. Reached from 115 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170037-block-39885/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 3, stylesheet 1); used by 6; mentioned by 0 ### Wafer Development Environment — Twin 39885 Page - File: globalgrid2050/testcode/wafer-development-environment/202609170038-twin-39885/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609170038-twin-39885/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1463.html#f5 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609170038-twin-39885/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170038-twin-39885/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 6 files: Testcode — Wafer Development Environment Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); and 2 more. Reached from 115 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170038-twin-39885/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 3, stylesheet 1); used by 6; mentioned by 0 ### Wafer Development Environment — State 39885 Page - File: globalgrid2050/testcode/wafer-development-environment/202609170039-state-39885/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609170039-state-39885/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1463.html#f6 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609170039-state-39885/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170039-state-39885/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 8 files: Particles — 04 Line Page (globalgrid2050, https://globalgrid2050.com/testcode/particles/04-line-161846/); Particles — 05 Line 30910 Page (globalgrid2050, https://globalgrid2050.com/testcode/particles/05-line-30910/); Testcode — Wafer Development Environment Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); and 4 more. Reached from 115 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170039-state-39885/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 3, stylesheet 1); used by 8; mentioned by 0 ### Wafer Development Environment — Measure 39885 Page - File: globalgrid2050/testcode/wafer-development-environment/202609170040-measure-39885/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609170040-measure-39885/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1463.html#f7 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609170040-measure-39885/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170040-measure-39885/. - What it achieves (name): Its name says it measures page. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 6 files: Testcode — Wafer Development Environment Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); and 2 more. Reached from 115 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170040-measure-39885/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 3, stylesheet 1); used by 6; mentioned by 0 ### Wafer Development Environment — Diversified Demand Page - File: globalgrid2050/testcode/wafer-development-environment/202609170043-diversified-demand/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609170043-diversified-demand/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1463.html#f8 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609170043-diversified-demand/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170043-diversified-demand/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 6 files: Testcode — Wafer Development Environment Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); and 2 more. Reached from 115 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170043-diversified-demand/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 3, stylesheet 1); used by 6; mentioned by 0 ### Wafer Development Environment — Key to Code Page - File: globalgrid2050/testcode/wafer-development-environment/202609170044-key-to-code/index.html (HTML, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609170044-key-to-code/index.html#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1463.html#f9 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609170044-key-to-code/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170044-key-to-code/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 7 files: Particles — 03 Run T0120z Page (globalgrid2050, https://globalgrid2050.com/testcode/particles/03-run-20260918t0120z/); Testcode — Wafer Development Environment Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); and 3 more. Reached from 115 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609170044-key-to-code/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 3, stylesheet 1); used by 7; mentioned by 0 ### Wafer Development Environment — Underground - File: globalgrid2050/testcode/wafer-development-environment/202609180205-underground/app.mjs (JavaScript, 819 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609180205-underground/app.mjs#L1-L819 - Page: https://code.globalgrid2050.com/explore-code/s/1464.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/ - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that draws lines meta and families, using SHA-256. Served with the page at https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/. - What it achieves (comment): It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). WHAT THIS IS. Every line of code in the estate that has been given a permanent number is one point on one surface. It responds to click, pointerdown and pointermove events. - What it does: It draws lines meta and families. Defines 50 functions or classes, including $, indexOfKey, bin, tier1, tier2. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json; JSON file line-index.json. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 3 files: Wafer Development Environment — Underground Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/); Wafer Development Environment — Real Systems Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609180245-real-systems/); Wafer Development Environment — Proof S0004 Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609192215-proof-s0004/). Reached from 172 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/. - Signatures: `$(id)`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm, usage)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `render()`; `x(U.posB[i * 2] - view.x)`; `draw()`; `home()`; `flyTo(key, zoom)`; `waferR()`; `clearPupil(buf)`; `rimStart()`; `partition(keys)`; `fullTargets(scopeTargets)`; `lawTargets()` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json; JSON file line-index.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 3; mentioned by 0 ### Wafer Development Environment — Underground Page - File: globalgrid2050/testcode/wafer-development-environment/202609180205-underground/index.html (HTML, 53 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609180205-underground/index.html#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1465.html#f2 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/ - Synopsis: A web page in the testcode folder of GlobalGrid2050. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/. - What it achieves (name): It responds to click events. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 6 files: Testcode — Wafer Development Environment Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); and 2 more. Reached from 115 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 3, stylesheet 1); used by 6; mentioned by 0 ### Pilot Rules - File: globalgrid2050/testcode/wafer-development-environment/202609180205-underground/pilot-rules.js (JavaScript, 51 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609180205-underground/pilot-rules.js#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/1465.html#f3 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/ - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that works with substations. Served with the page at https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/. - What it achieves (comment): It is built from the plan step (`plan`) and the num step (`num`). Pilot by typing anything, with no model: plain words are matched to commands by rules the page can show you. - What it does: It calculates substations. Defines plan, num. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations. - Downstream impact: Used directly by 2 files: Wafer Development Environment — Underground Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/); Wafer Development Environment — Real Systems Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609180245-real-systems/). Reached from 146 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/. - Signatures: `plan(sentence, ctx)`; `num(re)`; `appNames(ctx && ctx.appNames)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Pilot - File: globalgrid2050/testcode/wafer-development-environment/202609180205-underground/pilot.mjs (JavaScript, 266 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609180205-underground/pilot.mjs#L1-L266 - Page: https://code.globalgrid2050.com/explore-code/s/1465.html#f4 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/ - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that draws electron and qubit, and uses data from the ventus-grid-engine, GridAtlas and PipelineNews repositories. Served with the page at https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/. - What it achieves (comment): It describes line (`describeLine`) and loads net (`loadNet`). Quantum Twin — primary key to actual code flights. Its code works with 100 kW. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws electron, qubit and entangle. Defines 27 functions or classes, including $, here, hash32, mulberry32, atomOf. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: gridatlas data; data source: pipelinenews data; data source: grid-dictionary data; data source: spiders data; data source: star-solar-star data; data source: code-generator data; data source: testcode data. Out: browser storage (setItem); canvas drawing. - Downstream impact: Used directly by 1 file: Wafer Development Environment — Underground Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/). Reached from 121 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/. - Signatures: `$(id)`; `here(() => { const m = document.querySelector('meta[name="wafer-data"]'); return m ? new URL(m.content, location.href).hre...)`; `hash32(str)`; `mulberry32(a)`; `atomOf(k)`; `twinOf(k)`; `say(html)`; `esc(s)`; `fly(a, b)`; `gh(t)`; `signal(o)`; `plainLabel(mod, fn, args)`; `describeLine(line)`; `help()`; `block(k)`; `twin(k)`; `read(k)`; `showCode(k, t, verb)`; `state(k)`; `qubit(k)`; `measure(rest)`; `connect(ab)`; `apps()`; `app(name)`; `engine()` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: gridatlas data; data source: pipelinenews data; data source: grid-dictionary data; data source: spiders data; data source: star-solar-star data; data source: code-generator data; data source: testcode data]; out [browser storage (setItem); canvas drawing]; crs []; voltages [] - Edges: uses 6 estate files (estate-url 6); used by 1; mentioned by 0 ### Wafer Development Environment — Real Systems Page - File: globalgrid2050/testcode/wafer-development-environment/202609180245-real-systems/index.html (HTML, 63 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609180245-real-systems/index.html#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/1465.html#f5 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609180245-real-systems/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 covering substations. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609180245-real-systems/. - What it achieves (name): Its code works with 132 kV and 400 kV. It responds to click events. - What it does: It draws substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations, 400kV, 132kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV. - Downstream impact: Used directly by 26 files: Particles — 12 Substations Line Page (globalgrid2050, https://globalgrid2050.com/testcode/particles/12-substations-line-142743/); Particles — 21 Substations Line Page (globalgrid2050, https://globalgrid2050.com/testcode/particles/21-substations-line-335499/); Particles — 30 Substations Line Page (globalgrid2050, https://globalgrid2050.com/testcode/particles/30-substations-line-185459/); Particles — 06 UK Line Page (globalgrid2050, https://globalgrid2050.com/testcode/particles/06-uk-line-242769/); and 22 more. Reached from 120 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609180245-real-systems/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV] - Edges: uses 4 estate files (script-src 3, stylesheet 1); used by 26; mentioned by 0 ### Pilot - File: globalgrid2050/testcode/wafer-development-environment/202609180245-real-systems/pilot.mjs (JavaScript, 299 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609180245-real-systems/pilot.mjs#L1-L299 - Page: https://code.globalgrid2050.com/explore-code/s/1466.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609180245-real-systems/ - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that draws electron, using IEC 60909 and uses data from the ventus-grid-engine repository. Served with the page at https://globalgrid2050.com/testcode/wafer-development-environment/202609180245-real-systems/. - What it achieves (comment): It describes line (`describeLine`) and loads net (`loadNet`). Quantum Twin — primary key to actual code flights. Its code works with 132 kV, 400 kV and 100 kW. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws electron, qubit and entangle. Defines 29 functions or classes, including $, here, hash32, mulberry32, atomOf. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV, 132kV. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: gridatlas data; data source: pipelinenews data; data source: grid-dictionary data; data source: spiders data; data source: star-solar-star data; data source: code-generator data; data source: testcode data. Out: browser storage (setItem); canvas drawing. Voltage levels named: 400kV, 132kV. - Downstream impact: Used directly by 1 file: Wafer Development Environment — Real Systems Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609180245-real-systems/). Reached from 146 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609180245-real-systems/. - Signatures: `$(id)`; `here(() => { const m = document.querySelector('meta[name="wafer-data"]'); return m ? new URL(m.content, location.href).hre...)`; `hash32(str)`; `mulberry32(a)`; `atomOf(k)`; `twinOf(k)`; `say(html)`; `esc(s)`; `fly(a, b)`; `gh(t)`; `signal(o)`; `plainLabel(mod, fn, args)`; `describeLine(line)`; `help()`; `block(k)`; `twin(k)`; `read(k)`; `showCode(k, t, verb)`; `state(k)`; `qubit(k)`; `measure(rest)`; `connect(ab)`; `apps()`; `app(name)`; `engine()` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: gridatlas data; data source: pipelinenews data; data source: grid-dictionary data; data source: spiders data; data source: star-solar-star data; data source: code-generator data; data source: testcode data]; out [browser storage (setItem); canvas drawing]; crs []; voltages [400kV, 132kV] - Edges: uses 6 estate files (estate-url 6); used by 1; mentioned by 0 ### Wafer Development Environment — One Wafer Page - File: globalgrid2050/testcode/wafer-development-environment/202609191255-one-wafer/index.html (HTML, 258 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191255-one-wafer/index.html#L1-L258 - Page: https://code.globalgrid2050.com/explore-code/s/1466.html#f2 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609191255-one-wafer/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that converts to world (`toWorld`), calculates planar distances, draws on a canvas and reads inputs for gotoin. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191255-one-wafer/. - What it achieves (name): It is built from the tsv step (`tsv`), the resize step (`resize`) and the fly to helper (`flyTo`). Defines `fmt`, `words`, `prog` and 14 more. It responds to webglcontextlost, resize and pointerdown events. - What it does: It draws its content. Defines 18 functions or classes, including fmt, words, prog, U, tsv. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191255-one-wafer/. - Signatures: `fmt(n)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `resize()`; `flyTo(x, y, z)`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `keyAt(wx, wy)`; `frame()`; `draw()`; `toWorld(px, py)`; `show(a)`; `goKey(k)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Key - File: globalgrid2050/testcode/wafer-development-environment/202609191255-one-wafer/tools/key.py (Python, 189 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191255-one-wafer/tools/key.py#L1-L189 - Page: https://code.globalgrid2050.com/explore-code/s/1467.html#f1 - Synopsis: A Python command-line tool in the tools folder of GlobalGrid2050 that loads cache (`load_cache`), covering prove keys. - What it achieves (comment): It is built from the rows step (`rows`), the lines of helper (`lines_of`) and the blob lines helper (`blob_lines`). Turn a key into the actual line of text it stands for, using git alone. It accepts `--random` and `--prove-until`. - What it does: Defines 9 functions or classes, including rows, lines_of, load_cache, blob_lines, load. Uses libraries argparse, io, os, random, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file PROVE-KEYS.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `rows(path)`; `lines_of(body)`; `load_cache()`; `blob_lines(d, sha)`; `load()`; `key_of_line(commits, j)`; `resolve(commits, space, k)`; `prove(belt, n, until, space)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file PROVE-KEYS.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Wafer Keys - File: globalgrid2050/testcode/wafer-development-environment/202609191255-one-wafer/tools/wafer_keys.py (Python, 88 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191255-one-wafer/tools/wafer_keys.py#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/1467.html#f2 - Synopsis: A Python command-line tool in the tools folder of GlobalGrid2050 covering wafer meta. It is built from the rows step (`rows`). - What it achieves (comment): Issue every line ever written its key, in the order time issued it. - What it does: Defines rows, main. Uses libraries io, json, os, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: JSON file wafer-meta.json. - Downstream impact: Used directly by 1 file: What Is Kuiper (kuiper-belt, https://ventusltd.github.io/kuiper-belt/what-is-kuiper.html). Reached from 7 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Modes (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/modes.html). - Signatures: `rows(path)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file wafer-meta.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Wafer Development Environment — Proof 2 Page - File: globalgrid2050/testcode/wafer-development-environment/202609191305-proof-2/index.html (HTML, 325 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191305-proof-2/index.html#L1-L325 - Page: https://code.globalgrid2050.com/explore-code/s/1467.html#f3 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609191305-proof-2/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that converts to world (`toWorld`), steps anim (`stepAnim`), calculates planar distances and draws on a canvas. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191305-proof-2/. - What it achieves (name): It shows new (`showNew`) and is built from the tsv step (`tsv`) and the resize step (`resize`). Defines `fmt`, `words`, `prog` and 18 more. It responds to webglcontextlost, resize and pointerdown events. - What it does: It draws its content. Defines 22 functions or classes, including fmt, words, prog, U, tsv. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191305-proof-2/. - Signatures: `fmt(n)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `resize()`; `flyTo(x, y, z)`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `keyAt(wx, wy)`; `frame()`; `draw()`; `read(wx)`; `x(target.x - cx)`; `toWorld(px, py)`; `show(a)`; `goKey(k)`; `showNew(hours)`; `stepAnim()`; `t(performance.now() - anim.t0)`; `finishSelftest(c, n, lines)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Permanence - File: globalgrid2050/testcode/wafer-development-environment/202609191305-proof-2/tools/permanence.py (Python, 96 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191305-proof-2/tools/permanence.py#L1-L96 - Page: https://code.globalgrid2050.com/explore-code/s/1467.html#f4 - Synopsis: A Python command-line tool in the tools folder of GlobalGrid2050. It is built from the show step (`show`), the parse step (`parse`) and the keys from helper (`keys_from`). - What it achieves (comment): Did the lines written since this morning move any address issued before? - What it does: Defines show, parse, keys_from, main. Uses libraries io, json, os, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. Out: JSON file permanence.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `show(rev, path)`; `parse(text)`; `keys_from(commits)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file permanence.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Wafer Development Environment — Proof 4 Page - File: globalgrid2050/testcode/wafer-development-environment/202609191315-proof-4/index.html (HTML, 377 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191315-proof-4/index.html#L1-L377 - Page: https://code.globalgrid2050.com/explore-code/s/1468.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609191315-proof-4/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that converts to world (`toWorld`), steps anim (`stepAnim`), calculates planar distances and draws on a canvas. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191315-proof-4/. - What it achieves (code): It shows new (`showNew`) and is built from the fmt step (`fmt`) and the words step (`words`). Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It responds to webglcontextlost, resize and pointerdown events. - What it does: It draws its content. Defines 23 functions or classes, including fmt, words, prog, U, tsv. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191315-proof-4/. - Signatures: `fmt(n)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `resize()`; `flyTo(x, y, z)`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `keyAt(wx, wy)`; `frame()`; `draw()`; `read(wx)`; `x(target.x - cx)`; `toWorld(px, py)`; `show(a)`; `goKey(k)`; `showNew(hours)`; `stepAnim()`; `t(performance.now() - anim.t0)`; `finishSelftest(c, n, lines)`; `lightTime(y, m, d)` (and 1 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Wafer Development Environment — Proof 6 Page - File: globalgrid2050/testcode/wafer-development-environment/202609191335-proof-6/index.html (HTML, 499 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191335-proof-6/index.html#L1-L499 - Page: https://code.globalgrid2050.com/explore-code/s/1469.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609191335-proof-6/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that converts to world (`toWorld`), steps anim (`stepAnim`), calculates planar distances and draws on a canvas. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191335-proof-6/. - What it achieves (code): It shows new (`showNew`) and is built from the fmt step (`fmt`) and the words step (`words`). Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It responds to webglcontextlost, resize and pointerdown events. - What it does: It draws its content. Defines 31 functions or classes, including fmt, words, prog, U, tsv. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191335-proof-6/. - Signatures: `fmt(n)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `keyAt(wx, wy)`; `frame()`; `draw()`; `read(wx)`; `x(target.x - cx)`; `toWorld(px, py)`; `show(a)`; `goKey(k)`; `showNew(hours)` (and 10 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Wafer Development Environment — Proof 7 Page - File: globalgrid2050/testcode/wafer-development-environment/202609191345-proof-7/index.html (HTML, 594 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191345-proof-7/index.html#L1-L594 - Page: https://code.globalgrid2050.com/explore-code/s/1470.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609191345-proof-7/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that converts to world (`toWorld`), steps anim (`stepAnim`), calculates planar distances and draws on a canvas. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191345-proof-7/. - What it achieves (code): It shows new (`showNew`) and is built from the fmt step (`fmt`) and the words step (`words`). Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It responds to webglcontextlost, resize and pointerdown events. - What it does: It draws its content. Defines 39 functions or classes, including fmt, words, prog, U, tsv. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191345-proof-7/. - Signatures: `fmt(n)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)`; `widestRunPx(ri, z)`; `span(k0, k1)`; `linesByRunningTotals(ri)`; `keyAt(wx, wy)`; `frame()`; `draw()`; `read(wx)` (and 15 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Wafer Development Environment — Proof K0005 Page - File: globalgrid2050/testcode/wafer-development-environment/202609191608-proof-k0005/index.html (HTML, 693 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191608-proof-k0005/index.html#L1-L693 - Page: https://code.globalgrid2050.com/explore-code/s/1471.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609191608-proof-k0005/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that converts to world (`toWorld`), steps anim (`stepAnim`), loads tracked (`loadTracked`) and calculates planar distances. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191608-proof-k0005/. - What it achieves (code): It shows new (`showNew`) and loads tracked (`loadTracked`). Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It responds to webglcontextlost, resize and pointerdown events. - What it does: It draws its content. Defines 43 functions or classes, including fmt, words, prog, U, tsv. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191608-proof-k0005/. - Signatures: `fmt(n)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)`; `widestRunPx(ri, z)`; `span(k0, k1)`; `linesByRunningTotals(ri)`; `keyAt(wx, wy)`; `frame()`; `draw()`; `read(wx)` (and 15 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Wafer Development Environment — Proof K0009 Page - File: globalgrid2050/testcode/wafer-development-environment/202609191739-proof-k0009/index.html (HTML, 701 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191739-proof-k0009/index.html#L1-L701 - Page: https://code.globalgrid2050.com/explore-code/s/1472.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609191739-proof-k0009/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that converts to world (`toWorld`), steps anim (`stepAnim`), loads tracked (`loadTracked`) and calculates planar distances. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191739-proof-k0009/. - What it achieves (code): It shows new (`showNew`) and loads tracked (`loadTracked`). Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It responds to webglcontextlost, resize and pointerdown events. - What it does: It draws its content. Defines 43 functions or classes, including fmt, words, prog, U, tsv. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191739-proof-k0009/. - Signatures: `fmt(n)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)`; `widestRunPx(ri, z)`; `span(k0, k1)`; `linesByRunningTotals(ri)`; `keyAt(wx, wy)`; `frame()`; `draw()`; `read(wx)` (and 15 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Wafer Development Environment — Proof K0010 Page - File: globalgrid2050/testcode/wafer-development-environment/202609191800-proof-k0010/index.html (HTML, 724 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609191800-proof-k0010/index.html#L1-L724 - Page: https://code.globalgrid2050.com/explore-code/s/1473.html#f2 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609191800-proof-k0010/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that converts to world (`toWorld`), steps anim (`stepAnim`), loads tracked (`loadTracked`) and calculates planar distances. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191800-proof-k0010/. - What it achieves (code): It shows new (`showNew`) and loads tracked (`loadTracked`). Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It responds to webglcontextlost, resize and pointerdown events. - What it does: It draws its content. Defines 45 functions or classes, including fmt, words, prog, U, tsv. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609191800-proof-k0010/. - Signatures: `fmt(n)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)`; `widestRunPx(ri, z)`; `span(k0, k1)`; `linesByRunningTotals(ri)`; `keyAt(wx, wy)`; `frame()`; `draw()`; `read(wx)` (and 15 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Wafer Development Environment — Proof K0014 Page - File: globalgrid2050/testcode/wafer-development-environment/202609192001-proof-k0014/index.html (HTML, 942 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609192001-proof-k0014/index.html#L1-L942 - Page: https://code.globalgrid2050.com/explore-code/s/1474.html#f2 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609192001-proof-k0014/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that converts to world (`toWorld`), renders code (`renderCode`), steps anim (`stepAnim`) and calculates planar distances. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192001-proof-k0014/. - What it achieves (code): It renders code (`renderCode`), shows new (`showNew`) and loads tracked (`loadTracked`). Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It responds to webglcontextlost, resize and pointerdown events. - What it does: It draws its content. Defines 57 functions or classes, including fmt, day, words, prog, U. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192001-proof-k0014/. - Signatures: `fmt(n)`; `day(unix)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)`; `widestRunPx(ri, z)`; `span(k0, k1)`; `linesByRunningTotals(ri)`; `keyAt(wx, wy)`; `frame()`; `draw()` (and 15 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Wafer Development Environment — Proof K0015 Page - File: globalgrid2050/testcode/wafer-development-environment/202609192016-proof-k0015/index.html (HTML, 986 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609192016-proof-k0015/index.html#L1-L986 - Page: https://code.globalgrid2050.com/explore-code/s/1475.html#f2 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609192016-proof-k0015/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that converts to world (`toWorld`), renders code (`renderCode`), steps anim (`stepAnim`) and calculates planar distances. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192016-proof-k0015/. - What it achieves (code): It renders code (`renderCode`), shows new (`showNew`) and loads tracked (`loadTracked`). Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It responds to webglcontextlost, resize and pointerdown events. - What it does: It draws its content. Defines 58 functions or classes, including fmt, day, words, prog, U. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192016-proof-k0015/. - Signatures: `fmt(n)`; `day(unix)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)`; `widestRunPx(ri, z)`; `span(k0, k1)`; `linesByRunningTotals(ri)`; `keyAt(wx, wy)`; `frame()`; `draw()` (and 15 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Wafer Development Environment — Proof K0017 Page - File: globalgrid2050/testcode/wafer-development-environment/202609192047-proof-k0017/index.html (HTML, 1211 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609192047-proof-k0017/index.html#L1-L1211 - Page: https://code.globalgrid2050.com/explore-code/s/1477.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609192047-proof-k0017/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that draws link contract. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192047-proof-k0017/. It builds link (`buildLink`), parses link (`parseLink`) and renders code (`renderCode`). - What it achieves (code): Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It reads `cosmos/link-contract.json`. It responds to webglcontextlost, resize and pointerdown events. - What it does: It draws link contract. Defines 64 functions or classes, including buildLink, complaints, parseLink, fmt, day. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file link-contract.json; form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192047-proof-k0017/. - Signatures: `buildLink(o, base)`; `v(o || {})`; `complaints(href)`; `parseLink(href)`; `fmt(n)`; `day(unix)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)`; `widestRunPx(ri, z)`; `span(k0, k1)` (and 15 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file link-contract.json; form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Wafer Development Environment — Proof K0018 Page - File: globalgrid2050/testcode/wafer-development-environment/202609192105-proof-k0018/index.html (HTML, 1330 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609192105-proof-k0018/index.html#L1-L1330 - Page: https://code.globalgrid2050.com/explore-code/s/1479.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609192105-proof-k0018/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that draws link contract. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192105-proof-k0018/. It builds link (`buildLink`), parses link (`parseLink`) and sets tag (`setTag`). - What it achieves (code): Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It reads `cosmos/link-contract.json`. It responds to error, webglcontextlost and resize events. - What it does: It draws link contract. Defines 73 functions or classes, including buildLink, complaints, parseLink, fmt, day. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file link-contract.json; form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192105-proof-k0018/. - Signatures: `buildLink(o, base)`; `v(o || {})`; `complaints(href)`; `parseLink(href)`; `fmt(n)`; `day(unix)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)`; `widestRunPx(ri, z)`; `span(k0, k1)` (and 15 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file link-contract.json; form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Wafer Development Environment — Proof K0019 Page - File: globalgrid2050/testcode/wafer-development-environment/202609192115-proof-k0019/index.html (HTML, 1333 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609192115-proof-k0019/index.html#L1-L1333 - Page: https://code.globalgrid2050.com/explore-code/s/1481.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609192115-proof-k0019/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that draws link contract. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192115-proof-k0019/. It builds link (`buildLink`), parses link (`parseLink`) and sets tag (`setTag`). - What it achieves (code): Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It reads `cosmos/link-contract.json`. It responds to error, webglcontextlost and resize events. - What it does: It draws link contract. Defines 73 functions or classes, including buildLink, complaints, parseLink, fmt, day. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file link-contract.json; form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192115-proof-k0019/. - Signatures: `buildLink(o, base)`; `v(o || {})`; `complaints(href)`; `parseLink(href)`; `fmt(n)`; `day(unix)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)`; `widestRunPx(ri, z)`; `span(k0, k1)` (and 15 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file link-contract.json; form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Wafer Development Environment — Proof K0021 Page - File: globalgrid2050/testcode/wafer-development-environment/202609192128-proof-k0021/index.html (HTML, 1531 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609192128-proof-k0021/index.html#L1-L1531 - Page: https://code.globalgrid2050.com/explore-code/s/1483.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609192128-proof-k0021/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that draws link contract and cables, and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192128-proof-k0021/. - What it achieves (code): It builds link (`buildLink`), parses link (`parseLink`) and sets tag (`setTag`). Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It reads `cosmos/link-contract.json`. It responds to error, webglcontextlost and resize events. - What it does: It draws link contract and cables. Defines 76 functions or classes, including buildLink, complaints, parseLink, fmt, day. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; JSON file link-contract.json; form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192128-proof-k0021/. - Signatures: `buildLink(o, base)`; `v(o || {})`; `complaints(href)`; `parseLink(href)`; `fmt(n)`; `day(unix)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `appFor(owner, name, path)`; `full((owner || '') + '/' + (name || ''))`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)` (and 15 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file link-contract.json; form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 5; mentioned by 0 ### Wafer Development Environment — Proof K0022 Page - File: globalgrid2050/testcode/wafer-development-environment/202609192138-proof-k0022/index.html (HTML, 1559 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609192138-proof-k0022/index.html#L1-L1559 - Page: https://code.globalgrid2050.com/explore-code/s/1485.html#f2 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609192138-proof-k0022/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that draws link contract and cables, and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192138-proof-k0022/. - What it achieves (code): It builds link (`buildLink`), parses link (`parseLink`) and sets tag (`setTag`). Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It reads `cosmos/link-contract.json`. It responds to error, webglcontextlost and resize events. - What it does: It draws link contract and cables. Defines 76 functions or classes, including buildLink, complaints, parseLink, fmt, day. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; JSON file link-contract.json; form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192138-proof-k0022/. - Signatures: `buildLink(o, base)`; `v(o || {})`; `complaints(href)`; `parseLink(href)`; `fmt(n)`; `day(unix)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `appFor(owner, name, path)`; `full((owner || '') + '/' + (name || ''))`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)` (and 15 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file link-contract.json; form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 5; mentioned by 0 ### Wafer Development Environment — Proof K0024 Page - File: globalgrid2050/testcode/wafer-development-environment/202609192148-proof-k0024/index.html (HTML, 1638 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609192148-proof-k0024/index.html#L1-L1638 - Page: https://code.globalgrid2050.com/explore-code/s/1487.html#f2 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609192148-proof-k0024/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that draws link contract, cables, solar and battery storage (BESS), and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192148-proof-k0024/. - What it achieves (code): It builds link (`buildLink`), parses link (`parseLink`) and sets tag (`setTag`). Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It reads `cosmos/link-contract.json`. It responds to error, webglcontextlost and resize events. - What it does: It draws link contract, cables, solar and battery storage (BESS). Defines 76 functions or classes, including buildLink, complaints, parseLink, fmt, day. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, solar, battery storage (BESS). - Inputs & outputs: In: data source: gridatlas data; JSON file link-contract.json; form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192148-proof-k0024/. - Signatures: `buildLink(o, base)`; `v(o || {})`; `complaints(href)`; `parseLink(href)`; `fmt(n)`; `day(unix)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `appFor(owner, name, path)`; `full((owner || '') + '/' + (name || ''))`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)` (and 15 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file link-contract.json; form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 3 estate files (estate-url 3); used by 5; mentioned by 0 ### Wafer Development Environment — Proof K0025 Page - File: globalgrid2050/testcode/wafer-development-environment/202609192158-proof-k0025/index.html (HTML, 1802 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609192158-proof-k0025/index.html#L1-L1802 - Page: https://code.globalgrid2050.com/explore-code/s/1490.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609192158-proof-k0025/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that draws programs, link contract, cables and solar, and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192158-proof-k0025/. - What it achieves (code): It builds link (`buildLink`), parses link (`parseLink`) and sets tag (`setTag`). Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It reads `cosmos/programs.json`. It responds to error, webglcontextlost and resize events. - What it does: It draws programs, link contract, cables and solar. Defines 87 functions or classes, including buildLink, complaints, parseLink, fmt, day. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, solar. - Inputs & outputs: In: data source: gridatlas data; JSON file programs.json; JSON file link-contract.json; form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192158-proof-k0025/. - Signatures: `buildLink(o, base)`; `v(o || {})`; `complaints(href)`; `parseLink(href)`; `fmt(n)`; `day(unix)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `appFor(owner, name, path)`; `full((owner || '') + '/' + (name || ''))`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)` (and 15 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file programs.json; JSON file link-contract.json; form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 3 estate files (estate-url 3); used by 5; mentioned by 0 ### Wafer Development Environment — Proof K0026 Page - File: globalgrid2050/testcode/wafer-development-environment/202609192208-proof-k0026/index.html (HTML, 1869 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609192208-proof-k0026/index.html#L1-L1869 - Page: https://code.globalgrid2050.com/explore-code/s/1493.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609192208-proof-k0026/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that draws programs, link contract, cables and solar, and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192208-proof-k0026/. - What it achieves (code): It builds link (`buildLink`), parses link (`parseLink`) and sets tag (`setTag`). Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It reads `cosmos/programs.json`. It responds to error, webglcontextlost and resize events. - What it does: It draws programs, link contract, cables and solar. Defines 88 functions or classes, including buildLink, complaints, parseLink, fmt, day. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, solar. - Inputs & outputs: In: data source: gridatlas data; JSON file programs.json; JSON file link-contract.json; form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192208-proof-k0026/. - Signatures: `buildLink(o, base)`; `v(o || {})`; `complaints(href)`; `parseLink(href)`; `fmt(n)`; `day(unix)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `appFor(owner, name, path)`; `full((owner || '') + '/' + (name || ''))`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)` (and 15 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file programs.json; JSON file link-contract.json; form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 3 estate files (estate-url 3); used by 5; mentioned by 0 ### Wafer Development Environment — Proof S0004 Page - File: globalgrid2050/testcode/wafer-development-environment/202609192215-proof-s0004/index.html (HTML, 63 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609192215-proof-s0004/index.html#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/1495.html#f2 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609192215-proof-s0004/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 covering substations. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192215-proof-s0004/. - What it achieves (name): Its code works with 132 kV and 400 kV. It responds to click events. - What it does: It draws substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations, 400kV, 132kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV. - Downstream impact: Used directly by 55 files: Kuiper Programs (globalgrid2050, https://globalgrid2050.com/kuiper-grid/drawing/); Kuiper Programs (globalgrid2050); Kuiper Programs (globalgrid2050); Kuiper Programs (globalgrid2050); and 51 more. Reached from 107 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/); GlobalGrid2050 — Kuiper Grid Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192215-proof-s0004/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV] - Edges: uses 4 estate files (script-src 3, stylesheet 1); used by 55; mentioned by 0 ### Pilot - File: globalgrid2050/testcode/wafer-development-environment/202609192215-proof-s0004/pilot.mjs (JavaScript, 381 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609192215-proof-s0004/pilot.mjs#L1-L381 - Page: https://code.globalgrid2050.com/explore-code/s/1496.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609192215-proof-s0004/ - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that draws electron, using IEC 60909 and uses data from the ventus-grid-engine repository. Served with the page at https://globalgrid2050.com/testcode/wafer-development-environment/202609192215-proof-s0004/. - What it achieves (comment): It sets stack (`setStack`), describes line (`describeLine`) and loads net (`loadNet`). Quantum Twin — primary key to actual code flights. Its code works with 132 kV, 400 kV and 100 kW. It responds to resize, pointerdown and pointermove events. - What it does: It draws electron, qubit and entangle. Defines 33 functions or classes, including $, here, hash32, mulberry32, atomOf. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV, 132kV. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: gridatlas data; data source: pipelinenews data; data source: grid-dictionary data; data source: spiders data; data source: star-solar-star data; data source: code-generator data; data source: testcode data. Out: browser storage (setItem); canvas drawing. Voltage levels named: 400kV, 132kV. - Downstream impact: Used directly by 1 file: Wafer Development Environment — Proof S0004 Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609192215-proof-s0004/). Reached from 114 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192215-proof-s0004/. - Signatures: `$(id)`; `here(() => { const m = document.querySelector('meta[name="wafer-data"]'); return m ? new URL(m.content, location.href).hre...)`; `hash32(str)`; `mulberry32(a)`; `atomOf(k)`; `twinOf(k)`; `setStack()`; `log(s)`; `status(s)`; `n(x)`; `say(html)`; `esc(s)`; `fly(a, b)`; `gh(t)`; `signal(o)`; `plainLabel(mod, fn, args)`; `describeLine(line)`; `help()`; `block(k)`; `twin(k)`; `read(k)`; `showCode(k, t, verb)`; `state(k)`; `qubit(k)`; `measure(rest)` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: gridatlas data; data source: pipelinenews data; data source: grid-dictionary data; data source: spiders data; data source: star-solar-star data; data source: code-generator data; data source: testcode data]; out [browser storage (setItem); canvas drawing]; crs []; voltages [400kV, 132kV] - Edges: uses 6 estate files (estate-url 6); used by 1; mentioned by 0 ### Wafer Development Environment — Proof S0004 Style Sheet - File: globalgrid2050/testcode/wafer-development-environment/202609192215-proof-s0004/style.css (CSS, 129 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609192215-proof-s0004/style.css#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/1496.html#f2 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609192215-proof-s0004/ - Synopsis: A style sheet in the testcode folder of GlobalGrid2050. Served with the page at https://globalgrid2050.com/testcode/wafer-development-environment/202609192215-proof-s0004/. - What it achieves (comment): Designed at 430 px first; the desktop is the same layout with more room. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Wafer Development Environment — Proof S0004 Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609192215-proof-s0004/). Reached from 114 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192215-proof-s0004/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Wafer Development Environment — Proof K0030 Page - File: globalgrid2050/testcode/wafer-development-environment/202609192238-proof-k0030/index.html (HTML, 2157 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/202609192238-proof-k0030/index.html#L1-L2157 - Page: https://code.globalgrid2050.com/explore-code/s/1497.html#f1 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/202609192238-proof-k0030/ - Synopsis: A web page in the testcode folder of GlobalGrid2050 that draws programs, link contract, cables and solar, and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192238-proof-k0030/. - What it achieves (code): It builds link (`buildLink`), parses link (`parseLink`) and makes body (`makeBody`). Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It reads `cosmos/programs.json`. It responds to error, webglcontextlost and resize events. - What it does: It draws programs, link contract, cables and solar. Defines 105 functions or classes, including buildLink, complaints, parseLink, fmt, day. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables, solar. - Inputs & outputs: In: data source: gridatlas data; JSON file programs.json; JSON file link-contract.json; form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 5 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V123 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v123.html); Homepage V124 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v124.html); and 1 more. Reached from 83 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/202609192238-proof-k0030/. - Signatures: `buildLink(o, base)`; `v(o || {})`; `complaints(href)`; `parseLink(href)`; `fmt(n)`; `day(unix)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `appFor(owner, name, path)`; `full((owner || '') + '/' + (name || ''))`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)` (and 15 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file programs.json; JSON file link-contract.json; form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 4 estate files (estate-url 3, dynamic-import 1); used by 5; mentioned by 0 ### Testcode — Wafer Development Environment Page - File: globalgrid2050/testcode/wafer-development-environment/index.html (HTML, 12 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/wafer-development-environment/index.html#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1500.html#f2 - Published at: https://globalgrid2050.com/testcode/wafer-development-environment/ - Synopsis: A web page in GlobalGrid2050. Published at https://globalgrid2050.com/testcode/wafer-development-environment/. - What it achieves (name): Its code works with 132 kV and 400 kV. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV, 132kV. - Inputs & outputs: Out: web page. Voltage levels named: 400kV, 132kV. - Downstream impact: Used directly by 9 files: Check Proof (kuiper-belt); Modular Join (vedic-); Review Page (vedic-); Test Modular Join (vedic-); and 5 more. Reached from 111 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/testcode/wafer-development-environment/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [400kV, 132kV] - Edges: uses 12 estate files (link 12); used by 9; mentioned by 0 ### Test Kuiper Universes Entry - File: globalgrid2050-homepage/tests/test_kuiper_universes_entry.py (Python, 37 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/tests/test_kuiper_universes_entry.py#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/1500.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 Homepage using data from the cosmic repository. It is built from the kuiper universes entry tests class (`KuiperUniversesEntryTests`). - What it achieves (comment): Kuiper universes is a featured sub-entry of Explore Code (section 13). - What it does: It tests its inputs. Defines KuiperUniversesEntryTests, test_kuiper_universes_under_explore_code. Uses libraries json, unittest, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: cosmic data; JSON file homepage.json; JSON file entity-types.json. - Downstream impact: Used directly by 3 files: Build Homepage Release Candidate Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage). - Signatures: `class KuiperUniversesEntryTests`; `test_kuiper_universes_under_explore_code(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: cosmic data; JSON file homepage.json; JSON file entity-types.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Assemble - File: graphics-engines-open-source/assemble.py (Python, 12 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/assemble.py#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1500.html#f4 - Synopsis: A Python module in Graphics Engines Open Source that copies the explicitly listed original prototype files; no project data, using SHA-256. - What it does: Uses libraries pathlib, hashlib, json, argparse. Side effects: reads or writes files. - Inputs & outputs: In: command-line arguments. Out: JSON file source-manifest.json. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file source-manifest.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Scene GPU - File: graphics-engines-open-source/check_scene_gpu.py (Python, 38 lines) · role storage · stage output - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/check_scene_gpu.py#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1500.html#f5 - Synopsis: A Python module in Graphics Engines Open Source covering explore geometry and GPU scene check, using SHA-256. - What it achieves (comment): Compare actual renderer panel vertices and route travel with CuPy calculations. - What it does: It lists and searches explore geometry and GPU scene check. Uses libraries pathlib, json, time, hashlib, argparse. Side effects: reads or writes files. - Inputs & outputs: In: JSON file explore-geometry.json; command-line arguments. Out: JSON file gpu-scene-check.json. - Downstream impact: Used directly by 1 file: GPU Watch (graphics-engines-open-source). - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file explore-geometry.json; command-line arguments]; out [JSON file gpu-scene-check.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Browser - File: graphics-engines-open-source/tests/browser.cjs (JavaScript, 51 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/tests/browser.cjs#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/1500.html#f6 - Synopsis: A JavaScript module in the tests folder of Graphics Engines Open Source that tests cases, exported routes and cables. It is built from the colours step (`colours`). - What it achieves (comment): Real Chromium interaction test. npm install --no-save Playwright; npx Playwright install chromium. - What it does: It tests cases, exported routes and cables. Defines colours. Uses libraries node:assert/strict, node:fs, node:path, node:http, node:zlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: JSON file routes.json. Out: JSON file cases.json; JSON file exported-routes.json; JSON file report.json; WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Pages Workflow (graphics-engines-open-source). - Signatures: `colours(png)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file routes.json]; out [JSON file cases.json; JSON file exported-routes.json; JSON file report.json; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Existing Wiring - File: graphics-engines-open-source/tests/existing-wiring.cjs (JavaScript, 42 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/tests/existing-wiring.cjs#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1500.html#f7 - Synopsis: A JavaScript module in the tests folder of Graphics Engines Open Source that tests cables. It is built from the snapshot step (`snapshot`) and the animation step (`animation`). - What it achieves (comment): Browser acceptance against the existing published Ventus drawings. - What it does: It tests cables. Defines snapshot, animation. Uses libraries node:assert/strict, node:fs, node:path. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: Out: JSON file report.json. - Downstream impact: Used directly by 1 file: Existing Wiring Workflow (graphics-engines-open-source). - Signatures: `snapshot()`; `animation()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [JSON file report.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Explore Test - File: graphics-engines-open-source/tests/explore.test.mjs (JavaScript, 37 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/tests/explore.test.mjs#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/1500.html#f8 - Synopsis: A test in the tests folder of Graphics Engines Open Source that checks Explore. - What it achieves (name): Defines `node` and `evaluate`. - What it does: It tests cables. Defines node, evaluate. Uses libraries node:assert/strict, node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 2 files: Geometry Check Workflow (graphics-engines-open-source); Pages Workflow (graphics-engines-open-source). - Signatures: `node(id)`; `evaluate(code)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 2; mentioned by 0 ### Convert Connector - File: graphics-engines-open-source/tools/convert-connector.cjs (JavaScript, 8 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/tools/convert-connector.cjs#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1500.html#f9 - Synopsis: A JavaScript module in the tools folder of Graphics Engines Open Source that calculates planar distances, using SHA-256. - What it achieves (comment): Local-only STEP conversion. Input/output paths are supplied explicitly; no upload. - What it does: It loads data. Uses libraries node:fs, node:crypto. Side effects: reads or writes files. - Inputs & outputs: In: command-line arguments. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GPU Watch - File: graphics-engines-open-source/tools/gpu_watch.py (Python, 130 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/tools/gpu_watch.py#L1-L130 - Page: https://code.globalgrid2050.com/explore-code/s/1500.html#f10 - Synopsis: A Python command-line tool in the tools folder of Graphics Engines Open Source covering explore geometry, using SHA-256. - What it achieves (comment): It runs watch (`run_watch`) and is built from the stamp step (`stamp`) and the atomic JSON helper (`atomic_json`). Bounded repeat checks of a fixed renderer fixture; no editing or publishing. It accepts `--fixture`, `--duration` and `--interval`. - What it does: Defines 6 functions or classes, including stamp, atomic_json, hashes, run_watch, save. Uses libraries pathlib, argparse, datetime, hashlib, json. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file status.json; JSON file explore-geometry.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `stamp()`; `atomic_json(path, value)`; `hashes(fixture)`; `run_watch(args)`; `save()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file status.json; JSON file explore-geometry.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Explore - File: graphics-engines-open-source/web/explore.mjs (JavaScript, 114 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/explore.mjs#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/1500.html#f11 - Published at: https://ventusltd.github.io/graphics-engines-open-source/web/ - Synopsis: A JavaScript module in Graphics Engines Open Source that builds plant, starts ac, calculates planar distances and renders with WebGL, covering cables and transformers. Served with the page at https://ventusltd.github.io/graphics-engines-open-source/web/. - What it achieves (comment): It builds plant (`buildPlant`), routes ui (`routeUI`) and starts ac (`startAC`). Independent WebGL viewer. All geometry is local `east/north/up` in metres. Its code works with 5 MVA, 352 kVA and 10 MVA. It responds to wheel, pointerdown and change events. - What it does: It draws cables and transformers. Defines 20 functions or classes, including $, add, plantInventory, plantTablePosition, buildPlant. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: cables, transformers. - Inputs & outputs: Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 4 files: Route File Test (graphics-engines-open-source); Explore Test (graphics-engines-open-source); Graphics Engines Open Source — Index Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/); Geometry Check Workflow (graphics-engines-open-source). Reached from 2 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Pages Workflow (graphics-engines-open-source). It is itself an entry point, published at https://ventusltd.github.io/graphics-engines-open-source/web/. - Signatures: `$(id)`; `add(a,b)`; `plantInventory()`; `plantTablePosition(n)`; `buildPlant()`; `activatePlant()`; `validateRoutes(input)`; `routeAt(r,d)`; `line(a,b,color)`; `loop(points,c)`; `box(x,y,z,w,d,h,c)`; `build()`; `matrixMultiply(a,b)`; `viewMatrix(position,target,up=[0,0,1])`; `projection(aspect,orthographic)`; `camera()`; `draw()`; `routeUI()`; `populateRoutes()`; `changeMode(next)`; `reset()`; `fullBlueprint()`; `tick(time)`; `init()`; `blockPosition(n)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Graphics Engines Open Source — Index Page - File: graphics-engines-open-source/web/index.html (HTML, 14 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/index.html#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/1500.html#f12 - Published at: https://ventusltd.github.io/graphics-engines-open-source/web/ - Synopsis: A web page that reads inputs for mode, route and array, covering cables, substations and transformers. Published at https://ventusltd.github.io/graphics-engines-open-source/web/. - What it achieves (comment): Electrical scene explorer. Its code works with 100 MW and 5 MVA. - What it does: It draws cables, substations and transformers. Uses libraries explore.css, explore-direct.mjs. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: cables, substations, transformers. - Inputs & outputs: In: user-supplied file (file picker); form fields (user input). Out: web page. - Downstream impact: Used directly by 1 file: Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/). It is itself an entry point, published at https://ventusltd.github.io/graphics-engines-open-source/web/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker); form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 4); used by 1; mentioned by 0 ### Versions — Site World Page - File: graphics-engines-open-source/web/versions/202609262227-site-world/index.html (HTML, 174 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/versions/202609262227-site-world/index.html#L1-L174 - Page: https://code.globalgrid2050.com/explore-code/s/1501.html#f1 - Published at: https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/ - Synopsis: A web page in Graphics Engines Open Source that draws SVG graphics and reads inputs for trench section and cable type, covering cables and LiDAR terrain. Published at https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/. - What it does: It draws cables and LiDAR terrain. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: cables, LiDAR terrain. - Inputs & outputs: In: form fields (user input). Out: web page; SVG drawing. - Downstream impact: Used directly by 1 file: Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/). It is itself an entry point, published at https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 1; mentioned by 0 ### Design UI - File: graphics-engines-open-source/web/versions/202609262227-site-world/world/design-ui.mjs (JavaScript, 266 lines) · role geodesy · stage output - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/versions/202609262227-site-world/world/design-ui.mjs#L1-L266 - Page: https://code.globalgrid2050.com/explore-code/s/1501.html#f2 - Synopsis: A JavaScript module in the world folder of Graphics Engines Open Source that converts to local pts (`toLocalPts`), draws profile (`drawProfile`), shows readout (`showReadout`) and calculates planar distances (units: kV). - What it achieves (comment): It creates design (`createDesign`), draws profile (`drawProfile`) and shows readout (`showReadout`). Design tools in the world: Trench and Cable, drawn by clicking the ground. It responds to click, change and keydown events. - What it does: It draws cables, trench sections, substations and 33kV. Defines 32 functions or classes, including createDesign, $, groundVersion, section, cableSpec. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'design'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, substations, 33kV. - Inputs & outputs: In: JSON file cables.json; JSON file trench-sections.json. Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: Substrate (graphics-engines-open-source). Reached from 2 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/). - Signatures: `export createDesign({ doc, canvas, fov, baseHeight, measured = () => NaN, origin, viewer, invalidate, redraw, assets = () => [] })`; `$(id)`; `groundVersion()`; `section(id)`; `cableSpec(id)`; `toLocalPts(path)`; `trenchOf(sectionId, pts)`; `cableOf(cableId, ground, pts)`; `build()`; `heightAt(x, y)`; `batch(key, version, pos, color)`; `marker(v, [x, y, z], h, arm)`; `tightIndices(c)`; `batches()`; `nearestAsset(pt)`; `near(kind)`; `onMeasuredGround(pts)`; `measure(kind, sectionId, cableId, pts, spoil)`; `drawProfile(m)`; `X(s)`; `line(dz, cls)`; `text(x, y, s, anchor = 'start')`; `hint(pts)`; `showReadout()`; `finish()` (and 7 more) - VEDIC: HEIGHT (GG2050-VEDIC-000011): Solar Design Studio / LiDAR · Mathematics / Raster sampling. bng_easting_m, bng_northing_m -> height_receipt_or_null - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file cables.json; JSON file trench-sections.json]; out []; crs []; voltages [33kV] - Edges: uses 8 estate files (import 8); used by 1; mentioned by 1 ### Labels - File: graphics-engines-open-source/web/versions/202609262227-site-world/world/labels.mjs (JavaScript, 48 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/versions/202609262227-site-world/world/labels.mjs#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/1501.html#f3 - Synopsis: A JavaScript module in the world folder of Graphics Engines Open Source that works with 33kV. - What it achieves (comment): It is built from the circuits step (`circuits`), the voltage step (`voltage`) and the basis step (`basis`). Human words for what the page shows. Its code works with 33 kV, 1.5 kV and 132 kV. - What it does: It calculates 33kV. Defines 8 functions or classes, including circuits, voltage, basis, sectionLabel, conductorLabel. - Why it exists in the grid workflow: Domain terms in the code: 33kV, 132kV, 1.5kV. - Inputs & outputs: Voltage levels named: 132kV, 33kV, 1.5kV. - Downstream impact: Used directly by 2 files: Design UI (graphics-engines-open-source); Substrate (graphics-engines-open-source). Reached from 2 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/). - Signatures: `export sectionLabel(s)`; `export conductorLabel(c)`; `export cableLabel(c)`; `export pressWord(coarse)`; `export distanceLabel(m)`; `circuits(n)`; `voltage(s)`; `basis(s)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [132kV, 33kV, 1.5kV] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Layers - File: graphics-engines-open-source/web/versions/202609262227-site-world/world/layers.mjs (JavaScript, 111 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/versions/202609262227-site-world/world/layers.mjs#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/1501.html#f4 - Synopsis: A JavaScript module in the world folder of Graphics Engines Open Source that makes API (`makeApi`) and fetches verified (`fetchVerified`), using SHA-256. - What it achieves (comment): It starts layer (`startLayer`), makes API (`makeApi`) and fetches verified (`fetchVerified`). The manifest lists layers in order; each layer file is fetched, its SHA-256 compared with the manifest, and only then imported. - What it does: It fetches data. Defines 9 functions or classes, including loadLayers, startLayer, off, makeApi, fetchVerified. Side effects: makes network requests. - Downstream impact: Used directly by 1 file: Substrate (graphics-engines-open-source). Reached from 2 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/). - Signatures: `export loadLayers(manifestUrl, hooks = {})`; `export startLayer(item, api)`; `export makeApi(base, { invalidate = () => {}, origin = () => ({ e: 0, n: 0, id: 0 }), fetchImpl } = {})`; `export normalise(text)`; `export sha256(text)`; `export sha256Bytes(bytes)`; `off(e)`; `fetchVerified(path, sha)`; `fetchJSON(path, sha)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 1 ### Grid - File: graphics-engines-open-source/web/versions/202609262227-site-world/world/layers/grid.mjs (JavaScript, 214 lines) · role ingest · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/versions/202609262227-site-world/world/layers/grid.mjs#L1-L214 - Page: https://code.globalgrid2050.com/explore-code/s/1502.html#f1 - Synopsis: A JavaScript module in the layers folder of Graphics Engines Open Source that works with voltage class (`voltageClass`) and measured spans (`measuredSpans`) and calculates planar distances (units: kV), using SHA-256. - What it achieves (comment): It parses grid file (`parseGridFile`) and is built from the voltage class helper (`voltageClass`) and the finite step (`finite`). Overhead lines and substations from a per-site file, drawn as quiet wireframe on the ground. Its code works with 33 kV, 132 kV and 275 kV. - What it does: It lists and searches substations, 33kV, 400kV and 275kV. Defines 15 functions or classes, including voltageClass, finite, isPt, parseGridFile, compound. - Why it exists in the grid workflow: Domain terms in the code: substations, 33kV, 400kV, 275kV, 132kV. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). Voltage levels named: 400kV, 275kV, 132kV, 33kV. - Signatures: `export voltageClass(kv)`; `export parseGridFile(j)`; `export compound(x, y, cls, heightAt, o = [0, 0, 0])`; `export measuredSpans(towers, measuredAt)`; `export clearanceStatus(model, clearances)`; `export buildGrid(model, origin, heightAt, buildOverhead, measuredAt = heightAt)`; `export createGrid()`; `finite(h, d = 0)`; `isPt(p)`; `substations(Array.isArray(j.substations) ? j.substations : [])`; `P(px, py, up)`; `L(a, b)`; `fmt(c)`; `straightGround(towers, x, y)`; `local(e, n)`; `load()`; `init(a)`; `lines(ctx)`; `solids()` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [400kV, 275kV, 132kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### Lines - File: graphics-engines-open-source/web/versions/202609262227-site-world/world/lines.mjs (JavaScript, 154 lines) · role render · stage output - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/versions/202609262227-site-world/world/lines.mjs#L1-L154 - Page: https://code.globalgrid2050.com/explore-code/s/1502.html#f2 - Synopsis: A JavaScript module in the world folder of Graphics Engines Open Source that splits batches (`splitBatches`), calculates planar distances and renders with WebGL. - What it achieves (comment): It splits batches (`splitBatches`) and is built from the offset of helper (`offsetOf`) and the occluder mesh helper (`occluderMesh`). Line renderer: raw WebGL 1, flat colour, lines fade with distance. It responds to webglcontextlost and webglcontextrestored events. - What it does: It draws its content. Defines 8 functions or classes, including offsetOf, splitBatches, occluderMesh, put, occluderFollower. Side effects: changes the web page (DOM). - Inputs & outputs: Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Substrate (graphics-engines-open-source). Reached from 2 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/). - Signatures: `export offsetOf(origin, eye)`; `export splitBatches(batches)`; `export occluderMesh(heightAt, x, y, { cell = 8, radius = 400, sink = 0.5, key = 'occluder', version } = {})`; `export occluderFollower({ every = 64, ...opts } = {})`; `export createLines(canvas, { onRestore = () => {} } = {})`; `put(i, j)`; `init()`; `bind(b, data)`; `resize(nextScale)`; `draw(matrix, eye, fade, batches)` - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/solar-design-studio/202609271853-site-world/world/lines.mjs) · essay_status: readme_derived - data_contracts: in []; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Overhead - File: graphics-engines-open-source/web/versions/202609262227-site-world/world/overhead.mjs (JavaScript, 199 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/versions/202609262227-site-world/world/overhead.mjs#L1-L199 - Page: https://code.globalgrid2050.com/explore-code/s/1502.html#f3 - Synopsis: A JavaScript module in the world folder of Graphics Engines Open Source that works with 400kV, 275kV, 132kV and 33kV. - What it achieves (comment): It draws tower (`drawTower`) and is built from the coshm1 step (`coshm1`) and the level sag helper (`levelSag`). Overhead lines: lattice towers, wood poles and catenary conductors as light wireframe. Its code works with 400 kV, 132 kV and 275 kV. - What it does: It calculates 400kV, 275kV, 132kV and 33kV. Defines 17 functions or classes, including coshm1, levelSag, paramFromSag, catenarySpan, z. - Why it exists in the grid workflow: Domain terms in the code: 400kV, 275kV, 132kV, 33kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 33kV. - Downstream impact: Used directly by 1 file: Layers (graphics-engines-open-source). Reached from 3 other entry points, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/); Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/); Substrate (graphics-engines-open-source). - Signatures: `export levelSag(L, a)`; `export paramFromSag(L, sagRatio)`; `export catenarySpan(L, h1, h2, a)`; `export buildOverhead(towers, opts = {})`; `coshm1(u)`; `mid(lo + hi)`; `z(s)`; `unit(dx, dy)`; `directionAt(towers, k)`; `specOf(t)`; `attachments(t, spec, d, p)`; `at(across, z)`; `drawTower(seg, t, spec, d, p)`; `P(along, across, z)`; `L(a, b)`; `ring(z)`; `solidOf(t, spec)`; `xy(s)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 33kV] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Substrate - File: graphics-engines-open-source/web/versions/202609262227-site-world/world/substrate.mjs (JavaScript, 339 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/versions/202609262227-site-world/world/substrate.mjs#L1-L339 - Page: https://code.globalgrid2050.com/explore-code/s/1503.html#f1 - Synopsis: A JavaScript module in the world folder of Graphics Engines Open Source that sets origin, writes readout, opens panel and calculates planar distances, covering projects, attribution and substations. - What it achieves (comment): It sets origin (`setOrigin`), writes readout (`writeReadout`) and opens panel (`openPanel`). The substrate: an empty world you can move around in. It reads `./world/data/projects.json`. It responds to click, pointerdown and resize events. - What it does: It draws projects, attribution and substations. Defines 29 functions or classes, including $, live, guarded, baseHeight, measuredAt. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: substations. - Inputs & outputs: In: JSON file projects.json; JSON file attribution.json; browser storage (getItem). Out: browser storage (setItem). Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Versions — Site World Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/202609262227-site-world/). Reached from 1 other entry point, including Graphics Engines Open Source — Versions Page (graphics-engines-open-source, https://ventusltd.github.io/graphics-engines-open-source/web/versions/). - Signatures: `$(id)`; `live()`; `guarded(l, fn, fallback)`; `baseHeight(x, y)`; `measuredAt(x, y)`; `heightAt(x, y)`; `solids()`; `invalidate({ ground = true } = {})`; `gridAssets()`; `subs(model.substations || [])`; `towers(model.lines || [])`; `setOrigin(e, n)`; `target()`; `moving()`; `flyTo(x, y, opts = {})`; `draw(now, intervalMs)`; `t(now - arrival.t0)`; `pin()`; `chooseView(v, { arrive: fly = true } = {})`; `writeReadout()`; `openPanel(btn, open)`; `hold(e)`; `release(e)`; `remembered()`; `dismissStart()` (and 7 more) - VEDIC: HEIGHT (GG2050-VEDIC-000011): Solar Design Studio / LiDAR · Mathematics / Raster sampling. bng_easting_m, bng_northing_m -> height_receipt_or_null - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file projects.json; JSON file attribution.json; browser storage (getItem)]; out [browser storage (setItem)]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 15 estate files (import 15); used by 1; mentioned by 1 ### Graphics Engines Open Source — Versions Page - File: graphics-engines-open-source/web/versions/index.html (HTML, 45 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/web/versions/index.html#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1503.html#f2 - Published at: https://ventusltd.github.io/graphics-engines-open-source/web/versions/ - Synopsis: A web page. Published at https://ventusltd.github.io/graphics-engines-open-source/web/versions/. - What it achieves (comment): Site world versions. It reads `index.json`. - What it does: It draws its content. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: JSON file index.json. Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/graphics-engines-open-source/web/versions/. - Signatures: `items(j.versions || [])` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 0; mentioned by 0 ### Notify Kuiper - File: kuiper-belt/agents/examples/notify-kuiper.yml (YAML, 21 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/agents/examples/notify-kuiper.yml#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1503.html#f3 - Synopsis: A configuration file in the examples folder of Kuiper Belt. Runs on pull requests. - What it achieves (comment): Install in the source repository after approval and secret configuration. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Belt — Diary Page - File: kuiper-belt/diary/20261005.html (HTML, 70 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/diary/20261005.html#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/1503.html#f4 - Published at: https://ventusltd.github.io/kuiper-belt/diary/20261005.html - Synopsis: A web page covering substations and solar. Published at https://ventusltd.github.io/kuiper-belt/diary/20261005.html. - What it achieves (comment): What Learn the Kuiper and See Through are, what they could become, and how they may help with grid connection in the UK. - What it does: It draws substations and solar. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: substations, solar. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/diary/20261005.html. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 0; mentioned by 0 ### Editions — Belt Page - File: kuiper-belt/editions/202610311905/belt/index.html (HTML, 53 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202610311905/belt/index.html#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1503.html#f5 - Published at: https://ventusltd.github.io/kuiper-belt/editions/202610311905/belt/ - Synopsis: A web page in Kuiper Belt that draws bodies. Published at https://ventusltd.github.io/kuiper-belt/editions/202610311905/belt/. It is built from the load step (`load`), the resize step (`resize`) and the to screen helper (`toScreen`). - What it achieves (comment): Kuiper edition : the estate's best lines on the belt. It reads `belt.json`. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws bodies. Defines 7 functions or classes, including load, resize, toScreen, draw, pick. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`gridatlas atlas/index.html:81` — no served byte runs unless its SHA-256 equals the pointer's." - Inputs & outputs: In: JSON file belt.json; JSON file bodies.json. Out: web page; canvas drawing. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/editions/202610311905/belt/. - Signatures: `load()`; `resize()`; `toScreen(x,y)`; `draw()`; `pick(px,py)`; `show(id)`; `esc(s)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file belt.json; JSON file bodies.json]; out [web page; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Edition Belt - File: kuiper-belt/editions/202610311905/tools/edition_belt.py (Python, 127 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202610311905/tools/edition_belt.py#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/1503.html#f6 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that reads bodies and unresolved, using SHA-256. - What it achieves (comment): It is built from the blob sha helper (`blob_sha`) and the write step (`write`). Place the verified keyed findings of a Kuiper edition on the belt. It writes `belt/belt.json`. It accepts `--register`, `--roots` and `--out`. - What it does: It loads bodies and unresolved. Defines is, sh, blob_sha, main, write. Uses libraries argparse, csv, hashlib, json, math. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file belt.json; JSON file bodies.json; JSON file unresolved.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sh(cmd, cwd=None)`; `blob_sha(roots, repo, commit, path)`; `main()`; `write(rel, text)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file belt.json; JSON file bodies.json; JSON file unresolved.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Stub Serve - File: kuiper-belt/editions/202611012135/handoff/00-stub/stub-serve.cjs (JavaScript, 64 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/00-stub/stub-serve.cjs#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/1504.html#f1 - Synopsis: A JavaScript module in the handoff folder of Kuiper Belt that lists lit (`listLit`), using SHA-256. - What it achieves (name): It lists lit (`listLit`) and is built from the record for helper (`recordFor`) and the manifest step (`manifest`). Defines `page`, `listLit`, `recordFor` and 1 more. - What it does: It loads data. Defines page, listLit, recordFor, manifest. Uses libraries http, fs, path, crypto, os. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file MODULE.json; JSON file modules.json; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `page()`; `listLit(src, name)`; `recordFor(rel)`; `manifest()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file MODULE.json; JSON file modules.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test - File: kuiper-belt/editions/202611012135/handoff/01-shell/test.cjs (JavaScript, 717 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/01-shell/test.cjs#L1-L717 - Page: https://code.globalgrid2050.com/explore-code/s/1504.html#f2 - Synopsis: A JavaScript module in the handoff folder of Kuiper Belt that finds module (`findModule`), opens page (`openPage`), runs ga (`runGA`) and calculates planar distances (units: kV), using SHA-256. - What it achieves (readme): It finds module (`findModule`), opens page (`openPage`) and runs ga (`runGA`). The README says: The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies). It responds to DOMContentLoaded events. - What it does: It tests its inputs. Defines 44 functions or classes, including flag, REF, slug, sleep, near. Uses libraries playwright, fs, path, http, crypto. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies)." - Inputs & outputs: In: JSON file style.json; JSON file modules.json; JSON file MODULE.json; JSON file report.json; command-line arguments. Out: JSON file modules.json; JSON file report.json; canvas drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `flag(n)`; `REF(vw)`; `slug(s)`; `sleep(ms)`; `near(a, b, tol)`; `sha256(f)`; `log(...a)`; `findModule()`; `answers(url)`; `ensureServer(port, root, probeUrl)`; `shellProbe(cfg)`; `R(el)`; `vis(el)`; `css(el, ps)`; `tryState(x)`; `isStar(t)`; `q(s)`; `panelRows(panelId)`; `inlineInProse(el)`; `restScan(cfg)`; `name(el)`; `sparkProbe(barId)`; `openPage(browser, devName, kind, opts = {})`; `local(u)`; `until(page, fn, arg, ms = 5000, every = 150)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file style.json; JSON file modules.json; JSON file MODULE.json; JSON file report.json; command-line arguments]; out [JSON file modules.json; JSON file report.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test - File: kuiper-belt/editions/202611012135/handoff/02-card/test.cjs (JavaScript, 586 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/02-card/test.cjs#L1-L586 - Page: https://code.globalgrid2050.com/explore-code/s/1505.html#f2 - Synopsis: A JavaScript module in the handoff folder of Kuiper Belt that tests module record, using SHA-256. It builds served (`buildServed`), runs device (`runDevice`) and closes open (`closeOpen`). - What it achieves (readme): The README says: The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies). It reads `keys.json`. - What it does: It tests module record. Defines 48 functions or classes, including flag, slug, sleep, sha256, norm. Uses libraries playwright, fs, path, crypto, os. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies)." - Inputs & outputs: In: JSON file keys.json; JSON file keys-min.json; JSON file MODULE.json; JSON file module-record.json; JSON file modules.json; JSON file report.json; command-line arguments. Out: JSON file report.json; canvas drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `flag(n)`; `URL0(positional[0] || `http:)`; `slug(s)`; `sleep(ms)`; `sha256(b)`; `norm(s)`; `staticChecks()`; `rec(id, name, pass, measured, note, info)`; `P(j)`; `shaRec(shaText.match(/[0-9a-f]{64}/) || [null])`; `secOf(t)`; `firstPara(sec)`; `buildServed(st)`; `appliesTo(text, files)`; `revs(spawnSync('git', ['log', '--format=%h', '--', 'editions/' + STAMP + '/index.html'], { cwd: REPO, encoding: 'utf8' })....)`; `apply(patchFile, why)`; `reqOf(t)`; `recOf(id, file, extra)`; `order(base.order || [])`; `rebuild()`; `probeFn()`; `R(el)`; `cardFn(args)`; `visEl(e)`; `isClose(e)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file keys.json; JSON file keys-min.json; JSON file MODULE.json; JSON file module-record.json; JSON file modules.json; JSON file report.json; command-line arguments]; out [JSON file report.json; canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Delete Moved - File: kuiper-belt/editions/202611012135/handoff/03-layers/delete-moved.py (Python, 40 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/03-layers/delete-moved.py#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1506.html#f1 - Synopsis: A Python module in the handoff folder of Kuiper Belt that works with cut until (`cut_until`). - What it achieves (comment): It is built from the starts step (`starts`), the find step (`find`) and the rng step (`rng`). Cut can be re-made against any base (the Edition 4 copy, or the integrator's base with team 4's patch applied). - What it does: It loads data. Defines starts, cut_until, find, rng. Uses libraries sys. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `starts(l, p)`; `cut_until(start_pred, stop_pred, inclusive_stop, name)`; `find(pred, frm=0)`; `rng(a, b, name)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test - File: kuiper-belt/editions/202611012135/handoff/03-layers/test.cjs (JavaScript, 546 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/03-layers/test.cjs#L1-L546 - Page: https://code.globalgrid2050.com/explore-code/s/1506.html#f2 - Synopsis: A JavaScript module in the handoff folder of Kuiper Belt that tests module and wafer meta, using SHA-256. It runs device (`runDevice`), writes images (`writeImages`) and writes test md (`writeTestMd`). - What it achieves (readme): The README says: The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies). - What it does: It tests module and wafer meta. Defines 35 functions or classes, including liveManifest, sleep, slug, sha256, FIRST_KEYS. Uses libraries playwright, fs, path, crypto, child_process. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies)." - Inputs & outputs: In: JSON file MODULE.json; JSON file keys.json; JSON file wafer-meta.json; JSON file layers.json; JSON file apps.json; JSON file drift.json; JSON file report.json; form fields (user input). Out: JSON file report.json; interactive map; canvas drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `DEVICES(flags['--devices'] ? String(flags['--devices']) : 'Pixel 7,Galaxy S24')`; `liveManifest()`; `sleep(ms)`; `slug(s)`; `sha256(b)`; `FIRST_KEYS(() => { try { const r = JSON.parse(fs.readFileSync(path.join(ED_DIR, 'data/layers.json'), 'utf8')).layers.find(x => x...)`; `probeFn()`; `R(el)`; `vis(el)`; `q(s)`; `norm(s)`; `textOf(el)`; `get(id)`; `fontPx(el)`; `maxFont(root)`; `titleEl(() => { if (!bar) return null; const b = [...bar.querySelectorAll('button, a, [role=button]')].find(e => /^wafer$/i.t...)`; `sparksFn(keys)`; `greenAt(sx, sy)`; `engineShot(S)`; `alertCover(page)`; `waferDisc(page, png, yMin)`; `runDevice(browser, deviceName, shots)`; `record(id, name, pass, measured, note)`; `why(...parts)`; `open(scenario, url, opts = {})` (and 12 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file MODULE.json; JSON file keys.json; JSON file wafer-meta.json; JSON file layers.json; JSON file apps.json; JSON file drift.json; JSON file report.json; form fields (user input)]; out [JSON file report.json; interactive map; canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Loader - File: kuiper-belt/editions/202611012135/handoff/04-loader/rev5/modules/202611020103-loader.js (JavaScript, 162 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/04-loader/rev5/modules/202611020103-loader.js#L1-L162 - Page: https://code.globalgrid2050.com/explore-code/s/1507.html#f1 - Synopsis: A JavaScript file in the handoff folder of Kuiper Belt that works with ky line (`kyLine`) and ky depth (`kyDepth`), using SHA-256. - What it achieves (comment): It is built from the ky line helper (`kyLine`), the ky depth helper (`kyDepth`) and the ky nav reconcile helper (`kyNavReconcile`). As `handoff/04-loader/rev5/index.html.delta.patch`. The bytes between the two marker lines below are byte-identical to the block that patch writes into `editions/202611012135/index.html`; rev 4 stays `modules/202611012145-loader.js`, never edited. It reads `modules.json`. It responds to popstate and error events. - What it does: It draws its content. Defines 13 functions or classes, including kyLine, kyDepth, kyNavReconcile, kyNavPush, kyNavTrim. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file modules.json. - Signatures: `kyLine(t)`; `kyDepth()`; `kyNavReconcile()`; `kyNavPush(owner)`; `kyNavTrim()`; `kyNavBack(owner)`; `kyNavHas(owner)`; `kyOwner(o)`; `redraw()`; `refuse(text, slot)`; `onBack(owner, fn)`; `has(owner)`; `register(m)`; `inspect()`; `kyRefuse(t)`; `kyHex(b)`; `kyInject(id, buf)`; `se(e)`; `kyAdmit(id, rec, provided)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file modules.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test - File: kuiper-belt/editions/202611012135/handoff/04-loader/test.cjs (JavaScript, 676 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/04-loader/test.cjs#L1-L676 - Page: https://code.globalgrid2050.com/explore-code/s/1507.html#f2 - Synopsis: A JavaScript module in the handoff folder of Kuiper Belt that prepares scratch (`prepareScratch`), runs device (`runDevice`), calculates planar distances and draws on a canvas, using SHA-256. - What it achieves (readme): It prepares scratch (`prepareScratch`) and runs device (`runDevice`). The README says: The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies). It responds to pointercancel, contextmenu and pointerup events. - What it does: It tests its inputs. Defines 56 functions or classes, including flag, want, sleep, slug, sha. Uses libraries playwright, fs, path, crypto, child_process. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies)." - Inputs & outputs: In: JSON file modules.json; JSON file keys.json; JSON file keys-min.json; JSON file report.json; command-line arguments. Out: JSON file modules.json; JSON file report.json; canvas drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `flag(n)`; `want(id)`; `sleep(ms)`; `slug(s)`; `sha(b)`; `KY_EXTRA(() => { try { const m = /the 28 hooks \+ `([^`]+)`/.exec(fs.readFileSync(path.join(HERE, 'HOOKS.md'), 'utf8')); if (m...)`; `patchedPage()`; `prepareScratch()`; `probeRecord(id, p, bytes, requires)`; `probeSource(id, o = {})`; `serve(root)`; `poll()`; `pageState()`; `R(el)`; `vis(el)`; `waferFromPng(page, b64, yFrom, skip)`; `i(y * W + x)`; `withProbe(html)`; `runDevice(browser, deviceName, S)`; `check(id, name, pass, measured, note)`; `open(caseId, { manifest = null, files = {}, status = {}, ctxOpts = {}, probe = false, hold = null, expect404 = [], waitDon...)`; `isExp(u)`; `state(page)`; `shot(page, id)`; `wafer(page, s)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file modules.json; JSON file keys.json; JSON file keys-min.json; JSON file report.json; command-line arguments]; out [JSON file modules.json; JSON file report.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build See Through JSON - File: kuiper-belt/editions/202611012135/handoff/05-see-through/build-see-through-json.py (Python, 114 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/05-see-through/build-see-through-json.py#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/1508.html#f2 - Synopsis: A Python command-line tool in the handoff folder of Kuiper Belt that reads wafer meta, substations and overhead lines (OHL), using SHA-256. - What it achieves (comment): It is built from the sha step (`sha`), the git head helper (`git_head`) and the star key helper (`star_key`). Writes `editions/` `/data/see-through.json`, a code-feature-collection.v1 (galaxies-wafers `README.md`:11-18. - What it does: It loads wafer meta, substations and overhead lines (OHL). Defines rd, sha, git_head, star_key, main. Uses libraries hashlib, json, os, re, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: substations, overhead lines (OHL). - Inputs & outputs: In: JSON file wafer-meta.json; JSON file see-through.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `rd(p)`; `sha(b)`; `git_head()`; `star_key(j, space)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file wafer-meta.json; JSON file see-through.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test - File: kuiper-belt/editions/202611012135/handoff/05-see-through/test.cjs (JavaScript, 543 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/05-see-through/test.cjs#L1-L543 - Page: https://code.globalgrid2050.com/explore-code/s/1508.html#f3 - Synopsis: A JavaScript module in the handoff folder of Kuiper Belt that tests wafer meta and see through, using SHA-256. It finds module (`findModule`), fits png (`fitPng`) and runs device (`runDevice`). - What it achieves (readme): The README says: The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies). - What it does: It tests wafer meta and see through. Defines 25 functions or classes, including flag, slug, sleep, sha256, get. Uses libraries playwright, fs, path, crypto, http. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies)." - Inputs & outputs: In: JSON file wafer-meta.json; JSON file see-through.json; JSON file modules.json; JSON file keys.json; command-line arguments. Out: JSON file modules.json; JSON file report.json. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `flag(n)`; `BASE(positional[0] || 'http:)`; `slug(s)`; `sleep(ms)`; `sha256(b)`; `get(u)`; `keyPlace(k)`; `starKey(j, space)`; `findModule()`; `staticChecks()`; `header(text.match(/^\s*\/\*[\s\S]*?\*\)`; `hdrGen(header.match(/kuiper module see-through, generation (\d{12}) \(UTC\)/) || [])`; `regGen(text.match(/GEN\s*=\s*'(\d{12})'/) || text.match(/generation:\s*'(\d{12})'/) || [])`; `l1Licence(line1.match(/\(UTC\),\s*(CERN-OHL-S-2\.0|Apache-2\.0)/) || [])`; `keyOf(f)`; `jOf(f, i)`; `sp(f.properties && f.properties.space != null)`; `shimSource(modulePath, sha)`; `register(m)`; `probeFn(sentence)`; `R(el)`; `fitPng(src, dst)`; `runDevice(browser, name, ctx)`; `watch(pg, where)`; `shot(id)` (and 7 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file wafer-meta.json; JSON file see-through.json; JSON file modules.json; JSON file keys.json; command-line arguments]; out [JSON file modules.json; JSON file report.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test - File: kuiper-belt/editions/202611012135/handoff/06-file/test.cjs (JavaScript, 368 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/06-file/test.cjs#L1-L368 - Page: https://code.globalgrid2050.com/explore-code/s/1509.html#f2 - Synopsis: A JavaScript module in the handoff folder of Kuiper Belt that tests keys summary, android journey and report partial, using SHA-256. - What it achieves (readme): It opens menu (`openMenu`) and is built from the flag step (`flag`) and the blk step (`blk`). The README says: The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies). - What it does: It tests keys summary, android journey and report partial. Defines 16 functions or classes, including flag, FOREIGN, blk, step, newPage. Uses libraries playwright, fs, path, crypto. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies)." - Inputs & outputs: In: JSON file keys.json; JSON file keys-summary.json; JSON file modules.json; JSON file android-journey.json; JSON file editions.json; command-line arguments. Out: JSON file report.partial.json; JSON file report.json; WebGL/WebGPU drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `flag(n)`; `STAMP(URL0.match(/editions\/(\d{12})\)`; `FOREIGN(u)`; `blk(name, fn)`; `step(id, pass, measured)`; `newPage(opts)`; `ready(p)`; `readyInner(p)`; `settle(p, ms)`; `tapSel(p, sel)`; `openMenu(p, n)`; `shot(p, name)`; `sel(p)`; `eds(await (await fetch(URL0 + 'data/editions.json')).json())`; `count(data)`; `viaPointer(hash, wantNav)`; `pick(f)`; `ser(f)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file keys.json; JSON file keys-summary.json; JSON file modules.json; JSON file android-journey.json; JSON file editions.json; command-line arguments]; out [JSON file report.partial.json; JSON file report.json; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Test - File: kuiper-belt/editions/202611012135/handoff/07-apps/test.cjs (JavaScript, 460 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/07-apps/test.cjs#L1-L460 - Page: https://code.globalgrid2050.com/explore-code/s/1510.html#f1 - Synopsis: A JavaScript module in the handoff folder of Kuiper Belt that tests keys summary, android journey and elements, using SHA-256, and uses data from the stars repository. - What it achieves (code): It runs device (`runDevice`), opens menu (`openMenu`) and closes menus (`closeMenus`). Its `linkRepo` function gives highlighted stars and count from repository name and registry (VEDIC: light). It reads `/cosmos/wafer.tsv`. - What it does: It tests keys summary, android journey and elements. Defines 33 functions or classes, including flag, sleep, sha256, git, dec. Uses libraries playwright, fs, path, crypto, child_process. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies)." - Inputs & outputs: In: data source: stars data; JSON file keys.json; JSON file keys-summary.json; JSON file modules.json; JSON file android-journey.json; JSON file apps.json; JSON file elements.json; JSON file overview.json. Out: JSON file report.json; canvas drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `flag(n)`; `STAMP(URL0.match(/editions\/(\d{12})\)`; `sleep(ms)`; `sha256(b)`; `git(repo, ...a)`; `dec(s)`; `short(v, n)`; `sstep(id, pass, measured)`; `scriptChecks()`; `get(f)`; `v5(idx.match(/`([^`]*v5[^`]*)`/) || [])`; `rec(sp && sp.graphs)`; `files0(c)`; `hasCommit(d, sha)`; `linkRepo(name, sha)`; `launcherProbe()`; `R(el)`; `vis(el)`; `firstLine(el)`; `readoutText()`; `waferLit(page)`; `b64(await page.screenshot({ timeout: 180000, scale: 'css' }))`; `runDevice(browser, DEV)`; `step(id, pass, measured)`; `newPage()` (and 14 more) - VEDIC: LIGHT (GG2050-VEDIC-000036): See Through / Kuiper · Computer science / Interactive visualisation. repository_name, registry -> highlighted_stars_and_count - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; JSON file keys.json; JSON file keys-summary.json; JSON file modules.json; JSON file android-journey.json; JSON file apps.json; JSON file elements.json; JSON file overview.json]; out [JSON file report.json; canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Drift Test - File: kuiper-belt/editions/202611012135/handoff/08-drift/drift_test.py (Python, 362 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/08-drift/drift_test.py#L1-L362 - Page: https://code.globalgrid2050.com/explore-code/s/1511.html#f1 - Synopsis: A test in the handoff folder of Kuiper Belt that checks Drift, using SHA-256. - What it achieves (comment): It runs tool (`run_tool`) and is built from the sha step (`sha`) and the decode step (`decode`). `ROADMAP.md` step 8 "Acceptance test", the parts that live off the page (P4's page half is `test.cjs`): files, and both equal `data/drift.json` byte for byte. It accepts `--root`, `--edition` and `--estate`. - What it does: It tests its inputs. Defines 10 functions or classes, including sh, sha, decode, main, info. Uses libraries argparse, collections, hashlib, json, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file drift.json; JSON file keys.json; JSON file empty-heads.json; JSON file never.json; JSON file recorded-heads.json; JSON file p5-mini.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `sh(args, cwd=None, env=None)`; `sha(b)`; `decode(raw)`; `main()`; `info(msg)`; `ok(name, cond, detail)`; `clone(repo)`; `run_tool(extra, env_extra=None, prefix=None, r=root)`; `show(d, spec)`; `walk(x)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file drift.json; JSON file keys.json; JSON file empty-heads.json; JSON file never.json; JSON file recorded-heads.json; JSON file p5-mini.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Test - File: kuiper-belt/editions/202611012135/handoff/08-drift/test.cjs (JavaScript, 248 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/08-drift/test.cjs#L1-L248 - Page: https://code.globalgrid2050.com/explore-code/s/1511.html#f2 - Synopsis: A JavaScript module in the handoff folder of Kuiper Belt that tests drift, using SHA-256. - What it achieves (readme): It is built from the sleep step (`sleep`), the manifest step (`manifest`) and the overlay step (`overlay`). The README says: The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies). - What it does: It tests drift. Defines 7 functions or classes, including sleep, manifest, overlay, run, ok. Uses libraries playwright, fs, path, crypto, child_process. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies)." - Inputs & outputs: In: JSON file modules.json; JSON file drift.json; JSON file MODULE.json; JSON file keys-min.json; JSON file keys.json; JSON file drift_test.json; command-line arguments. Out: JSON file report.json; canvas drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `sleep(ms)`; `REQ(src.match(/var REQUIRES = \[([^\]]*)\]/)`; `manifest(withDrift)`; `overlay(page, x, y, rad)`; `run(devName, scen)`; `ok(name, pass, detail)`; `ins()`; `barOf()`; `mv(s && s.moved || [])`; `before(await ins())` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file modules.json; JSON file drift.json; JSON file MODULE.json; JSON file keys-min.json; JSON file keys.json; JSON file drift_test.json; command-line arguments]; out [JSON file report.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Android Journey - File: kuiper-belt/editions/202611012135/handoff/09-law/android-journey.cjs (JavaScript, 604 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/09-law/android-journey.cjs#L1-L604 - Page: https://code.globalgrid2050.com/explore-code/s/1512.html#f1 - Synopsis: A JavaScript module in the handoff folder of Kuiper Belt that runs device (`runDevice`), opens panel (`openPanel`), converts to screen (`toScreen`) and calculates planar distances, using SHA-256. - What it achieves (name): It runs device (`runDevice`) and opens panel (`openPanel`). Defines `flag`, `slug`, `sleep` and 36 more. It reads `keys.json`. - What it does: It draws its content. Defines 45 functions or classes, including flag, slug, sleep, probeFn, R. Uses libraries playwright, fs, path, crypto. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file keys.json; JSON file modules.json; command-line arguments. Out: JSON file report.json; WebGL/WebGPU drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `flag(n)`; `slug(s)`; `sleep(ms)`; `probeFn()`; `R(el)`; `vis(el)`; `q(s)`; `panelEl(id)`; `panelOpen(id, el)`; `cq(s)`; `hitAt(x, y)`; `waferFromPng(page, b64, yFrom)`; `keyPlace(k)`; `runDevice(browser, deviceName)`; `errPush(e)`; `probe()`; `shotTo(f)`; `shotName(id)`; `shot(id)`; `waferFromFile(file, yFrom)`; `record(id, name, pass, measured, note)`; `tapAt(x, y)`; `tapRect(r)`; `touch(type, points)`; `settle(opts = {})` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file keys.json; JSON file modules.json; command-line arguments]; out [JSON file report.json; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Edition Check - File: kuiper-belt/editions/202611012135/handoff/09-law/test_edition_check.py (Python, 719 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/09-law/test_edition_check.py#L1-L719 - Page: https://code.globalgrid2050.com/explore-code/s/1513.html#f1 - Synopsis: A test in the handoff folder of Kuiper Belt that uses SHA-256. It finds root (`find_root`), builds template (`build_template`) and sets manifest (`set_manifest`). - What it achieves (comment): The negative tests of `tools/edition_check.py` (`editions/LAW.md` 9.3; NL-010 roadmap step 9). It reads `data/secret.json` and writes `modules.json`. - What it does: It tests its inputs. Defines 112 functions or classes, including find_root, write, read, sha, module_src. Uses libraries hashlib, io, json, os, re. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file keys.json; JSON file drift.json; JSON file modules.json; JSON file extra.json; JSON file never.json; JSON file secret.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `find_root()`; `write(p, s)`; `read(p)`; `sha(p)`; `module_src(mid, gen, requires, body)`; `pointer(stamp, tail=" + location.search + location.hash", extra='')`; `cut_proof(ed)`; `class Fixture`; `build_template(cls)`; `__init__(self)`; `ed(self, stamp=NEW)`; `p(self, rel, stamp=NEW)`; `manifest(self)`; `set_manifest(self, man, rehash=True)`; `rehash(self)`; `recut(self, stamp=NEW)`; `edit(self, rel, old, new, stamp=NEW, count=1)`; `run(self, *flags, folder=True)`; `close(self)`; `class Result`; `failing(self)`; `class Base`; `setUp(self)`; `tearDown(self)`; `assertFails(self, r, expected, words=(), code=None)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file keys.json; JSON file drift.json; JSON file modules.json; JSON file extra.json; JSON file never.json; JSON file secret.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Real Folder - File: kuiper-belt/editions/202611012135/handoff/09-law/test_real_folder.py (Python, 225 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/09-law/test_real_folder.py#L1-L225 - Page: https://code.globalgrid2050.com/explore-code/s/1514.html#f2 - Synopsis: A test in the handoff folder of Kuiper Belt that uses SHA-256. It is built from the arg step (`arg`), the sha step (`sha`) and the cut proof helper (`cut_proof`). - What it achieves (comment): The same law on a synthetic repository (for a GitHub runner); this file runs it on the real folders, with the real `tools/drift.py` re-run against the estate's clones for E9. It reads `data/secret.json`. - What it does: It tests its inputs. Defines 13 functions or classes, including arg, sha, cut_proof, estate_of_record, build. Uses libraries hashlib, json, os, re, shutil. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file drift.json; JSON file modules.json; JSON file late.json; JSON file keys.json; JSON file secret.json; JSON file TEST-REAL-RESULTS.json; command-line arguments. Out: JSON file modules.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `arg(name, default)`; `sha(p)`; `cut_proof(ed)`; `estate_of_record(work, ed)`; `build(base)`; `run(base, *extra)`; `man_edit(ed, fn)`; `first(ed, key)`; `sub(p, a, b, count=1)`; `append(p, text, mode='a')`; `resync(ed, path)`; `cases(prev)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file drift.json; JSON file modules.json; JSON file late.json; JSON file keys.json; JSON file secret.json; JSON file TEST-REAL-RESULTS.json; command-line arguments]; out [JSON file modules.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Android Journey - File: kuiper-belt/editions/202611012135/handoff/10-integration/android-journey.cjs (JavaScript, 474 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/10-integration/android-journey.cjs#L1-L474 - Page: https://code.globalgrid2050.com/explore-code/s/1514.html#f3 - Synopsis: A JavaScript module in the handoff folder of Kuiper Belt that runs device (`runDevice`), opens panel (`openPanel`), converts to screen (`toScreen`) and calculates planar distances. - What it achieves (name): It runs device (`runDevice`) and opens panel (`openPanel`). Defines `flag`, `slug`, `sleep` and 30 more. It reads `keys.json`. - What it does: It draws its content. Defines 36 functions or classes, including flag, slug, sleep, probeFn, R. Uses libraries playwright, fs, path. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file keys.json; JSON file modules.json; command-line arguments. Out: JSON file report.json; canvas drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `flag(n)`; `slug(s)`; `sleep(ms)`; `probeFn()`; `R(el)`; `vis(el)`; `q(s)`; `panelEl(id)`; `panelOpen(id, el)`; `cq(s)`; `hitAt(x, y)`; `waferFromPng(page, b64, yFrom)`; `keyPlace(k)`; `runDevice(browser, deviceName)`; `errPush(e)`; `probe()`; `shotTo(f)`; `shotName(id)`; `shot(id)`; `waferFromFile(file, yFrom)`; `record(id, name, pass, measured, note)`; `tapAt(x, y)`; `tapRect(r)`; `touch(type, points)`; `settle(opts = {})` (and 13 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file keys.json; JSON file modules.json; command-line arguments]; out [JSON file report.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Lead Test - File: kuiper-belt/editions/202611012135/handoff/12-see-through-reader/lead-test.cjs (JavaScript, 191 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/12-see-through-reader/lead-test.cjs#L1-L191 - Page: https://code.globalgrid2050.com/explore-code/s/1515.html#f2 - Synopsis: A JavaScript module in the handoff folder of Kuiper Belt that tests wafer meta and substations. - What it achieves (name): It is built from the repo count helper (`repoCount`), the rows step (`rows`) and the check step (`check`). Defines `sleep`, `fmt`, `key` and 8 more. - What it does: It tests wafer meta and substations. Defines 12 functions or classes, including sleep, fmt, key, repoCount, rows. Uses libraries playwright, fs, path. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: substations. - Inputs & outputs: In: JSON file wafer-meta.json; command-line arguments. Out: JSON file report.json. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `sleep(ms)`; `fmt(n)`; `key(j, sp)`; `repoCount(name, np)`; `rows(f)`; `check(name, ok, got)`; `newPage()`; `done(page)`; `open(hash, opts = {})`; `st(p)`; `shot(page, name)`; `waitArrive(page, t = 120000)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file wafer-meta.json; command-line arguments]; out [JSON file report.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Rerun - File: kuiper-belt/editions/202611012135/handoff/12-see-through-reader/rerun.cjs (JavaScript, 60 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/12-see-through-reader/rerun.cjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/1515.html#f3 - Synopsis: A JavaScript module in the handoff folder of Kuiper Belt that reads wafer meta and report rerun. - What it achieves (comment): It is built from the sleep step (`sleep`), the check step (`check`) and the new page helper (`newPage`). The four steps of `test.cjs` run 1 that failed on time under load 40-60 (round trip by the STAR KEY row, #view=sat after the flight, the X at the stars both ways), with long waits; same assertions as `test.cjs`. It reads `/home/user/estate/kuiper-belt/cosmos/wafer-meta.json` and writes `/tmp/nl010-opus/team-12/tester/out/report-rerun.json`. - What it does: It loads wafer meta and report rerun. Defines 6 functions or classes, including sleep, check, newPage, ready, arrived. Uses libraries playwright, fs. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file wafer-meta.json. Out: JSON file report-rerun.json. - Signatures: `sleep(ms)`; `check(n, ok, got)`; `newPage(tag)`; `ready(p)`; `arrived(p)`; `xbtn(p)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file wafer-meta.json]; out [JSON file report-rerun.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Shots - File: kuiper-belt/editions/202611012135/handoff/12-see-through-reader/shots.cjs (JavaScript, 27 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/12-see-through-reader/shots.cjs#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1515.html#f4 - Synopsis: A JavaScript module in the handoff folder of Kuiper Belt. It is built from the sleep step (`sleep`). - What it achieves (comment): The four hand-off screenshots (Pixel 7, CSS scale), one browser each; harness flags as `test.cjs`. - What it does: Defines sleep. Uses libraries playwright, path, fs. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `sleep(ms)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test - File: kuiper-belt/editions/202611012135/handoff/12-see-through-reader/test.cjs (JavaScript, 251 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/handoff/12-see-through-reader/test.cjs#L1-L251 - Page: https://code.globalgrid2050.com/explore-code/s/1515.html#f5 - Synopsis: A JavaScript module in the handoff folder of Kuiper Belt that tests wafer meta and substations. - What it achieves (readme): It sets hash (`setHash`) and is built from the flag step (`flag`) and the sleep step (`sleep`). The README says: The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies). - What it does: It tests wafer meta and substations. Defines 18 functions or classes, including flag, sleep, fmt, keyOf, repoCount. Uses libraries playwright, fs, path, http. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'handoff'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: substations. README: "The test is `handoff/02-card/test.cjs` (B1–B7, Pixel 7 and Galaxy S24, all 344 placed bodies)." - Inputs & outputs: In: JSON file wafer-meta.json; command-line arguments. Out: JSON file report.json; canvas drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `flag(n)`; `BASE(positional[0] || 'http:)`; `sleep(ms)`; `fmt(n)`; `keyOf(j, sp)`; `repoCount(name, np, sp)`; `rows(f)`; `head(u)`; `probe()`; `amberAt(arg)`; `lawAt(k)`; `check(name, ok, got)`; `open(urlPath, ready, tag)`; `done(p)`; `shot(page, name, toImg = true)`; `P(p)`; `setHash(p, h, ready)`; `arrived()`; `slug(s)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file wafer-meta.json; command-line arguments]; out [JSON file report.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Hello - File: kuiper-belt/editions/202611012135/modules/202611012145-hello.js (JavaScript, 19 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/modules/202611012145-hello.js#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/1515.html#f6 - Synopsis: A JavaScript file in the editions folder of Kuiper Belt that uses SHA-256. - What it achieves (comment): On the wafer, and exposes `inspect`. before PR A; its sha256 stays in `handoff/04-loader/MODULE.sha256`. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `install(KY)`; `inspect()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Loader - File: kuiper-belt/editions/202611012135/modules/202611012145-loader.js (JavaScript, 133 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/modules/202611012145-loader.js#L1-L133 - Page: https://code.globalgrid2050.com/explore-code/s/1515.html#f7 - Synopsis: A JavaScript file in the editions folder of Kuiper Belt that works with ky line (`kyLine`) and ky refuse (`kyRefuse`), using SHA-256. - What it achieves (comment): It is built from the ky line helper (`kyLine`), the ky refuse helper (`kyRefuse`) and the ky hex helper (`kyHex`). Integrator as `handoff/04-loader/index.html.patch`. The bytes between the two marker lines below are byte-identical to the block the patch inserts in `editions/202611012135/index.html` before `requestAnimationFrame`(frame). It reads `modules.json`. It responds to error events. - What it does: It draws its content. Defines 6 functions or classes, including kyLine, kyRefuse, kyHex, kyInject, se. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file modules.json. - Signatures: `kyLine(t)`; `redraw()`; `refuse(text, slot)`; `register(m)`; `inspect()`; `kyRefuse(t)`; `kyHex(b)`; `kyInject(id, buf)`; `se(e)`; `kyAdmit(id, rec, provided)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file modules.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Apps - File: kuiper-belt/editions/202611012135/modules/202611012309-apps.js (JavaScript, 580 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611012135/modules/202611012309-apps.js#L1-L580 - Page: https://code.globalgrid2050.com/explore-code/s/1516.html#f1 - Synopsis: A JavaScript file in the editions folder of Kuiper Belt that draws elements, overview graph and periodic table, using SHA-256. - What it achieves (comment): It gets JSON (`getJSON`), loads elements (`loadElements`) and builds panel (`buildPanel`). Kuiper module apps step 7; `FIXES/NL-010/team-4/STEPS.md` 7.1-7.5). It responds to click, popstate and pointerdown events. - What it does: It draws elements, overview graph and periodic table. Defines 59 functions or classes, including mk, mod, shell, fmt, esc. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "apps · `modules/202611012309-apps.js` (data `data/apps.json`, `data/elements.json`, `data/graphs/*.json`) · sha256 `432b0aae925d` · Opus 7 · step 7." - Inputs & outputs: In: JSON file apps.json; JSON file elements.json; JSON file overview.json; JSON file periodic-table.json; JSON file overview-graph.json. - Signatures: `mk(tag, cls, text)`; `mod(id)`; `shell()`; `fmt(n)`; `esc(v)`; `getJSON(file)`; `loadApps()`; `loadElements()`; `elementsLine()`; `layerTag(id)`; `installStyle()`; `barBottom()`; `place()`; `buildPanel()`; `showView(v)`; `fillHead()`; `hrefOf(a)`; `sameOrigin(u)`; `hostOf(u)`; `fillApps()`; `checkLinks(rows)`; `say(a, s, why)`; `next()`; `fillElements()`; `openElement(i, fromPanel)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file apps.json; JSON file elements.json; JSON file overview.json; JSON file periodic-table.json; JSON file overview-graph.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Shell - File: kuiper-belt/editions/202611020326/modules/202611020243-kuiper-shell.js (JavaScript, 627 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611020326/modules/202611020243-kuiper-shell.js#L1-L627 - Page: https://code.globalgrid2050.com/explore-code/s/1517.html#f1 - Synopsis: A JavaScript file in the editions folder of Kuiper Belt that builds bar (`buildBar`), sets open (`setOpenState`) and opens menu (`openMenu`), covering cables and substations. - What it achieves (comment): It builds bar (`buildBar`), sets open state (`setOpenState`) and opens menu (`openMenu`). Kuiper module kuiper-shell. each value below. It responds to click, keydown and pointerdown events. - What it does: It draws cables and substations. Defines 44 functions or classes, including publish, $, missing, loudFailure, installStyle. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, substations. README: "Edition 6 is the same page, keys and modules with one module added: the GridAtlas shell (`modules/202611020243-kuiper-shell.js`, sha256 `2045c51ae1ac844aef98fd7de330d947caf704fcbb935098938ce0caf0758bdf`, Opus team 1, NL-010 step 1, rev 3)." - Inputs & outputs: In: JSON file keys.json. - Signatures: `publish()`; `$(sel)`; `missing()`; `loudFailure(words)`; `installStyle()`; `el(tag, cls, text)`; `buildBar()`; `tick()`; `setOpenState(name)`; `openMenu(name)`; `cardShown()`; `stepOver()`; `closeAll(fromPop)`; `onPop()`; `wire()`; `lift()`; `passThrough()`; `lifted(e)`; `measure()`; `placeStar()`; `mountStar(node, by)`; `defaultStar()`; `row(label, onTap, hint)`; `key(k)`; `link(label, href, hint)` (and 13 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file keys.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Line Card - File: kuiper-belt/editions/202611020446/modules/202611020212-line-card.js (JavaScript, 225 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611020446/modules/202611020212-line-card.js#L1-L225 - Page: https://code.globalgrid2050.com/explore-code/s/1518.html#f1 - Synopsis: A JavaScript file in the editions folder of Kuiper Belt that works with row inner (`rowInner`) and about law (`aboutLaw`). - What it achieves (comment): It is built from the has text helper (`hasText`), the header step (`header`) and the key text helper (`keyText`). Reads: nothing fetched (bodies are handed in by the page or a module) · writes: #card (its content, classes, aria), #ky-line-card-style, the empty [data-owner="line-card"] slot of the ABOUT panel, window.KY.modules.line-card. It responds to click, touchstart and touchmove events. - What it does: It draws its content. Defines 11 functions or classes, including hasText, header, keyText, render, show. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "Edition 7 is the same page, keys and modules with one module replaced: the line card's landscape revision (`modules/202611020212-line-card.js`, sha256 `8ec117f9dd436965e17fb860d5c12c485479cb3bdfdb6a845d924c65cc240fe3`, Opus team 2) in place of Edition 6's `202611012143-line-card.js`." - Signatures: `hasText(b)`; `header(b)`; `keyText(b)`; `render(b, o)`; `show(b, o)`; `close()`; `rowInner(b)`; `row(b, i, cls)`; `behind()`; `aboutLaw()`; `inspect()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Drift - File: kuiper-belt/editions/202611020528/modules/202611020240-drift.js (JavaScript, 331 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611020528/modules/202611020240-drift.js#L1-L331 - Page: https://code.globalgrid2050.com/explore-code/s/1518.html#f2 - Synopsis: A JavaScript file in the editions folder of Kuiper Belt that converts to screen (`toScreen`), loads bodies (`loadBodies`), draws marks (`drawMarks`) and calculates planar distances. - What it achieves (comment): It fetches JSON (`fetchJson`), loads bodies (`loadBodies`) and draws marks (`drawMarks`). Kuiper module drift The module ONLY READS `data/drift.json` (kuiper.drift.v1, written by `tools/drift.py` at the cut); it never classifies a line itself. It responds to pointerdown, pointercancel and pointerup events. - What it does: It draws its content. Defines 24 functions or classes, including esc, fmt, sha7, toScreen, layerOn. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "Edition 8 is the same page, keys and modules with one module added: the drift (`modules/202611020240-drift.js`, sha256 `f03b78350694362f0d0203647231c9809661a0aac7392f6fd776f519ce391480`, Opus team 8, NL-010 step 8), with its data `data/drift.json`." - Inputs & outputs: In: JSON file drift.json; JSON file keys-min.json; JSON file keys.json. - Signatures: `esc(v)`; `fmt(n)`; `sha7(s)`; `toScreen(x, y)`; `layerOn()`; `fetchJson(file, noStore)`; `admit(j)`; `refuse(why)`; `load()`; `loadBodies()`; `b(j && j.bodies)`; `headCommit(repo, sha)`; `place()`; `drawMarks(o2)`; `cardLines(r, m)`; `markFor(r)`; `onCard()`; `bodyFor(r, m)`; `open(r, fly)`; `wireTaps()`; `buildPanel()`; `paint()`; `fillList()`; `install(ky)`; `inspect()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file drift.json; JSON file keys-min.json; JSON file keys.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Layers - File: kuiper-belt/editions/202611020825/modules/202611020637-layers.js (JavaScript, 823 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611020825/modules/202611020637-layers.js#L1-L823 - Page: https://code.globalgrid2050.com/explore-code/s/1519.html#f1 - Synopsis: A JavaScript file in the editions folder of Kuiper Belt that fetches bytes (`fetchBytes`), loads source (`loadSource`), draws features (`drawFeatures`) and calculates planar distances (units: kV), using SHA-256. - What it achieves (comment): It sets state (`setState`), fetches bytes (`fetchBytes`) and loads source (`loadSource`). Kuiper module layers Revision of -layers.js (refused 04:24Z by the night controller, unchanged), built on Kuiper Edition 9 picker, e/E, the LINES panel the shell moves into WAFER). It responds to change, keydown and resize events. - What it does: It draws its content. Defines 68 functions or classes, including edName, esc, fmt, rec, setState. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "Edition 10 is the same page, keys and modules with one module added: the layers registry (`modules/202611020637-layers.js`, sha256 `c8fccccf212a66cf9c37e02a260eed212bd1ad2548c52b13fbf6024bd5d22486`, Opus team 3, NL-010 step 3, the GridAtlas lesson of layer management), with its data `data/layers.json` and `data/editions.json`." - Inputs & outputs: In: JSON file layers.json; JSON file editions.json; JSON file keys-min.json; JSON file keys.json; form fields (user input). - Signatures: `edName()`; `esc(v)`; `fmt(n)`; `rec(id)`; `setState(id, status, why)`; `tagText(id)`; `inspect()`; `get(id)`; `original(id)`; `set(id, on)`; `value(id, v)`; `register(layer)`; `moduleId(file)`; `hex(buf)`; `fetchBytes(file)`; `verified(id)`; `verifiedOne(id, src)`; `admissible(k)`; `loadSource(id)`; `fs(j && j.features)`; `scr(p)`; `drawFeatures(o2, colour, pts, segs)`; `loud(id)`; `alertLine(text)`; `buildPanel()` (and 15 more) - VEDIC: FILTER (GG2050-VEDIC-000043): Kuiper / Code navigation · Computer science / Interactive visualisation. placed_records, visibility_state, query -> filtered_line_panel - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file layers.json; JSON file editions.json; JSON file keys-min.json; JSON file keys.json; form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### File - File: kuiper-belt/editions/202611021017/modules/202611020832-file.js (JavaScript, 840 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611021017/modules/202611020832-file.js#L1-L840 - Page: https://code.globalgrid2050.com/explore-code/s/1520.html#f2 - Synopsis: A JavaScript file in the editions folder of Kuiper Belt that closes panel (`closePanel`) and then (`closeThen`), syncs layers (`syncLayers`) and draws on a canvas (units: kV), using SHA-256. - What it achieves (comment): It closes panel (`closePanel`), closes then (`closeThen`) and reads text (`readText`). No GridAtlas bytes are copied verbatim but the words of two row labels. It reads `keys.json`. It responds to popstate, keydown and hashchange events. - What it does: It draws its content. Defines 84 functions or classes, including mk, shell, closePanel, closeThen, pop. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "Edition 11 is the same page, keys and modules with one module added: the File menu (`modules/202611020832-file.js`, sha256 `5fc4e307dbe089b2b2a35e7e09b22c0e6322da30e9764e0cec56a801d1a06c05`, Opus team 6, NL-010 step 6, the GridAtlas lesson of the File menu)." - Inputs & outputs: In: JSON file keys.json; JSON file keys-min.json; JSON file modules.json; JSON file layers.json; JSON file editions.json. Out: canvas drawing. - Signatures: `mk(tag, cls, text)`; `shell()`; `closePanel()`; `closeThen(fn)`; `pop()`; `layersApi()`; `cardApi()`; `fmt(n)`; `pairs(s)`; `parse(search, hash)`; `readText(text)`; `enc(v)`; `hashText(f)`; `syncLayers()`; `writeSoon()`; `leave(url)`; `writeNow()`; `setField(k, v)`; `setFields(o)`; `clear(keep)`; `say(words)`; `refuse(words)`; `linesReady()`; `loadBodies()`; `indexOfId(id)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file keys.json; JSON file keys-min.json; JSON file modules.json; JSON file layers.json; JSON file editions.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Belt — Editions Page - File: kuiper-belt/editions/202611021201/index.html (HTML, 961 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611021201/index.html#L1-L961 - Page: https://code.globalgrid2050.com/explore-code/s/1521.html#f2 - Published at: https://ventusltd.github.io/kuiper-belt/editions/202611021201/ - Synopsis: A web page that converts to world (`toWorld`), steps anim (`stepAnim`), places panels (`placePanels`) and calculates planar distances, using SHA-256. Published at https://ventusltd.github.io/kuiper-belt/editions/202611021201/. - What it achieves (code): It shows new (`showNew`), loads edition (`loadEdition`) and draws edition (`drawEdition`). Its `describe` function gives human readable address description from resolved address and repository metadata (VEDIC: explain). It reads `modules.json`. It responds to webglcontextlost, resize and pointerdown events. - What it does: It draws its content. Defines 62 functions or classes, including fmt, words, refuse, prog, U. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "the stamp is written in three places in `index.html` (meta refresh, the link, `location.replace`), as `learn-the-kuiper/index.html` does." - Inputs & outputs: In: JSON file keys-min.json; JSON file keys.json; JSON file modules.json; form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 2 files: Kuiper Belt — Editions Page (kuiper-belt, https://ventusltd.github.io/kuiper-belt/editions/); After (neural-link-between-agents). Reached from 1 other entry point, including GlobalGrid2050 — Kuiper Editions Page (globalgrid2050, https://globalgrid2050.com/kuiper-editions/). It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/editions/202611021201/. - Signatures: `fmt(n)`; `words(n)`; `refuse(m, slot)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)`; `widestRunPx(ri, z)`; `span(k0, k1)`; `linesByRunningTotals(ri)`; `keyAt(wx, wy)`; `frame()`; `draw()` (and 15 more) - VEDIC: EXPLAIN (GG2050-VEDIC-000040): Kuiper / Code navigation · Computer science / Interactive visualisation. resolved_address, repository_metadata -> human_readable_address_description - VEDIC: RECENT (GG2050-VEDIC-000041): Kuiper / Code navigation · Computer science / Interactive visualisation. hours, ordered_commits -> recent_band_animation_state - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file keys-min.json; JSON file keys.json; JSON file modules.json; form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### See Through - File: kuiper-belt/editions/202611021201/modules/202611021026-see-through.js (JavaScript, 189 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/202611021201/modules/202611021026-see-through.js#L1-L189 - Page: https://code.globalgrid2050.com/explore-code/s/1523.html#f1 - Synopsis: A JavaScript file in the editions folder of Kuiper Belt that fetches bytes (`fetchBytes`), shows chip (`showChip`) and hides chip (`hideChip`), covering substations, using SHA-256. - What it achieves (comment): It fetches bytes (`fetchBytes`), shows chip (`showChip`) and hides chip (`hideChip`). Kuiper module see-through Revision of -see-through.js (sha256 ..., REFUSED by its tester, withdrawn 01:53Z by the controller: on Pixel 7 the journey's card-details turned red because the module's two card rows. It reads `data/see-through.json`. It responds to pointerdown, click and pointerup events. - What it does: It draws substations. Defines 18 functions or classes, including hex, layersApi, layerOn, link, starLink. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: substations. README: "Edition 12 is the same page, keys and modules with one module added: See Through, the star player (`modules/202611021026-see-through.js`, Opus team 5, NL-010 roadmap step 5), with its data `data/see-through.json`." - Inputs & outputs: In: JSON file see-through.json. - Signatures: `hex(buf)`; `layersApi()`; `layerOn()`; `link(f)`; `starLink(s)`; `fetchBytes(file)`; `load()`; `scr(s, o)`; `draw(o2)`; `nearest(cx, cy)`; `chipTop()`; `showChip(s)`; `hideChip()`; `onDown(e)`; `onUp(e)`; `registerLayer()`; `install(K)`; `inspect()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file see-through.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Belt — Editions Page - File: kuiper-belt/editions/index.html (HTML, 14 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/editions/index.html#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/1523.html#f2 - Published at: https://ventusltd.github.io/kuiper-belt/editions/ - Synopsis: A web page. Published at https://ventusltd.github.io/kuiper-belt/editions/. - What it achieves (readme): The README says: The stamp is written in three places in `index.html` (meta refresh, the link, `location.replace`), as `learn-the-kuiper/index.html` does. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "the stamp is written in three places in `index.html` (meta refresh, the link, `location.replace`), as `learn-the-kuiper/index.html` does." - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Kuiper Editions Page (globalgrid2050, https://globalgrid2050.com/kuiper-editions/). It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/editions/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 1; mentioned by 0 ### Explore - File: kuiper-belt/explore-code/explore.css (CSS, 7 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/explore-code/explore.css#L1-L7 - Page: https://code.globalgrid2050.com/explore-code/s/1523.html#f3 - Synopsis: A style sheet in the explore code folder of Kuiper Belt. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Belt — Index Page - File: kuiper-belt/index.html (HTML, 595 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/index.html#L1-L595 - Page: https://code.globalgrid2050.com/explore-code/s/1523.html#f4 - Published at: https://ventusltd.github.io/kuiper-belt/ - Synopsis: A web page that converts to world (`toWorld`), steps anim (`stepAnim`), calculates planar distances and draws on a canvas. Published at https://ventusltd.github.io/kuiper-belt/. - What it achieves (code): It shows new (`showNew`) and is built from the fmt step (`fmt`) and the words step (`words`). Its `describe` function gives human readable address description from resolved address and repository metadata (VEDIC: explain). It responds to webglcontextlost, resize and pointerdown events. - What it does: It draws its content. Defines 39 functions or classes, including fmt, words, prog, U, tsv. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: Used directly by 12 files: Apps Registry (kuiper-belt); Registry of All Content in Repos and Dependencies — Index Page (registry_of_all_content_in_repos_and_dependencies, https://ventusltd.github.io/registry_of_all_content_in_repos_and_dependencies/); Kuiper Law (kuiper-belt); Deep (kuiper-belt); and 8 more. Reached from 278 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/. - Signatures: `fmt(n)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)`; `widestRunPx(ri, z)`; `span(k0, k1)`; `linesByRunningTotals(ri)`; `keyAt(wx, wy)`; `frame()`; `draw()`; `read(wx)` (and 15 more) - VEDIC: EXPLAIN (GG2050-VEDIC-000040): Kuiper / Code navigation · Computer science / Interactive visualisation. resolved_address, repository_metadata -> human_readable_address_description - VEDIC: RECENT (GG2050-VEDIC-000041): Kuiper / Code navigation · Computer science / Interactive visualisation. hours, ordered_commits -> recent_band_animation_state - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/testcode/wafer-development-environment/202609191345-proof-7/index.html) · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 12; mentioned by 0 ### Kuiper Law - File: kuiper-belt/learn-the-kuiper/202610042225/kuiper-law.js (JavaScript, 119 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610042225/kuiper-law.js#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/1524.html#f2 - Synopsis: A JavaScript module in the learn the kuiper folder of Kuiper Belt that places many (`placeMany`) and converts to screen (`toScreen`). - What it achieves (comment): It places many (`placeMany`) and is built from the key place helper (`keyPlace`) and the place step (`place`). `kuiper-law.js` THE ONE LAW OF THE REAL KUIPER, lifted VERBATIM from the live page. - What it does: It draws its content. Defines 6 functions or classes, including keyPlace, place, placeMany, shader, toScreen. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 11 files: Grid Test (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/grid-test.html); Strings Test (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/strings-test.html); Zoom Test (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/zoom-test.html); Sheet (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/sheet.html); and 7 more. Reached from 3 other entry points, including Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html); Solid (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/solid.html). - Signatures: `keyPlace(k)`; `place(key)`; `placeMany(k0, n, out)`; `shader(k0, d)`; `u_k0lo(k0 % 4294967296)`; `toScreen(x, y, cam, W, H)`; `homeZoom(boxW, boxH, space)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 11; mentioned by 1 ### Grid Test - File: kuiper-belt/learn-the-kuiper/202610042346/modules/grid-test.html (HTML, 17 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610042346/modules/grid-test.html#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/1524.html#f3 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/grid-test.html - Synopsis: A web page in the learn the kuiper folder of Kuiper Belt. Published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/grid-test.html. - What it does: It tests its inputs. Uses libraries grid-data.js. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/grid-test.html. - Signatures: `m(window.KGModules||[])` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (script-src 3); used by 0; mentioned by 0 ### Strings Test - File: kuiper-belt/learn-the-kuiper/202610042346/modules/strings-test.html (HTML, 51 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610042346/modules/strings-test.html#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/1524.html#f4 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/strings-test.html - Synopsis: A web page in the learn the kuiper folder of Kuiper Belt. Published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/strings-test.html. - What it achieves (name): Defines `btn`, `ptr` and `log`. It responds to kgclose events. - What it does: It tests its inputs. Defines btn, ptr, st, log. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/strings-test.html. - Signatures: `btn(k, d)`; `ptr(cv, x, y)`; `st()`; `log(s)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (script-src 3); used by 0; mentioned by 0 ### Zoom Test - File: kuiper-belt/learn-the-kuiper/202610042346/modules/zoom-test.html (HTML, 16 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610042346/modules/zoom-test.html#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/1524.html#f5 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/zoom-test.html - Synopsis: A web page in the learn the kuiper folder of Kuiper Belt. Published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/zoom-test.html. - What it achieves (name): It responds to kgclose events. - What it does: It tests its inputs. Uses libraries realgame-data.js. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/zoom-test.html. - Signatures: `mod(window.KGModules || [])` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (script-src 3); used by 0; mentioned by 0 ### Scale Logic - File: kuiper-belt/learn-the-kuiper/202610042346/scale-logic.js (JavaScript, 491 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610042346/scale-logic.js#L1-L491 - Page: https://code.globalgrid2050.com/explore-code/s/1524.html#f6 - Synopsis: A JavaScript module in the learn the kuiper folder of Kuiper Belt that converts to fraction (`toFraction`), sets position (`setPosition`) and polar (`setPolar`) and calculates planar distances and angles. - What it achieves (comment): It sets position (`setPosition`), sets polar (`setPolar`) and gets moves (`getMoves`). `scale-logic.js` SCALE LOGIC for LEARN THE KUIPER: quadrillions of particles down to one, any one of them movable. - What it does: Defines 38 functions or classes, including fin, clamp, hash32, rng, toFraction. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 9 files: Grid Test (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/grid-test.html); Strings Test (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/strings-test.html); Zoom Test (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/zoom-test.html); Sheet (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/sheet.html); and 5 more. Reached from 3 other entry points, including Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html); Solid (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/solid.html). - Signatures: `fin(v, d)`; `clamp(v, lo, hi)`; `hash32(a)`; `rng(seed)`; `toFraction(x, base)`; `prepare(params)`; `mode(W === TWO32 && G < TWO32)`; `mOf(p, k)`; `lapsOf(p, k, m)`; `radiusOf(p, k)`; `keyAtRadius(p, r)`; `setPosition(key, x, y)`; `setPolar(key, r, deg)`; `clearMove(key)`; `clearMoves()`; `getMoves()`; `degOf(x, y)`; `truePlace(p, k)`; `place(key, params)`; `placeInner(key, params)`; `rectOfView(view)`; `inRect(rc, x, y)`; `bandOfRect(rc)`; `keysInRect(p, rc, maxOut, seed)`; `accept(k)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 9; mentioned by 0 ### Sheet - File: kuiper-belt/learn-the-kuiper/202610042346/sheet.html (HTML, 21 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610042346/sheet.html#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1525.html#f2 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/sheet.html - Synopsis: A web page in the learn the kuiper folder of Kuiper Belt. Published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/sheet.html. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/sheet.html. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (script-src 3); used by 0; mentioned by 0 ### Deep Test - File: kuiper-belt/learn-the-kuiper/202610050010/modules/deep-test.html (HTML, 18 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050010/modules/deep-test.html#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1525.html#f3 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050010/modules/deep-test.html - Synopsis: A web page in the learn the kuiper folder of Kuiper Belt. Published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050010/modules/deep-test.html. - What it achieves (name): It responds to kgmodule and click events. - What it does: It tests its inputs. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050010/modules/deep-test.html. - Signatures: `mod(window.KGModules || [])` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (script-src 3); used by 0; mentioned by 0 ### Deep - File: kuiper-belt/learn-the-kuiper/202610050010/modules/deep.js (JavaScript, 542 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050010/modules/deep.js#L1-L542 - Page: https://code.globalgrid2050.com/explore-code/s/1525.html#f4 - Synopsis: A JavaScript module in the learn the kuiper folder of Kuiper Belt that makes canvas (`makeCanvas`), draws taps (`drawTaps`), averages step (`meanStep`) and calculates planar distances, using SHA-256. - What it achieves (comment): It makes canvas (`makeCanvas`), reads key (`readKey`) and draws taps (`drawTaps`). `modules/deep.js` LEARN THE KUIPER: the DEEP panel. It responds to click, keydown and change events. - What it does: It draws its content. Defines 41 functions or classes, including fmt, fx, mExact, el, blip. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 1 file: Deep Test (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050010/modules/deep-test.html). - Signatures: `FIB(function () { var s = {}, a = 1, b = 2; s[1] = 1; while (a < 1e13) { s[a] = 1; var c = a + b; a = b; b = c; } return ...)`; `fmt(n)`; `s(typeof n === 'bigint')`; `fx(v, d)`; `mExact(k)`; `el(tag, css, html, parent)`; `blip(freq, len)`; `makeCanvas(parent, h, cls)`; `fit(cv)`; `txt(g, s, x, y, col, size, align)`; `dot(g, x, y, r, col)`; `dimLine(g, x1, y1, x2, y2, col)`; `P(k)`; `chapter(body, n, title, sentence)`; `para(sec, html, col)`; `formula(sec, html)`; `source(sec, html)`; `label(sec, s)`; `row(sec)`; `button(parent, s, fn, col)`; `input(parent, value, onCommit, width)`; `readKey(s, max)`; `hero(sec, h, draw)`; `drawTaps(g, item, now)`; `a(now - p.t)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Radar Test - File: kuiper-belt/learn-the-kuiper/202610050010/modules/radar-test.html (HTML, 16 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050010/modules/radar-test.html#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/1525.html#f5 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050010/modules/radar-test.html - Synopsis: A web page in the learn the kuiper folder of Kuiper Belt. Published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050010/modules/radar-test.html. - What it does: It tests its inputs. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050010/modules/radar-test.html. - Signatures: `m(window.KGModules||[])` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (script-src 3); used by 0; mentioned by 0 ### Realgame Test - File: kuiper-belt/learn-the-kuiper/202610050010/modules/realgame-test.html (HTML, 17 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050010/modules/realgame-test.html#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/1526.html#f1 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050010/modules/realgame-test.html - Synopsis: A web page in the learn the kuiper folder of Kuiper Belt. Published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050010/modules/realgame-test.html. - What it achieves (comment): Real Kuiper Game test. It responds to kg events. - What it does: It tests its inputs. Uses libraries realgame-data.js. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050010/modules/realgame-test.html. - Signatures: `mod(window.KGModules || [])` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (script-src 3); used by 0; mentioned by 0 ### Audio Unlock - File: kuiper-belt/learn-the-kuiper/202610050144/audio-unlock.js (JavaScript, 71 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050144/audio-unlock.js#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/1526.html#f2 - Synopsis: A JavaScript file in the learn the kuiper folder of Kuiper Belt that works with silent wav (`silentWav`) and silent start (`silentStart`). - What it achieves (comment): It is built from the live step (`live`), the track step (`track`) and the wrap step (`wrap`). LEARN THE KUIPER: `audio-unlock.js` (loaded before `start-here.js` and every module). It responds to visibilitychange events. - What it does: It draws its content. Defines 13 functions or classes, including live, track, wrap, silentWav, s. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 4 files: Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Modes (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/modes.html); Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html); Solid (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/solid.html). Reached from 1 other entry point, including Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html). - Signatures: `live()`; `track(c)`; `wrap(name)`; `silentWav()`; `s(t)`; `u32(v)`; `u16(v)`; `silentStart()`; `silentStop()`; `session()`; `resumeAll()`; `gesture()`; `suspendAll()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Fx Common - File: kuiper-belt/learn-the-kuiper/202610050354/fx-common.js (JavaScript, 161 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050354/fx-common.js#L1-L161 - Page: https://code.globalgrid2050.com/explore-code/s/1526.html#f3 - Synopsis: A JavaScript file in the learn the kuiper folder of Kuiper Belt that works with heat RGB (`heatRGB`) and nova RGB (`novaRGB`) and draws on a canvas. - What it achieves (comment): It is built from the rng step (`rng`), the clamp step (`clamp`) and the mix step (`mix`). `fx-common.js` Shared, engine-free pieces of the light layer: seeded random, the colour ramps, the star sizing rule, the supernova timeline and its spark simulation. - What it does: It draws its content. Defines 11 functions or classes, including rng, clamp, mix, smooth, heatRGB. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: canvas drawing. - Signatures: `rng(seed)`; `a(seed >>> 0)`; `clamp(v, a, b)`; `mix(a, b, t)`; `smooth(e0, e1, x)`; `heatRGB(h, out)`; `novaRGB(t, out)`; `starStyle(ppu, dpr)`; `Nova(seed)`; `nvx(vx - vy * c)`; `reducedMotion()`; `skyStars(seed, n)`; `glowCanvas(size, fn)`; `u(x + 0.5)`; `o(y * size + x)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fx Raw - File: kuiper-belt/learn-the-kuiper/202610050354/fx-raw.js (JavaScript, 236 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050354/fx-raw.js#L1-L236 - Page: https://code.globalgrid2050.com/explore-code/s/1526.html#f4 - Synopsis: A JavaScript file in the learn the kuiper folder of Kuiper Belt that converts to dev (`toDev`), calculates planar distances and renders with WebGL. - What it achieves (comment): It is built from the compile step (`compile`), the create step (`create`) and the to dev helper (`toDev`). `fx-raw.js` The dependency-free light layer: plain WebGL1, three small shader programs, no library. - What it does: It draws its content. Defines 9 functions or classes, including compile, sh, create, U, toDev. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: WebGL/WebGPU drawing. - Signatures: `compile(gl, vs, fs)`; `sh(t, s)`; `create(host)`; `U(prog, name)`; `toDev(x, y)`; `points(buf, hbuf, kbuf, n, mode, xf, size, gain)`; `shape(mode, cxd, cyd, hx, hy, p0, p1, c0, c1)`; `sparks(nx, ny)`; `draw()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Menu - File: kuiper-belt/learn-the-kuiper/202610050354/menu.html (HTML, 18 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050354/menu.html#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1526.html#f5 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html - Synopsis: A web page in the learn the kuiper folder of Kuiper Belt. Published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 3 files: Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html); Solid (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/solid.html). It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (link 5); used by 3; mentioned by 0 ### Kuiper Belt — Learn the Kuiper Page - File: kuiper-belt/learn-the-kuiper/202610050501/index.html (HTML, 138 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050501/index.html#L1-L138 - Page: https://code.globalgrid2050.com/explore-code/s/1526.html#f6 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050501/ - Synopsis: A web page. Published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050501/. - What it achieves (name): Defines `next`. - What it does: It draws its content. Defines next. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html). Reached from 3 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html); Solid (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/solid.html). It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050501/. - Signatures: `next()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Lesson - File: kuiper-belt/learn-the-kuiper/202610050609/lesson.html (HTML, 5 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050609/lesson.html#L1-L5 - Page: https://code.globalgrid2050.com/explore-code/s/1526.html#f7 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html - Synopsis: A web page in the learn the kuiper folder of Kuiper Belt. Published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html). Reached from 2 other entry points, including Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html); Solid (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/solid.html). It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (script-src 4, link 1); used by 1; mentioned by 0 ### Lesson - File: kuiper-belt/learn-the-kuiper/202610050609/lesson.js (JavaScript, 1285 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050609/lesson.js#L1-L1285 - Page: https://code.globalgrid2050.com/explore-code/s/1527.html#f1 - Synopsis: A JavaScript file in the learn the kuiper folder of Kuiper Belt that wraps deg (`wrapDeg`), parses typed (`parseTyped`), finds target (`findTarget`) and calculates planar distances and angles (units: kV). - What it achieves (comment): It places one (`placeOne`), solves key (`solveKey`) and turns deg (`turnDeg`). `lesson.js` LEARN THE KUIPER, rung KUIPER: the four formulas, opened up and played with. It responds to click, pointerdown and pointermove events. - What it does: It draws its content. Defines 124 functions or classes, including LAW, SCALE, G32, newRule, lawPath. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: browser storage (getItem). Out: browser storage (setItem); canvas drawing; SVG drawing. - Downstream impact: Used directly by 1 file: Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html). Reached from 3 other entry points, including Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html); Solid (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/solid.html). - Signatures: `LAW()`; `SCALE()`; `G32()`; `newRule()`; `lawPath(R)`; `isLive(R)`; `isExercise(R)`; `power(R)`; `offset(R)`; `params(R, extra)`; `prep(R)`; `placeOne(R, k, out)`; `fill(R, keys, n, X, Y)`; `radiusAt(R, x)`; `squareFor(R, r)`; `solveKey(R, m)`; `inv((x0 % Wg) + Wg)`; `turnDeg(R)`; `commas(s)`; `fmtBig(b)`; `fmtScaled(b, d)`; `fmtNum(v, d)`; `fmtDist(v)`; `fmtShort(v)`; `s(Math.round(v * 10000) / 10000)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [browser storage (getItem)]; out [browser storage (setItem); canvas drawing; SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Modes - File: kuiper-belt/learn-the-kuiper/202610050609/modes.html (HTML, 34 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050609/modes.html#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/1528.html#f2 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/modes.html - Synopsis: A web page in the learn the kuiper folder of Kuiper Belt. Published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/modes.html. - What it achieves (comment): Fully offline: every file is in this folder, system fonts only, no network needed. - What it does: It draws its content. Uses libraries modules/realgame-data.js, modules/grid-data.js. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html). Reached from 3 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html); Solid (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/solid.html). It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/modes.html. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 10 estate files (script-src 10); used by 1; mentioned by 0 ### Descent - File: kuiper-belt/learn-the-kuiper/202610050609/modules/descent.js (JavaScript, 1035 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050609/modules/descent.js#L1-L1035 - Page: https://code.globalgrid2050.com/explore-code/s/1529.html#f1 - Synopsis: A JavaScript file in the learn the kuiper folder of Kuiper Belt that maps sat s, using Web Mercator and haversine and uses data from the GridAtlas repository. - What it achieves (comment): It loads script (`loadScript`), decodes lines (`decodeLines`) and places ui (`placeUI`). `descent.js` SEE THROUGH, a LEARN THE KUIPER module (id 'descent'). Its code works with 400 kV and 132 kV. It responds to click, pointerenter and pointerleave events. - What it does: It maps sat s, l sat and substations. Defines 70 functions or classes, including loadScript, ensureGridData, merc, unmercLat, decode. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: substations, 400kV, 132kV, 76kV, 27kV, 22kV. - Inputs & outputs: In: data source: gridatlas data; JSON file style.json; GeoJSON file kv.geojson. Out: interactive map; canvas drawing. Coordinate systems named: Web Mercator / EPSG:3857. Voltage levels named: 400kV, 132kV, 76kV, 27kV, 22kV, 8kV. - Downstream impact: Used directly by 1 file: Modes (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/modes.html). Reached from 4 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html). - Signatures: `SCRIPT_SRC(document.currentScript && document.currentScript.src)`; `loadScript(src, cb)`; `ensureGridData(cb)`; `merc(lon, lat, out, i)`; `unmercLat(y)`; `decode()`; `arr(s)`; `decodeLines()`; `voltText(i)`; `opText(i)`; `nameOf(i)`; `keyOfSub(i)`; `bearingOf(p)`; `fmt(x)`; `km(i, j)`; `audio()`; `ping(semi, gain)`; `fallTone(speed)`; `el(tag, css, text, parent)`; `clamp(x, a, b)`; `smooth(x)`; `ease(v)`; `on(t, ev, fn, opt)`; `layout()`; `placeUI()` (and 15 more) - VEDIC: SWITCH (GG2050-VEDIC-000033): See Through / Kuiper · Computer science / Interactive visualisation. view, user_flag -> selected_view - VEDIC: SEARCH (GG2050-VEDIC-000030): See Through / Kuiper · Computer science / Interactive visualisation. query, substation_names -> match_count_and_indices - VEDIC: CHOOSE (GG2050-VEDIC-000031): See Through / Kuiper · Computer science / Interactive visualisation. query, match_list -> selection_or_refusal - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file style.json; GeoJSON file kv.geojson]; out [interactive map; canvas drawing]; crs [Web Mercator / EPSG:3857]; voltages [400kV, 132kV, 76kV, 27kV, 22kV, 8kV] - Edges: uses 2 estate files (estate-url 2); used by 1; mentioned by 1 ### Grid - File: kuiper-belt/learn-the-kuiper/202610050609/modules/grid.js (JavaScript, 437 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050609/modules/grid.js#L1-L437 - Page: https://code.globalgrid2050.com/explore-code/s/1530.html#f2 - Synopsis: A JavaScript file in the learn the kuiper folder of Kuiper Belt that converts to scr (`toScr`), makes stars (`makeStars`), draws sel (`drawSel`) and calculates planar distances. - What it achieves (comment): It makes stars (`makeStars`), draws sel (`drawSel`) and closes pop (`closePop`). The wafer at rest (every place from KuiperLaw.place), then the same particles fly onto the UK grid and back. Its code works with 132 kV and 400 kV. It responds to pointerenter, pointerleave and click events. - What it does: It draws substations, 400kV and 132kV. Defines 37 functions or classes, including ensureData, keyOf, decode, networkTargets, audio. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: substations, 400kV, 132kV. - Inputs & outputs: Out: canvas drawing. Voltage levels named: 400kV, 132kV. - Downstream impact: Used directly by 2 files: Grid Test (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/grid-test.html); Modes (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/modes.html). Reached from 4 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html). - Signatures: `SCRIPT_SRC(document.currentScript && document.currentScript.src)`; `ensureData(cb)`; `keyOf(i, SPACE)`; `decode(net)`; `networkTargets(net, Sc)`; `u(i + 0.5)`; `audio()`; `note(semi, when, dur, gain, type)`; `flightMusic(up)`; `cam()`; `toScr(x, y)`; `bearingOf(p)`; `el(tag, css, text, parent)`; `layout()`; `makeStars()`; `rnd()`; `render()`; `a(i - 90)`; `a2(p[0] - 90)`; `compass(g, x, y, r)`; `drawSel(g, cx, cy)`; `blendTo(target, up, done)`; `v(u - delay[i])`; `draw(name)`; `release()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [400kV, 132kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Radar - File: kuiper-belt/learn-the-kuiper/202610050609/modules/radar.js (JavaScript, 355 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050609/modules/radar.js#L1-L355 - Page: https://code.globalgrid2050.com/explore-code/s/1531.html#f2 - Synopsis: A JavaScript file in the learn the kuiper folder of Kuiper Belt that sets contact (`setContact`), calculates planar distances and angles and draws on a canvas, covering substations. - What it achieves (comment): It places key (`placeKey`) and sets contact (`setContact`). The circle as a radar scope for grid engineering. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws substations. Defines 36 functions or classes, including fmt, md, el, build, q. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: substations. - Inputs & outputs: In: form fields (user input). Out: canvas drawing. - Downstream impact: Used directly by 2 files: Radar Test (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050010/modules/radar-test.html); Modes (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/modes.html). Reached from 4 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html). - Signatures: `fmt(n)`; `md(a, m)`; `el(tag, css, txt)`; `build(host)`; `q(s)`; `isReal()`; `placeKey(k)`; `quietKeys()`; `hash(b)`; `rebuild()`; `nameToKey(s)`; `compassOf(deg)`; `setContact(k, how, quietly)`; `find(txt)`; `beep(r, vol, dur)`; `blip(r)`; `size()`; `geo()`; `draw(now)`; `starField(c, W)`; `passed(a, b)`; `world(e)`; `aim(e)`; `wake()`; `nearest(w)` (and 11 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0 ### Realgame - File: kuiper-belt/learn-the-kuiper/202610050609/modules/realgame.js (JavaScript, 552 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050609/modules/realgame.js#L1-L552 - Page: https://code.globalgrid2050.com/explore-code/s/1532.html#f1 - Synopsis: A JavaScript file in the learn the kuiper folder of Kuiper Belt that steps fly (`stepFly`), marks buttons (`markButtons`), starts mission (`startMission`) and calculates planar distances and angles. - What it achieves (comment): It marks buttons (`markButtons`), starts mission (`startMission`) and builds pick list (`buildPickList`). A radar game played on the REAL wafer: 11,326 real public commits from kuiper-belt `cosmos/wafer.tsv` (`realgame-data.js`). It responds to click events. - What it does: It draws its content. Defines 44 functions or classes, including RK, decode, arr, lastStartAtOrBelow, issuedBefore. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 2 files: Realgame Test (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050010/modules/realgame-test.html); Modes (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/modes.html). Reached from 4 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html). - Signatures: `RK(k)`; `decode()`; `arr(s)`; `lastStartAtOrBelow(K)`; `issuedBefore(K)`; `at(K)`; `keyAtR(r)`; `fmt(x)`; `big(x)`; `day(u)`; `clock(u)`; `dur(s)`; `plural(n, w)`; `open(host)`; `on(el, ev, fn, opt)`; `layout()`; `closeFromX()`; `close()`; `wake()`; `tone(f, d, vol, type, when)`; `flourish()`; `homeCam()`; `flyTo(c, ms)`; `stepFly(now)`; `toS(x, y)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Strings - File: kuiper-belt/learn-the-kuiper/202610050609/modules/strings.js (JavaScript, 532 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050609/modules/strings.js#L1-L532 - Page: https://code.globalgrid2050.com/explore-code/s/1533.html#f1 - Synopsis: A JavaScript file in the learn the kuiper folder of Kuiper Belt that sets param (`setParam`), draws wafer (`drawWafer`) and picks wafer (`pickWafer`), covering transformers and solar, using IEC 62548. - What it achieves (comment): It sets param (`setParam`), updates text (`updateText`) and draws wafer (`drawWafer`). `strings.js` SOLAR STRINGS: place a generic solar farm with Kuiper keys. It responds to click, keydown and change events. - What it does: It draws transformers and solar. Defines 37 functions or classes, including font, plan, add, el, note. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: transformers, solar, 1500V. - Inputs & outputs: Out: canvas drawing. Voltage levels named: 1500V. - Downstream impact: Used directly by 2 files: Strings Test (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/strings-test.html); Modes (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/modes.html). Reached from 4 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html). - Signatures: `font(s)`; `plan(p)`; `add(o)`; `el(tag, css, parent, text)`; `note(f, dur, vol)`; `chime(n, up)`; `open(host)`; `sheet(name)`; `flashCap()`; `onStep(e)`; `commit(inp)`; `setParam(k, v)`; `rebuild(first)`; `word(n, one, many)`; `fmt(n)`; `updateText()`; `selCaption()`; `selInfo()`; `rangeOf(o)`; `lit(x)`; `select(o)`; `layout()`; `waferCam()`; `drawWafer(now)`; `pickWafer(e)` (and 13 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [1500V] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Zoom - File: kuiper-belt/learn-the-kuiper/202610050609/modules/zoom.js (JavaScript, 1010 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050609/modules/zoom.js#L1-L1010 - Page: https://code.globalgrid2050.com/explore-code/s/1534.html#f1 - Synopsis: A JavaScript file in the learn the kuiper folder of Kuiper Belt that sets count, converts to screen and world, calculates planar distances and angles and draws on a canvas. - What it achieves (comment): It parses num (`parseNum`), sets count (`setCount`) and computes keys real (`computeKeysReal`). Deep-zoom viewer of the real Kuiper law. It responds to pointerenter, pointerleave and click events. - What it does: It draws solar and cables. Defines 76 functions or classes, including fmt, fmtZoom, fmtDec, parseNum, el. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar, cables. - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 2 files: Zoom Test (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/modules/zoom-test.html); Modes (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/modes.html). Reached from 4 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html). - Signatures: `fmt(n)`; `fmtZoom(z)`; `fmtDec(x, d)`; `parseNum(s)`; `el(tag, css, text, parent)`; `audioInit()`; `note(freq, when, dur, vol)`; `penta(i, base)`; `flightMusic(sec)`; `params()`; `setCount(n)`; `homeZoom()`; `homeCy()`; `maxZoom()`; `minZoom()`; `clampZ(z)`; `toScreen(x, y)`; `toWorld(sx, sy)`; `goHome(animated)`; `zoomAt(sx, sy, factor)`; `fly(cx, cy, z, sec, music)`; `ease(t)`; `stepAnim(now)`; `viewObj()`; `keysOnScreen()` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### One - File: kuiper-belt/learn-the-kuiper/202610050609/one.js (JavaScript, 1166 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050609/one.js#L1-L1166 - Page: https://code.globalgrid2050.com/explore-code/s/1535.html#f2 - Synopsis: A JavaScript file in the learn the kuiper folder of Kuiper Belt that parses dec (`parseDec`) and whole (`parseWhole`), makes game (`makeGame`), calculates planar distances and draws on a canvas. - What it achieves (comment): It parses dec (`parseDec`), parses whole (`parseWhole`) and turns text (`turnText`). One circle, one dot, two numbers. It responds to webglcontextlost, mousedown and keydown events. - What it does: It draws its content. Defines 94 functions or classes, including isqrt, stepOf, modParts, sectorOf, pad. Uses libraries modules/realgame-data.js. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: canvas drawing; SVG drawing. - Signatures: `isqrt(n)`; `stepOf(k, M, C)`; `modParts(b, M, C)`; `sectorOf(step, C, N)`; `pad(v, n)`; `D(n, s)`; `dText(d)`; `dFloor(d)`; `dNum(d)`; `dEq(a, b)`; `dCmpSqT(d, t)`; `dAddTenths(d, k)`; `parseDec(str)`; `whole(m[1] || '0')`; `parseWhole(str, signed)`; `sqrtInfo(d)`; `h(t + 5n)`; `degText(step, C)`; `u(step * 3600000n * 2n + C)`; `turnText(s1, s2, C)`; `d(((s2 - s1) % C) + C)`; `sectorsFor(C)`; `fastStep(M, C)`; `sheetFormulas(M, C, linked)`; `b(M === REAL_M && C === REAL_C)` (and 15 more) - VEDIC: LOCATE CELL CENTRE (GG2050-VEDIC-000079): Ventus Grid Engine · Geospatial and terrain intelligence. tile, col, row -> Projected easting and northing pair. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [canvas drawing; SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Play - File: kuiper-belt/learn-the-kuiper/202610050609/play.html (HTML, 10 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050609/play.html#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/1537.html#f2 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html - Synopsis: A web page in the learn the kuiper folder of Kuiper Belt. Published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html). Reached from 2 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Solid (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/solid.html). It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (script-src 2, link 1); used by 1; mentioned by 0 ### Play - File: kuiper-belt/learn-the-kuiper/202610050609/play.js (JavaScript, 1722 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050609/play.js#L1-L1722 - Page: https://code.globalgrid2050.com/explore-code/s/1537.html#f3 - Synopsis: A JavaScript module in the learn the kuiper folder of Kuiper Belt that adds rat (`addRat`), steps dec (`stepDec`), snaps to (`snapTo`) and calculates planar distances and angles (units: kV). - What it achieves (comment): It adds rat (`addRat`), parses one (`parseOne`) and opens editor (`openEditor`). `play.js` LEARN THE KUIPER: place a dot with numbers. It responds to click, pointerdown and pointerup events. - What it does: It draws wind. Defines 156 functions or classes, including divmod, ratio, addRat, mulRat, ratText. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: wind. - Inputs & outputs: Out: canvas drawing; SVG drawing. - Downstream impact: Used directly by 1 file: Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html). Reached from 3 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Solid (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/solid.html). - Signatures: `divmod(a, c)`; `ratio(v)`; `k(z[3] || '')`; `addRat(a,b)`; `mulRat(a,b)`; `ratText(a)`; `exact(p,n)`; `mod(a, c)`; `circles(a, c)`; `clean(v)`; `r9(v)`; `parseOne(s)`; `parse(text)`; `group(s)`; `plain(v, dec, fixed)`; `fmt(v, dec, fixed)`; `decimalsOf(v)`; `niceDown(v)`; `niceUp(v)`; `stepDec(q)`; `snapTo(v, q)`; `check(cfg, v)`; `css()`; `E(tag, cls, text, parent)`; `create(host, opts)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [canvas drawing; SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Solid - File: kuiper-belt/learn-the-kuiper/202610050609/solid.html (HTML, 27 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050609/solid.html#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1539.html#f2 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/solid.html - Synopsis: A web page in the learn the kuiper folder of Kuiper Belt. Published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/solid.html. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html). Reached from 2 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html). It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/solid.html. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (script-src 2, link 1); used by 1; mentioned by 0 ### Solid - File: kuiper-belt/learn-the-kuiper/202610050609/solid.js (JavaScript, 248 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050609/solid.js#L1-L248 - Page: https://code.globalgrid2050.com/explore-code/s/1539.html#f3 - Synopsis: A JavaScript module in the learn the kuiper folder of Kuiper Belt that groups digits (`groupDigits`), parses typed (`parseTyped`) and draws on a canvas. - What it achieves (comment): It groups digits (`groupDigits`) and parses typed (`parseTyped`). `solid.js` Learn the Kuiper: the same rule one dimension up (SPHERE, CUBE, and the flat CIRCLE and SQUARE). - What it does: It draws its content. Defines 52 functions or classes, including mod32, mulmod32, rootFn, invRoot, wholeRoot. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 1 file: Solid (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/solid.html). Reached from 3 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html). - Signatures: `mod32(x)`; `mulmod32(k, G)`; `hi(kl * gh)`; `rootFn(name)`; `invRoot(name, d)`; `wholeRoot(k, p)`; `pw(x)`; `shellOf(k, root)`; `place(shape, k, P, out)`; `measure(shape, k)`; `keyFromMeasure(shape, m)`; `outerRadius(shape, root, k)`; `groupDigits(s)`; `fmtWhole(n)`; `fmtReal(x, dp)`; `parseTyped(str, whole)`; `hash01(i, seed)`; `h32(x)`; `icbrt(n)`; `decimal(t)`; `integer(t)`; `format(n,d)`; `rootLabel(a)`; `divmod(n,c)`; `point(a,b,d,g1,c,g2,shape='sphere')` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Start Here - File: kuiper-belt/learn-the-kuiper/202610050609/start-here.js (JavaScript, 663 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/202610050609/start-here.js#L1-L663 - Page: https://code.globalgrid2050.com/explore-code/s/1540.html#f1 - Synopsis: A JavaScript file in the learn the kuiper folder of Kuiper Belt that draws wafer meta and solar. It places real (`placeReal`), starts next (`startNext`) and fits line (`fitLine`). - What it achieves (comment): One sheet, like an engineering drawing. window.KGStartHere.open / .close / .run(sentence) The real law is window.KuiperLaw.place (lifted verbatim from the live kuiper-belt `index.html`). It accepts `--random` and `--prove-until`. It responds to click, keydown and input events. - What it does: It draws wafer meta and solar. Defines 118 functions or classes, including mod, fmt, f1, f2, ease. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar. - Inputs & outputs: In: JSON file wafer-meta.json; browser storage (getItem); command-line arguments. Out: JSON file; browser storage (setItem); canvas drawing. - Downstream impact: Used directly by 2 files: Sheet (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610042346/sheet.html); Modes (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/modes.html). Reached from 4 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Play (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/play.html). - Signatures: `mod(a, n)`; `fmt(n)`; `f1(n)`; `f2(n)`; `ease(t)`; `hue(s)`; `isReal()`; `degPerKey()`; `placeReal(k)`; `place(k)`; `limitLine()`; `formulaText()`; `plainWords()`; `totalTurn(p)`; `reset()`; `oneLine(q)`; `tooLarge(limit)`; `compact()`; `narrow()`; `startNext()`; `land(p)`; `address(n)`; `aweText()`; `chord()`; `celebrate(id, text)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file wafer-meta.json; browser storage (getItem); command-line arguments]; out [JSON file; browser storage (setItem); canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 2; mentioned by 0 ### Learn the Kuiper — Astra Codex Page - File: kuiper-belt/learn-the-kuiper/astra-codex/202610042233/index.html (HTML, 49 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/astra-codex/202610042233/index.html#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1541.html#f1 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/astra-codex/202610042233/ - Synopsis: A web page in Kuiper Belt that reads inputs for angle, lever power and lever count. Published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/astra-codex/202610042233/. - What it does: It draws its content. Uses libraries code-data.js, sound.js. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/astra-codex/202610042233/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (script-src 3, stylesheet 1, link 1); used by 0; mentioned by 0 ### Logic - File: kuiper-belt/learn-the-kuiper/astra-codex/202610042233/logic.js (JavaScript, 308 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/astra-codex/202610042233/logic.js#L1-L308 - Page: https://code.globalgrid2050.com/explore-code/s/1541.html#f2 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/astra-codex/202610042233/ - Synopsis: A JavaScript module in the astra codex folder of Kuiper Belt that works with angular spec and floor sum and calculates planar distances. Served with the page at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/astra-codex/202610042233/. - What it achieves (comment): It indexes address (`indexForAddress`) and is built from the defaults step (`defaults`) and the number step (`number`). Kuiper Codex: pure addressing, sampling and bounded inverse queries. - What it does: It calculates its inputs. Defines 33 functions or classes, including defaults, number, normalize, P, integer. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Learn the Kuiper — Astra Codex Page (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/astra-codex/202610042233/). It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/astra-codex/202610042233/. - Signatures: `defaults()`; `number(v)`; `normalize(raw)`; `P(p)`; `integer(n)`; `keyOK(k)`; `mod(a,m)`; `modB(a,m)`; `isReal(p)`; `bad(key,reason,p)`; `rational(v)`; `fractionNumber(n,d)`; `angularSpec(p)`; `place(key,params)`; `pattern(p)`; `addressForIndex(index,params)`; `indexForAddress(key,p,pat)`; `bounds(params)`; `budgetOf(value,fallback,max)`; `sample(params,budget)`; `add(i)`; `floorSum(n,m,a,b)`; `lessCount(lo,hi,a,m,c)`; `rangeCount(lo,hi,spec,intervals)`; `angularIntervals(x,y,R,spec)` (and 9 more) - VEDIC: EXPLAIN (GG2050-VEDIC-000040): Kuiper / Code navigation · Computer science / Interactive visualisation. resolved_address, repository_metadata -> human_readable_address_description - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (require 1); used by 1; mentioned by 0 ### Learn the Kuiper — Astra Codex Style Sheet - File: kuiper-belt/learn-the-kuiper/astra-codex/202610042233/style.css (CSS, 61 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/astra-codex/202610042233/style.css#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1541.html#f3 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/astra-codex/202610042233/ - Synopsis: A style sheet in Kuiper Belt. Served with the page at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/astra-codex/202610042233/. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Learn the Kuiper — Astra Codex Page (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/astra-codex/202610042233/). It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/astra-codex/202610042233/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### UI - File: kuiper-belt/learn-the-kuiper/astra-codex/202610042233/ui.js (JavaScript, 120 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/astra-codex/202610042233/ui.js#L1-L120 - Page: https://code.globalgrid2050.com/explore-code/s/1541.html#f4 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/astra-codex/202610042233/ - Synopsis: A JavaScript file in the astra codex folder of Kuiper Belt that stops wonder, finds interval, opens dialog and calculates planar distances and angles. Served with the page at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/astra-codex/202610042233/. - What it achieves (name): It stops wonder (`stopWonder`), selects key (`selectKey`) and finds interval (`findInterval`). Defines `number`, `editNumber`, `numeric` and 27 more. It responds to pointerdown, keydown and input events. - What it does: It draws its content. Defines 31 functions or classes, including $, number, editNumber, numeric, unsafeIntegerText. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: browser storage (getItem). Out: browser storage (setItem); canvas drawing. - Downstream impact: Used directly by 1 file: Learn the Kuiper — Astra Codex Page (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/astra-codex/202610042233/). It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/astra-codex/202610042233/. - Signatures: `$(id)`; `number(n)`; `editNumber(n)`; `compact(n)`; `numeric(s)`; `unsafeIntegerText(s)`; `params()`; `truePoint()`; `currentPoint()`; `log(command,result)`; `status(text)`; `invalidate()`; `stopWonder()`; `gesture(e)`; `inputValue(id,value)`; `sourceForKey(key)`; `setParams(change,{smooth=true,quiet=false}={})`; `selectKey(key)`; `moveSelected(x,y)`; `movePolar(r,deg)`; `sync()`; `directionOf(deg)`; `findInterval(k)`; `fieldChange(name,text)`; `openDialog(id)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [browser storage (getItem)]; out [browser storage (setItem); canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Kuiper Belt — Learn the Kuiper Page - File: kuiper-belt/learn-the-kuiper/index.html (HTML, 14 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/learn-the-kuiper/index.html#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/1541.html#f5 - Published at: https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/ - Synopsis: A web page. Published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 2 files: Apps Registry (kuiper-belt); Kuiper Belt — Diary Page (kuiper-belt, https://ventusltd.github.io/kuiper-belt/diary/20261005.html). It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Model - File: kuiper-belt/see-through/202610050356/model.js (JavaScript, 490 lines) · role electrical · stage transform · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/see-through/202610050356/model.js#L1-L490 - Page: https://code.globalgrid2050.com/explore-code/s/1542.html#f1 - Synopsis: A JavaScript module in the see through folder of Kuiper Belt that works with substations and transformers. - What it achieves (comment): It is built from the kV col helper (`kvCol`), the plant step (`plant`) and the kV list helper (`kvList`). SeeModel.substation(record, data) -> model. No site-specific code: the same function runs for all 5,800 rows (`tools/run-all.mjs`) and in the page (`see3d.js`). Its code works with 220 kV, 275 kV and 33 kV. - What it does: It calculates substations and transformers. Defines 31 functions or classes, including kvCol, plant, EST_HALF, kvList, classOf. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: substations, transformers, 275kV, 220kV, 66kV, 33kV. - Inputs & outputs: Voltage levels named: 275kV, 220kV, 66kV, 33kV. - Downstream impact: Used directly by 1 file: Kuiper Belt — See Through Page (kuiper-belt, https://ventusltd.github.io/kuiper-belt/see-through/202610050513/). - Signatures: `PF(typeof module !== 'undefined' && module.exports)`; `kvCol(kv)`; `plant(kv)`; `EST_HALF(kv)`; `kvList(v)`; `classOf(kv)`; `Builder()`; `close(ring)`; `frameOf(ring)`; `inRing(x, y, R)`; `nearestOnSeg(px, py, ax, ay, bx, by)`; `ringDist(x, y, R)`; `ringNearest(x, y, R)`; `segCross(a, b, c, d)`; `t((c[0] - a[0]) * s1 - (c[1] - a[1]) * s0)`; `fence(B, ring, dashed, G)`; `s0(run + len * k / n)`; `column(B, x, y, ux, uy, w, z0, z1, G)`; `truss(B, a, b, z, d, G)`; `box(B, cx, cy, ux, uy, hl, hw, z0, h)`; `sagLine(B, A, Bp, sag, n, s0, s1, GA, GB)`; `lattice(g)`; `half(z)`; `sq(z)`; `attach(g)` (and 11 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [275kV, 220kV, 66kV, 33kV] - Edges: uses 1 estate file (require 1); used by 1; mentioned by 0 ### Pf - File: kuiper-belt/see-through/202610050356/pf.js (JavaScript, 219 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/see-through/202610050356/pf.js#L1-L219 - Page: https://code.globalgrid2050.com/explore-code/s/1543.html#f1 - Synopsis: A JavaScript module in the see through folder of Kuiper Belt that steps lon, converts to local and mercator and calculates great-circle distances and planar distances, using OSTN15 and Helmert. - What it achieves (comment): It places key (`placeKey`), wires map (`wireToMap`) and maps wire (`mapToWire`). Classic-script copy of the simulator's `place-frame.mjs` (GlobalGrid2050 origin/main, `energy-transition-simulator/202609282123/place-frame.mjs`), made by tools: every line below the wrapper is the original with only the word 'export' removed. - What it does: Defines 31 functions or classes, including ecef, geodetic, axes, dot, frame. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326, ETRS89 / EPSG:4258. - Downstream impact: Used directly by 2 files: Model (kuiper-belt); Kuiper Belt — See Through Page (kuiper-belt, https://ventusltd.github.io/kuiper-belt/see-through/202610050513/). - Signatures: `ecef(lat, lon, h = 0)`; `geodetic(X, Y, Z)`; `axes(lat, lon)`; `dot(a, b)`; `frame(anchor)`; `stepLon(latRow)`; `anchorFromKey(key)`; `placeKey(lat, lon)`; `w((lon + 180) % 360 + 360)`; `enu(anchor, lat, lon, h = 0)`; `fromEnu(anchor, x, y, z = 0)`; `toLocal(anchor, lat, lon, h = 0)`; `fromLocal(anchor, x, y, z = 0)`; `mercatorX(lng)`; `mercatorY(lat)`; `lngFromMercatorX(x)`; `latFromMercatorY(y)`; `circumferenceAtLatitude(lat)`; `mercatorZ(alt, lat)`; `mercatorScale(lat)`; `meterInMercator(lat)`; `toMercator(lat, lon, alt = 0)`; `fromMercator(x, y, z = 0)`; `wireToMap(anchor, x, y, z = 0)`; `mapToWire(anchor, mx, my, mz = 0)` (and 7 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of energy-transition-simulator/prototype/place-frame.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326; ETRS89 / EPSG:4258]; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Kuiper Belt — See Through Page - File: kuiper-belt/see-through/202610050513/index.html (HTML, 24 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/see-through/202610050513/index.html#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1543.html#f2 - Published at: https://ventusltd.github.io/kuiper-belt/see-through/202610050513/ - Synopsis: A web page. Published at https://ventusltd.github.io/kuiper-belt/see-through/202610050513/. - What it achieves (readme): The README says: Download the newest dated folder and open `index.html` in a web browser. It responds to error events. - What it does: It draws its content. Uses libraries vendor/maplibre-gl.css, grid-data.js, vendor/maplibre-gl.js. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "Download the newest dated folder and open `index.html` in a web browser." - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/see-through/202610050513/. - Signatures: `m(window.KGModules||[])` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 6 estate files (script-src 5, stylesheet 1); used by 0; mentioned by 0 ### Plain - File: kuiper-belt/see-through/202610050609/plain.css (CSS, 44 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/see-through/202610050609/plain.css#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1543.html#f3 - Synopsis: A style sheet in the see through folder of Kuiper Belt. - What it achieves (comment): ST1: presentation only. Keep drawing colours, input handlers and audio. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Kuiper Belt — See Through Page (kuiper-belt, https://ventusltd.github.io/kuiper-belt/see-through/202610050513/). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### See3d - File: kuiper-belt/see-through/202610050609/see3d.js (JavaScript, 389 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/see-through/202610050609/see3d.js#L1-L389 - Page: https://code.globalgrid2050.com/explore-code/s/1543.html#f4 - Synopsis: A JavaScript file in the see through folder of Kuiper Belt that maps substations footprints odbl and see DEM, and uses data from OpenStreetMap (Overpass) and the GridAtlas repository. - What it achieves (comment): It gets JSON (`getJSON`), fits zoom (`fitZoom`) and reads grounds (`readGrounds`). HOW IT IS DRAWN (the simulator overlay's method, reused): - The map is the porthole's MapLibre GL JS 4.7.1 map (`descent.js`). It responds to pointerdown, pointermove and pointerup events. - What it does: It maps substations footprints odbl and see DEM. Defines 27 functions or classes, including getJSON, footprints, lines, osmDetail, others. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: gridatlas data; data source: OpenStreetMap (Overpass); JSON file substations-footprints.odbl.json; GeoJSON file kv.geojson; JSON file index.json. Out: interactive map. - Downstream impact: Used directly by 1 file: Kuiper Belt — See Through Page (kuiper-belt, https://ventusltd.github.io/kuiper-belt/see-through/202610050513/). - Signatures: `SCRIPT(document.currentScript && document.currentScript.src)`; `getJSON(u, ms)`; `footprints()`; `lines()`; `osmDetail(rec, ring)`; `others(all, lat, lon, km)`; `program(gl)`; `sh(t, s)`; `ease(x)`; `pack(m)`; `groundArray(m, H)`; `mm(args && args.defaultProjectionData && args.defaultProjectionData.mainMatrix)`; `x(t - G.t0)`; `gl2(G.kind === 'busbar' ? 1 + 0.9 * X.flash : 1)`; `fadeNow()`; `enter(o)`; `fitZoom(lat, metres)`; `tipTo(lon, lat, pitch, zoom, ms, bearing)`; `build(data, how)`; `elevation(lon, lat)`; `readGrounds(now)`; `tick(now)`; `move(dt)`; `f(K.w || K.arrowup ? 1 : 0)`; `r(K.d ? 1 : 0)` (and 12 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: OpenStreetMap (Overpass); JSON file substations-footprints.odbl.json; GeoJSON file kv.geojson; JSON file index.json]; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Descent - File: kuiper-belt/see-through/202611020012/descent.js (JavaScript, 1231 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/see-through/202611020012/descent.js#L1-L1231 - Page: https://code.globalgrid2050.com/explore-code/s/1544.html#f1 - Synopsis: A JavaScript file in the see through folder of Kuiper Belt that maps wafer meta and sat s, using Web Mercator and haversine, and uses data from the GridAtlas repository. - What it achieves (comment): It loads script (`loadScript`), decodes lines (`decodeLines`) and places ui (`placeUI`). `descent.js` SEE THROUGH, a LEARN THE KUIPER module (id 'descent'). Its code works with 400 kV and 132 kV. It reads `../../cosmos/wafer-meta.json`. It responds to pointerdown, pointerenter and pointerleave events. - What it does: It maps wafer meta, sat s and l sat. Defines 84 functions or classes, including loadScript, ensureGridData, merc, unmercLat, decode. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: 400kV, 132kV, 76kV, 27kV, 22kV, 8kV. - Inputs & outputs: In: data source: gridatlas data; JSON file style.json; GeoJSON file kv.geojson; JSON file wafer-meta.json; browser storage (getItem). Out: interactive map; canvas drawing. Coordinate systems named: Web Mercator / EPSG:3857. Voltage levels named: 400kV, 132kV, 76kV, 27kV, 22kV, 8kV. - Downstream impact: Used directly by 1 file: Kuiper Belt — See Through Page (kuiper-belt, https://ventusltd.github.io/kuiper-belt/see-through/202610050513/). - Signatures: `SCRIPT_SRC(document.currentScript && document.currentScript.src)`; `loadScript(src, cb)`; `ensureGridData(cb)`; `merc(lon, lat, out, i)`; `unmercLat(y)`; `decode()`; `arr(s)`; `decodeLines()`; `voltText(i)`; `opText(i)`; `nameOf(i)`; `keyOfSub(i)`; `bearingOf(p)`; `fmt(x)`; `km(i, j)`; `audio()`; `ping(semi, gain)`; `fallTone(speed)`; `el(tag, css, text, parent)`; `clamp(x, a, b)`; `smooth(x)`; `ease(v)`; `on(t, ev, fn, opt)`; `layout()`; `placeUI()` (and 15 more) - VEDIC: SWITCH (GG2050-VEDIC-000033): See Through / Kuiper · Computer science / Interactive visualisation. view, user_flag -> selected_view - VEDIC: RISE (GG2050-VEDIC-000034): See Through / Kuiper · Computer science / Interactive visualisation. site, map_state, scene_module -> scene_or_refusal - VEDIC: SEARCH (GG2050-VEDIC-000030): See Through / Kuiper · Computer science / Interactive visualisation. query, substation_names -> match_count_and_indices - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file style.json; GeoJSON file kv.geojson; JSON file wafer-meta.json; browser storage (getItem)]; out [interactive map; canvas drawing]; crs [Web Mercator / EPSG:3857]; voltages [400kV, 132kV, 76kV, 27kV, 22kV, 8kV] - Edges: uses 2 estate files (estate-url 2); used by 1; mentioned by 0 ### Kuiper Law - File: kuiper-belt/see-through/202611020012/kuiper-law.js (JavaScript, 123 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/see-through/202611020012/kuiper-law.js#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/1545.html#f2 - Synopsis: A JavaScript module in the see through folder of Kuiper Belt that places many (`placeMany`) and converts to screen (`toScreen`). - What it achieves (comment): It places many (`placeMany`) and is built from the key place helper (`keyPlace`) and the place step (`place`). `kuiper-law.js` THE ONE LAW OF THE REAL KUIPER, lifted VERBATIM from the live page. - What it does: It draws its content. Defines 6 functions or classes, including keyPlace, place, placeMany, shader, toScreen. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "kuiper-law.js holds the frozen value (63,340,120,796) used when that file cannot be read." - Downstream impact: Used directly by 1 file: Kuiper Belt — See Through Page (kuiper-belt, https://ventusltd.github.io/kuiper-belt/see-through/202610050513/). - Signatures: `keyPlace(k)`; `place(key)`; `placeMany(k0, n, out)`; `shader(k0, d)`; `u_k0lo(k0 % 4294967296)`; `toScreen(x, y, cam, W, H)`; `homeZoom(boxW, boxH, space)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of kuiper-belt/learn-the-kuiper/202610042225/kuiper-law.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Kuiper Belt — See Through Page - File: kuiper-belt/see-through/index.html (HTML, 14 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/see-through/index.html#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/1545.html#f3 - Published at: https://ventusltd.github.io/kuiper-belt/see-through/ - Synopsis: A web page. Published at https://ventusltd.github.io/kuiper-belt/see-through/. - What it achieves (readme): The README says: Download the newest dated folder and open `index.html` in a web browser. - What it does: It draws its content. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "Download the newest dated folder and open `index.html` in a web browser." - Inputs & outputs: Out: browser storage (setItem); web page. - Downstream impact: Used directly by 11 files: SatNav — Scope Page (satnav, https://ventusltd.github.io/satnav/scope/); Apps Registry (kuiper-belt); Repokuiper Galaxy (cosmic); Test Agentdocs (cosmic); and 7 more. Reached from 12 other entry points, including Build Homepage Release Candidate Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage). It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/see-through/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [browser storage (setItem); web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 11; mentioned by 1 ### Agent Start - File: kuiper-belt/tools/agent_start.py (Python, 89 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/agent_start.py#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/1546.html#f1 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that fetches SatNav contracts and kernel, using SHA-256 from GitHub API. - What it achieves (comment): It is built from the API step (`api`), the collect step (`collect`) and the render step (`render`). Modular agent start: public source identity only, no estate recrawl. - What it does: It fetches SatNav contracts and kernel. Defines api, collect, render, main. Uses libraries datetime, hashlib, html, json, os. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'agent'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; JSON file LATEST.json; JSON file satnav-source-contracts.json; JSON file STATE.json; JSON file kernel.json; JSON file graph_latest.json; JSON file START.json. - Downstream impact: Used directly by 2 files: Test Agent Start (kuiper-belt); Agent Start Workflow (kuiper-belt). - Signatures: `api(path)`; `collect(get=api)`; `render(rows)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file LATEST.json; JSON file satnav-source-contracts.json; JSON file STATE.json; JSON file kernel.json; JSON file graph_latest.json; JSON file START.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Build Layers - File: kuiper-belt/tools/build_layers.py (Python, 249 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/build_layers.py#L1-L249 - Page: https://code.globalgrid2050.com/explore-code/s/1546.html#f2 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that reads wafer meta, using SHA-256. - What it achieves (comment): It builds editions (`build_editions`) and is built from the sha256 step (`sha256`) and the palette step (`palette`). What it writes (and nothing else): `editions/` `/data/editions.json` schema kuiper.editions.v1, one record per edition, built from `editions/README.md` (the "- **Kuiper Edition N** (`stamp`, published date)" lines), the edition's own `README.md` title and the pointer `editions/index.html` (location.replace target). source.bytes. It accepts `--edition` and `--check`. - What it does: It loads wafer meta. Defines 9 functions or classes, including sha256, palette, space, module_requires, build_editions. Uses libraries argparse, glob, hashlib, json, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file wafer-meta.json; JSON file editions.json; JSON file layers.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha256(path)`; `palette()`; `space()`; `module_requires(edition_dir, module)`; `build_editions(edition, edition_dir)`; `features_of(fmt, data, path, SPACE, refuse)`; `measure(f, r, edir, etext, editions, SPACE, refuse)`; `dump(obj)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file wafer-meta.json; JSON file editions.json; JSON file layers.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Cadence - File: kuiper-belt/tools/cadence.py (Python, 147 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/cadence.py#L1-L147 - Page: https://code.globalgrid2050.com/explore-code/s/1546.html#f3 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that reads published, verdict, swarm and held. - What it achieves (comment): It is built from the say step (`say`), the state step (`state`) and the candidate step (`candidate`). Publish the next tested iteration every twenty minutes, with no assistant in the loop. - What it does: It loads published, verdict, swarm and held. Defines say, state, candidate, look, main. Uses libraries io, json, os, re, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file published.json; JSON file verdict.json; JSON file swarm.json; command-line arguments. Out: JSON file held.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `say(msg)`; `state()`; `candidate(done)`; `look()`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file published.json; JSON file verdict.json; JSON file swarm.json; command-line arguments]; out [JSON file held.json]; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 0; mentioned by 0 ### Check Proof - File: kuiper-belt/tools/check_proof.py (Python, 177 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/check_proof.py#L1-L177 - Page: https://code.globalgrid2050.com/explore-code/s/1546.html#f4 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that fetches wafer meta, using SHA-256. - What it achieves (comment): It is built from the leaks step (`leaks`), the status step (`status`) and the rows step (`rows`). THE CHECKING ENGINEER. Independent of whoever built the proof. - What it does: It fetches wafer meta. Defines 7 functions or classes, including leaks, status, rows, check, write. Uses libraries hashlib, io, json, os, re. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file wafer-meta.json; JSON file CHECKS.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 9 files: Agent Start (kuiper-belt); CI Check (kuiper-belt); Element Keys (kuiper-belt); Explore Code (kuiper-belt); and 5 more. Reached from 16 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Modes (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/modes.html). - Signatures: `leaks(text)`; `status(url)`; `rows(path)`; `check(name)`; `write(name, res, notes)`; `proofs()`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file wafer-meta.json; JSON file CHECKS.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 9; mentioned by 0 ### CI Check - File: kuiper-belt/tools/ci_check.py (Python, 102 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/ci_check.py#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/1547.html#f1 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that reads wafer meta. It is built from the tracked step (`tracked`). - What it achieves (comment): What GitHub checks on every push, on its own machine, knowing nothing local. - What it does: It loads wafer meta. Defines tracked, main. Uses libraries ast, io, json, os, re. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file wafer-meta.json. - Downstream impact: Used directly by 4 files: Test (kuiper-belt); Test (kuiper-belt); Check Workflow (kuiper-belt); Engine Workflow (kuiper-belt). - Signatures: `tracked()`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file wafer-meta.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Count Lines - File: kuiper-belt/tools/count_lines.py (Python, 281 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/count_lines.py#L1-L281 - Page: https://code.globalgrid2050.com/explore-code/s/1547.html#f2 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that reads counts, using SHA-256. - What it achieves (name): It writes tsv (`write_tsv`) and is built from the batch count helper (`batch_count`) and the do head helper (`do_head`). Defines `find_repos`, `git`, `lines_of` and 6 more. It accepts `--roots`, `--depth` and `--out`. - What it does: It loads counts. Defines 10 functions or classes, including find_repos, git, lines_of, batch_count, do_head. Uses libraries argparse, hashlib, json, os, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file counts.json; JSON file -counts.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 1 file: What Is Kuiper (kuiper-belt, https://ventusltd.github.io/kuiper-belt/what-is-kuiper.html). Reached from 7 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Modes (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/modes.html). - Signatures: `find_repos(roots)`; `git(d, args)`; `lines_of(body, size)`; `batch_count(d, shas)`; `do_head(rs, seen)`; `do_history(rs, seen)`; `do_authored(rs)`; `do_entries(rs, shard, of)`; `write_tsv(path, d)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file counts.json; JSON file -counts.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Drift - File: kuiper-belt/tools/drift.py (Python, 583 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/drift.py#L1-L583 - Page: https://code.globalgrid2050.com/explore-code/s/1548.html#f1 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that reads without, empty heads and never2, using SHA-256. - What it achieves (comment): It finds clone (`find_clone`), parses iso (`parse_iso`) and loads heads (`load_heads`). For every body of `editions/` /keys.json, is the line the edition quotes still at the head of its repository? It accepts `--root`, `--edition` and `--estate`. - What it does: It loads without, empty heads and never2. Defines 23 functions or classes, including sha256_file, git, repo_names, tsv_name, find_clone. Uses libraries argparse, collections, datetime, hashlib, io. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file keys.json; JSON file drift.json; JSON file a.json; JSON file b.json; JSON file without.json; JSON file empty-heads.json; JSON file never.json; JSON file stale-heads.json. - Downstream impact: Used directly by 1 file: Drift Test (kuiper-belt). - Signatures: `sha256_file(p)`; `git(d, args, text=True)`; `repo_names(root)`; `tsv_name(names, repo)`; `find_clone(estate, name)`; `iso(ts, offset_seconds=0)`; `parse_iso(s)`; `observe(d, ref)`; `class Batch`; `__init__(self, d)`; `get(self, spec)`; `close(self)`; `line_at(lines, i)`; `lines_of(body)`; `lines_before(d, head, path)`; `load_heads(path)`; `run(args)`; `write(path, data)`; `main_run(argv)`; `check(args)`; `ok(name, cond, detail)`; `tool(*extra)`; `parse(argv)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file keys.json; JSON file drift.json; JSON file a.json; JSON file b.json; JSON file without.json; JSON file empty-heads.json; JSON file never.json; JSON file stale-heads.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Edition Keys - File: kuiper-belt/tools/edition_keys.py (Python, 316 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/edition_keys.py#L1-L316 - Page: https://code.globalgrid2050.com/explore-code/s/1549.html#f1 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that loads cache (`load_cache`) and wafer (`load_wafer`) and finds clone (`find_clone`). - What it achieves (comment): It is built from the rows step (`rows`), the lines of helper (`lines_of`) and the norm step (`norm`). Give every verified line of an edition its key on the wafer, by the wafer's own law. It accepts `--bodies`, `--roots` and `--out`. - What it does: It loads data. Defines 12 functions or classes, including rows, lines_of, load_cache, load_wafer, norm. Uses libraries argparse, io, json, os, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file. - Downstream impact: Used directly by 1 file: Element Keys (kuiper-belt). Reached from 1 other entry point, including Apps Registry (kuiper-belt). - Signatures: `rows(path)`; `lines_of(body)`; `load_cache()`; `load_wafer()`; `norm(s)`; `quote_check(q, text)`; `find_clone(roots, name)`; `batch_read(d, shas, sink)`; `feed()`; `walk_commit(d, commit)`; `sink(s, body)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Edition Min - File: kuiper-belt/tools/edition_min.py (Python, 46 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/edition_min.py#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/1549.html#f2 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that uses SHA-256. It is built from the build step (`build`) and the text step (`text`). - What it achieves (comment): Only the fields the edition page draws, taken from `keys.json`, which stays as the evidence. - What it does: It loads data. Defines build, text, main. Uses libraries hashlib, json, os, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file keys.json; JSON file keys-min.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `build(folder)`; `text(obj)`; `main(argv)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file keys.json; JSON file keys-min.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Element Keys - File: kuiper-belt/tools/element_keys.py (Python, 378 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/element_keys.py#L1-L378 - Page: https://code.globalgrid2050.com/explore-code/s/1550.html#f1 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that reads blocks and elements, using SHA-256. It copies graph (`copy_graph`) and loads rows (`load_rows`). - What it achieves (comment): Give every element of the periodic table its key on the wafer, by the wafer's own law. It accepts `--elements`, `--roots` and `--out`. - What it does: It loads blocks and elements. Defines 11 functions or classes, including private, redact, sub, copy_graph, live_register. Uses libraries argparse, bisect, hashlib, io, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file blocks.json; JSON file elements.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 1 file: Apps Registry (kuiper-belt). - Signatures: `private(tok)`; `redact(text)`; `sub(m)`; `copy_graph(src, dst)`; `live_register(roots, commit='cbca125bb5eeb7d0ffb02f4546d60eb5d47dadc9', path='blocks/blocks.json')`; `sha256_file(p)`; `git(d, *args)`; `holders(roots, name)`; `clone_with(roots, name, commit)`; `load_rows()`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file blocks.json; JSON file elements.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Entangle Hosts - File: kuiper-belt/tools/entangle_hosts.mjs (JavaScript, 127 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/entangle_hosts.mjs#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/1550.html#f2 - Synopsis: A JavaScript module in the tools folder of Kuiper Belt that works with try git (`tryGit`), using SHA-256. - What it achieves (name): It is built from the try git helper (`tryGit`), the observe step (`observe`) and the sha256 step (`sha256`). Defines `arg`, `has`, `git` and 3 more. It writes `DRIFT.md`. - What it does: It loads data. Defines 6 functions or classes, including arg, has, git, tryGit, observe. Uses libraries node:child_process, node:crypto, node:fs, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `arg(k, d)`; `has(k)`; `ROOTS(arg('--roots', 'C:/Users/vikra/Documents/GitHub'))`; `git(cwd, args)`; `tryGit(cwd, args)`; `observe(dir, remote, branch)`; `sha256(s)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Estate - File: kuiper-belt/tools/estate.py (Python, 236 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/estate.py#L1-L236 - Page: https://code.globalgrid2050.com/explore-code/s/1551.html#f1 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that reads estate network and estate bodies, using SHA-256. - What it achieves (comment): It is built from the git step (`git`), the classify step (`classify`) and the home of helper (`home_of`). Draw the estate as a belt, at blob depth. It accepts `--roots`, `--out` and `--depth`. - What it does: It loads estate network and estate bodies. Defines git, main, classify, home_of. Uses libraries argparse, hashlib, json, math, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`tools/estate.py` is not yet written." - Inputs & outputs: In: JSON file estate-network.json; JSON file estate-bodies.json; JSON file bodies.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `git(cwd, args)`; `main()`; `classify(name)`; `home_of(sha)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file estate-network.json; JSON file estate-bodies.json; JSON file bodies.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Explore Code - File: kuiper-belt/tools/explore_code.py (Python, 415 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/explore_code.py#L1-L415 - Page: https://code.globalgrid2050.com/explore-code/s/1551.html#f2 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that reads sections and words. - What it achieves (comment): It writes Parquet (`write_parquet`) and is built from the git step (`git`) and the ext step (`ext`). The estate's unique code, sorted into keyed, crawlable pages. It accepts `--src`, `--out` and `--min`. - What it does: It loads sections and words. Defines 11 functions or classes, including git, ext, definitions, scan, sectionise. Uses libraries argparse, collections, datetime, hashlib, html. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: Parquet file sections.parquet; Parquet file files.parquet; Parquet file words.parquet; DuckDB queries; command-line arguments. Out: Parquet file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `git(d, *a, binary=False)`; `ext(path)`; `definitions(path, lines)`; `scan(src)`; `sectionise(files, lo, hi)`; `flush()`; `page(title, body, desc, canonical, extra_head='')`; `summary(parts, files, defs)`; `write_parquet(out, manifest_sections, words, stamp)`; `build(src, out, lo, hi)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [Parquet file sections.parquet; Parquet file files.parquet; Parquet file words.parquet; DuckDB queries; command-line arguments]; out [Parquet file]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Harvest - File: kuiper-belt/tools/harvest.py (Python, 128 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/harvest.py#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/1552.html#f1 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt using data from GitHub API. - What it achieves (comment): It is built from the public repos helper (`public_repos`), the force rm helper (`force_rm`) and the on err helper (`on_err`). The engine that runs with nobody paying and nobody watching. - What it does: It fetches data. Defines public_repos, force_rm, on_err, measure, main. Uses libraries io, json, os, shutil, subprocess. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; command-line arguments. - Downstream impact: Used directly by 1 file: Engine Workflow (kuiper-belt). - Signatures: `public_repos()`; `force_rm(path)`; `on_err(fn, p, _)`; `measure(repo, tmp)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: GitHub API; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Iterate - File: kuiper-belt/tools/iterate.py (Python, 195 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/iterate.py#L1-L195 - Page: https://code.globalgrid2050.com/explore-code/s/1552.html#f2 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that reads verdict and wafer meta. - What it achieves (comment): It is built from the quiet class (`Quiet`), the log message helper (`log_message`) and the end headers helper (`end_headers`). Run many iterations LOCALLY, test each one unattended, keep the best ten. - What it does: It loads verdict and wafer meta. Defines 9 functions or classes, including Quiet, log_message, end_headers, folder, new. Uses libraries io, json, os, re, shutil. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file verdict.json; JSON file wafer-meta.json; command-line arguments. Out: JSON file verdict.json. - Downstream impact: Used directly by 1 file: Swarm (kuiper-belt). Reached from 1 other entry point, including Cadence (kuiper-belt). - Signatures: `class Quiet`; `log_message(self, *a)`; `end_headers(self)`; `folder(n)`; `headless(url, wait)`; `test(n)`; `rank()`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file verdict.json; JSON file wafer-meta.json; command-line arguments]; out [JSON file verdict.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Publish Proof - File: kuiper-belt/tools/publish_proof.py (Python, 104 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/publish_proof.py#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/1552.html#f3 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that publishes one numbered proof to globalgrid2050.com, at most one per twenty minutes. - What it achieves (name): Its name says it publishes proof. Defines `git`. - What it does: It lists and searches its content. Defines git, main. Uses libraries io, os, re, shutil, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Cadence (kuiper-belt). - Signatures: `git(*a)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Swarm - File: kuiper-belt/tools/swarm.py (Python, 164 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/swarm.py#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/1552.html#f4 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that fetches verdict and cables. - What it achieves (comment): It is built from the pages step (`pages`), the text step (`text`) and the phone step (`phone`). The checking load of one iteration, shared across three phases, with a neutral and an earth. - What it does: It fetches verdict and cables. Defines 9 functions or classes, including pages, text, phone, l1, l2. Uses libraries io, json, os, re, subprocess. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables. - Inputs & outputs: In: data source: 127.0.0.1:11434; JSON file verdict.json; command-line arguments. Out: JSON file swarm.json. - Downstream impact: Used directly by 1 file: Cadence (kuiper-belt). - Signatures: `pages(d)`; `text(p)`; `phone(d, base, page, query)`; `l1(d)`; `l2(d)`; `l3(d)`; `neutral(d)`; `earth()`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: 127.0.0.1:11434; JSON file verdict.json; command-line arguments]; out [JSON file swarm.json]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Test Agent Start - File: kuiper-belt/tools/test_agent_start.py (Python, 39 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/test_agent_start.py#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/1552.html#f5 - Synopsis: A test in the tools folder of Kuiper Belt that checks Agent Start. It is built from the agent start tests class (`AgentStartTests`) and the get step (`get`). - What it achieves (name): Defines `AgentStartTests`, `mock`, `test_deterministic` and 5 more. - What it does: It tests its inputs. Defines 8 functions or classes, including AgentStartTests, mock, test_deterministic, test_refuse_private, test_refuse_incomplete. Uses libraries unittest. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'agent'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Agent Start Workflow (kuiper-belt). - Signatures: `class AgentStartTests`; `mock(self, path)`; `test_deterministic(self)`; `test_refuse_private(self)`; `test_refuse_incomplete(self)`; `test_refuse_bad_file(self)`; `get(path)`; `test_static_complete(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Twin Register - File: kuiper-belt/tools/twin_register.mjs (JavaScript, 106 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/twin_register.mjs#L1-L106 - Page: https://code.globalgrid2050.com/explore-code/s/1553.html#f1 - Synopsis: A JavaScript module in the tools folder of Kuiper Belt that reads entangle, using SHA-256. It is built from the latest twins helper (`latestTwins`). - What it achieves (name): Defines `arg` and `latestTwins`. - What it does: It loads entangle. Defines arg, latestTwins. Uses libraries node:crypto, node:fs, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file entangle.json; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `arg(k, d)`; `latestTwins()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file entangle.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Wafer Topup - File: kuiper-belt/tools/wafer_topup.py (Python, 247 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/tools/wafer_topup.py#L1-L247 - Page: https://code.globalgrid2050.com/explore-code/s/1553.html#f2 - Synopsis: A Python command-line tool in the tools folder of Kuiper Belt that fetches wafer meta from GitHub API. - What it achieves (comment): It counts blobs (`count_blobs`) and is built from the public repos helper (`public_repos`) and the git step (`git`). The wafer grows by itself: every public commit since the rim, appended. - What it does: It fetches wafer meta. Defines 7 functions or classes, including public_repos, git, mirror, count_blobs, feed. Uses libraries io, json, os, subprocess, sys. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; JSON file wafer-meta.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 2 files: What Is Kuiper (kuiper-belt, https://ventusltd.github.io/kuiper-belt/what-is-kuiper.html); Engine Workflow (kuiper-belt). Reached from 7 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Modes (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/modes.html). - Signatures: `public_repos()`; `git(d, *args)`; `mirror(name, cache, since)`; `count_blobs(d, shas, cache)`; `feed()`; `new_commits(d, after, until, cache)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file wafer-meta.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### What Is Kuiper - File: kuiper-belt/what-is-kuiper.html (HTML, 206 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/what-is-kuiper.html#L1-L206 - Page: https://code.globalgrid2050.com/explore-code/s/1553.html#f3 - Published at: https://ventusltd.github.io/kuiper-belt/what-is-kuiper.html - Synopsis: A web page in Kuiper Belt that draws wafer meta. Published at https://ventusltd.github.io/kuiper-belt/what-is-kuiper.html. It is built from the attempt step (`attempt`). - What it achieves (comment): A plain-English explanation of the Kuiper: why Ventus Ltd built it for globalgrid2050.com, how Keys become deterministic positions, and how the code estate can become a procedural computational engine. It reads `cosmos/wafer-meta.json`. It responds to load events. - What it does: It draws wafer meta. Defines attempt. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file wafer-meta.json. Out: web page; canvas drawing. - Downstream impact: Used directly by 1 file: Start Here (kuiper-belt). Reached from 6 other entry points, including Lesson (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/lesson.html); Menu (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050354/menu.html); Modes (kuiper-belt, https://ventusltd.github.io/kuiper-belt/learn-the-kuiper/202610050609/modes.html). It is itself an entry point, published at https://ventusltd.github.io/kuiper-belt/what-is-kuiper.html. - Signatures: `attempt()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file wafer-meta.json]; out [web page; canvas drawing]; crs []; voltages [] - Edges: uses 4 estate files (link 3, iframe 1); used by 1; mentioned by 0 ### Geometry Test - File: kuiper-drawing-engine/tests/geometry.test.mjs (JavaScript, 25 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/tests/geometry.test.mjs#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1553.html#f4 - Synopsis: A test in the tests folder of Kuiper Drawing Engine. - What it achieves (name): Its code works with 1 GW. - What it does: It tests its inputs. Uses libraries node:test. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Array Pages Workflow (kuiper-drawing-engine). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Site Test - File: kuiper-drawing-engine/tests/site.test.mjs (JavaScript, 11 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/tests/site.test.mjs#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/1553.html#f5 - Synopsis: A test in the tests folder of Kuiper Drawing Engine. - What it achieves (name): Its code works with 1 GW. - What it does: It tests its inputs. Uses libraries node:test. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Array Pages Workflow (kuiper-drawing-engine). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Public Bundle - File: kuiper-drawing-engine/tests/test_public_bundle.py (Python, 29 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/tests/test_public_bundle.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1553.html#f6 - Synopsis: A test in the tests folder of Kuiper Drawing Engine. It is built from the bundle test class (`BundleTest`). - What it achieves (name): Defines `BundleTest`, `test_extra_data_file_is_rejected` and `test_missing_file_is_rejected`. - What it does: It tests its inputs. Defines BundleTest, test_extra_data_file_is_rejected, test_missing_file_is_rejected. Uses libraries importlib.util, pathlib, tempfile, unittest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: JSON file local-review.json. - Downstream impact: Used directly by 1 file: Array Pages Workflow (kuiper-drawing-engine). - Signatures: `class BundleTest`; `test_extra_data_file_is_rejected(self)`; `test_missing_file_is_rejected(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [JSON file local-review.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Audit Estate - File: kuiper-drawing-engine/tools/audit_estate.py (Python, 73 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/tools/audit_estate.py#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/1553.html#f7 - Synopsis: A Python command-line tool in the tools folder of Kuiper Drawing Engine covering inventory summary, using SHA-256. It is built from the flush step (`flush`). - What it achieves (comment): Local-only lexical drawing-code inventory; never executes discovered code. It accepts `--root` and `--out`. - What it does: Defines main, flush. Uses libraries argparse, hashlib, json, os, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file inventory-summary.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()`; `flush()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file inventory-summary.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### CAD Wireframe - File: kuiper-drawing-engine/tools/cad_wireframe.py (Python, 56 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/tools/cad_wireframe.py#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1554.html#f1 - Synopsis: A Python module in the tools folder of Kuiper Drawing Engine. - What it achieves (comment): Local STEP edge preview. Source and derived drawings retain source restrictions. It accepts `--runtime`, `--step` and `--out`. - What it does: It draws its content. Uses libraries argparse, json, math, sys, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: SVG drawing. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Full Plant - File: kuiper-drawing-engine/tools/check_full_plant.py (Python, 50 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/tools/check_full_plant.py#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/1554.html#f2 - Synopsis: A Python module in the tools folder of Kuiper Drawing Engine. - What it achieves (comment): Enumerate all virtual-plant module corners in GPU batches; retain only summary. It accepts `--template` and `--out`. - What it does: It loads data. Uses libraries argparse, json, time, pathlib, numpy. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Public Bundle - File: kuiper-drawing-engine/tools/check_public_bundle.py (Python, 25 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/tools/check_public_bundle.py#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1554.html#f3 - Synopsis: A Python command-line tool in the tools folder of Kuiper Drawing Engine that uses SHA-256. It is built from the check step (`check`). - What it achieves (comment): Reject unexpected deployment files. This is a packaging gate, not anonymization. - What it does: Defines check. Uses libraries hashlib, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Array Pages Workflow (kuiper-drawing-engine). - Signatures: `check(root)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Distill Candidates - File: kuiper-drawing-engine/tools/distill_candidates.py (Python, 45 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/tools/distill_candidates.py#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1554.html#f4 - Synopsis: A Python module in the tools folder of Kuiper Drawing Engine that reads drawing diverse shortlist private, drawing shortlist private and distillation summary, using SHA-256. - What it achieves (comment): Local GPU similarity graph over lexical code features; not semantic approval. It accepts `--audit`. - What it does: It loads drawing diverse shortlist private, drawing shortlist private and distillation summary. Uses libraries argparse, json, time, re, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file drawing-diverse-shortlist.private.json; JSON file drawing-shortlist.private.json; JSON file distillation-summary.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file drawing-diverse-shortlist.private.json; JSON file drawing-shortlist.private.json; JSON file distillation-summary.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Electrical Reference Check - File: kuiper-drawing-engine/tools/electrical_reference_check.py (Python, 74 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/tools/electrical_reference_check.py#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1554.html#f5 - Synopsis: A Python command-line tool in the tools folder of Kuiper Drawing Engine. It is built from the screen step (`screen`). - What it achieves (comment): Local-only reference screening. Inputs/outputs can be confidential: never deploy them. It accepts `--references`, `--profile` and `--out`. - What it does: It loads data. Defines screen. Uses libraries argparse, json, pathlib, numpy, cupy. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `screen(ref, profile)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Export Geometry Template - File: kuiper-drawing-engine/tools/export_geometry_template.mjs (JavaScript, 8 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/tools/export_geometry_template.mjs#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1554.html#f6 - Synopsis: A JavaScript module in the tools folder of Kuiper Drawing Engine. - What it achieves (comment): Local numeric interchange only. A private input produces a private output. - What it does: It loads data. Uses libraries node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Geometry Loop - File: kuiper-drawing-engine/tools/geometry_loop.py (Python, 87 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/tools/geometry_loop.py#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/1554.html#f7 - Synopsis: A Python command-line tool in the tools folder of Kuiper Drawing Engine that calculates planar distances. - What it achieves (comment): It is built from the atomic step (`atomic`), the witness step (`witness`) and the batch step (`batch`). Bounded synthetic array geometry comparison; compact local outputs only. It accepts `--out`, `--hours` and `--batch`. - What it does: Defines atomic, witness, batch, temperature, main. Uses libraries argparse, json, math, os, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file status.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `atomic(path,data)`; `witness(ids)`; `batch(start,n)`; `temperature()`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file status.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Height Envelope Check - File: kuiper-drawing-engine/tools/height_envelope_check.py (Python, 38 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/tools/height_envelope_check.py#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1554.html#f8 - Synopsis: A Python module in the tools folder of Kuiper Drawing Engine. - What it achieves (comment): Private draft height-envelope sweep. Candidate counts are not probabilities. It accepts `--evidence`, `--profile` and `--out`. - What it does: It loads data. Uses libraries argparse, json, math, pathlib, numpy. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Hourly Check - File: kuiper-drawing-engine/tools/hourly_check.py (Python, 29 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/tools/hourly_check.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1554.html#f9 - Synopsis: A Python module in the tools folder of Kuiper Drawing Engine that reads hourly status. - What it achieves (comment): Local supervisor report. Does not restart failed computations or publish. It accepts `--out` and `--memory-dir`. - What it does: It loads hourly status. Uses libraries argparse, json, subprocess, time, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file status.json; command-line arguments. Out: JSON file hourly-status.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file status.json; command-line arguments]; out [JSON file hourly-status.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Drawing Engine — App - File: kuiper-drawing-engine/web/app.mjs (JavaScript, 37 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/web/app.mjs#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/1554.html#f10 - Published at: https://ventusltd.github.io/kuiper-drawing-engine/web/ - Synopsis: A JavaScript module that sets placement (`setPlacement`), calculates planar distances and draws on a canvas. Served with the page at https://ventusltd.github.io/kuiper-drawing-engine/web/. - What it achieves (name): It sets placement (`setPlacement`) and is built from the fields step (`fields`) and the height fields helper (`heightFields`). Defines `money`, `point3`, `poly` and 5 more. It responds to input and resize events. - What it does: It draws its content. Defines 9 functions or classes, including $, money, point3, poly, fields. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file array-settings.json. Out: canvas drawing; SVG drawing. - Downstream impact: Used directly by 2 files: Kuiper Drawing Engine — Index Page (kuiper-drawing-engine, https://ventusltd.github.io/kuiper-drawing-engine/web/); Array Pages Workflow (kuiper-drawing-engine). It is itself an entry point, published at https://ventusltd.github.io/kuiper-drawing-engine/web/. - Signatures: `$(id)`; `money(n)`; `point3(p)`; `poly(points)`; `draw()`; `fit()`; `apply(next)`; `fields()`; `heightFields()`; `download(name,text,type)`; `siteScale()`; `drawSite()`; `setPlacement(p)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file array-settings.json]; out [canvas drawing; SVG drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Geometry - File: kuiper-drawing-engine/web/geometry.mjs (JavaScript, 47 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/web/geometry.mjs#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1554.html#f11 - Published at: https://ventusltd.github.io/kuiper-drawing-engine/web/ - Synopsis: A JavaScript module in Kuiper Drawing Engine. Served with the page at https://ventusltd.github.io/kuiper-drawing-engine/web/. It is built from the point step (`point`), the array step (`array`) and the plant step (`plant`). - What it achieves (name): Defines `validate`, `rad`, `basis` and 3 more. - What it does: It calculates its inputs. Defines 6 functions or classes, including validate, rad, basis, point, array. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 3 files: Export Geometry Template (kuiper-drawing-engine); Kuiper Drawing Engine — App (kuiper-drawing-engine, https://ventusltd.github.io/kuiper-drawing-engine/web/); Site (kuiper-drawing-engine, https://ventusltd.github.io/kuiper-drawing-engine/web/). Reached from 2 other entry points, including Kuiper Drawing Engine — Index Page (kuiper-drawing-engine, https://ventusltd.github.io/kuiper-drawing-engine/web/); Array Pages Workflow (kuiper-drawing-engine). - Signatures: `export validate(input)`; `export basis(azimuth,tilt)`; `export point(origin,u,v,x,y)`; `export array(supplied)`; `export plant(supplied)`; `rad(x)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Kuiper Drawing Engine — Index Page - File: kuiper-drawing-engine/web/index.html (HTML, 14 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/web/index.html#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/1554.html#f12 - Published at: https://ventusltd.github.io/kuiper-drawing-engine/web/ - Synopsis: A web page that reads inputs for array index, rows and columns (units: MW). Published at https://ventusltd.github.io/kuiper-drawing-engine/web/. - What it does: It draws its content. Uses libraries style.css. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: user-supplied file (file picker); form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/kuiper-drawing-engine/web/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker); form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 0; mentioned by 0 ### Site - File: kuiper-drawing-engine/web/site.mjs (JavaScript, 25 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/web/site.mjs#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1554.html#f13 - Published at: https://ventusltd.github.io/kuiper-drawing-engine/web/ - Synopsis: A JavaScript module in Kuiper Drawing Engine that validates placements (`validatePlacements`). Served with the page at https://ventusltd.github.io/kuiper-drawing-engine/web/. - What it achieves (name): It validates placements (`validatePlacements`) and is built from the site model helper (`siteModel`) and the table at helper (`tableAt`). Defines `siteModel`, `tableAt`, `validatePlacements` and 1 more. - What it does: It calculates its inputs. Defines siteModel, tableAt, validatePlacements, overlapsFor. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 2 files: Export Geometry Template (kuiper-drawing-engine); Kuiper Drawing Engine — App (kuiper-drawing-engine, https://ventusltd.github.io/kuiper-drawing-engine/web/). Reached from 2 other entry points, including Kuiper Drawing Engine — Index Page (kuiper-drawing-engine, https://ventusltd.github.io/kuiper-drawing-engine/web/); Array Pages Workflow (kuiper-drawing-engine). - Signatures: `export siteModel(input)`; `export tableAt(site,index,edits={})`; `export validatePlacements(raw,site)`; `export overlapsFor(site,index,edits={})` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Elements on Wafer - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010/team-4/elements_on_wafer.py (Python, 24 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010/team-4/elements_on_wafer.py#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1554.html#f14 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents. - What it achieves (comment): Which catalogued elements can be placed on the live wafer at a key of their own? It reads `/home/user/estate/elements/catalogue/elements.json`. - What it does: It loads data. Uses libraries json, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file elements.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [JSON file elements.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Kuiper Shell - File: neural-link-between-agents/SESSIONS/state/inflight/team-1-shell-rev3/202611012143-kuiper-shell.js (JavaScript, 601 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/state/inflight/team-1-shell-rev3/202611012143-kuiper-shell.js#L1-L601 - Page: https://code.globalgrid2050.com/explore-code/s/1555.html#f1 - Synopsis: A JavaScript file in the inflight folder of Neural Link Between Agents that builds bar (`buildBar`), sets open (`setOpenState`) and opens menu (`openMenu`), covering cables and substations. - What it achieves (comment): It builds bar (`buildBar`), sets open state (`setOpenState`) and opens menu (`openMenu`). Kuiper module kuiper-shell. each value below. It responds to click, keydown and pointerdown events. - What it does: It draws cables and substations. Defines 42 functions or classes, including publish, $, missing, loudFailure, installStyle. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, substations. - Inputs & outputs: In: JSON file keys.json. - Signatures: `publish()`; `$(sel)`; `missing()`; `loudFailure(words)`; `installStyle()`; `el(tag, cls, text)`; `buildBar()`; `tick()`; `setOpenState(name)`; `openMenu(name)`; `cardShown()`; `stepOver()`; `closeAll(fromPop)`; `onPop()`; `wire()`; `lift()`; `measure()`; `placeStar()`; `mountStar(node, by)`; `defaultStar()`; `row(label, onTap, hint)`; `key(k)`; `link(label, href, hint)`; `group(panel, title, owner)`; `moveNode(panel, node)` (and 11 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [JSON file keys.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Coax Field Test - File: particle-physics-drawing-engine/measurements/coax-field-test.mjs (JavaScript, 154 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/particle-physics-drawing-engine/blob/d3d28cc760761dab210dc3850577ee73c23fe8c5/measurements/coax-field-test.mjs#L1-L154 - Page: https://code.globalgrid2050.com/explore-code/s/1556.html#f1 - Synopsis: A JavaScript module in the measurements folder of Particle Physics Drawing Engine that tests coax field result surface ring and cables. - What it achieves (comment): It is built from the vexact class (`Vexact`), the eexact class (`Eexact`) and the grid solve helper (`gridSolve`). Can a field of wafer particles do real electrostatics? It writes `./coax-field-result-v2-surface-ring.json`. - What it does: It tests coax field result surface ring and cables. Defines 8 functions or classes, including Vexact, Eexact, gridSolve, solve5, waferSolve. Uses libraries node:fs. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'field'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: cables. - Inputs & outputs: Out: JSON file coax-field-result-v2-surface-ring.json. - Signatures: `Vexact(r)`; `Eexact(r)`; `gridSolve(n)`; `x(i - n)`; `er(ex * x + ey * y)`; `solve5(A, b)`; `waferSolve(K, NB = 14)`; `cell(i)`; `mul(x, out)`; `dot(a, c)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file coax-field-result-v2-surface-ring.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Exactness - File: particle-physics-drawing-engine/measurements/exactness.mjs (JavaScript, 74 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/particle-physics-drawing-engine/blob/d3d28cc760761dab210dc3850577ee73c23fe8c5/measurements/exactness.mjs#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1556.html#f2 - Synopsis: A JavaScript module in the measurements folder of Particle Physics Drawing Engine that works with theta true (`thetaTrue`) and int frac32 (`intFrac32`). - What it achieves (comment): It is built from the isqrt step (`isqrt`), the mod step (`mod`) and the fix of double helper (`fixOfDouble`). Test T2 of the 2030 stone, actually run. - What it does: It calculates its inputs. Defines 12 functions or classes, including isqrt, mod, fixOfDouble, num, wrap. - Signatures: `isqrt(v)`; `INV_PHI2(3n * ONE - SQRT5)`; `mod(a, m)`; `fixOfDouble(d)`; `num(v)`; `wrap(v)`; `thetaTrue(k)`; `px(d)`; `intFrac32(k)`; `row(k)`; `thInt((ONE - (BigInt(u) << (B - 32n))) * TAU)`; `thIntNo((BigInt(u) << (B - 32n)) * TAU)`; `u64(BigInt(k) * C64)`; `thInt64((ONE - (u64 << (B - 64n))) * TAU)`; `mulhi32(a, b)`; `top32(s)`; `sector(K, law)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Fault - File: particle-physics-drawing-engine/tools/fault.py (Python, 70 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/particle-physics-drawing-engine/blob/d3d28cc760761dab210dc3850577ee73c23fe8c5/tools/fault.py#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/1556.html#f3 - Synopsis: A Python command-line tool in the tools folder of Particle Physics Drawing Engine that reads fault network and 20kV, using IEC 60909. It is built from the geo step (`geo`). - What it achieves (comment): A fault study by an existing open-source solver, translated into the wafer's language. Its code works with 100 kW, 20 kV and 1000 MVA. It accepts `--bus` and `--out`. - What it does: It loads fault network and 20kV. Defines geo, main. Uses libraries argparse, json, math, os, pandapower. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: 20kV, 110kV. README: "`tools/fault.py` runs a three-phase fault on pandapower's published 20 kV example network (mv_oberrhein) with pandapower's IEC 60909 short-circuit module, and the translator carries each line's initial symmetrical short-circuit current as an edge weight." - Inputs & outputs: In: command-line arguments. Out: JSON file fault-network.json. Voltage levels named: 110kV, 20kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `geo(net, b)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file fault-network.json]; crs []; voltages [110kV, 20kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Geometry - File: particle-physics-drawing-engine/tools/geometry.py (Python, 74 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/particle-physics-drawing-engine/blob/d3d28cc760761dab210dc3850577ee73c23fe8c5/tools/geometry.py#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1556.html#f4 - Synopsis: A Python command-line tool in the tools folder of Particle Physics Drawing Engine that reads trench network and cables. - What it achieves (comment): It is built from the circle step (`circle`), the rect step (`rect`) and the trench step (`trench`). The translator's second input. Geometry (sections, not routes) into the wafer's network language. It accepts `--circuits`, `--per-row` and `--cable-od`. - What it does: It loads trench network and cables. Defines 6 functions or classes, including circle, rect, trench, add, fit. Uses libraries argparse, json, math, os. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: command-line arguments. Out: JSON file trench-network.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `circle(cx, cy, r, spacing_mm)`; `rect(x0, y0, x1, y1)`; `trench(circuits, per_row, cable_od, spacing_h, spacing_v, depth, cables_per_circuit=3, node_spacing=6.0)`; `add(pts, eds, label)`; `fit(nodes)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file trench-network.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Particles - File: particle-physics-drawing-engine/tools/particles.py (Python, 180 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/particle-physics-drawing-engine/blob/d3d28cc760761dab210dc3850577ee73c23fe8c5/tools/particles.py#L1-L180 - Page: https://code.globalgrid2050.com/explore-code/s/1556.html#f5 - Synopsis: A Python command-line tool in the tools folder of Particle Physics Drawing Engine that works with theta int (`theta_int`) and cmd layer (`cmd_layer`) (units: kV, kW), using SHA-256. - What it achieves (comment): It is built from the digest step (`digest`), the line for helper (`line_for`) and the weight step (`weight`). Procedural layers, the DNA test and the exactness test. It accepts `--layer`, `--recipe` and `--seed`. - What it does: It loads data. Defines 11 functions or classes, including digest, line_for, weight, theta_int, f32. Uses libraries argparse, hashlib, json, math, os. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: command-line arguments. Out: JSON file. - Downstream impact: Used directly by 4 files: Scope Check (particle-physics-drawing-engine); Spiral vs Stack (particle-physics-drawing-engine); Nightly Workflow (particle-physics-drawing-engine); Particles Workflow (particle-physics-drawing-engine). - Signatures: `digest(recipe, seed, slot)`; `line_for(recipe, seed, slot)`; `weight(chars)`; `theta_int(slot)`; `f32(x)`; `cmd_layer(a)`; `regen_hash(m)`; `cmd_dna(a)`; `cmd_compare(a)`; `cmd_exactness(a)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Png - File: particle-physics-drawing-engine/tools/png.py (Python, 27 lines) · role storage · stage output - Source: https://github.com/Ventusltd/particle-physics-drawing-engine/blob/d3d28cc760761dab210dc3850577ee73c23fe8c5/tools/png.py#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1556.html#f6 - Synopsis: A Python module in the tools folder of Particle Physics Drawing Engine that writes grey (`write_grey`). It is built from the raster to png helper (`raster_to_png`). - What it achieves (comment): The smallest PNG writer, no dependencies. - What it does: It loads data. Defines _chunk, write_grey, raster_to_png. Uses libraries struct, zlib. Side effects: reads or writes files. - Downstream impact: Used directly by 2 files: Spiral vs Stack (particle-physics-drawing-engine); Underground (particle-physics-drawing-engine). Reached from 2 other entry points, including Nightly Workflow (particle-physics-drawing-engine); Scope Check (particle-physics-drawing-engine). - Signatures: `_chunk(tag, data)`; `write_grey(path, width, height, pixels)`; `raster_to_png(path, size, counts, gamma=0.5)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Publish Iteration - File: particle-physics-drawing-engine/tools/publish_iteration.py (Python, 140 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/particle-physics-drawing-engine/blob/d3d28cc760761dab210dc3850577ee73c23fe8c5/tools/publish_iteration.py#L1-L140 - Page: https://code.globalgrid2050.com/explore-code/s/1557.html#f1 - Synopsis: A Python command-line tool in the tools folder of Particle Physics Drawing Engine that reads spiral vs stack and underground from the GridAtlas and ventus-grid-engine repositories. - What it achieves (comment): It is built from the system for helper (`system_for`), the key for helper (`key_for`) and the put step (`put`). Number, label and publish one iteration under `globalgrid2050.com/testcode/particles/`. Its code works with 100 kW. - What it does: It loads spiral vs stack and underground. Defines 7 functions or classes, including system_for, key_for, put, put_many, api. Uses libraries base64, json, os, subprocess, sys. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; JSON file spiral-vs-stack.json; JSON file underground.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `system_for(n)`; `key_for(n)`; `put(path, data: bytes, msg)`; `put_many(files, msg)`; `api(method, path, body=None)`; `load(p)`; `main(run_dir)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; JSON file spiral-vs-stack.json; JSON file underground.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Scope Check - File: particle-physics-drawing-engine/tools/scope_check.py (Python, 58 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/particle-physics-drawing-engine/blob/d3d28cc760761dab210dc3850577ee73c23fe8c5/tools/scope_check.py#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/1557.html#f2 - Synopsis: A Python command-line tool in the tools folder of Particle Physics Drawing Engine. - What it achieves (comment): The scope drives the loop. It writes `results/SCOPE-STATUS.md`. - What it does: It loads data. Defines main. Uses libraries os, subprocess, sys, time. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file layer-2.json. - Downstream impact: Used directly by 1 file: Nightly Workflow (particle-physics-drawing-engine). - Signatures: `main()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file layer-2.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (script-call 3); used by 1; mentioned by 0 ### Spiral vs Stack - File: particle-physics-drawing-engine/tools/spiral_vs_stack.py (Python, 74 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/particle-physics-drawing-engine/blob/d3d28cc760761dab210dc3850577ee73c23fe8c5/tools/spiral_vs_stack.py#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1557.html#f3 - Synopsis: A Python command-line tool in the tools folder of Particle Physics Drawing Engine. It is built from the run step (`run`). - What it achieves (comment): The same addresses under two laws, drawn side by side. It accepts `--layers`, `--per-layer` and `--out`. - What it does: It loads data. Defines run. Uses libraries argparse, json, math, os, sys. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: command-line arguments. Out: JSON file spiral-vs-stack.json. - Downstream impact: Used directly by 2 files: Scope Check (particle-physics-drawing-engine); Nightly Workflow (particle-physics-drawing-engine). - Signatures: `run(layers, per_layer, out)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file spiral-vs-stack.json]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Underground - File: particle-physics-drawing-engine/tools/underground.py (Python, 134 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/particle-physics-drawing-engine/blob/d3d28cc760761dab210dc3850577ee73c23fe8c5/tools/underground.py#L1-L134 - Page: https://code.globalgrid2050.com/explore-code/s/1557.html#f4 - Synopsis: A Python command-line tool in the tools folder of Particle Physics Drawing Engine that fetches tfl raw. - What it achieves (comment): It is built from the fetch step (`fetch`), the topology step (`topology`) and the schematic step (`schematic`). A network drawn from a typed command, with the same particles. It accepts `--out`, `--offline` and `--passes`. - What it does: It fetches tfl raw. Defines 6 functions or classes, including fetch, topology, schematic, draw, dot. Uses libraries argparse, json, math, os, sys. Side effects: reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: command-line arguments. Out: JSON file tfl-raw.json; JSON file underground.json. - Downstream impact: Used directly by 2 files: Scope Check (particle-physics-drawing-engine); Nightly Workflow (particle-physics-drawing-engine). - Signatures: `fetch(url)`; `topology(raw)`; `schematic(stations, edges, passes=200, step=0.05)`; `draw(pos, edges, out)`; `dot(x, y)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file tfl-raw.json; JSON file underground.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Rare Cosmic - File: seed-data/experiments/economical-seeds/rare_cosmic.mjs (JavaScript, 206 lines) · role ingest · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/rare_cosmic.mjs#L1-L206 - Page: https://code.globalgrid2050.com/explore-code/s/1557.html#f5 - Synopsis: A JavaScript module in the economical seeds folder of Seed Data that works with exact target (`exactTarget`) and calculates planar distances, covering wafer, using SHA-256. - What it achieves (comment): It is built from the git step (`git`), the read step (`read`) and the sha256 step (`sha256`). Probe the exact COSMIC addressing code from a pinned Git object. - What it does: It lists and searches wafer. Defines 9 functions or classes, including git, read, sha256, blobId, start. Uses libraries node:assert/strict, node:child_process, node:crypto, node:url, node:perf_hooks. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file universe.json; JSON file wafer.json; command-line arguments. - Signatures: `git(...args)`; `read(path)`; `sha256(data)`; `blobId(data)`; `start(cartridge, fault)`; `probe(system, k, expectedPath, expectedOffset, reads)`; `exactTarget(target)`; `invoke([ordinal, cartridge = 'universe.json', ...extra])`; `prove()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file universe.json; JSON file wafer.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Star Electron Star — App - File: star-electron-star/app.mjs (JavaScript, 819 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-electron-star/blob/241bcca9eb4045e9be5c058ec24f9f5bd26c7af4/app.mjs#L1-L819 - Page: https://code.globalgrid2050.com/explore-code/s/1558.html#f1 - Synopsis: A JavaScript module that draws lines meta and families, using SHA-256. It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). - What it achieves (comment): The Line Wafer. It responds to click, pointerdown and pointermove events. - What it does: It draws lines meta and families. Defines 50 functions or classes, including $, indexOfKey, bin, tier1, tier2. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "`index.html`, `app.mjs`, `lib.mjs`, `pick.mjs`, `read.mjs`, `style.css`, `line-index.json`, `proof/` — the Line Wafer, unchanged apart from the title and two script tags." - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json; JSON file line-index.json. Out: WebGL/WebGPU drawing. - Signatures: `$(id)`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm, usage)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `render()`; `x(U.posB[i * 2] - view.x)`; `draw()`; `home()`; `flyTo(key, zoom)`; `waferR()`; `clearPupil(buf)`; `rimStart()`; `partition(keys)`; `fullTargets(scopeTargets)`; `lawTargets()` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/testcode/wafer-development-environment/202609170020-estate/app.mjs) · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json; JSON file line-index.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Chemistry - File: star-maker/machinery/bench/chemistry.mjs (JavaScript, 91 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-maker/blob/2c477b0cc673304c5b288cee9d0e0ae42d273b2e/machinery/bench/chemistry.mjs#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/1559.html#f2 - Synopsis: A JavaScript module in the bench folder of Star Maker that reads table and compounds. - What it achieves (comment): It is built from the term step (`term`), the formula of helper (`formulaOf`) and the decay of helper (`decayOf`). THE CHEMISTRY STAR — computes compounds from the elements. - What it does: It loads table and compounds. Defines term, formulaOf, decayOf, node. Uses libraries node:fs/promises, node:path. Side effects: reads or writes files. - Inputs & outputs: In: JSON file table.json. Out: JSON file compounds.json; JSON file graph.json. - Signatures: `files(await readdir(path.join(SKY, 'stars')))`; `term(id, sel)`; `formulaOf(s)`; `on(s.loaded || [])`; `decayOf(s)`; `node(label, type, rag, reason)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file table.json]; out [JSON file compounds.json; JSON file graph.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Controlpad - File: star-maker/machinery/bench/controlpad.mjs (JavaScript, 137 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-maker/blob/2c477b0cc673304c5b288cee9d0e0ae42d273b2e/machinery/bench/controlpad.mjs#L1-L137 - Page: https://code.globalgrid2050.com/explore-code/s/1559.html#f3 - Synopsis: A JavaScript module in the bench folder of Star Maker that fetches controlpad seen. It saves seen (`saveSeen`), parses note (`parseNote`) and appends file (`appendFile`). - What it achieves (comment): Control-pad watcher — the steering wheel for the Ventus OS Bench. - What it does: It fetches controlpad seen. Defines 11 functions or classes, including git, stamp, log, saveSeen, parseNote. Uses libraries node:fs/promises, node:child_process, node:util, node:crypto, node:url. Side effects: reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: JSON file controlpad-seen.json. - Signatures: `git(...a)`; `stamp()`; `log(m)`; `saveSeen()`; `parseNote(text)`; `coerce(v)`; `bench(pathname, body)`; `execute(note)`; `appendFile(file, text)`; `writeState(recent)`; `cycle()`; `files(await readdir(path.join(PAD, 'inbox')))`; `status(await git('status', '--porcelain'))` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file controlpad-seen.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Electron - File: star-maker/machinery/bench/electron.mjs (JavaScript, 85 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-maker/blob/2c477b0cc673304c5b288cee9d0e0ae42d273b2e/machinery/bench/electron.mjs#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/1559.html#f4 - Synopsis: A JavaScript module in the bench folder of Star Maker. It is built from the label step (`label`). - What it achieves (comment): THE ELECTRON STAR — electron physics applied to code, where the physics actually holds. nucleus = a soul (a unit of code) · electrons = its callers · shells `K/L/M` = same directory / same repo / other repo. - What it does: It loads data. Defines label, by. Uses libraries node:fs/promises, node:url, node:path. Side effects: reads or writes files. - Inputs & outputs: Out: JSON file atoms.json; JSON file graph.json. - Signatures: `rows(await readFile(path.join(BENCH, 'state', 'soul', 'souls.jsonl'), 'utf8'))`; `label(a)`; `by(c)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file atoms.json; JSON file graph.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Elements - File: star-maker/machinery/bench/elements.mjs (JavaScript, 77 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-maker/blob/2c477b0cc673304c5b288cee9d0e0ae42d273b2e/machinery/bench/elements.mjs#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1559.html#f5 - Synopsis: A JavaScript module in the bench folder of Star Maker that reads table and engine graph, using SHA-256. - What it achieves (comment): It reads JSON (`readJson`) and is built from the sha step (`sha`) and the symbol for helper (`symbolFor`). THE PERIODIC TABLE — stars make elements. - What it does: It loads table and engine graph. Defines sha, readJson, symbolFor, upsert. Uses libraries node:fs/promises, node:crypto, node:path. Side effects: reads or writes files. - Inputs & outputs: In: JSON file table.json; JSON file engine-graph.json; JSON file current.json. - Signatures: `sha(s)`; `readJson(p)`; `symbolFor(name)`; `upsert(key, fields)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file table.json; JSON file engine-graph.json; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Machinery — Bench Page - File: star-maker/machinery/bench/index.html (HTML, 124 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/star-maker/blob/2c477b0cc673304c5b288cee9d0e0ae42d273b2e/machinery/bench/index.html#L1-L124 - Page: https://code.globalgrid2050.com/explore-code/s/1559.html#f6 - Synopsis: A web page in Star Maker that renders parts (`renderParts`) and findings (`renderFindings`), loads runs (`loadRuns`) and reads inputs for headed, using SHA-256. - What it achieves (name): It renders parts (`renderParts`), renders findings (`renderFindings`) and renders result (`renderResult`). Defines `esc`, `log`, `api` and 5 more. It responds to change events. - What it does: It draws its content. Defines 9 functions or classes, including $, esc, log, api, renderParts. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `$(s)`; `esc(s)`; `log(m)`; `api(p, o)`; `renderParts()`; `renderFindings(id)`; `renderResult(r)`; `loadRuns()`; `saveChoice()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Logic - File: star-maker/machinery/bench/logic.mjs (JavaScript, 80 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-maker/blob/2c477b0cc673304c5b288cee9d0e0ae42d273b2e/machinery/bench/logic.mjs#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/1560.html#f1 - Synopsis: A JavaScript module in the bench folder of Star Maker. It is built from the lineage step (`lineage`), the norm step (`norm`) and the canon step (`canon`). - What it achieves (comment): LOGIC STARS — our own reasoning, no model, no Meta. - What it does: It loads data. Defines lineage, norm, canon, walk. Uses libraries node:fs/promises, node:path. Side effects: reads or writes files. - Signatures: `lineage(p)`; `norm(v)`; `canon(v)`; `walk(dir)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Magnetar - File: star-maker/machinery/bench/magnetar.mjs (JavaScript, 64 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-maker/blob/2c477b0cc673304c5b288cee9d0e0ae42d273b2e/machinery/bench/magnetar.mjs#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/1560.html#f2 - Synopsis: A JavaScript module in the bench folder of Star Maker that reads field. It is built from the hops step (`hops`). - What it achieves (comment): THE MAGNETAR — a neutron star with a field a thousand trillion times the Earth's. - What it does: It loads field. Defines hops. Uses libraries node:fs/promises, node:child_process, node:util, node:path. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file atoms.json. Out: JSON file field.json; JSON file graph.json. - Signatures: `hops(from, to)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file atoms.json]; out [JSON file field.json; JSON file graph.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Random - File: star-maker/machinery/bench/random.mjs (JavaScript, 32 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-maker/blob/2c477b0cc673304c5b288cee9d0e0ae42d273b2e/machinery/bench/random.mjs#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/1560.html#f3 - Synopsis: A JavaScript module in the bench folder of Star Maker. It is built from the rnd step (`rnd`). - What it achieves (comment): THE RANDOM STAR — picks links on probability alone, no defined logic. - What it does: It loads data. Defines rnd. Uses libraries node:fs/promises, node:path. Side effects: reads or writes files. - Inputs & outputs: In: JSON file graph.json; command-line arguments. Out: JSON file graph.json. - Signatures: `rnd()` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file graph.json; command-line arguments]; out [JSON file graph.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Server - File: star-maker/machinery/bench/server.mjs (JavaScript, 243 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-maker/blob/2c477b0cc673304c5b288cee9d0e0ae42d273b2e/machinery/bench/server.mjs#L1-L243 - Page: https://code.globalgrid2050.com/explore-code/s/1560.html#f4 - Synopsis: A JavaScript module in the bench folder of Star Maker that reads choice (`readChoice`), writes choice (`writeChoice`) and gets browser (`getBrowser`), using SHA-256. - What it achieves (comment): It reads choice (`readChoice`), writes choice (`writeChoice`) and gets browser (`getBrowser`). VENTUS OS · THE BENCH — GridAtlas on the lift. - What it does: It loads data. Defines 16 functions or classes, including dirBytes, runsDir, sha256File, family, liveManifest. Uses libraries node:http, node:fs/promises, node:fs, node:crypto, node:url. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: README: "The Bench (`server.mjs`) serves GridAtlas read-only from the gridatlas repo and overlays a composition per universe at `/u//atlas/`" - Inputs & outputs: In: JSON file choice.json; JSON file current.json. - Signatures: `dirBytes(dir)`; `runsDir()`; `sha256File(file)`; `family(f)`; `liveManifest()`; `parts()`; `files(await readdir(path.join(ATLAS_DIR, 'cartridges')))`; `readChoice()`; `writeChoice(choice)`; `universeId(choice)`; `composedManifest(choiceOverride)`; `getBrowser(headed)`; `testDrive({ headed = false, settleMs = 12000, choice = null, query = '', expect = null } = {})`; `url(uid ? `http:)`; `attribute(u)`; `json(res, code, body)`; `serveFile(res, root, rel)`; `body(req)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file choice.json; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Starmaker - File: star-maker/machinery/bench/starmaker.mjs (JavaScript, 225 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-maker/blob/2c477b0cc673304c5b288cee9d0e0ae42d273b2e/machinery/bench/starmaker.mjs#L1-L225 - Page: https://code.globalgrid2050.com/explore-code/s/1560.html#f5 - Synopsis: A JavaScript module in the bench folder of Star Maker that fetches star control and targets. It reads dial (`readDial`), makes star (`makeStar`) and replays batch (`replayBatch`). - What it achieves (comment): Runs all night on the MSI. - What it does: It fetches star control and targets. Defines 18 functions or classes, including readDial, log, git, stampNow, exists. Uses libraries node:fs/promises, node:child_process, node:util, node:crypto, node:url. Side effects: reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: JSON file star-control.json; JSON file build_manifest.json; JSON file targets.json; JSON file report.json. - Signatures: `readDial()`; `log(m)`; `git(...a)`; `stampNow()`; `exists(p)`; `api(p, body)`; `seeds(parts)`; `deeplinkSeeds()`; `starId(gen, choice, query = '')`; `makeStar(gen, seed, replayOf = null)`; `pass()`; `worker(i)`; `survey()`; `runs(await readdir(path.join(EYES, 'runs')))`; `index()`; `files(await readdir(path.join(SKY, 'stars')))`; `by(v)`; `push(msg)`; `replayBatch(n = 200)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file star-control.json; JSON file build_manifest.json; JSON file targets.json; JSON file report.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Tick - File: star-maker/machinery/bench/tick.ps1 (PowerShell, 29 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-maker/blob/2c477b0cc673304c5b288cee9d0e0ae42d273b2e/machinery/bench/tick.ps1#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1560.html#f6 - Synopsis: A PowerShell script in the bench folder of Star Maker. - What it achieves (comment): The 10-minute watch in one command. - What it does: Side effects: starts processes. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### VEDIC - File: star-maker/machinery/bench/vedic.mjs (JavaScript, 61 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-maker/blob/2c477b0cc673304c5b288cee9d0e0ae42d273b2e/machinery/bench/vedic.mjs#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1561.html#f1 - Synopsis: A JavaScript module in the bench folder of Star Maker that reads table, summary and bhuta, using haversine. It is built from the bhuta of helper (`bhutaOf`). - What it achieves (comment): THE VEDIC STAR — guided by the Upanishads. - What it does: It loads table, summary and bhuta. Defines bhutaOf. Uses libraries node:fs/promises, node:path, node:fs. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file table.json; JSON file atoms.json; JSON file summary.json; DuckDB queries. Out: JSON file bhuta.json; JSON file graph.json. - Signatures: `bhutaOf(s)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file table.json; JSON file atoms.json; JSON file summary.json; DuckDB queries]; out [JSON file bhuta.json; JSON file graph.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Ventus - File: star-maker/machinery/bench/ventus.ps1 (PowerShell, 23 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-maker/blob/2c477b0cc673304c5b288cee9d0e0ae42d273b2e/machinery/bench/ventus.ps1#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1561.html#f2 - Synopsis: A PowerShell script in the bench folder of Star Maker. - What it achieves (comment): The terminal surface of the Spider. - What it does: Side effects: starts processes. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Wanderer - File: star-maker/machinery/bench/wanderer.mjs (JavaScript, 170 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-maker/blob/2c477b0cc673304c5b288cee9d0e0ae42d273b2e/machinery/bench/wanderer.mjs#L1-L170 - Page: https://code.globalgrid2050.com/explore-code/s/1561.html#f3 - Synopsis: A JavaScript module in the bench folder of Star Maker that reads summary from the ventus-grid-engine repository. - What it achieves (comment): It is built from the sha step (`sha`), the lineage step (`lineage`) and the norm body helper (`normBody`). THE WANDERER — one star that never stops moving. - What it does: It loads summary. Defines 10 functions or classes, including MINIFIED, sha, lineage, normBody, walk. Uses libraries node:fs/promises, node:crypto, node:path. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: data source: ventus-grid-engine data; command-line arguments. Out: JSON file graph.json; JSON file summary.json. - Signatures: `MINIFIED(t)`; `sha(s)`; `lineage(p)`; `normBody(b)`; `walk(dir)`; `bodyFrom(text, start, py)`; `purposeBefore(text, start)`; `pass()`; `twins(byName.get(u.name) || [])`; `score(u)`; `label(u)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; command-line arguments]; out [JSON file graph.json; JSON file summary.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Eyes - File: star-maker/machinery/eyes/eyes.mjs (JavaScript, 100 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-maker/blob/2c477b0cc673304c5b288cee9d0e0ae42d273b2e/machinery/eyes/eyes.mjs#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/1561.html#f4 - Synopsis: A JavaScript module in the machinery folder of Star Maker that draws targets. It is built from the flag step (`flag`) and the inspect step (`inspect`). - What it achieves (comment): Load pages in real Chrome on the GPU, in parallel, wait for them to settle, capture console errors / failed requests / screenshot. - What it does: It draws targets. Defines flag, inspect. Uses libraries puppeteer-core, node:fs/promises, node:os, node:path. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: JSON file targets.json; JSON file report.json; command-line arguments. Out: JSON file report.json; WebGL/WebGPU drawing. - Signatures: `flag(name, dflt)`; `inspect(t)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file targets.json; JSON file report.json; command-line arguments]; out [JSON file report.json; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Chemistry - File: stars/builders/chemistry.mjs (JavaScript, 114 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/builders/chemistry.mjs#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/1561.html#f5 - Synopsis: A JavaScript module in the builders folder of Stars that reads table and compounds. - What it achieves (comment): It is built from the term step (`term`), the formula of helper (`formulaOf`) and the decay of helper (`decayOf`). THE CHEMISTRY STAR — computes compounds from the elements. - What it does: It loads table and compounds. Defines 7 functions or classes, including term, formulaOf, decayOf, node, wire. Uses libraries node:fs/promises, node:path. Side effects: reads or writes files. - Inputs & outputs: In: JSON file table.json. Out: JSON file compounds.json; JSON file graph.json. - Downstream impact: Used directly by 1 file: Links and Evidence Test (stars). - Signatures: `files(await readdir(path.join(SKY, 'stars')))`; `term(id, sel)`; `formulaOf(s)`; `on(s.loaded || [])`; `decayOf(s)`; `node(label, type, rag, reason)`; `wire(from, to, kind)`; `termUnstable(t)`; `pairUnstable(a, b)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file table.json]; out [JSON file compounds.json; JSON file graph.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Links and Evidence Test - File: stars/builders/links-and-evidence.test.mjs (JavaScript, 53 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/builders/links-and-evidence.test.mjs#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1561.html#f6 - Synopsis: A test in the builders folder of Stars that checks Node Links and Pair Verdict. - What it does: It tests its inputs. Uses libraries node:test, node:assert/strict, node:fs, node:os, node:path. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file example.json; JSON file graph.json. Out: JSON file table.json. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file example.json; JSON file graph.json]; out [JSON file table.json]; crs []; voltages [] - Edges: uses 3 estate files (script-call 3); used by 0; mentioned by 0 ### Node Links - File: stars/builders/node-links.mjs (JavaScript, 20 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/builders/node-links.mjs#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1561.html#f7 - Synopsis: A JavaScript module in the builders folder of Stars. It is built from the node links helper (`nodeLinks`). - What it achieves (comment): Numbers in the historical electron/soul graphs are not modular-star family keys. - What it does: It calculates its inputs. Defines nodeLinks. - Downstream impact: Used directly by 4 files: Chemistry (stars); Links and Evidence Test (stars); Random (stars); VEDIC (stars). - Signatures: `export nodeLinks(node, { report = 'CLASSIFICATION', symbols = new Set(), example = null } = {})` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 4; mentioned by 0 ### Random - File: stars/builders/random.mjs (JavaScript, 34 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/builders/random.mjs#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/1561.html#f8 - Synopsis: A JavaScript module in the builders folder of Stars. It is built from the rnd step (`rnd`). - What it achieves (comment): THE RANDOM STAR — picks links on probability alone, no defined logic. - What it does: It loads data. Defines rnd. Uses libraries node:fs/promises, node:path. Side effects: reads or writes files. - Inputs & outputs: In: JSON file graph.json; command-line arguments. Out: JSON file graph.json. - Signatures: `rnd()` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file graph.json; command-line arguments]; out [JSON file graph.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### VEDIC - File: stars/builders/vedic.mjs (JavaScript, 57 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/builders/vedic.mjs#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/1561.html#f9 - Synopsis: A JavaScript module in the builders folder of Stars that reads table, summary and classes, using haversine. It is built from the class of helper (`classOf`). - What it achieves (comment): THE CLASSIFICATION STAR. Every element and every function family is sorted into one of five classes by what it does: Structure (shells, manifests, contracts, registries), Movement (links, events, routes), Computation (engines, calculations), Flow (streams, feeds, fetches) and Data (layers. - What it does: It loads table, summary and classes. Defines classOf. Uses libraries node:fs/promises, node:path, node:fs. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file table.json; JSON file atoms.json; JSON file summary.json; DuckDB queries. Out: JSON file classes.json; JSON file graph.json. - Signatures: `classOf(s)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file table.json; JSON file atoms.json; JSON file summary.json; DuckDB queries]; out [JSON file classes.json; JSON file graph.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Code - File: stars/code.html (HTML, 137 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/code.html#L1-L137 - Page: https://code.globalgrid2050.com/explore-code/s/1562.html#f1 - Published at: https://ventusltd.github.io/stars/code.html - Synopsis: A web page in Stars that draws blocks, families and names, using haversine, and uses data from the ventus-grid-engine repository. Published at https://ventusltd.github.io/stars/code.html. - What it achieves (comment): It loads family (`loadFamily`) and fetches source (`fetchSource`). GlobalGrid2050 architecture development. It reads `./blocks/blocks.json`. - What it does: It draws blocks, families and names. Defines 9 functions or classes, including $, esc, byName, purposeOf, loadFamily. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: data source: ventus-grid-engine data; JSON file blocks.json; JSON file families.json; JSON file index.json; JSON file names.json; form fields (user input). Out: web page. - Downstream impact: Used directly by 10 files: VEDIC Verify Reuse Routes (vedic-); Start (stars, https://ventusltd.github.io/stars/start.html); Table (stars, https://ventusltd.github.io/stars/table.html); Species — Estate Activity Page (spiders, https://ventusltd.github.io/spiders/species/estate-activity/); and 6 more. Reached from 377 other entry points, including Code Generator — Index Page (code-generator, https://ventusltd.github.io/code-generator/); Generate (code-generator, https://ventusltd.github.io/code-generator/); 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html). It is itself an entry point, published at https://ventusltd.github.io/stars/code.html. - Signatures: `$(s)`; `esc(s)`; `byName(a, b)`; `purposeOf(n)`; `loadFamily(n)`; `search(q)`; `fetchSource(p)`; `show(n)`; `gh(p)`; `uses(f.uses || [])`; `usedBy(f.used_by || [])` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; JSON file blocks.json; JSON file families.json; JSON file index.json; JSON file names.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 2, estate-url 1); used by 10; mentioned by 0 ### Stars — Index Page - File: stars/index.html (HTML, 24 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/index.html#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1562.html#f2 - Published at: https://ventusltd.github.io/stars/ - Synopsis: A web page using data from the ventus-grid-engine repository. Published at https://ventusltd.github.io/stars/. - What it achieves (comment): GlobalGrid2050 architecture development. - What it does: It draws its content. Side effects: changes the web page (DOM). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 37 files: Pilot (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/); Testcode — Code Map (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/); Galaxies Wafers — App (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/); Card (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/31-code-card-everywhere/); and 33 more. Reached from 356 other entry points, including 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html); Galaxies Wafers — Index Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/); Galaxies Wafers — Iterations Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/). It is itself an entry point, published at https://ventusltd.github.io/stars/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 37; mentioned by 0 ### Standalone - File: stars/library/standalone.mjs (JavaScript, 12585 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/library/standalone.mjs#L1-L12585 - Page: https://code.globalgrid2050.com/explore-code/s/1562.html#f3 - Synopsis: A JavaScript module in the library folder of Stars that maps Renewable Energy Planning Database (REPD) master and heavy emitters UK, using SHA-256, and uses data from the GridAtlas repository. - What it achieves (comment): It snaps coordinate (`snapCoordinate`), paints cursor (`paintCursor`) and sets plan (`setPlan`). Compiled library of self-contained JavaScript functions that appear in two or more places across Ventusltd code. Its code works with 33 kV, 132 kV and 275 kV. It responds to abort events. - What it does: It maps REPD master, heavy emitters UK, notice and substations. Defines 1111 functions or classes, including f1586_invariant, f8767_representativePoint, f8768_voltagesKv, f8772_voltageOf, f8773_ratingsOf. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: substations, 750kV, 400kV, 275kV, 132kV, 66kV. - Inputs & outputs: In: data source: gridatlas data; JSON file repd_master.json; JSON file heavy_emitters_uk.json; JSON file notice.json; form fields (user input). Out: canvas drawing. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. Voltage levels named: 750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 1.5kV, 1500V. - Downstream impact: Used directly by 4 files: Code (stars, https://ventusltd.github.io/stars/code.html); Proof (stars); Modular Star Workflow (stars); Testcode — Code Record Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-record/). Reached from 383 other entry points, including Code Generator — Index Page (code-generator, https://ventusltd.github.io/code-generator/); Generate (code-generator, https://ventusltd.github.io/code-generator/); 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html). - Signatures: `export f1586_invariant(condition, message)`; `export f8767_representativePoint(geometry)`; `export f8768_voltagesKv(properties)`; `export f8772_voltageOf(node)`; `export f8773_ratingsOf(row)`; `export f8775_parametersOf(row)`; `export f5168_escapeHTML(value)`; `export f8321_suppliedArrivalFields(params, repdRef)`; `export f8850__anonymous_(menu)`; `export f8786_crossing(graph, nearNode, farNode)`; `export f8788_legality(kind, cross)`; `export f8789_startNodes(graph, site, voltageKv)`; `export f8791__anonymous_(acc, s)`; `export f8774_physicalUnits(records)`; `export f8299_rowObject(row)`; `export f5167_deepFreeze(obj)`; `export f5169_normalizeStatus(status)`; `export f5175_fmt(n, decimals)`; `export f5206__anonymous_(f)`; `export f5652_snapLines(features, subs)`; `export f8955_escapeAttribute(value)`; `export f5799_evalFilter(filter, props)`; `export f5800__anonymous_(acc, f)`; `export f5802__anonymous_(acc, f)`; `export f8281_escapeHtml(value)` (and 15 more) - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - VEDIC: REPRESENT (GG2050-VEDIC-000002): GridAtlas / Geodesy · Computer science / Geometry processing. geojson_geometry -> coordinate_pair_or_null - VEDIC: VOLTAGE (GG2050-VEDIC-000003): GridAtlas / Geodesy · Computer science / Data normalisation. voltage_properties -> kilovolt_list - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file repd_master.json; JSON file heavy_emitters_uk.json; JSON file notice.json; form fields (user input)]; out [canvas drawing]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [750kV, 400kV, 275kV, 132kV, 66kV, 33kV, 1.5kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 4; mentioned by 0 ### Blocks - File: stars/modular-star/blocks.mjs (JavaScript, 122 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/blocks.mjs#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/1580.html#f2 - Synopsis: A JavaScript module in the modular star folder of Stars that fetches blocks catalogue, table, engine graph and numbers from the star-maker and ventus-grid-engine repositories. - What it achieves (comment): It gets JSON (`getJson`) and is built from the arg step (`arg`) and the fold step (`fold`). The periodic table of blocks: every family grouped into a plain-language block with a permanent number. Its code works with 1 kV. It reads `./blocks-catalogue.json`. - What it does: It fetches blocks catalogue, table, engine graph and numbers. Defines 10 functions or classes, including arg, fold, getJson, add, lineageOf. Uses libraries node:fs, node:path. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 1kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 1kV. - Inputs & outputs: In: data source: star-maker data; data source: ventus-grid-engine data; JSON file blocks-catalogue.json; JSON file table.json; JSON file engine-graph.json; JSON file numbers.json; command-line arguments. Out: JSON file families.json; JSON file blocks.json; JSON file presets.json; JSON file graph.json. Voltage levels named: 1kV. - Downstream impact: Used directly by 1 file: Modular Star Workflow (stars). - Signatures: `arg(k, d)`; `fold(p)`; `getJson(u)`; `add(b)`; `lineageOf(p)`; `autoTitle(lineage)`; `stampOf(p)`; `nameOf(n)`; `esc(s)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: star-maker data; data source: ventus-grid-engine data; JSON file blocks-catalogue.json; JSON file table.json; JSON file engine-graph.json; JSON file numbers.json; command-line arguments]; out [JSON file families.json; JSON file blocks.json; JSON file presets.json; JSON file graph.json]; crs []; voltages [1kV] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Build - File: stars/modular-star/build.mjs (JavaScript, 349 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/build.mjs#L1-L349 - Page: https://code.globalgrid2050.com/explore-code/s/1580.html#f3 - Synopsis: A JavaScript module in the modular star folder of Stars that fetches live sites, engine graph, compounds and decays from the ventus-grid-engine repository. - What it achieves (comment): It lists repos (`listRepos`) and reads blobs (`readBlobs`). Modular star — scan the current code of every visible Ventusltd repository into the numbered database, then write the reports, the Spider graph, the prior-work catalogue and the compiled library. It reads `./live-sites.json`. - What it does: It fetches live sites, engine graph, compounds and decays. Defines 16 functions or classes, including arg, sh, listRepos, readBlobs, count. Uses libraries node:child_process, node:fs, node:zlib, node:path, acorn. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: data source: ventus-grid-engine data; JSON file live-sites.json; JSON file engine-graph.json; JSON file compounds.json; JSON file graph.json; command-line arguments. Out: JSON file graph.json; JSON file decays.json; JSON file engine-join.json; JSON file dependencies.json; JSON file names.json; JSON file index.json; JSON file source.json. - Downstream impact: Used directly by 1 file: Modular Star Workflow (stars). - Signatures: `arg(k, d)`; `sh(cmd, args, opts = {})`; `listRepos()`; `readBlobs(dir, oids)`; `count(t)`; `enc(p)`; `lineageOf(p)`; `gh(o)`; `esc(s)`; `tabletOf(t)`; `lineNumbers(p)`; `inlineCode(p)`; `codePage(n)`; `link(n, node, relation)`; `joins(engineJoin.get(f.n) || [])`; `usesOf(f)`; `fileDeclares(tablet)`; `needsOutside(c.needs ? JSON.parse(c.needs) : [])` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; JSON file live-sites.json; JSON file engine-graph.json; JSON file compounds.json; JSON file graph.json; command-line arguments]; out [JSON file graph.json; JSON file decays.json; JSON file engine-join.json; JSON file dependencies.json; JSON file names.json; JSON file index.json; JSON file source.json]; crs []; voltages [] - Edges: uses 2 estate files (script-call 1, estate-url 1); used by 1; mentioned by 0 ### Check Permanent - File: stars/modular-star/check-permanent.mjs (JavaScript, 13 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/check-permanent.mjs#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/1580.html#f4 - Synopsis: A JavaScript module in the modular star folder of Stars. - What it achieves (comment): Fails if any number from the previous database changed meaning or disappeared. - What it does: Uses libraries node:sqlite. Side effects: starts processes. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Modular Star Workflow (stars). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Coherence - File: stars/modular-star/coherence.mjs (JavaScript, 43 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/coherence.mjs#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1580.html#f5 - Synopsis: A JavaScript module in the modular star folder of Stars that reads blocks and reactions. - What it achieves (comment): It is built from the read step (`read`), the runs step (`runs`) and the size step (`size`). Coherence intelligent resume — the lab's own memory. It reads `code/index.json` and writes `resume/status.json`. - What it does: It loads blocks and reactions. Defines read, gh, runs, size. Uses libraries node:fs, node:child_process. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file index.json; JSON file blocks.json; JSON file graph.json; JSON file reactions.json. Out: JSON file status.json. - Downstream impact: Used directly by 1 file: Coherence Workflow (stars). - Signatures: `read(p)`; `gh(args)`; `runs(repo, n)`; `size(p)`; `decisions(read('CODE-UNIVERSE.md').match(/\*\*DECIDE \d\.[^\n]*/g) || [])` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file blocks.json; JSON file graph.json; JSON file reactions.json]; out [JSON file status.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Decision Record - File: stars/modular-star/decision-record.mjs (JavaScript, 76 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/decision-record.mjs#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1581.html#f1 - Synopsis: A JavaScript module in the modular star folder of Stars. - What it achieves (name): Defines `opt` and `get`. - What it does: It loads data. Defines opt, get. Uses libraries node:fs, node:path. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Decisions Workflow (stars). - Signatures: `opt(name)`; `get(...names)`; `supersedes(get('supersedes').match(/d\d{3,}/) || [])` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Decisions - File: stars/modular-star/decisions.mjs (JavaScript, 95 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/decisions.mjs#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/1581.html#f2 - Synopsis: A JavaScript module in the modular star folder of Stars that reads blocks. It reads JSON (`readJson`) and splits key (`splitKey`). - What it achieves (name): Defines `esc`, `readJson`, `splitKey` and 4 more. - What it does: It loads blocks. Defines 7 functions or classes, including esc, readJson, splitKey, keyNode, add. Uses libraries node:fs, node:path. Side effects: reads or writes files. - Inputs & outputs: In: JSON file blocks.json; command-line arguments. Out: JSON file graph.json. - Downstream impact: Used directly by 2 files: Decisions Workflow (stars); Modular Star Workflow (stars). - Signatures: `esc(s)`; `readJson(p)`; `splitKey(key)`; `keyNode(id)`; `add(node)`; `wire(from, to, type)`; `count(s)`; `ev(r.evidence || [])` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file blocks.json; command-line arguments]; out [JSON file graph.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0 ### Find Prior - File: stars/modular-star/find-prior.mjs (JavaScript, 31 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/find-prior.mjs#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/1581.html#f3 - Synopsis: A JavaScript module in the modular star folder of Stars that uses SHA-256. - What it achieves (comment): Before writing code: does it already exist somewhere in Ventusltd? - What it does: It fetches data. Uses libraries node:fs, node:zlib. Side effects: reads or writes files; makes network requests. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Functions - File: stars/modular-star/functions.py (Python, 36 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/functions.py#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/1581.html#f4 - Synopsis: A Python module in the modular star folder of Stars that uses SHA-256. - What it achieves (comment): Modular star helper: list Python functions and classes in source read from stdin. - What it does: Uses libraries ast, hashlib, json, sys. Side effects: starts processes. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Stars — Modular Star - File: stars/modular-star/lib.mjs (JavaScript, 277 lines) · role storage · stage ingest - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/lib.mjs#L1-L277 - Page: https://code.globalgrid2050.com/explore-code/s/1581.html#f5 - Synopsis: A JavaScript module that opens db (`openDb`), splits lines (`splitLines`) and rebuilds tablet (`rebuildTablet`), using SHA-256. It opens db (`openDb`), splits lines (`splitLines`) and rebuilds tablet (`rebuildTablet`). - What it achieves (comment): Modular star — shared logic. Every unique line gets a permanent number. - What it does: It fetches data. Defines 20 functions or classes, including sha256, gitBlobId, langOf, openDb, q. Uses libraries node:crypto, node:child_process, node:sqlite, node:path, node:url. Side effects: makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: browser IndexedDB; user-supplied file (file picker). - Downstream impact: Used directly by 4 files: Build (stars); Find Prior (stars); Test (stars); Wandering (stars). Reached from 1 other entry point, including Modular Star Workflow (stars). - Signatures: `export sha256(b)`; `export gitBlobId(bytes)`; `export langOf(p)`; `export openDb(file)`; `export splitLines(bytes)`; `export unpack(blob)`; `export rebuildTablet(ctx, tabletN)`; `export elementSource(ctx, te)`; `export extractJs(src, lineOffset = 0, colOffset = 0)`; `export extractHtml(text)`; `export extractPy(bytes)`; `export extractAny(lang, bytes)`; `export ingestFile(ctx, { repo, commit, path: p, bytes, oid, seen = new Date().toISOString() })`; `q(sql)`; `pack(nums)`; `lineNumber(ctx, bytes)`; `tokenKey(text)`; `patternNames(p, into)`; `analyse(fn)`; `nameOf(node, parent, src)`; `isMethod(parent?.type === 'MethodDefinition')`; `type(attrs.match(/\btype\s*=\s*["']?([^"'\s>]+)/i) || [])` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [browser IndexedDB; user-supplied file (file picker)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Lines - File: stars/modular-star/lines.mjs (JavaScript, 27 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/lines.mjs#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1581.html#f6 - Synopsis: A JavaScript module in Stars that writes `LINES.md`: every unique line of code in the numbered database, in number order, one row per line. keeps them). - What it achieves (name): Defines `arg` and `write`. - What it does: Defines arg, write. Uses libraries node:fs, node:sqlite. Side effects: reads or writes files. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Modular Star Workflow (stars). - Signatures: `arg(k, d)`; `write(s)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Pair Verdict - File: stars/modular-star/pair-verdict.mjs (JavaScript, 8 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/pair-verdict.mjs#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1581.html#f7 - Synopsis: A JavaScript module in the modular star folder of Stars. It is built from the pair verdict helper (`pairVerdict`). - What it achieves (comment): Thresholds apply to actual red observations, never to 1 minus a smoothed green probability. - What it does: It calculates its inputs. Defines pairVerdict. - Downstream impact: Used directly by 2 files: Links and Evidence Test (stars); Reactions (stars). Reached from 1 other entry point, including Modular Star Workflow (stars). - Signatures: `export pairVerdict({ green, red, total })` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Proof - File: stars/modular-star/proof.mjs (JavaScript, 211 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/proof.mjs#L1-L211 - Page: https://code.globalgrid2050.com/explore-code/s/1582.html#f1 - Synopsis: A JavaScript module in the modular star folder of Stars that reads blocks, reactions, parts and chemistry. It runs rag (`runRag`) and runs word (`runWord`). - What it achieves (comment): Proof of work: what ran, when, what it produced and which checks it passed, as a Spider graph. - What it does: It loads blocks, reactions, parts and chemistry. Defines 24 functions or classes, including arg, esc, mono, kb, utc. Uses libraries node:fs, node:child_process, node:path. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file graph.json; JSON file blocks.json; JSON file reactions.json; JSON file parts.json; JSON file chemistry.json; JSON file vedic.json; JSON file random.json; command-line arguments. Out: JSON file graph.json. - Downstream impact: Used directly by 1 file: Modular Star Workflow (stars). - Signatures: `arg(k, d)`; `esc(s)`; `mono(s)`; `kb(n)`; `utc(iso)`; `ago(iso)`; `dur(a, b)`; `gh(...args)`; `runsOf(repo)`; `stepsOf(repo, id)`; `lastCommitDate(repo, p)`; `runRag(r)`; `runWord(r)`; `stepLine(steps)`; `edge(from, to, type)`; `generatedUtc(f)`; `summaryUpdated()`; `apps(gh('api', 'repos/Ventusltd/code-generator/contents/apps') || [])`; `stepOf(wid, re)`; `stepRag(s)`; `stepWord(wid, s)`; `rebuild(() => { try { const m = readFileSync(path.join(OUT, 'modular/SUMMARY.md'), 'utf8').match(/Check: ([^\n]+)/); return m...)`; `mid(s)`; `mlabel(s)`; `show(n)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file graph.json; JSON file blocks.json; JSON file reactions.json; JSON file parts.json; JSON file chemistry.json; JSON file vedic.json; JSON file random.json; command-line arguments]; out [JSON file graph.json]; crs []; voltages [] - Edges: uses 2 estate files (script-call 1, estate-url 1); used by 1; mentioned by 0 ### Reactions - File: stars/modular-star/reactions.mjs (JavaScript, 77 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/reactions.mjs#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1582.html#f2 - Synopsis: A JavaScript module in the modular star folder of Stars that reads blocks, families, live sites and compounds. - What it achieves (comment): It is built from the arg step (`arg`), the fold step (`fold`) and the title of helper (`titleOf`). Chemistry of blocks: which combinations are known to work, from evidence rather than chance. It reads `./live-sites.json`. - What it does: It loads blocks, families, live sites and compounds. Defines arg, fold, titleOf. Uses libraries node:fs, node:path. Side effects: reads or writes files. - Inputs & outputs: In: JSON file blocks.json; JSON file families.json; JSON file live-sites.json; JSON file compounds.json; command-line arguments. Out: JSON file reactions.json. - Downstream impact: Used directly by 1 file: Modular Star Workflow (stars). - Signatures: `arg(k, d)`; `fold(p)`; `st(p.path.match(/\d{12}|\d{8}/g) || [''])`; `titleOf(a)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file blocks.json; JSON file families.json; JSON file live-sites.json; JSON file compounds.json; command-line arguments]; out [JSON file reactions.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Relate - File: stars/modular-star/relate.mjs (JavaScript, 129 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/relate.mjs#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/1582.html#f3 - Synopsis: A JavaScript module in the modular star folder of Stars. It reads JSON (`readJson`) and is built from the edges of helper (`edgesOf`) and the id of helper (`idOf`). - What it achieves (name): Defines `opt`, `phrase`, `readJson` and 5 more. - What it does: It loads data. Defines 8 functions or classes, including opt, phrase, readJson, edgesOf, idOf. Uses libraries node:fs, node:path. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file graph.json; command-line arguments. - Downstream impact: Used directly by 1 file: Modular Star Workflow (stars). - Signatures: `export relate(graph, { decisions = decisionsFor, isDecisionsGraph = false } = {})`; `opt(k, d)`; `phrase(tpl, n)`; `readJson(p)`; `edgesOf(graph)`; `idOf(r)`; `withLine(reason, line)`; `bump(id, key)`; `kb(readFileSync(p).length / 1024)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file graph.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Sense - File: stars/modular-star/sense.mjs (JavaScript, 315 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/sense.mjs#L1-L315 - Page: https://code.globalgrid2050.com/explore-code/s/1583.html#f1 - Synopsis: A JavaScript module in the modular star folder of Stars that reads blocks, reactions, families and dependencies. It reads JSON (`readJson`) and finds block (`findBlock`). - What it achieves (name): Defines `readJson`, `esc`, `plural` and 7 more. It reads `blocks/blocks.json`. - What it does: It loads blocks, reactions, families and dependencies. Defines 10 functions or classes, including readJson, esc, plural, findBlock, family. Uses libraries node:fs, node:path. Side effects: reads or writes files. - Inputs & outputs: In: JSON file blocks.json; JSON file reactions.json; JSON file families.json; JSON file dependencies.json; JSON file decays.json; JSON file engine-join.json; JSON file index.json; JSON file engine-graph.json. Out: JSON file graph.json. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `readJson(p)`; `esc(s)`; `plural(n, w)`; `findBlock(ref)`; `family(n)`; `familyGh(rec)`; `add(node)`; `wire(from, to, type)`; `blockId(b)`; `blockGh(b)`; `throwers(d.families || [])`; `hubs(deps.hubs || [])` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file blocks.json; JSON file reactions.json; JSON file families.json; JSON file dependencies.json; JSON file decays.json; JSON file engine-join.json; JSON file index.json; JSON file engine-graph.json]; out [JSON file graph.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Structure - File: stars/modular-star/structure.mjs (JavaScript, 139 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/structure.mjs#L1-L139 - Page: https://code.globalgrid2050.com/explore-code/s/1583.html#f2 - Synopsis: A JavaScript module in the modular star folder of Stars that fetches blocks, live sites and engine graph from the ventus-grid-engine repository. - What it achieves (comment): It reads JSON (`readJson`), gets JSON (`getJson`) and registers text (`registerText`). The structure of GlobalGrid2050 architecture development, top-down: Estate → repositories → categories → the named blocks → the engine's canonical modules, as a Spider graph whose enumeration reads like a table of contents. It reads `blocks/blocks.json`. - What it does: It fetches blocks, live sites and engine graph. Defines 15 functions or classes, including arg, esc, mono, kb, utc. Uses libraries node:fs, node:path. Side effects: reads or writes files; makes network requests. - Inputs & outputs: In: data source: ventus-grid-engine data; JSON file blocks.json; JSON file source.json; JSON file live-sites.json; JSON file engine-graph.json; JSON file graph.json; command-line arguments. Out: JSON file graph.json. - Downstream impact: Used directly by 1 file: Modular Star Workflow (stars). - Signatures: `arg(k, d)`; `esc(s)`; `mono(s)`; `kb(n)`; `utc(iso)`; `readJson(f, d)`; `getJson(u)`; `catTitle(id)`; `named(table.blocks || [])`; `registerText(() => { try { return readFileSync(path.join(OUT, 'spider', 'register.py'), 'utf8'); } catch { return ''; } })`; `engineModules(engineGraph?.nodes || [])`; `repoRole(r)`; `edge(from, to, type)`; `rel(b)`; `blockOfModule(label)`; `mid(s)`; `ml(s)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; JSON file blocks.json; JSON file source.json; JSON file live-sites.json; JSON file engine-graph.json; JSON file graph.json; command-line arguments]; out [JSON file graph.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Test - File: stars/modular-star/test.mjs (JavaScript, 84 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/test.mjs#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/1583.html#f3 - Synopsis: A JavaScript module in the modular star folder of Stars. - What it achieves (name): Defines `one`. - What it does: It tests its inputs. Defines B, one. Uses libraries node:test, node:assert/strict, node:fs, node:os, node:child_process. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Downstream impact: Used directly by 1 file: Modular Star Workflow (stars). - Signatures: `B(s)`; `one(ctx, sql)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Universe Compact Proof - File: stars/modular-star/universe-compact-proof.mjs (JavaScript, 18 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/universe-compact-proof.mjs#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1583.html#f4 - Synopsis: A JavaScript module in the modular star folder of Stars that uses SHA-256. - What it achieves (name): Defines `read`, `expand` and `has`. - What it does: It loads data. Defines read, expand, has. Uses libraries node:fs/promises. Side effects: reads or writes files. - Inputs & outputs: In: command-line arguments. - Signatures: `read(entry)`; `expand(value)`; `has(kind,n)` - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of testcode/sandbox/202609141527-numbered-universe/verify.mjs) · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Universe Compact - File: stars/modular-star/universe-compact.mjs (JavaScript, 27 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/universe-compact.mjs#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1583.html#f5 - Synopsis: A JavaScript module in the modular star folder of Stars that reads families, using SHA-256. - What it achieves (name): Defines `json`, `table` and `sorted`. - What it does: It loads families. Defines json, table, sorted. Uses libraries node:fs/promises, node:fs, node:path. Side effects: reads or writes files. - Inputs & outputs: In: JSON file families.json; JSON file index.json; command-line arguments. Out: JSON file. - Signatures: `json(p)`; `table(kind,records)`; `flush()`; `sorted(map)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file families.json; JSON file index.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Universe Model - File: stars/modular-star/universe-model.mjs (JavaScript, 54 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/universe-model.mjs#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1583.html#f6 - Synopsis: A JavaScript module in the modular star folder of Stars that uses SHA-256. It reads universe (`readUniverse`). - What it achieves (name): Defines `add`, `digest`, `unpack` and 1 more. - What it does: It loads data. Defines add, digest, unpack, readUniverse. Uses libraries node:sqlite, node:crypto, node:fs. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: Universe Compact (stars). - Signatures: `export digest(value)`; `export unpack(bytes)`; `export readUniverse(dbPath, groups, codeIndex)`; `add(map, key, value)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### View - File: stars/modular-star/universe-viewer/view.js (JavaScript, 26 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/universe-viewer/view.js#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/1583.html#f7 - Synopsis: A JavaScript file in the universe viewer folder of Stars that works with choose relation (`chooseRelation`) and draws SVG graphics, using SHA-256. - What it achieves (name): It is built from the button step (`button`), the SVG step (`svg`) and the render step (`render`). Defines `json`, `record`, `array` and 5 more. It responds to click, keydown and hashchange events. - What it does: It draws its content. Defines 10 functions or classes, including el, json, record, array, go. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Inputs & outputs: Out: SVG drawing. - Signatures: `el(id)`; `json(file)`; `record(kind,key)`; `array(value)`; `go(kind,key)`; `button(text,action)`; `svg(tag,attrs,text)`; `render()`; `chooseRelation()`; `show()` - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of testcode/sandbox/202609141552-numbered-universe/view.js) · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Wandering - File: stars/modular-star/wandering.mjs (JavaScript, 83 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/wandering.mjs#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/1584.html#f1 - Synopsis: A JavaScript module in the modular star folder of Stars. It is built from the arg step (`arg`). - What it achieves (comment): Wandering star — walk the full commit history of every public Ventusltd repository and add every version of every code file ever written to the numbered database, with the date it was written. - What it does: It lists and searches its content. Defines arg, sh. Uses libraries node:child_process, node:fs, node:path. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Modular Star Workflow (stars). - Signatures: `arg(k, d)`; `sh(args, opts = {})` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Why - File: stars/modular-star/why.mjs (JavaScript, 107 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/modular-star/why.mjs#L1-L107 - Page: https://code.globalgrid2050.com/explore-code/s/1584.html#f2 - Synopsis: A JavaScript module in the modular star folder of Stars that reads decays, engine join, reactions and blocks. - What it achieves (name): It reads JSON (`readJson`) and is built from the plural step (`plural`) and the block name helper (`blockName`). Defines `readJson`, `maybe`, `esc` and 8 more. - What it does: It loads decays, engine join, reactions and blocks. Defines 11 functions or classes, including readJson, maybe, esc, plural, blockName. Uses libraries node:fs, node:path. Side effects: reads or writes files. - Inputs & outputs: In: JSON file decays.json; JSON file engine-join.json; JSON file reactions.json; JSON file blocks.json; JSON file families.json; JSON file graph.json; command-line arguments. - Downstream impact: Used directly by 1 file: Modular Star Workflow (stars). - Signatures: `readJson(p)`; `maybe(p)`; `esc(s)`; `plural(n, w, ws = w + 's')`; `blockName(sym)`; `lineList(lines)`; `whyDecay(needle)`; `whyFamily(n)`; `whyBlock(sym)`; `why(node)`; `withWhy(reason, sentence)`; `red(graph.nodes || [])` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file decays.json; JSON file engine-join.json; JSON file reactions.json; JSON file blocks.json; JSON file families.json; JSON file graph.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Features - File: stars/spider/features.yml (YAML, 77 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/spider/features.yml#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1584.html#f3 - Synopsis: A configuration file in the spider folder of Stars covering chemistry and VEDIC. - What it achieves (comment): Graphs this repository publishes for the Spider dashboard (ventus-grid-engine `spider/manifest.json`). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file graph.json; JSON file chemistry.json; JSON file vedic.json; JSON file random.json. - Downstream impact: Used directly by 1 file: Sources (ventus-grid-engine). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file graph.json; JSON file chemistry.json; JSON file vedic.json; JSON file random.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Register - File: stars/spider/register.py (Python, 123 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/spider/register.py#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/1584.html#f4 - Synopsis: A Python module in the spider folder of Stars that registers the graphs this repository publishes for the Spider dashboard. - What it achieves (name): Defines `adapt` and `yaml_str`. - What it does: It loads data. Defines adapt, yaml_str. Uses libraries json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file graph.json. - Downstream impact: Used directly by 2 files: Modular Star Workflow (stars); Refresh Workflow (stars). - Signatures: `adapt(graph)`; `yaml_str(s)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file graph.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0 ### Start - File: stars/start.html (HTML, 114 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/start.html#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/1584.html#f5 - Published at: https://ventusltd.github.io/stars/start.html - Synopsis: A web page in Stars covering solar, substations and cables, and uses data from the ventus-grid-engine and code-generator repositories. Published at https://ventusltd.github.io/stars/start.html. - What it achieves (comment): GlobalGrid2050 architecture development. - What it does: It draws solar, substations and cables. Defines go. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, substations, cables. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 4 files: Code (stars, https://ventusltd.github.io/stars/code.html); Stars — Index Page (stars, https://ventusltd.github.io/stars/); Table (stars, https://ventusltd.github.io/stars/table.html); Table — Block Page Rnd Page (testcode). Reached from 382 other entry points, including Code Generator — Index Page (code-generator, https://ventusltd.github.io/code-generator/); Generate (code-generator, https://ventusltd.github.io/code-generator/); 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html). It is itself an entry point, published at https://ventusltd.github.io/stars/start.html. - Signatures: `go(id, push)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 4; mentioned by 0 ### Table - File: stars/table.html (HTML, 118 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/table.html#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/1584.html#f6 - Published at: https://ventusltd.github.io/stars/table.html - Synopsis: A web page in Stars that draws blocks and uses data from the ventus-grid-engine and Code Generator repositories. Published at https://ventusltd.github.io/stars/table.html. It closes panel (`closePanel`) and shows category (`showCategory`). - What it achieves (comment): Periodic table of GlobalGrid2050 architecture development. It reads `./blocks/blocks.json`. - What it does: It draws blocks. Defines 7 functions or classes, including $, esc, byName, closePanel, show. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: code-generator data; JSON file blocks.json. Out: web page. - Downstream impact: Used directly by 28 files: Table (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/05-periodic-table/); Code (stars, https://ventusltd.github.io/stars/code.html); Stars — Index Page (stars, https://ventusltd.github.io/stars/); Start (stars, https://ventusltd.github.io/stars/start.html); and 24 more. Reached from 359 other entry points, including 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html); Galaxies Wafers — App (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/); Galaxies Wafers — Index Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/). It is itself an entry point, published at https://ventusltd.github.io/stars/table.html. - Signatures: `$(s)`; `esc(s)`; `byName(a, b)`; `closePanel()`; `show(sym)`; `deps(b.depends_on || [])`; `usedBy(b.used_by || [])`; `inside(b.inside || [])`; `showCategory(id)`; `tile(b, c)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: code-generator data; JSON file blocks.json]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 28; mentioned by 0 ### Check Graph - File: stars/tools/check-graph.mjs (JavaScript, 82 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/tools/check-graph.mjs#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/1585.html#f1 - Synopsis: A JavaScript module in the tools folder of Stars that checks a Spider graph the way the dashboard's receiver reads it (ventus-grid-engine `index.html`, ids resolve; rag in green|amber|red|blue|grey. - What it achieves (readme): The README says: The Modular star workflow runs `check-graph.mjs` on `modular/graph.json` and `blocks/graph.json` after the blocks are built, so a graph the dashboard could not read fails the run before it is published. - What it does: It fetches data. Uses libraries node:fs. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: README: "The Modular star workflow runs `check-graph.mjs` on `modular/graph.json` and `blocks/graph.json` after the blocks are built, so a graph the dashboard could not read fails the run before it is published." - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 2 files: Decisions Workflow (stars); Modular Star Workflow (stars). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Needs Audit - File: stars/tools/needs-audit.mjs (JavaScript, 76 lines) · role storage · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/tools/needs-audit.mjs#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1585.html#f2 - Synopsis: A JavaScript module in the tools folder of Stars that fetches blocks catalogue. It is built from the arg step (`arg`). - What it achieves (comment): Audit of "needs": the names functions need from outside their own file, across every family record in `code/f/*.json`. - What it does: It fetches blocks catalogue. Defines arg. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file blocks-catalogue.json; JSON file index.json; command-line arguments. - Signatures: `arg(k, d)`; `looksBuiltIn(n)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file blocks-catalogue.json; JSON file index.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Pages Check - File: stars/tools/pages-check.mjs (JavaScript, 76 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/tools/pages-check.mjs#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1585.html#f3 - Synopsis: A JavaScript module in the tools folder of Stars that fetches blocks, families and names. - What it achieves (comment): It is built from the arg step (`arg`), the minutes since commit helper (`minutesSinceCommit`) and the head step (`head`). Check the published pages of this repository the way a phone reaches them: each page, every file the page host outside our own (no CDN is allowed: the pages must work with the files served here). - What it does: It fetches blocks, families and names. Defines arg, kb, minutesSinceCommit, head, judge. Uses libraries node:fs, node:child_process. Side effects: reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: JSON file blocks.json; JSON file families.json; JSON file index.json; JSON file names.json; JSON file 0.json; JSON file 1.json; command-line arguments. - Downstream impact: Used directly by 1 file: Modular Star Workflow (stars). - Signatures: `arg(k, d)`; `kb(n)`; `minutesSinceCommit(path)`; `head(path)`; `judge(path, res, max)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file blocks.json; JSON file families.json; JSON file index.json; JSON file names.json; JSON file 0.json; JSON file 1.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Run Log - File: stars/tools/run-log.mjs (JavaScript, 39 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/tools/run-log.mjs#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/1585.html#f4 - Synopsis: A JavaScript module in the tools folder of Stars. It is built from the arg step (`arg`). - What it achieves (comment): The lines that matter from one workflow registered, repository counts) plus every error and stack trace, with timestamps and colour codes stripped. - What it does: Defines arg, gh. Uses libraries node:child_process. Side effects: starts processes. - Inputs & outputs: In: command-line arguments. - Signatures: `arg(k, d)`; `gh(args)`; `mins((Date.parse(run.updatedAt) - Date.parse(run.createdAt)) / 60000)`; `text(parts.length >= 3 ? parts.slice(2).join('\t') : raw)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Status - File: stars/tools/status.mjs (JavaScript, 59 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/tools/status.mjs#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/1585.html#f5 - Synopsis: A JavaScript module in the tools folder of Stars that fetches blocks and reactions. It is built from the span step (`span`) and the mark step (`mark`). - What it achieves (comment): One-call status of the automation: recent runs of every workflow in stars and code-generator, whether the cron schedule has ever fired, the live size and HTTP status of the published files, and the registry's graphs. - What it does: It fetches blocks and reactions. Defines gh, span, kb, mark. Uses libraries node:child_process. Side effects: makes network requests; starts processes. - Inputs & outputs: In: JSON file blocks.json; JSON file reactions.json; JSON file graph.json; JSON file index.json. - Signatures: `gh(args)`; `span(ms)`; `kb(n)`; `mark(r)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file blocks.json; JSON file reactions.json; JSON file graph.json; JSON file index.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Check Policy - File: stones/tools/check-policy.mjs (JavaScript, 60 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/stones/blob/45b6b3eed03dca5efac4fe1b443d1a6764d7838d/tools/check-policy.mjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/1585.html#f6 - Synopsis: A JavaScript module in the tools folder of Stones that uses SHA-256. - What it achieves (name): Its name says it checks policy. Defines `field`. - What it does: It loads data. Defines field. Uses libraries node:fs, node:crypto, node:path. Side effects: reads or writes files; starts processes. - Downstream impact: Used directly by 1 file: Policy Workflow (stones). - Signatures: `field(k)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Verify - File: testcode/sandbox/202609141527-numbered-universe/verify.mjs (JavaScript, 18 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609141527-numbered-universe/verify.mjs#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1585.html#f7 - Synopsis: A JavaScript module in the sandbox folder of Testcode that uses SHA-256. - What it achieves (name): Defines `read`, `expand` and `has`. - What it does: It loads data. Defines read, expand, has. Uses libraries node:fs/promises. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Signatures: `read(entry)`; `expand(value)`; `has(kind,n)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### View - File: testcode/sandbox/202609141552-numbered-universe/view.js (JavaScript, 26 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609141552-numbered-universe/view.js#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/1585.html#f8 - Synopsis: A JavaScript file in the sandbox folder of Testcode that works with choose relation (`chooseRelation`) and draws SVG graphics, using SHA-256. - What it achieves (name): It is built from the button step (`button`), the SVG step (`svg`) and the render step (`render`). Defines `json`, `record`, `array` and 5 more. It responds to click, keydown and hashchange events. - What it does: It draws its content. Defines 10 functions or classes, including el, json, record, array, go. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: SVG drawing. - Signatures: `el(id)`; `json(file)`; `record(kind,key)`; `array(value)`; `go(kind,key)`; `button(text,action)`; `svg(tag,attrs,text)`; `render()`; `chooseRelation()`; `show()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Sandbox — Galaxy Bond - File: testcode/sandbox/202609151802-galaxy-bond/app.mjs (JavaScript, 73 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609151802-galaxy-bond/app.mjs#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/1585.html#f9 - Synopsis: A JavaScript module in Testcode that draws on a canvas. It is built from the number step (`number`), the make step (`make`) and the string step (`string`). - What it achieves (readme): The README says: Required browser files are `index.html`, `style.css`, `app.mjs`, `report.json`, and the unchanged `wafer.mjs`. It reads `./report.json`. It responds to click, input and change events. - What it does: It draws its content. Defines 10 functions or classes, including $, number, make, string, field. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "Required browser files are `index.html`, `style.css`, `app.mjs`, `report.json`, and the unchanged `wafer.mjs`." - Inputs & outputs: In: JSON file report.json. Out: canvas drawing. - Downstream impact: Used directly by 1 file: Sandbox — Galaxy Bond Page (testcode). - Signatures: `$(id)`; `number(n)`; `make(tag, text, className)`; `string(value)`; `field(parent, title, value)`; `inspect(row)`; `filter()`; `draw()`; `plot(key, radius)`; `start()` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file report.json]; out [canvas drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Bond Validator - File: testcode/sandbox/202609151802-galaxy-bond/bond_validator.py (Python, 398 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609151802-galaxy-bond/bond_validator.py#L1-L398 - Page: https://code.globalgrid2050.com/explore-code/s/1586.html#f1 - Synopsis: A Python command-line tool in the sandbox folder of Testcode that reads u32 (`read_u32`), using SHA-256. - What it achieves (comment): It reads JSON (`read_json`) and is built from the integrity checks helper (`integrity_checks`) and the audit step (`audit`). The Bond v1: deterministic checks, with explicit limits to what was checked. It accepts `--manifest`, `--layers-map` and `--issued-keys`. - What it does: It loads data. Defines 19 functions or classes, including _int, _deviation, _predicate, _one, _neq. Uses libraries __future__, argparse, collections, hashlib, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Test Bond Validator (testcode). - Signatures: `_int(value)`; `_deviation(field, expected, actual, feature_index=None)`; `_predicate(name, text, checks, total=None)`; `_one(name, text, ok, field, expected, actual)`; `_neq(row, field, text, reason)`; `_lookup(mapping, entry)`; `_family_index(families, family_lines)`; `_geometry_keys(g)`; `_block_index(register)`; `integrity_checks(entry, doc, raw=None, *, duplicate_id=False)`; `_disclosures(row, doc, features)`; `_structural(row, doc, features, issued)`; `_anchors_and_routes(row, features, family_index)`; `_copying(row, features, independent_lines)`; `_module(row, doc, features, match, blocks, family_index)`; `audit(manifest, layers, issued_keys, families=None, family_lines=None, *, raw_bytes=None, independent_lines=None, block_reg...)`; `read_u32(path)`; `main(argv=None)`; `read_json(path)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Sandbox — Galaxy Bond Page - File: testcode/sandbox/202609151802-galaxy-bond/index.html (HTML, 31 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609151802-galaxy-bond/index.html#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/1586.html#f2 - Synopsis: A web page in Testcode that reads inputs for status. - What it achieves (comment): The Bond — inspect the evidence behind a layer. - What it does: It draws its content. Uses libraries style.css. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "Required browser files are `index.html`, `style.css`, `app.mjs`, `report.json`, and the unchanged `wafer.mjs`." - Inputs & outputs: In: JSON file report.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file report.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 0; mentioned by 0 ### Test Bond Validator - File: testcode/sandbox/202609151802-galaxy-bond/test_bond_validator.py (Python, 198 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609151802-galaxy-bond/test_bond_validator.py#L1-L198 - Page: https://code.globalgrid2050.com/explore-code/s/1586.html#f3 - Synopsis: A test in the sandbox folder of Testcode that checks Bond Validator, using SHA-256. - What it achieves (name): It is built from the predicate step (`predicate`), the bond tests class (`BondTests`) and the corrupt step (`corrupt`). Defines `feature`, `fixture`, `run` and 28 more. - What it does: It tests its inputs. Defines 31 functions or classes, including feature, fixture, run, predicate, BondTests. Uses libraries copy, hashlib, json, pathlib, unittest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file example.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `feature(key=101, family=9)`; `fixture(features=None, evidence=BLOCKS, note="")`; `run(doc, *, manifest_edit=None, families=None, keys=None, independent_lines=None, block_register=None)`; `predicate(report, name)`; `class BondTests`; `test_known_valid_point(self)`; `test_unissued_key(self)`; `test_family_number_is_not_key(self)`; `test_family_number_can_be_issued_but_wrong_anchor(self)`; `test_first_line_mismatch(self)`; `test_anchor_family(self)`; `test_coordinates_forbidden_even_with_valid_key(self)`; `test_stale_manifest_count_hash_bytes(self)`; `corrupt(m)`; `test_duplicate_manifest_ids(self)`; `duplicate(m)`; `test_duplicate_feature_ids(self)`; `test_honest_empty_disclosed(self)`; `test_disclosure_does_not_waive_bad_key(self)`; `test_unresolved_disclosure_exact_field(self)`; `test_issued_keys_reject_non_uint32_values(self)`; `test_cli_refuses_existing_output_before_reading_inputs(self)`; `test_unsupported_prose_is_verbatim_and_not_honoured(self)`; `test_copying_does_not_trust_same_feature_fields(self)`; `test_copying_independent_both_predicates(self)` (and 6 more) - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file example.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Browser Check - File: testcode/sandbox/202609151943-galaxy-profile/browser-check.mjs (JavaScript, 24 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609151943-galaxy-profile/browser-check.mjs#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1586.html#f4 - Synopsis: A JavaScript module in the sandbox folder of Testcode that uses SHA-256. - What it achieves (name): Its code works with 0 kWh. - What it does: It draws its content. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: JSON file receipt.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Model - File: testcode/sandbox/202609151943-galaxy-profile/model.mjs (JavaScript, 21 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609151943-galaxy-profile/model.mjs#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1586.html#f5 - Synopsis: A JavaScript module in the sandbox folder of Testcode that parses profile (`parseProfile`) (units: kW), using SHA-256. It parses number (`parseNumber`) and parses profile (`parseProfile`). - What it achieves (readme): The README says: The module digest is recorded in `model.mjs` and checked before test execution and in browser response evidence. - What it does: Defines parseNumber, parseProfile, record, calculate. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "The module digest is recorded in `model.mjs` and checked before test execution and in browser response evidence." - Downstream impact: Used directly by 1 file: Browser Check (testcode). - Signatures: `export parseNumber(text)`; `export parseProfile(text)`; `export calculate(engine,{profileKw,capKw,intervalHours})`; `record(result)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Model Test - File: testcode/sandbox/202609151943-galaxy-profile/model.test.mjs (JavaScript, 16 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609151943-galaxy-profile/model.test.mjs#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/1586.html#f6 - Synopsis: A test in the sandbox folder of Testcode that uses SHA-256. - What it does: It tests its inputs. Uses libraries node:test. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Spider Universe Served - File: testcode/tools/spider-universe-served.mjs (JavaScript, 90 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/tools/spider-universe-served.mjs#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/1587.html#f1 - Synopsis: A JavaScript module in the tools folder of Testcode using data from the stars repository. It is built from the act step (`act`). - What it achieves (comment): Served-page proof for a GlobalGrid2050 Spider universe generation on `globalgrid2050.com/testcode/` /. - What it does: It draws its content. Defines act. Uses libraries playwright. Side effects: changes the web page (DOM); makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: stars data; JSON file index.json. - Downstream impact: Used directly by 1 file: Spider Universe Served Workflow (testcode). - Signatures: `act(loc)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; JSON file index.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### To Kuiper - File: worlds-/src/to_kuiper.py (Python, 151 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/to_kuiper.py#L1-L151 - Page: https://code.globalgrid2050.com/explore-code/s/1587.html#f2 - Synopsis: A Python command-line tool in Worlds covering solar, using SHA-256. It is built from the grid step (`grid`). - What it achieves (comment): Turn the enumeration into numbers the Kuiper can draw. - What it does: Defines grid, main. Uses libraries io, json, os, sys, time. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `grid()`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Run Study - File: chatgpt-audits/automation/202608310052-five-hour-study/run_study.py (Python, 1652 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310052-five-hour-study/run_study.py#L1-L1652 - Page: https://code.globalgrid2050.com/explore-code/s/1588.html#f1 - Synopsis: A Python command-line tool in the automation folder of ChatGPT Audits that fetches repository inventory, PipelineNews engine audit, event contract candidate and funding procurement evidence, using SHA-256. - What it achieves (comment): It loads JSON (`load_json`), writes JSON (`write_json`) and writes text (`write_text`). Deterministic, read-only study controller for Ventusltd/ChatGPT-audits. It writes `01-REPOSITORY-INVENTORY.json`. It accepts `--plan`, `--source-root` and `--manifest`. - What it does: It fetches repository inventory, PipelineNews engine audit, event contract candidate and funding procurement evidence. Defines 58 functions or classes, including now_utc, now_london, sha256_file, load_json, write_json. Uses libraries __future__, argparse, collections, hashlib, json. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`run_study.py` — source snapshotter, deterministic scanners, cross-checker and vNext generator." - Inputs & outputs: In: JSON file 01-REPOSITORY-INVENTORY.json; JSON file current.json; JSON file 02-PIPELINENEWS-ENGINE-AUDIT.json; JSON file 03-EVENT-CONTRACT-CANDIDATE.json; JSON file 03-FUNDING-PROCUREMENT-EVIDENCE.json; JSON file live-set.json; JSON file 04-CLAUDE-CROSSCHECK-LEDGER.json; JSON file architecture.vnext.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `now_utc()`; `now_london()`; `sha256_file(path: Path)`; `load_json(path: Path)`; `write_json(path: Path, payload: Mapping[str, Any] | Sequence[Any])`; `write_text(path: Path, content: str)`; `md_header(title: str, classification: str = "observed")`; `run(command: Sequence[str], *, cwd: Path | None = None, check: bool = True, timeout: int = 600)`; `relative_posix(path: Path, root: Path)`; `iter_files(root: Path, *, limit: int | None = None)`; `is_text_candidate(path: Path, max_bytes: int)`; `read_text(path: Path, max_bytes: int)`; `tree_digest(root: Path)`; `make_read_only(root: Path)`; `excerpt(value: str, limit: int)`; `source_entry(manifest: Mapping[str, Any], name: str)`; `source_root_for(source_root: Path, name: str)`; `git_full_tree_paths(repo_dir: Path)`; `snapshot_repository(config: Mapping[str, Any], destination: Path, limits: Mapping[str, Any])`; `cmd_snapshot(args: argparse.Namespace)`; `evidence_rows(repo_name: str, repo_root: Path, patterns: Mapping[str, re.Pattern[str]], *, commit: str, max_file_bytes: int, max_ex...)`; `workflow_risks(repo_name: str, repo_root: Path, commit: str, limits: Mapping[str, Any])`; `repo_inventory(repo_entry: Mapping[str, Any], root: Path, limits: Mapping[str, Any])`; `phase_one(plan: Mapping[str, Any], manifest: Mapping[str, Any], source_root: Path, output_root: Path)`; `responsibility_categories(text: str)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file 01-REPOSITORY-INVENTORY.json; JSON file current.json; JSON file 02-PIPELINENEWS-ENGINE-AUDIT.json; JSON file 03-EVENT-CONTRACT-CANDIDATE.json; JSON file 03-FUNDING-PROCUREMENT-EVIDENCE.json; JSON file live-set.json; JSON file 04-CLAUDE-CROSSCHECK-LEDGER.json; JSON file architecture.vnext.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Quarantine - File: chatgpt-audits/automation/202608310052-five-hour-study/verify_quarantine.py (Python, 288 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310052-five-hour-study/verify_quarantine.py#L1-L288 - Page: https://code.globalgrid2050.com/explore-code/s/1590.html#f2 - Synopsis: A Python command-line tool in the automation folder of ChatGPT Audits that reads run context, repository inventory, checkpoint and PipelineNews engine audit, using SHA-256. - What it achieves (comment): It parses status paths (`parse_status_paths`) and is built from the sha256 file helper (`sha256_file`) and the iter files helper (`iter_files`). Verify the five-hour study remained inside its quarantine boundary. It accepts `--audit-root`, `--output-root` and `--source-root`. - What it does: It loads run context, repository inventory, checkpoint and PipelineNews engine audit. Defines 8 functions or classes, including sha256_file, iter_files, tree_digest, parse_status_paths, git_changed_paths. Uses libraries __future__, argparse, hashlib, json, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`verify_quarantine.py` fails the run when:" - Inputs & outputs: In: JSON file RUN-CONTEXT.json; JSON file SOURCE-SNAPSHOT.json; JSON file 01-REPOSITORY-INVENTORY.json; JSON file checkpoint-01.json; JSON file 02-PIPELINENEWS-ENGINE-AUDIT.json; JSON file checkpoint-02.json; JSON file 03-EVENT-CONTRACT-CANDIDATE.json; JSON file checkpoint-03.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha256_file(path: Path)`; `iter_files(root: Path)`; `tree_digest(root: Path)`; `parse_status_paths(raw: bytes)`; `git_changed_paths(audit_root: Path)`; `ensure_unreviewed_label(path: Path)`; `verify(args: argparse.Namespace)`; `main(argv: Sequence[str] | None = None)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file RUN-CONTEXT.json; JSON file SOURCE-SNAPSHOT.json; JSON file 01-REPOSITORY-INVENTORY.json; JSON file checkpoint-01.json; JSON file 02-PIPELINENEWS-ENGINE-AUDIT.json; JSON file checkpoint-02.json; JSON file 03-EVENT-CONTRACT-CANDIDATE.json; JSON file checkpoint-03.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Assemble Controller - File: chatgpt-audits/automation/202608310116-overnight-swarm/assemble_controller.py (Python, 75 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310116-overnight-swarm/assemble_controller.py#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1590.html#f3 - Synopsis: A Python command-line tool in the automation folder of ChatGPT Audits that uses SHA-256. It is built from the sha256 step (`sha256`). - What it achieves (comment): Assemble and verify the compressed overnight swarm controller. It accepts `--payload-dir`, `--manifest` and `--output`. - What it does: It loads data. Defines sha256, main. Uses libraries __future__, argparse, base64, hashlib, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha256(data: bytes)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Watchdog - File: chatgpt-audits/automation/202608310121-hourly-watchdog/watchdog.py (Python, 521 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310121-hourly-watchdog/watchdog.py#L1-L521 - Page: https://code.globalgrid2050.com/explore-code/s/1591.html#f1 - Synopsis: A Python command-line tool in the automation folder of ChatGPT Audits using data from GitHub API. It parses time (`parse_time`), classifies failure (`classify_failure`) and summarises repository (`summarise_repository`). - What it achieves (comment): Hourly GitHub Actions supervisor for the quarantined audit programme. It accepts `--output`, `--hours-back` and `--max-reruns`. - What it does: It fetches data. Defines 13 functions or classes, including ApiResult, parse_time, github_request, threshold_minutes, is_pages_noise. Uses libraries __future__, argparse, json, os, sys. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; command-line arguments. Out: JSON file watchdog.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `class ApiResult`; `parse_time(value: str | None)`; `github_request(method: str, endpoint: str, token: str, payload: dict[str, Any] | None = None, *, attempts: int = 3)`; `threshold_minutes(name: str)`; `is_pages_noise(run: dict[str, Any])`; `compact_run(run: dict[str, Any], now: datetime)`; `job_evidence(repository: str, run_id: int, token: str)`; `request_rerun(repository: str, run: dict[str, Any], token: str)`; `classify_failure(repository: str, run: dict[str, Any], latest_for_name: bool)`; `summarise_repository(repository: str, token: str, now: datetime, since: datetime, *, max_reruns_remaining: list[int])`; `latest_workflow_state(audit_runs: dict[str, Any], name: str)`; `markdown_report(report: dict[str, Any])`; `main(argv: list[str] | None = None)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API; command-line arguments]; out [JSON file watchdog.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Repair - File: chatgpt-audits/automation/202608310122-failure-repair/repair.py (Python, 261 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310122-failure-repair/repair.py#L1-L261 - Page: https://code.globalgrid2050.com/explore-code/s/1592.html#f1 - Synopsis: A Python command-line tool in the automation folder of ChatGPT Audits using data from GitHub API. - What it achieves (comment): It writes markdown (`write_markdown`) and is built from the redact step (`redact`) and the request step (`request`). Diagnose and boundedly re-run a failed ChatGPT-audits workflow. It accepts `--run-id` and `--output`. - What it does: It fetches data. Defines 7 functions or classes, including redact, request, failed_logs, classify, rerun. Uses libraries __future__, argparse, json, os, re. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; command-line arguments. Out: JSON file repair.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `redact(text: str)`; `request(method: str, endpoint: str, token: str)`; `failed_logs(run_id: int)`; `classify(logs: str)`; `rerun(run: dict[str, Any], token: str)`; `write_markdown(report: dict[str, Any])`; `main(argv: list[str] | None = None)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API; command-line arguments]; out [JSON file repair.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Watchdog - File: chatgpt-audits/automation/202608310125-actions-watchdog/watchdog.py (Python, 349 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310125-actions-watchdog/watchdog.py#L1-L349 - Page: https://code.globalgrid2050.com/explore-code/s/1592.html#f2 - Synopsis: A Python command-line tool in the automation folder of ChatGPT Audits using data from GitHub API. It classifies logs (`classify_logs`) and writes report (`write_report`). - What it achieves (comment): Bounded same-repository GitHub Actions watchdog for the overnight audit. It accepts `--output`, `--event-path` and `--dry-run`. - What it does: It fetches data. Defines 18 functions or classes, including now_utc, now_london, GitHubAPI, __init__, request. Uses libraries __future__, argparse, json, os, re. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; command-line arguments. Out: JSON file WATCHDOG.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `now_utc()`; `now_london()`; `class GitHubAPI`; `__init__(self, repository: str, token: str)`; `request(self, method: str, path: str, payload: Any | None = None, *, raw: bool = False)`; `main_sha(self)`; `workflow_runs(self, filename: str, *, per_page: int = 20)`; `jobs(self, run_id: int)`; `job_log(self, job_id: int)`; `rerun_failed(self, run_id: int)`; `dispatch(self, filename: str)`; `classify_logs(logs: str)`; `newest_completed(runs: Iterable[dict[str, Any]])`; `active_newer_than(runs: Iterable[dict[str, Any]], run: dict[str, Any])`; `inspect_run(api: GitHubAPI, workflow_name: str, filename: str, run: dict[str, Any], main_sha: str)`; `write_report(output: Path, payload: dict[str, Any])`; `event_run(event_path: str | None)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API; command-line arguments]; out [JSON file WATCHDOG.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Evidence Fingerprint - File: chatgpt-audits/automation/202608310209-hourly-logic-review/candidates/evidence_fingerprint.py (Python, 49 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310209-hourly-logic-review/candidates/evidence_fingerprint.py#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1592.html#f3 - Synopsis: A Python module in the candidates folder of ChatGPT Audits that works with canonical URL (`canonical_url`), using SHA-256. - What it achieves (comment): It normalises text (`normalise_text`) and is built from the fingerprint class (`Fingerprint`) and the fingerprint step (`fingerprint`). Evidence canonicalisation and hashing. - What it does: It calculates its inputs. Defines Fingerprint, canonical_url, normalise_text, fingerprint. Uses libraries __future__, hashlib, re, urllib.parse, dataclasses. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `class Fingerprint`; `canonical_url(value: str)`; `normalise_text(value: str)`; `fingerprint(url: str, title: str, body: str = "")` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Identity Conflict Gate - File: chatgpt-audits/automation/202608310209-hourly-logic-review/candidates/identity_conflict_gate.py (Python, 42 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310209-hourly-logic-review/candidates/identity_conflict_gate.py#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1593.html#f1 - Synopsis: A Python module in the candidates folder of ChatGPT Audits. It is built from the binding class (`Binding`). - What it achieves (name): Defines `Binding` and `conflicts`. - What it does: It calculates its inputs. Defines Binding, conflicts. Uses libraries __future__, collections, dataclasses, typing. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `class Binding`; `conflicts(rows: Iterable[Binding], *, minimum_confidence: float = 0.70)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Search Query Planner - File: chatgpt-audits/automation/202608310209-hourly-logic-review/candidates/search_query_planner.py (Python, 61 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310209-hourly-logic-review/candidates/search_query_planner.py#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1593.html#f2 - Synopsis: A Python module in the candidates folder of ChatGPT Audits that normalises terms (`normalise_terms`). It is built from the query class (`Query`) and the plan queries helper (`plan_queries`). - What it achieves (comment): Entity-aware search query planner. - What it does: It calculates its inputs. Defines Query, normalise_terms, plan_queries. Uses libraries __future__, dataclasses, typing. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `class Query`; `normalise_terms(values: Iterable[str])`; `plan_queries(canonical_name: str, *, aliases: Sequence[str] = (), identifiers: Sequence[str] = (), event_terms: Sequence[str] = ()...)` - domain_stage: agent_infra · commercial_user: landowner_planner, ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Search Replay Harness - File: chatgpt-audits/automation/202608310209-hourly-logic-review/candidates/search_replay_harness.py (Python, 36 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310209-hourly-logic-review/candidates/search_replay_harness.py#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/1593.html#f3 - Synopsis: A Python module in the candidates folder of ChatGPT Audits. It is built from the fixture class (`Fixture`). - What it achieves (name): Defines `Fixture` and `replay`. - What it does: It calculates its inputs. Defines Fixture, replay. Uses libraries __future__, dataclasses, typing. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `class Fixture`; `replay(fixtures: Iterable[Fixture], search: Callable[[str], Sequence[str]])` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Source Diversity Ranker - File: chatgpt-audits/automation/202608310209-hourly-logic-review/candidates/source_diversity_ranker.py (Python, 44 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310209-hourly-logic-review/candidates/source_diversity_ranker.py#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1593.html#f4 - Synopsis: A Python module in the candidates folder of ChatGPT Audits. It is built from the evidence class (`Evidence`), the rank step (`rank`) and the score step (`score`). - What it achieves (comment): Relevance/diversity evidence reranker. - What it does: It calculates its inputs. Defines Evidence, rank, score. Uses libraries __future__, dataclasses, typing. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `class Evidence`; `rank(rows: Iterable[Evidence], *, diversity_penalty: float = 0.18, limit: int = 20)`; `score(item: Evidence)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Review - File: chatgpt-audits/automation/202608310209-hourly-logic-review/review.py (Python, 774 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310209-hourly-logic-review/review.py#L1-L774 - Page: https://code.globalgrid2050.com/explore-code/s/1593.html#f5 - Synopsis: A Python command-line tool in the automation folder of ChatGPT Audits that uses SHA-256 using data from GitHub API. - What it achieves (comment): It parses time (`parse_time`), collects runs (`collect_runs`) and lists audit branches (`list_audit_branches`). Five-run hourly logic review for Ventusltd/ChatGPT-audits. It writes `MANIFEST.json`. It accepts `--output`, `--candidate-root` and `--lookback-minutes`. - What it does: It fetches data. Defines 23 functions or classes, including ApiResult, now_utc, iso, parse_time, redact. Uses libraries __future__, argparse, base64, hashlib, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; JSON file review.json; JSON file REVIEW.json; command-line arguments. - Downstream impact: Used directly by 1 file: Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/). - Signatures: `class ApiResult`; `now_utc()`; `iso(value: datetime)`; `parse_time(value: str | None)`; `redact(text: str)`; `api_request(method: str, endpoint: str, token: str, *, attempts: int = 3)`; `compact_run(run: Mapping[str, Any], current: datetime)`; `collect_runs(repository: str, token: str, current: datetime, since: datetime)`; `branch_score(name: str)`; `list_audit_branches(token: str)`; `document_score(path: str)`; `read_content_file(path: str, ref: str, token: str, *, max_chars: int = 6000)`; `collect_branch_documents(branches: Sequence[Mapping[str, Any]], token: str)`; `count_signals(documents: Sequence[Mapping[str, Any]])`; `classify_status(run_records: Sequence[Mapping[str, Any]])`; `candidate_catalogue()`; `choose_candidate(sequence: int, signals: Mapping[str, int], previous: set[str])`; `write_json(path: Path, payload: Any)`; `write_text(path: Path, text: str)`; `build_markdown(report: Mapping[str, Any])`; `build_chatgpt_prompt(report: Mapping[str, Any])`; `write_manifest(root: Path)`; `main(argv: Sequence[str] | None = None)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file review.json; JSON file REVIEW.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Architecture Review Prompt - File: chatgpt-audits/automation/202608310322-gpt-reasoning-timer/architecture-review.prompt.yml (YAML, 156 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310322-gpt-reasoning-timer/architecture-review.prompt.yml#L1-L156 - Page: https://code.globalgrid2050.com/explore-code/s/1594.html#f2 - Synopsis: A configuration file in the automation folder of ChatGPT Audits. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'prompt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Assemble Prompt - File: chatgpt-audits/automation/202608310322-gpt-reasoning-timer/assemble_prompt.py (Python, 99 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310322-gpt-reasoning-timer/assemble_prompt.py#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/1594.html#f3 - Synopsis: A Python command-line tool in the automation folder of ChatGPT Audits that reads limited (`read_limited`). - What it achieves (comment): Assemble the bounded hourly architecture-review prompt. It accepts `--sequence`, `--evidence` and `--schema`. - What it does: It loads data. Defines read_limited, main. Uses libraries __future__, argparse, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'prompt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `read_limited(path: Path, limit: int, fallback: str)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Prompt - File: chatgpt-audits/automation/202608310322-gpt-reasoning-timer/build_prompt.py (Python, 437 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310322-gpt-reasoning-timer/build_prompt.py#L1-L437 - Page: https://code.globalgrid2050.com/explore-code/s/1595.html#f1 - Synopsis: A Python command-line tool in the automation folder of ChatGPT Audits using data from GitHub API. It parses time (`parse_time`), selects branch (`select_branch`) and fetches text (`fetch_text`). - What it achieves (comment): Build a bounded evidence packet for a real GitHub Models GPT review. It accepts `--sequence` and `--output`. - What it does: It fetches data. Defines 13 functions or classes, including now_utc, request_json, paginate, parse_time, latest_runs. Uses libraries __future__, argparse, base64, json, os. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'prompt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; command-line arguments. Out: JSON file EVIDENCE.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `now_utc()`; `request_json(endpoint: str, token: str, attempts: int = 3)`; `paginate(endpoint: str, token: str, max_pages: int = 5)`; `parse_time(value: str | None)`; `latest_runs(token: str)`; `branches(token: str)`; `select_branch(rows: Iterable[dict[str, Any]], rule_name: str)`; `tree_paths(commit_sha: str, token: str)`; `fetch_text(path: str, ref: str, token: str)`; `preferred_paths(kind: str, paths: list[str])`; `gather_sources(token: str)`; `render_packet(sequence: int, runs: list[dict[str, Any]], failures: list[dict[str, Any]], sources: list[dict[str, Any]])`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: GitHub API; command-line arguments]; out [JSON file EVIDENCE.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Record Attempt - File: chatgpt-audits/automation/202608310322-gpt-reasoning-timer/record_attempt.py (Python, 90 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310322-gpt-reasoning-timer/record_attempt.py#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/1595.html#f2 - Synopsis: A Python command-line tool in the automation folder of ChatGPT Audits covering model attempt and model review. It is built from the as bool helper (`as_bool`). - What it achieves (comment): Record a bounded GPT provider attempt without manufacturing a review. It writes `MODEL-REVIEW.json`. It accepts `--output`, `--sequence` and `--provider`. - What it does: Defines as_bool, main. Uses libraries __future__, argparse, json, os, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file MODEL-REVIEW.json; command-line arguments. Out: JSON file MODEL-ATTEMPT.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `as_bool(value: str)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file MODEL-REVIEW.json; command-line arguments]; out [JSON file MODEL-ATTEMPT.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Render Response - File: chatgpt-audits/automation/202608310322-gpt-reasoning-timer/render_response.py (Python, 383 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310322-gpt-reasoning-timer/render_response.py#L1-L383 - Page: https://code.globalgrid2050.com/explore-code/s/1596.html#f1 - Synopsis: A Python command-line tool in the automation folder of ChatGPT Audits that validates claim rows and improvement and renders markdown, covering model review and model metadata, using SHA-256. - What it achieves (comment): It loads response (`load_response`), validates claim rows (`validate_claim_rows`) and validates improvement (`validate_improvement`). Validate and render a structured GPT architecture review. It accepts `--response`, `--prompt` and `--output`. - What it does: Defines 11 functions or classes, including sha256_bytes, load_response, require_string, require_string_list, validate_claim_rows. Uses libraries __future__, argparse, hashlib, json, os. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file MODEL-REVIEW.json; JSON file MODEL-METADATA.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha256_bytes(data: bytes)`; `load_response(path: Path)`; `require_string(value: Any, field: str)`; `require_string_list(value: Any, field: str)`; `validate_claim_rows(value: Any, field: str, *, issue_mode: bool = False)`; `validate_improvement(value: Any)`; `validate_tests(value: Any)`; `validate(payload: dict[str, Any])`; `bullet_claim(row: dict[str, str], issue_mode: bool = False)`; `render_markdown(payload: dict[str, Any], sequence: int, model: str, provider: str, runtime: str)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file MODEL-REVIEW.json; JSON file MODEL-METADATA.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Run Copilot - File: chatgpt-audits/automation/202608310322-gpt-reasoning-timer/run_copilot.py (Python, 250 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310322-gpt-reasoning-timer/run_copilot.py#L1-L250 - Page: https://code.globalgrid2050.com/explore-code/s/1596.html#f2 - Synopsis: A Python command-line tool in the automation folder of ChatGPT Audits that reads copilot run. - What it achieves (comment): It is built from the redact step (`redact`), the classify step (`classify`) and the minimal environment helper (`minimal_environment`). Run one bounded GitHub Copilot GPT judgement and retain exact diagnostics. It accepts `--cli`, `--prompt` and `--system`. - What it does: It loads copilot run. Defines redact, classify, minimal_environment, main. Uses libraries __future__, argparse, json, os, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file COPILOT-RUN.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `redact(text: str, secrets: list[str])`; `classify(exit_code: int, stderr: str, stdout: str)`; `minimal_environment(token: str, home: Path)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file COPILOT-RUN.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Self Test - File: chatgpt-audits/automation/202608310322-gpt-reasoning-timer/self_test.py (Python, 233 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/chatgpt-audits/blob/5808fde29b91027ec7a3de40c451a82b6714437c/automation/202608310322-gpt-reasoning-timer/self_test.py#L1-L233 - Page: https://code.globalgrid2050.com/explore-code/s/1597.html#f1 - Synopsis: A test in the automation folder of ChatGPT Audits that uses SHA-256. It is built from the run step (`run`) and the valid payload helper (`valid_payload`). - What it achieves (comment): Deterministic local tests for the GPT reasoning timer controller. It accepts `--renderer`, `--assembler` and `--recorder`. - What it does: It tests its inputs. Defines run, valid_payload, main. Uses libraries __future__, argparse, json, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file response.json; JSON file MODEL-REVIEW.json; JSON file MODEL-METADATA.json; command-line arguments. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `run(command: list[str], expected: int = 0)`; `valid_payload()`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file response.json; JSON file MODEL-REVIEW.json; JSON file MODEL-METADATA.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Clicker - File: claude/familiars/clicker.py (Python, 599 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/familiars/clicker.py#L1-L599 - Page: https://code.globalgrid2050.com/explore-code/s/1597.html#f2 - Synopsis: A Python command-line tool in the familiars folder of Claude that works with journey world (`journey_world`) and journey summary (`journey_summary`) (units: MW). - What it achieves (comment): It is built from the browser class (`Browser`), the send step (`send`) and the setup step (`setup`). Eyes on this machine's hardware, not in the model's context. Its code works with 400 kV. It accepts `--port`, `--url` and `--journey`. - What it does: It fetches data. Defines 16 functions or classes, including Browser, __init__, _connect, send, setup. Uses libraries argparse, json, os, shutil, subprocess. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: 400kV. - Inputs & outputs: In: data source: %s:%d; command-line arguments. Voltage levels named: 400kV. - Downstream impact: Used directly by 1 file: Runners (claude). - Signatures: `class Browser`; `__init__(self, port, mobile=False, headless=True)`; `_connect(self, timeout=30)`; `send(self, method, **params)`; `setup(self)`; `arm(self)`; `go(self, url, settle=6.0)`; `js(self, expr)`; `shot(self, path)`; `close(self)`; `journey_world(b, shots_dir)`; `journey_summary(b, shots_dir)`; `journey_atlas_rest(b, shots_dir)`; `journey_maplink(b, shots_dir)`; `journey_arrival(b, shots_dir)`; `main(argv=None)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: %s:%d; command-line arguments]; out []; crs []; voltages [400kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Harvest - File: claude/familiars/harvest.py (Python, 173 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/familiars/harvest.py#L1-L173 - Page: https://code.globalgrid2050.com/explore-code/s/1598.html#f2 - Synopsis: A Python command-line tool in the familiars folder of Claude that fetches wider fleet, grid proximity, wind and solar. - What it achieves (comment): It is built from the ask step (`ask`) and the load step (`load`). Measure whether the local model is worth harvesting, on a real estate defect. - What it does: It fetches wider fleet, grid proximity, wind and solar. Defines ask, load, main. Uses libraries json, os, re, sys, time. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: wind, solar. - Inputs & outputs: In: JSON file 202609030009-wider-fleet.json; JSON file 202608311610-grid-proximity.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `ask(name, timeout=90)`; `load(n)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file 202609030009-wider-fleet.json; JSON file 202608311610-grid-proximity.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Localai - File: claude/familiars/localai.py (Python, 844 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/familiars/localai.py#L1-L844 - Page: https://code.globalgrid2050.com/explore-code/s/1598.html#f3 - Synopsis: A Python command-line tool in the familiars folder of Claude that fetches run log (`fetch_run_log`) and job log (`fetch_job_log`) and prints health (`print_health`) (units: kW). - What it achieves (comment): It serves igpu (`serve_igpu`) and is built from the local ai error class (`LocalAIError`) and the generate step (`generate`). The clerical mind that runs on this machine's own silicon. It accepts `--health`, `--bench` and `--serve-igpu`. - What it does: It fetches data. Defines 29 functions or classes, including LocalAIError, _url, _get, _post, generate. Uses libraries argparse, io, json, os, re. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Triage (claude). - Signatures: `class LocalAIError`; `_url(device, path)`; `_get(device, path, timeout=10)`; `_post(device, path, payload, timeout=600)`; `generate(device, prompt, system=None, num_predict=320, temperature=0.0, stop=None)`; `chat(device, messages, num_predict=320, temperature=0.0, stop=None)`; `nvidia_smi()`; `resident(device)`; `repo_path(name_or_path)`; `git(cwd, *args, **kw)`; `git_bash()`; `fetch_run_log(full_repo, run_id)`; `fetch_job_log(full_repo, job_id)`; `_slug(s)`; `gh_json(path)`; `failing_jobs(full_repo, run_id)`; `focus_errors(log, keep_lines=160)`; `_tail(text, limit=MAX_CHARS)`; `_head(text, limit=MAX_CHARS)`; `job_classify_ci_failure(target)`; `job_summarise_commit(sha, repo=None)`; `job_triage_untracked(repo, device=None)`; `health(devices=('gpu', 'igpu'))`; `print_health(rep)`; `bench(devices=('gpu', 'igpu'), concurrency=2, num_predict=400)` (and 4 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 1; mentioned by 0 ### Reap - File: claude/familiars/reap.py (Python, 100 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/familiars/reap.py#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/1599.html#f2 - Synopsis: A Python command-line tool in the familiars folder of Claude that works with ram free GB (`ram_free_gb`). It is built from the gpu step (`gpu`) and the runners step (`runners`). - What it achieves (comment): Kill local-AI runners that hold memory with no task behind them. - What it does: Defines ps, gpu, ram_free_gb, runners, main. Uses libraries subprocess, sys, json. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `ps(cmd)`; `gpu()`; `ram_free_gb()`; `runners()`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Runners - File: claude/familiars/runners.py (Python, 772 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/familiars/runners.py#L1-L772 - Page: https://code.globalgrid2050.com/explore-code/s/1600.html#f1 - Synopsis: A Python command-line tool in the familiars folder of Claude that fetches runners estate and board, using SHA-256 from GitHub API and the GridAtlas repository. - What it achieves (comment): It runs live (`run_live`), runs ci (`run_ci`) and runs estate (`run_estate`). A continuous pool that keeps this machine measuring while the model thinks. It accepts `--board`, `--once` and `--only`. - What it does: It fetches runners estate and board. Defines 17 functions or classes, including utc, _run, _git, _token, _api. Uses libraries argparse, hashlib, json, os, subprocess. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: gridatlas data; data source: GitHub API; JSON file current.json; JSON file runners-estate.json; JSON file board.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `utc(t=None)`; `_run(cmd, cwd=None, timeout=90)`; `_git(repo, *args, **kw)`; `_token()`; `_api(path, token, timeout=45)`; `_get(url, timeout=40)`; `run_live()`; `run_ci()`; `run_estate()`; `run_proof()`; `run_ceiling()`; `run_clicker()`; `call(name)`; `diff_fingerprints(old, new)`; `render_md(board)`; `write_atomic(path, text)`; `main(argv=None)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: GitHub API; JSON file current.json; JSON file runners-estate.json; JSON file board.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 4 estate files (script-call 2, estate-url 2); used by 0; mentioned by 0 ### Summon - File: claude/familiars/summon.py (Python, 250 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/familiars/summon.py#L1-L250 - Page: https://code.globalgrid2050.com/explore-code/s/1601.html#f2 - Synopsis: A Python command-line tool in the familiars folder of Claude using data from GitHub API and the GridAtlas repository. - What it achieves (comment): It is built from the fam repo helper (`fam_repo`), the fam ci helper (`fam_ci`) and the fam live helper (`fam_live`). Familiars - small local workers that do the donkey running on this machine. - What it does: It fetches data. Defines 11 functions or classes, including _run, _token, _api, _get, fam_repo. Uses libraries json, os, subprocess, sys, time. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; data source: gridatlas data; JSON file current.json; command-line arguments. - Downstream impact: Used directly by 1 file: Runners (claude). - Signatures: `_run(cmd, cwd=None, timeout=90)`; `_token()`; `_api(path, token, raw=False)`; `_get(url, timeout=40)`; `fam_repo()`; `fam_ci()`; `fam_live()`; `fam_ceiling()`; `fam_proof()`; `_call(name)`; `main(argv)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: GitHub API; data source: gridatlas data; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 1; mentioned by 0 ### Triage - File: claude/familiars/triage.py (Python, 1174 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/familiars/triage.py#L1-L1174 - Page: https://code.globalgrid2050.com/explore-code/s/1601.html#f3 - Synopsis: A Python command-line tool in the familiars folder of Claude that reads red board and triage estate. It builds prompt (`build_prompt`), parses answer (`parse_answer`) and fits excerpt (`fit_excerpt`). - What it achieves (comment): Read every red run in the estate with the local models, and ground every answer. It accepts `--gpu`, `--igpu` and `--lines`. - What it does: It loads red board and triage estate. Defines 36 functions or classes, including strip_noise, flatten, reds_from_estate, _row, cached_log. Uses libraries argparse, json, os, queue, re. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file red-board.json; JSON file triage-estate.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `strip_noise(text)`; `flatten(text)`; `reds_from_estate(estate)`; `_row(repo, red, job)`; `cached_log(row, refresh=False)`; `excerpt(log, keep_lines=DEFAULT_LINES)`; `first_error_line(log)`; `build_prompt(row, body, strict=False)`; `parse_answer(text)`; `ground(quote, body)`; `device_context(device)`; `fit_excerpt(log, device, keep_lines, num_predict)`; `generate_retrying(device, prompt, tries=4, backoff=2.0, **kw)`; `classify(row, body, device, strict=False, num_predict=200)`; `class Sampler`; `__init__(self)`; `run(self)`; `stop(self)`; `report(self)`; `vram_free_mib()`; `pump(rows, slots, keep_lines=DEFAULT_LINES, refresh=False, progress=True)`; `fetcher()`; `worker(device)`; `_failed_row(row, err)`; `write_board(rows, meta)` (and 10 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file red-board.json; JSON file triage-estate.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 2 estate files (import 1, script-call 1); used by 0; mentioned by 0 ### Live Log - File: claude/logs/live-log.ps1 (PowerShell, 93 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/logs/live-log.ps1#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/1603.html#f2 - Synopsis: A PowerShell script in the logs folder of Claude using data from the GridAtlas and ventus-grid-engine repositories. - What it achieves (comment): Append-only plain-text record of what is actually happening. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (estate-url 3); used by 0; mentioned by 0 ### Classify Sensitivity - File: claude/logs/tools/classify_sensitivity.py (Python, 254 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/logs/tools/classify_sensitivity.py#L1-L254 - Page: https://code.globalgrid2050.com/explore-code/s/1603.html#f3 - Synopsis: A Python command-line tool in the tools folder of Claude that classifies opinion (`classify_opinion`). It is built from the classify step (`classify`). - What it achieves (comment): Sensitivity classifier for the cross-session memory store. - What it does: It lists and searches its content. Defines _sentences, classify_opinion, classify, _selftest. Uses libraries __future__, re, sys. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The architect's words: "Anything controversial like opinions about people, but keep all data that is publicly verifiable or neutral." `logs/tools/classify_sensitivity.py` implements exactly that and nothing wider." - Downstream impact: Used directly by 1 file: Jsonl to Parquet (claude). Reached from 1 other entry point, including Render Session Markdown (claude). - Signatures: `_sentences(text)`; `classify_opinion(content)`; `classify(content, redaction_hits)`; `_selftest()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Jsonl to Parquet - File: claude/logs/tools/jsonl_to_parquet.py (Python, 473 lines) · role storage · stage ingest · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/logs/tools/jsonl_to_parquet.py#L1-L473 - Page: https://code.globalgrid2050.com/explore-code/s/1604.html#f1 - Synopsis: A Python command-line tool in the tools folder of Claude that reads audit. - What it achieves (comment): It builds table (`build_table`) and is built from the redact step (`redact`) and the flatten tool result helper (`flatten_tool_result`). House conventions borrowed from Ventusltd/data-GB-electricity: - Parquet, zstd compression, no raw source committed alongside. - A machine-readable audit JSON written to a `reports/` directory next to the data. - Verification is a read-back, not a successful write. - What it does: It loads audit. Defines 7 functions or classes, including redact, flatten_tool_result, attachment_text, convert, emit. Uses libraries __future__, io, json, os, re. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`logs/tools/jsonl_to_parquet.py` writes the Parquet and its `logs/reports/session__audit.json` beside it." - Inputs & outputs: In: JSON file _audit.json; form fields (user input); command-line arguments. - Downstream impact: Used directly by 1 file: Render Session Markdown (claude). - Signatures: `redact(text)`; `flatten_tool_result(content)`; `attachment_text(att)`; `convert(jsonl_path: Path, out_path: Path, project=None, session=None)`; `emit(**kw)`; `build_table(rows)`; `main(argv)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file _audit.json; form fields (user input); command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Render Session Markdown - File: claude/logs/tools/render_session_markdown.py (Python, 435 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/logs/tools/render_session_markdown.py#L1-L435 - Page: https://code.globalgrid2050.com/explore-code/s/1605.html#f1 - Synopsis: A Python command-line tool in the tools folder of Claude that normalises newlines (`normalise_newlines`) and renders blocks (`render_blocks`) and entry (`render_entry`). - What it achieves (comment): It is built from the stats class (`Stats`), the redact step (`redact`) and the clean step (`clean`). The Parquet store beside this (`logs/parquet/`) is what you *query*. - What it does: Defines 13 functions or classes, including Stats, __init__, normalise_newlines, redact, clean. Uses libraries __future__, io, json, os, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The whole cross-session memory — four days, eleven sessions, 32,018 rows — costs under 8 MB, roughly what the Markdown rendering of a single session costs." - Inputs & outputs: In: form fields (user input); command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `class Stats`; `__init__(self)`; `normalise_newlines(text, stats)`; `redact(text, stats)`; `clean(text, stats)`; `fence(text, language="")`; `middle_truncate(text, limit, stats, meta=False)`; `image_note(source)`; `render_blocks(content, out, stats, limit)`; `render_entry(idx, obj, stats, limit, meta_limit)`; `main(argv)`; `take(flag, default=None, cast=str)`; `write(path, text)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input); command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Verify Memory Store - File: claude/logs/tools/verify_memory_store.py (Python, 404 lines) · role storage · stage ingest · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/logs/tools/verify_memory_store.py#L1-L404 - Page: https://code.globalgrid2050.com/explore-code/s/1606.html#f1 - Synopsis: A Python command-line tool in the tools folder of Claude that projects slug (`project_slug`) and loads audits (`load_audits`), using SHA-256. - What it achieves (comment): It is built from the sha256 of helper (`sha256_of`), the measure step (`measure`) and the reconcile step (`reconcile`). Verify that the session memory store contains what it claims to contain. It accepts `--check` and `--transcripts`. - What it does: It loads data. Defines 7 functions or classes, including sha256_of, project_slug, load_audits, measure, reconcile. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The live figure is always `logs/reports/memory-manifest.json`, which `verify_memory_store.py` regenerates." - Inputs & outputs: In: JSON file memory-manifest.json; DuckDB queries; command-line arguments. - Downstream impact: Used directly by 1 file: Claude Verify Memory Store Workflow (claude). - Signatures: `sha256_of(path: Path)`; `project_slug(cwd: str | None)`; `load_audits()`; `measure(con, path: Path)`; `reconcile(m: dict, audit: dict | None)`; `iso(micros)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file memory-manifest.json; DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Claude Audit Estate - File: claude/scripts/audit_estate.py (Python, 257 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/scripts/audit_estate.py#L1-L257 - Page: https://code.globalgrid2050.com/explore-code/s/1606.html#f2 - Synopsis: A Python command-line tool in the scripts folder using data from GitHub API. It is built from the token step (`token`), the API step (`api`) and the git step (`git`). - What it achieves (comment): One pass over every repository the account owns: CI, then git. It accepts `--json` and `--only`. - What it does: It fetches data. Defines 7 functions or classes, including token, api, git, repos, ci_for. Uses libraries argparse, json, os, subprocess, sys. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 3 files: Localai (claude); Triage (claude); Claude CI History Mine (claude). Reached from 1 other entry point, including Claude CI History Mine Workflow (claude). - Signatures: `token()`; `api(path, retries=2)`; `git(repo, *args, timeout=60)`; `repos()`; `ci_for(repo)`; `git_for(repo)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Claude Carry on - File: claude/scripts/carry-on.sh (Shell, 67 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/scripts/carry-on.sh#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/1607.html#f1 - Synopsis: A shell script in the scripts folder. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Claude CI History Mine - File: claude/scripts/ci_history_mine.py (Python, 378 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/scripts/ci_history_mine.py#L1-L378 - Page: https://code.globalgrid2050.com/explore-code/s/1607.html#f2 - Synopsis: A Python command-line tool in the scripts folder using data from GitHub API. It is built from the token step (`token`), the API step (`api`) and the repos step (`repos`). - What it achieves (comment): The whole CI history of every repository, not just its last run. It accepts `--owner`, `--max-runs` and `--out`. - What it does: It fetches data. Defines 8 functions or classes, including token, api, repos, head_sha, runs_for. Uses libraries argparse, json, os, subprocess, sys. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; JSON file ci-history.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 1 file: Claude CI History Mine Workflow (claude). - Signatures: `token()`; `api(path, retries=2)`; `repos(owner)`; `head_sha(repo)`; `runs_for(repo, wf_id, max_runs)`; `mine(repo, max_runs)`; `board(result)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file ci-history.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Claude Estate Link Crawl - File: claude/scripts/estate_link_crawl.py (Python, 589 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/scripts/estate_link_crawl.py#L1-L589 - Page: https://code.globalgrid2050.com/explore-code/s/1608.html#f1 - Synopsis: A Python command-line tool in the scripts folder using data from GitHub API and the GridAtlas and PipelineNews repositories. It checks many (`check_many`), imports closure (`import_closure`) and lists JSON (`list_json`). - What it achieves (comment): Every published release, every outbound route, every sentinel. It accepts `--surface`, `--collate` and `--out`. - What it does: It fetches data. Defines 19 functions or classes, including fetch, text, check, check_many, links_from. Uses libraries argparse, glob, json, os, re. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: gridatlas data; data source: pipelinenews data; data source: GitHub API; JSON file build-manifest.json; JSON file release-manifest.json; JSON file current.json; JSON file live-set.json; JSON file current-v3.json. Out: JSON file. - Downstream impact: Used directly by 1 file: Claude Estate Link Crawl Workflow (claude). - Signatures: `fetch(url, method='GET')`; `text(r)`; `check(url)`; `check_many(urls, workers=12)`; `links_from(html, base)`; `import_closure(page_url, html, depth=2)`; `receivers_in(obj, path='$')`; `sentinel_urls(rec)`; `crawl_release(name, page_url, manifest_names=('build-manifest.json', 'release-manifest.json'))`; `list_json(url, key=None)`; `api_dirs(repo, path)`; `surface_globalgrid2050()`; `surface_pipelinenews_intel()`; `surface_gridatlas_atlas()`; `surface_pipelinenews_releases()`; `run_surface(name)`; `collate(paths)`; `board(c)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: pipelinenews data; data source: GitHub API; JSON file build-manifest.json; JSON file release-manifest.json; JSON file current.json; JSON file live-set.json; JSON file current-v3.json]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Claude Gh API - File: claude/scripts/gh-api.sh (Shell, 44 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/scripts/gh-api.sh#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1608.html#f2 - Synopsis: A shell script in the scripts folder using data from GitHub API. - What it does: It fetches data. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API. - Downstream impact: Used directly by 1 file: Localai (claude). Reached from 1 other entry point, including Triage (claude). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: GitHub API]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Claude Lanes - File: claude/scripts/lanes.sh (Shell, 45 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/scripts/lanes.sh#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1608.html#f3 - Synopsis: A shell script in the scripts folder. - What it does: It loads data. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Render Transcript - File: claude/sessions/202609021813-wider-fleet-and-deep-link/scripts/render_transcript.py (Python, 166 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021813-wider-fleet-and-deep-link/scripts/render_transcript.py#L1-L166 - Page: https://code.globalgrid2050.com/explore-code/s/1609.html#f1 - Synopsis: A Python command-line tool in the scripts folder of Claude that renders content (`render_content`). It is built from the fence step (`fence`). - What it achieves (comment): Every message, in order, nothing summarised and nothing dropped. It accepts `--jsonl` and `--out`. - What it does: It loads data. Defines fence, render_content, main. Uses libraries argparse, json, os. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `fence(text, language="")`; `render_content(content, out)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Corridor - File: claude/sessions/202609021835-estate-and-corridor/artifacts/corridor.html (HTML, 595 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/artifacts/corridor.html#L1-L595 - Page: https://code.globalgrid2050.com/explore-code/s/1609.html#f2 - Synopsis: A web page in the artifacts folder of Claude covering cables, substations, 400kV and motorways, using SHA-256 and Douglas-Peucker. - What it achieves (comment): Grid Corridor Engine. Its code works with 400 kV and 33 kV. - What it does: It draws cables, substations, 400kV and motorways. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, substations, 400kV, motorways, 33kV. - Inputs & outputs: Out: web page. Voltage levels named: 400kV, 33kV. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [400kV, 33kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Log Tpl - File: claude/sessions/202609021835-estate-and-corridor/artifacts/log.tpl.html (HTML, 242 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/artifacts/log.tpl.html#L1-L242 - Page: https://code.globalgrid2050.com/explore-code/s/1610.html#f2 - Synopsis: A map page in the artifacts folder of Claude. It is built from the esc step (`esc`), the pad step (`pad`) and the rpad step (`rpad`). - What it achieves (comment): Ventus Estate Log. It responds to keydown and click events. - What it does: It maps its content. Defines 15 functions or classes, including esc, pad, rpad, num, bars. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page; interactive map. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `esc(s)`; `pad(s,n)`; `rpad(s,n)`; `num(n)`; `bars(arr)`; `secs(s)`; `ageD(iso)`; `line(h='', pause=0)`; `kv(k, v, cls='v')`; `T(k)`; `CT(k)`; `LT(k)`; `ORD(r)`; `all()`; `step()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page; interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Analyze - File: claude/sessions/202609021835-estate-and-corridor/scripts/analyze.py (Python, 107 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/analyze.py#L1-L107 - Page: https://code.globalgrid2050.com/explore-code/s/1610.html#f3 - Synopsis: A Python command-line tool in the scripts folder of Claude that reads routes and metrics. - What it achieves (comment): It is built from the pct step (`pct`), the med step (`med`) and the summarize step (`summarize`). Measure straight vs routed against published `cable_km`. - What it does: It loads routes and metrics. Defines pct, med, summarize, main. Uses libraries json, os, sys, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file out_routes.json; command-line arguments. Out: JSON file out_metrics.json. - Downstream impact: Used directly by 3 files: Calib (claude); Crossings (claude); Sweep (claude). - Signatures: `pct(xs, q)`; `med(xs)`; `summarize(rows, label, candidate_key="routed_total_km", truth_key="cable_km")`; `main(path="out_routes.json")` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file out_routes.json; command-line arguments]; out [JSON file out_metrics.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Build Graph - File: claude/sessions/202609021835-estate-and-corridor/scripts/build_graph.py (Python, 213 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/build_graph.py#L1-L213 - Page: https://code.globalgrid2050.com/explore-code/s/1610.html#f4 - Synopsis: A Python command-line tool in the scripts folder of Claude that reads meta, UK primary roads, UK trunk roads and UK motorways, using haversine. - What it achieves (comment): It reads blob (`read_blob`) and gets id (`get_id`). Build a routable road graph from OSM primary + trunk roads. It writes `.meta.json`. - What it does: It loads meta, UK primary roads, UK trunk roads and UK motorways. Defines read_blob, flatten_geojson, key_of, build, get_id. Uses libraries json, os, sys, time, array. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: GeoJSON file uk_primary_roads.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_motorways.geojson; command-line arguments. Out: JSON file .meta.json. - Downstream impact: Used directly by 1 file: Rail (claude). Reached from 2 other entry points, including Crossings (claude); Edge Rail (claude). - Signatures: `read_blob(path)`; `flatten_geojson(paths)`; `key_of(lon, lat)`; `build(paths, out_prefix)`; `get_id(k, lon, lat)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [GeoJSON file uk_primary_roads.geojson; GeoJSON file uk_trunk_roads.geojson; GeoJSON file uk_motorways.geojson; command-line arguments]; out [JSON file .meta.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Calib - File: claude/sessions/202609021835-estate-and-corridor/scripts/calib.py (Python, 85 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/calib.py#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/1611.html#f1 - Synopsis: A Python command-line tool in the scripts folder of Claude that reads routes. - What it achieves (comment): It is built from the best k helper (`best_k`), the loo median ape helper (`loo_median_ape`) and the report step (`report`). Is a scalar detour factor on the straight line as good as routing? - What it does: It loads routes. Defines best_k, loo_median_ape, report, main. Uses libraries json, os. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file out_routes.json. Out: JSON file out_calib.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `best_k(vals, pubs, lo=0.5, hi=3.0, steps=2501)`; `loo_median_ape(vals, pubs)`; `report(rows, tag)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file out_routes.json]; out [JSON file out_calib.json]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Sessions — Estate and Corridor - File: claude/sessions/202609021835-estate-and-corridor/scripts/common.py (Python, 97 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/common.py#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/1611.html#f2 - Synopsis: A Python command-line tool in the scripts folder of Claude that reads network and validation set, using haversine and Vincenty. It loads sites coords (`load_sites_with_coords`) and loads validation set (`load_validation_set`). - What it achieves (comment): Shared geodesy + IO for the road-routing feasibility study. - What it does: It loads network and validation set. Defines haversine, spherical_law_of_cosines, vincenty_sphere, load_sites_with_coords, load_validation_set. Uses libraries json, math, os. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file cp.json; JSON file network.json. Out: JSON file validation_set.json. - Downstream impact: Used directly by 10 files: Router (claude); Analyze (claude); Build Graph (claude); Calib (claude); and 6 more. - Signatures: `haversine(lat1, lon1, lat2, lon2)`; `spherical_law_of_cosines(lat1, lon1, lat2, lon2)`; `vincenty_sphere(lat1, lon1, lat2, lon2)`; `load_sites_with_coords()`; `load_validation_set(min_sep_km=1.0)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file cp.json; JSON file network.json]; out [JSON file validation_set.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 10; mentioned by 0 ### Crossings - File: claude/sessions/202609021835-estate-and-corridor/scripts/crossings.py (Python, 74 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/crossings.py#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1611.html#f3 - Synopsis: A Python command-line tool in the scripts folder of Claude that reads routes. It is built from the pearson step (`pearson`), the spearman step (`spearman`) and the rank step (`rank`). - What it achieves (comment): Count railway crossings on each routed path and test correlation with error. - What it does: It loads routes. Defines pearson, spearman, rank, main. Uses libraries json, os, math. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file out_routes.json; JSON file out_crossings.json. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `pearson(xs, ys)`; `spearman(xs, ys)`; `rank(v)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file out_routes.json; JSON file out_crossings.json]; out [JSON file]; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 0; mentioned by 0 ### Datapoints - File: claude/sessions/202609021835-estate-and-corridor/scripts/datapoints.py (Python, 134 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/datapoints.py#L1-L134 - Page: https://code.globalgrid2050.com/explore-code/s/1611.html#f4 - Synopsis: A Python command-line tool in the scripts folder of Claude that counts CSV (`count_csv`). It counts JSON (`count_json`) and is built from the work step (`work`). - What it achieves (comment): Count datapoints across the estate under an explicit, stated definition. It writes `datapoints.json`. - What it does: It loads data. Defines count_json, count_csv, work, main. Uses libraries subprocess, collections, os, re, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file datapoints.json. - Downstream impact: Used directly by 3 files: Dupcheck (claude); Extra Count (claude); Growth (claude). - Signatures: `count_json(buf)`; `count_csv(buf, sep)`; `work(job)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file datapoints.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Deep - File: claude/sessions/202609021835-estate-and-corridor/scripts/deep.py (Python, 293 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/deep.py#L1-L293 - Page: https://code.globalgrid2050.com/explore-code/s/1611.html#f5 - Synopsis: A Python module in the scripts folder of Claude using data from GitHub API. - What it achieves (name): It is built from the probe step (`probe`), the ref of helper (`ref_of`) and the human step (`human`). Defines `run`, `fetch`, `api` and 5 more. - What it does: It fetches data. Defines 9 functions or classes, including run, fetch, api, ci, probe. Uses libraries json, subprocess, collections, datetime, os. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; command-line arguments. Out: JSON file. - Signatures: `run(*a, cwd=None, timeout=600)`; `fetch(name)`; `api(url)`; `ci(name)`; `probe(name)`; `ref_of(dst)`; `human(n)`; `deep(name, dst)`; `dur(r)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Dupcheck - File: claude/sessions/202609021835-estate-and-corridor/scripts/dupcheck.py (Python, 53 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/dupcheck.py#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1612.html#f1 - Synopsis: A Python command-line tool in the scripts folder of Claude. - What it does: Defines main. Uses libraries subprocess, collections, os, sys, concurrent.futures. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Edge Rail - File: claude/sessions/202609021835-estate-and-corridor/scripts/edge_rail.py (Python, 61 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/edge_rail.py#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1612.html#f2 - Synopsis: A Python command-line tool in the scripts folder of Claude. - What it achieves (comment): Precompute, for every road edge, how many railway segments it crosses. - What it does: It loads data. Defines _init, _chunk, main. Uses libraries os, json, array, time, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `_init(pre)`; `_chunk(args)`; `main(pre="roads", workers=10)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Estate - File: claude/sessions/202609021835-estate-and-corridor/scripts/estate.py (Python, 210 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/estate.py#L1-L210 - Page: https://code.globalgrid2050.com/explore-code/s/1612.html#f3 - Synopsis: A Python module in the scripts folder of Claude using data from GitHub API. - What it achieves (name): It is built from the API step (`api`), the stats step (`stats`) and the since step (`since`). Defines `run`, `prepare`, `default_ref` and 3 more. - What it does: It fetches data. Defines 7 functions or classes, including run, prepare, default_ref, api, ci. Uses libraries json, subprocess, collections, datetime, os. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; command-line arguments. Out: JSON file. - Signatures: `run(*a, cwd=None, timeout=300)`; `prepare(name)`; `default_ref(dst)`; `api(url)`; `ci(name)`; `stats(name, dst)`; `since(days)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Extra Count - File: claude/sessions/202609021835-estate-and-corridor/scripts/extra_count.py (Python, 79 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/extra_count.py#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/1612.html#f4 - Synopsis: A Python module in the scripts folder of Claude. - What it achieves (name): It writes `extra.json`. - What it does: It loads data. Uses libraries subprocess, os, sys, io, json. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file extra.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file extra.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Growth - File: claude/sessions/202609021835-estate-and-corridor/scripts/growth.py (Python, 98 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/growth.py#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/1612.html#f5 - Synopsis: A Python command-line tool in the scripts folder of Claude that works with first added (`first_added`) and blob points (`blob_points`). - What it achieves (comment): When did the datapoints actually arrive? It writes `growth.json`. - What it does: It loads data. Defines first_added, blob_points, main. Uses libraries subprocess, collections, os, io, sys. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file growth.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `first_added(repo, ref)`; `blob_points(repo, sha, path)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file growth.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Headless - File: claude/sessions/202609021835-estate-and-corridor/scripts/headless.mjs (JavaScript, 46 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/headless.mjs#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/1612.html#f6 - Synopsis: A JavaScript module in the scripts folder of Claude. - What it does: It draws its content. Uses libraries node:fs, node:vm. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `addEventListener()`; `requestAnimationFrame()`; `setTimeout()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Loc - File: claude/sessions/202609021835-estate-and-corridor/scripts/loc.py (Python, 120 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/loc.py#L1-L120 - Page: https://code.globalgrid2050.com/explore-code/s/1612.html#f7 - Synopsis: A Python module in the scripts folder of Claude. - What it achieves (name): Defines `count`. - What it does: It loads data. Defines count. Uses libraries json, subprocess, collections, os, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file. - Signatures: `count(name)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Parquet Count - File: claude/sessions/202609021835-estate-and-corridor/scripts/parquet_count.py (Python, 70 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/parquet_count.py#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/1613.html#f1 - Synopsis: A Python module in the scripts folder of Claude. - What it achieves (comment): Count datapoints held in Parquet, which the text-based count could not see. It writes `parquet.json`. - What it does: It loads data. Uses libraries subprocess, collections, os, io, sys. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: JSON file parquet.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file parquet.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Rail - File: claude/sessions/202609021835-estate-and-corridor/scripts/rail.py (Python, 100 lines) · role ingest · stage transform · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/rail.py#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/1613.html#f2 - Synopsis: A Python command-line tool in the scripts folder of Claude that builds index (`build_index`) and counts crossings (`count_crossings`), covering UK mainline railways, using haversine. - What it achieves (comment): It loads rail segments (`load_rail_segments`) and is built from the seg intersect helper (`seg_intersect`) and the rail index class (`RailIndex`). Railway crossing counting: spatial index over mainline railway segments. It reads `uk_mainline_railways.geojson`. - What it does: Defines 7 functions or classes, including load_rail_segments, build_index, _orient, seg_intersect, RailIndex. Uses libraries json, os, array, math, time. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 2 files: Crossings (claude); Edge Rail (claude). - Signatures: `load_rail_segments()`; `build_index(seg, cell=CELL)`; `_orient(ax, ay, bx, by, cx, cy)`; `seg_intersect(ax, ay, bx, by, cx, cy, dx, dy)`; `class RailIndex`; `__init__(self, cell=CELL)`; `count_crossings(self, poly, dedup=True)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Run Study - File: claude/sessions/202609021835-estate-and-corridor/scripts/run_study.py (Python, 66 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/run_study.py#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/1613.html#f3 - Synopsis: A Python command-line tool in the scripts folder of Claude that reads routes and validation set, using haversine. It is built from the run step (`run`). - What it achieves (comment): Route the 95 cable circuits and measure routed vs straight vs published. - What it does: It loads routes and validation set. Defines run. Uses libraries json, os, sys, time, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file out_routes.json; JSON file validation_set.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `run(pre="roads", out="out_routes.json")` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file out_routes.json; JSON file validation_set.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Sanitise - File: claude/sessions/202609021835-estate-and-corridor/scripts/sanitise.py (Python, 61 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/sanitise.py#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1613.html#f4 - Synopsis: A Python module in the scripts folder of Claude that reads deep and payload. - What it achieves (name): It reads `deep.json` and writes `payload.json`. - What it does: It loads deep and payload. Uses libraries json, io, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file deep.json. Out: JSON file payload.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file deep.json]; out [JSON file payload.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Sanity - File: claude/sessions/202609021835-estate-and-corridor/scripts/sanity.py (Python, 88 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/sanity.py#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/1613.html#f5 - Synopsis: A Python module in the scripts folder of Claude that uses haversine. - What it achieves (comment): Sanity checks demanded by the study brief. - What it does: It loads data. Uses libraries random, math, json, time, os. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: JSON file out_sanity.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file out_sanity.json]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Sweep - File: claude/sessions/202609021835-estate-and-corridor/scripts/sweep.py (Python, 80 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/sweep.py#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/1613.html#f6 - Synopsis: A Python command-line tool in the scripts folder of Claude that reads validation set, using haversine. It is built from the true length helper (`true_length`). - What it achieves (comment): Sweep a railway-crossing penalty (km-equivalent) added to edge weight. - What it does: It loads validation set. Defines true_length, main. Uses libraries json, os, array, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file validation_set.json; JSON file out_sweep.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `true_length(G, path)`; `main(pre="roads", penalties=(0.0, 0.5, 1.0, 2.0, 3.0, 5.0, 8.0, 20.0))` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file validation_set.json; JSON file out_sweep.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Verify Cowley - File: claude/sessions/202609021835-estate-and-corridor/scripts/verify_cowley.py (Python, 99 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/verify_cowley.py#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/1613.html#f7 - Synopsis: A Python module in the scripts folder of Claude covering GB transmission network, transformers, 400kV and 132kV. It is built from the card step (`card`). - What it achieves (comment): Independently recompute every figure the Botley West card states about COWLEY, straight from gb-transmission-network.v1.json. Its code works with 132 kV and 400 kV. - What it does: Defines card. Uses libraries json, subprocess, collections. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: transformers, 400kV, 132kV. - Inputs & outputs: In: JSON file gb-transmission-network.v1.json. Voltage levels named: 400kV, 132kV. - Signatures: `card(label, claimed, computed)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file gb-transmission-network.v1.json]; out []; crs []; voltages [400kV, 132kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Homepage - File: claude/sessions/202609021835-estate-and-corridor/scripts/verify_homepage.py (Python, 43 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609021835-estate-and-corridor/scripts/verify_homepage.py#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1613.html#f8 - Synopsis: A Python module in the scripts folder of Claude. - What it achieves (name): Its name says it verifies homepage. - What it does: Uses libraries io, re, subprocess, sys. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Census - File: claude/sessions/202609030120-cicd-spider/census.py (Python, 36 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609030120-cicd-spider/census.py#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/1613.html#f9 - Synopsis: A Python module in the sessions folder of Claude that reads members. - What it does: It loads members. Uses libraries json, glob, os, sys, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file _members.json; command-line arguments. Out: JSON file. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file _members.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### CI Log - File: claude/sessions/202609030120-cicd-spider/ci-log.sh (Shell, 15 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609030120-cicd-spider/ci-log.sh#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/1613.html#f10 - Synopsis: A shell script in the sessions folder of Claude using data from GitHub API. - What it does: It fetches data. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: GitHub API]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Gen Drift - File: claude/sessions/202609030120-cicd-spider/gen-drift.py (Python, 52 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609030120-cicd-spider/gen-drift.py#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1614.html#f1 - Synopsis: A Python module in the sessions folder of Claude that splits monotonic-utc-generations failures by KIND and by SIGN. - What it does: Uses libraries subprocess, re, datetime, sys, os. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Pass - File: claude/sessions/202609030120-cicd-spider/pass.py (Python, 405 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609030120-cicd-spider/pass.py#L1-L405 - Page: https://code.globalgrid2050.com/explore-code/s/1614.html#f2 - Synopsis: A Python module in the sessions folder of Claude that fetches spider state and ETYS normalized, using SHA-256. - What it achieves (comment): It is built from the now step (`now`), the git step (`git`) and the run step (`run`). Cicd-spider pass driver. - What it does: It fetches spider state and etys normalized. Defines 9 functions or classes, including now, git, run, D, tree_state. Uses libraries json, os, subprocess, sys, datetime. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file spider-state.json; JSON file etys-2025.normalized.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `now()`; `git(d, *a)`; `run(cwd, argv, timeout=600)`; `D(sev, msg)`; `tree_state(repo)`; `one_gate(item)`; `one_cvaa(d)`; `api(path)`; `ci(repo)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file spider-state.json; JSON file etys-2025.normalized.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Estate CI - File: claude/sessions/202609030422-handover/scripts/estate_ci.py (Python, 74 lines) · role automation · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609030422-handover/scripts/estate_ci.py#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1614.html#f3 - Synopsis: A Python module in the scripts folder of Claude using data from GitHub API. It is built from the API step (`api`). - What it achieves (comment): Estate CI status, from the API, filtered to each repo's own default branch. - What it does: It fetches data. Defines api. Uses libraries json, subprocess, sys, urllib.request. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API. - Signatures: `api(path)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Gen Drift - File: claude/sessions/202609030422-handover/scripts/gen_drift.py (Python, 70 lines) · role other · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609030422-handover/scripts/gen_drift.py#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/1614.html#f4 - Synopsis: A Python module in the scripts folder of Claude that converts to min (`to_min`). - What it achieves (comment): Classify generation-stamp drift in a repo: genuine error vs session-archive convention. - What it does: Defines to_min. Uses libraries re, subprocess, sys, datetime, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `to_min(stamp)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Pn Walls - File: claude/sessions/202609030422-handover/scripts/pn_walls.py (Python, 65 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609030422-handover/scripts/pn_walls.py#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/1614.html#f5 - Synopsis: A Python module in the scripts folder of Claude that works with collecting require (`collecting_require`). - What it achieves (comment): Enumerate every gate that would fail for a PipelineNews release, not just the first. - What it does: It loads data. Defines collecting_require. Uses libraries importlib.util, sys, traceback, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file release-manifest.json; command-line arguments. - Signatures: `collecting_require(condition, message)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release-manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Engine - File: claude/sessions/202609031559-skin-architecture/prototype/engine.js (JavaScript, 695 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609031559-skin-architecture/prototype/engine.js#L1-L695 - Page: https://code.globalgrid2050.com/explore-code/s/1615.html#f1 - Synopsis: A JavaScript file in the prototype folder of Claude that reads substations, cables and overhead lines (OHL), using haversine. It validates view (`validateView`), validates skin (`validateSkin`) and sorts num (`sortNum`). - What it achieves (comment): GridAtlas skin architecture — THE ENGINE. Its code works with 840 MW. It responds to pointerleave events. - What it does: It loads substations, cables and overhead lines (OHL). Defines 35 functions or classes, including distanceKm, coverage, corridorForCable, nearestSubstations, read. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations, cables, overhead lines (OHL). - Inputs & outputs: In: browser storage (getItem). Out: browser storage (setItem). - Downstream impact: Used directly by 1 file: Skin Architecture — Prototype Page (claude). - Signatures: `distanceKm(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `dLon(lon2 - lon1)`; `coverage(minimumKv)`; `corridorForCable(km)`; `nearestSubstations(lon, lat, subs, opts)`; `cap(opts && Number.isFinite(opts.maxKm))`; `minKv(opts && Number.isFinite(opts.minKv))`; `read(subject, subs, options)`; `nf(x, d)`; `validateView(view)`; `validateSkin(skin)`; `LayerRegistry(opts)`; `emit(type, detail)`; `declare(row)`; `countIn(s)`; `painted()`; `resident()`; `load(id)`; `t0(performance && performance.now)`; `t1(performance && performance.now)`; `minimise(id)`; `unload(id, why)`; `evictLru()`; `health()` (and 15 more) - VEDIC: MEASURE (GG2050-VEDIC-000001): GridAtlas / Geodesy · Mathematics / Spherical geometry. coordinate_pair, coordinate_pair -> distance_km - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [browser storage (getItem)]; out [browser storage (setItem)]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Skin Architecture — Prototype Page - File: claude/sessions/202609031559-skin-architecture/prototype/index.html (HTML, 710 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609031559-skin-architecture/prototype/index.html#L1-L710 - Page: https://code.globalgrid2050.com/explore-code/s/1616.html#f1 - Synopsis: A web page in the sessions folder of Claude that draws desktop, glanceable, tenfoot and broken compact. It paints switcher (`paintSwitcher`), applies tokens (`applyTokens`) and renders shell (`renderShell`). - What it achieves (name): Defines `cls`, `show`, `fill` and 15 more. Its code works with 400 kV. It reads `substations.json`. - What it does: It draws desktop, glanceable, tenfoot and broken compact. Defines 20 functions or classes, including $, cls, show, fill, paintSwitcher. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'prototype'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV. - Inputs & outputs: In: JSON file desktop.json; JSON file glanceable.json; JSON file tenfoot.json; JSON file broken-compact.json; JSON file substations.json; form fields (user input). Out: web page; canvas drawing. Voltage levels named: 400kV. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `$(s)`; `cls(v)`; `show(v)`; `fill(el, keys)`; `paintSwitcher()`; `applyTokens(el, skin)`; `renderShell(skin, reading, w, h)`; `drawMap(cv, reading)`; `px(ll)`; `currentReading()`; `render()`; `sync()`; `live()`; `rnd()`; `paintStats()`; `paintFacets()`; `sec(title, key, entries, fmt)`; `paintRows()`; `top(first + i)`; `note(s)`; `refresh()` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file desktop.json; JSON file glanceable.json; JSON file tenfoot.json; JSON file broken-compact.json; JSON file substations.json; form fields (user input)]; out [web page; canvas drawing]; crs []; voltages [400kV] - Edges: uses 1 estate file (script-src 1); used by 0; mentioned by 0 ### Audit Harvest - File: claude/sessions/202609032310-coaching/audit_harvest.py (Python, 168 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609032310-coaching/audit_harvest.py#L1-L168 - Page: https://code.globalgrid2050.com/explore-code/s/1617.html#f2 - Synopsis: A Python command-line tool in the sessions folder of Claude that fetches wider fleet, grid proximity and audit rows. - What it achieves (comment): It is built from the ask step (`ask`), the load step (`load`) and the strict grounded helper (`strict_grounded`). Independent audit of `familiars/harvest.py`'s precision claim. - What it does: It fetches wider fleet, grid proximity and audit rows. Defines ask, load, strict_grounded, main, score. Uses libraries json, os, re, sys, time. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file 202609030009-wider-fleet.json; JSON file 202608311610-grid-proximity.json; JSON file audit_rows.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `ask(name, timeout=90)`; `load(n)`; `strict_grounded(answer, name)`; `main()`; `score(rows_, ground_key)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file 202609030009-wider-fleet.json; JSON file 202608311610-grid-proximity.json; JSON file audit_rows.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Redboard - File: claude/sessions/202609032310-coaching/verify_redboard.py (Python, 57 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609032310-coaching/verify_redboard.py#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/1617.html#f3 - Synopsis: A Python module in the sessions folder of Claude that reads rb snapshot. It is built from the clean step (`clean`) and the flat step (`flat`). - What it achieves (comment): Grade `logs/red-board.json` by re-fetching each cited job log and checking the quote. - What it does: It loads rb snapshot. Defines clean, flat. Uses libraries json, os, random, re, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file rb-snapshot.json; command-line arguments. - Signatures: `clean(s)`; `flat(s)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file rb-snapshot.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Rows - File: claude/sessions/202609032310-coaching/verify_rows.py (Python, 58 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609032310-coaching/verify_rows.py#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/1617.html#f4 - Synopsis: A Python module in the sessions folder of Claude that reads audit rows, wider fleet and grid proximity. - What it achieves (comment): Verify every audited row against the SOURCE FILE it claims to come from. - What it does: It loads audit rows, wider fleet and grid proximity. Uses libraries json, os, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file audit_rows.json; JSON file 202609030009-wider-fleet.json; JSON file 202608311610-grid-proximity.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file audit_rows.json; JSON file 202609030009-wider-fleet.json; JSON file 202608311610-grid-proximity.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Ab - File: claude/sessions/202609040030-ab-discovery/ab.py (Python, 260 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609040030-ab-discovery/ab.py#L1-L260 - Page: https://code.globalgrid2050.com/explore-code/s/1617.html#f5 - Synopsis: A Python command-line tool in the sessions folder of Claude that runs release (`run_release`). It is built from the scroll to table helper (`scroll_to_table`). - What it achieves (comment): Drive two Pipeline News releases through the SAME reading and diff them. It accepts `--port`, `--a` and `--b`. - What it does: It loads data. Defines scroll_to_table, run_release, main. Uses libraries argparse, json, os, sys, time. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `scroll_to_table(b)`; `run_release(b, gen, shots, tag)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Maphref - File: claude/sessions/202609040030-ab-discovery/maphref.py (Python, 128 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609040030-ab-discovery/maphref.py#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/1617.html#f6 - Synopsis: A Python command-line tool in the sessions folder of Claude. It is built from the sample step (`sample`). - What it achieves (comment): What does MAP hand the Atlas, and does it match the row it sits in? It accepts `--port`, `--gen` and `--out`. - What it does: It loads data. Defines sample, main. Uses libraries argparse, json, os, sys, time. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sample(b, label)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Pager - File: claude/sessions/202609040030-ab-discovery/pager.py (Python, 39 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609040030-ab-discovery/pager.py#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/1618.html#f1 - Synopsis: A Python module in the sessions folder of Claude covering solar. - What it achieves (comment): Does NEXT 50 move 50 rows, on a window that says 1-100? - What it does: It lists and searches solar. Uses libraries json, sys, time, clicker. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar. - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Probe - File: claude/sessions/202609040030-ab-discovery/probe.py (Python, 124 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609040030-ab-discovery/probe.py#L1-L124 - Page: https://code.globalgrid2050.com/explore-code/s/1618.html#f2 - Synopsis: A Python command-line tool in the sessions folder of Claude that reads solar. - What it achieves (comment): A short, targeted read of one release. Its code works with 0 MW. It accepts `--port`, `--gen` and `--out`. - What it does: It loads solar. Defines main. Uses libraries argparse, json, os, sys, time. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar. - Inputs & outputs: In: command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Show - File: claude/sessions/202609040030-ab-discovery/show.py (Python, 53 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609040030-ab-discovery/show.py#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1618.html#f3 - Synopsis: A Python module in the sessions folder of Claude. - What it achieves (comment): Print one A/B reading as a diff, not as two dumps. - What it does: It loads data. Defines p. Uses libraries json, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `p(*a)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### T2show - File: claude/sessions/202609040030-ab-discovery/t2show.py (Python, 15 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609040030-ab-discovery/t2show.py#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/1618.html#f4 - Synopsis: A Python module in the sessions folder of Claude. - What it does: It loads data. Uses libraries json, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Timeline - File: claude/sessions/202609040030-ab-discovery/timeline.py (Python, 156 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609040030-ab-discovery/timeline.py#L1-L156 - Page: https://code.globalgrid2050.com/explore-code/s/1618.html#f5 - Synopsis: A Python command-line tool in the sessions folder of Claude using data from the GridAtlas repository. - What it achieves (comment): When does the grid measurement appear, and what is on screen before it does? It accepts `--port`, `--profile` and `--mobile`. - What it does: It loads data. Defines main. Uses libraries argparse, json, os, sys, time. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: gridatlas data; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Timeline2 - File: claude/sessions/202609040030-ab-discovery/timeline2.py (Python, 174 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609040030-ab-discovery/timeline2.py#L1-L174 - Page: https://code.globalgrid2050.com/explore-code/s/1618.html#f6 - Synopsis: A Python command-line tool in the sessions folder of Claude using data from the GridAtlas repository. It is built from the key step (`key`). - What it achieves (comment): The same arrival, sampled four times a second, reported as TRANSITIONS. Its code works with 1 Hz. It accepts `--port`, `--profile` and `--mobile`. - What it does: It loads data. Defines key, main. Uses libraries argparse, json, os, sys, time. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: gridatlas data; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `key(s)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Tlshow - File: claude/sessions/202609040030-ab-discovery/tlshow.py (Python, 20 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/sessions/202609040030-ab-discovery/tlshow.py#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1618.html#f7 - Synopsis: A Python module in the sessions folder of Claude. - What it does: It loads data. Uses libraries json, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Features - File: code-generator/spider/features.yml (YAML, 12 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/spider/features.yml#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1618.html#f8 - Synopsis: A configuration file in the spider folder of Code Generator. - What it achieves (comment): Graphs this repository publishes for the Spider dashboard. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file apps.json. - Downstream impact: Used directly by 1 file: Sources (ventus-grid-engine). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file apps.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### ChatGPT Ingest ETYS - File: data-grid-gb/chatgpt/ingest_etys.py (Python, 244 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/chatgpt/ingest_etys.py#L1-L244 - Page: https://code.globalgrid2050.com/explore-code/s/1619.html#f1 - Synopsis: A Python command-line tool in Data Grid GB that reads sources and transformers, using SHA-256. It parses sites (`parse_sites`), parses equipment (`parse_equipment`) and parses faults (`parse_faults`). - What it achieves (comment): Deterministically normalise pinned National Energy System Operator (NESO) ETYS 2025 workbooks. Its code works with 100 MVA. It accepts `--appendix-b`, `--fault-peak` and `--fault-minimum`. - What it does: It loads sources and transformers. Defines 12 functions or classes, including sha256, pinned, clean, records, sheet_to. Uses libraries __future__, argparse, hashlib, json, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: transformers. - Inputs & outputs: In: JSON file sources.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha256(path: Path)`; `pinned(path: Path, artifact: str, ledger: dict[str, Any])`; `clean(value: Any)`; `records(ws: Any, required: tuple[str, ...])`; `sheet_to(ws: Any)`; `has_header(ws: Any, required: tuple[str, ...])`; `parse_sites(wb: Any)`; `parse_equipment(wb: Any, prefix: str, kind: str, changed: bool)`; `parse_faults(path: Path, demand_case: str)`; `unique(items: list[dict[str, Any]], fields: tuple[str, ...], label: str)`; `build(args: argparse.Namespace)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file sources.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Contract - File: data-grid-gb/chatgpt/tests/test_contract.py (Python, 45 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/chatgpt/tests/test_contract.py#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1619.html#f2 - Synopsis: A test in the tests folder of Data Grid GB that uses SHA-256 using data from National Energy System Operator (NESO) data portal. - What it achieves (name): It is built from the feed contract test class (`FeedContractTest`). Defines `FeedContractTest`, `test_mobile_acceptance_words_are_exact`, `test_source_ledger_is_complete_and_hashes_are_well_formed` and 1 more. - What it does: It tests its inputs. Defines FeedContractTest, test_mobile_acceptance_words_are_exact, test_source_ledger_is_complete_and_hashes_are_well_formed, test_real_product_if_built. Uses libraries hashlib, json, unittest, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: NESO data portal; JSON file sources.json; JSON file etys-2025.normalized.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class FeedContractTest`; `test_mobile_acceptance_words_are_exact(self)`; `test_source_ledger_is_complete_and_hashes_are_well_formed(self)`; `test_real_product_if_built(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: NESO data portal; JSON file sources.json; JSON file etys-2025.normalized.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### ChatGPT Verify Product - File: data-grid-gb/chatgpt/verify_product.py (Python, 40 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/chatgpt/verify_product.py#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1619.html#f3 - Synopsis: A Python command-line tool in Data Grid GB that uses SHA-256. - What it achieves (name): Defines `require`. - What it does: It loads data. Defines require, main. Uses libraries __future__, hashlib, json, sys, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'chatgpt'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `require(condition: bool, message: str)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Gemini - File: gemini/docs/assets/gemini.css (CSS, 25 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gemini/blob/bf5d9f7de72c07ce57ec64864ac5181cc46c8381/docs/assets/gemini.css#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1619.html#f4 - Synopsis: A style sheet in the assets folder covering solar. - What it achieves (comment): Adapted Pipeline News newspaper components; provenance in `UI-SOURCES.md`. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'gemini'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Gemini Build Manifest - File: gemini/scripts/build_manifest.py (Python, 105 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gemini/blob/bf5d9f7de72c07ce57ec64864ac5181cc46c8381/scripts/build_manifest.py#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/1619.html#f5 - Synopsis: A Python command-line tool in the scripts folder that reads sources and packets, using SHA-256. - What it achieves (comment): It is built from the esc step (`esc`), the write step (`write`) and the build step (`build`). Deterministic static publication; Python 3.11+, standard library. It writes `robots.txt`. - What it does: It loads sources and packets. Defines esc, write, build, publish. Uses libraries os, json, hashlib, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'gemini'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file SOURCES.json; JSON file PACKETS.json. - Downstream impact: Used directly by 1 file: Publish Gemini Bridge Workflow (gemini). - Signatures: `esc(s)`; `write(path, data)`; `build()`; `publish(repo_path, dest, data, category, summary)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in [JSON file SOURCES.json; JSON file PACKETS.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### UI Packets - File: gemini/scripts/ui/packets.py (Python, 40 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gemini/blob/bf5d9f7de72c07ce57ec64864ac5181cc46c8381/scripts/ui/packets.py#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1619.html#f6 - Synopsis: A Python module in the scripts folder of Gemini that works with packet documents (`packet_documents`), using SHA-256. It is built from the sitemap step (`sitemap`). - What it achieves (comment): Bounded static packets from curated immutable source evidence. - What it does: It calculates its inputs. Defines packet_documents, sitemap. Uses libraries xml.etree.ElementTree. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'gemini'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Gemini Build Manifest (gemini). Reached from 1 other entry point, including Publish Gemini Bridge Workflow (gemini). - Signatures: `packet_documents(packets, esc, base)`; `sitemap(base, stamp, paths)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### UI Render Home - File: gemini/scripts/ui/render_home.py (Python, 32 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gemini/blob/bf5d9f7de72c07ce57ec64864ac5181cc46c8381/scripts/ui/render_home.py#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/1619.html#f7 - Synopsis: A Python module in the scripts folder of Gemini covering sources, using SHA-256 and uses data from the kuiper-belt repository. - What it achieves (comment): It renders home (`render_home`) and is built from the link step (`link`) and the section step (`section`). Static presentation, independent of manifest data and API endpoints. - What it does: It calculates sources. Defines render_home, link, section. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'gemini'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file SOURCES.json. - Downstream impact: Used directly by 1 file: Gemini Build Manifest (gemini). Reached from 1 other entry point, including Publish Gemini Bridge Workflow (gemini). - Signatures: `render_home(sha, stamp, artifacts, sources, esc, base)`; `link(path, label, cls="")`; `section(n, title, subtitle, body, id)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file SOURCES.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Gemini Verify All Claims - File: gemini/scripts/verify_all_claims.py (Python, 179 lines) · role geodesy · stage ingest · entry point - Source: https://github.com/Ventusltd/gemini/blob/bf5d9f7de72c07ce57ec64864ac5181cc46c8381/scripts/verify_all_claims.py#L1-L179 - Page: https://code.globalgrid2050.com/explore-code/s/1620.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads GB transmission network, connection points, wider fleet and transformers. - What it achieves (comment): It runs audit (`run_audit`) and is built from the haversine km helper (`haversine_km`) and the normalise step (`normalise`). Independent Multi-Agent Claims Verification Script. Computes directly from raw JSON files in data-grid-GB, PipelineNews, and GridAtlas. - What it does: It loads GB transmission network, connection points, wider fleet and transformers. Defines haversine_km, run_audit, normalise. Uses libraries json, math, os, re, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'gemini'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: transformers, 400kV, 275kV, 132kV, 66kV, 33kV. - Inputs & outputs: In: JSON file gb-transmission-network.v1.json; JSON file connection-points.v3.json; JSON file 202609030009-wider-fleet.json. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `haversine_km(lat1, lon1, lat2, lon2)`; `run_audit()`; `normalise(name)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file gb-transmission-network.v1.json; JSON file connection-points.v3.json; JSON file 202609030009-wider-fleet.json]; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Manifest - File: gemini/tests/test_manifest.py (Python, 84 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/gemini/blob/bf5d9f7de72c07ce57ec64864ac5181cc46c8381/tests/test_manifest.py#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/1620.html#f2 - Synopsis: A test in the tests folder of Gemini that uses SHA-256. It is built from the manifest tests class (`ManifestTests`), the links class (`Links`) and the handle starttag helper (`handle_starttag`). - What it achieves (name): Defines `ManifestTests`, `test_published_artifacts`, `test_static_directory` and 6 more. - What it does: It tests its inputs. Defines 11 functions or classes, including ManifestTests, test_published_artifacts, test_static_directory, Links, __init__. Uses libraries hashlib, json, pathlib, unittest, html.parser. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'gemini'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file SOURCES.json. - Downstream impact: Used directly by 1 file: Publish Gemini Bridge Workflow (gemini). - Signatures: `class ManifestTests`; `test_published_artifacts(self)`; `test_static_directory(self)`; `class Links`; `__init__(self)`; `handle_starttag(self, tag, attrs)`; `test_static_homepage(self)`; `test_packets_and_discovery(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file SOURCES.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### UI Gemini - File: gemini/ui/gemini.css (CSS, 18 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gemini/blob/bf5d9f7de72c07ce57ec64864ac5181cc46c8381/ui/gemini.css#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1620.html#f3 - Published at: https://ventusltd.github.io/gemini/ui/ - Synopsis: A style sheet covering solar. Served with the page at https://ventusltd.github.io/gemini/ui/. - What it achieves (comment): Pipeline News foundation adapted for Gemini: source, `ui/styles/202608261740-v7-foundation.css`. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'gemini'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Gemini — UI Page - File: gemini/ui/index.html (HTML, 19 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gemini/blob/bf5d9f7de72c07ce57ec64864ac5181cc46c8381/ui/index.html#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/1620.html#f4 - Published at: https://ventusltd.github.io/gemini/ui/ - Synopsis: A web page. Published at https://ventusltd.github.io/gemini/ui/. - What it achieves (comment): Public engineering context and evidence for Gemini, Claude and ChatGPT. - What it does: It draws its content. Uses libraries assets/globalgrid2050.css, assets/gemini.css. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'gemini'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/gemini/ui/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Verify VEDIC Homepage Release - File: globalgrid2050/scripts/verify_vedic_homepage_release.py (Python, 311 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/verify_vedic_homepage_release.py#L1-L311 - Page: https://code.globalgrid2050.com/explore-code/s/1620.html#f5 - Synopsis: A Python command-line tool in the scripts folder that fetches anatomy, translation geodesy, nearest spider and dictionary, using SHA-256 from the vedic- repository. - What it achieves (comment): It verifies release (`verify_release`), verifies command root (`verify_command_root`) and checks evidence only (`check_evidence_only`). Exact release and homepage verification for the manifest-driven VEDIC promotion. It reads `release.json`. - What it does: It fetches anatomy, translation geodesy, nearest spider and dictionary. Defines 12 functions or classes, including sha, read, match, verify_release, verify_command_root. Uses libraries hashlib, json, os, pathlib, re. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: vedic- data; JSON file anatomy.json; JSON file translation-geodesy.json; JSON file nearest-spider.json; JSON file dictionary.json; JSON file release.json; JSON file command-index.json; JSON file vedic-v3-release.json. Out: JSON file homepage-owner.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 VEDIC Homepage Promotion Workflow (globalgrid2050). - Signatures: `sha(data)`; `read(url)`; `match(url,wanted)`; `verify_release(release)`; `verify_command_root(target)`; `check_evidence_only(v2_payload,v3_payload)`; `verify_evidence_only(m)`; `payload(release)`; `import_bundle(root,pin_bytes)`; `compare_catalogues(previous,current,m)`; `verify_command_successor(manifest)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: vedic- data; JSON file anatomy.json; JSON file translation-geodesy.json; JSON file nearest-spider.json; JSON file dictionary.json; JSON file release.json; JSON file command-index.json; JSON file vedic-v3-release.json]; out [JSON file homepage-owner.json]; crs []; voltages [] - Edges: uses 3 estate files (script-call 2, estate-url 1); used by 1; mentioned by 0 ### Png Pixels - File: globalgrid2050/testcode/202609051419/teleprinter/png-pixels.mjs (JavaScript, 141 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051419/teleprinter/png-pixels.mjs#L1-L141 - Page: https://code.globalgrid2050.com/explore-code/s/1621.html#f1 - Synopsis: A JavaScript module in the teleprinter folder of GlobalGrid2050. It is built from the fail step (`fail`), the crc32 step (`crc32`) and the inflate step (`inflate`). - What it achieves (comment): Decode PNG sample bytes without browser color conversion or alpha premultiplication. - What it does: It lists and searches its content. Defines fail, crc32, inflate, paeth, decodePngPixels. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Print Screen (globalgrid2050); Codex Png Pixels Test (teleprinter). Reached from 3 other entry points, including Codex Demo (teleprinter); Sandbox — Pipeline Page (testcode); Teleprinter Bootstrap (testcode). - Signatures: `export decodePngPixels(input)`; `fail(reason)`; `crc32(bytes)`; `inflate(parts, limit, exact = false)`; `paeth(a, b, c)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Print Source Code - File: globalgrid2050/testcode/202609051457/teleprinter/print-source-code.js (JavaScript, 179 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051457/teleprinter/print-source-code.js#L1-L179 - Page: https://code.globalgrid2050.com/explore-code/s/1621.html#f2 - Synopsis: A JavaScript module in the teleprinter folder of GlobalGrid2050 that fetches verified source code (`fetchVerifiedSourceCode`), using SHA-256. - What it achieves (comment): It fetches verified source code (`fetchVerifiedSourceCode`) and is built from the sha256 step (`sha256`) and the same origin helper (`sameOrigin`). Browser driver: attach to a button; fetch, verify, and download committed source as UTF-8 text. It responds to click events. - What it does: It draws its content. Defines 9 functions or classes, including sha256, sameOrigin, get, fetchVerifiedSourceCode, attachPrintSourceCode. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 4 files: Controls (globalgrid2050); Codex Demo (teleprinter); Codex Source Code Test (teleprinter); Controls (testcode). Reached from 2 other entry points, including Sandbox — Pipeline Page (testcode); Teleprinter Bootstrap (testcode). - Signatures: `export fetchVerifiedSourceCode({ manifestUrl, textUrl, expectedRepository, expectedCommit })`; `export attachPrintSourceCode({ button, copyButton, shareButton, status, fallbackContainer, manifestUrl, textUrl, expectedRepository, expectedCommi...)`; `sha256(bytes)`; `sameOrigin(url)`; `get(url)`; `manualCopy(text)`; `bind(control, label, action)`; `click()`; `detach()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Screen PDF - File: globalgrid2050/testcode/202609051457/teleprinter/screen-pdf.mjs (JavaScript, 150 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051457/teleprinter/screen-pdf.mjs#L1-L150 - Page: https://code.globalgrid2050.com/explore-code/s/1621.html#f3 - Synopsis: A JavaScript module in the teleprinter folder of GlobalGrid2050. It gets screen PDF layout (`getScreenPdfLayout`) and is built from the bytes step (`bytes`) and the join step (`join`). - What it achieves (comment): Codex Teleprinter: lossless pixels with optional vector furniture outside the image. - What it does: It calculates its inputs. Defines 10 functions or classes, including bytes, join, deflate, printable, textWidth. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Print Screen (globalgrid2050); Codex Screen PDF Test (teleprinter). Reached from 3 other entry points, including Codex Demo (teleprinter); Sandbox — Pipeline Page (testcode); Teleprinter Bootstrap (testcode). - Signatures: `export getScreenPdfLayout(width, height, furniture)`; `export screenPdf({ width, height, rgba, iccProfile, furniture })`; `bytes(s)`; `join(parts)`; `deflate(data)`; `printable(value)`; `textWidth(text, font, size)`; `wrap(text, font, size, available)`; `pdfString(text)`; `stream(dict, data)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Runtime Source - File: globalgrid2050/testcode/202609051517/teleprinter/runtime-source.js (JavaScript, 352 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051517/teleprinter/runtime-source.js#L1-L352 - Page: https://code.globalgrid2050.com/explore-code/s/1622.html#f1 - Synopsis: A JavaScript module in the teleprinter folder of GlobalGrid2050 that reads map (`readMapState`), opens document roots (`openDocumentRoots`) and reads diagnostic http (`readDiagnosticHTTP`), using SHA-256. - What it achieves (comment): It reads map state (`readMapState`), opens document roots (`openDocumentRoots`) and reads diagnostic http (`readDiagnosticHTTP`). Capture diagnostic source data. Nothing collected here is executed. It responds to abort events. - What it does: It draws its content. Defines 21 functions or classes, including sha256, base64, bodyText, readMapState, openDocumentRoots. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Controls (globalgrid2050); Codex Runtime Source Test (teleprinter). - Signatures: `export captureRuntimeSource({ baseBytes, baseManifest, fetchImpl } = {})`; `sha256(bytes)`; `base64(bytes)`; `bodyText(bytes)`; `readMapState()`; `openDocumentRoots()`; `documentState(roots)`; `jsReferences(text)`; `cssReferences(text)`; `readDiagnosticHTTP(url, { signal, account })`; `finish(error, value)`; `abort()`; `charge(size)`; `account(size)`; `discover(specifier, from, reason, module = false, expectedKind)`; `discoverCode(text, from, kind)`; `mapReference(reference, from, reason, expectedKind)`; `discoverMapStyle()`; `inspectMapResponse(resource, bytes, text)`; `collect(resource)`; `append(value)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Controls - File: globalgrid2050/testcode/202609051817/teleprinter/controls.js (JavaScript, 156 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051817/teleprinter/controls.js#L1-L156 - Page: https://code.globalgrid2050.com/explore-code/s/1622.html#f2 - Synopsis: A JavaScript module in the teleprinter folder of GlobalGrid2050 that mounts teleprinter (`mountTeleprinter`), opens dialog (`openDialog`) and source (`openSource`) and reads inputs for image. - What it achieves (comment): It opens dialog (`openDialog`), opens source (`openSource`) and closes fallback menu (`closeFallbackMenu`). The app supplies pinned source URLs; both engines remain authored in Teleprinter. It responds to click and keydown events. - What it does: It draws its content. Defines 12 functions or classes, including mountTeleprinter, el, openDialog, openSource, print. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: user-supplied file (file picker); form fields (user input). - Downstream impact: Used directly by 3 files: Teleprinter Bootstrap (globalgrid2050); Teleprinter Bootstrap (globalgrid2050); Teleprinter Bootstrap (globalgrid2050). - Signatures: `export mountTeleprinter({ manifestUrl, textUrl, expectedCommit, expectedRepository, appName = 'This app', printButtons })`; `el(id)`; `openDialog(title)`; `openSource()`; `print(image)`; `appPrint(event)`; `closeFallbackMenu()`; `sourceAction(action)`; `screenshotAction()`; `makeCommand(id, label, action, model)`; `installFallbackFile()`; `installFileSource()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker); form fields (user input)]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 3; mentioned by 0 ### Print Screen - File: globalgrid2050/testcode/202609051817/teleprinter/print-screen.js (JavaScript, 47 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051817/teleprinter/print-screen.js#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1622.html#f3 - Synopsis: A JavaScript module in the teleprinter folder of GlobalGrid2050 that downloads file (`downloadFile`) and draws on a canvas. - What it achieves (name): It downloads file (`downloadFile`) and is built from the image pixels helper (`imagePixels`) and the print screen helper (`printScreen`). Defines `downloadFile`, `imagePixels` and `printScreen`. - What it does: It draws its content. Defines downloadFile, imagePixels, printScreen. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 4 files: Controls (globalgrid2050); Codex Demo (teleprinter); Codex Outcome Test (teleprinter); Controls (testcode). Reached from 2 other entry points, including Sandbox — Pipeline Page (testcode); Teleprinter Bootstrap (testcode). - Signatures: `export downloadFile(blob, filename)`; `export imagePixels(blob)`; `export printScreen({ capture, image, furniture, filename = 'teleprint-screen.pdf' } = {})` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 4; mentioned by 0 ### Capture Geometry - File: globalgrid2050/testcode/202609051844/teleprinter/capture-geometry.mjs (JavaScript, 12 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051844/teleprinter/capture-geometry.mjs#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1622.html#f4 - Synopsis: A JavaScript module in the teleprinter folder of GlobalGrid2050 that works with assert stable geometry (`assertStableGeometry`). - What it achieves (comment): It is built from the capture geometry helper (`captureGeometry`) and the assert stable geometry helper (`assertStableGeometry`). Match the renderer's integer backing-store contract without rescaling pixels. - What it does: It calculates its inputs. Defines captureGeometry, assertStableGeometry. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: App Frame (globalgrid2050); Codex Capture Geometry Test (teleprinter). Reached from 4 other entry points, including Print Screen (globalgrid2050); Codex Demo (teleprinter); Sandbox — Pipeline Page (testcode). - Signatures: `export captureGeometry(width, height, ratio)`; `export assertStableGeometry(before, after, frame)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### App Frame - File: globalgrid2050/testcode/202609051845/teleprinter/app-frame.js (JavaScript, 59 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051845/teleprinter/app-frame.js#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/1622.html#f5 - Synopsis: A JavaScript module in the teleprinter folder of GlobalGrid2050 that reads canvases (`readCanvases`) and draws on a canvas. - What it achieves (comment): It reads canvases (`readCanvases`) and is built from the capture app frame helper (`captureAppFrame`) and the done step (`done`). App-only rendering. No browser chrome, display permission or host binding. - What it does: It draws its content. Defines captureAppFrame, readCanvases, done. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 2 files: Print Screen (globalgrid2050); Codex Screen Capture Test (teleprinter). Reached from 3 other entry points, including Codex Demo (teleprinter); Sandbox — Pipeline Page (testcode); Teleprinter Bootstrap (testcode). - Signatures: `export captureAppFrame()`; `readCanvases()`; `done()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Clone Visible UI - File: globalgrid2050/testcode/202609051845/teleprinter/clone-visible-ui.js (JavaScript, 29 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051845/teleprinter/clone-visible-ui.js#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1622.html#f6 - Synopsis: A JavaScript module in the teleprinter folder of GlobalGrid2050. It is built from the clone visible printer ui helper (`cloneVisiblePrinterUi`) and the copy step (`copy`). - What it achieves (comment): Transfer the printer's visible shadow UI without leaking its CSS into the app. - What it does: It draws its content. Defines cloneVisiblePrinterUi, copy. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: App Frame (globalgrid2050). Reached from 4 other entry points, including Print Screen (globalgrid2050); Codex Demo (teleprinter); Sandbox — Pipeline Page (testcode). - Signatures: `export cloneVisiblePrinterUi(liveDocument, clonedDocument)`; `copy(node)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Layer Quick Controls - File: globalgrid2050/testcode/202609051848/teleprinter/layer-quick-controls.js (JavaScript, 40 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051848/teleprinter/layer-quick-controls.js#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1622.html#f7 - Synopsis: A JavaScript module in the teleprinter folder of GlobalGrid2050 that toggles layer group (`toggleLayerGroup`). - What it achieves (comment): It toggles layer group (`toggleLayerGroup`) and is built from the mount layer quick controls helper (`mountLayerQuickControls`) and the boxes step (`boxes`). Extracted from GridAtlas `installMobileTray`/quickChip; existing engine controls remain authoritative. It responds to click and change events. - What it does: It draws its content. Defines toggleLayerGroup, mountLayerQuickControls, boxes, reflect, refresh. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Teleprinter Bootstrap (globalgrid2050); Codex Layer Quick Controls Test (teleprinter). - Signatures: `export toggleLayerGroup(boxes)`; `export mountLayerQuickControls(doc = document)`; `boxes()`; `reflect()`; `refresh()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Layout Command - File: globalgrid2050/testcode/202609051850/teleprinter/layout-command.js (JavaScript, 24 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051850/teleprinter/layout-command.js#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1623.html#f1 - Synopsis: A JavaScript module in the teleprinter folder of GlobalGrid2050 that works with selected layout control (`selectedLayoutControl`). - What it achieves (comment): It is built from the selected layout control helper (`selectedLayoutControl`) and the mount layout command helper (`mountLayoutCommand`). Separate Layout entry point. Reuses the selected project's existing layout command. It responds to click events. - What it does: It draws its content. Defines selectedLayoutControl, mountLayoutCommand. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Teleprinter Bootstrap (globalgrid2050); Codex Layout Command Test (teleprinter). - Signatures: `export selectedLayoutControl(doc = document)`; `export mountLayoutCommand(doc = document)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Session Restart - File: globalgrid2050/testcode/202609052015/tool-layers/session-restart.js (JavaScript, 23 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609052015/tool-layers/session-restart.js#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1623.html#f2 - Synopsis: A JavaScript module in the tool layers folder of GlobalGrid2050 that works with request confirmation (`requestConfirmation`) and cancel restart (`cancelRestart`). - What it achieves (comment): It is built from the mount session restart helper (`mountSessionRestart`), the reset step (`reset`) and the request confirmation helper (`requestConfirmation`). Restart only this iframe after an explicit two-step user action. It responds to click and tool events. - What it does: It draws its content. Defines mountSessionRestart, reset, requestConfirmation, activate, cancelRestart. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Session Restart Test (testcode); Host (globalgrid2050). Reached from 3 other entry points, including Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `export mountSessionRestart(layer, bar, frame, entry)`; `reset()`; `requestConfirmation()`; `activate()`; `cancelRestart()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Teleprinter Bootstrap - File: globalgrid2050/testcode/202609052023/teleprinter-bootstrap.js (JavaScript, 11 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609052023/teleprinter-bootstrap.js#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/1623.html#f3 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that draws landing pin and landing code. - What it does: It draws landing pin and landing code. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file landing-source-pin.json; JSON file landing-source-code.manifest.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file landing-source-pin.json; JSON file landing-source-code.manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test VEDIC Entry - File: globalgrid2050-homepage/tests/test_vedic_entry.py (Python, 30 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/tests/test_vedic_entry.py#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/1623.html#f4 - Synopsis: A test in the tests folder of GlobalGrid2050 Homepage that checks VEDIC — Index Page using data from the vedic- repository. - What it achieves (name): It is built from the vedic entry tests class (`VedicEntryTests`). Defines `VedicEntryTests` and `test_vedic_section`. - What it does: It tests its inputs. Defines VedicEntryTests, test_vedic_section. Uses libraries json, unittest, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: vedic- data; JSON file homepage.json; JSON file entity-types.json. - Downstream impact: Used directly by 3 files: Build Homepage Release Candidate Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage). - Signatures: `class VedicEntryTests`; `test_vedic_section(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: vedic- data; JSON file homepage.json; JSON file entity-types.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 3; mentioned by 0 ### Claude Analyse Corpus GPU - File: gpu-drivers-for-global-grid/claude/analyse-corpus-gpu.mjs (JavaScript, 343 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/claude/analyse-corpus-gpu.mjs#L1-L343 - Page: https://code.globalgrid2050.com/explore-code/s/1623.html#f5 - Synopsis: A JavaScript module in GPU Drivers for Global Grid that fetches corpus GPU analysis, using SHA-256. - What it achieves (comment): It resolves root (`resolveRoot`) and is built from the collect step (`collect`) and the read step (`read`). This asks a question whose answer changes what ships. - What it does: It fetches corpus GPU analysis. Defines resolveRoot, collect, read. Uses libraries node:fs, node:crypto, node:url, node:path, node:os. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The script demonstrates its own caveat when run on its fallback corpus, the `claude/` directory itself: `analyse-corpus-gpu.mjs` and `bench-gpu.mjs` score 0.99224 against each other." - Inputs & outputs: In: JSON file corpus-gpu-analysis.json; command-line arguments. Out: JSON file corpus-gpu-analysis.json; WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Claude Bench Workflow (gpu-drivers-for-global-grid). - Signatures: `resolveRoot()`; `collect(d, out = [])`; `chromium(pwMod.default || pwMod)`; `b(w >> ((abs & 3u) * 8u))`; `read(buf, size)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file corpus-gpu-analysis.json; command-line arguments]; out [JSON file corpus-gpu-analysis.json; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Claude Bench Cpu Ram - File: gpu-drivers-for-global-grid/claude/bench-cpu-ram.mjs (JavaScript, 162 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/claude/bench-cpu-ram.mjs#L1-L162 - Page: https://code.globalgrid2050.com/explore-code/s/1623.html#f6 - Synopsis: A JavaScript module in GPU Drivers for Global Grid that resolves artefact (`resolveArtefact`), using SHA-256. It resolves artefact (`resolveArtefact`) and is built from the work step (`work`). - What it achieves (comment): No network, no model. It loads a large text artefact (the original run used the real 27.5 MB GridAtlas teleprint the architect produced on ) and measures several different things, each of which stresses a… - What it does: It loads data. Defines work, resolveArtefact. Uses libraries node:worker_threads, node:fs, node:crypto, node:url, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Claude Bench Workflow (gpu-drivers-for-global-grid). - Signatures: `work(buf)`; `resolveArtefact(argvPath)`; `totalMB(bytes * n)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Claude Bench GPU - File: gpu-drivers-for-global-grid/claude/bench-gpu.mjs (JavaScript, 344 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/claude/bench-gpu.mjs#L1-L344 - Page: https://code.globalgrid2050.com/explore-code/s/1624.html#f1 - Synopsis: A JavaScript module in GPU Drivers for Global Grid that resolves artefact (`resolveArtefact`) and reads count (`readCount`). It resolves artefact (`resolveArtefact`) and reads count (`readCount`). - What it achieves (comment): THE TELEPRINT ON THE RTX 5070, WITH THE CUDA BEST-PRACTICE RULES APPLIED. --------------------------------------------------------------------------- The same ~27.5 MB artefact the CPU bench ate, uploaded to the discrete GPU and reduced by a compute shader. - What it does: It fetches data. Defines 8 functions or classes, including resolveArtefact, pipe, newSrcWriteBuffer, newSrcMapped, readCount. Uses libraries node:fs, node:url, node:path, playwright. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The script demonstrates its own caveat when run on its fallback corpus, the `claude/` directory itself: `analyse-corpus-gpu.mjs` and `bench-gpu.mjs` score 0.99224 against each other." - Inputs & outputs: In: command-line arguments. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: Claude Bench Workflow (gpu-drivers-for-global-grid). - Signatures: `chromium(pwMod.default || pwMod)`; `resolveArtefact()`; `pipe(m, e)`; `newSrcWriteBuffer()`; `newSrcMapped()`; `readCount()`; `dispatch(pipeline, srcBuf, groups)`; `measure(name, note, make, pipeline, groups)`; `mean(k)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Claude Make Sample Artefact - File: gpu-drivers-for-global-grid/claude/make-sample-artefact.mjs (JavaScript, 68 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/claude/make-sample-artefact.mjs#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/1624.html#f2 - Synopsis: A JavaScript module in GPU Drivers for Global Grid. It is built from the rnd step (`rnd`) and the write step (`write`). - What it achieves (comment): The artefact the measured numbers came from is a 27,568,130-byte GridAtlas teleprint source dump. - What it does: Defines rnd, write. Uses libraries node:fs, node:events. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`make-sample-artefact.mjs` writes a same-shaped stand-in so the harness runs on any machine, including CI." - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Claude Bench Workflow (gpu-drivers-for-global-grid). - Signatures: `rnd()`; `write(s)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Codex Corpus Review - File: gpu-drivers-for-global-grid/codex/corpus-review.py (Python, 47 lines) · role storage · stage output - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/codex/corpus-review.py#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1624.html#f3 - Synopsis: A Python module in GPU Drivers for Global Grid that reads cartridge, provenance and corpus GPU analysis, using SHA-256. - What it achieves (comment): Bounded cross-repository GPU similarity screening using the attributed Claude harness. It accepts `--reviews` and `--out`. - What it does: It loads cartridge, provenance and corpus GPU analysis. Uses libraries argparse, hashlib, json, pathlib, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file cartridge.json; JSON file corpus-gpu-analysis.json; command-line arguments. Out: JSON file provenance.json. - Downstream impact: Used directly by 1 file: Codex Overnight (gpu-drivers-for-global-grid). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json; JSON file corpus-gpu-analysis.json; command-line arguments]; out [JSON file provenance.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Codex Learn Repo - File: gpu-drivers-for-global-grid/codex/learn-repo.py (Python, 106 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/codex/learn-repo.py#L1-L106 - Page: https://code.globalgrid2050.com/explore-code/s/1624.html#f4 - Synopsis: A Python command-line tool in GPU Drivers for Global Grid that reads phase, vocabulary, unresolved imports and clusters, using SHA-256 and k-means. - What it achieves (comment): It is built from the git step (`git`), the save step (`save`) and the words step (`words`). Local unsupervised lexical model; proposals only, never executes target source. It accepts `--root`, `--out` and `--seed`. - What it does: It loads phase, vocabulary, unresolved imports and clusters. Defines 7 functions or classes, including git, save, words, train, cluster. Uses libraries os, argparse, collections, datetime, hashlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file phase.json; JSON file files.json; JSON file vocabulary.json; JSON file unresolved-imports.json; JSON file clusters.json; command-line arguments. - Downstream impact: Used directly by 1 file: Codex Learning Night (gpu-drivers-for-global-grid). - Signatures: `git(root,*args)`; `save(path,value)`; `words(text)`; `train(counts)`; `cluster(x,seed)`; `main()`; `phase(name)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file phase.json; JSON file files.json; JSON file vocabulary.json; JSON file unresolved-imports.json; JSON file clusters.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Codex Learn Repo Test - File: gpu-drivers-for-global-grid/codex/learn-repo.test.py (Python, 11 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/codex/learn-repo.test.py#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/1624.html#f5 - Synopsis: A test in GPU Drivers for Global Grid. It is built from the model test class (`ModelTest`). - What it achieves (name): Defines `ModelTest`, `test_known_terms`, `test_reproducible_seed` and 1 more. - What it does: It tests its inputs. Defines ModelTest, test_known_terms, test_reproducible_seed, test_empty. Uses libraries importlib.util, unittest, numpy, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class ModelTest`; `test_known_terms(self)`; `test_reproducible_seed(self)`; `test_empty(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Codex Learning Night - File: gpu-drivers-for-global-grid/codex/learning-night.py (Python, 60 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/codex/learning-night.py#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/1624.html#f6 - Synopsis: A Python module in GPU Drivers for Global Grid that reads plan, budget stop, clusters and phase. - What it achieves (comment): It is built from the save step (`save`), the phase step (`phase`) and the end step (`end`). Bounded local learning queue through a fixed deadline; no source mutations/deployments. It accepts `--out`, `--until` and `--roots`. - What it does: It loads plan, budget stop, clusters and phase. Defines save, phase, end. Uses libraries argparse, datetime, json, os, shutil. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file PLAN.json; JSON file BUDGET-STOP.json; JSON file clusters.json; JSON file STATUS.json; JSON file phase.json; JSON file FINAL.json; command-line arguments. - Signatures: `save(name,value)`; `phase(path)`; `end(proc)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file PLAN.json; JSON file BUDGET-STOP.json; JSON file clusters.json; JSON file STATUS.json; JSON file phase.json; JSON file FINAL.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Codex Monitor Local - File: gpu-drivers-for-global-grid/codex/monitor-local.html (HTML, 24 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/codex/monitor-local.html#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1624.html#f7 - Synopsis: A web page in GPU Drivers for Global Grid. It is built from the update step (`update`). - What it achieves (comment): VENTUS overnight terminal. It reads `/status.json`. - What it does: It draws its content. Defines el, update. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file status.json. Out: web page. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `el(id)`; `update()`; `total(l.completedJobs||0)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file status.json]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Codex Monitor Local - File: gpu-drivers-for-global-grid/codex/monitor-local.py (Python, 52 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/codex/monitor-local.py#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1625.html#f1 - Synopsis: A Python module in GPU Drivers for Global Grid that reads progress. It is built from the read step (`read`), the state step (`state`) and the handler class (`Handler`). - What it achieves (comment): Read-only loopback progress display for existing overnight controllers. It reads `RUN.json`. It accepts `--run`, `--schedule` and `--out`. - What it does: It loads progress. Defines 6 functions or classes, including read, state, Handler, do_GET, log_message. Uses libraries argparse, datetime, json, pathlib, threading. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file RUN.json; JSON file STATUS.json; JSON file PROGRESS.json; JSON file FINAL.json; JSON file status.json; command-line arguments. Out: JSON file latest.json. - Signatures: `read(path)`; `state()`; `class Handler`; `do_GET(self)`; `log_message(self,*args)`; `watch()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file RUN.json; JSON file STATUS.json; JSON file PROGRESS.json; JSON file FINAL.json; JSON file status.json; command-line arguments]; out [JSON file latest.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Codex Overnight - File: gpu-drivers-for-global-grid/codex/overnight.py (Python, 181 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/codex/overnight.py#L1-L181 - Page: https://code.globalgrid2050.com/explore-code/s/1625.html#f2 - Synopsis: A Python command-line tool in GPU Drivers for Global Grid that reads review owners and queue, using SHA-256. It stops child (`stop_child`) and writes JSON (`write_json`). - What it achieves (comment): Bounded local CPU/WebGPU soak study; measurements are benchmarks, not source compilation. It writes `RUN.json`. It accepts `--artifact`, `--out` and `--hours`. - What it does: It loads review owners and queue. Defines 6 functions or classes, including now, sample, stop_child, guard, write_json. Uses libraries argparse, ctypes, datetime, hashlib, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file RUN.json; JSON file review-owners.json; JSON file QUEUE.json; JSON file REVIEW-INDEX.json; JSON file STATUS.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `now()`; `sample()`; `stop_child(child)`; `guard(s)`; `write_json(path, value)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file RUN.json; JSON file review-owners.json; JSON file QUEUE.json; JSON file REVIEW-INDEX.json; JSON file STATUS.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 0; mentioned by 0 ### Codex Precision Schedule - File: gpu-drivers-for-global-grid/codex/precision-schedule.py (Python, 117 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/codex/precision-schedule.py#L1-L117 - Page: https://code.globalgrid2050.com/explore-code/s/1625.html#f3 - Synopsis: A Python command-line tool in GPU Drivers for Global Grid that reads progress, plan and pin errors, using SHA-256. - What it achieves (comment): It creates plan (`create_plan`) and is built from the write step (`write`) and the pin step (`pin`). 96 precision-review timeboxes. Hourly queue refresh; never substitutes time for evidence. It writes `PROGRESS.json`. It accepts `--out`, `--watch` and `--pin`. - What it does: It loads progress, plan and pin errors. Defines 6 functions or classes, including write, create_plan, pin, git, refresh. Uses libraries argparse, datetime, hashlib, json, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file PROGRESS.json; JSON file PLAN.json; JSON file PIN-ERRORS.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `write(path, value)`; `create_plan()`; `pin(task, estate, out)`; `git(*args)`; `refresh(plan, out, hour)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file PROGRESS.json; JSON file PLAN.json; JSON file PIN-ERRORS.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Codex Review Group - File: gpu-drivers-for-global-grid/codex/review-group.py (Python, 30 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/codex/review-group.py#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/1625.html#f4 - Synopsis: A Python module in GPU Drivers for Global Grid that reads cartridge. It is built from the run step (`run`). - What it achieves (comment): Parallel owner reviews, with one shared CPU worker budget. It accepts `--root`, `--out` and `--workers`. - What it does: It loads cartridge. Defines run. Uses libraries argparse, concurrent.futures, json, pathlib, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file cartridge.json; command-line arguments. - Downstream impact: Used directly by 1 file: Codex Overnight (gpu-drivers-for-global-grid). - Signatures: `run(root)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file cartridge.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Codex Review Repo - File: gpu-drivers-for-global-grid/codex/review-repo.py (Python, 101 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/codex/review-repo.py#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/1625.html#f5 - Synopsis: A Python command-line tool in GPU Drivers for Global Grid covering cartridge, using SHA-256. It is built from the git step (`git`) and the inspect step (`inspect`). - What it achieves (comment): Produce a bounded, commit-pinned source review cartridge without executing source. It accepts `--root`, `--out` and `--workers`. - What it does: It lists and searches cartridge. Defines git, inspect, main. Uses libraries argparse, ast, concurrent.futures, hashlib, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file cartridge.json. - Downstream impact: Used directly by 1 file: Codex Review Group (gpu-drivers-for-global-grid). Reached from 1 other entry point, including Codex Overnight (gpu-drivers-for-global-grid). - Signatures: `git(root, *args)`; `inspect(root, entry)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file cartridge.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Codex Review Repo Test - File: gpu-drivers-for-global-grid/codex/review-repo.test.py (Python, 27 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/codex/review-repo.test.py#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1625.html#f6 - Synopsis: A test in GPU Drivers for Global Grid. It is built from the precision tests class (`PrecisionTests`). - What it achieves (name): Defines `PrecisionTests`, `check_source`, `test_python_bom_is_valid` and 2 more. - What it does: It tests its inputs. Defines PrecisionTests, check_source, test_python_bom_is_valid, test_excerpt_is_not_a_standalone_program, test_invalid_javascript_is_still_reported. Uses libraries importlib.util, pathlib, unittest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class PrecisionTests`; `check_source(self, name, raw)`; `test_python_bom_is_valid(self)`; `test_excerpt_is_not_a_standalone_program(self)`; `test_invalid_javascript_is_still_reported(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Claude Report Probe - File: gridmachine2/probes/202609071400-claude-report-probe.mjs (JavaScript, 102 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridmachine2/blob/b15c3d233c406f64168a356989300c8e81f50af8/probes/202609071400-claude-report-probe.mjs#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/1625.html#f7 - Synopsis: A JavaScript module in the probes folder of Gridmachine2 that fetches scan summary, browser maps summary, browser maps receipt and browser layers summary, using SHA-256 from the GridAtlas repository. - What it achieves (comment): It is built from the git blob helper (`gitBlob`), the sha step (`sha`) and the say step (`say`). A CI probe over a gridmachine2 report directory. - What it does: It fetches scan summary, browser maps summary, browser maps receipt and browser layers summary. Defines gitBlob, sha, say, live. Uses libraries node:fs, node:crypto, node:path, node:child_process. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: gridatlas data; JSON file scan-summary.json; JSON file export-manifest.json; JSON file browser-maps-summary.json; JSON file current.json; JSON file browser-maps-receipt.json; JSON file browser-layers-summary.json; GeoJSON file interconnectors.geojson. - Signatures: `gitBlob(p)`; `sha(b)`; `say(k, v)`; `live(url)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file scan-summary.json; JSON file export-manifest.json; JSON file browser-maps-summary.json; JSON file current.json; JSON file browser-maps-receipt.json; JSON file browser-layers-summary.json; GeoJSON file interconnectors.geojson]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Codex Check Citations - File: linux-for-the-power-grid/codex/check-citations.py (Python, 20 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/linux-for-the-power-grid/blob/b984303b3d9ec104c92d754b8fd6207af021fef8/codex/check-citations.py#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1625.html#f8 - Synopsis: A Python module in Linux for the Power Grid that fetches repository coverage and citation check, using SHA-256. It is built from the check step (`check`). - What it achieves (comment): Check public commit/path access and exact blob hashes without publishing anything. - What it does: It fetches repository coverage and citation check. Defines check. Uses libraries concurrent.futures, datetime, hashlib, json, pathlib. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file EVIDENCE-INDEX.json; JSON file REPOSITORY-COVERAGE.json. Out: JSON file CITATION-CHECK.json. - Downstream impact: Used directly by 1 file: Codex Finalize Paper (linux-for-the-power-grid). - Signatures: `check(pair)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file EVIDENCE-INDEX.json; JSON file REPOSITORY-COVERAGE.json]; out [JSON file CITATION-CHECK.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Codex Coverage - File: linux-for-the-power-grid/codex/coverage.py (Python, 52 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/linux-for-the-power-grid/blob/b984303b3d9ec104c92d754b8fd6207af021fef8/codex/coverage.py#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1625.html#f9 - Synopsis: A Python module in Linux for the Power Grid that fetches inventory and repository coverage, using SHA-256 from GitHub API. - What it achieves (comment): It is built from the name step (`name`), the get step (`get`) and the review step (`review`). Read repository entry points without cloning remote data or binary payloads. - What it does: It fetches inventory and repository coverage. Defines name, get, review. Uses libraries concurrent.futures, hashlib, json, pathlib, subprocess. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; JSON file SOURCE-INVENTORY.json. Out: JSON file REPOSITORY-COVERAGE.json; JSON file SOURCE-INVENTORY.json. - Downstream impact: Used directly by 1 file: Codex Finalize Paper (linux-for-the-power-grid). - Signatures: `name(remote)`; `get(url)`; `review(repo)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file SOURCE-INVENTORY.json]; out [JSON file REPOSITORY-COVERAGE.json; JSON file SOURCE-INVENTORY.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Codex Evidence - File: linux-for-the-power-grid/codex/evidence.py (Python, 27 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/linux-for-the-power-grid/blob/b984303b3d9ec104c92d754b8fd6207af021fef8/codex/evidence.py#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1626.html#f1 - Synopsis: A Python module in Linux for the Power Grid that reads inventory, using SHA-256. - What it achieves (comment): Pin selected primary code evidence to the inventory's Git commits. - What it does: It loads inventory. Uses libraries json, pathlib, subprocess, hashlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file SOURCE-INVENTORY.json. Out: JSON file EVIDENCE-INDEX.json. - Downstream impact: Used directly by 1 file: Codex Finalize Paper (linux-for-the-power-grid). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file SOURCE-INVENTORY.json]; out [JSON file EVIDENCE-INDEX.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Codex Finalize Paper - File: linux-for-the-power-grid/codex/finalize-paper.py (Python, 135 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/linux-for-the-power-grid/blob/b984303b3d9ec104c92d754b8fd6207af021fef8/codex/finalize-paper.py#L1-L135 - Page: https://code.globalgrid2050.com/explore-code/s/1626.html#f2 - Synopsis: A Python module in Linux for the Power Grid that reads repository coverage, citation check, programme state and solar, using SHA-256. - What it achieves (comment): It is built from the cite step (`cite`), the src step (`src`) and the remote step (`remote`). Render stable evidence links, coverage notes and a plain-text paper. - What it does: It loads repository coverage, citation check, programme state and solar. Defines cite, src, remote. Uses libraries json, pathlib, re, textwrap, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar. - Inputs & outputs: In: JSON file EVIDENCE-INDEX.json; JSON file REPOSITORY-COVERAGE.json; JSON file CITATION-CHECK.json; JSON file programme-state.json. - Signatures: `cite(x)`; `src(group,path)`; `remote(n,f)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file EVIDENCE-INDEX.json; JSON file REPOSITORY-COVERAGE.json; JSON file CITATION-CHECK.json; JSON file programme-state.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (script-call 4); used by 0; mentioned by 0 ### Codex Inventory - File: linux-for-the-power-grid/codex/inventory.py (Python, 29 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/linux-for-the-power-grid/blob/b984303b3d9ec104c92d754b8fd6207af021fef8/codex/inventory.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1626.html#f3 - Synopsis: A Python module in Linux for the Power Grid. It is built from the git step (`git`). - What it achieves (comment): Read-only Git inventory; does not stage, fetch, or alter source repositories. - What it does: Defines git. Uses libraries datetime, json, os, pathlib, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: JSON file SOURCE-INVENTORY.json. - Downstream impact: Used directly by 1 file: Codex Finalize Paper (linux-for-the-power-grid). - Signatures: `git(p,*args)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file SOURCE-INVENTORY.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Android Journey - File: neural-link-between-agents/FIXES/NL-009/android-journey.cjs (JavaScript, 381 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-009/android-journey.cjs#L1-L381 - Page: https://code.globalgrid2050.com/explore-code/s/1626.html#f4 - Synopsis: A JavaScript module in Neural Link Between Agents that runs device (`runDevice`), converts to screen (`toScreen`), calculates planar distances and draws on a canvas. - What it achieves (name): It runs device (`runDevice`) and is built from the probe fn helper (`probeFn`) and the vis step (`vis`). Defines `flag`, `slug`, `sleep` and 24 more. It reads `keys.json`. - What it does: It draws its content. Defines 29 functions or classes, including flag, slug, sleep, probeFn, R. Uses libraries playwright, fs, path. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file keys.json; command-line arguments. Out: JSON file report.json; canvas drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `flag(n)`; `slug(s)`; `sleep(ms)`; `probeFn()`; `R(el)`; `vis(el)`; `q(s)`; `hitAt(x, y)`; `waferFromPng(page, b64, yFrom)`; `keyPlace(k)`; `runDevice(browser, deviceName)`; `probe()`; `shotTo(f)`; `shotName(id)`; `shot(id)`; `waferFromFile(file, yFrom)`; `record(id, name, pass, measured, note)`; `tapAt(x, y)`; `tapRect(r)`; `touch(type, points)`; `settle(opts = {})`; `framesPass(k, max = 60000)`; `clearSpace(p)`; `cardCapPx(p)`; `cardUnderCap(p)` (and 6 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file keys.json; command-line arguments]; out [JSON file report.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 04 Touch Harness - File: neural-link-between-agents/FIXES/NL-009/round1/04-touch-harness.cjs (JavaScript, 189 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-009/round1/04-touch-harness.cjs#L1-L189 - Page: https://code.globalgrid2050.com/explore-code/s/1627.html#f1 - Synopsis: A JavaScript module in Neural Link Between Agents that works with dt last (`dtLast`) and calculates planar distances. - What it achieves (name): It is built from the touch t helper (`touchT`), the seq step (`seq`) and the rec step (`rec`). Defines `sleep`, `touch`, `touchT` and 4 more. It responds to pointercancel, contextmenu and pointerup events. - What it does: It loads data. Defines 9 functions or classes, including sleep, touch, touchT, seq, rec. Uses libraries playwright, fs. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `sleep(ms)`; `touch(type, pts)`; `touchT(type, pts, t)`; `seq(steps)`; `rec(k, v)`; `G()`; `settle()`; `VV()`; `dtLast()`; `clean(await G())`; `held(await G())` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 07 Perf Edition Min - File: neural-link-between-agents/FIXES/NL-009/round1/07-perf-edition_min.py (Python, 43 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-009/round1/07-perf-edition_min.py#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1627.html#f2 - Synopsis: A Python command-line tool in Neural Link Between Agents that uses SHA-256. It is built from the build step (`build`) and the text step (`text`). - What it achieves (comment): Only the fields the edition page draws, taken from `keys.json`, which stays as the evidence. - What it does: It loads data. Defines build, text, main. Uses libraries hashlib, json, os, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file keys.json; JSON file keys-min.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `build(folder)`; `text(obj)`; `main(argv)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in [JSON file keys.json; JSON file keys-min.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### File Touch C4 - File: neural-link-between-agents/FIXES/NL-010/evidence/controller-4/touch-pixel7/file-touch-c4.cjs (JavaScript, 60 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/evidence/controller-4/touch-pixel7/file-touch-c4.cjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/1627.html#f3 - Synopsis: A JavaScript module in the evidence folder of Neural Link Between Agents that works with tap sel (`tapSel`). - What it achieves (name): It is built from the tap sel helper (`tapSel`) and the card step (`card`). Defines `step`, `shot`, `tapSel` and 1 more. - What it does: It draws its content. Defines step, shot, tapSel, card. Uses libraries playwright, fs, path. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file touch.json. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `step(id, pass, m)`; `shot(n)`; `tapSel(sel)`; `card()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [command-line arguments]; out [JSON file touch.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### See Through C5 - File: neural-link-between-agents/FIXES/NL-010/evidence/controller-5/see-through-c5.cjs (JavaScript, 75 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/evidence/controller-5/see-through-c5.cjs#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1627.html#f4 - Synopsis: A JavaScript module in the evidence folder of Neural Link Between Agents that draws on a canvas, using SHA-256. - What it achieves (name): Defines `step`, `shot` and `count`. It reads `modules.json`. - What it does: It draws its content. Defines step, shot, count. Uses libraries playwright, fs, path. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file modules.json; JSON file see-through.json; command-line arguments. Out: JSON file check.json; canvas drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `step(id, pass, m)`; `shot(n)`; `want((BigInt(jj) * 2n + 1n) * SPACE)`; `count()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file modules.json; JSON file see-through.json; command-line arguments]; out [JSON file check.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Render Pixel7 - File: neural-link-between-agents/FIXES/NL-010/team-11/render-pixel7.cjs (JavaScript, 38 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/team-11/render-pixel7.cjs#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1627.html#f5 - Synopsis: A JavaScript module in Neural Link Between Agents. - What it achieves (name): Its name says it renders Pixel7. - What it does: It draws its content. Uses libraries playwright, node:http, node:fs, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Crun - File: neural-link-between-agents/FIXES/NL-010/tools/controller/crun.sh (Shell, 16 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/controller/crun.sh#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/1627.html#f6 - Synopsis: A shell script in the controller folder of Neural Link Between Agents that uses SHA-256. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Crun6 - File: neural-link-between-agents/FIXES/NL-010/tools/controller/crun6.sh (Shell, 11 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/controller/crun6.sh#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/1627.html#f7 - Synopsis: A shell script in the controller folder of Neural Link Between Agents. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Drift Probe - File: neural-link-between-agents/FIXES/NL-010/tools/controller/drift-probe.cjs (JavaScript, 15 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/controller/drift-probe.cjs#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/1627.html#f8 - Synopsis: A JavaScript module in the controller folder of Neural Link Between Agents. - What it achieves (comment): Pixel 7, SwiftShader flags. After load, report what the drift module shows: the #ky-drift section text (first 300 chars), any refusal text in #refuse, and the HUD's DRIFT line. - What it does: It lists and searches its content. Uses libraries playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E6 Cand Layers Index - File: neural-link-between-agents/FIXES/NL-010/tools/controller/e6-cand-layers.index.html (HTML, 812 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/controller/e6-cand-layers.index.html#L1-L812 - Page: https://code.globalgrid2050.com/explore-code/s/1628.html#f1 - Synopsis: A web page in the controller folder of Neural Link Between Agents that converts to world (`toWorld`), steps anim (`stepAnim`), places panels (`placePanels`) and calculates planar distances, using SHA-256. - What it achieves (code): It shows new (`showNew`), places panels (`placePanels`) and sets panel (`setPanel`). Its `lightTime` function gives commit period summary or null from year, optional month and optional day (VEDIC: period). It reads `modules.json`. It responds to webglcontextlost, resize and pointerdown events. - What it does: It draws its content. Defines 51 functions or classes, including fmt, words, refuse, prog, U. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file modules.json; form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `fmt(n)`; `words(n)`; `refuse(m, slot)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `narrow()`; `resize()`; `flyTo(x, y, z, dur)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)`; `ownerAt(r)`; `widestRunPx(ri, z)`; `span(k0, k1)`; `linesByRunningTotals(ri)`; `keyAt(wx, wy)`; `frame()`; `draw()` (and 15 more) - VEDIC: PERIOD (GG2050-VEDIC-000042): Kuiper / Code navigation · Computer science / Interactive visualisation. year, month_optional, day_optional, ordered_commits -> commit_period_summary_or_null - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file modules.json; form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Frame - File: neural-link-between-agents/FIXES/NL-010/tools/controller/frame.py (Python, 18 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/controller/frame.py#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1629.html#f2 - Synopsis: A Python module in the controller folder of Neural Link Between Agents. - What it does: Uses libraries sys, PIL. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Journey 6 - File: neural-link-between-agents/FIXES/NL-010/tools/controller/journey-6.cjs (JavaScript, 395 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/controller/journey-6.cjs#L1-L395 - Page: https://code.globalgrid2050.com/explore-code/s/1629.html#f3 - Synopsis: A JavaScript module in the controller folder of Neural Link Between Agents that runs device (`runDevice`), converts to screen (`toScreen`), calculates planar distances and draws on a canvas. - What it achieves (name): It runs device (`runDevice`) and is built from the probe fn helper (`probeFn`) and the vis step (`vis`). Defines `flag`, `slug`, `sleep` and 24 more. It reads `keys.json`. - What it does: It draws its content. Defines 29 functions or classes, including flag, slug, sleep, probeFn, R. Uses libraries playwright, fs, path. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file keys.json; command-line arguments. Out: JSON file report.json; canvas drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `flag(n)`; `slug(s)`; `sleep(ms)`; `probeFn()`; `R(el)`; `vis(el)`; `q(s)`; `panelEl(id)`; `hitAt(x, y)`; `waferFromPng(page, b64, yFrom)`; `masked(x, y)`; `keyPlace(k)`; `runDevice(browser, deviceName)`; `probe()`; `shot(id)`; `shotPng()`; `record(id, name, pass, measured, note)`; `tapAt(x, y)`; `tapRect(r)`; `touch(type, points)`; `settle(opts = {})`; `framesPass(k, max = 60000)`; `clearSpace(p)`; `cardCapPx(p)`; `cardUnderCap(p)` (and 6 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of neural-link-between-agents/FIXES/NL-010/tools/journey/journey-5.cjs) · essay_status: auto - data_contracts: in [JSON file keys.json; command-line arguments]; out [JSON file report.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Jrun T10 - File: neural-link-between-agents/FIXES/NL-010/tools/controller/jrun-t10.sh (Shell, 7 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/controller/jrun-t10.sh#L1-L7 - Page: https://code.globalgrid2050.com/explore-code/s/1629.html#f4 - Synopsis: A shell script in the controller folder of Neural Link Between Agents. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Jrun - File: neural-link-between-agents/FIXES/NL-010/tools/controller/jrun.sh (Shell, 9 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/controller/jrun.sh#L1-L9 - Page: https://code.globalgrid2050.com/explore-code/s/1629.html#f5 - Synopsis: A shell script in the controller folder of Neural Link Between Agents. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### K1 - File: neural-link-between-agents/FIXES/NL-010/tools/controller/k1.py (Python, 5 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/controller/k1.py#L1-L5 - Page: https://code.globalgrid2050.com/explore-code/s/1629.html#f6 - Synopsis: A Python module in the controller folder of Neural Link Between Agents. - What it does: It loads data. Uses libraries sys, check_proof. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Poll - File: neural-link-between-agents/FIXES/NL-010/tools/controller/poll.sh (Shell, 6 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/controller/poll.sh#L1-L6 - Page: https://code.globalgrid2050.com/explore-code/s/1629.html#f7 - Synopsis: A shell script in the controller folder of Neural Link Between Agents. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Poll6 - File: neural-link-between-agents/FIXES/NL-010/tools/controller/poll6.sh (Shell, 6 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/controller/poll6.sh#L1-L6 - Page: https://code.globalgrid2050.com/explore-code/s/1629.html#f8 - Synopsis: A shell script in the controller folder of Neural Link Between Agents. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Snap - File: neural-link-between-agents/FIXES/NL-010/tools/controller/snap.sh (Shell, 10 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/controller/snap.sh#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/1629.html#f9 - Synopsis: A shell script in the controller folder of Neural Link Between Agents that uses SHA-256. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Snap6 - File: neural-link-between-agents/FIXES/NL-010/tools/controller/snap6.sh (Shell, 18 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/controller/snap6.sh#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1629.html#f10 - Synopsis: A shell script in the controller folder of Neural Link Between Agents that uses SHA-256. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file modules.json. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file modules.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### State - File: neural-link-between-agents/FIXES/NL-010/tools/controller/state.sh (Shell, 12 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/controller/state.sh#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1629.html#f11 - Synopsis: A shell script in the controller folder of Neural Link Between Agents that uses SHA-256. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### State6 - File: neural-link-between-agents/FIXES/NL-010/tools/controller/state6.sh (Shell, 14 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/controller/state6.sh#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/1629.html#f12 - Synopsis: A shell script in the controller folder of Neural Link Between Agents that uses SHA-256. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Measure - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl009/01/measure.cjs (JavaScript, 59 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl009/01/measure.cjs#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/1629.html#f13 - Synopsis: A JavaScript module in the evidence folder of Neural Link Between Agents. - What it does: It fetches data. Defines r. Uses libraries playwright, fs. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `body(patched && patched !== '-')`; `r(el)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### After - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl009/06/after.cjs (JavaScript, 52 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl009/06/after.cjs#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1630.html#f1 - Synopsis: A JavaScript module in the evidence folder of Neural Link Between Agents using data from the kuiper-belt repository. - What it does: It fetches data. Uses libraries playwright. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: kuiper-belt data; command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [data source: kuiper-belt data; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Measure - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl009/08/measure.cjs (JavaScript, 106 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl009/08/measure.cjs#L1-L106 - Page: https://code.globalgrid2050.com/explore-code/s/1630.html#f2 - Synopsis: A JavaScript module in the evidence folder of Neural Link Between Agents that works with tap bar (`tapBar`) and spark pos (`sparkPos`) and draws on a canvas. - What it achieves (comment): It is built from the sleep step (`sleep`), the char w helper (`charW`) and the sizes step (`sizes`). FABLE-08 type audit: measure text sizes, line lengths, panel rects on Android emulation. - What it does: It draws its content. Defines 8 functions or classes, including sleep, charW, sizes, panel, P. Uses libraries playwright, fs. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: canvas drawing. - Signatures: `sleep(ms)`; `charW(el)`; `sizes(root)`; `panel(sel)`; `P(sel)`; `tapBar(name)`; `shot(name, clip)`; `sparkPos()`; `probe()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Audit - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl009/09/audit.cjs (JavaScript, 160 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl009/09/audit.cjs#L1-L160 - Page: https://code.globalgrid2050.com/explore-code/s/1630.html#f3 - Synopsis: A JavaScript module in the evidence folder of Neural Link Between Agents that works with tap button (`tapButton`) and draws on a canvas. - What it achieves (comment): It is built from the sleep step (`sleep`), the note step (`note`) and the serve step (`serve`). FABLE-09 robust audit of Kuiper Edition 4 on Pixel 7. It writes `/result.json`. - What it does: It draws its content. Defines 11 functions or classes, including sleep, note, serve, wire, MEASURE. Uses libraries playwright, fs. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file result.json; command-line arguments. Out: JSON file result.json; WebGL/WebGPU drawing. - Signatures: `sleep(ms)`; `note(k, v)`; `serve(ctx, opts = {})`; `wire(page, log)`; `MEASURE()`; `q(s)`; `rect(el)`; `clear(m)`; `tapButton(page, sel)`; `at(el)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [JSON file result.json; command-line arguments]; out [JSON file result.json; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Extra - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl009/09/extra.cjs (JavaScript, 29 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl009/09/extra.cjs#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1630.html#f4 - Synopsis: A JavaScript module in the evidence folder of Neural Link Between Agents. - What it achieves (name): Defines `sleep`. - What it does: It loads data. Defines sleep. Uses libraries playwright, fs. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `sleep(ms)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Make Fixture - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-1/builder/make-fixture.cjs (JavaScript, 22 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-1/builder/make-fixture.cjs#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/1630.html#f5 - Synopsis: A JavaScript module in the builder folder of Neural Link Between Agents. - What it achieves (name): Its name says it makes fixture. It writes `/ga-fixture/index.html`. - What it does: It loads data. Defines t. Uses libraries fs. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `t(n)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Measure - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-1/evidence/measure.cjs (JavaScript, 50 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-1/evidence/measure.cjs#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/1630.html#f6 - Synopsis: A JavaScript module in the evidence folder of Neural Link Between Agents. - What it achieves (name): It writes `/measure.json`. - What it does: It fetches data. Defines R. Uses libraries playwright, fs. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: JSON file measure.json. - Signatures: `R(e)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out [JSON file measure.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Journey - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-1/lead/journey.cjs (JavaScript, 35 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-1/lead/journey.cjs#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/1630.html#f7 - Synopsis: A JavaScript module in the lead folder of Neural Link Between Agents that reads shell record, using SHA-256. It is built from the tap sel helper (`tapSel`). - What it achieves (name): Defines `tapSel` and `card`. It reads `modules.json`. - What it does: It loads shell record. Defines tapSel, card, st. Uses libraries playwright, fs, crypto. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file modules.json; JSON file shell-record.json; command-line arguments. - Signatures: `tapSel(sel)`; `card()`; `st()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [JSON file modules.json; JSON file shell-record.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Proof Keys - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-10/evidence/proof_keys.py (Python, 55 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-10/evidence/proof_keys.py#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/1630.html#f8 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents that reads keys summary, using SHA-256. - What it achieves (comment): Write `editions/202611012135/proof/keys-summary.json` in Edition 4's form, every value re-measured here. It reads `/keys.json`. - What it does: It loads keys summary. Uses libraries json, os, re, subprocess, collections. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file keys.json; JSON file keys-summary.json. Out: JSON file keys-summary.json. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in [JSON file keys.json; JSON file keys-summary.json]; out [JSON file keys-summary.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Proof Sha - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-10/evidence/proof_sha.sh (Shell, 5 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-10/evidence/proof_sha.sh#L1-L5 - Page: https://code.globalgrid2050.com/explore-code/s/1630.html#f9 - Synopsis: A shell script in the evidence folder of Neural Link Between Agents that uses SHA-256. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Render - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-10/evidence/render.py (Python, 129 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-10/evidence/render.py#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/1630.html#f10 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents that works with reg requires (`reg_requires`) and header requires (`header_requires`), using SHA-256. - What it achieves (comment): It is built from the handoff dir helper (`handoff_dir`), the evidence keys helper (`evidence_keys`) and the block step (`block`). Render the live sections of `handoff/10-integration/EVIDENCE.md` from the template. - What it does: It loads data. Defines 6 functions or classes, including reg_requires, header_requires, handoff_dir, evidence_keys, test_verdict. Uses libraries hashlib, json, os, re, glob. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file modules.json; JSON file MODULE.json. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `reg_requires(src)`; `header_requires(src, known)`; `handoff_dir(team)`; `evidence_keys(hd)`; `test_verdict(hd)`; `block(p)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file modules.json; JSON file MODULE.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### K1 Scope - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-12/evidence/k1_scope.py (Python, 11 lines) · role other · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-12/evidence/k1_scope.py#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/1630.html#f11 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents. - What it does: Uses libraries io, os, sys, subprocess, check_proof. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Remap - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-12/evidence/remap.cjs (JavaScript, 11 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-12/evidence/remap.cjs#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/1630.html#f12 - Synopsis: A JavaScript file in the evidence folder of Neural Link Between Agents. - What it achieves (name): Defines `key`. - What it does: It calculates its inputs. Defines key. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `key(j,s)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Keys - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-2/evidence/check_keys.py (Python, 26 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-2/evidence/check_keys.py#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/1630.html#f13 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents. - What it achieves (comment): Re-read every key row of an `EVIDENCE.md`: | id | claim | key | fragment | key = repo@sha path:line[-line] ; sha WT = working tree. - What it does: It loads data. Uses libraries re, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Measure - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-2/evidence/measure.py (Python, 21 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-2/evidence/measure.py#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1631.html#f1 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents. - What it does: It loads data. Uses libraries json, sys, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Rekey - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-2/evidence/rekey.py (Python, 18 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-2/evidence/rekey.py#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1631.html#f2 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents. - What it achieves (comment): For WT rows whose fragment moved: find the unique line now holding the fragment and rewrite the key's line number. - What it does: It loads data. Uses libraries re, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Roundtrip - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-2/evidence/roundtrip.py (Python, 18 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-2/evidence/roundtrip.py#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1631.html#f3 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents. - What it achieves (name): Defines `text`. - What it does: It loads data. Defines text. Uses libraries json, subprocess, sys, random. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `text(k)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Bigline - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-2/evidence/t/bigline.cjs (JavaScript, 37 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-2/evidence/t/bigline.cjs#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/1631.html#f4 - Synopsis: A JavaScript module in the evidence folder of Neural Link Between Agents that uses SHA-256. It is built from the sleep step (`sleep`) and the time step (`time`). - What it achieves (comment): OPUS-2 evidence: the cost of the 1,240,449-character header (kuiper-belt `estate-network.json`:1, key 63013167769). It reads `keys.json` and writes `/tmp/nl010-opus/team-2/evidence/t/bigline.json`. - What it does: It fetches data. Defines sleep, time. Uses libraries playwright, fs, crypto. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file modules.json; JSON file keys.json. Out: JSON file bigline.json. - Signatures: `sleep(ms)`; `time(b)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [JSON file modules.json; JSON file keys.json]; out [JSON file bigline.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Rowtap - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-2/tester/probe/rowtap.cjs (JavaScript, 34 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-2/tester/probe/rowtap.cjs#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/1631.html#f5 - Synopsis: A JavaScript module in the probe folder of Neural Link Between Agents that uses SHA-256. - What it achieves (comment): Probe: with shell + line-card, tap a LINES row and log what happens to #card. It reads `/tmp/nl010-opus/team-2/tester/run-shell/report.json`. - What it does: It loads data. Uses libraries playwright, fs, path, child_process, crypto. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file report.json; JSON file MODULE.json; JSON file modules.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [JSON file report.json; JSON file MODULE.json; JSON file modules.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Other 2152 - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-2/tester/test.other-2152.cjs (JavaScript, 297 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-2/tester/test.other-2152.cjs#L1-L297 - Page: https://code.globalgrid2050.com/explore-code/s/1631.html#f6 - Synopsis: A JavaScript module in the tester folder of Neural Link Between Agents that runs device (`runDevice`), calculates planar distances and draws on a canvas, using SHA-256. - What it achieves (name): It runs device (`runDevice`) and is built from the served index helper (`servedIndex`) and the record step (`record`). Defines `flag`, `sleep`, `sha` and 16 more. - What it does: It tests its inputs. Defines 20 functions or classes, including flag, sleep, sha, servedIndex, record. Uses libraries playwright, fs, path, os, crypto. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file keys.json; JSON file modules.json; command-line arguments. Out: JSON file report.json; canvas drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `flag(n)`; `sleep(ms)`; `sha(buf)`; `servedIndex()`; `record(id, file, requires, provides, extra)`; `moduleRequires(file)`; `servedManifest()`; `overlayProbe()`; `cardProbe()`; `R(el)`; `runDevice(browser, name)`; `shot(f)`; `tap(x, y)`; `tapEl(sel)`; `touch(type, pts)`; `visible(sel)`; `reveal(sel)`; `settleSpark()`; `clearSpace(label)`; `pad(await page.evaluate(cardProbe))`; `c3(await page.evaluate(cardProbe))`; `greens(await page.evaluate(overlayProbe))`; `vh(await page.evaluate(cardProbe))`; `fileOf(f)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file keys.json; JSON file modules.json; command-line arguments]; out [JSON file report.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Probe - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-3/builder/probe.cjs (JavaScript, 28 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-3/builder/probe.cjs#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1631.html#f7 - Synopsis: A JavaScript module in the builder folder of Neural Link Between Agents that uses SHA-256. - What it does: It fetches data. Uses libraries playwright, fs. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Keys - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-3/evidence/check_keys.py (Python, 45 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-3/evidence/check_keys.py#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1631.html#f8 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents. It is built from the lines step (`lines`). - What it achieves (comment): Re-read every key row of an `EVIDENCE.md`: | id | claim | key | `fragment` |. key = repo@sha path:line (estate clone, read with git show sha:path) or kuiper-belt@WORKTREE path:line (the edition branch's uncommitted files). - What it does: It loads data. Defines lines. Uses libraries re, subprocess, sys, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `lines(repo, sha, path)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Mkpre - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-3/lead/gen/mkpre.py (Python, 42 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-3/lead/gen/mkpre.py#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1631.html#f9 - Synopsis: A Python module in the gen folder of Neural Link Between Agents that uses SHA-256. It is built from the one step (`one`). - What it achieves (comment): PRE-INTEGRATION page for `test.cjs` --index: current base `index.html` + team 3's deletions + team 4's hook table and loader (the reference bytes of `modules/202611012145-loader.js` between its marker lines) + the wafer promise + `refuse`. - What it does: It loads data. Defines one. Uses libraries re, subprocess, json, hashlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: JSON file modules.json. - Signatures: `one(old,new)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out [JSON file modules.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Mkpre6 - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-3/lead/gen/mkpre6.py (Python, 14 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-3/lead/gen/mkpre6.py#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/1631.html#f10 - Synopsis: A Python module in the gen folder of Neural Link Between Agents that uses SHA-256. - What it achieves (comment): PRE-INTEGRATION on the integrator's base (hook table + loader already in `index.html`): our deletions by content, and the integrator's `modules.json` with layers appended. kuiper-shell is left out. - What it does: It loads data. Uses libraries json, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file modules.json; JSON file MODULE.json; command-line arguments. Out: JSON file modules.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [JSON file modules.json; JSON file MODULE.json; command-line arguments]; out [JSON file modules.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Pre - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-3/tester/build-pre.cjs (JavaScript, 23 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-3/tester/build-pre.cjs#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1631.html#f11 - Synopsis: A JavaScript module in the tester folder of Neural Link Between Agents that uses SHA-256. It is built from the arr step (`arr`). - What it achieves (comment): PRE-INTEGRATION shim for `test.cjs` `--index/`--manifest. Edition 4 copy + team 4's `index.html`.patch (+ team 3's `index.html`.patch when it exists), and a manifest listing the named modules in order. - What it does: It loads data. Defines arr. Uses libraries fs, path, child_process, crypto. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file modules.json. - Signatures: `PATCHES(process.env.PATCHES || '04-loader/index.html.patch,03-layers/index.html.after-04-loader.patch')`; `arr(k)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out [JSON file modules.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Keys - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-4/evidence/check_keys.py (Python, 34 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-4/evidence/check_keys.py#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/1631.html#f12 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents. It is built from the text step (`text`). - What it achieves (comment): Re-read every key row of an `EVIDENCE.md`: | id | claim | key | `fragment` |. key = repo@sha path:line[-line]. - What it does: It loads data. Defines text. Uses libraries re, subprocess, sys, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `text(repo, sha, path)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Smoke - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-4/evidence/js/smoke.cjs (JavaScript, 23 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-4/evidence/js/smoke.cjs#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1631.html#f13 - Synopsis: A JavaScript module in the evidence folder of Neural Link Between Agents. - What it does: It tests its inputs. Uses libraries playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Leadtest - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-4/lead/leadtest.cjs (JavaScript, 241 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-4/lead/leadtest.cjs#L1-L241 - Page: https://code.globalgrid2050.com/explore-code/s/1632.html#f1 - Synopsis: A JavaScript module in the lead folder of Neural Link Between Agents that works with same order (`sameOrder`) and draws on a canvas, using SHA-256. - What it achieves (name): It is built from the probe step (`probe`), the rec step (`rec`) and the manifest step (`manifest`). Defines `flag`, `sleep`, `sha` and 11 more. - What it does: It draws its content. Defines 16 functions or classes, including flag, sleep, sha, probe, rec. Uses libraries playwright, fs, path, crypto, child_process. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file modules.json; JSON file keys.json; command-line arguments. Out: JSON file report.json; JSON file modules.json; canvas drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `flag(n)`; `DEVICES(flag('--devices') || 'Pixel 7,Galaxy S24')`; `sleep(ms)`; `sha(b)`; `probe(id, requires, body)`; `install(KY)`; `inspect()`; `rec(id, file, buf, requires, extra)`; `manifest(mods)`; `run(browser, dev, name, o)`; `i(y * c.width + X)`; `sameOrder(st, ids, m)`; `why(st, id)`; `net404(s)`; `add(k, pass, data)`; `hAd(s.admitted.find(a => a.id === 'hello') || {})`; `w(ms)`; `test8()`; `mk(name)`; `proof(e)`; `check(d)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file modules.json; JSON file keys.json; command-line arguments]; out [JSON file report.json; JSON file modules.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Leadtest5 - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-4/lead/leadtest5.cjs (JavaScript, 241 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-4/lead/leadtest5.cjs#L1-L241 - Page: https://code.globalgrid2050.com/explore-code/s/1632.html#f2 - Synopsis: A JavaScript module in the lead folder of Neural Link Between Agents that draws modules first, using SHA-256. - What it achieves (name): It is built from the probe step (`probe`), the rec step (`rec`) and the manifest step (`manifest`). Defines `flag`, `sleep`, `sha` and 11 more. - What it does: It draws modules first. Defines 16 functions or classes, including flag, sleep, sha, probe, rec. Uses libraries playwright, fs, path, crypto, child_process. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file modules.first.json; JSON file modules.json; JSON file keys.json; command-line arguments. Out: JSON file report.json; JSON file modules.json; canvas drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `flag(n)`; `DEVICES(flag('--devices') || 'Pixel 7,Galaxy S24')`; `sleep(ms)`; `sha(b)`; `probe(id, requires, body)`; `install(KY)`; `inspect()`; `rec(id, file, buf, requires, extra)`; `manifest(mods)`; `run(browser, dev, name, o)`; `i(y * c.width + X)`; `sameOrder(st, ids, m)`; `why(st, id)`; `net404(s)`; `add(k, pass, data)`; `hAd(s.admitted.find(a => a.id === 'hello') || {})`; `w(ms)`; `test8()`; `mk(name)`; `proof(e)`; `check(d)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-4/lead/leadtest.cjs) · essay_status: auto - data_contracts: in [JSON file modules.first.json; JSON file modules.json; JSON file keys.json; command-line arguments]; out [JSON file report.json; JSON file modules.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### R2 - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-4/lead/r2/r2.cjs (JavaScript, 13 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-4/lead/r2/r2.cjs#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/1632.html#f3 - Synopsis: A JavaScript module in the lead folder of Neural Link Between Agents. - What it achieves (name): It responds to resize events. - What it does: It loads data. Uses libraries playwright, fs. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file modules.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [JSON file modules.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Block - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-4/lead/src/block.js (JavaScript, 156 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-4/lead/src/block.js#L1-L156 - Page: https://code.globalgrid2050.com/explore-code/s/1632.html#f4 - Synopsis: A JavaScript file in the lead folder of Neural Link Between Agents that works with ky line (`kyLine`) and ky depth (`kyDepth`), using SHA-256. - What it achieves (comment): It is built from the ky line helper (`kyLine`), the ky depth helper (`kyDepth`) and the ky nav reconcile helper (`kyNavReconcile`). Engine lines this patch changes: the wafer promise (one line after `let N = 0`, and `kyWaferOk`/kyWaferNo at the belt check, after `N = issued` and in the wafer.tsv catch). It reads `modules.json`. It responds to popstate and error events. - What it does: It draws its content. Defines 13 functions or classes, including kyLine, kyDepth, kyNavReconcile, kyNavPush, kyNavTrim. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file modules.json. - Signatures: `kyLine(t)`; `kyDepth()`; `kyNavReconcile()`; `kyNavPush(owner)`; `kyNavTrim()`; `kyNavBack(owner)`; `kyNavHas(owner)`; `kyOwner(o)`; `redraw()`; `refuse(text, slot)`; `onBack(owner, fn)`; `has(owner)`; `register(m)`; `inspect()`; `kyRefuse(t)`; `kyHex(b)`; `kyInject(id, buf)`; `se(e)`; `kyAdmit(id, rec, provided)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of kuiper-belt/editions/202611012135/handoff/04-loader/rev5/modules/202611020103-loader.js) · essay_status: auto - data_contracts: in [JSON file modules.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Mk - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-4/lead/src/mk.sh (Shell, 15 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-4/lead/src/mk.sh#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/1632.html#f5 - Synopsis: A shell script in the lead folder of Neural Link Between Agents that uses SHA-256. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Lead 2152 - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-4/tester/test.lead-2152.cjs (JavaScript, 214 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-4/tester/test.lead-2152.cjs#L1-L214 - Page: https://code.globalgrid2050.com/explore-code/s/1633.html#f1 - Synopsis: A JavaScript module in the tester folder of Neural Link Between Agents that works with same order (`sameOrder`) and draws on a canvas, using SHA-256. - What it achieves (name): It is built from the probe step (`probe`), the rec step (`rec`) and the manifest step (`manifest`). Defines `flag`, `sleep`, `sha` and 11 more. - What it does: It tests its inputs. Defines 15 functions or classes, including flag, sleep, sha, probe, rec. Uses libraries playwright, fs, path, crypto, child_process. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file modules.json; JSON file keys.json; command-line arguments. Out: JSON file report.json; JSON file modules.json; canvas drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `flag(n)`; `DEVICES(flag('--devices') || 'Pixel 7,Galaxy S24')`; `sleep(ms)`; `sha(b)`; `probe(id, requires, body)`; `install(KY)`; `inspect()`; `rec(id, file, buf, requires, extra)`; `manifest(mods)`; `run(browser, dev, name, o)`; `i(y * c.width + X)`; `sameOrder(st, ids, m)`; `why(st, id)`; `net404(s)`; `add(k, pass, data)`; `hAd(s.admitted.find(a => a.id === 'hello') || {})`; `test8()`; `mk(name)`; `proof(e)`; `check(d)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file modules.json; JSON file keys.json; command-line arguments]; out [JSON file report.json; JSON file modules.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Prep - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-5/builder/prep.sh (Shell, 21 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-5/builder/prep.sh#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1633.html#f2 - Synopsis: A shell script in the builder folder of Neural Link Between Agents that uses SHA-256. - What it achieves (name): It writes `/modules.json`. - What it does: It loads data. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file modules.json. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [command-line arguments]; out [JSON file modules.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Section C - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-6/builder/section-c.js (JavaScript, 214 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-6/builder/section-c.js#L1-L214 - Page: https://code.globalgrid2050.com/explore-code/s/1633.html#f3 - Synopsis: A JavaScript file in the builder folder of Neural Link Between Agents that shows payload (`showPayload`), exports image (`exportImage`), prints view (`printView`) and draws on a canvas. - What it achieves (comment): It shows payload (`showPayload`), copies text (`copyText`) and exports image (`exportImage`). SECTION C begin (OPUS-6 builder): EXPORT, the EDIT paste field, the Backspace rule, copy-or-show. It responds to click, focus and keydown events. - What it does: It draws its content. Defines 25 functions or classes, including mk, payloadField, payloadStyle, showPayload, copyText. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: canvas drawing. - Signatures: `mk(tag, cls, text)`; `payloadField(rowEl)`; `payloadStyle()`; `showPayload(rowEl, text, why)`; `copyText(rowEl, text)`; `looksBlank(canvas)`; `utcStamp(now)`; `editionName()`; `viewLink()`; `footLines(now)`; `capturePainter()`; `capture()`; `stamped(view, now)`; `say(rowEl, words)`; `fileName(now)`; `exportImage(rowEl)`; `printView(rowEl)`; `go()`; `exportRows(group, row)`; `looksLikeLink(t)`; `takePaste(text)`; `wireFind()`; `openPaste()`; `pasteRow(editPanel, row)`; `wireBackspace()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Stub B - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-6/builder/stub-b.cjs (JavaScript, 64 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-6/builder/stub-b.cjs#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/1633.html#f4 - Synopsis: A JavaScript module in the builder folder of Neural Link Between Agents that lists lit (`listLit`), using SHA-256. - What it achieves (name): It lists lit (`listLit`) and is built from the record for helper (`recordFor`) and the manifest step (`manifest`). Defines `page`, `listLit`, `recordFor` and 1 more. - What it does: It loads data. Defines page, listLit, recordFor, manifest. Uses libraries http, fs, path, crypto, os. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file MODULE.json; JSON file modules.json; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `page()`; `listLit(src, name)`; `recordFor(rel)`; `manifest()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of kuiper-belt/editions/202611012135/handoff/00-stub/stub-serve.cjs) · essay_status: auto - data_contracts: in [JSON file MODULE.json; JSON file modules.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Shift - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-6/evidence/shift.py (Python, 34 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-6/evidence/shift.py#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/1633.html#f5 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents. It is built from the shift text helper (`shift_text`). - What it achieves (comment): Shift module line refs >= START by D in `EVIDENCE.md` (module-context only). - What it does: It loads data. Defines sh, shift_text. Uses libraries re, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `sh(m)`; `shift_text(t)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Section C - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-7/builder/test_sectionC.cjs (JavaScript, 37 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-7/builder/test_sectionC.cjs#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/1633.html#f6 - Synopsis: A test in the builder folder of Neural Link Between Agents. It loads elements (`loadElements`) and is built from the rows step (`rows`). - What it achieves (comment): Unit test of SECTION C (builder) outside the browser: stubs for KY/H, real files, Node webcrypto. It reads `/data/elements.json`. - What it does: It tests its inputs. Defines rows, loadElements. Uses libraries fs, path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file elements.json; command-line arguments. - Signatures: `rows(f)`; `loadElements()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [JSON file elements.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Mksite - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-7/tester/mksite.py (Python, 42 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-7/tester/mksite.py#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1633.html#f7 - Synopsis: A Python module in the tester folder of Neural Link Between Agents that uses SHA-256. - What it achieves (comment): Scratch site for OPUS-6: the edition as it will stand at admission 6 (loader 04 patch + layers 03 patch applied in a copy; modules kuiper-shell, line-card, layers, file). It reads `/handoff/04-loader/modules.json` and writes `/modules.json`. - What it does: It loads data. Uses libraries os, re, json, hashlib, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file modules.json; command-line arguments. Out: JSON file modules.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [JSON file modules.json; command-line arguments]; out [JSON file modules.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Evidence - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-9/evidence/verify_evidence.py (Python, 124 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-9/evidence/verify_evidence.py#L1-L124 - Page: https://code.globalgrid2050.com/explore-code/s/1634.html#f1 - Synopsis: A Python module in the tools folder of Neural Link Between Agents that works with repo dir (`repo_dir`), using SHA-256. It is built from the git step (`git`). - What it achieves (comment): OPUS-9 evidence officer: re-read every key of `handoff/09-law/EVIDENCE.md` from git objects (never a working tree). - What it does: It lists and searches its content. Defines repo_dir, git. Uses libraries re, subprocess, hashlib. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `repo_dir(r)`; `git(repo, *a, binary=False)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Keys - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010-opus/team-9/evidence/verify_keys.py (Python, 59 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010-opus/team-9/evidence/verify_keys.py#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/1634.html#f2 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents. It is built from the git step (`git`). - What it achieves (comment): Re-read every key of the `LICENCES.md` register from git objects at the named heads (never a working tree). - What it does: It lists and searches its content. Defines git. Uses libraries re, subprocess, sys. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `git(repo, *a)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Measure Ed4 B - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010/team-1/B/measure-ed4-B.cjs (JavaScript, 23 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010/team-1/B/measure-ed4-B.cjs#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1634.html#f3 - Synopsis: A JavaScript module in the evidence folder of Neural Link Between Agents. - What it does: Defines r. Uses libraries playwright. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `r(s)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Measure Ga B - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010/team-1/B/measure-ga-B.cjs (JavaScript, 61 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010/team-1/B/measure-ga-B.cjs#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1634.html#f4 - Synopsis: A JavaScript module in the evidence folder of Neural Link Between Agents. - What it does: It loads data. Defines rr, cs. Uses libraries playwright, fs. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `rr(e)`; `cs(e, props)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Keys - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010/team-2/check_keys.py (Python, 47 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010/team-2/check_keys.py#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1634.html#f5 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents that verifies every `repo@sha path:line` key in an EVIDENCE/STEPS file against the clones under `/home/user/estate`. - What it achieves (name): Its name says it checks keys. Defines `head` and `lines`. - What it does: It loads data. Defines head, lines. Uses libraries re, subprocess, sys, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `head(repo)`; `lines(repo, path)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Steps Keys - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010/team-2/check_steps_keys.py (Python, 32 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010/team-2/check_steps_keys.py#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/1634.html#f6 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents. It is built from the head step (`head`) and the nlines step (`nlines`). - What it achieves (comment): Existence check of every fully-qualified key `repo@sha path:line[-line]` in a STEPS file (no fragment column): HEAD must start with sha, file must exist, last line of the range must exist. - What it does: It loads data. Defines head, nlines. Uses libraries re, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `head(r)`; `nlines(p)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Shots - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010/team-3/shots.cjs (JavaScript, 75 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010/team-3/shots.cjs#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1634.html#f7 - Synopsis: A JavaScript module in the evidence folder of Neural Link Between Agents covering shots report. - What it achieves (name): Defines `sleep`, `pause` and `shot`. It writes `/tmp/nl010/team-3/shots-report.json`. - What it does: Defines sleep, pause, shot, R, R. Uses libraries playwright, fs. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: JSON file shots-report.json. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `sleep(ms)`; `pause(page, on)`; `shot(page, name)`; `R(el)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out [JSON file shots-report.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### App Sizes - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010/team-4/app_sizes.py (Python, 18 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010/team-4/app_sizes.py#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1634.html#f8 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents. It is built from the count step (`count`). - What it achieves (comment): Lines of text blobs at HEAD inside a few app folders, counted by the wafer's own rule (`count_lines.py`:60-61: NUL in the first 8,000 bytes is binary, else newlines plus one if no trailing newline). - What it does: Defines count. Uses libraries subprocess, sys. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `count(repo, prefix)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Drift - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010/team-4/drift.py (Python, 42 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010/team-4/drift.py#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1634.html#f9 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents. It is built from the clone step (`clone`) and the head step (`head`). - What it achieves (comment): Prototype of the drift algorithm: each verified line of Edition 4 (`keys.json`) against the HEAD of the local clone of its repository. It reads `/home/user/estate/kuiper-belt/editions/202611012027/keys.json` and writes `drift.json`. - What it does: It loads data. Defines clone, head. Uses libraries json, os, subprocess, collections. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file keys.json. Out: JSON file drift.json. - Signatures: `clone(repo)`; `head(p)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010/team-4/drift_strict.py) · essay_status: auto - data_contracts: in [JSON file keys.json]; out [JSON file drift.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Drift Strict - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010/team-4/drift_strict.py (Python, 43 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010/team-4/drift_strict.py#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1634.html#f10 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents. It is built from the clone step (`clone`) and the head step (`head`). - What it achieves (comment): Prototype of the drift algorithm: each verified line of Edition 4 (`keys.json`) against the HEAD of the local clone of its repository. It reads `/home/user/estate/kuiper-belt/editions/202611012027/keys.json` and writes `drift_strict.json`. - What it does: It loads data. Defines clone, head. Uses libraries json, os, subprocess, collections. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file keys.json. Out: JSON file drift_strict.json. - Signatures: `clone(repo)`; `head(p)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [JSON file keys.json]; out [JSON file drift_strict.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Spider Pixel7 - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010/team-4/spider-pixel7.cjs (JavaScript, 38 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010/team-4/spider-pixel7.cjs#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1634.html#f11 - Synopsis: A JavaScript module in the evidence folder of Neural Link Between Agents. - What it achieves (name): Defines `txt`. It writes `spider-pixel7.json`. - What it does: It lists and searches its content. Defines q, txt. Uses libraries playwright, fs. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: JSON file spider-pixel7.json. - Signatures: `q(s)`; `txt(s)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out [JSON file spider-pixel7.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Unique Lines - File: neural-link-between-agents/FIXES/NL-010/tools/evidence/nl010/team-4/unique_lines.py (Python, 29 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/evidence/nl010/team-4/unique_lines.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1634.html#f12 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents. - What it achieves (comment): Distinct line texts against all line occurrences, over the text blobs at HEAD of the 25 local clones (`/home/user/estate/*`), by the wafer's binary rule. It writes `unique_lines.json`. - What it does: It loads data. Uses libraries subprocess, os, json, hashlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: JSON file unique_lines.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out [JSON file unique_lines.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Android Journey 2219 234a2a0c - File: neural-link-between-agents/FIXES/NL-010/tools/journey/android-journey.2219.234a2a0c.cjs (JavaScript, 370 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/journey/android-journey.2219.234a2a0c.cjs#L1-L370 - Page: https://code.globalgrid2050.com/explore-code/s/1635.html#f1 - Synopsis: A JavaScript module in the tools folder of Neural Link Between Agents that runs device (`runDevice`), converts to screen (`toScreen`), calculates planar distances and draws on a canvas. - What it achieves (name): It runs device (`runDevice`) and is built from the probe fn helper (`probeFn`) and the vis step (`vis`). Defines `flag`, `slug`, `sleep` and 22 more. It reads `keys.json`. - What it does: It draws its content. Defines 27 functions or classes, including flag, slug, sleep, probeFn, R. Uses libraries playwright, fs, path. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file keys.json; command-line arguments. Out: JSON file report.json; canvas drawing. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `flag(n)`; `slug(s)`; `sleep(ms)`; `probeFn()`; `R(el)`; `vis(el)`; `q(s)`; `hitAt(x, y)`; `waferFromPng(page, b64, yFrom)`; `keyPlace(k)`; `runDevice(browser, deviceName)`; `probe()`; `shot(id)`; `shotPng()`; `record(id, name, pass, measured, note)`; `tapAt(x, y)`; `tapRect(r)`; `touch(type, points)`; `settle(opts = {})`; `framesPass(k, max = 60000)`; `clearSpace(p)`; `cardCapPx(p)`; `cardUnderCap(p)`; `titleRect(panel)`; `x(tp.rect.left + tp.rect.right)` (and 4 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file keys.json; command-line arguments]; out [JSON file report.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Journey 5 - File: neural-link-between-agents/FIXES/NL-010/tools/journey/journey-5.cjs (JavaScript, 392 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/journey/journey-5.cjs#L1-L392 - Page: https://code.globalgrid2050.com/explore-code/s/1636.html#f1 - Synopsis: A JavaScript module in the tools folder of Neural Link Between Agents that runs device (`runDevice`), converts to screen (`toScreen`), calculates planar distances and draws on a canvas. - What it achieves (name): It runs device (`runDevice`) and is built from the probe fn helper (`probeFn`) and the vis step (`vis`). Defines `flag`, `slug`, `sleep` and 24 more. It reads `keys.json`. - What it does: It draws its content. Defines 29 functions or classes, including flag, slug, sleep, probeFn, R. Uses libraries playwright, fs, path. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file keys.json; command-line arguments. Out: JSON file report.json; canvas drawing. - Downstream impact: Used directly by 1 file: Team10 Lead Jrun (neural-link-between-agents). - Signatures: `flag(n)`; `slug(s)`; `sleep(ms)`; `probeFn()`; `R(el)`; `vis(el)`; `q(s)`; `panelEl(id)`; `hitAt(x, y)`; `waferFromPng(page, b64, yFrom)`; `masked(x, y)`; `keyPlace(k)`; `runDevice(browser, deviceName)`; `probe()`; `shot(id)`; `shotPng()`; `record(id, name, pass, measured, note)`; `tapAt(x, y)`; `tapRect(r)`; `touch(type, points)`; `settle(opts = {})`; `framesPass(k, max = 60000)`; `clearSpace(p)`; `cardCapPx(p)`; `cardUnderCap(p)` (and 6 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file keys.json; command-line arguments]; out [JSON file report.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Team10 Lead Jrun - File: neural-link-between-agents/FIXES/NL-010/tools/journey/team10-lead-jrun.sh (Shell, 10 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/journey/team10-lead-jrun.sh#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/1636.html#f2 - Synopsis: A shell script in the journey folder of Neural Link Between Agents. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Team10 Lead Snap - File: neural-link-between-agents/FIXES/NL-010/tools/journey/team10-lead-snap.sh (Shell, 10 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/journey/team10-lead-snap.sh#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/1636.html#f3 - Synopsis: A shell script in the journey folder of Neural Link Between Agents that uses SHA-256. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### K1 Staged - File: neural-link-between-agents/FIXES/NL-010/tools/k1-staged.py (Python, 14 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/k1-staged.py#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/1636.html#f4 - Synopsis: A Python module in the tools folder of Neural Link Between Agents. - What it does: It loads data. Uses libraries sys, subprocess, check_proof. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E10 Apps - File: neural-link-between-agents/FIXES/NL-010/tools/release/e10-apps.cjs (JavaScript, 10 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/release/e10-apps.cjs#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/1636.html#f5 - Synopsis: A JavaScript module in the tools folder of Neural Link Between Agents. - What it does: Uses libraries playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E10 Check - File: neural-link-between-agents/FIXES/NL-010/tools/release/e10-check.cjs (JavaScript, 17 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/release/e10-check.cjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/1636.html#f6 - Synopsis: A JavaScript module in the tools folder of Neural Link Between Agents. - What it does: It lists and searches its content. Uses libraries playwright. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E10 Layers - File: neural-link-between-agents/FIXES/NL-010/tools/release/e10-layers.cjs (JavaScript, 6 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/release/e10-layers.cjs#L1-L6 - Page: https://code.globalgrid2050.com/explore-code/s/1636.html#f7 - Synopsis: A JavaScript module in the tools folder of Neural Link Between Agents. - What it does: Uses libraries playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E11 404 - File: neural-link-between-agents/FIXES/NL-010/tools/release/e11-404.cjs (JavaScript, 5 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/release/e11-404.cjs#L1-L5 - Page: https://code.globalgrid2050.com/explore-code/s/1636.html#f8 - Synopsis: A JavaScript module in the tools folder of Neural Link Between Agents. - What it does: Uses libraries playwright. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E11 Apps - File: neural-link-between-agents/FIXES/NL-010/tools/release/e11-apps.cjs (JavaScript, 10 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/release/e11-apps.cjs#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/1636.html#f9 - Synopsis: A JavaScript module in the tools folder of Neural Link Between Agents. - What it does: Uses libraries playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E11 Check - File: neural-link-between-agents/FIXES/NL-010/tools/release/e11-check.cjs (JavaScript, 17 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/release/e11-check.cjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/1636.html#f10 - Synopsis: A JavaScript module in the tools folder of Neural Link Between Agents. - What it does: It lists and searches its content. Uses libraries playwright. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E11 Layers - File: neural-link-between-agents/FIXES/NL-010/tools/release/e11-layers.cjs (JavaScript, 6 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/release/e11-layers.cjs#L1-L6 - Page: https://code.globalgrid2050.com/explore-code/s/1636.html#f11 - Synopsis: A JavaScript module in the tools folder of Neural Link Between Agents. - What it does: Uses libraries playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### E11 Touch - File: neural-link-between-agents/FIXES/NL-010/tools/release/e11-touch.cjs (JavaScript, 60 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/release/e11-touch.cjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/1636.html#f12 - Synopsis: A JavaScript module in the tools folder of Neural Link Between Agents that works with tap sel (`tapSel`). - What it achieves (name): It is built from the tap sel helper (`tapSel`) and the card step (`card`). Defines `step`, `shot`, `tapSel` and 1 more. - What it does: It draws its content. Defines step, shot, tapSel, card. Uses libraries playwright, fs, path. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file touch.json. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `step(id, pass, m)`; `shot(n)`; `tapSel(sel)`; `card()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of neural-link-between-agents/FIXES/NL-010/evidence/controller-4/touch-pixel7/file-touch-c4.cjs) · essay_status: auto - data_contracts: in [command-line arguments]; out [JSON file touch.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### K1hist - File: neural-link-between-agents/FIXES/NL-010/tools/release/k1hist.py (Python, 18 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/release/k1hist.py#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1636.html#f13 - Synopsis: A Python module in the tools folder of Neural Link Between Agents. - What it does: Defines g. Uses libraries subprocess, sys, re, hashlib, check_proof. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `g(*a)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Merge Watch - File: neural-link-between-agents/FIXES/NL-010/tools/release/merge_watch.sh (Shell, 28 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/release/merge_watch.sh#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1636.html#f14 - Synopsis: A shell script in the tools folder of Neural Link Between Agents. - What it achieves (name): Its name says it merges watch. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### R1 Squash - File: neural-link-between-agents/FIXES/NL-010/tools/release/r1_squash.sh (Shell, 37 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-010/tools/release/r1_squash.sh#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/1636.html#f15 - Synopsis: A shell script in the tools folder of Neural Link Between Agents. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### 01 Protocol - File: neural-link-between-agents/FIXES/NL-011/01-protocol.py (Python, 288 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-011/01-protocol.py#L1-L288 - Page: https://code.globalgrid2050.com/explore-code/s/1637.html#f1 - Synopsis: A Python module in Neural Link Between Agents that reads rows. It is built from the fieldval step (`fieldval`), the typ step (`typ`) and the norm step (`norm`). - What it achieves (comment): Fetches issues 1-10 comments with gh into /i .JSON if absent, then prints all sections. It reads `c/rows.json` and writes `c/edges.json`. - What it does: It loads rows. Defines 8 functions or classes, including ts, gh, fieldval, g, typ. Uses libraries os, subprocess, sys, json, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file rows.json; JSON file edges.json; command-line arguments. Out: JSON file rows.json; JSON file edges.json. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `ts(s)`; `gh(s)`; `fieldval(body,f)`; `g(s)`; `typ(r)`; `norm(s)`; `irt_ok(v)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in [JSON file rows.json; JSON file edges.json; command-line arguments]; out [JSON file rows.json; JSON file edges.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Link Graph - File: neural-link-between-agents/FIXES/NL-011/build_link_graph.py (Python, 156 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-011/build_link_graph.py#L1-L156 - Page: https://code.globalgrid2050.com/explore-code/s/1637.html#f2 - Synopsis: A Python command-line tool in Neural Link Between Agents that parses map (`parse_map`). - What it achieves (comment): It is built from the cells step (`cells`), the unesc step (`unesc`) and the norm label helper (`norm_label`). Build `FIXES/NL-011/link-graph.json` from `FIXES/NL-011/KUIPER-MAP.md`, in the ventus-grid-engine genome graph format. It accepts `--map` and `--out`. - What it does: It loads data. Defines 7 functions or classes, including cells, unesc, parse_map, norm_label, main. Uses libraries argparse, collections, datetime, json, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file link-graph.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `cells(line)`; `unesc(s)`; `parse_map(path)`; `norm_label(label)`; `main()`; `add(nid, label, typ, rag, reason, gh)`; `edge(src, dst, typ, file, lines, method)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in [JSON file link-graph.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Dryrun Workflow - File: neural-link-between-agents/FIXES/NL-012/M1/scripts/dryrun_workflow.py (Python, 127 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-012/M1/scripts/dryrun_workflow.py#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/1637.html#f3 - Synopsis: A Python module in the scripts folder of Neural Link Between Agents that reads the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It runs job (`run_job`) and is built from the expr step (`expr`). Local dry run of `.github/workflows/repd-monthly.yml`: executes the YAML's own `run:` blocks in order. - What it does: It loads the REPD register. Defines run_job, expr. Uses libraries os, shutil, subprocess, sys, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `run_job(name, outputs_in, inputs)`; `expr(s)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Conftest - File: neural-link-between-agents/FIXES/NL-012/review-b967360d/tests/conftest.py (Python, 143 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-012/review-b967360d/tests/conftest.py#L1-L143 - Page: https://code.globalgrid2050.com/explore-code/s/1638.html#f1 - Synopsis: A Python module in the tests folder of Neural Link Between Agents that tests the Renewable Energy Planning Database (REPD) register. It makes CSV (`make_csv`) and makes xlsx (`make_xlsx`). - What it achieves (comment): Shared synthetic-release builders. No network, no real data. - What it does: It tests the REPD register. Defines 10 functions or classes, including base_rows, _csv_text, make_csv, make_xlsx, ingest. Uses libraries __future__, csv, inspect, io, os. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register. - Inputs & outputs: Out: CSV file. - Downstream impact: Used directly by 3 files: Test Date Rule Unit (neural-link-between-agents); Test Ingest Regression (neural-link-between-agents); Test Unpatched Defects (neural-link-between-agents). - Signatures: `base_rows(n: int = 6)`; `_csv_text(value)`; `make_csv(rows: list[dict], overrides: dict | None = None, columns: list[str] | None = None, newline: str = "\r\n", encoding: s...)`; `make_xlsx(rows: list[dict], formats: dict | None = None, overrides: dict | None = None, columns: list[str] | None = None)`; `ingest()`; `q2()`; `rule()`; `run(ingest)`; `_run(csv_bytes: bytes, xlsx_bytes: bytes, previous: bytes | None = None)`; `candidate_bytes(canonical)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out [CSV file]; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Test Date Rule Unit - File: neural-link-between-agents/FIXES/NL-012/review-b967360d/tests/test_date_rule_unit.py (Python, 193 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-012/review-b967360d/tests/test_date_rule_unit.py#L1-L193 - Page: https://code.globalgrid2050.com/explore-code/s/1638.html#f2 - Synopsis: A test in the tests folder of Neural Link Between Agents that checks Conftest. It is built from the xcell step (`xcell`). - What it achieves (comment): Unit tests of the standalone general date rule (`work8/repd_date_rule.py`). - What it does: It tests its inputs. Defines 21 functions or classes, including xcell, test_number_format_classification, test_day_first_text_matches_typed_date, test_unpadded_day_first_text_is_repadded, test_month_first_text_needs_month_first_format. Uses libraries __future__, datetime, pytest. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: CSV file p.csv. - Signatures: `xcell(rule, value=D, fmt=LOCALE_SHORT_DATE, fmt_id=14)`; `test_number_format_classification(rule, code, fmt_id, expected)`; `test_day_first_text_matches_typed_date(rule)`; `test_unpadded_day_first_text_is_repadded(rule)`; `test_month_first_text_needs_month_first_format(rule)`; `test_ambiguous_swap_is_corrected_only_with_month_first_format(rule)`; `test_month_first_format_with_day_equal_month_is_invariant(rule)`; `test_day_first_text_under_month_first_format_is_accepted_as_day_first(rule)`; `test_iso_text(rule)`; `test_failures_against_a_typed_date(rule, text, expected)`; `test_time_component_is_not_silently_truncated(rule)`; `test_blank_equivalents(rule, csv_text, xl_value, token)`; `test_true_blank_is_not_a_provenance_event(rule)`; `test_csv_date_with_blank_or_untyped_excel(rule)`; `test_table_rule_discovers_date_columns_and_month_first_cells_without_being_told(rule)`; `test_number_formatted_as_date_in_a_text_column_is_reported_not_treated_as_date_column(rule)`; `test_required_date_column_holding_text_fails(rule)`; `test_structural_failures(rule)`; `test_strict_csv_reader_refuses_short_record(rule)`; `test_future_and_serial_artefact_flags_do_not_fail(rule)`; `test_provenance_records_every_non_empty_cell(rule, tmp_path)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of globalgrid2050/automation/repd/tests/test_date_rule.py) · essay_status: auto - data_contracts: in [CSV file p.csv]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Ingest Regression - File: neural-link-between-agents/FIXES/NL-012/review-b967360d/tests/test_ingest_regression.py (Python, 256 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-012/review-b967360d/tests/test_ingest_regression.py#L1-L256 - Page: https://code.globalgrid2050.com/explore-code/s/1638.html#f3 - Synopsis: A test in the tests folder of Neural Link Between Agents that checks Conftest. It is built from the cell step (`cell`). - What it achieves (comment): End-to-end regression tests: synthetic CSV + XLSX bytes through `reconcile`. - What it does: It tests its inputs. Defines 24 functions or classes, including cell, test_00_clean_release_is_staged, test_01_identical_duplicate_kept_once, test_01b_previous_release_with_identical_duplicate_is_usable_as_baseline, test_02_conflicting_duplicate_rejects. Uses libraries __future__, csv, io, re, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `cell(canonical, ref, column)`; `test_00_clean_release_is_staged(run)`; `test_01_identical_duplicate_kept_once(run)`; `test_01b_previous_release_with_identical_duplicate_is_usable_as_baseline(run)`; `test_02_conflicting_duplicate_rejects(run)`; `test_02b_duplicate_in_one_file_only_rejects(run)`; `test_03_month_first_cell_corrected_from_excel(run)`; `test_03b_month_first_cell_that_is_also_a_valid_day_first_date(run)`; `test_03c_month_first_correction_is_not_limited_to_one_column(run)`; `test_04_ambiguous_day_month_swap_detected(run)`; `test_04b_swap_detected_in_a_date_column_outside_the_original_eight(run)`; `test_05_unparseable_non_blank_date_rejects(run, text)`; `test_05b_unparseable_date_present_in_both_files_rejects(run)`; `test_06_na_is_blanked_and_counted(run)`; `test_06b_na_in_csv_but_date_in_excel_rejects(run)`; `test_07_fewer_refs_than_previous_release_rejects(run)`; `test_07b_same_or_more_refs_than_previous_release_passes(run)`; `test_08_csv_and_excel_ref_sets_differing_rejects(run)`; `test_09_candidate_column_order_equals_official(run)`; `test_10_last_record_complete(run)`; `test_10b_source_without_final_newline_rejects(run)`; `test_10c_source_with_truncated_final_record_rejects(run)`; `test_11_output_round_trips_byte_stable(run, q2)`; `test_11b_every_date_column_of_the_candidate_is_strict_day_first(run)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Unpatched Defects - File: neural-link-between-agents/FIXES/NL-012/review-b967360d/tests/test_unpatched_defects.py (Python, 87 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-012/review-b967360d/tests/test_unpatched_defects.py#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/1638.html#f4 - Synopsis: A test in the tests folder of Neural Link Between Agents that checks Conftest. It is built from the original step (`original`) and the original q2 helper (`original_q2`). - What it achieves (comment): Defects of the scripts AS DELIVERED at (`work8/tiproot/scripts`). - What it does: It tests its inputs. Defines 12 functions or classes, including _load, original, original_q2, test_unpatched_rejects_every_release_that_lacks_the_25_hard_coded_refs, test_unpatched_floor_and_allow_list_are_not_parameters. Uses libraries __future__, importlib.util, inspect, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `_load(name)`; `original()`; `original_q2()`; `test_unpatched_rejects_every_release_that_lacks_the_25_hard_coded_refs(original)`; `test_unpatched_floor_and_allow_list_are_not_parameters(original)`; `test_unpatched_read_xlsx_turns_the_text_NA_into_missing(original_q2)`; `test_unpatched_build_canonical_blanks_a_planning_reference_of_NA(original_q2)`; `test_unpatched_read_csv_pads_a_truncated_record_instead_of_refusing(original_q2)`; `test_unpatched_strict_date_iso_drops_a_time_of_day_silently(original)`; `test_unpatched_shared_norm_date_still_guesses_month_first(original_q2)`; `test_unpatched_baseline_with_an_identical_duplicate_raises(original)`; `test_unpatched_collapse_rewrites_nbsp_tabs_and_line_breaks(original_q2)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Claude Audit B5db0b35 - File: neural-link-between-agents/FIXES/NL-012/tests/claude-audit-b5db0b35.py (Python, 41 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-012/tests/claude-audit-b5db0b35.py#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1639.html#f1 - Synopsis: A Python module in the tests folder of Neural Link Between Agents that tests the Renewable Energy Planning Database (REPD) register. - What it does: It tests the REPD register. Uses libraries sys, io, re, json, pandas. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file repd.csv. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [CSV file repd.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Anomalies - File: neural-link-between-agents/FIXES/NL-013/scripts/anomalies.py (Python, 94 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-013/scripts/anomalies.py#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/1639.html#f2 - Synopsis: A Python module in the scripts folder of Neural Link Between Agents that reads the Renewable Energy Planning Database (REPD) register. It is built from the add step (`add`). - What it achieves (comment): Task 8: hunt source anomalies in the cleaned October file (report only). - What it does: It loads the REPD register. Defines add. Uses libraries csv, json, re, sys, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register. - Inputs & outputs: In: command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `add(kind, r, detail)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Identity Fields - File: neural-link-between-agents/FIXES/NL-013/scripts/check_identity_fields.py (Python, 88 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-013/scripts/check_identity_fields.py#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/1639.html#f3 - Synopsis: A Python module in the scripts folder of Neural Link Between Agents. - What it achieves (comment): Task 5: identity + major projects, field by field against the cleaned CSV; stability vs July. - What it does: It loads data. Uses libraries csv, json, sys, collections, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Check Subsets - File: neural-link-between-agents/FIXES/NL-013/scripts/check_subsets.py (Python, 79 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-013/scripts/check_subsets.py#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/1639.html#f4 - Synopsis: A Python module in the scripts folder of Neural Link Between Agents covering the Renewable Energy Planning Database (REPD) register and solar. - What it achieves (comment): It is built from the read step (`read`), the cap step (`cap`) and the analyse step (`analyse`). Task 4: first-principles subset filters, validated against January (main) and applied to October. - What it does: Defines read, cap, analyse. Uses libraries csv, io, json, sys, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `read(p)`; `cap(s)`; `analyse(root, suffix)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Cmp Identity - File: neural-link-between-agents/FIXES/NL-013/scripts/cmp_identity.py (Python, 22 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-013/scripts/cmp_identity.py#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/1639.html#f5 - Synopsis: A Python module in the scripts folder of Neural Link Between Agents that compares `project_identity` JSON files record by record (ignores `validated_at`). - What it does: It loads data. Uses libraries json, sys, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Make Patches - File: neural-link-between-agents/FIXES/NL-013/scripts/make_patches.py (Python, 91 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-013/scripts/make_patches.py#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/1639.html#f6 - Synopsis: A Python module in the scripts folder of Neural Link Between Agents that reads diff and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It is built from the lines step (`lines`) and the udiff step (`udiff`). Split the Team 1 patch tree (`pt/`) into one unified diff per fix, each against /gg-wt (`wt/` copy). - What it does: It loads diff and the REPD register. Defines lines, udiff. Uses libraries difflib, collections, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file 2026q3_known_anomalies.json; JSON file manifest_v4_2026q3.json; JSON file diff.json. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `lines(p)`; `udiff(rel, a, b)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in [JSON file 2026q3_known_anomalies.json; JSON file manifest_v4_2026q3.json; JSON file diff.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Rederive - File: neural-link-between-agents/FIXES/NL-013/scripts/rederive.py (Python, 142 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-013/scripts/rederive.py#L1-L142 - Page: https://code.globalgrid2050.com/explore-code/s/1639.html#f7 - Synopsis: A Python module in the scripts folder of Neural Link Between Agents covering rederive report, rederive changes and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It cleans text (`clean_text`) and is built from the serial step (`serial`). Independent re-derivation of `repd-2026q3.csv` from the official CSV + XLSX (Team 1, task 1). - What it does: It lists and searches rederive report, rederive changes and the REPD register. Defines clean_text, serial. Uses libraries csv, hashlib, io, json, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register. - Inputs & outputs: In: command-line arguments. Out: CSV file rederived-repd-2026q3.csv; JSON file rederive-report.json; JSON file rederive-changes.json. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `clean_text(s)`; `serial(d)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in [command-line arguments]; out [CSV file rederived-repd-2026q3.csv; JSON file rederive-report.json; JSON file rederive-changes.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Textdiff CSV Xlsx - File: neural-link-between-agents/FIXES/NL-013/scripts/textdiff_csv_xlsx.py (Python, 40 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-013/scripts/textdiff_csv_xlsx.py#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1639.html#f8 - Synopsis: A Python module in the scripts folder of Neural Link Between Agents. It is built from the num step (`num`). - What it achieves (comment): Independent: every non-date cell, official CSV text vs XLSX value (Team 1). - What it does: It loads data. Defines num. Uses libraries csv, io, re, sys, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `num(s)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Xlsx Lookup - File: neural-link-between-agents/FIXES/NL-013/scripts/xlsx_lookup.py (Python, 8 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-013/scripts/xlsx_lookup.py#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1639.html#f9 - Synopsis: A Python module in the scripts folder of Neural Link Between Agents. - What it does: Uses libraries sys, openpyxl. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Indep Diff - File: neural-link-between-agents/FIXES/NL-014/scripts/indep_diff.py (Python, 77 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-014/scripts/indep_diff.py#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1639.html#f10 - Synopsis: A Python module in the scripts folder of Neural Link Between Agents that reads the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It is built from the load step (`load`), the num step (`num`) and the classify step (`classify`). Independent 53-column Ref-ID diff of two official-layout REPD CSVs (no automation/REPD code). - What it does: It loads the REPD register. Defines load, ws, num, dt, classify. Uses libraries csv, io, json, re, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register. README: "automation/repd/diff.py and the independent scripts/indep_diff.py agree on every column." - Inputs & outputs: In: command-line arguments. Out: JSON file. - Signatures: `load(p)`; `ws(s)`; `num(s)`; `dt(s)`; `classify(a, b)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Indep Verify - File: neural-link-between-agents/FIXES/NL-014/scripts/indep_verify.py (Python, 48 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-014/scripts/indep_verify.py#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/1640.html#f1 - Synopsis: A Python module in the scripts folder of Neural Link Between Agents that reads the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): Independent structure check of a raw REPD CSV + XLSX (no automation/REPD code). - What it does: It loads the REPD register. Uses libraries csv, hashlib, io, json, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register. - Inputs & outputs: In: command-line arguments. Out: JSON file. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Rebuild Coords - File: neural-link-between-agents/FIXES/NL-014/scripts/rebuild_coords.py (Python, 14 lines) · role geodesy · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-014/scripts/rebuild_coords.py#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/1640.html#f2 - Synopsis: A Python module in the scripts folder of Neural Link Between Agents. - What it achieves (name): Its name says it rebuilds coords. - What it does: It loads data. Uses libraries importlib.util, json, sys, hashlib, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Rerun V6 - File: neural-link-between-agents/FIXES/NL-014/scripts/rerun_v6.py (Python, 21 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-014/scripts/rerun_v6.py#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1640.html#f3 - Synopsis: A Python module in the scripts folder of Neural Link Between Agents. - What it achieves (comment): Re-run the historical V6 chain on local July bytes inside a scratch tree. - What it does: It loads data. Uses libraries os, runpy, sys, repd_sources_v6. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Tech and Uncompared - File: neural-link-between-agents/FIXES/NL-014/scripts/tech_and_uncompared.py (Python, 101 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-014/scripts/tech_and_uncompared.py#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/1640.html#f4 - Synopsis: A Python module in the scripts folder of Neural Link Between Agents that reads tech tables, uncompared columns, wind and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It is built from the load step (`load`), the agg step (`agg`) and the detail step (`detail`). Blank capacity is unknown, never zero. - What it does: It loads tech tables, uncompared columns, wind and the REPD register. Defines load, mw, agg, detail. Uses libraries csv, json, math, sys, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: wind, the REPD register. - Inputs & outputs: In: command-line arguments. Out: JSON file tech_tables.json; JSON file uncompared_columns.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Signatures: `load(p)`; `mw(r)`; `agg(recs)`; `detail(col)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file tech_tables.json; JSON file uncompared_columns.json]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Interact - File: neural-link-between-agents/FIXES/NL-015/scripts/interact.mjs (JavaScript, 42 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-015/scripts/interact.mjs#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1640.html#f5 - Synopsis: A JavaScript module in the scripts folder of Neural Link Between Agents covering battery storage (BESS). - What it achieves (name): Defines `ready`, `meta` and `grab`. - What it does: It draws battery storage (BESS). Defines ready, meta, grab. Uses libraries fs. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: battery storage (BESS). - Inputs & outputs: In: command-line arguments. - Signatures: `ready()`; `meta()`; `grab(label, sel)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Load - File: neural-link-between-agents/FIXES/NL-015/scripts/load.mjs (JavaScript, 40 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-015/scripts/load.mjs#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1640.html#f6 - Synopsis: A JavaScript module in the scripts folder of Neural Link Between Agents. - What it does: Defines t. Uses libraries fs. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `t(s)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Recount - File: neural-link-between-agents/FIXES/NL-015/scripts/recount.py (Python, 36 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-015/scripts/recount.py#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/1640.html#f7 - Synopsis: A Python module in the scripts folder of Neural Link Between Agents that reads solar and wind. It is built from the load step (`load`) and the coord step (`coord`). - What it achieves (comment): Independent recount of the pinned figures from the October CSV (`repd-2026q3.csv`) and the official CSV. - What it does: It loads solar and wind. Defines load, coord. Uses libraries csv, collections, json, sys, hashlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar, wind. - Inputs & outputs: In: command-line arguments. - Signatures: `load(p)`; `coord(r)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Textdiff - File: neural-link-between-agents/FIXES/NL-015/scripts/textdiff.mjs (JavaScript, 24 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-015/scripts/textdiff.mjs#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1640.html#f8 - Synopsis: A JavaScript module in the scripts folder of Neural Link Between Agents. - What it does: Uses libraries fs. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### S1 Build - File: neural-link-between-agents/FIXES/NL-015/successor/S1-build.sh (Shell, 14 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-015/successor/S1-build.sh#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/1640.html#f9 - Synopsis: A shell script in the successor folder of Neural Link Between Agents that uses SHA-256. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Drive - File: neural-link-between-agents/FIXES/NL-016/G1/drive.mjs (JavaScript, 99 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-016/G1/drive.mjs#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/1640.html#f10 - Synopsis: A JavaScript module in Neural Link Between Agents using data from the ... repository. It is built from the ctype step (`ctype`). - What it achieves (comment): G1 headless-Chrome driver for a LOCAL COPY of GridAtlas (no live site reachable). - What it does: It fetches data. Defines ctype. Uses libraries module, fs, path, child_process, playwright. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: ... data; DuckDB queries; command-line arguments. Out: JSON file results.json. - Signatures: `ctype(f)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [data source: ... data; DuckDB queries; command-line arguments]; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Page Delta - File: neural-link-between-agents/FIXES/NL-016/globalgrid2050/tools/page_delta.mjs (JavaScript, 73 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-016/globalgrid2050/tools/page_delta.mjs#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/1640.html#f11 - Synopsis: A JavaScript module in the tools folder of Neural Link Between Agents that works with cap blank (`capBlank`) and solar plan (`solarPlan`) (units: MW). - What it achieves (comment): It is built from the read step (`read`), the ref step (`ref`) and the cap blank helper (`capBlank`). Per-page gain/loss table, January files vs 2026q3 files, applying each page's own filter. Its code works with 0 MW. - What it does: It loads data. Defines 8 functions or classes, including read, ref, xy, capBlank, cap. Uses libraries module, fs, papaparse. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: CSV file repd.csv; CSV file repd-2026q3.csv; CSV file repd-grid-batteries.csv; CSV file repd-grid-batteries-2026q3.csv; CSV file repd-solar-operational-over-4mw.csv; CSV file repd-solar-operational-over-4mw-2026q3.csv; CSV file repd-solar-operational.csv; CSV file repd-solar-operational-2026q3.csv. - Signatures: `read(f)`; `ref(r)`; `xy(r)`; `capBlank(r)`; `cap(r)`; `all(r)`; `solarPlan(r)`; `t(r['Technology Type'] || '')`; `get(f)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [CSV file repd.csv; CSV file repd-2026q3.csv; CSV file repd-grid-batteries.csv; CSV file repd-grid-batteries-2026q3.csv; CSV file repd-solar-operational-over-4mw.csv; CSV file repd-solar-operational-over-4mw-2026q3.csv; CSV file repd-solar-operational.csv; CSV file repd-solar-operational-2026q3.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Render - File: neural-link-between-agents/FIXES/NL-016/globalgrid2050/tools/render.mjs (JavaScript, 126 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-016/globalgrid2050/tools/render.mjs#L1-L126 - Page: https://code.globalgrid2050.com/explore-code/s/1640.html#f12 - Synopsis: A JavaScript module in the tools folder of Neural Link Between Agents that maps the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): Headless Chrome render check of legacy REPD pages on January vs October data. - What it does: It maps the REPD register. Uses libraries module, fs, path, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register. - Inputs & outputs: In: command-line arguments. Out: JSON file results.json; interactive map. - Signatures: `lyr(m.getStyle().layers || [])` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out [JSON file results.json; interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### G1 Truncation - File: neural-link-between-agents/FIXES/NL-017/evidence/g1_truncation.py (Python, 84 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-017/evidence/g1_truncation.py#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/1641.html#f1 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents that uses SHA-256. It is built from the git step (`git`) and the tree step (`tree`). - What it achieves (comment): Gate 1: no-truncation proof for PR #57 head vs main baseline and RUNBOOK pins. - What it does: It loads data. Defines git, tree. Uses libraries subprocess, re, sys, hashlib, csv. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `git(*a, text=True)`; `tree(rev)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Rehearse - File: neural-link-between-agents/FIXES/NL-017/evidence/rehearse.sh (Shell, 49 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-017/evidence/rehearse.sh#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1641.html#f2 - Synopsis: A shell script in the evidence folder of Neural Link Between Agents covering the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Triggers - File: neural-link-between-agents/FIXES/NL-017/evidence/triggers.py (Python, 56 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-017/evidence/triggers.py#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1641.html#f3 - Synopsis: A Python module in the evidence folder of Neural Link Between Agents that reads triggered. - What it achieves (comment): It matches paths (`match_paths`) and is built from the git step (`git`) and the glob to re helper (`glob_to_re`). Gate 3: which workflows a merge of PR #57 to main would trigger (push to main), evaluated with the HEAD versions of the workflow files (GitHub uses the workflow file at the pushed commit). - What it does: It loads triggered. Defines git, glob_to_re, match_paths, branch_ok. Uses libraries subprocess, yaml, fnmatch, re, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: JSON file triggered.json. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `git(*a)`; `glob_to_re(p)`; `match_paths(pats, files)`; `branch_ok(spec)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in []; out [JSON file triggered.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Make Manifest - File: neural-link-between-agents/FIXES/NL-017/served-bytes/make_manifest.py (Python, 24 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-017/served-bytes/make_manifest.py#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1641.html#f4 - Synopsis: A Python module in the served bytes folder of Neural Link Between Agents that builds the served-byte manifest for main (PR #57 merge), using SHA-256. - What it achieves (name): Its name says it makes manifest. Defines `git`. - What it does: It loads data. Defines git. Uses libraries subprocess, hashlib, csv, sys, collections. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `git(*a)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Served Bytes Check - File: neural-link-between-agents/FIXES/NL-017/served-bytes/served_bytes_check.sh (Shell, 37 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-017/served-bytes/served_bytes_check.sh#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/1641.html#f5 - Synopsis: A shell script in Neural Link Between Agents that uses SHA-256. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Priority BBC RSS - File: neural-link-between-agents/FIXES/NL-019/N2/priority/priority_bbc_rss.py (Python, 197 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-019/N2/priority/priority_bbc_rss.py#L1-L197 - Page: https://code.globalgrid2050.com/explore-code/s/1641.html#f6 - Synopsis: A Python command-line tool in Neural Link Between Agents that fetches solar and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It parses feed (`parse_feed`) and is built from the canonical article helper (`canonical_article`) and the merge items helper (`merge_items`). Bounded BBC RSS discovery. Never fetch article pages or infer REPD bindings. Its code works with 1 MW. It accepts `--output`. - What it does: It fetches solar and the REPD register. Defines 8 functions or classes, including canonical_article, parse_feed, merge_items, recent, NoRedirect. Uses libraries argparse, datetime, email.utils, hashlib, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar, the REPD register. - Inputs & outputs: In: JSON file bbc-rss.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `canonical_article(value, source_priority=1)`; `parse_feed(body, feed_url, observed_at, source_priority=1)`; `merge_items(previous, incoming, now)`; `recent(item)`; `class NoRedirect`; `redirect_request(self, *args, **kwargs)`; `collect(previous, now, fetch=None)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in [JSON file bbc-rss.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Priority Test BBC RSS - File: neural-link-between-agents/FIXES/NL-019/N2/priority/priority_test_bbc_rss.py (Python, 90 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-019/N2/priority/priority_test_bbc_rss.py#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/1641.html#f7 - Synopsis: A Python command-line tool in Neural Link Between Agents. It is built from the rss tests class (`RssTests`), the fail step (`fail`) and the feed step (`feed`). - What it achieves (name): Defines `RssTests`, `test_feed_item_stays_unmatched`, `test_unknown_capacity_solar_is_retained_for_later_match` and 9 more. Its code works with 25 MW, 15 MW and 20 MW. - What it does: It tests its inputs. Defines 12 functions or classes, including RssTests, test_feed_item_stays_unmatched, test_unknown_capacity_solar_is_retained_for_later_match, test_explicit_sub_one_mw_solar_is_excluded, test_retry_and_cross_feed_deduplication. Uses libraries datetime, unittest, bbc_rss. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `class RssTests`; `test_feed_item_stays_unmatched(self)`; `test_unknown_capacity_solar_is_retained_for_later_match(self)`; `test_explicit_sub_one_mw_solar_is_excluded(self)`; `test_retry_and_cross_feed_deduplication(self)`; `test_missing_date_never_becomes_collection_date(self)`; `test_unsafe_urls_and_xml_are_rejected(self)`; `test_feed_failure_retains_last_good_without_freshness_claim(self)`; `fail(url)`; `test_trade_sources_require_uk_and_keep_priority(self)`; `test_all_three_source_feeds_can_report_ok(self)`; `feed(url)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Measure Added319 - File: neural-link-between-agents/FIXES/NL-019/N2/scripts/measure-added319.mjs (JavaScript, 18 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-019/N2/scripts/measure-added319.mjs#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1641.html#f8 - Synopsis: A JavaScript module in the scripts folder of Neural Link Between Agents that reads solar and wind, using SHA-256. - What it achieves (comment): Bind the article corpus and the provisional register against only the 319 Renewable Energy Planning Database (REPD) refs added Jul->Oct 2026. - What it does: It loads solar and wind. Uses libraries node:fs, /pipelinenews/cartridges/provisional-identity.mjs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar, wind. - Inputs & outputs: In: command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Measure Binding - File: neural-link-between-agents/FIXES/NL-019/N2/scripts/measure-binding.mjs (JavaScript, 77 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-019/N2/scripts/measure-binding.mjs#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1641.html#f9 - Synopsis: A JavaScript module in the scripts folder of Neural Link Between Agents that reads sector intelligence, bbc rss, register delta q2 q3 and binding results, using SHA-256. - What it achieves (comment): It is built from the read step (`read`), the add step (`add`) and the pick step (`pick`). Offline measurement: bind the existing Pipeline News article corpus to the Q2 and Q3 registers. - What it does: It loads sector intelligence, bbc rss, register delta q2 q3 and binding results. Defines read, add, F, S, pick. Uses libraries node:fs, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file 202608271524-fd2212a8c76d-v8-fast-news.json; JSON file 202608272130-sector-intelligence.json; JSON file bbc-rss.json; command-line arguments. Out: JSON file register-delta-q2-q3.json; JSON file binding-results.json; JSON file binding-summary.json. - Signatures: `read(file)`; `add(item)`; `F(name)`; `S(name)`; `pick(r)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [JSON file 202608271524-fd2212a8c76d-v8-fast-news.json; JSON file 202608272130-sector-intelligence.json; JSON file bbc-rss.json; command-line arguments]; out [JSON file register-delta-q2-q3.json; JSON file binding-results.json; JSON file binding-summary.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Measure DC - File: neural-link-between-agents/FIXES/NL-019/N2/scripts/measure-dc.mjs (JavaScript, 19 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/FIXES/NL-019/N2/scripts/measure-dc.mjs#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/1641.html#f10 - Synopsis: A JavaScript module in the scripts folder of Neural Link Between Agents that reads sector intelligence. - What it does: It loads sector intelligence. Defines S, F. Uses libraries node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file 202608272130-sector-intelligence.json; JSON file 202608271524-fd2212a8c76d-v8-fast-news.json; command-line arguments. - Signatures: `S(n)`; `F(n)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer, ai_agent · canonical_status: unreached_review · essay_status: auto - data_contracts: in [JSON file 202608272130-sector-intelligence.json; JSON file 202608271524-fd2212a8c76d-v8-fast-news.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Furnace Pilot - File: neural-link-between-agents/SESSIONS/AGENT-13/FURNACE-RD/experiments/prospecting/furnace_pilot.py (Python, 219 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/AGENT-13/FURNACE-RD/experiments/prospecting/furnace_pilot.py#L1-L219 - Page: https://code.globalgrid2050.com/explore-code/s/1642.html#f1 - Synopsis: A Python command-line tool in the prospecting folder of Neural Link Between Agents that writes receipt (`write_receipt`) (units: MW), covering the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the require step (`require`), the producer step (`producer`) and the gpu step (`gpu`). Offline bounded synthetic-input replay of pinned prospecting score arithmetic. It accepts `--output`, `--cases` and `--repeats`. - What it does: It lists and searches the REPD register. Defines 6 functions or classes, including require, producer, write_receipt, main, gpu. Uses libraries argparse, ast, datetime, hashlib, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `require(ok)`; `producer()`; `write_receipt(path, receipt)`; `main()`; `gpu(channel)`; `cpu()` - domain_stage: experimental · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Pilot - File: neural-link-between-agents/SESSIONS/AGENT-13/FURNACE-RD/experiments/prospecting/verify_pilot.py (Python, 69 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/AGENT-13/FURNACE-RD/experiments/prospecting/verify_pilot.py#L1-L69 - Page: https://code.globalgrid2050.com/explore-code/s/1642.html#f2 - Synopsis: A Python command-line tool in the prospecting folder of Neural Link Between Agents that works with negative controls (`NegativeControls`) and no gpu (`no_gpu`), using SHA-256. - What it achieves (comment): It is built from the negative controls class (`NegativeControls`), the invoke step (`invoke`) and the mutated step (`mutated`). Bounded negative controls, using only this pilot directory. - What it does: It loads data. Defines 10 functions or classes, including NegativeControls, invoke, test_cases_over_cap_fail_closed, test_zero_repeats_rejected, test_source_mutation_rejected_before_execution. Uses libraries builtins, contextlib, hashlib, importlib.util, io. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file receipt.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `class NegativeControls`; `invoke(self, *args)`; `test_cases_over_cap_fail_closed(self)`; `test_zero_repeats_rejected(self)`; `test_source_mutation_rejected_before_execution(self)`; `mutated(path)`; `test_missing_gpu_never_passes(self)`; `no_gpu(name,*args,**kwargs)`; `test_deterministic_seed_and_inputs(self)`; `test_injected_gpu_failure_rejects_receipt(self)` - domain_stage: experimental · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file receipt.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Validate - File: neural-link-between-agents/SESSIONS/AGENT-13/NEURAL-MEMORIES/test_validate.py (Python, 77 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/AGENT-13/NEURAL-MEMORIES/test_validate.py#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1642.html#f3 - Synopsis: A test in Neural Link Between Agents that checks Validate. It sets up (`setUp`) and is built from the ledger tests class (`LedgerTests`) and the passing candidate ci helper (`passing_candidate_ci`). - What it achieves (name): Defines `LedgerTests`, `setUp`, `reject` and 15 more. - What it does: It tests its inputs. Defines 18 functions or classes, including LedgerTests, setUp, reject, test_actual_handoff_has_ordered_dependencies_and_no_public_claim, test_missing_dependency. Uses libraries copy, json, pathlib, unittest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'agent'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file 20261116-build-ledger.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class LedgerTests`; `setUp(self)`; `reject(self, edit, message)`; `test_actual_handoff_has_ordered_dependencies_and_no_public_claim(self)`; `test_missing_dependency(self)`; `test_cycle(self)`; `test_stale_ci_does_not_follow_new_head(self)`; `test_count_cannot_be_incremented_without_publication(self)`; `test_passing_ci_alone_is_not_publication(self)`; `passing_candidate_ci(self)`; `test_release_dependency_missing(self)`; `test_machine_verification_rejected(self)`; `test_old_version_delta_cannot_be_blind_cherry_pick(self)`; `edit(d)`; `test_duplicate_inventory_key(self)`; `test_short_commit_is_not_exact_pin(self)`; `test_private_path_is_not_public_memory(self)`; `test_json_duplicate_keys_rejected(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file 20261116-build-ledger.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Validate - File: neural-link-between-agents/SESSIONS/AGENT-13/NEURAL-MEMORIES/validate.py (Python, 126 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/SESSIONS/AGENT-13/NEURAL-MEMORIES/validate.py#L1-L126 - Page: https://code.globalgrid2050.com/explore-code/s/1642.html#f4 - Synopsis: A Python command-line tool in Neural Link Between Agents that reads build ledger. It checks ci (`check_ci`) and is built from the require step (`require`) and the unique step (`unique`). - What it achieves (comment): Validate this declared build handoff. No network, Git writes or command execution. - What it does: It loads build ledger. Defines 7 functions or classes, including require, unique, acyclic, visit, check_ci. Uses libraries json, pathlib, re, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'agent'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file 20261116-build-ledger.json; command-line arguments. - Downstream impact: Used directly by 1 file: Test Validate (neural-link-between-agents). - Signatures: `require(condition, message)`; `unique(pairs)`; `acyclic(rows, key, dependencies)`; `visit(name)`; `check_ci(row)`; `validate(doc)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file 20261116-build-ledger.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Audit - File: neural-link-between-agents/automation/v923-recovery/audit.py (Python, 160 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/automation/v923-recovery/audit.py#L1-L160 - Page: https://code.globalgrid2050.com/explore-code/s/1642.html#f5 - Synopsis: A Python command-line tool in the automation folder of Neural Link Between Agents that reads the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the digest step (`digest`), the issue comments helper (`issue_comments`) and the product head helper (`product_head`). Read-only V9.23 vs V9.22 evidence audit. - What it does: It loads the REPD register. Defines 6 functions or classes, including digest, issue_comments, product_head, latest_real_map_run, evaluate. Uses libraries __future__, datetime, hashlib, json, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register. - Inputs & outputs: Out: JSON file latest.json. - Downstream impact: Used directly by 1 file: V923 Six Hour Neural Audit Workflow (neural-link-between-agents). - Signatures: `digest(path)`; `issue_comments(repo,number)`; `product_head()`; `latest_real_map_run()`; `evaluate()`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: auto - data_contracts: in []; out [JSON file latest.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Validate Operations - File: neural-link-between-agents/automation/validate_operations.py (Python, 29 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/automation/validate_operations.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1642.html#f6 - Synopsis: A Python module in the automation folder of Neural Link Between Agents that validates the compact coordination index without network or dependencies. - What it achieves (name): Its name says it validates operations. - What it does: It loads data. Uses libraries json, datetime, pathlib, urllib.parse. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file STATUS.json. - Downstream impact: Used directly by 1 file: Operations Index Workflow (neural-link-between-agents). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file STATUS.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test VEDIC Commands - File: seed-data/experiments/economical-seeds/next-invention/vedic-commands/test_vedic_commands.py (Python, 174 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-invention/vedic-commands/test_vedic_commands.py#L1-L174 - Page: https://code.globalgrid2050.com/explore-code/s/1643.html#f1 - Synopsis: A test in the next invention folder of Seed Data that checks VEDIC Commands, using SHA-256. It sets up class (`setUpClass`) and sets up (`setUp`). - What it achieves (comment): Independent expected-outcome and refusal fixtures for the command adapter. - What it does: It tests its inputs. Defines 16 functions or classes, including VedicCommandTests, setUpClass, setUp, call, change_stable_unselected_bytes. Uses libraries copy, json, os, shutil, sqlite3. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file instrument.json; JSON file before.json; JSON file stable.json; JSON file after.json; JSON file request.json; SQLite database. - Downstream impact: Used directly by 1 file: Seed Regressions Workflow (seed-data). - Signatures: `class VedicCommandTests`; `setUpClass(cls)`; `setUp(self)`; `call(self, command, request=None, *, catalogue=None, seed=None)`; `change_stable_unselected_bytes(self)`; `test_compose_finds_exact_changes_and_changed_tablets(self)`; `test_verify_matches_deterministic_receipt_digest(self)`; `test_verify_refuses_tampered_result_digest(self)`; `test_scope_boundary_for_unselected_payload(self)`; `test_invalid_commands_components_and_units_stop_before_access(self)`; `test_rejects_dependency_graph_tamper(self)`; `test_rejects_source_package_tamper(self)`; `test_rejects_index_drift_before_replay(self)`; `test_rejects_parent_escape_and_too_small_budget(self)`; `test_cli_check_and_structured_refusal(self)`; `test_duplicate_json_fields_refuse(self)` - domain_stage: experimental · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file instrument.json; JSON file before.json; JSON file stable.json; JSON file after.json; JSON file request.json; SQLite database]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### VEDIC Commands - File: seed-data/experiments/economical-seeds/next-invention/vedic-commands/vedic_commands.py (Python, 245 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-invention/vedic-commands/vedic_commands.py#L1-L245 - Page: https://code.globalgrid2050.com/explore-code/s/1643.html#f2 - Synopsis: A Python command-line tool in the next invention folder of Seed Data that validates request (`validate_request`), checks contracts (`check_contracts`) and runs composition (`run_composition`), using SHA-256. - What it achieves (comment): It is built from the refusal class (`Refusal`), the canonical step (`canonical`) and the sha256 step (`sha256`). Exercise two VEDIC command candidates through one published SEED contract. It accepts `--input`, `--bundle` and `--catalogue`. - What it does: It loads data. Defines 14 functions or classes, including Refusal, canonical, sha256, object_with_fields, url. Uses libraries __future__, argparse, hashlib, json, re. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: SQLite database; command-line arguments. - Downstream impact: Used directly by 1 file: Test VEDIC Commands (seed-data). Reached from 1 other entry point, including Seed Regressions Workflow (seed-data). - Signatures: `class Refusal`; `canonical(value)`; `sha256(data)`; `object_with_fields(value, fields, label)`; `url(value, label)`; `require_sha256(value, label)`; `validate_request(words, request)`; `local_input(bundle, value)`; `check_contracts(catalogue)`; `stage_package(seed_root, scratch)`; `run_composition(request, bundle, seed_root)`; `invoke(words, request, *, catalogue, bundle, seed_root)`; `unique_fields(pairs)`; `main()` - domain_stage: experimental · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [SQLite database; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test VEDIC Candidate - File: seed-data/experiments/economical-seeds/test_vedic_candidate.py (Python, 45 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/test_vedic_candidate.py#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1643.html#f3 - Synopsis: A test in the economical seeds folder of Seed Data that checks Seed Discover and VEDIC Candidate. - What it achieves (name): It sets up class (`setUpClass`) and is built from the candidate tests class (`CandidateTests`). Defines `CandidateTests`, `setUpClass`, `test_single_lookup_returns_evidence_without_opening_a_payload` and 2 more. - What it does: It tests its inputs. Defines CandidateTests, setUpClass, test_single_lookup_returns_evidence_without_opening_a_payload, test_unknown_objective_is_empty, test_unbound_command_and_malformed_contract_refuse_before_querying. Uses libraries tempfile, unittest, pathlib, unittest.mock. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Seed Regressions Workflow (seed-data). - Signatures: `class CandidateTests`; `setUpClass(cls)`; `test_single_lookup_returns_evidence_without_opening_a_payload(self)`; `test_unknown_objective_is_empty(self)`; `test_unbound_command_and_malformed_contract_refuse_before_querying(self)` - domain_stage: experimental · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### VEDIC Candidate - File: seed-data/experiments/economical-seeds/vedic_candidate.py (Python, 47 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/vedic_candidate.py#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1643.html#f4 - Synopsis: A Python command-line tool in the economical seeds folder of Seed Data. - What it achieves (name): Defines `invoke`. It accepts `--input` and `--catalogue`. - What it does: Defines invoke. Uses libraries argparse, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Test VEDIC Candidate (seed-data). Reached from 1 other entry point, including Seed Regressions Workflow (seed-data). - Signatures: `invoke(words, request, catalogue=DEFAULT)` - domain_stage: experimental · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Build - File: spiders/codex/build-plan/build.mjs (JavaScript, 38 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/codex/build-plan/build.mjs#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1643.html#f5 - Synopsis: A JavaScript module in the build plan folder of Spiders that reads master plan, using SHA-256. - What it does: It loads master plan. Uses libraries node:fs/promises, node:path, node:url, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: GeoJSON file master-plan.geojson; JSON file nodes.json; JSON file edges.json; JSON file evidence.json; command-line arguments. Out: JSON file CURRENT.json; JSON file LATEST.json. - Downstream impact: Used directly by 1 file: Genome Workflow (spiders). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [GeoJSON file master-plan.geojson; JSON file nodes.json; JSON file edges.json; JSON file evidence.json; command-line arguments]; out [JSON file CURRENT.json; JSON file LATEST.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Estate Audit - File: spiders/codex/build-plan/estate-audit.py (Python, 136 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/codex/build-plan/estate-audit.py#L1-L136 - Page: https://code.globalgrid2050.com/explore-code/s/1643.html#f6 - Synopsis: A Python command-line tool in the build plan folder of Spiders that fetches discovery and repos, using SHA-256 from GitHub API. - What it achieves (comment): It is built from the get step (`get`), the save step (`save`) and the references step (`references`). Read-only, bounded estate survey. Same runner locally and in Actions; never runs target code. It accepts `--out`, `--shard` and `--shards`. - What it does: It fetches discovery and repos. Defines get, save, references, main. Uses libraries argparse, base64, datetime, hashlib, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; JSON file discovery.json; JSON file current.json; JSON file repos.json; command-line arguments. - Downstream impact: Used directly by 1 file: Estate Audit Workflow (spiders). - Signatures: `get(path)`; `save(out, name, value)`; `references(source)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file discovery.json; JSON file current.json; JSON file repos.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Estate Audit Test - File: spiders/codex/build-plan/estate-audit.test.py (Python, 27 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/codex/build-plan/estate-audit.test.py#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1644.html#f1 - Synopsis: A test in the build plan folder of Spiders. It audits test (`AuditTest`). - What it achieves (name): Defines `AuditTest`, `test_reference_evidence` and `test_prewrite_budget`. - What it does: It tests its inputs. Defines AuditTest, test_reference_evidence, test_prewrite_budget. Uses libraries importlib.util, pathlib, tempfile, unittest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file small.json; JSON file large.json. - Downstream impact: Used directly by 1 file: Estate Audit Workflow (spiders). - Signatures: `class AuditTest`; `test_reference_evidence(self)`; `test_prewrite_budget(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file small.json; JSON file large.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Viewer Browser - File: spiders/codex/build-plan/viewer.browser.mjs (JavaScript, 25 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/codex/build-plan/viewer.browser.mjs#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1644.html#f2 - Synopsis: A JavaScript module in the build plan folder of Spiders. - What it achieves (name): Defines `arg`. - What it does: It fetches data. Defines arg. Uses libraries node:fs/promises, node:path, node:assert/strict, node:url. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file nodes.json; command-line arguments. Out: JSON file results.json. - Signatures: `arg(name)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file nodes.json; command-line arguments]; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Viewer - File: spiders/codex/build-plan/viewer.mjs (JavaScript, 25 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/codex/build-plan/viewer.mjs#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1644.html#f3 - Synopsis: A JavaScript module in the build plan folder of Spiders that draws master plan, using SHA-256. It is built from the SVG step (`svg`) and the draw step (`draw`). - What it achieves (name): Defines `canonical`, `hash`, `read` and 2 more. It responds to change events. - What it does: It draws master plan. Defines 6 functions or classes, including $, canonical, hash, read, svg. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: GeoJSON file master-plan.geojson; JSON file nodes.json; JSON file edges.json. Out: SVG drawing. - Signatures: `$(id)`; `canonical(x)`; `hash(x)`; `read(url)`; `svg(name,attrs,text)`; `draw()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file master-plan.geojson; JSON file nodes.json; JSON file edges.json]; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Campaign - File: spiders/codex/reload/plan-tracker/campaign.py (Python, 97 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/codex/reload/plan-tracker/campaign.py#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/1644.html#f4 - Synopsis: A Python command-line tool in the plan tracker folder of Spiders that fetches checkpoint, using SHA-256 from GitHub API. - What it achieves (comment): It is built from the sha step (`sha`), the validate step (`validate`) and the check step (`check`). Validate the five-version ledger and observe publication CI without dispatching it. It accepts `--ledger`, `--evidence-root` and `--out`. - What it does: It fetches checkpoint. Defines sha, validate, check, main. Uses libraries argparse, datetime, hashlib, json, re. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; JSON file -checkpoint.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha(path)`; `validate(ledger, root)`; `check(ok, message)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file -checkpoint.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Observe CI - File: spiders/codex/reload/plan-tracker/observe_ci.py (Python, 54 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/codex/reload/plan-tracker/observe_ci.py#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1644.html#f5 - Synopsis: A Python command-line tool in the plan tracker folder of Spiders that fetches plan and CI context from GitHub API. - What it achieves (comment): It is built from the fetch step (`fetch`) and the inspect step (`inspect`). Read exact public GitHub Actions runs; never dispatch, rerun or promote a release. It accepts `--plan` and `--out`. - What it does: It fetches plan and CI context. Defines fetch, inspect, main. Uses libraries argparse, concurrent.futures, datetime, json, urllib.request. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`observe_ci.py` uses public read-only GitHub REST." - Inputs & outputs: In: data source: GitHub API; JSON file plan.json; command-line arguments. Out: JSON file ci-context.json. - Downstream impact: Used directly by 1 file: Build Context Workflow (spiders). - Signatures: `fetch(url)`; `inspect(target)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file plan.json; command-line arguments]; out [JSON file ci-context.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Campaign - File: spiders/codex/reload/plan-tracker/test_campaign.py (Python, 41 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/codex/reload/plan-tracker/test_campaign.py#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1644.html#f6 - Synopsis: A test in the plan tracker folder of Spiders that uses SHA-256. It sets up (`setUp`) and is built from the campaign receipts class (`CampaignReceipts`). - What it achieves (name): Defines `CampaignReceipts`, `setUp`, `test_empty_slots_are_pending_not_accepted` and 1 more. - What it does: It tests its inputs. Defines CampaignReceipts, setUp, test_empty_slots_are_pending_not_accepted, test_same_generation_wrong_engine_proof_rejected. Uses libraries copy, importlib.util, tempfile, unittest, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file proof.json. - Downstream impact: Used directly by 1 file: Build Context Workflow (spiders). - Signatures: `class CampaignReceipts`; `setUp(self)`; `test_empty_slots_are_pending_not_accepted(self)`; `test_same_generation_wrong_engine_proof_rejected(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file proof.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Roadmap - File: spiders/codex/reload/plan-tracker/test_roadmap.py (Python, 31 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/codex/reload/plan-tracker/test_roadmap.py#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/1644.html#f7 - Synopsis: A test in the plan tracker folder of Spiders that checks Validate Roadmap. It sets up (`setUp`) and is built from the roadmap proof class (`RoadmapProof`). - What it achieves (name): Defines `RoadmapProof`, `setUp`, `test_real_queue_and_duplicate` and 2 more. - What it does: It tests its inputs. Defines RoadmapProof, setUp, test_real_queue_and_duplicate, test_cycle_cannot_be_scheduled, test_roadmap_cannot_invent_completion_or_receipts. Uses libraries copy, json, pathlib, unittest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file NEXT-50.json. - Downstream impact: Used directly by 1 file: Build Context Workflow (spiders). - Signatures: `class RoadmapProof`; `setUp(self)`; `test_real_queue_and_duplicate(self)`; `test_cycle_cannot_be_scheduled(self)`; `test_roadmap_cannot_invent_completion_or_receipts(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file NEXT-50.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Test Validate - File: spiders/codex/reload/plan-tracker/test_validate.py (Python, 88 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/codex/reload/plan-tracker/test_validate.py#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/1644.html#f8 - Synopsis: A test in the plan tracker folder of Spiders that uses SHA-256. It sets up (`setUp`) and is built from the checkpoint proofs class (`CheckpointProofs`). - What it achieves (name): Defines `CheckpointProofs`, `setUp`, `save_proof` and 8 more. - What it does: It tests its inputs. Defines 11 functions or classes, including CheckpointProofs, setUp, save_proof, test_completed_without_proof_fails, test_wrong_release_fails_even_with_correct_hash. Uses libraries copy, hashlib, importlib.util, json, tempfile. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file actual-test.json; JSON file proof.json; JSON file outside.json. Out: JSON file actual-test.json. - Downstream impact: Used directly by 1 file: Build Context Workflow (spiders). - Signatures: `class CheckpointProofs`; `setUp(self)`; `save_proof(self)`; `test_completed_without_proof_fails(self)`; `test_wrong_release_fails_even_with_correct_hash(self)`; `test_valid_receipt_then_underlying_tamper(self)`; `test_claim_and_incomplete_dependency_cannot_complete(self)`; `test_cycle_and_escaping_path_fail(self)`; `test_completion_not_validated_without_offline_evidence(self)`; `test_wrong_owning_commit_rejected(self)`; `test_wrong_environment_rejected(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file actual-test.json; JSON file proof.json; JSON file outside.json]; out [JSON file actual-test.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Validate - File: spiders/codex/reload/plan-tracker/validate.py (Python, 156 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/codex/reload/plan-tracker/validate.py#L1-L156 - Page: https://code.globalgrid2050.com/explore-code/s/1644.html#f9 - Synopsis: A Python command-line tool in the plan tracker folder of Spiders that reads plan and validation, using SHA-256. - What it achieves (comment): It is built from the digest step (`digest`), the beneath step (`beneath`) and the validate step (`validate`). Validate resumable build checkpoints. Receipt integrity is not product certification. It accepts `--plan`, `--evidence-root` and `--out`. - What it does: It loads plan and validation. Defines 6 functions or classes, including digest, beneath, validate, require, visit. Uses libraries argparse, hashlib, json, re, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file plan.json; JSON file NEXT-50.json; command-line arguments. Out: JSON file validation.json. - Downstream impact: Used directly by 1 file: Build Context Workflow (spiders). - Signatures: `digest(path)`; `beneath(root, relative)`; `validate(plan, root=None)`; `require(condition, message)`; `visit(task_id, stack)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file plan.json; JSON file NEXT-50.json; command-line arguments]; out [JSON file validation.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Validate Roadmap - File: spiders/codex/reload/plan-tracker/validate_roadmap.py (Python, 47 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/codex/reload/plan-tracker/validate_roadmap.py#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1644.html#f10 - Synopsis: A Python command-line tool in the plan tracker folder of Spiders that checks the next fifty work items; linked receipts are pointers, not acceptance, using SHA-256. - What it achieves (name): Its name says it validates roadmap. Defines `validate` and `visit`. - What it does: Defines validate, visit. Uses libraries json, re, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file NEXT-50.json. - Downstream impact: Used directly by 3 files: Test Roadmap (spiders); Validate (spiders); Build Context Workflow (spiders). - Signatures: `validate(data)`; `visit(key)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file NEXT-50.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Reload - File: spiders/codex/reload/reload.py (Python, 203 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/codex/reload/reload.py#L1-L203 - Page: https://code.globalgrid2050.com/explore-code/s/1645.html#f1 - Synopsis: A Python command-line tool in the codex folder of Spiders that fetches owners and delta, using SHA-256 from GitHub API. - What it achieves (comment): It is built from the digest step (`digest`), the git step (`git`) and the origin identity helper (`origin_identity`). Read-only estate observer. Writes only to an explicitly supplied offline output. It accepts `--home`, `--owners` and `--evidence`. - What it does: It fetches owners and delta. Defines 8 functions or classes, including digest, git, origin_identity, inspect, compare. Uses libraries pathlib, argparse, concurrent.futures, datetime, hashlib. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API; JSON file current.json; JSON file release.json; JSON file owners.json; JSON file snapshot.json; JSON file delta.json; command-line arguments. - Downstream impact: Used directly by 1 file: Test Reload (spiders). Reached from 1 other entry point, including Build Context Workflow (spiders). - Signatures: `digest(data)`; `git(root, *args)`; `origin_identity(remote)`; `inspect(entry, home)`; `compare(previous, current)`; `evidence_inventory(root, output)`; `ci(repo)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file current.json; JSON file release.json; JSON file owners.json; JSON file snapshot.json; JSON file delta.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Test Reload - File: spiders/codex/reload/test_reload.py (Python, 86 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/codex/reload/test_reload.py#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/1645.html#f2 - Synopsis: A test in the codex folder of Spiders that checks Reload. It is built from the reload proof class (`ReloadProof`). - What it achieves (comment): Negative controls: wrong/missing checkouts and changes must stay visible. - What it does: It tests its inputs. Defines 7 functions or classes, including ReloadProof, test_checkout_and_uncommitted_anchor_drift, test_origin_identity_includes_host_and_owner, test_missing_repository_is_an_error, test_partial_evidence_changes_are_detected. Uses libraries importlib.util, json, pathlib, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file handover.json; JSON file old.json; JSON file new.json. Out: JSON file prior.json. - Downstream impact: Used directly by 1 file: Build Context Workflow (spiders). - Signatures: `class ReloadProof`; `test_checkout_and_uncommitted_anchor_drift(self)`; `test_origin_identity_includes_host_and_owner(self)`; `test_missing_repository_is_an_error(self)`; `test_partial_evidence_changes_are_detected(self)`; `test_evidence_is_not_executed_or_copied(self)`; `test_output_outside_evidence_is_rejected(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file handover.json; JSON file old.json; JSON file new.json]; out [JSON file prior.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Spiders — Index Page - File: spiders/index.html (HTML, 38 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/index.html#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1645.html#f3 - Published at: https://ventusltd.github.io/spiders/ - Synopsis: A web page using data from the stars and kuiper-belt repositories. Published at https://ventusltd.github.io/spiders/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 13 files: Pilot (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/); Registry of All Content in Repos and Dependencies — Index Page (registry_of_all_content_in_repos_and_dependencies, https://ventusltd.github.io/registry_of_all_content_in_repos_and_dependencies/); Species — Federation Spider Page (spiders, https://ventusltd.github.io/spiders/species/federation-spider/); Pilot (globalgrid2050); and 9 more. Reached from 259 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://ventusltd.github.io/spiders/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 6 estate files (link 6); used by 13; mentioned by 0 ### Root Index — V Page - File: spiders/site_versions/root_index/v20260704/index.html (HTML, 33 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/site_versions/root_index/v20260704/index.html#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1645.html#f4 - Published at: https://ventusltd.github.io/spiders/site_versions/root_index/v20260704/ - Synopsis: A web page in the site versions folder of Spiders. Published at https://ventusltd.github.io/spiders/site_versions/root_index/v20260704/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Spiders — Index Page (spiders, https://ventusltd.github.io/spiders/). Reached from 271 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://ventusltd.github.io/spiders/site_versions/root_index/v20260704/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 1; mentioned by 0 ### Species — Estate Activity - File: spiders/species/estate-activity/app.mjs (JavaScript, 192 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/estate-activity/app.mjs#L1-L192 - Page: https://code.globalgrid2050.com/explore-code/s/1645.html#f5 - Published at: https://ventusltd.github.io/spiders/species/estate-activity/ - Synopsis: A JavaScript module in Spiders that joins column (`joinColumn`) and draws SVG graphics. Served with the page at https://ventusltd.github.io/spiders/species/estate-activity/. - What it achieves (comment): It joins column (`joinColumn`) and is built from the safe link helper (`safeLink`) and the link step (`link`). Public, read-only chart. Never interpret agent tags as proof of running processes. It reads `./data/activity.json`. - What it does: It draws its content. Defines 15 functions or classes, including $, safeLink, el, link, shortSha. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file activity.json. Out: SVG drawing. - Downstream impact: Used directly by 2 files: Species — Estate Activity Page (spiders, https://ventusltd.github.io/spiders/species/estate-activity/); Estate Activity Workflow (spiders). Reached from 272 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://ventusltd.github.io/spiders/species/estate-activity/. - Signatures: `$(id)`; `safeLink(url)`; `el(tag, text, css)`; `link(text, href, css)`; `shortSha(sha)`; `utc(value)`; `noData(root, message)`; `metrics(data)`; `spark(values,days)`; `chart(data)`; `items(rootId,rows,kind)`; `title(r.draft?'Draft ':'')`; `joinColumn(root,title,sourceUrl,comparisons)`; `joins(data)`; `routes(data)`; `load()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file activity.json]; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Species — Estate Activity Page - File: spiders/species/estate-activity/index.html (HTML, 91 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/estate-activity/index.html#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/1645.html#f6 - Published at: https://ventusltd.github.io/spiders/species/estate-activity/ - Synopsis: A web page in Spiders using data from the stars, ventus-grid-engine and kuiper-belt repositories. Published at https://ventusltd.github.io/spiders/species/estate-activity/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Spiders — Index Page (spiders, https://ventusltd.github.io/spiders/). Reached from 271 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://ventusltd.github.io/spiders/species/estate-activity/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (link 4, script-src 1); used by 1; mentioned by 0 ### Build - File: spiders/species/estate-activity/tools/build.mjs (JavaScript, 292 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/estate-activity/tools/build.mjs#L1-L292 - Page: https://code.globalgrid2050.com/explore-code/s/1646.html#f1 - Synopsis: A JavaScript module in the tools folder of Spiders that reads activity, using SHA-256 from GitHub API and the ventus-grid-engine repository. - What it achieves (comment): It summarizes commits (`summarizeCommits`), parses standing (`parseStanding`) and compares pinned (`comparePinned`). Estate Activity Spider: read-only observation of GitHub; no external repository writes. - What it does: It loads activity. Defines 18 functions or classes, including isoDay, dayLabels, summarizeCommits, parseStanding, comparePinned. Uses libraries node:fs/promises, node:crypto, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "For a manual live crawl, set a read-only GITHUB_TOKEN and run the build.mjs script." - Inputs & outputs: In: data source: ventus-grid-engine data; data source: GitHub API; JSON file source.json; JSON file config.json; JSON file activity.json; command-line arguments. - Downstream impact: Used directly by 2 files: Build Test (spiders); Estate Activity Workflow (spiders). - Signatures: `export isoDay(value)`; `export dayLabels(now, count = 7)`; `export summarizeCommits(name, commits, days, capReached = false)`; `export parseStanding(tsv)`; `export comparePinned(repos, pins)`; `export deriveRegistry(manifest)`; `export crawlRepo(name, labels, pages, token, fetcher = fetch)`; `export assessCvaaAudit(pr, runs)`; `export verifyVaccineLock(lock, fileName, bytes)`; `export collect(config, token, now = new Date(), fetcher = fetch)`; `export main()`; `githubHeaders(token)`; `request(url, token, fetcher = fetch)`; `api(route, token, fetcher = fetch)`; `raw(name, commit, file, token, fetcher = fetch)`; `isoMax(values)`; `pinnedSha(name)`; `facts(value)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: GitHub API; JSON file source.json; JSON file config.json; JSON file activity.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Build Test - File: spiders/species/estate-activity/tools/build.test.mjs (JavaScript, 168 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/estate-activity/tools/build.test.mjs#L1-L168 - Page: https://code.globalgrid2050.com/explore-code/s/1646.html#f2 - Synopsis: A test in the tools folder of Spiders that checks Build using data from GitHub API and the stars repository. It is built from the fake fetch helper (`fakeFetch`). - What it achieves (name): Its name says it builds test. Defines `fakeFetch`. - What it does: It tests its inputs. Defines fakeFetch. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file graph.json; JSON file nodes.json; JSON file source.json. - Downstream impact: Used directly by 1 file: Estate Activity Workflow (spiders). - Signatures: `fakeFetch(url)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file graph.json; JSON file nodes.json; JSON file source.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Genome Proof - File: spiders/species/genome-spider/genome.proof.mjs (JavaScript, 160 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/genome-spider/genome.proof.mjs#L1-L160 - Page: https://code.globalgrid2050.com/explore-code/s/1646.html#f3 - Synopsis: A JavaScript module in the genome spider folder of Spiders that reads GridAtlas lineage and substations, using SHA-256. - What it achieves (comment): Reads a `genome.json` (default: `./data/genome.json`, the output of a real run against the estate) and checks plain-English sentences about it. - What it does: It loads GridAtlas lineage and substations. Defines ok, gt. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: substations. README: "`genome.proof.mjs` does not gate on this uncertainty — it's recorded in `dead_code[].reason` verbatim." - Inputs & outputs: In: JSON file genome.json; JSON file gridatlas-lineage.json; command-line arguments. - Signatures: `ok(name, pass, detail = '')`; `gt(name, pass, detail)`; `lEdgesNoEvidence(lineage.edges || [])`; `lDangling(lineage.edges || [])` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file genome.json; JSON file gridatlas-lineage.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Classify - File: spiders/species/genome-spider/lib/classify.mjs (JavaScript, 95 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/genome-spider/lib/classify.mjs#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/1647.html#f1 - Synopsis: A JavaScript module in the genome spider folder of Spiders that strips timestamp (`stripTimestamp`). - What it achieves (comment): It classifies path (`classifyPath`) and is built from the strip timestamp helper (`stripTimestamp`) and the logical group key helper (`logicalGroupKey`). Turns a repo-relative path into a genome node "kind" and a "logical name" (the filename with its leading generation timestamp, if any, stripped off). - What it does: It calculates its inputs. Defines classifyPath, stripTimestamp, logicalGroupKey, pathIsSkipped. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "Content is only read — for imports, JSON provenance, functions and constants — from files under a curated set of directory/ filename conventions (`modules/`, `parts/`, `cartridges/`, `manifests/`, `proofs/`, `test/`, `engine/`, `src/`, `sources/`, `data/`, `scripts/`, `tools/`, `.github/workflows/`, plus `*.proof.mjs` and `index.html` wherever they live) — see `lib/classify.mjs`." - Downstream impact: Used directly by 2 files: Edges (spiders); Spider (spiders). - Signatures: `export classifyPath(relPath)`; `export stripTimestamp(basename)`; `export logicalGroupKey(relPath)`; `export pathIsSkipped(relPath)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Edges - File: spiders/species/genome-spider/lib/edges.mjs (JavaScript, 224 lines) · role ingest · stage ingest - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/genome-spider/lib/edges.mjs#L1-L224 - Page: https://code.globalgrid2050.com/explore-code/s/1647.html#f2 - Synopsis: A JavaScript module in the genome spider folder of Spiders that uses SHA-256 using data from ... - What it achieves (comment): It resolves within repo (`resolveWithinRepo`) and is built from the line of helper (`lineOf`) and the snippet step (`snippet`). Evidenced, real dependency detection. Every edge this module returns carries the file and the pattern that produced it, because an unevidenced edge in a dependency map is worse than a missing one (that rule is enforced again, mechanically, by genome.proof.mjs). - What it does: It fetches data. Defines 9 functions or classes, including lineOf, snippet, resolveWithinRepo, importEdges, fetchEdges. Uses libraries node:path. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: ...; JSON file modules.json. - Downstream impact: Used directly by 1 file: Spider (spiders). - Signatures: `export importEdges(relPath, text, trackedSet)`; `export fetchEdges(relPath, text, owner, knownRepoNames)`; `export workflowUsesEdges(relPath, text)`; `export jsonProvenanceEdges(relPath, jsonText, trackedSet, knownRepoNames)`; `export isTextFile(relPath)`; `lineOf(text, index)`; `snippet(text, index)`; `resolveWithinRepo(fromRelDir, specifier, trackedSet)`; `walk(node, pointer)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ...; JSON file modules.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 1 ### Git - File: spiders/species/genome-spider/lib/git.mjs (JavaScript, 107 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/genome-spider/lib/git.mjs#L1-L107 - Page: https://code.globalgrid2050.com/explore-code/s/1647.html#f3 - Synopsis: A JavaScript module in the genome spider folder of Spiders that resolves repo root (`resolveRepoRoot`). - What it achieves (comment): It resolves repo root (`resolveRepoRoot`) and is built from the run step (`run`) and the is git repo helper (`isGitRepo`). Thin, evidenced wrapper over the git CLI. - What it does: It lists and searches its content. Defines 8 functions or classes, including run, isGitRepo, repoStats, lsFiles, topRevisedFiles. Uses libraries node:child_process, node:path. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 2 files: Lineage (spiders); Spider (spiders). - Signatures: `export isGitRepo(dir)`; `export repoStats(dir)`; `export lsFiles(dir)`; `export topRevisedFiles(dir, limit = 8)`; `export fileLastCommit(dir, relPath)`; `export fileHistory(dir, relPath)`; `export resolveRepoRoot(baseDir, relPath)`; `run(cwd, args)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Markers - File: spiders/species/genome-spider/lib/markers.mjs (JavaScript, 151 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/genome-spider/lib/markers.mjs#L1-L151 - Page: https://code.globalgrid2050.com/explore-code/s/1647.html#f4 - Synopsis: A JavaScript module in the genome spider folder of Spiders that finds next top level (`findNextTopLevel`), normalizes body (`normalizeBody`) and extracts functions (`extractFunctions`), using SHA-256 and haversine. - What it achieves (comment): It finds next top level (`findNextTopLevel`), normalizes body (`normalizeBody`) and extracts functions (`extractFunctions`). Balance-match a `brace/paren/bracket` starting at text[`startIdx`] (which must be the opening char), skipping over string/template literals and comments so braces inside a quoted string don't unbalance the scan. - What it does: It calculates its inputs. Defines 8 functions or classes, including balanceFrom, findNextTopLevel, normalizeBody, hashOf, lineOf. Uses libraries node:crypto. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Spider (spiders). - Signatures: `export extractFunctions(text)`; `export extractKnownFamilyHits(text)`; `export extractNamedConstants(text)`; `balanceFrom(text, startIdx, open, close)`; `findNextTopLevel(text, fromIdx, ch, stopChars)`; `normalizeBody(body)`; `hashOf(s)`; `lineOf(text, index)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Schema - File: spiders/species/genome-spider/lib/schema.mjs (JavaScript, 100 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/genome-spider/lib/schema.mjs#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/1647.html#f5 - Synopsis: A JavaScript module in the genome spider folder of Spiders that builds nodes doc (`buildNodesDoc`) and edges doc (`buildEdgesDoc`) and builds manifest doc (`buildManifestDoc`). - What it achieves (comment): It builds nodes doc (`buildNodesDoc`), builds edges doc (`buildEdgesDoc`) and builds manifest doc (`buildManifestDoc`). Shapes genome-spider's internal node/edge arrays into the exact data files the Spider Sandbox already knows how to load. - What it does: It calculates its inputs. Defines coordFor, buildNodesDoc, buildEdgesDoc, buildManifestDoc. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "This shape is built in `lib/schema.mjs`, which repeats these same citations next to the code that acts on them." - Inputs & outputs: In: JSON file nodes.json; JSON file edges.json. - Downstream impact: Used directly by 1 file: Spider (spiders). - Signatures: `export buildNodesDoc(genomeNodes)`; `export buildEdgesDoc(genomeNodes, genomeEdges)`; `export buildManifestDoc({ generatedAt, nodeCount, edgeCount })`; `coordFor(i, n)`; `angle(2 * Math.PI * i)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file nodes.json; JSON file edges.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Lineage - File: spiders/species/genome-spider/lineage.mjs (JavaScript, 263 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/genome-spider/lineage.mjs#L1-L263 - Page: https://code.globalgrid2050.com/explore-code/s/1648.html#f1 - Synopsis: A JavaScript module in the genome spider folder of Spiders that reads GridAtlas lineage and repos, using SHA-256. It parses args (`parseArgs`), reads JSON (`readJSON`) and adds node (`addNode`). - What it achieves (readme): The README says: `lineage.mjs` targets that contract directly: `data/gridatlas-lineage.json` is a single file, `{nodes: [...], edges: [...]}`, id-referenced. - What it does: It loads GridAtlas lineage and repos. Defines 6 functions or classes, including parseArgs, sha256, readJSON, ghUrl, addNode. Uses libraries node:fs, node:path, node:crypto, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`lineage.mjs` targets that contract directly: `data/gridatlas-lineage.json` is a single file, `{nodes: [...], edges: [...]}`, id-referenced." - Inputs & outputs: In: JSON file gridatlas-lineage.json; JSON file repos.json; command-line arguments. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `parseArgs(argv)`; `sha256(text)`; `readJSON(relPath)`; `ghUrl(relPath)`; `addNode(n)`; `addEdge(from, to, type, evidence)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file gridatlas-lineage.json; JSON file repos.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Make Receipt - File: spiders/species/genome-spider/make-receipt.mjs (JavaScript, 91 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/genome-spider/make-receipt.mjs#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/1648.html#f2 - Synopsis: A JavaScript module in the genome spider folder of Spiders that reads genome. It parses args (`parseArgs`). - What it achieves (name): Its name says it makes receipt. Defines `parseArgs`. - What it does: It loads genome. Defines parseArgs. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file genome.json; JSON file LATEST.json; command-line arguments. Out: JSON file LATEST.json. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `parseArgs(argv)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file genome.json; JSON file LATEST.json; command-line arguments]; out [JSON file LATEST.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Spider - File: spiders/species/genome-spider/spider.mjs (JavaScript, 565 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/genome-spider/spider.mjs#L1-L565 - Page: https://code.globalgrid2050.com/explore-code/s/1649.html#f1 - Synopsis: A JavaScript module in the genome spider folder of Spiders that reads repos, genome and master plan, using SHA-256. It parses args (`parseArgs`), adds node (`addNode`) and adds edge (`addEdge`). - What it achieves (readme): The README says: By default `spider.mjs` reads `config/repos.json` for the repo list and the estate owner, and resolves `root` relative to its own directory (three levels up from `spiders/species/genome-spider/` lands on the parent that holds every sibling checkout… - What it does: It loads repos, genome and master plan. Defines 10 functions or classes, including parseArgs, sha256, inferRepoKind, firstParagraph, addNode. Uses libraries node:fs, node:path, node:crypto, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "By default `spider.mjs` reads `config/repos.json` for the repo list and the estate owner, and resolves `root` relative to its own directory (three levels up from `spiders/species/genome-spider/` lands on the parent that holds every sibling checkout — the same layout this machine already uses)." - Inputs & outputs: In: JSON file repos.json; JSON file CURRENT.json; GeoJSON file master-plan.geojson; command-line arguments. Out: JSON file genome.json; JSON file nodes.json; JSON file edges.json. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `parseArgs(argv)`; `sha256(text)`; `inferRepoKind(name)`; `firstParagraph(readmeText)`; `addNode(n)`; `addEdge(from, to, type, evidence, extra = {})`; `ensureUnitNode(repoId, repoDir, repoName, relPath)`; `externalNodeId(specifier)`; `ensureExternalNode(specifier)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file repos.json; JSON file CURRENT.json; GeoJSON file master-plan.geojson; command-line arguments]; out [JSON file genome.json; JSON file nodes.json; JSON file edges.json]; crs []; voltages [] - Edges: uses 5 estate files (import 5); used by 0; mentioned by 0 ### Demo with Host Bar - File: spiders/species/seer-spider/estate-menu/demo-with-host-bar.html (HTML, 48 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/seer-spider/estate-menu/demo-with-host-bar.html#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/1649.html#f2 - Published at: https://ventusltd.github.io/spiders/species/seer-spider/estate-menu/demo-with-host-bar.html - Synopsis: A web page in the estate menu folder of Spiders. Published at https://ventusltd.github.io/spiders/species/seer-spider/estate-menu/demo-with-host-bar.html. - What it achieves (comment): Estate menu — demo (fake host bar). It responds to load events. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`demo-with-host-bar.html` — fakes a `#gridatlas-menu-bar` element and proves `mount()` refuses to render a second bar." - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/spiders/species/seer-spider/estate-menu/demo-with-host-bar.html. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 0; mentioned by 0 ### Demo - File: spiders/species/seer-spider/estate-menu/demo.html (HTML, 41 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/seer-spider/estate-menu/demo.html#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1649.html#f3 - Published at: https://ventusltd.github.io/spiders/species/seer-spider/estate-menu/demo.html - Synopsis: A web page in the estate menu folder of Spiders. Published at https://ventusltd.github.io/spiders/species/seer-spider/estate-menu/demo.html. - What it achieves (comment): Estate menu — demo (no host bar). It responds to load events. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`demo.html` — mounts the bar on a blank page (no host bar present)." - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/spiders/species/seer-spider/estate-menu/demo.html. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 0; mentioned by 0 ### Estate Menu - File: spiders/species/seer-spider/estate-menu/estate-menu.js (JavaScript, 942 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/seer-spider/estate-menu/estate-menu.js#L1-L942 - Page: https://code.globalgrid2050.com/explore-code/s/1650.html#f1 - Synopsis: A JavaScript file in the seer spider folder of Spiders covering cables and uses data from the GridAtlas, data-federation-map-for-GlobalGrid2050-all-repos and Ventus Grid Engine repositories. - What it achieves (comment): It cleans text (`cleanText`), sorts label (`sortByLabel`) and normalises URL (`normaliseUrl`). VENTUS Estate Menu — shared FILE / EDIT / VIEW / SCOPE / GRID / ABOUT bar. It responds to click, keydown and resize events. - What it does: It draws cables. Defines 41 functions or classes, including array, cleanText, sortByLabel, el, normaliseUrl. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables. README: "One self-contained JavaScript module — `estate-menu.js` — that renders the shared FILE / EDIT / VIEW / SCOPE / GRID / ABOUT menu bar so a human, an AI or a developer can navigate the whole GlobalGrid2050 estate from any page: the homepage, Pipeline News, GridAtlas, the federation map, the grid engine receiver, or the spider species lab." - Inputs & outputs: In: data source: gridatlas data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: ventus-grid-engine data; data source: cvaa data; data source: data-grid-gb data; data source: grid-distance-maths data; data source: pipelinenews data; JSON file current.json. - Downstream impact: Used directly by 9 files: Demo with Host Bar (spiders, https://ventusltd.github.io/spiders/species/seer-spider/estate-menu/demo-with-host-bar.html); Demo (spiders, https://ventusltd.github.io/spiders/species/seer-spider/estate-menu/demo.html); Spider — V1 Click Fix Page (testcode); Spider — V2 Badges Labels Alsoin Page (testcode); and 5 more. Reached from 48 other entry points, including Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/); Grid Engine — Connection Cap Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060212-connection-cap/); Grid Engine — Corridor Estimate Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060237-corridor-estimate/). - Signatures: `NS(window.__VENTUS_ESTATE_MENU__ = window.__VENTUS_ESTATE_MENU__ || {})`; `array(v)`; `cleanText(v)`; `sortByLabel(list)`; `el(tag, className, text)`; `normaliseUrl(u)`; `isCurrentUrl(u)`; `isHttpUrl(u)`; `menuBlock(name)`; `menus(state.manifest && state.manifest.menus)`; `fileEntries()`; `raw(block && block.entries)`; `labelFromUrl(u)`; `editEntries()`; `viewEntries()`; `surfaces((block && block.surfaces) || [])`; `proofs((block && block.proofs) || [])`; `scopeEntries()`; `gridEntries()`; `aboutEntries()`; `entries(menuName)`; `installStyle(doc)`; `buildBrand(doc)`; `openMenu(menu, title, panel)`; `closeAll(focusTitle)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: ventus-grid-engine data; data source: cvaa data; data source: data-grid-gb data; data source: grid-distance-maths data; data source: pipelinenews data; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 13 estate files (estate-url 13); used by 9; mentioned by 0 ### Estate Menu Proof - File: spiders/species/seer-spider/estate-menu/estate-menu.proof.mjs (JavaScript, 436 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/seer-spider/estate-menu/estate-menu.proof.mjs#L1-L436 - Page: https://code.globalgrid2050.com/explore-code/s/1651.html#f2 - Synopsis: A JavaScript module in the seer spider folder of Spiders that reads cables. It loads Playwright (`loadPlaywright`), runs structural checks (`runStructuralChecks`) and labels URL (`labelFromUrl`). - What it achieves (comment): Each check below is a plain-English sentence. - What it does: It loads cables. Defines 16 functions or classes, including loadPlaywright, fileUrl, record, manifestUrlList, withPage. Uses libraries node:url, node:path, node:fs, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables. README: "`estate-menu.proof.mjs` — the automated proof." - Inputs & outputs: In: JSON file estate-menu-manifest.json. - Downstream impact: It is itself an entry point (JavaScript module); no other file was found loading it. - Signatures: `loadPlaywright()`; `fileUrl(p)`; `record(sentence, ok, detail)`; `manifestUrlList()`; `withPage(browser, viewport, url, fn)`; `runStructuralChecks(browser, engineName, viewport)`; `labelFromUrl(u)`; `isAlphabetical(labels)`; `runOrderingAndBrandChecks(browser, engineName, viewport)`; `panelForTitle(name)`; `bucketsOf(panel)`; `expectedSuperseded(MANIFEST.menus.FILE.entries.find((e) => e.label === 'Pipeline News versions').superseded || [])`; `runCurrentSurfaceCheck(browser, engineName)`; `runFederationOverlapCheck(browser, engineName, viewport)`; `screenshotDemoAndPipeline(browser, engineName, viewport)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file estate-menu-manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Species — Seer Spider Page - File: spiders/species/seer-spider/index.html (HTML, 7 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/species/seer-spider/index.html#L1-L7 - Page: https://code.globalgrid2050.com/explore-code/s/1651.html#f3 - Published at: https://ventusltd.github.io/spiders/species/seer-spider/ - Synopsis: A web page in Spiders. Published at https://ventusltd.github.io/spiders/species/seer-spider/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 2 files: Spiders — Index Page (spiders, https://ventusltd.github.io/spiders/); Root Index — V Page (spiders, https://ventusltd.github.io/spiders/site_versions/root_index/v20260704/). Reached from 270 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://ventusltd.github.io/spiders/species/seer-spider/. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 2; mentioned by 0 ### Spider Maya — V1 Page - File: spiders/spider_maya/v1/index.html (HTML, 36 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/spider_maya/v1/index.html#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/1652.html#f1 - Published at: https://ventusltd.github.io/spiders/spider_maya/v1/ - Synopsis: A web page in Spiders covering battery storage (BESS), solar and cables, and uses data from the data-federation-map-for-GlobalGrid2050-all-repos repository. Published at https://ventusltd.github.io/spiders/spider_maya/v1/. - What it achieves (name): It responds to click events. - What it does: It draws battery storage (BESS), solar and cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: battery storage (BESS), solar, cables. - Inputs & outputs: Out: web page; SVG drawing. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/spiders/spider_maya/v1/. - Signatures: `target(n)`; `openNode(id)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 9 estate files (estate-url 9); used by 0; mentioned by 0 ### Scan Areas Menu - File: spiders/spider_maya/v1/scripts/scan_areas_menu.py (Python, 235 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/spider_maya/v1/scripts/scan_areas_menu.py#L1-L235 - Page: https://code.globalgrid2050.com/explore-code/s/1652.html#f2 - Synopsis: A Python command-line tool in the scripts folder of Spiders that fetches sources, using SHA-256 from the GlobalGrid2050 repository. - What it achieves (comment): It fetches text (`fetch_text`), extracts areas block (`extract_areas_block`) and parses areas (`parse_areas`). Build a declared `spider_maya` graph from the GlobalGrid2050 AREAS menu. It writes `nodes.json`. It accepts `--globalgrid-ref` and `--input-html`. - What it does: It fetches sources. Defines 12 functions or classes, including slug, stable_id, fetch_text, source_url, extract_areas_block. Uses libraries __future__, argparse, hashlib, json, re. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: globalgrid2050 data; JSON file sources.json; JSON file nodes.json; JSON file edges.json; command-line arguments. - Downstream impact: Used directly by 1 file: Spider Maya V1 Scan Workflow (spiders). - Signatures: `slug(value: str)`; `stable_id(prefix: str, value: str)`; `fetch_text(url: str)`; `source_url(ref: str)`; `extract_areas_block(html: str)`; `parse_areas(block: str)`; `node(node_id: str, kind: str, node_type: str, label: str, attrs: dict, source: str, run_id: str)`; `edge(edge_id: str, source_id: str, target_id: str, rel: str, source: str, run_id: str)`; `build_graph(areas: list[dict], pages_base_url: str, run_id: str)`; `write_json(path: Path, value)`; `logical_hash(rows: list[dict])`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data; JSON file sources.json; JSON file nodes.json; JSON file edges.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Validate - File: spiders/spider_maya/v1/scripts/validate.py (Python, 103 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/spider_maya/v1/scripts/validate.py#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/1652.html#f3 - Synopsis: A Python command-line tool in the scripts folder of Spiders that reads sources. It validates nodes (`validate_nodes`), validates edges (`validate_edges`) and validates config (`validate_config`). - What it achieves (comment): Validate `spider_maya` v1 graph artefacts. - What it does: It loads sources. Defines 6 functions or classes, including load, assert_unique, validate_nodes, validate_edges, validate_config. Uses libraries __future__, json, sys, collections, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file sources.json; JSON file nodes.json; JSON file edges.json. - Downstream impact: Used directly by 1 file: Spider Maya V1 Scan Workflow (spiders). - Signatures: `load(path: Path)`; `assert_unique(rows: list[dict], field: str, label: str)`; `validate_nodes(nodes: list[dict])`; `validate_edges(edges: list[dict], node_ids: set[str])`; `validate_config()`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file sources.json; JSON file nodes.json; JSON file edges.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Llama Advisory - File: spiders/tools/llama-advisory.mjs (JavaScript, 93 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/tools/llama-advisory.mjs#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/1652.html#f4 - Synopsis: A JavaScript module in the tools folder of Spiders that reads bounded (`readBounded`), using SHA-256. It reads bounded (`readBounded`) and is built from the atomic JSON helper (`atomicJson`). - What it achieves (name): Defines `option`, `readBounded`, `hash` and 1 more. - What it does: It loads data. Defines option, readBounded, hash, atomicJson. Uses libraries node:crypto, node:fs, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Llama Advisory Workflow (spiders). - Signatures: `option(name)`; `readBounded(path, limit)`; `hash(bytes)`; `atomicJson(path, value)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Maya Hunter - File: spiders/tools/maya-hunt/maya-hunter.mjs (JavaScript, 79 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/tools/maya-hunt/maya-hunter.mjs#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/1652.html#f5 - Synopsis: A JavaScript module in the maya hunt folder of Spiders that fetches blocks, reactions, maya cards and solar from the ventus-grid-engine and stars repositories. - What it achieves (comment): It is built from the now step (`now`), the get step (`get`) and the block of helper (`blockOf`). Hunt every dead end (leaf node) across all registered Spider graphs and assign each a Maya card that explains its function, purpose, relationships and reason for existing. It writes `/maya-cards.json`. - What it does: It fetches blocks, reactions, maya cards and solar. Defines now, get, blockOf, compatOf. Uses libraries node:fs. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar. README: "`maya-hunter.mjs` (read-only, no network writes) reads the VENTUS GRID ENGINE manifest (https://ventusltd.github.io/ventus-grid-engine/spider/manifest.json) and every registered graph, finds every leaf (out-degree 0), and writes `data/maya-cards.json`: for each dead end, its function, purpose, relationships and reason for existing, plus a next click (its periodic-table block, its source, or back to its parent)." - Inputs & outputs: In: data source: ventus-grid-engine data; data source: stars data; JSON file blocks.json; JSON file reactions.json; command-line arguments. Out: JSON file maya-cards.json. - Downstream impact: Used directly by 1 file: Maya Hunt Workflow (spiders). - Signatures: `now()`; `get(u)`; `blockOf(label)`; `compatOf(sym)`; `edges(raw.edges || raw.links || [])` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: stars data; JSON file blocks.json; JSON file reactions.json; command-line arguments]; out [JSON file maya-cards.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Test Cloud Workflows - File: spiders/tools/test-cloud-workflows.mjs (JavaScript, 63 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/tools/test-cloud-workflows.mjs#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/1652.html#f6 - Synopsis: A JavaScript module in the tools folder of Spiders that works with no patch operands (`noPatchOperands`) and pinned actions (`pinnedActions`). - What it achieves (name): It is built from the no patch operands helper (`noPatchOperands`) and the pinned actions helper (`pinnedActions`). Defines `read`, `assert`, `noPatchOperands` and 1 more. - What it does: It tests its inputs. Defines read, assert, noPatchOperands, pinnedActions. Uses libraries node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 3 files: 60x Program Proof Workflow (spiders); Estate Survey Workflow (spiders); Llama Advisory Workflow (spiders). - Signatures: `read(file)`; `assert(condition, message)`; `noPatchOperands(text, file)`; `pinnedActions(text, file)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Validate 60x Program - File: spiders/tools/validate-60x-program.mjs (JavaScript, 94 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/tools/validate-60x-program.mjs#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/1653.html#f1 - Synopsis: A JavaScript module in the tools folder of Spiders that uses SHA-256. It is built from the value after helper (`valueAfter`). - What it achieves (name): Its name says it validates 60x program. Defines `valueAfter` and `oid`. - What it does: It loads data. Defines valueAfter, oid. Uses libraries node:crypto, node:fs, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file 20260904-60x-program.json; command-line arguments. - Downstream impact: Used directly by 2 files: 60x Program Proof Workflow (spiders); Llama Advisory Workflow (spiders). - Signatures: `valueAfter(flag)`; `oid(value)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file 20260904-60x-program.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Demo - File: teleprinter/demo.html (HTML, 100 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/demo.html#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/1653.html#f2 - Synopsis: A web page in Teleprinter that renders with WebGL. - What it achieves (name): Defines `say` and `run`. - What it does: It draws its content. Defines say, run. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'teleprinter'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: web page; WebGL/WebGPU drawing. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `say(text)`; `run(options, label)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Codex App Outcomes - File: teleprinter/drivers/codex/app-outcomes.mjs (JavaScript, 56 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/app-outcomes.mjs#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1653.html#f3 - Synopsis: A JavaScript module in the drivers folder of Teleprinter. - What it achieves (comment): Historical launcher check for . New menu-only builds use `file-print-compatibility.mjs` and `fifty-prints.mjs`. - What it does: Uses libraries node:url, node:fs/promises, node:path, node:assert/strict, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`drivers/codex/app-outcomes.json` records nine additional Pipeline/Atlas/Test Code checks in Chrome, Firefox and mobile WebKit emulation." - Inputs & outputs: In: command-line arguments. Out: JSON file app-outcomes.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file app-outcomes.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Codex App Print Browser - File: teleprinter/drivers/codex/app-print.browser.mjs (JavaScript, 40 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/app-print.browser.mjs#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1653.html#f4 - Synopsis: A JavaScript module in the drivers folder of Teleprinter. - What it achieves (name): It responds to teleprint events. - What it does: It loads data. Uses libraries node:fs/promises, node:path, node:url, node:assert/strict. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file results.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file results.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Codex Audit Runtime Source - File: teleprinter/drivers/codex/audit-runtime-source.py (Python, 123 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/audit-runtime-source.py#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/1653.html#f5 - Synopsis: A Python command-line tool in the drivers folder of Teleprinter that uses SHA-256. It is built from the digest step (`digest`), the frame step (`frame`) and the inspect step (`inspect`). - What it achieves (comment): Offline verification of original Codex source TXT frames and JS/JSON syntax. It accepts `--report`, `--repo` and `--no-extract`. - What it does: It lists and searches its content. Defines digest, main, frame, inspect. Uses libraries argparse, base64, concurrent.futures, hashlib, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file audit.json. - Downstream impact: Used directly by 1 file: Codex Offline Source Batch (teleprinter). - Signatures: `digest(data)`; `main()`; `frame(prefix, suffix, count, expected, encoding="utf-8")`; `inspect(item)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file audit.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Codex Audit Source Print - File: teleprinter/drivers/codex/audit-source-print.py (Python, 87 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/audit-source-print.py#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/1653.html#f6 - Synopsis: A Python command-line tool in the drivers folder of Teleprinter that uses SHA-256. It is built from the inspect step (`inspect`). - What it achieves (comment): Offline structural audit of a source-print PDF; never executes extracted code. It accepts `--report`. - What it does: It lists and searches its content. Defines inspect, main. Uses libraries pathlib, argparse, datetime, hashlib, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file audit.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `inspect(filename, output)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file audit.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Codex Capture Geometry Test - File: teleprinter/drivers/codex/capture-geometry.test.mjs (JavaScript, 20 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/capture-geometry.test.mjs#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1653.html#f7 - Synopsis: A test in the drivers folder of Teleprinter that checks Capture Geometry. - What it does: It tests its inputs. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Codex Cartridge Outcomes Browser - File: teleprinter/drivers/codex/cartridge-outcomes.browser.mjs (JavaScript, 297 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/cartridge-outcomes.browser.mjs#L1-L297 - Page: https://code.globalgrid2050.com/explore-code/s/1654.html#f1 - Synopsis: A JavaScript module in the drivers folder of Teleprinter that draws tool layers, using SHA-256. - What it achieves (comment): It is built from the states step (`states`), the state step (`state`) and the ready step (`ready`). Actual installed-Chrome UI proof for the extracted controls. - What it does: It draws tool layers. Defines states, state, ready. Uses libraries node:fs/promises, node:path, node:url, node:assert/strict. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file release.json; JSON file tool-layers.json; JSON file derived-latest.json; JSON file style.json; command-line arguments. Out: JSON file results.json; canvas drawing. - Signatures: `states()`; `state()`; `ready()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release.json; JSON file tool-layers.json; JSON file derived-latest.json; JSON file style.json; command-line arguments]; out [JSON file results.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Codex Compact Campaign Report - File: teleprinter/drivers/codex/compact-campaign-report.py (Python, 21 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/compact-campaign-report.py#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1654.html#f2 - Synopsis: A Python module in the drivers folder of Teleprinter covering campaign results, using SHA-256. - What it achieves (comment): Publish small measured findings while preserving the full receipt offline. - What it does: Uses libraries pathlib, hashlib, json, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file campaign-results.json; command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file campaign-results.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Codex Demo - File: teleprinter/drivers/codex/demo.html (HTML, 42 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/demo.html#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1654.html#f3 - Synopsis: A web page in the drivers folder of Teleprinter that renders with WebGL and reads inputs for layer and screenshot. It is built from the draw step (`draw`). - What it achieves (comment): Print and Print source code. It responds to change, resize and click events. - What it does: It draws its content. Defines draw. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file source-code.manifest.json; user-supplied file (file picker); form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `draw()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file source-code.manifest.json; user-supplied file (file picker); form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Codex Design Freeze Publish - File: teleprinter/drivers/codex/design-freeze-publish.mjs (JavaScript, 153 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/design-freeze-publish.mjs#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/1654.html#f4 - Synopsis: A JavaScript module in the drivers folder of Teleprinter that prepares homepage (`prepareHomepage`) and verifies candidate tree (`verifyCandidateTree`) and external audit (`verifyExternalAudit`), using SHA-256. - What it achieves (comment): It prepares homepage (`prepareHomepage`), verifies candidate tree (`verifyCandidateTree`) and verifies external audit (`verifyExternalAudit`). Prepare or explicitly publish one accepted design freeze. - What it does: It loads data. Defines 10 functions or classes, including stable, requireThat, escape, git, prepareHomepage. Uses libraries node:fs/promises, node:path, node:child_process, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Codex Design Freeze Publish Test (teleprinter). - Signatures: `export prepareHomepage(html, record)`; `export snapshotMetrics(html, names, sourceCommit)`; `export verifyCandidateTree(pins, worktree, generation)`; `export verifyExternalAudit(record, pins)`; `export publishFreeze({recordPath,reportPath,pinsPath,worktree,publish=false})`; `stable(value)`; `requireThat(value,message)`; `escape(value)`; `git(worktree,args)`; `inventory(directory)`; `artifacts(review.runs || [])` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Codex Design Freeze Publish Test - File: teleprinter/drivers/codex/design-freeze-publish.test.mjs (JavaScript, 20 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/design-freeze-publish.test.mjs#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1654.html#f5 - Synopsis: A test in the drivers folder of Teleprinter that checks Codex Design Freeze Publish and Codex Design Freeze, using SHA-256. - What it achieves (name): Defines `record`. - What it does: It tests its inputs. Defines record. Uses libraries node:test, node:assert/strict, node:fs/promises, node:path, node:os. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: JSON file review.json. - Signatures: `record()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file review.json]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Codex Design Freeze - File: teleprinter/drivers/codex/design-freeze.mjs (JavaScript, 284 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/design-freeze.mjs#L1-L284 - Page: https://code.globalgrid2050.com/explore-code/s/1655.html#f1 - Synopsis: A JavaScript module in the drivers folder of Teleprinter that reads pin, external evidence and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It loads external artifact (`loadExternalArtifact`) and is built from the digest step (`digest`) and the stable step (`stable`). Fail-closed, offline design freeze gate. No publishing or Git mutation. - What it does: It loads pin, external evidence and the REPD register. Defines 14 functions or classes, including digest, stable, same, inside, representedTransportUrls. Uses libraries node:fs/promises, node:path, node:crypto, node:child_process, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file source-pin.json; JSON file source-code.manifest.json; JSON file external-evidence.json; command-line arguments. - Downstream impact: Used directly by 3 files: Codex Design Freeze Publish (teleprinter); Codex Design Freeze Publish Test (teleprinter); Codex Design Freeze Test (teleprinter). - Signatures: `export digest(data)`; `export representedTransportUrls({ diagnostic, candidate, files, buildRoot })`; `export evaluateFreeze({ report, pins, files = {}, inspections = {}, currentHeads = {}, reachableCommits = {}, buildPaths = [], checkedPaths...)`; `stable(value)`; `same(a,b)`; `inside(file, root)`; `requireThat(value, message)`; `inspectExternalReviews({pins,candidate,buildManifest,files,checkedPaths,offlineRoot,check})`; `check(condition, message)`; `artifact(file, hash, kind)`; `framed(prefix, suffix, expectedBytes, expectedHash, encoding = 'utf-8')`; `inventory(directory)`; `run(reportPath, pinsPath)`; `visits(report.scenarios || [])`; `loadExternalArtifact(filename)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file source-pin.json; JSON file source-code.manifest.json; JSON file external-evidence.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Codex Design Freeze Test - File: teleprinter/drivers/codex/design-freeze.test.mjs (JavaScript, 88 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/design-freeze.test.mjs#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/1655.html#f2 - Synopsis: A test in the drivers folder of Teleprinter that checks Codex Design Freeze, using SHA-256 using data from the GridAtlas repository. It saves manifest (`saveManifest`) and sets review (`setReview`). - What it achieves (name): Defines `fixture`, `withRepresentedTransport`, `saveManifest` and 2 more. - What it does: It tests the REPD register. Defines fixture, withRepresentedTransport, saveManifest, setReview, blockingReview. Uses libraries node:test, node:path, node:assert/strict. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file source-pin.json; JSON file source-code.manifest.json. - Signatures: `fixture()`; `withRepresentedTransport()`; `saveManifest()`; `setReview(input,review)`; `blockingReview(input,overrides={})` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file source-pin.json; JSON file source-code.manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Codex Driver - File: teleprinter/drivers/codex/driver.mjs (JavaScript, 49 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/driver.mjs#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1655.html#f3 - Synopsis: A JavaScript module in the drivers folder of Teleprinter that attaches screen capture (`attachScreenCapture`). - What it achieves (comment): It attaches screen capture (`attachScreenCapture`) and is built from the click and read download helper (`clickAndReadDownload`) and the diagnostic step (`diagnostic`). Playwright host: capture current compositor pixels in memory, never a screenshot file. - What it does: It calculates its inputs. Defines attachScreenCapture, clickAndReadDownload, diagnostic. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`driver.mjs` attaches an in-memory Playwright screenshot provider." - Downstream impact: Used directly by 7 files: Codex App Outcomes (teleprinter); Codex App Print Browser (teleprinter); Codex Driver Test (teleprinter); Codex Fifty Prints (teleprinter); and 3 more. - Signatures: `export attachScreenCapture(page, { onCapture } = {})`; `export clickAndReadDownload(page, locator, { timeout = 15000 } = {})`; `diagnostic(error)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### Codex Driver Test - File: teleprinter/drivers/codex/driver.test.mjs (JavaScript, 103 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/driver.test.mjs#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/1655.html#f4 - Synopsis: A test in the drivers folder of Teleprinter that checks Codex Driver. It is built from the fixture step (`fixture`) and the bounded step (`bounded`). - What it achieves (comment): Deterministic lifecycle checks complement the real-browser download outcomes. - What it does: It tests its inputs. Defines fixture, bounded. Uses libraries node:test, node:assert/strict, node:stream. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `fixture(overrides = {})`; `bounded(promise)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Codex Fifty Prints - File: teleprinter/drivers/codex/fifty-prints.mjs (JavaScript, 344 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/fifty-prints.mjs#L1-L344 - Page: https://code.globalgrid2050.com/explore-code/s/1656.html#f1 - Synopsis: A JavaScript module in the drivers folder of Teleprinter that draws fifty prints results, campaign results and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It reads candidate JSON (`readCandidateJSON`), saves receipt (`saveReceipt`) and reads atlas state (`readAtlasState`). 25 scenarios, two fresh installed-Chrome visits each; all binary evidence stays offline. It reads `release.json`. It responds to teleprint events. - What it does: It draws fifty prints results, campaign results and the REPD register. Defines 9 functions or classes, including readCandidateJSON, sha256, saveReceipt, readAtlasState, rect. Uses libraries node:fs/promises, node:path, node:url, node:crypto, node:child_process. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file release.json; JSON file fifty-prints-results.json; JSON file -manifest.json; command-line arguments. Out: JSON file campaign-results.json. - Signatures: `readCandidateJSON(relative)`; `sha256(bytes)`; `saveReceipt()`; `readAtlasState(page)`; `rect(node)`; `onscreen(r)`; `assertAtlasState(snapshot, scenario, expectedKeys)`; `prepare(page, scenario, progress)`; `progress(step)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release.json; JSON file fifty-prints-results.json; JSON file -manifest.json; command-line arguments]; out [JSON file campaign-results.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Codex File Print Compatibility - File: teleprinter/drivers/codex/file-print-compatibility.mjs (JavaScript, 116 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/file-print-compatibility.mjs#L1-L116 - Page: https://code.globalgrid2050.com/explore-code/s/1656.html#f2 - Synopsis: A JavaScript module in the drivers folder of Teleprinter that reads print compatibility results, using SHA-256. It is built from the sha256 step (`sha256`) and the progress step (`progress`). - What it achieves (comment): Six fresh non-Chrome visits, actual separate File print commands. - What it does: It loads print compatibility results. Defines sha256, progress. Uses libraries node:fs/promises, node:path, node:url, node:crypto, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file file-print-compatibility-results.json; command-line arguments. - Signatures: `sha256(value)`; `progress(value)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file file-print-compatibility-results.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Codex Inspect App PDF - File: teleprinter/drivers/codex/inspect-app-pdf.py (Python, 23 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/inspect-app-pdf.py#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1656.html#f3 - Synopsis: A Python module in the drivers folder of Teleprinter that compares an app-render PDF with an independent browser screenshot; not exact pixel equivalence. - What it does: It loads data. Uses libraries base64, io, json, sys, pymupdf. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Codex Inspect PDF - File: teleprinter/drivers/codex/inspect-pdf.py (Python, 50 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/inspect-pdf.py#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/1656.html#f4 - Synopsis: A Python module in the drivers folder of Teleprinter that reads PDF structure AND render the page; no PDF/image retained by this check, using SHA-256. - What it does: It loads data. Uses libraries sys, json, base64, io, hashlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Codex Layer Quick Controls Test - File: teleprinter/drivers/codex/layer-quick-controls.test.mjs (JavaScript, 15 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/layer-quick-controls.test.mjs#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/1656.html#f5 - Synopsis: A test in the drivers folder of Teleprinter that checks Layer Quick Controls. It is built from the box step (`box`). - What it achieves (readme): The README says: Maintained source cartridges are enumerated in `cartridges.json`: capture geometry, visible UI clone, Grid/Subs quick controls, Layers arrival policy, and the independent Layout command. - What it does: It tests its inputs. Defines box. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "Maintained source cartridges are enumerated in `cartridges.json`: capture geometry, visible UI clone, Grid/Subs quick controls, Layers arrival policy, and the independent Layout command." - Signatures: `box(checked)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Codex Layout Command Test - File: teleprinter/drivers/codex/layout-command.test.mjs (JavaScript, 8 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/layout-command.test.mjs#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1656.html#f6 - Synopsis: A test in the drivers folder of Teleprinter that checks Layout Command. - What it does: It tests its inputs. Uses libraries node:test, node:assert/strict. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Codex Native Display Proof - File: teleprinter/drivers/codex/native-display-proof.mjs (JavaScript, 178 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/native-display-proof.mjs#L1-L178 - Page: https://code.globalgrid2050.com/explore-code/s/1657.html#f1 - Synopsis: A JavaScript module in the drivers folder of Teleprinter that fetches native display results, using SHA-256. - What it achieves (comment): Real Chrome display-capture flow. No host screenshot provider or replacement pixels. It responds to teleprint events. - What it does: It fetches native display results. Uses libraries node:fs/promises, node:path, node:url, node:child_process, node:crypto. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file results.json; JSON file native-display-results.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file results.json; JSON file native-display-results.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Codex Offline Evidence Inventory - File: teleprinter/drivers/codex/offline-evidence-inventory.py (Python, 64 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/offline-evidence-inventory.py#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/1657.html#f2 - Synopsis: A Python command-line tool in the drivers folder of Teleprinter that works with inspect PDF (`inspect_pdf`), covering teleprint evidence summary, campaign results and CI verdict, using SHA-256. - What it achieves (comment): Read existing offline evidence; inspect actual PDFs, never execute captured code. - What it does: Defines inspect_pdf, main. Uses libraries pathlib, collections, concurrent.futures, hashlib, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file teleprint-evidence-summary.json; JSON file campaign-results.json; JSON file results.json; JSON file ci-verdict.json; JSON file ci-verdict-202609051556.json; command-line arguments. Out: JSON file inventory.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `inspect_pdf(path)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file teleprint-evidence-summary.json; JSON file campaign-results.json; JSON file results.json; JSON file ci-verdict.json; JSON file ci-verdict-202609051556.json; command-line arguments]; out [JSON file inventory.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Codex Offline PDF Sweep - File: teleprinter/drivers/codex/offline-pdf-sweep.py (Python, 81 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/offline-pdf-sweep.py#L1-L81 - Page: https://code.globalgrid2050.com/explore-code/s/1657.html#f3 - Synopsis: A Python command-line tool in the drivers folder of Teleprinter that works with inspect page (`inspect_page`) and memory budget (`memory_budget`), covering page results and summary, using SHA-256. - What it achieves (comment): It is built from the initialize step (`initialize`) and the status class (`Status`). Parallel CPU-only PDF page decoding/rendering. No network, browser, or AI calls. It accepts `--summary`. - What it does: Defines initialize, inspect_page, memory_budget, Status, main. Uses libraries argparse, concurrent.futures, ctypes, hashlib, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. Out: JSON file page-results.json; JSON file summary.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `initialize(filename)`; `inspect_page(index)`; `memory_budget()`; `class Status`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file page-results.json; JSON file summary.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Codex Offline Source Batch - File: teleprinter/drivers/codex/offline-source-batch.py (Python, 53 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/offline-source-batch.py#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1657.html#f4 - Synopsis: A Python command-line tool in the drivers folder of Teleprinter covering audit, summary and offline batch results, using SHA-256. It is built from the audit step (`audit`). - What it achieves (comment): Verify every downloaded source print from a browser campaign using offline subprocesses. - What it does: Defines main, audit. Uses libraries concurrent.futures, json, pathlib, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file audit.json; command-line arguments. Out: JSON file summary.json; JSON file offline-source-batch-results.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()`; `audit(visit)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file audit.json; command-line arguments]; out [JSON file summary.json; JSON file offline-source-batch-results.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Codex Outcome Test - File: teleprinter/drivers/codex/outcome.test.mjs (JavaScript, 112 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/outcome.test.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/1657.html#f5 - Synopsis: A test in the drivers folder of Teleprinter that checks Codex Source Code and Codex Driver. - What it achieves (comment): Actual controls, download bytes and rendered pixel comparison. - What it does: It tests its inputs. Uses libraries node:http, node:fs/promises, node:path, node:url, node:child_process. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file source-code.manifest.json. Out: JSON file outcome-results.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file source-code.manifest.json]; out [JSON file outcome-results.json]; crs []; voltages [] - Edges: uses 3 estate files (script-call 2, dynamic-import 1); used by 0; mentioned by 0 ### Codex Png Pixels Test - File: teleprinter/drivers/codex/png-pixels.test.mjs (JavaScript, 105 lines) · role test · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/png-pixels.test.mjs#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/1657.html#f6 - Synopsis: A test in the drivers folder of Teleprinter that checks Png Pixels. It is built from the chunk step (`chunk`) and the png step (`png`). - What it achieves (comment): Deliberately separate bit-at-a-time CRC implementation from the decoder's table. - What it does: It tests its inputs. Defines chunk, png. Uses libraries node:test, node:assert/strict, node:zlib. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`png-pixels.mjs` decodes RGB/RGBA 8-bit PNG screenshots without the browser image decoder changing their colour values." - Signatures: `chunk(type, data = Buffer.alloc(0))`; `png({ width = 2, height = 2, color = 2, depth = 8, interlace = 0, raw, before = [], after = [], compressed, split = false...)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Codex Prepare Demo - File: teleprinter/drivers/codex/prepare-demo.mjs (JavaScript, 8 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/prepare-demo.mjs#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1657.html#f7 - Synopsis: A JavaScript module in the drivers folder of Teleprinter. - What it does: Uses libraries node:path, node:url. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file source-code.manifest.json; command-line arguments. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file source-code.manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Codex Runtime Source Test - File: teleprinter/drivers/codex/runtime-source.test.mjs (JavaScript, 294 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/runtime-source.test.mjs#L1-L294 - Page: https://code.globalgrid2050.com/explore-code/s/1658.html#f1 - Synopsis: A test in the drivers folder of Teleprinter that checks Runtime Source, using SHA-256 using data from the GridAtlas repository. - What it achieves (readme): It is built from the install step (`install`), the install direct transport helper (`installDirectTransport`) and the diagnostic xhr class (`DiagnosticXHR`). The README says: `runtime-source.js` collects current state and dependency responses for the source driver. - What it does: It tests its inputs. Defines install, installDirectTransport, DiagnosticXHR. Uses libraries node:test, node:assert/strict, node:crypto, node:fs/promises. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`runtime-source.js` collects current state and dependency responses for the source driver." - Inputs & outputs: In: data source: gridatlas data; Parquet file huge-unrequested.parquet; JSON file missing.json; JSON file atlas-source-code.manifest.json; JSON file atlas-source-pin.json; GeoJSON file grid_400kv.geojson; JSON file tilejson.json; JSON file metadata.json. - Signatures: `install({ blocked = false, many = false, mapStyle, documentBase } = {})`; `restore()`; `installDirectTransport(env, { oversized = false, timedOut = false } = {})`; `class DiagnosticXHR`; `open(method, url, async)`; `send()`; `getResponseHeader(name)`; `abort()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; Parquet file huge-unrequested.parquet; JSON file missing.json; JSON file atlas-source-code.manifest.json; JSON file atlas-source-pin.json; GeoJSON file grid_400kv.geojson; JSON file tilejson.json; JSON file metadata.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (url-import-meta 1); used by 0; mentioned by 0 ### Codex Screen Capture Test - File: teleprinter/drivers/codex/screen-capture.test.mjs (JavaScript, 8 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/screen-capture.test.mjs#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1658.html#f2 - Synopsis: A test in the drivers folder of Teleprinter that checks App Frame. - What it does: It tests its inputs. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Codex Screen PDF Test - File: teleprinter/drivers/codex/screen-pdf.test.mjs (JavaScript, 113 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/screen-pdf.test.mjs#L1-L113 - Page: https://code.globalgrid2050.com/explore-code/s/1658.html#f3 - Synopsis: A test in the drivers folder of Teleprinter that checks Screen PDF. It is built from the frame step (`frame`) and the inspect step (`inspect`). - What it achieves (readme): The README says: `screen-pdf.mjs` embeds losslessly compressed RGB pixels (and an alpha mask when required), without JPEG encoding, reflow or scaling. - What it does: It tests its inputs. Defines frame, inspect. Uses libraries node:test, node:assert/strict, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`screen-pdf.mjs` embeds losslessly compressed RGB pixels (and an alpha mask when required), without JPEG encoding, reflow or scaling." - Signatures: `frame(width = 320, height = 90, transparent = false)`; `inspect(pdf, source, layout, { render = true } = {})` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Codex Source Code - File: teleprinter/drivers/codex/source-code.mjs (JavaScript, 162 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/source-code.mjs#L1-L162 - Page: https://code.globalgrid2050.com/explore-code/s/1658.html#f4 - Synopsis: A JavaScript module in the drivers folder of Teleprinter that creates source code bundle (`createSourceCodeBundle`), verifies source code bundle (`verifySourceCodeBundle`) and writes source code bundle (`writeSourceCodeBundle`), using SHA-256. - What it achieves (comment): It creates source code bundle (`createSourceCodeBundle`), verifies source code bundle (`verifySourceCodeBundle`) and writes source code bundle (`writeSourceCodeBundle`). Print source code from committed Git objects. - What it does: It lists and searches its content. Defines 13 functions or classes, including digest, fail, git, scopesOf, githubIdentity. Uses libraries node:child_process, node:util, node:crypto, node:fs/promises, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 3 files: Codex Outcome Test (teleprinter); Codex Prepare Demo (teleprinter); Codex Source Code Test (teleprinter). - Signatures: `export createSourceCodeBundle({ repoDir, revision, paths = ['.'], repository } = {})`; `export verifySourceCodeBundle(text, manifest, { expectedRepository, expectedCommit } = {})`; `export verifySourceCodeBundleAgainstRepository(text, manifest, options)`; `export writeSourceCodeBundle(options)`; `digest(bytes)`; `fail(message)`; `git(repoDir, args)`; `scopesOf(paths)`; `githubIdentity(value)`; `header(manifest)`; `begin(file)`; `end(file)`; `commit(await git(repoDir, ['rev-parse', '--verify', '--end-of-options', `${revision}^{commit}`]))`; `tree(await git(repoDir, ['rev-parse', '--verify', `${commit}^{tree}`]))`; `matches(entry, scope)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Codex Source Code Test - File: teleprinter/drivers/codex/source-code.test.mjs (JavaScript, 166 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/source-code.test.mjs#L1-L166 - Page: https://code.globalgrid2050.com/explore-code/s/1659.html#f1 - Synopsis: A test in the drivers folder of Teleprinter that checks Codex Source Code and Print Source Code, using SHA-256. It is built from the element class (`Element`). - What it achieves (name): Defines `hash`, `git` and `Element`. - What it does: It tests its inputs. Defines hash, git, Element. Uses libraries node:test, node:assert/strict, node:fs/promises, node:os, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file source.manifest.json; JSON file source.json. - Signatures: `hash(value)`; `git(...args)`; `class Element`; `constructor(tag = 'button')`; `setAttribute(key, value)`; `removeAttribute(key)`; `addEventListener(name, listener)`; `removeEventListener(name)`; `dispatchEvent()`; `append(...children)`; `insertAdjacentElement(_, element)`; `querySelector(tag)`; `focus()`; `select()`; `remove()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file source.manifest.json; JSON file source.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 1, url-import-meta 1); used by 0; mentioned by 0 ### Codex Tool Source Browser - File: teleprinter/drivers/codex/tool-source.browser.mjs (JavaScript, 18 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/drivers/codex/tool-source.browser.mjs#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1659.html#f2 - Synopsis: A JavaScript module in the drivers folder of Teleprinter. - What it does: It loads data. Uses libraries node:fs/promises, node:path, node:url, node:assert/strict. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file layer-source-scopes.json; JSON file source-scopes-preflight.json; command-line arguments. Out: JSON file results.json. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file layer-source-scopes.json; JSON file source-scopes-preflight.json; command-line arguments]; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Teleprinter — Index - File: teleprinter/index.js (JavaScript, 115 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/index.js#L1-L115 - Page: https://code.globalgrid2050.com/explore-code/s/1659.html#f3 - Synopsis: A JavaScript module. It is built from the mount step (`mount`) and the button step (`button`). - What it achieves (comment): TELEPRINT — the one entry point. It responds to click events. - What it does: It draws its content. Defines mount, button. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'teleprinter'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `export mount(options = {})`; `button(label, run)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### PDF - File: teleprinter/pdf.js (JavaScript, 76 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/pdf.js#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1659.html#f4 - Synopsis: A JavaScript module in Teleprinter. It is built from the esc step (`esc`) and the image PDF helper (`imagePdf`). - What it achieves (comment): A single-image PDF, one page, one unit per pixel. - What it does: It calculates its inputs. Defines esc, imagePdf. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'teleprinter'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Teleprinter (teleprinter). Reached from 1 other entry point, including Demo (teleprinter). - Signatures: `export imagePdf(jpegBinary, width, height, footer = {})`; `esc(text)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Source - File: teleprinter/source.js (JavaScript, 175 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/source.js#L1-L175 - Page: https://code.globalgrid2050.com/explore-code/s/1659.html#f5 - Synopsis: A JavaScript module in Teleprinter using data from GitHub API. It resolves commit (`resolveCommit`) and is built from the stamp step (`stamp`) and the repo from location helper (`repoFromLocation`). - What it achieves (comment): PRINT SOURCE CODE — the second teleprint. - What it does: It draws its content. Defines 6 functions or classes, including stamp, p, repoFromLocation, resolveCommit, printSourceCode. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'teleprinter'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: GitHub API. - Downstream impact: Used directly by 1 file: Teleprinter — Index (teleprinter). - Signatures: `export printSourceCode(options = {})`; `stamp()`; `p(n)`; `repoFromLocation()`; `resolveCommit(owner, repo, branch = 'main')`; `shown(() => { try { return new URL(src, location.href).pathname; } catch { return src; } })` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Teleprinter - File: teleprinter/teleprinter.js (JavaScript, 202 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/teleprinter.js#L1-L202 - Page: https://code.globalgrid2050.com/explore-code/s/1660.html#f1 - Synopsis: A JavaScript module that works with can display capture (`canDisplayCapture`) and capture display (`captureDisplay`) and draws on a canvas. - What it achieves (comment): It is built from the stamp step (`stamp`), the can display capture helper (`canDisplayCapture`) and the capture display helper (`captureDisplay`). Emit the record exactly as it was. - What it does: It draws its content. Defines 6 functions or classes, including stamp, p, canDisplayCapture, captureDisplay, composeFrame. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'teleprinter'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: canvas drawing; SVG drawing. - Downstream impact: Used directly by 2 files: Demo (teleprinter); Teleprinter — Index (teleprinter). - Signatures: `export canDisplayCapture()`; `export teleprint(options = {})`; `stamp()`; `p(n)`; `captureDisplay()`; `composeFrame(target)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [canvas drawing; SVG drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Outcome - File: teleprinter/test/outcome.mjs (JavaScript, 147 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/teleprinter/blob/e45bfe38c3040b0f36f7df94ce262b63db8d0b60/test/outcome.mjs#L1-L147 - Page: https://code.globalgrid2050.com/explore-code/s/1660.html#f2 - Synopsis: A JavaScript module in the test folder of Teleprinter. It is built from the check step (`check`). - What it achieves (comment): Does pressing the button put a real file on disk, at the size of the screen? - What it does: It tests its inputs. Defines check. Uses libraries playwright, node:http, node:fs, node:os, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'teleprinter'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `check(name, ok, detail)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Controls - File: testcode/sandbox/202609051441/teleprinter/controls.js (JavaScript, 60 lines) · role interaction · stage output - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609051441/teleprinter/controls.js#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/1660.html#f3 - Synopsis: A JavaScript module in the teleprinter folder of Testcode that mounts teleprinter (`mountTeleprinter`) and reads inputs for image. - What it achieves (comment): It is built from the mount teleprinter helper (`mountTeleprinter`), the print step (`print`) and the app print helper (`appPrint`). The app supplies pinned source URLs; both engines remain authored in Teleprinter. It responds to click events. - What it does: It draws its content. Defines mountTeleprinter, el, print, appPrint. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: user-supplied file (file picker); form fields (user input). - Downstream impact: Used directly by 2 files: Teleprinter Bootstrap (testcode); Teleprinter Bootstrap (testcode). Reached from 1 other entry point, including Sandbox — Pipeline Page (testcode). - Signatures: `export mountTeleprinter({ manifestUrl, textUrl, expectedCommit, expectedRepository, appName = 'This app', printButtons })`; `el(id)`; `print(image)`; `appPrint(event)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker); form fields (user input)]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### Runtime Source - File: testcode/sandbox/202609051441/teleprinter/runtime-source.js (JavaScript, 197 lines) · role render · stage output - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609051441/teleprinter/runtime-source.js#L1-L197 - Page: https://code.globalgrid2050.com/explore-code/s/1660.html#f4 - Synopsis: A JavaScript module in the teleprinter folder of Testcode that reads map (`readMapState`), using SHA-256. - What it achieves (comment): It reads map state (`readMapState`) and is built from the sha256 step (`sha256`) and the base64 step (`base64`). Capture diagnostic source data. Nothing collected here is executed. - What it does: It lists and searches its content. Defines 13 functions or classes, including sha256, base64, bodyText, readMapState, documentState. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Controls (testcode). Reached from 2 other entry points, including Sandbox — Pipeline Page (testcode); Teleprinter Bootstrap (testcode). - Signatures: `export captureRuntimeSource({ baseBytes, baseManifest, fetchImpl = globalThis.fetch } = {})`; `sha256(bytes)`; `base64(bytes)`; `bodyText(bytes)`; `readMapState()`; `documentState()`; `jsReferences(text)`; `cssReferences(text)`; `account(size)`; `discover(specifier, from, reason, module = false)`; `discoverCode(text, from, kind)`; `collect(resource)`; `append(value)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Teleprinter Bootstrap - File: testcode/sandbox/202609052028/teleprinter-bootstrap.js (JavaScript, 11 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/202609052028/teleprinter-bootstrap.js#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/1660.html#f5 - Synopsis: A JavaScript module in the sandbox folder of Testcode that draws landing pin and landing code. - What it does: It draws landing pin and landing code. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file landing-source-pin.json; JSON file landing-source-code.manifest.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file landing-source-pin.json; JSON file landing-source-code.manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Build - File: testcode/sandbox/capsules/teleprinter/build.mjs (JavaScript, 174 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/teleprinter/build.mjs#L1-L174 - Page: https://code.globalgrid2050.com/explore-code/s/1661.html#f1 - Synopsis: A JavaScript module in the teleprinter folder of Testcode that draws cartridges, tool layers and scopes, using SHA-256. - What it achieves (comment): It is built from the git step (`git`), the sha256 step (`sha256`) and the require candidate syntax helper (`requireCandidateSyntax`). Codex: prepare a new immutable Test Code generation; finish source bundles after committing code. It writes `atlas/tool-layers.json`. - What it does: It draws cartridges, tool layers and scopes. Defines git, sha256, requireCandidateSyntax, write, walk. Uses libraries node:child_process, node:fs/promises, node:crypto, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file cartridges.json; JSON file results.json; JSON file tool-layers.json; JSON file layer-source-scopes.json; JSON file current.json; JSON file release.json; JSON file inherited-release.json; JSON file cases.json. - Downstream impact: Used directly by 1 file: Codex Cartridges Workflow (testcode). - Signatures: `git(dir, ...args)`; `sha256(value)`; `requireCandidateSyntax()`; `write(relative, contents)`; `walk(dir, base = dir)`; `text(await readFile(full, 'utf8'))` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file cartridges.json; JSON file results.json; JSON file tool-layers.json; JSON file layer-source-scopes.json; JSON file current.json; JSON file release.json; JSON file inherited-release.json; JSON file cases.json]; out []; crs []; voltages [] - Edges: uses 5 estate files (script-call 5); used by 1; mentioned by 0 ### Homepage - File: testcode/sandbox/capsules/teleprinter/homepage.py (Python, 29 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/teleprinter/homepage.py#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1661.html#f2 - Synopsis: A Python module in the teleprinter folder of Testcode that prepares one measured homepage restore point and append the new Test Code link, using SHA-256. - What it achieves (readme): The README says: `homepage.py WEB_REPO GENERATION` creates a measured restore point before adding the new Test Code link and retaining its predecessor. - What it does: It lists and searches its content. Uses libraries pathlib, subprocess, hashlib, json, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`homepage.py WEB_REPO GENERATION` creates a measured restore point before adding the new Test Code link and retaining its predecessor." - Inputs & outputs: In: command-line arguments. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Serve - File: testcode/sandbox/capsules/teleprinter/serve.py (Python, 65 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/teleprinter/serve.py#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/1661.html#f3 - Synopsis: A Python command-line tool in the teleprinter folder of Testcode that works with do get (`do_GET`) and do post (`do_POST`). - What it achieves (comment): It is built from the handler step (`handler`), the handler class (`Handler`) and the reply step (`reply`). Local static app server with an offline diagnostic receipt endpoint. It accepts `--root`, `--output` and `--port`. - What it does: Defines 6 functions or classes, including handler, Handler, __init__, reply, do_GET. Uses libraries argparse, json, threading, datetime, http.server. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `handler(root, output)`; `class Handler`; `__init__(self, *args, **kwargs)`; `reply(self, status, payload)`; `do_GET(self)`; `do_POST(self)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Serve Test - File: testcode/sandbox/capsules/teleprinter/serve.test.py (Python, 66 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/teleprinter/serve.test.py#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/1661.html#f4 - Synopsis: A test in the teleprinter folder of Testcode. It is built from the receipt tests class (`ReceiptTests`). - What it achieves (name): Defines `ReceiptTests`, `test_real_server_and_static_negative_control` and `request`. - What it does: It tests its inputs. Defines ReceiptTests, test_real_server_and_static_negative_control, request. Uses libraries importlib.util, json, tempfile, threading, unittest. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class ReceiptTests`; `test_real_server_and_static_negative_control(self)`; `request(server, path, data=None)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Candidate - File: testcode/sandbox/capsules/teleprinter/verify-candidate.mjs (JavaScript, 74 lines) · role storage · stage output - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/teleprinter/verify-candidate.mjs#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1661.html#f5 - Synopsis: A JavaScript module in the teleprinter folder of Testcode that uses SHA-256. It verifies candidate (`verifyCandidate`) and is built from the sha step (`sha`) and the check step (`check`). - What it achieves (comment): Offline gate for the exact candidate bytes, including generated cartridges. - What it does: It loads data. Defines sha, verifyCandidate, check, parse, walk. Uses libraries node:fs/promises, node:path, node:vm, node:child_process, node:crypto. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file current.json; command-line arguments. - Downstream impact: Used directly by 2 files: Build (testcode); Verify Candidate Test (testcode). Reached from 1 other entry point, including Codex Cartridges Workflow (testcode). - Signatures: `export verifyCandidate(root)`; `sha(bytes)`; `check(name, ok, detail)`; `parse(name, code, module)`; `walk(dir)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Verify Candidate Test - File: testcode/sandbox/capsules/teleprinter/verify-candidate.test.mjs (JavaScript, 34 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/teleprinter/verify-candidate.test.mjs#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/1661.html#f6 - Synopsis: A test in the teleprinter folder of Testcode that checks Verify Candidate, using SHA-256. - What it achieves (name): Its name says it verifies candidate test. Defines `fixture`. - What it does: It tests its inputs. Defines fixture. Uses libraries node:test, node:assert/strict, node:fs/promises, node:path, node:crypto. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: JSON file current.json. - Signatures: `fixture(code,empty=false)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file current.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Verify Live - File: testcode/sandbox/capsules/teleprinter/verify-live.py (Python, 32 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/teleprinter/verify-live.py#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/1661.html#f7 - Synopsis: A Python module in the teleprinter folder of Testcode that verifies published Test Code bytes and homepage, using SHA-256. It is built from the check step (`check`). - What it achieves (readme): The README says: `verify-live.py WEB_REPO GENERATION OUTPUT_JSON` compares published bytes against Git, including the homepage. - What it does: It fetches data. Defines check. Uses libraries pathlib, sys, subprocess, urllib.request, hashlib. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`verify-live.py WEB_REPO GENERATION OUTPUT_JSON` compares published bytes against Git, including the homepage." - Inputs & outputs: In: command-line arguments. - Signatures: `check(p)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Session Restart Test - File: testcode/sandbox/capsules/tool-layers/session-restart.test.mjs (JavaScript, 76 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/tool-layers/session-restart.test.mjs#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1661.html#f8 - Synopsis: A test in the tool layers folder of Testcode that checks Session Restart. It is built from the element class (`Element`). - What it achieves (name): Defines `fixture` and `Element`. - What it does: It tests its inputs. Defines fixture, Element. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 3 files: Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `fixture(entry='pinned-tool-entry')`; `class Element`; `constructor(tag, doc)`; `setAttribute(name,value)`; `append(...nodes)`; `remove()`; `focus()`; `click()` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Spider — V1 Click Fix Page - File: testcode/spider/20260914T143044Z-v1-click-fix/index.html (HTML, 293 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/spider/20260914T143044Z-v1-click-fix/index.html#L1-L293 - Page: https://code.globalgrid2050.com/explore-code/s/1662.html#f1 - Synopsis: A web page in Testcode that draws engine graph, genome spider and solar, and uses data from Elexon Balancing Mechanism Reporting Service (BMRS) and the spiders and data-federation-map-for-GlobalGrid2050-all-repos repositories. - What it achieves (comment): It applies root links (`applyRootLinks`), rebuilds select (`rebuildSelect`) and opens URL (`openUrl`). Ventus Global Grid 2050. It responds to change and click events. - What it does: It draws engine graph, genome spider and solar. Defines 19 functions or classes, including applyRootLinks, S, rebuildSelect, actionable, openUrl. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar. README: "The publication checkout is sparse: `index.html` and the complete `uk_renewables_pipeline/` tree." - Inputs & outputs: In: data source: spiders data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: Elexon BMRS; JSON file nodes.json; JSON file edges.json; JSON file engine-graph.json; JSON file genome-spider.json; DuckDB queries. Out: web page; SVG drawing. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `applyRootLinks(nodes)`; `S()`; `rebuildSelect()`; `actionable(n)`; `openUrl(u)`; `handleTap(i)`; `drillInto(childKey)`; `popTo(idx)`; `neighbours(idx)`; `cardInner(node,opts={})`; `goLabel(n)`; `setHint()`; `setCrumbs()`; `draw()`; `drawColumn(focus,out,inc)`; `marker(defs,type)`; `distribute(items,side,cx,cy,gap,xGap)`; `drawSpider(focus,out,inc)`; `enableDragPan(el)`; `reshapeNodes(fc)`; `loadJSON(path)`; `loadRoot()`; `loadContents()`; `placeholderScope(title,path)`; `resolveRef(ids,r)` (and 4 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of ventus-grid-engine/spider-sandbox.html) · essay_status: readme_derived - data_contracts: in [data source: spiders data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: Elexon BMRS; JSON file nodes.json; JSON file edges.json; JSON file engine-graph.json; JSON file genome-spider.json; DuckDB queries]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 2 estate files (script-src 1, estate-url 1); used by 0; mentioned by 0 ### Spider — V2 Badges Labels Alsoin Page - File: testcode/spider/20260914T143045Z-v2-badges-labels-alsoin/index.html (HTML, 300 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/spider/20260914T143045Z-v2-badges-labels-alsoin/index.html#L1-L300 - Page: https://code.globalgrid2050.com/explore-code/s/1662.html#f2 - Synopsis: A web page in Testcode that draws engine graph, genome spider and identity, and uses data from Elexon Balancing Mechanism Reporting Service (BMRS) and the spiders and data-federation-map-for-GlobalGrid2050-all-repos repositories. - What it achieves (comment): It applies root links (`applyRootLinks`), rebuilds select (`rebuildSelect`) and opens URL (`openUrl`). Ventus Global Grid 2050. It reads `./spider/identity.json`. It responds to change and click events. - What it does: It draws engine graph, genome spider and identity. Defines 19 functions or classes, including applyRootLinks, S, rebuildSelect, actionable, openUrl. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The publication checkout is sparse: `index.html` and the complete `uk_renewables_pipeline/` tree." - Inputs & outputs: In: data source: spiders data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: Elexon BMRS; JSON file nodes.json; JSON file edges.json; JSON file engine-graph.json; JSON file genome-spider.json; JSON file identity.json. Out: web page; SVG drawing. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `applyRootLinks(nodes)`; `S()`; `rebuildSelect()`; `actionable(n)`; `openUrl(u)`; `handleTap(i)`; `drillInto(childKey)`; `popTo(idx)`; `neighbours(idx)`; `alsoIn(node)`; `cardInner(node,opts={})`; `goLabel(n)`; `setHint()`; `setCrumbs()`; `draw()`; `drawColumn(focus,out,inc)`; `marker(defs,type)`; `distribute(items,side,cx,cy,gap,xGap)`; `drawSpider(focus,out,inc)`; `enableDragPan(el)`; `reshapeNodes(fc)`; `loadJSON(path)`; `loadRoot()`; `loadContents()`; `placeholderScope(title,path)` (and 5 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of ventus-grid-engine/spider-sandbox.html) · essay_status: readme_derived - data_contracts: in [data source: spiders data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: Elexon BMRS; JSON file nodes.json; JSON file edges.json; JSON file engine-graph.json; JSON file genome-spider.json; JSON file identity.json]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 2 estate files (script-src 1, estate-url 1); used by 0; mentioned by 0 ### Spider — V3 Bundles Derived Links Page - File: testcode/spider/20260914T143046Z-v3-bundles-derived-links/index.html (HTML, 312 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/spider/20260914T143046Z-v3-bundles-derived-links/index.html#L1-L312 - Page: https://code.globalgrid2050.com/explore-code/s/1663.html#f1 - Synopsis: A web page in Testcode that draws engine graph, genome spider and identity, and uses data from Elexon Balancing Mechanism Reporting Service (BMRS) and the spiders and data-federation-map-for-GlobalGrid2050-all-repos repositories. - What it achieves (comment): It applies root links (`applyRootLinks`), rebuilds select (`rebuildSelect`) and opens URL (`openUrl`). Ventus Global Grid 2050. It reads `./spider/identity.json`. It responds to change and click events. - What it does: It draws engine graph, genome spider and identity. Defines 22 functions or classes, including applyRootLinks, S, rebuildSelect, actionable, openUrl. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The publication checkout is sparse: `index.html` and the complete `uk_renewables_pipeline/` tree." - Inputs & outputs: In: data source: spiders data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: Elexon BMRS; data source: stars data; JSON file nodes.json; JSON file edges.json; JSON file engine-graph.json; JSON file genome-spider.json. Out: web page; SVG drawing. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `applyRootLinks(nodes)`; `S()`; `rebuildSelect()`; `actionable(n)`; `openUrl(u)`; `handleTap(i)`; `handleTap_(i)`; `drillInto(childKey)`; `popTo(idx)`; `neighbours(idx)`; `alsoIn(node)`; `deriveLinks(n)`; `cardInner(node,opts={})`; `goLabel(n)`; `setHint()`; `setCrumbs()`; `draw()`; `drawColumn(focus,out,inc)`; `marker(defs,type)`; `distribute(items,side,cx,cy,gap,xGap)`; `bundled(side)`; `drawSpider(focus,out,inc)`; `enableDragPan(el)`; `reshapeNodes(fc)`; `loadJSON(path)` (and 8 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: duplicate_candidate (duplicate of testcode/spider/20260914T143048Z-v4-three-roads/index.html) · essay_status: readme_derived - data_contracts: in [data source: spiders data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: Elexon BMRS; data source: stars data; JSON file nodes.json; JSON file edges.json; JSON file engine-graph.json; JSON file genome-spider.json]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 3 estate files (estate-url 2, script-src 1); used by 0; mentioned by 0 ### Spider — V4 Three Roads Page - File: testcode/spider/20260914T143048Z-v4-three-roads/index.html (HTML, 325 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/spider/20260914T143048Z-v4-three-roads/index.html#L1-L325 - Page: https://code.globalgrid2050.com/explore-code/s/1663.html#f2 - Synopsis: A web page in Testcode that draws engine graph, genome spider and identity, and uses data from Elexon Balancing Mechanism Reporting Service (BMRS) and the spiders and data-federation-map-for-GlobalGrid2050-all-repos repositories. - What it achieves (comment): It applies root links (`applyRootLinks`), rebuilds select (`rebuildSelect`) and opens URL (`openUrl`). Ventus Global Grid 2050. It reads `./spider/identity.json`. It responds to change and click events. - What it does: It draws engine graph, genome spider and identity. Defines 22 functions or classes, including applyRootLinks, S, rebuildSelect, actionable, openUrl. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The publication checkout is sparse: `index.html` and the complete `uk_renewables_pipeline/` tree." - Inputs & outputs: In: data source: spiders data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: Elexon BMRS; data source: stars data; JSON file nodes.json; JSON file edges.json; JSON file engine-graph.json; JSON file genome-spider.json. Out: web page; SVG drawing. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `applyRootLinks(nodes)`; `S()`; `rebuildSelect()`; `actionable(n)`; `openUrl(u)`; `handleTap(i)`; `handleTap_(i)`; `drillInto(childKey)`; `popTo(idx)`; `neighbours(idx)`; `alsoIn(node)`; `deriveLinks(n,gid)`; `roads(node)`; `cardInner(node,opts={})`; `goLabel(n)`; `setHint()`; `setCrumbs()`; `draw()`; `drawColumn(focus,out,inc)`; `marker(defs,type)`; `distribute(items,side,cx,cy,gap,xGap)`; `bundled(side)`; `drawSpider(focus,out,inc)`; `enableDragPan(el)`; `reshapeNodes(fc)` (and 9 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: spiders data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: Elexon BMRS; data source: stars data; JSON file nodes.json; JSON file edges.json; JSON file engine-graph.json; JSON file genome-spider.json]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 3 estate files (estate-url 2, script-src 1); used by 0; mentioned by 0 ### Spider — V5 Linkify Frontdoor Brandfaithful Page - File: testcode/spider/20260914T143049Z-v5-linkify-frontdoor-brandfaithful/index.html (HTML, 328 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/spider/20260914T143049Z-v5-linkify-frontdoor-brandfaithful/index.html#L1-L328 - Page: https://code.globalgrid2050.com/explore-code/s/1664.html#f1 - Synopsis: A web page in Testcode that draws engine graph, genome spider and identity, and uses data from Elexon Balancing Mechanism Reporting Service (BMRS) and the spiders and data-federation-map-for-GlobalGrid2050-all-repos repositories. - What it achieves (comment): It applies root links (`applyRootLinks`), rebuilds select (`rebuildSelect`) and opens URL (`openUrl`). Ventus Global Grid 2050. It reads `./spider/identity.json`. It responds to change and click events. - What it does: It draws engine graph, genome spider and identity. Defines 23 functions or classes, including applyRootLinks, S, rebuildSelect, actionable, openUrl. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "The publication checkout is sparse: `index.html` and the complete `uk_renewables_pipeline/` tree." - Inputs & outputs: In: data source: spiders data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: Elexon BMRS; data source: stars data; JSON file nodes.json; JSON file edges.json; JSON file engine-graph.json; JSON file genome-spider.json. Out: web page; SVG drawing. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `applyRootLinks(nodes)`; `S()`; `rebuildSelect()`; `actionable(n)`; `openUrl(u)`; `handleTap(i)`; `handleTap_(i)`; `drillInto(childKey)`; `popTo(idx)`; `neighbours(idx)`; `alsoIn(node)`; `deriveLinks(n,gid)`; `roads(node)`; `linkify(s)`; `cardInner(node,opts={})`; `goLabel(n)`; `setHint()`; `setCrumbs()`; `draw()`; `drawColumn(focus,out,inc)`; `marker(defs,type)`; `distribute(items,side,cx,cy,gap,xGap)`; `bundled(side)`; `drawSpider(focus,out,inc)`; `enableDragPan(el)` (and 10 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: spiders data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: Elexon BMRS; data source: stars data; JSON file nodes.json; JSON file edges.json; JSON file engine-graph.json; JSON file genome-spider.json]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 3 estate files (estate-url 2, script-src 1); used by 0; mentioned by 0 ### Budget Guard - File: tokens/tools/budget_guard.py (Python, 49 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/tokens/blob/1abe639df81e7cadf0ab5e49fd16fa88cc3bd538/tools/budget_guard.py#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1664.html#f2 - Synopsis: A Python command-line tool in the tools folder of Tokens. It is built from the minutes step (`minutes`). - What it achieves (comment): The antibody for CONTEXT BURN. - What it does: Defines minutes, main. Uses libraries sys. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'tokens'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `minutes(hhmm)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Candidates - File: vedic-/fingerprints/candidates.py (Python, 649 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/fingerprints/candidates.py#L1-L649 - Page: https://code.globalgrid2050.com/explore-code/s/1665.html#f1 - Synopsis: A Python command-line tool in the fingerprints folder of VEDIC that reads clusters summary, dictionary, units and rules, using SHA-256. - What it achieves (comment): It loads rules (`load_rules`), loads units (`load_units`) and loads dictionary entries (`load_dictionary_entries`). Propose VEDIC word candidates from recurring code units (never accepted automatically). It accepts `--units`, `--rules` and `--dictionary`. - What it does: It loads clusters summary, dictionary, units and rules. Defines 39 functions or classes, including sha256_file, load_rules, load_units, load_dictionary_entries, load_dictionary. Uses libraries argparse, collections, datetime, hashlib, json. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "`candidates.py` does the following, with every threshold and weight taken from `rules.json`:" - Inputs & outputs: In: Parquet file candidates.parquet; JSON file dictionary.json; Parquet file units.parquet; JSON file rules.json; command-line arguments. Out: JSON file clusters-summary.json. - Downstream impact: Used directly by 3 files: Enrich (vedic-); Test Candidates (vedic-); VEDIC Fingerprints Workflow (vedic-). Reached from 1 other entry point, including Test Enrich (vedic-). - Signatures: `sha256_file(path)`; `load_rules(path)`; `load_units(path)`; `load_dictionary_entries(path)`; `load_dictionary(path)`; `name_pieces(name)`; `stop_matcher(rules)`; `singular(piece)`; `entry_pieces(entry)`; `is_noun(word, rules)`; `dictionary_word(names, entries)`; `suggest_word(name, rules, names=None, entries=None)`; `first_sentence(text)`; `class UnionFind`; `__init__(self, n)`; `find(self, x)`; `union(self, a, b)`; `lsh_pairs(signatures, bands, rows, max_bucket)`; `cluster_units(units, rules)`; `medoid_average(rows, signatures, weights)`; `tighten(rows, signatures, weights, edges, near, floor)`; `cluster_id(unit_ids)`; `size_sanity(median_lines, scales)`; `useful_doc(doc, patterns)`; `useful_terms(terms, rules)` (and 14 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [Parquet file candidates.parquet; JSON file dictionary.json; Parquet file units.parquet; JSON file rules.json; command-line arguments]; out [JSON file clusters-summary.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Enrich - File: vedic-/fingerprints/enrich.py (Python, 266 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/fingerprints/enrich.py#L1-L266 - Page: https://code.globalgrid2050.com/explore-code/s/1666.html#f1 - Synopsis: A Python command-line tool in the fingerprints folder of VEDIC that reads functions, units, enrich summary and dictionary. - What it achieves (comment): It loads elements (`load_elements`) and is built from the bare repo helper (`bare_repo`) and the mask step (`mask`). Attach Elements catalogue keys and a proposed Periodic Table category to fingerprint candidates. It reads `units.parquet`. It accepts `--out`, `--dictionary` and `--elements`. - What it does: It loads functions, units, enrich summary and dictionary. Defines 12 functions or classes, including bare_repo, mask, pieces_of, load_elements, ElementIndex. Uses libraries argparse, collections, json, pathlib, re. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "without `--elements`, `enrich.py` still proposes periodic categories from the dictionary and writes the review page." - Inputs & outputs: In: JSON file functions.json; Parquet file candidates.parquet; Parquet file units.parquet; JSON file dictionary.json; command-line arguments. Out: JSON file enrich-summary.json. - Downstream impact: Used directly by 2 files: Test Enrich (vedic-); VEDIC Fingerprints Workflow (vedic-). - Signatures: `bare_repo(repo)`; `mask(path)`; `pieces_of(texts)`; `load_elements(path, functions_path=None)`; `class ElementIndex`; `__init__(self, elements, function_names)`; `match(self, members, names, families)`; `add(keys, evidence)`; `entry_features(entry)`; `propose_category(row, entries, features, by_word)`; `enrich(out_dir, dictionary_path, elements_path=None, functions_path=None, html=True)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file functions.json; Parquet file candidates.parquet; Parquet file units.parquet; JSON file dictionary.json; command-line arguments]; out [JSON file enrich-summary.json]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Extract - File: vedic-/fingerprints/extract.py (Python, 1142 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/fingerprints/extract.py#L1-L1142 - Page: https://code.globalgrid2050.com/explore-code/s/1666.html#f2 - Synopsis: A Python command-line tool in the fingerprints folder of VEDIC that draws units, extract summary, cables and substations, using SHA-256 and haversine. - What it achieves (comment): It cleans doc (`clean_doc`) and is built from the tokenize failure class (`TokenizeFailure`) and the js tokenize helper (`js_tokenize`). One row per code unit (function, method, class, arrow) of the Ventusltd estate. Its code works with 11 kV. It accepts `--src`, `--out` and `--repos`. - What it does: It draws units, extract summary, cables and substations. Defines 40 functions or classes, including TokenizeFailure, _lex, js_tokenize, bracket_match, _is. Uses libraries argparse, ast, bisect, collections, hashlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, substations, 11kV. README: "Better evidence from extraction: add `unit_terms` or side-effect patterns in `extract.py` together with a test in `test_extract.py`" - Inputs & outputs: In: Parquet file units.parquet; JSON file extract-summary.json; browser IndexedDB; command-line arguments. Out: JSON file. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326. Voltage levels named: 11kV. - Downstream impact: Used directly by 2 files: Test Extract (vedic-); VEDIC Fingerprints Workflow (vedic-). - Signatures: `class TokenizeFailure`; `_lex(src, pos, out, comments, nested, depth)`; `js_tokenize(src)`; `bracket_match(toks)`; `_is(toks, i, x)`; `_ident(toks, i)`; `_skip_generic(toks, j, limit=40)`; `_find_body(toks, match, p, limit=40)`; `js_params(toks, match, o, c)`; `_expr_end(toks, match, b)`; `js_units(toks, match)`; `_class_methods(toks, match, o, e)`; `_tok_hash(t)`; `_salt(i, which)`; `_mix(v)`; `minhash(stream)`; `jaccard(a, b)`; `sha(s)`; `_letter_ok(pieces, idx)`; `unit_terms(identifiers, strings, params=())`; `side_effects(compact, lang)`; `_compact(pieces)`; `clean_doc(text)`; `class LineIndex`; `__init__(self, text)` (and 15 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [Parquet file units.parquet; JSON file extract-summary.json; browser IndexedDB; command-line arguments]; out [JSON file]; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326]; voltages [11kV] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Modular Join - File: vedic-/fingerprints/modular_join.py (Python, 198 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/fingerprints/modular_join.py#L1-L198 - Page: https://code.globalgrid2050.com/explore-code/s/1668.html#f2 - Synopsis: A Python command-line tool in the fingerprints folder of VEDIC that reads units modular. It loads elements (`load_elements`), loads lines (`load_lines`) and writes summary (`write_summary`). - What it achieves (comment): Join fingerprint units to Modular Star's permanent element and family numbers. It accepts `--db`, `--out` and `--min-overlap`. - What it does: It loads units modular. Defines 8 functions or classes, including load_elements, unpack, load_lines, first_line, match. Uses libraries argparse, collections, json, os, sqlite3. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "Without `--db`, `modular_join.py` records that nothing was joined" - Inputs & outputs: In: JSON file modular-join-summary.json; Parquet file units.parquet; Parquet file units-modular.parquet; Parquet file candidates.parquet; SQLite database; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 2 files: Test Modular Join (vedic-); VEDIC Fingerprints Workflow (vedic-). - Signatures: `load_elements(db, blobs)`; `unpack(blob)`; `load_lines(db, blobs)`; `first_line(lines, line_from)`; `match(unit_from, unit_to, elements, min_overlap)`; `write_summary(out, summary)`; `run(db, out, min_overlap=0.8)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file modular-join-summary.json; Parquet file units.parquet; Parquet file units-modular.parquet; Parquet file candidates.parquet; SQLite database; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0 ### Review Page - File: vedic-/fingerprints/review_page.py (Python, 221 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/fingerprints/review_page.py#L1-L221 - Page: https://code.globalgrid2050.com/explore-code/s/1668.html#f3 - Synopsis: A Python command-line tool in the fingerprints folder of VEDIC that reads units modular, rules, clusters summary and modular join summary. - What it achieves (comment): It is built from the esc step (`esc`), the GitHub URL helper (`github_url`) and the proposed entry helper (`proposed_entry`). Write `out/candidates.html`: a static review page of fingerprint candidates (no JavaScript). It reads `candidates.parquet`. It accepts `--out`, `--rules` and `--limit`. - What it does: It loads units modular, rules, clusters summary and modular join summary. Defines 8 functions or classes, including esc, github_url, proposed_entry, member_item, render. Uses libraries argparse, html, json, pathlib, pyarrow.parquet. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). README: "Committed: `extract.py`, `candidates.py`, `modular_join.py`, `enrich.py`, `review_page.py`, their tests, `rules.json`, `CONTRACT.md`, this README, `runs.tsv` (the small ledger showing how each run and rules change moved the results) and `LATEST.md` (top 25 of the latest run)." - Inputs & outputs: In: Parquet file candidates.parquet; Parquet file units.parquet; Parquet file units-modular.parquet; JSON file rules.json; JSON file clusters-summary.json; JSON file modular-join-summary.json; JSON file enrich-summary.json; command-line arguments. - Downstream impact: Used directly by 2 files: Enrich (vedic-); Test Enrich (vedic-). Reached from 1 other entry point, including VEDIC Fingerprints Workflow (vedic-). - Signatures: `esc(value)`; `github_url(unit, owner)`; `proposed_entry(row, units, owner)`; `member_item(unit, owner, ms)`; `render(rows, units, ms, owner, summary=None, limit=None)`; `field(label, value)`; `write(out_dir, rules_path=None, limit=None)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [Parquet file candidates.parquet; Parquet file units.parquet; Parquet file units-modular.parquet; JSON file rules.json; JSON file clusters-summary.json; JSON file modular-join-summary.json; JSON file enrich-summary.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0 ### Test Candidates - File: vedic-/fingerprints/test_candidates.py (Python, 295 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/fingerprints/test_candidates.py#L1-L295 - Page: https://code.globalgrid2050.com/explore-code/s/1669.html#f1 - Synopsis: A test in the fingerprints folder of VEDIC that checks Candidates, using SHA-256 and haversine. It writes units (`write_units`), sets up (`setUp`) and runs pipeline (`run_pipeline`). - What it achieves (comment): Offline tests for `candidates.py` on a small synthetic units table. It reads `candidates.parquet`. - What it does: It tests its inputs. Defines 21 functions or classes, including minhash, near, unit, synthetic, write_units. Uses libraries copy, hashlib, json, pathlib, random. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file rules.json; Parquet file units.parquet; JSON file dictionary.json; Parquet file candidates.parquet; JSON file clusters-summary.json. - Downstream impact: Used directly by 1 file: VEDIC Fingerprints Workflow (vedic-). - Signatures: `minhash(seed)`; `near(values, changed, seed=99)`; `unit(repo, name, mh, struct, line=1, **extra)`; `synthetic()`; `write_units(rows, directory)`; `class CandidatesTest`; `setUp(self)`; `tearDown(self)`; `run_pipeline(self, rows=None, rules=None)`; `by_name(self, rows)`; `test_exact_and_near_clustering(self)`; `test_gating_from_rules(self)`; `test_stop_names_and_min_tokens_excluded(self)`; `test_verb_suggestion(self)`; `test_already_vedic_and_drafts(self)`; `test_noise_filters(self)`; `test_lsh_determinism_and_cluster_ids(self)`; `test_runs_ledger_appended_once_per_run(self)`; `test_dictionary_word_preferred(self)`; `test_chained_cluster_is_split(self)`; `test_sibling_clusters(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file rules.json; Parquet file units.parquet; JSON file dictionary.json; Parquet file candidates.parquet; JSON file clusters-summary.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Test Enrich - File: vedic-/fingerprints/test_enrich.py (Python, 179 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/fingerprints/test_enrich.py#L1-L179 - Page: https://code.globalgrid2050.com/explore-code/s/1669.html#f2 - Synopsis: A test in the fingerprints folder of VEDIC that checks Enrich and Review Page, using haversine. - What it achieves (comment): It sets up (`setUp`) and is built from the cand step (`cand`) and the enrich tests class (`EnrichTests`). `enrich.py` and `review_page.py` on small fixtures: proposals only, evidence-ranked, static page. It reads `candidates.parquet`. - What it does: It tests its inputs. Defines 11 functions or classes, including cand, EnrichTests, setUp, tearDown, rows. Uses libraries json, os, pathlib, sys, tempfile. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: Parquet file units.parquet; Parquet file candidates.parquet; JSON file elements.json; JSON file dictionary.json. Out: JSON file elements.json; JSON file functions.json. - Downstream impact: Used directly by 1 file: VEDIC Fingerprints Workflow (vedic-). - Signatures: `cand(cid, members, names, word, vedic="", units_found=(), fams=None, score=90.0)`; `class EnrichTests`; `setUp(self)`; `tearDown(self)`; `rows(self)`; `test_elements_keys_by_evidence(self)`; `test_path_and_name_without_families(self)`; `test_periodic_proposals(self)`; `test_without_catalogue_and_rerun(self)`; `test_review_page(self)`; `test_review_page_modular_star(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [Parquet file units.parquet; Parquet file candidates.parquet; JSON file elements.json; JSON file dictionary.json]; out [JSON file elements.json; JSON file functions.json]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Test Extract - File: vedic-/fingerprints/test_extract.py (Python, 272 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/fingerprints/test_extract.py#L1-L272 - Page: https://code.globalgrid2050.com/explore-code/s/1670.html#f1 - Synopsis: A test in the fingerprints folder of VEDIC that checks Extract, using haversine. - What it achieves (comment): It sets up (`setUp`) and is built from the haversine km helper (`haversine_km`) and the cable class (`Cable`). Unit tests for `fingerprints/extract.py`. No network, no clones. Its code works with 11 kV. - What it does: It tests cables. Defines 28 functions or classes, including haversine_km, Cable, __init__, save, Meter. Uses libraries os, sys, textwrap, unittest, collections. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables, 11kV. README: "Better evidence from extraction: add `unit_terms` or side-effect patterns in `extract.py` together with a test in `test_extract.py`" - Inputs & outputs: In: JSON file r.json. Voltage levels named: 11kV. - Downstream impact: Used directly by 1 file: VEDIC Fingerprints Workflow (vedic-). - Signatures: `haversine_km(lat1, lon1, lat2, lon2)`; `class Cable`; `__init__(self, voltage_kv, length_m)`; `save(self, path)`; `by_name(rows)`; `class PythonUnits`; `setUp(self)`; `test_detection_and_ranges(self)`; `test_terms_effects_calls(self)`; `test_renamed_copy(self)`; `test_whitespace_comment_only(self)`; `test_fstring_is_one_str(self)`; `class JavaScriptUnits`; `test_templates_and_regex_do_not_break_braces(self)`; `test_renamed_copy_and_whitespace(self)`; `test_html_script_offsets(self)`; `test_tokenizer_failure_skips_file(self)`; `test_process_files_counts_failures(self)`; `class MinHash`; `test_deterministic_and_known(self)`; `test_near_copy_high_unrelated_low(self)`; `test_finish_rows(self)`; `class Terms`; `test_terms(self)`; `test_single_letters_need_context(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file r.json]; out []; crs []; voltages [11kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Test Modular Join - File: vedic-/fingerprints/test_modular_join.py (Python, 133 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/fingerprints/test_modular_join.py#L1-L133 - Page: https://code.globalgrid2050.com/explore-code/s/1670.html#f2 - Synopsis: A test in the fingerprints folder of VEDIC that checks Modular Join and Testcode — Wafer Development Environment Page. It makes db (`make_db`) and sets up (`setUp`). - What it achieves (comment): Units meet Modular Star's permanent numbers exactly, never by guess. - What it does: It tests its inputs. Defines 11 functions or classes, including pack, make_db, ModularJoinTests, setUp, tearDown. Uses libraries os, sqlite3, sys, tempfile, unittest. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: Parquet file units.parquet; Parquet file candidates.parquet; Parquet file units-modular.parquet; SQLite database. - Downstream impact: Used directly by 1 file: VEDIC Fingerprints Workflow (vedic-). - Signatures: `pack(nums)`; `make_db(path)`; `class ModularJoinTests`; `setUp(self)`; `tearDown(self)`; `test_join(self)`; `test_line_keys(self)`; `test_at_most_five_lines(self)`; `test_rerun_is_idempotent(self)`; `test_low_overlap_is_not_a_match(self)`; `test_without_database_nothing_is_joined(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [Parquet file units.parquet; Parquet file candidates.parquet; Parquet file units-modular.parquet; SQLite database]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, estate-url 1); used by 1; mentioned by 0 ### VEDIC — Index Page - File: vedic-/index.html (HTML, 172 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/index.html#L1-L172 - Page: https://code.globalgrid2050.com/explore-code/s/1670.html#f3 - Published at: https://ventusltd.github.io/vedic-/ - Synopsis: A web page that draws command, nearest spider, anatomy and translation geodesy, using SHA-256, and uses data from the stars and kuiper-belt repositories. Published at https://ventusltd.github.io/vedic-/. - What it achieves (name): It queries terms (`queryTerms`), loads page (`loadPage`) and loads command (`loadCommand`). Defines `link`, `queryTerms`, `loadPage` and 8 more. It reads `./data/command-index.json`. It responds to toggle and input events. - What it does: It draws command, nearest spider, anatomy and translation geodesy. Defines 13 functions or classes, including $, el, link, queryTerms, loadPage. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: stars data; data source: kuiper-belt data; JSON file command-index.json; JSON file nearest-spider.json; JSON file anatomy.json; JSON file translation-geodesy.json; form fields (user input). Out: web page. - Downstream impact: Used directly by 5 files: Registry of All Content in Repos and Dependencies — Index Page (registry_of_all_content_in_repos_and_dependencies, https://ventusltd.github.io/registry_of_all_content_in_repos_and_dependencies/); GlobalGrid2050 Verify VEDIC Homepage Release (globalgrid2050); Test VEDIC Entry (globalgrid2050-homepage); VEDIC Browser Smoke (vedic-); and 1 more. Reached from 136 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://ventusltd.github.io/vedic-/. - Signatures: `$(id)`; `el(tag,text,cls)`; `link(text,url)`; `queryTerms(value)`; `loadPage(path)`; `loadCommand(summary)`; `row(await loadPage(ref.page))`; `codeSources(entry,records,details,seen=new Set())`; `codeCell(entry,records,details)`; `drawCommandRow(summary,records)`; `load()`; `drawDictionary()`; `initDictionary()`; `drawApps()`; `drawCaps()`; `drawTranslation(root)`; `drawGraph(root)`; `drawDetail()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; data source: kuiper-belt data; JSON file command-index.json; JSON file nearest-spider.json; JSON file anatomy.json; JSON file translation-geodesy.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 5; mentioned by 0 ### VEDIC Allocate Commands - File: vedic-/tools/allocate_commands.py (Python, 116 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/allocate_commands.py#L1-L116 - Page: https://code.globalgrid2050.com/explore-code/s/1670.html#f4 - Synopsis: A Python command-line tool in the tools folder covering dictionary, command distillation review, command distillation allocation and translation geodesy. - What it achieves (comment): It is built from the normalized step (`normalized`), the labels step (`labels`) and the allocate step (`allocate`). Replay reviewed append-only dictionary admissions against the frozen baseline. It accepts `--allocate-from`, `--check` and `--online`. - What it does: Defines normalized, labels, allocate, main. Uses libraries argparse, datetime, json, pathlib, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file dictionary.json; JSON file command-distillation-review.json; JSON file command-distillation-allocation.json; JSON file translation-geodesy.json; JSON file daily-command-queue.json; command-line arguments. - Downstream impact: Used directly by 2 files: VEDIC Daily Operations (vedic-); VEDIC Anatomy Workflow (vedic-). Reached from 2 other entry points, including VEDIC Modular Consumer Workflow (vedic-); VEDIC Test Daily Operations (vedic-). - Signatures: `normalized(value)`; `labels(entry)`; `allocate(base, batches, commit, timestamp)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file dictionary.json; JSON file command-distillation-review.json; JSON file command-distillation-allocation.json; JSON file translation-geodesy.json; JSON file daily-command-queue.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 2; mentioned by 0 ### VEDIC Browser Smoke - File: vedic-/tools/browser_smoke.py (Python, 323 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/browser_smoke.py#L1-L323 - Page: https://code.globalgrid2050.com/explore-code/s/1671.html#f1 - Synopsis: A Python command-line tool in the tools folder that tests dictionary, translation geodesy, command and prose catalogue, and uses data from the stars, kuiper-belt and GridAtlas repositories. - What it achieves (comment): It audits code rows (`audit_all_code_rows`) and audits live (`audit_live`). Offline UI smoke against the exact checked-out VEDIC candidate. - What it does: It tests dictionary, translation geodesy, command and prose catalogue. Defines 10 functions or classes, including audit_all_code_rows, audit_live, live_json, sources, expected. Uses libraries json, math, urllib.parse, functools, http.server. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: stars data; data source: kuiper-belt data; data source: gridatlas data; JSON file release.json; JSON file dictionary.json; JSON file translation-geodesy.json; JSON file command-index.json; JSON file prose-catalogue.json. - Downstream impact: Used directly by 2 files: VEDIC Check Pages Candidate (vedic-); VEDIC Anatomy Workflow (vedic-). Reached from 1 other entry point, including VEDIC Release Rehearsal Workflow (vedic-). - Signatures: `audit_all_code_rows(page, entries, expected_links)`; `audit_live()`; `live_json(path)`; `sources(entry, seen=None)`; `expected(entry)`; `main(root=ROOT, *, run_demos=True, offline=False, base_path='')`; `source_records(entry, seen=None)`; `expected_links(entry)`; `wait_dictionary()`; `close(a, b)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; data source: kuiper-belt data; data source: gridatlas data; JSON file release.json; JSON file dictionary.json; JSON file translation-geodesy.json; JSON file command-index.json; JSON file prose-catalogue.json]; out []; crs []; voltages [] - Edges: uses 6 estate files (import 3, estate-url 3); used by 2; mentioned by 0 ### VEDIC Canonical Acorn - File: vedic-/tools/canonical_acorn.mjs (JavaScript, 112 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/canonical_acorn.mjs#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/1671.html#f2 - Synopsis: A JavaScript module in the tools folder that parses unit (`parseUnit`). It parses unit (`parseUnit`) and is built from the groups step (`groups`) and the declared names helper (`declaredNames`). - What it achieves (comment): Static Acorn enrichment for pinned canonical files. - What it does: It loads data. Defines groups, declaredNames, parseUnit, line, spelling. Uses libraries node:module, node:fs, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `groups(file)`; `declaredNames(node)`; `parseUnit(unit, result)`; `line(node)`; `spelling(node)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### VEDIC Canonical Intelligence - File: vedic-/tools/canonical_intelligence.py (Python, 81 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/canonical_intelligence.py#L1-L81 - Page: https://code.globalgrid2050.com/explore-code/s/1671.html#f3 - Synopsis: A Python command-line tool in the tools folder that reads canonical bindings, canonical metadata, canonical symbols and canonical acorn. It is built from the build step (`build`). - What it achieves (comment): Produce private Acorn metadata for canonical bound modules, reusing local Acorn. It reads `canonical-bindings.parquet` and writes `canonical-acorn-manifest.json`. - What it does: It loads canonical bindings, canonical metadata, canonical symbols and canonical acorn. Defines build, main. Uses libraries argparse, collections, json, pathlib, subprocess. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: Parquet file canonical-bindings.parquet; Parquet file canonical-file-metadata.parquet; Parquet file canonical-symbols.parquet; JSON file canonical-acorn-manifest.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `build(t1, engine, grid, acorn_root)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [Parquet file canonical-bindings.parquet; Parquet file canonical-file-metadata.parquet; Parquet file canonical-symbols.parquet; JSON file canonical-acorn-manifest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### VEDIC Canonical Sources - File: vedic-/tools/canonical_sources.py (Python, 210 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/canonical_sources.py#L1-L210 - Page: https://code.globalgrid2050.com/explore-code/s/1672.html#f1 - Synopsis: A Python command-line tool in the tools folder that reads engine graph, using SHA-256. - What it achieves (comment): It is built from the git step (`git`), the blob step (`blob`) and the digest step (`digest`). Join pinned engine and GridAtlas architecture to existing Modular Star addresses. It writes `canonical-manifest.json`. - What it does: It loads engine graph. Defines 10 functions or classes, including git, blob, digest, source_counts, by_blob. Uses libraries argparse, collections, hashlib, json, pathlib. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file engine-graph.json; JSON file current.json; SQLite database; command-line arguments. Out: JSON file canonical-manifest.json. - Downstream impact: Used directly by 2 files: VEDIC Canonical Intelligence (vedic-); VEDIC Package Modular Intelligence (vedic-). - Signatures: `git(repo, *arguments)`; `blob(repo, commit, path)`; `digest(data)`; `source_counts(db, library)`; `by_blob(db, repository, commit, path, oid, prefix_scope)`; `git_line_bases(repo, commit)`; `kuiper_engine_keys(kuiper, engine, engine_commit, rows)`; `output_table(path, rows)`; `build(db, engine, grid, kuiper, stars, out)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file engine-graph.json; JSON file current.json; SQLite database; command-line arguments]; out [JSON file canonical-manifest.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### VEDIC Check Pages Candidate - File: vedic-/tools/check_pages_candidate.py (Python, 79 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/check_pages_candidate.py#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/1672.html#f2 - Synopsis: A Python command-line tool in the tools folder that reads dictionary and translation geodesy. It is built from the exercise pagination helper (`exercise_pagination`) and the exercise public helper (`exercise_public`). - What it achieves (comment): Exercise the deployable Pages bundle and a private pagination fixture. - What it does: It loads dictionary and translation geodesy. Defines exercise_pagination, exercise_public, main. Uses libraries json, shutil, pathlib, tempfile, argparse. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file dictionary.json; JSON file release.json; JSON file translation-geodesy.json; command-line arguments. - Downstream impact: Used directly by 2 files: VEDIC Anatomy Workflow (vedic-); VEDIC Release Rehearsal Workflow (vedic-). - Signatures: `exercise_pagination(site)`; `exercise_public(public)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file dictionary.json; JSON file release.json; JSON file translation-geodesy.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### VEDIC Daily Accelerator - File: vedic-/tools/daily_accelerator.py (Python, 153 lines) · role storage · stage output - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/daily_accelerator.py#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/1672.html#f3 - Synopsis: A Python module in the tools folder that reads accelerator research, estate crib library, features and domain lines, using SHA-256. - What it achieves (comment): It verifies advance (`verify_advance`) and is built from the validate step (`validate`) and the same campaign helper (`same_campaign`). Run the nightly NumPy accelerator and retain a compact research checkpoint. It reads `lines.parquet`. - What it does: It loads accelerator research, estate crib library, features and domain lines. Defines validate, same_campaign, verify_advance, method_digest, research. Uses libraries hashlib, json, pathlib, re, tempfile. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file accelerator-research.json; JSON file estate-crib-library.json; Parquet file features.parquet; Parquet file lines.parquet; Parquet file domain-lines.parquet; JSON file vogel-shots.json. Out: JSON file. - Downstream impact: Used directly by 2 files: VEDIC Daily Operations (vedic-); VEDIC Test Daily Accelerator (vedic-). Reached from 3 other entry points, including VEDIC Anatomy Workflow (vedic-); VEDIC Modular Consumer Workflow (vedic-); VEDIC Test Daily Operations (vedic-). - Signatures: `validate(state)`; `same_campaign(previous, method_sha256)`; `verify_advance(previous, current)`; `method_digest(root)`; `research(root, output, previous)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file accelerator-research.json; JSON file estate-crib-library.json; Parquet file features.parquet; Parquet file lines.parquet; Parquet file domain-lines.parquet; JSON file vogel-shots.json]; out [JSON file]; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 2; mentioned by 0 ### VEDIC Daily Intelligence - File: vedic-/tools/daily_intelligence.py (Python, 133 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/daily_intelligence.py#L1-L133 - Page: https://code.globalgrid2050.com/explore-code/s/1672.html#f4 - Synopsis: A Python command-line tool in the tools folder that fetches daily research and dictionary, using SHA-256. - What it achieves (comment): It writes receipt (`write_receipt`) and is built from the sha256 step (`sha256`) and the normalized step (`normalized`). Discover one pinned computational function for review. It accepts `--date` and `--output`. - What it does: It fetches daily research and dictionary. Defines 7 functions or classes, including sha256, normalized, fetch, discover, exhausted. Uses libraries argparse, ast, datetime, hashlib, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file daily-research.json; JSON file dictionary.json; command-line arguments. - Downstream impact: Used directly by 3 files: VEDIC Daily Source Policy (vedic-); VEDIC Test Daily Intelligence (vedic-); VEDIC Modular Consumer Workflow (vedic-). Reached from 7 other entry points, including VEDIC Anatomy Workflow (vedic-); VEDIC Allocate Commands (vedic-); VEDIC Daily Operations (vedic-). - Signatures: `sha256(data)`; `normalized(value)`; `fetch(pin)`; `discover(raw, dictionary, day, pin=PIN, symbols=SYMBOLS)`; `exhausted(dictionary, day)`; `write_receipt(path, result)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file daily-research.json; JSON file dictionary.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### VEDIC Daily Operations - File: vedic-/tools/daily_operations.py (Python, 322 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/daily_operations.py#L1-L322 - Page: https://code.globalgrid2050.com/explore-code/s/1673.html#f1 - Synopsis: A Python command-line tool in the tools folder that merges candidates (`merge_candidates`), covering command candidates, dictionary, admitted queue archive and family research, using SHA-256. - What it achieves (comment): It reads JSON (`read_json`), writes JSON (`write_json`) and loads state (`load_state`). Retain scheduled family progress and prepare reviewable VEDIC Git bundles. It reads `family-research.json` and writes `family-research.json`. It accepts `--output`, `--commit` and `--run-id`. - What it does: Defines 20 functions or classes, including require, run, git, gh_json, read_json. Uses libraries argparse, hashlib, json, os, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file source-command-candidates.json; JSON file dictionary.json; JSON file admitted-queue-archive.json; JSON file family-research.json; JSON file state-update.json; JSON file checkpoint.json; JSON file policy-candidates.json; JSON file proposal.json. - Downstream impact: Used directly by 2 files: VEDIC Test Daily Operations (vedic-); VEDIC Modular Consumer Workflow (vedic-). Reached from 1 other entry point, including VEDIC Anatomy Workflow (vedic-). - Signatures: `require(condition, message)`; `run(root, *args, data=None, env=None)`; `git(root, *args, **kwargs)`; `gh_json(root, *args)`; `read_json(path)`; `json_bytes(value)`; `write_json(path, value)`; `oid(value)`; `command(root, *args)`; `remote_oid(root, ref)`; `family_receipt(receipt)`; `state_receipt(state)`; `load_state(root)`; `legacy_checkpoint(root, run_id, scratch)`; `research(root, output, source_commit, run_id, accelerator=False)`; `persist(root, update, source_commit, run_id)`; `merge_candidates(queue, discovered)`; `proposal(root, output, created_at=None)`; `review_pr(root, output, repository)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file source-command-candidates.json; JSON file dictionary.json; JSON file admitted-queue-archive.json; JSON file family-research.json; JSON file state-update.json; JSON file checkpoint.json; JSON file policy-candidates.json; JSON file proposal.json]; out []; crs []; voltages [] - Edges: uses 5 estate files (script-call 3, import 2); used by 2; mentioned by 0 ### VEDIC Daily Source Policy - File: vedic-/tools/daily_source_policy.py (Python, 210 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/daily_source_policy.py#L1-L210 - Page: https://code.globalgrid2050.com/explore-code/s/1673.html#f2 - Synopsis: A Python command-line tool in the tools folder that fetches SatNav contracts, admitted queue archive and solar. - What it achieves (comment): It is built from the pinned functions helper (`pinned_functions`), the reproduce candidate helper (`reproduce_candidate`) and the discover candidates helper (`discover_candidates`). Reproduce static command contracts from a bounded set of reviewed source pins. It accepts `--output`. - What it does: It fetches SatNav contracts, admitted queue archive and solar. Defines pinned_functions, reproduce_candidate, discover_candidates, main. Uses libraries argparse, ast, hashlib, json, pathlib. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar. - Inputs & outputs: In: JSON file satnav-source-contracts.json; JSON file admitted-queue-archive.json; DuckDB queries; command-line arguments. - Downstream impact: Used directly by 4 files: VEDIC Daily Operations (vedic-); VEDIC Source Admissions (vedic-); VEDIC Test Daily Operations (vedic-); VEDIC Test Daily Source Policy (vedic-). Reached from 4 other entry points, including VEDIC Anatomy Workflow (vedic-); VEDIC Modular Consumer Workflow (vedic-); VEDIC Allocate Commands (vedic-). - Signatures: `pinned_functions(raw)`; `reproduce_candidate(source, raw)`; `discover_candidates(raw, archive)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file satnav-source-contracts.json; JSON file admitted-queue-archive.json; DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 4; mentioned by 0 ### VEDIC Dictionary Shards - File: vedic-/tools/dictionary_shards.py (Python, 86 lines) · role storage · stage output - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/dictionary_shards.py#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/1673.html#f3 - Synopsis: A Python module in the tools folder covering command and translation geodesy, and uses data from the GridAtlas and SatNav repositories. - What it achieves (comment): It writes bundle (`write_bundle`) and is built from the tokens step (`tokens`) and the encode step (`encode`). Deterministic Pages-only search index and 100-command detail pages. - What it does: Defines tokens, encode, build, code_sources, write_bundle. Uses libraries json, re, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: gridatlas data; data source: satnav data; JSON file command-index.json; JSON file dictionary.json; JSON file translation-geodesy.json. - Downstream impact: Used directly by 7 files: VEDIC Browser Smoke (vedic-); VEDIC Check Pages Candidate (vedic-); VEDIC Estate Crib Search (vedic-); VEDIC Estate Domain Scan (vedic-); and 3 more. Reached from 12 other entry points, including VEDIC Anatomy Workflow (vedic-); VEDIC Modular Consumer Workflow (vedic-); VEDIC Release Rehearsal Workflow (vedic-). - Signatures: `tokens(value)`; `encode(value)`; `build(d,t)`; `code_sources(entry, seen=None)`; `write_bundle(root)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: satnav data; JSON file command-index.json; JSON file dictionary.json; JSON file translation-geodesy.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### VEDIC Estate Crib Proofs - File: vedic-/tools/estate_crib_proofs.py (Python, 93 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/estate_crib_proofs.py#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/1674.html#f1 - Synopsis: A Python command-line tool in the tools folder that works with source block (`source_block`) and block matches (`block_matches`), using SHA-256. It is built from the string matches helper (`string_matches`). - What it achieves (comment): Check exact source strings and whole-block identities in a Modular Star snapshot. It accepts `--phrase` and `--block`. - What it does: It loads data. Defines string_matches, source_block, block_matches, main. Uses libraries argparse, collections, hashlib, json, pathlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: SQLite database; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `string_matches(database, phrases)`; `source_block(database, tablet, first, last)`; `block_matches(database, number, phrases)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [SQLite database; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### VEDIC Estate Crib Search - File: vedic-/tools/estate_crib_search.py (Python, 386 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/estate_crib_search.py#L1-L386 - Page: https://code.globalgrid2050.com/explore-code/s/1674.html#f2 - Synopsis: A Python command-line tool in the tools folder that reads vogel shots, substations and the Renewable Energy Planning Database (REPD) register, using haversine and SHA-256. - What it achieves (comment): It splits words (`split_words`), builds cribs (`build_cribs`) and selects groups (`select_groups`). VEDIC Virtualised Particle Accelerator command-group search. It accepts `--seed`, `--compare` and `--backend`. - What it does: It loads vogel shots, substations and the REPD register. Defines 16 functions or classes, including split_words, feature_matrix, scheduled_cribs, build_cribs, evaluate. Uses libraries argparse, contextlib, collections, functools, hashlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: substations, the REPD register. - Inputs & outputs: In: DuckDB queries; SQLite database; command-line arguments. Out: JSON file vogel-shots.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 3 files: VEDIC Daily Accelerator (vedic-); VEDIC Estate Domain Scan (vedic-); VEDIC Test Daily Accelerator (vedic-). Reached from 4 other entry points, including VEDIC Anatomy Workflow (vedic-); VEDIC Modular Consumer Workflow (vedic-); VEDIC Daily Operations (vedic-). - Signatures: `split_words(text)`; `feature_matrix(rows, vocabulary)`; `scheduled_cribs(choices, variants, seed, campaign_seed, round_index)`; `build_cribs(vocabulary, variants, seed, frequencies, campaign=None)`; `evaluate(xp, matrix, scores, roles, variants, multiply)`; `select_groups(cp, matrix, base, probes, variants)`; `multiply(rows, weights)`; `select_groups_numpy(matrix, base, probes, variants)`; `label(code)`; `grouped_families(db, rows, results)`; `grouped_lines(db, codes)`; `disagreement_rows(prior_path, matches)`; `vogel_shots(rows, seed, count=8)`; `digest(path)`; `main()`; `search(features, database, output, seed, compare=None, backend="cupy", campaign=None)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [DuckDB queries; SQLite database; command-line arguments]; out [JSON file vogel-shots.json]; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### VEDIC Estate Domain Scan - File: vedic-/tools/estate_domain_scan.py (Python, 222 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/estate_domain_scan.py#L1-L222 - Page: https://code.globalgrid2050.com/explore-code/s/1675.html#f1 - Synopsis: A Python command-line tool in the tools folder that reads spider references, domain lines and vogel shots, using SHA-256. It compiles library (`compile_library`) and scans estate (`scan_estate`). - What it achieves (comment): Compile the domain crib library and scan all unique indexed lines in ID order. It accepts `--seed`, `--spider` and `--backend`. - What it does: It loads spider references, domain lines and vogel shots. Defines 10 functions or classes, including compile_library, source_contexts, gpu_scorer, score, scan. Uses libraries argparse, contextlib, collections, functools, hashlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: Parquet file domain-lines.parquet; SQLite database; command-line arguments. Out: JSON file spider-references.json; JSON file vogel-shots.json. - Downstream impact: Used directly by 2 files: VEDIC Daily Accelerator (vedic-); VEDIC Test Daily Accelerator (vedic-). Reached from 4 other entry points, including VEDIC Anatomy Workflow (vedic-); VEDIC Modular Consumer Workflow (vedic-); VEDIC Daily Operations (vedic-). - Signatures: `compile_library(path)`; `source_contexts(database, groups, maximum_id)`; `gpu_scorer(cp, cues, powers)`; `score(matrix)`; `scan(database, columns, cues, backend="cupy")`; `source_shots(line_ids, lexical, contexts, groups, seed)`; `sha256(path)`; `spider_evidence(path, groups)`; `main()`; `scan_estate(database_path, library, output, seed, spider_path=None, backend="cupy")` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [Parquet file domain-lines.parquet; SQLite database; command-line arguments]; out [JSON file spider-references.json; JSON file vogel-shots.json]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### VEDIC Family Pulse - File: vedic-/tools/family_pulse.py (Python, 214 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/family_pulse.py#L1-L214 - Page: https://code.globalgrid2050.com/explore-code/s/1675.html#f2 - Synopsis: A Python command-line tool in the tools folder that reads daily command queue, dictionary, translation geodesy and family research, using SHA-256. It verifies extension (`verify_extension`) and exports pulse (`export_pulse`). - What it achieves (comment): Bounded daily family discovery and reviewed dictionary allocation. It reads `data/translation-geodesy.json` and writes `admission/dictionary.json`. It accepts `--checkpoint` and `--output`. - What it does: It loads daily command queue, dictionary, translation geodesy and family research. Defines 14 functions or classes, including require, key, read, write, indexes. Uses libraries argparse, copy, gzip, hashlib, json. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file daily-command-queue.json; JSON file dictionary.json; JSON file translation-geodesy.json; Parquet file family-pulse.parquet; JSON file family-research.json; DuckDB queries; command-line arguments. Out: Parquet file. - Downstream impact: Used directly by 5 files: VEDIC Allocate Commands (vedic-); VEDIC Daily Operations (vedic-); VEDIC Source Admissions (vedic-); VEDIC Test Family Pulse (vedic-); and 1 more. Reached from 5 other entry points, including VEDIC Anatomy Workflow (vedic-); VEDIC Modular Consumer Workflow (vedic-); VEDIC Daily Source Policy (vedic-). - Signatures: `require(ok, message)`; `key(text)`; `read(path)`; `write(path, value)`; `indexes(entries)`; `allocate(dictionary, queue, limit=MAX_ADDITIONS)`; `verify_extension(historic, current, queue)`; `asset_metadata()`; `acquire(directory)`; `family_identities(catalogue)`; `checkpoint_cursor(checkpoint, identities)`; `family_rows(catalogue, identities, entries, cursor)`; `export_pulse(rows, out)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file daily-command-queue.json; JSON file dictionary.json; JSON file translation-geodesy.json; Parquet file family-pulse.parquet; JSON file family-research.json; DuckDB queries; command-line arguments]; out [Parquet file]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 5; mentioned by 0 ### VEDIC Family Similarity - File: vedic-/tools/family_similarity.py (Python, 339 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/family_similarity.py#L1-L339 - Page: https://code.globalgrid2050.com/explore-code/s/1676.html#f1 - Synopsis: A Python command-line tool in the tools folder that reads features (`read_features`), using SHA-256. - What it achieves (comment): It is built from the sha256 file helper (`sha256_file`), the projection step (`projection`) and the representations step (`representations`). Compute bounded, source-ID-preserving similarity leads for existing Stars families. It accepts `--dimensions`, `--tile` and `--top-k`. - What it does: It loads data. Defines 12 functions or classes, including sha256_file, read_features, projection, representations, device_score. Uses libraries argparse, collections, functools, hashlib, json. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: VEDIC Family Similarity Review (vedic-). - Signatures: `sha256_file(path)`; `read_features(path)`; `projection(token)`; `representations(groups, dimension)`; `device_score(cp, kernel, data, begin, rows)`; `ranked_neighbors(cp, scores, index, active, top_k)`; `benchmark(cp, kernel, matrix)`; `matrix_scan(cp, kernel, matrix, active, tile_rows, top_k)`; `sparse_components(ids, target, values, limit)`; `neighbor_table(ids, target, values)`; `analyse(input_path, output, dimension, tile_rows, requested_top)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### VEDIC Family Similarity Review - File: vedic-/tools/family_similarity_review.py (Python, 187 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/family_similarity_review.py#L1-L187 - Page: https://code.globalgrid2050.com/explore-code/s/1676.html#f2 - Synopsis: A Python command-line tool in the tools folder that reads repeat elements and drift leads, using SHA-256. - What it achieves (comment): It audits index (`audit_index`) and is built from the sparse reviews helper (`sparse_reviews`) and the scores step (`scores`). Verify source-index totals and audit selected cosine leads in the original sparse feature space. It accepts `--database`, `--library` and `--features`. - What it does: It loads repeat elements and drift leads. Defines 7 functions or classes, including audit_index, sparse_reviews, scores, weighted, drift_leads. Uses libraries argparse, collections, hashlib, json, math. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: Parquet file repeat-elements.parquet; Parquet file drift-leads.parquet; SQLite database; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `audit_index(database, library, repeat_output)`; `sparse_reviews(feature_file, neighbors, witness)`; `scores(left, right, prefixes=None)`; `weighted(doc)`; `drift_leads(feature_file, neighbors, output)`; `cpu_threshold_replay(features, dimension=1024, tile=256)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [Parquet file repeat-elements.parquet; Parquet file drift-leads.parquet; SQLite database; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### VEDIC Family Similarity Witness - File: vedic-/tools/family_similarity_witness.mjs (JavaScript, 76 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/family_similarity_witness.mjs#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1676.html#f3 - Synopsis: A JavaScript module in the tools folder using data from the GlobalGrid2050 repository. It is built from the git raw helper (`gitRaw`) and the git blob helper (`gitBlob`). - What it achieves (name): Defines `gitRaw`, `gitBlob` and `extract`. - What it does: It fetches data. Defines gitRaw, gitBlob, extract. Uses libraries node:assert/strict, node:child_process, node:crypto, node:vm. Side effects: changes the web page (DOM); makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: globalgrid2050 data. - Signatures: `gitRaw(repo,commit,path)`; `gitBlob(r)`; `extract(raw,start,end,name,constants={})` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### VEDIC Modular Features - File: vedic-/tools/modular_features.py (Python, 285 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/modular_features.py#L1-L285 - Page: https://code.globalgrid2050.com/explore-code/s/1677.html#f1 - Synopsis: A Python command-line tool in the tools folder that works with atomic write (`atomic_write`) and path rank (`path_rank`), using SHA-256. - What it achieves (comment): It is built from the connect step (`connect`), the init worker helper (`init_worker`) and the digest step (`digest`). Project deterministic CPU features from the existing immutable Modular Star inventory. It accepts `--workers`, `--limit` and `--reuse`. - What it does: It loads data. Defines 12 functions or classes, including atomic_write, connect, init_worker, digest, path_rank. Uses libraries argparse, ast, collections, contextlib, concurrent.futures. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: SQLite database; command-line arguments. - Downstream impact: Used directly by 5 files: VEDIC Canonical Intelligence (vedic-); VEDIC Canonical Sources (vedic-); VEDIC Daily Accelerator (vedic-); VEDIC Package Modular Intelligence (vedic-); and 1 more. Reached from 5 other entry points, including VEDIC Anatomy Workflow (vedic-); VEDIC Modular Consumer Workflow (vedic-); VEDIC Daily Operations (vedic-). - Signatures: `atomic_write(path, write)`; `connect(db)`; `init_worker(db)`; `digest(raw)`; `path_rank(repo, path, is_current)`; `plan(conn, limit)`; `utf16_slice(text, start=None, stop=None)`; `selected_text(lines, start, stop)`; `feature_row(row, text)`; `process_tablet(task)`; `extract(db, output, workers, limit, prior=None)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [SQLite database; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### VEDIC Modular Snapshot - File: vedic-/tools/modular_snapshot.py (Python, 101 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/modular_snapshot.py#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/1677.html#f2 - Synopsis: A Python command-line tool in the tools folder that works with unpack snapshot (`unpack_snapshot`), using SHA-256. - What it achieves (comment): It downloads snapshot (`download_snapshot`) and is built from the require step (`require`) and the metadata step (`metadata`). Read-only Modular Star consumer. No producer writes and no ID allocation. It accepts `--output`. - What it does: It loads data. Defines 8 functions or classes, including require, gh, metadata, sha256, unpack_snapshot. Uses libraries argparse, datetime, gzip, hashlib, json. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: SQLite database; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 3 files: VEDIC Daily Accelerator (vedic-); VEDIC Test Modular Snapshot (vedic-); VEDIC Modular Consumer Workflow (vedic-). Reached from 5 other entry points, including VEDIC Anatomy Workflow (vedic-); VEDIC Release Rehearsal Workflow (vedic-); VEDIC Daily Operations (vedic-). - Signatures: `require(ok, message)`; `gh(*args)`; `metadata()`; `sha256(path)`; `unpack_snapshot(compressed, database, before, after)`; `inventory(database)`; `download_snapshot(directory, require_digest=False)`; `acquire(output)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [SQLite database; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### VEDIC Package Modular Intelligence - File: vedic-/tools/package_modular_intelligence.py (Python, 89 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/package_modular_intelligence.py#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/1677.html#f3 - Synopsis: A Python command-line tool in the tools folder that reads element features, compiled members, family coverage and engine nodes. It is built from the build step (`build`). - What it achieves (comment): Package local factor tables without modifying the shared catalogue. It reads `element-features.parquet` and writes `t1-intelligence-manifest.json`. - What it does: It loads element features, compiled members, family coverage and engine nodes. Defines build, main. Uses libraries argparse, json, pathlib, re, sqlite3. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: Parquet file element-features.parquet; Parquet file compiled-members.parquet; Parquet file family-coverage.parquet; Parquet file engine-nodes.parquet; Parquet file engine-edges.parquet; Parquet file gridatlas-composition.parquet; Parquet file canonical-bindings.parquet; Parquet file canonical-symbols.parquet. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `build(db, t1, stars)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [Parquet file element-features.parquet; Parquet file compiled-members.parquet; Parquet file family-coverage.parquet; Parquet file engine-nodes.parquet; Parquet file engine-edges.parquet; Parquet file gridatlas-composition.parquet; Parquet file canonical-bindings.parquet; Parquet file canonical-symbols.parquet]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### VEDIC Prose Smoke - File: vedic-/tools/prose_smoke.py (Python, 109 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/prose_smoke.py#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/1677.html#f4 - Synopsis: A Python command-line tool in the tools folder that tests prose catalogue and only. - What it achieves (comment): It is built from the fixture file helper (`fixture_file`), the exercise published helper (`exercise_published`) and the exercise local helper (`exercise_local`). Check the real released prose and browser-only catalogue handling. - What it does: It tests prose catalogue and only. Defines fixture_file, exercise_published, exercise_local, unavailable, main. Uses libraries argparse, json, pathlib, playwright.sync_api. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file prose-catalogue.json; JSON file test-only.json; command-line arguments. - Downstream impact: Used directly by 1 file: VEDIC Browser Smoke (vedic-). Reached from 3 other entry points, including VEDIC Anatomy Workflow (vedic-); VEDIC Release Rehearsal Workflow (vedic-); VEDIC Check Pages Candidate (vedic-). - Signatures: `fixture_file(records)`; `exercise_published(page, catalogue)`; `exercise_local(page, url)`; `unavailable(route)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file prose-catalogue.json; JSON file test-only.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### VEDIC Replay Orient Archive - File: vedic-/tools/replay_orient_archive.py (Python, 89 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/replay_orient_archive.py#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/1677.html#f5 - Synopsis: A Python command-line tool in the tools folder covering build receipt, using SHA-256. It is built from the member step (`member`) and the reassemble step (`reassemble`). - What it achieves (comment): Recover the exact private ORIENT archive from its existing build evidence. It reads `packages/factory/admissions/orient.json`. - What it does: Defines member, reassemble, main. Uses libraries argparse, importlib.util, json, pathlib, shutil. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file receipt.json; JSON file build-receipt.json; JSON file orient.json; command-line arguments. Out: JSON file build-receipt.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `member(archive, name)`; `reassemble(vedic, engine, source_artifact, build_artifact)`; `main()` - domain_stage: experimental · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file receipt.json; JSON file build-receipt.json; JSON file orient.json; command-line arguments]; out [JSON file build-receipt.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### VEDIC Semantic Compiler - File: vedic-/tools/semantic_compiler.py (Python, 233 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/semantic_compiler.py#L1-L233 - Page: https://code.globalgrid2050.com/explore-code/s/1678.html#f1 - Synopsis: A Python command-line tool in the tools folder that works with small read (`small_read`) and pinned git file (`pinned_git_file`), covering dictionary, command execution bindings, request and build receipt, using SHA-256. - What it achieves (comment): It is built from the refusal class (`Refusal`), the need step (`need`) and the sha256 step (`sha256`). Resolve the existing VEDIC dictionary and invoke reviewed package bindings. It accepts `--sense-id`, `--input` and `--archive`. - What it does: Defines 16 functions or classes, including Refusal, __init__, need, sha256, strict_json. Uses libraries __future__, argparse, hashlib, json, math. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file dictionary.json; JSON file command-execution-bindings.json; JSON file request.json; JSON file build-receipt.json; command-line arguments. - Downstream impact: Used directly by 4 files: VEDIC Replay Faraday Orient (vedic-); VEDIC Replay Orient Archive (vedic-); VEDIC Test Find Capability Admission (vedic-); VEDIC Test Semantic Compiler (vedic-). Reached from 1 other entry point, including VEDIC Anatomy Workflow (vedic-). - Signatures: `class Refusal`; `__init__(self, code, **details)`; `need(condition, code, **details)`; `sha256(raw)`; `strict_json(raw)`; `unique(pairs)`; `finite_number(literal)`; `nonfinite(_literal)`; `json_bytes(value)`; `small_read(path, limit=2 * 1024 * 1024)`; `phrase_key(phrase)`; `resolve(phrase, dictionary, registry, sense_id=None)`; `pinned_git_file(repo, commit, path, expected_sha256=None)`; `stage_factory(repo, factory, package)`; `execute(plan, values, repo, archive, build_receipt)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file dictionary.json; JSON file command-execution-bindings.json; JSON file request.json; JSON file build-receipt.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### VEDIC Source Admissions - File: vedic-/tools/source_admissions.py (Python, 278 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/source_admissions.py#L1-L278 - Page: https://code.globalgrid2050.com/explore-code/s/1678.html#f2 - Synopsis: A Python command-line tool in the tools folder that fetches dictionary, command candidates, admitted queue archive and translation geodesy, using SHA-256. - What it achieves (comment): It makes policy receipt (`make_policy_receipt`), verifies policy receipt (`verify_policy_receipt`) and reads policy source (`read_policy_source`). Bounded, append-only admission of source-reviewed VEDIC contracts. It reads `data/translation-geodesy.json`. It accepts `--check`, `--prepare` and `--limit`. - What it does: It fetches dictionary, command candidates, admitted queue archive and translation geodesy. Defines 19 functions or classes, including git, pinned, stamp, contract, candidate_id. Uses libraries argparse, copy, hashlib, json, re. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file dictionary.json; JSON file source-command-candidates.json; JSON file admitted-queue-archive.json; JSON file translation-geodesy.json; command-line arguments. - Downstream impact: Used directly by 6 files: VEDIC Allocate Commands (vedic-); VEDIC Daily Operations (vedic-); VEDIC Daily Source Policy (vedic-); VEDIC Test Daily Source Policy (vedic-); and 2 more. Reached from 2 other entry points, including VEDIC Modular Consumer Workflow (vedic-); VEDIC Test Daily Operations (vedic-). - Signatures: `git(*args)`; `pinned(commit, path)`; `stamp(commit)`; `contract(c)`; `candidate_id(c)`; `contract_payload(candidate)`; `policy_contract_digest(candidate)`; `make_policy_receipt(candidate, raw)`; `verify_policy_receipt(candidate)`; `read_policy_source(repo, commit, path)`; `verify_policy_candidate(candidate, raw)`; `allocate_one(d, c, manifest, timestamp)`; `replay(base, archive, load=pinned, date=stamp, *, legacy_records=(), checker=None)`; `replay_published(base, archive, *, checker=None)`; `prepare(d, archive, queue, manifest, timestamp, checker, limit=LIMIT)`; `stage_proposal(destination, dictionary, archive)`; `main()`; `check_policy(candidate)`; `check(candidate)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file dictionary.json; JSON file source-command-candidates.json; JSON file admitted-queue-archive.json; JSON file translation-geodesy.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 5 estate files (import 5); used by 6; mentioned by 0 ### VEDIC Source Evidence - File: vedic-/tools/source_evidence.py (Python, 197 lines) · role other · stage ingest - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/source_evidence.py#L1-L197 - Page: https://code.globalgrid2050.com/explore-code/s/1679.html#f1 - Synopsis: A Python module in the tools folder that verifies blob (`verify_blob`), masks JavaScript (`mask_javascript`) and verifies JavaScript syntax (`verify_javascript_syntax`). - What it achieves (comment): It verifies lightning initializer (`verify_lightning_initializer`) and is built from the source link helper (`source_link`) and the python spans helper (`python_spans`). Verify immutable source bytes and conservative function boundaries without executing code. - What it does: Defines 10 functions or classes, including source_link, verify_blob, python_spans, mask_javascript, matching_delimiter. Uses libraries ast, hashlib, re, subprocess, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 4 files: VEDIC Daily Source Policy (vedic-); VEDIC Source Admissions (vedic-); VEDIC Test Source Admissions (vedic-); VEDIC Validate Dictionary (vedic-). Reached from 11 other entry points, including VEDIC Anatomy Workflow (vedic-); VEDIC Modular Consumer Workflow (vedic-); VEDIC Allocate Commands (vedic-). - Signatures: `source_link(source)`; `verify_blob(source, raw)`; `python_spans(raw, symbol)`; `mask_javascript(match)`; `matching_delimiter(text, start, opening, closing)`; `verify_javascript_syntax(raw)`; `javascript_text(raw)`; `verify_lightning_initializer(raw, first, last)`; `javascript_spans(raw, symbol)`; `verify_exact_span(source, symbol, raw)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### VEDIC Stage Demo - File: vedic-/tools/stage_demo.py (Python, 23 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/stage_demo.py#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1679.html#f2 - Synopsis: A Python command-line tool in the tools folder. - What it achieves (comment): Stage byte-exact upstream maths for VEDIC demos, never rewrite the engine. - What it does: It fetches data. Defines main. Uses libraries hashlib, pathlib. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: VEDIC Anatomy Workflow (vedic-). - Signatures: `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### VEDIC Stage Pages - File: vedic-/tools/stage_pages.py (Python, 118 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/stage_pages.py#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/1679.html#f3 - Synopsis: A Python command-line tool in the tools folder that validates publication (`validate_publication`) and writes bundle (`write_bundle`), covering anatomy, translation geodesy, nearest spider and dictionary, using SHA-256. - What it achieves (comment): It is built from the git bytes helper (`git_bytes`), the digest step (`digest`) and the stage step (`stage`). Stage Git-exact current and historical VEDIC Pages payloads with file digests. - What it does: Defines git_bytes, digest, validate_publication, write_bundle, stage. Uses libraries argparse, hashlib, json, subprocess, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file anatomy.json; JSON file translation-geodesy.json; JSON file nearest-spider.json; JSON file dictionary.json; JSON file prose-catalogue.json; JSON file prose-publication.json; JSON file accelerator-loop-193906.json; JSON file accelerator-loop-193907.json. Out: JSON file release.json. - Downstream impact: Used directly by 3 files: VEDIC Browser Smoke (vedic-); VEDIC Check Pages Candidate (vedic-); VEDIC Anatomy Workflow (vedic-). Reached from 1 other entry point, including VEDIC Release Rehearsal Workflow (vedic-). - Signatures: `git_bytes(ref, name)`; `digest(data)`; `validate_publication(payload)`; `write_bundle(destination, payload, version, ref)`; `stage(destination)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file anatomy.json; JSON file translation-geodesy.json; JSON file nearest-spider.json; JSON file dictionary.json; JSON file prose-catalogue.json; JSON file prose-publication.json; JSON file accelerator-loop-193906.json; JSON file accelerator-loop-193907.json]; out [JSON file release.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### VEDIC Test Anatomy - File: vedic-/tools/test_anatomy.py (Python, 28 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/test_anatomy.py#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1679.html#f4 - Synopsis: A test in the tools folder that checks VEDIC Validate Anatomy. It is built from the anatomy tests class (`AnatomyTests`). - What it achieves (name): Defines `AnatomyTests`, `test_valid`, `test_dangling` and 3 more. - What it does: It tests its inputs. Defines 6 functions or classes, including AnatomyTests, test_valid, test_dangling, test_invented_count, test_duplicate. Uses libraries copy, json, unittest, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file anatomy.json. - Downstream impact: Used directly by 1 file: VEDIC Anatomy Workflow (vedic-). - Signatures: `class AnatomyTests`; `test_valid(self)`; `test_dangling(self)`; `test_invented_count(self)`; `test_duplicate(self)`; `test_unverified_proof(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file anatomy.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### VEDIC Test Daily Accelerator - File: vedic-/tools/test_daily_accelerator.py (Python, 71 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/test_daily_accelerator.py#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/1679.html#f5 - Synopsis: A test in the tools folder that checks VEDIC Daily Accelerator and VEDIC Estate Crib Search. It is built from the daily accelerator tests class (`DailyAcceleratorTests`). - What it achieves (name): Defines `DailyAcceleratorTests`, `progress`, `test_seeded_rotation_covers_every_crib_before_repeating` and 3 more. - What it does: It tests cables. Defines 6 functions or classes, including DailyAcceleratorTests, progress, test_seeded_rotation_covers_every_crib_before_repeating, test_progress_rejects_skips_changed_universes_and_missing_state, test_cpu_element_scores_matching_tied_and_ungrounded_clues. Uses libraries random, sqlite3, unittest, numpy. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: cables. - Inputs & outputs: In: SQLite database. - Downstream impact: Used directly by 2 files: VEDIC Anatomy Workflow (vedic-); VEDIC Modular Consumer Workflow (vedic-). - Signatures: `class DailyAcceleratorTests`; `progress(self, rounds, database="a", method="b", total=37)`; `test_seeded_rotation_covers_every_crib_before_repeating(self)`; `test_progress_rejects_skips_changed_universes_and_missing_state(self)`; `test_cpu_element_scores_matching_tied_and_ungrounded_clues(self)`; `test_cpu_domain_scan_uses_existing_action_and_object_rule(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [SQLite database]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 2; mentioned by 0 ### VEDIC Test Daily Intelligence - File: vedic-/tools/test_daily_intelligence.py (Python, 51 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/test_daily_intelligence.py#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/1679.html#f6 - Synopsis: A test in the tools folder that checks VEDIC Daily Intelligence. It is built from the daily command tests class (`DailyCommandTests`). - What it achieves (name): Defines `DailyCommandTests`, `run_case`, `test_replays_and_reports_function_range` and 3 more. - What it does: It tests its inputs. Defines 6 functions or classes, including DailyCommandTests, run_case, test_replays_and_reports_function_range, test_existing_alias_and_span_produce_no_change, test_rejects_modified_oversized_and_ambiguous_sources. Uses libraries datetime, hashlib, unittest. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 2 files: VEDIC Anatomy Workflow (vedic-); VEDIC Modular Consumer Workflow (vedic-). - Signatures: `class DailyCommandTests`; `run_case(self, rows=(), raw=SOURCE, pin=PIN)`; `test_replays_and_reports_function_range(self)`; `test_existing_alias_and_span_produce_no_change(self)`; `test_rejects_modified_oversized_and_ambiguous_sources(self)`; `test_one_pass_plan_does_not_repeat(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### VEDIC Test Daily Operations - File: vedic-/tools/test_daily_operations.py (Python, 194 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/test_daily_operations.py#L1-L194 - Page: https://code.globalgrid2050.com/explore-code/s/1679.html#f7 - Synopsis: A test in the tools folder that checks VEDIC Daily Operations and VEDIC Daily Source Policy. - What it achieves (name): It sets up (`setUp`) and is built from the daily operations tests class (`DailyOperationsTests`) and the fixture update helper (`fixture_update`). Defines `family`, `candidate`, `queue` and 17 more. It reads `family-research.json` and writes `family-research.json`. - What it does: It tests its inputs. Defines 20 functions or classes, including family, candidate, queue, DailyOperationsTests, setUp. Uses libraries json, tempfile, unittest, pathlib, unittest.mock. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file family-research.json; JSON file state-update.json; JSON file proposal.json. - Downstream impact: Used directly by 2 files: VEDIC Anatomy Workflow (vedic-); VEDIC Modular Consumer Workflow (vedic-). - Signatures: `family(previous, current)`; `candidate(first)`; `queue(*records)`; `class DailyOperationsTests`; `setUp(self)`; `fixture_update(self, number, base, previous_cursor, next_cursor)`; `test_durable_state_bootstrap_and_retry(self)`; `test_accelerator_checkpoint_is_coupled_to_family_persistence(self)`; `mocked_family(root, *args)`; `test_stale_and_discontinuous_progress_is_refused(self)`; `test_migration_advances_legacy_receipt(self)`; `test_unavailable_legacy_artifact_stops_without_state_update(self)`; `test_malformed_remote_state_stops_instead_of_bootstrapping(self)`; `test_conflicting_candidate_is_refused_and_exact_retry_is_idempotent(self)`; `test_proposal_bundle_replays_exact_manifest_commit(self)`; `mock_cli(root, tool, *args)`; `test_empty_proposal_writes_receipt_without_bundle(self)`; `test_proposal_refuses_existing_local_branch(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file family-research.json; JSON file state-update.json; JSON file proposal.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, script-call 1); used by 2; mentioned by 0 ### VEDIC Test Daily Source Policy - File: vedic-/tools/test_daily_source_policy.py (Python, 56 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/test_daily_source_policy.py#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1680.html#f1 - Synopsis: A test in the tools folder that checks VEDIC Daily Source Policy and VEDIC Source Admissions. It sets up (`setUp`) and is built from the source policy tests class (`SourcePolicyTests`). - What it achieves (name): Defines `SourcePolicyTests`, `setUp`, `test_candidate_is_reproducible_and_emitted_once_after_admission` and 2 more. - What it does: It tests its inputs. Defines SourcePolicyTests, setUp, test_candidate_is_reproducible_and_emitted_once_after_admission, test_pin_and_complete_span_are_required, test_explicit_contract_requires_reviewed_blob_and_span. Uses libraries hashlib, unittest, unittest.mock. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: VEDIC Anatomy Workflow (vedic-). - Signatures: `class SourcePolicyTests`; `setUp(self)`; `test_candidate_is_reproducible_and_emitted_once_after_admission(self)`; `test_pin_and_complete_span_are_required(self)`; `test_explicit_contract_requires_reviewed_blob_and_span(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### VEDIC Test Dictionary - File: vedic-/tools/test_dictionary.py (Python, 49 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/test_dictionary.py#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1680.html#f2 - Synopsis: A test in the tools folder that checks VEDIC Validate Dictionary. It is built from the dictionary tests class (`DictionaryTests`). - What it achieves (name): Defines `DictionaryTests`, `test_valid`, `test_identity` and 10 more. - What it does: It tests its inputs. Defines 13 functions or classes, including DictionaryTests, test_valid, test_identity, test_missing_demo, test_incompatible_inputs. Uses libraries copy, json, unittest, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file dictionary.json; JSON file translation-geodesy.json. - Downstream impact: Used directly by 1 file: VEDIC Anatomy Workflow (vedic-). - Signatures: `class DictionaryTests`; `test_valid(self)`; `test_identity(self)`; `test_missing_demo(self)`; `test_incompatible_inputs(self)`; `test_cycle(self)`; `test_duplicate(self)`; `test_same_word_distinct_meaning(self)`; `test_duplicate_meaning(self)`; `test_creation_time_immutable(self)`; `test_source_only_cannot_claim_demo(self)`; `test_source_only_requires_reason(self)`; `test_source_only_requires_source_pin(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file dictionary.json; JSON file translation-geodesy.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### VEDIC Test Dictionary Shards - File: vedic-/tools/test_dictionary_shards.py (Python, 49 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/test_dictionary_shards.py#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1680.html#f3 - Synopsis: A test in the tools folder that checks VEDIC Dictionary Shards using data from the GridAtlas repository. It is built from the shards tests class (`ShardsTests`). - What it achieves (name): Defines `ShardsTests`, `test_full_catalogue`, `test_satnav_application_and_precise_code_are_separate` and 1 more. - What it does: It tests its inputs. Defines ShardsTests, test_full_catalogue, test_satnav_application_and_precise_code_are_separate, test_101_rows. Uses libraries json, pathlib, unittest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: gridatlas data; JSON file dictionary.json; JSON file translation-geodesy.json; JSON file 000001.json; JSON file 000002.json. - Downstream impact: Used directly by 1 file: VEDIC Anatomy Workflow (vedic-). - Signatures: `class ShardsTests`; `test_full_catalogue(self)`; `test_satnav_application_and_precise_code_are_separate(self)`; `test_101_rows(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file dictionary.json; JSON file translation-geodesy.json; JSON file 000001.json; JSON file 000002.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### VEDIC Test Family Pulse - File: vedic-/tools/test_family_pulse.py (Python, 66 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/test_family_pulse.py#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/1680.html#f4 - Synopsis: A test in the tools folder that checks VEDIC Family Pulse. It sets up (`setUp`) and is built from the daily tests class (`DailyTests`). - What it achieves (name): Defines `row`, `queue`, `DailyTests` and 10 more. - What it does: It tests its inputs. Defines 13 functions or classes, including row, queue, DailyTests, setUp, test_normalisation. Uses libraries copy, tempfile, unittest, pathlib, duckdb. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: Parquet file pulse.parquet; DuckDB queries. - Downstream impact: Used directly by 2 files: VEDIC Anatomy Workflow (vedic-); VEDIC Modular Consumer Workflow (vedic-). - Signatures: `row(word="FILTER ASSETS", sym="filterAssets")`; `queue(*records)`; `class DailyTests`; `setUp(self)`; `test_normalisation(self)`; `test_append_and_replay(self)`; `test_family_collision(self)`; `test_existing_symbol(self)`; `test_unreviewed(self)`; `test_cursor_and_family(self)`; `test_bounded_labels(self)`; `test_parquet(self)`; `test_review_replay(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [Parquet file pulse.parquet; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### VEDIC Test Find Capability Admission - File: vedic-/tools/test_find_capability_admission.py (Python, 26 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/test_find_capability_admission.py#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/1680.html#f5 - Synopsis: A test in the tools folder that checks VEDIC Semantic Compiler. It finds capability admission tests (`FindCapabilityAdmissionTests`) and sets up (`setUp`). - What it achieves (name): Defines `FindCapabilityAdmissionTests`, `setUp`, `test_reviewed_source_row_resolves_without_claiming_a_runtime_binding` and 1 more. - What it does: It tests its inputs. Defines FindCapabilityAdmissionTests, setUp, test_reviewed_source_row_resolves_without_claiming_a_runtime_binding, test_executor_refuses_static_row_before_accessing_package_material. Uses libraries unittest. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: VEDIC Anatomy Workflow (vedic-). - Signatures: `class FindCapabilityAdmissionTests`; `setUp(self)`; `test_reviewed_source_row_resolves_without_claiming_a_runtime_binding(self)`; `test_executor_refuses_static_row_before_accessing_package_material(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### VEDIC Test Graph - File: vedic-/tools/test_graph.py (Python, 37 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/test_graph.py#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/1680.html#f6 - Synopsis: A test in the tools folder that checks VEDIC Validate Graph. It is built from the graph tests class (`GraphTests`). - What it achieves (name): Defines `GraphTests`, `test_valid`, `test_bad_endpoint` and 5 more. - What it does: It tests its inputs. Defines 8 functions or classes, including GraphTests, test_valid, test_bad_endpoint, test_live_promotion, test_no_caveat. Uses libraries copy, json, unittest, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file nearest-spider.json; JSON file translation-geodesy.json. - Downstream impact: Used directly by 1 file: VEDIC Anatomy Workflow (vedic-). - Signatures: `class GraphTests`; `test_valid(self)`; `test_bad_endpoint(self)`; `test_live_promotion(self)`; `test_no_caveat(self)`; `test_bad_evidence(self)`; `test_shared_occurrence_alias(self)`; `test_alias_cannot_change_identity(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file nearest-spider.json; JSON file translation-geodesy.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### VEDIC Test Modular Features - File: vedic-/tools/test_modular_features.py (Python, 61 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/test_modular_features.py#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1680.html#f7 - Synopsis: A test in the tools folder that checks VEDIC Modular Features. It is built from the test modular features class (`TestModularFeatures`). - What it achieves (comment): Regression checks for producer coordinates and immutable incremental feature reuse. - What it does: It tests its inputs. Defines TestModularFeatures, test_acorn_utf16_single_and_multi_line_columns, test_index_identity_and_incremental_reuse. Uses libraries contextlib, json, sqlite3, struct, pathlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: Parquet file first.parquet; Parquet file second.parquet; Parquet file rejected.parquet; SQLite database. - Downstream impact: Used directly by 1 file: VEDIC Anatomy Workflow (vedic-). - Signatures: `class TestModularFeatures`; `test_acorn_utf16_single_and_multi_line_columns(self)`; `test_index_identity_and_incremental_reuse(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [Parquet file first.parquet; Parquet file second.parquet; Parquet file rejected.parquet; SQLite database]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### VEDIC Test Modular Snapshot - File: vedic-/tools/test_modular_snapshot.py (Python, 45 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/test_modular_snapshot.py#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1680.html#f8 - Synopsis: A test in the tools folder that checks VEDIC Modular Snapshot, using SHA-256. It is built from the snapshot tests class (`SnapshotTests`). - What it achieves (name): Defines `SnapshotTests`, `test_read_only_inventory`, `test_missing_schema` and 1 more. - What it does: It tests its inputs. Defines SnapshotTests, test_read_only_inventory, test_missing_schema, test_snapshot_pin_and_hash. Uses libraries gzip, hashlib, sqlite3, tempfile, unittest. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: SQLite database. - Downstream impact: Used directly by 3 files: VEDIC Anatomy Workflow (vedic-); VEDIC Modular Consumer Workflow (vedic-); VEDIC Release Rehearsal Workflow (vedic-). - Signatures: `class SnapshotTests`; `test_read_only_inventory(self)`; `test_missing_schema(self)`; `test_snapshot_pin_and_hash(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [SQLite database]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### VEDIC Test Semantic Compiler - File: vedic-/tools/test_semantic_compiler.py (Python, 72 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/test_semantic_compiler.py#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/1680.html#f9 - Synopsis: A test in the tools folder that checks VEDIC Semantic Compiler. - What it achieves (comment): It sets up class (`setUpClass`) and is built from the command compiler tests class (`CommandCompilerTests`) and the plan step (`plan`). Regression checks for exact command lookup and the package admission boundary. - What it does: It tests its inputs. Defines 10 functions or classes, including CommandCompilerTests, setUpClass, plan, test_every_dictionary_name_resolves_by_its_existing_id, test_alias_keeps_the_existing_composition_identity. Uses libraries copy, pathlib, tempfile, unittest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: VEDIC Anatomy Workflow (vedic-). - Signatures: `class CommandCompilerTests`; `setUpClass(cls)`; `plan(self, phrase, sense_id=None)`; `test_every_dictionary_name_resolves_by_its_existing_id(self)`; `test_alias_keeps_the_existing_composition_identity(self)`; `test_homonym_requires_an_explicit_existing_sense(self)`; `test_refuses_dictionary_binding_drift_and_alias_collision(self)`; `test_discards_unrecognised_free_text_and_nonfinite_input(self)`; `test_unadmitted_meaning_refuses_before_reading_artifacts(self)`; `test_tampered_archive_refuses_before_staging_code(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### VEDIC Test Source Admissions - File: vedic-/tools/test_source_admissions.py (Python, 201 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/test_source_admissions.py#L1-L201 - Page: https://code.globalgrid2050.com/explore-code/s/1680.html#f10 - Synopsis: A test in the tools folder that checks VEDIC Family Pulse and VEDIC Source Admissions. - What it achieves (name): It writes one (`write_one`) and is built from the archive step (`archive`) and the queue step (`queue`). Defines `source`, `candidate`, `dictionary` and 20 more. - What it does: It tests its inputs. Defines 23 functions or classes, including source, candidate, dictionary, archive, queue. Uses libraries copy, hashlib, sys, tempfile, unittest. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file admitted-queue-archive.json; JSON file dictionary.json. - Downstream impact: Used directly by 1 file: VEDIC Anatomy Workflow (vedic-). - Signatures: `source(raw, path="engine/test.py", first=1, last=5)`; `candidate(word="FIRST COMMAND", symbol="firstCommand", first=10)`; `dictionary()`; `archive()`; `queue(*records)`; `policy_modules(canonical)`; `class AdmissionTests`; `test_bad_record_does_not_consume_id(self)`; `test_bounded_drain_and_exact_replay(self)`; `test_duplicate_symbol_and_source(self)`; `test_check_failure_rolls_back(self)`; `check(candidate)`; `test_archive_tamper(self)`; `test_legacy_prefix_is_immutable(self)`; `test_new_candidates_refuse_dangling_human_review(self)`; `test_policy_reproduction_rejects_changed_contract_even_with_recomputed_receipt(self)`; `test_stage_proposal_does_not_expose_incomplete_pair(self)`; `write_one(path, value)`; `class SourceBoundaryTests`; `test_python_requires_exact_top_level_span_including_decorator(self)`; `test_javascript_masks_strings_and_refuses_inner_brace_as_end(self)`; `test_javascript_refuses_unbalanced_and_unsupported_source(self)`; `test_reviewed_initializer_requires_complete_unique_assignment(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file admitted-queue-archive.json; JSON file dictionary.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### VEDIC Test Translation - File: vedic-/tools/test_translation.py (Python, 40 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/test_translation.py#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1681.html#f1 - Synopsis: A test in the tools folder that checks VEDIC Validate Translation. It is built from the translation tests class (`TranslationTests`). - What it achieves (name): Defines `TranslationTests`, `test_valid`, `test_unknown_target` and 4 more. - What it does: It tests its inputs. Defines 7 functions or classes, including TranslationTests, test_valid, test_unknown_target, test_false_identity, test_false_proof. Uses libraries copy, json, hashlib, unittest, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file translation-geodesy.json; JSON file anatomy.json. - Downstream impact: Used directly by 1 file: VEDIC Anatomy Workflow (vedic-). - Signatures: `class TranslationTests`; `test_valid(self)`; `test_unknown_target(self)`; `test_false_identity(self)`; `test_false_proof(self)`; `test_duplicate(self)`; `test_source(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file translation-geodesy.json; JSON file anatomy.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### VEDIC Test V2 Allocation - File: vedic-/tools/test_v2_allocation.py (Python, 36 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/test_v2_allocation.py#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/1681.html#f2 - Synopsis: A test in the tools folder that checks VEDIC Validate V2 Allocation and VEDIC Validate Dictionary. It sets up (`setUp`) and is built from the v2 tests class (`V2Tests`). - What it achieves (comment): Mutation checks for deterministic V2 allocation, independent of the online gate. It reads `data/tacit15-v2-candidate-decisions.json`. - What it does: It tests its inputs. Defines 7 functions or classes, including V2Tests, setUp, test_deterministic_allocation, test_old_entry_mutation, test_duplicate_source. Uses libraries copy, json, unittest, hashlib. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file tacit15-v2-candidate-decisions.json; JSON file tacit15-v2-allocation.json; JSON file dictionary.json. - Downstream impact: Used directly by 1 file: VEDIC Anatomy Workflow (vedic-). - Signatures: `class V2Tests`; `setUp(self)`; `test_deterministic_allocation(self)`; `test_old_entry_mutation(self)`; `test_duplicate_source(self)`; `test_wrong_blob(self)`; `test_wrong_span(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file tacit15-v2-candidate-decisions.json; JSON file tacit15-v2-allocation.json; JSON file dictionary.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### VEDIC Validate Anatomy - File: vedic-/tools/validate_anatomy.py (Python, 72 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/validate_anatomy.py#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/1681.html#f3 - Synopsis: A Python command-line tool in the tools folder that validates VEDIC's read-only anatomy against the pinned producer manifest, using SHA-256. It is built from the get step (`get`). - What it achieves (name): Defines `require`, `validate`, `online` and 1 more. It accepts `--online`. - What it does: It fetches data. Defines require, validate, online, get. Uses libraries argparse, hashlib, json, re, pathlib. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file current.json; JSON file anatomy.json; command-line arguments. - Downstream impact: Used directly by 2 files: VEDIC Test Anatomy (vedic-); VEDIC Anatomy Workflow (vedic-). - Signatures: `require(ok, message)`; `validate(d)`; `online(d)`; `get(path)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file anatomy.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### VEDIC Validate Dictionary - File: vedic-/tools/validate_dictionary.py (Python, 122 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/validate_dictionary.py#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/1681.html#f4 - Synopsis: A Python command-line tool in the tools folder that fetches translation geodesy. It verifies source entries (`verify_source_entries`) and is built from the require step (`require`) and the validate step (`validate`). - What it achieves (comment): Validate the append-only VEDIC dictionary and its initial composition. It accepts `--prior` and `--online`. - What it does: It fetches translation geodesy. Defines require, validate, verify_source_entries, reader. Uses libraries json, hashlib, re, urllib.parse, datetime. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file dictionary.json; JSON file translation-geodesy.json; command-line arguments. - Downstream impact: Used directly by 7 files: VEDIC Allocate Commands (vedic-); VEDIC Family Pulse (vedic-); VEDIC Source Admissions (vedic-); VEDIC Test Dictionary (vedic-); and 3 more. Reached from 7 other entry points, including VEDIC Modular Consumer Workflow (vedic-); VEDIC Daily Operations (vedic-); VEDIC Daily Source Policy (vedic-). - Signatures: `require(ok, message)`; `validate(d, translations, prior=None)`; `verify_source_entries(d, reader=None)`; `reader(repo, commit, path)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file dictionary.json; JSON file translation-geodesy.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 7; mentioned by 0 ### VEDIC Validate Graph - File: vedic-/tools/validate_graph.py (Python, 78 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/validate_graph.py#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/1681.html#f5 - Synopsis: A Python command-line tool in the tools folder that reads nearest spider and translation geodesy. - What it achieves (comment): It validates aliases (`validate_aliases`) and is built from the validate step (`validate`) and the excerpt step (`excerpt`). Validate the initial static dependency graph. It accepts `--online`. - What it does: It loads nearest spider and translation geodesy. Defines validate, excerpt, occurrence_key, validate_aliases. Uses libraries argparse, hashlib, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file nearest-spider.json; JSON file translation-geodesy.json; command-line arguments. - Downstream impact: Used directly by 2 files: VEDIC Test Graph (vedic-); VEDIC Anatomy Workflow (vedic-). - Signatures: `validate(g, reader=None)`; `excerpt(s)`; `occurrence_key(source)`; `validate_aliases(graph, catalogue)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file nearest-spider.json; JSON file translation-geodesy.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### VEDIC Validate Translation - File: vedic-/tools/validate_translation.py (Python, 65 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/validate_translation.py#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/1681.html#f6 - Synopsis: A Python command-line tool in the tools folder that fetches translation geodesy and anatomy from raw.githubusercontent.com. - What it achieves (comment): It verifies source (`verify_source`) and is built from the require step (`require`) and the validate step (`validate`). Fail closed on unsupported VEDIC translation claims; read-only source check. It accepts `--online`. - What it does: It fetches translation geodesy and anatomy. Defines require, validate, verify_source, fetch. Uses libraries argparse, hashlib, json, re, pathlib. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: raw.githubusercontent.com; JSON file translation-geodesy.json; JSON file anatomy.json; command-line arguments. - Downstream impact: Used directly by 8 files: VEDIC Verify Reuse Routes (vedic-); VEDIC Source Admissions (vedic-); VEDIC Stage Demo (vedic-); VEDIC Test Translation (vedic-); and 4 more. Reached from 12 other entry points, including VEDIC Modular Consumer Workflow (vedic-); VEDIC Allocate Commands (vedic-); VEDIC Daily Operations (vedic-). - Signatures: `require(condition, message)`; `validate(data, anatomy)`; `verify_source(data, reader)`; `fetch(repo, commit, path)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: raw.githubusercontent.com; JSON file translation-geodesy.json; JSON file anatomy.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 8; mentioned by 0 ### VEDIC Validate V2 Allocation - File: vedic-/tools/validate_v2_allocation.py (Python, 86 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/validate_v2_allocation.py#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/1681.html#f7 - Synopsis: A Python command-line tool in the tools folder that verifies receipt (`verify_receipt`), covering translation geodesy, tacit15 candidate decisions, tacit15 allocation and dictionary, using SHA-256. - What it achieves (comment): It is built from the read step (`read`), the git bytes helper (`git_bytes`) and the git blob helper (`git_blob`). Deterministic V2 allocation and source/licence replay; never writes permanent IDs outside this recipe. It reads `data/translation-geodesy.json`. It accepts `--online`. - What it does: Defines 6 functions or classes, including read, git_bytes, git_blob, allocate, verify_receipt. Uses libraries argparse, hashlib, json, subprocess, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file translation-geodesy.json; JSON file tacit15-v2-candidate-decisions.json; JSON file tacit15-v2-allocation.json; JSON file dictionary.json; command-line arguments. - Downstream impact: Used directly by 3 files: VEDIC Allocate Commands (vedic-); VEDIC Test V2 Allocation (vedic-); VEDIC Anatomy Workflow (vedic-). Reached from 3 other entry points, including VEDIC Modular Consumer Workflow (vedic-); VEDIC Daily Operations (vedic-); VEDIC Test Daily Operations (vedic-). - Signatures: `read(path)`; `git_bytes(ref, path)`; `git_blob(raw)`; `allocate(previous, receipt, allocation)`; `verify_receipt(receipt, allocation, current, old, online=False, reader=fetch)`; `main()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file translation-geodesy.json; JSON file tacit15-v2-candidate-decisions.json; JSON file tacit15-v2-allocation.json; JSON file dictionary.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 3; mentioned by 0 ### VEDIC Verify Published - File: vedic-/tools/verify_published.py (Python, 32 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/verify_published.py#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/1681.html#f8 - Synopsis: A Python module in the tools folder that verifies public Pages files match exact staged bytes; fail if unavailable, using SHA-256. - What it does: It fetches data. Uses libraries hashlib, os, time, pathlib, urllib.parse. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: VEDIC Anatomy Workflow (vedic-). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### VEDIC Verify Semantic Reuse - File: vedic-/tools/verify_semantic_reuse.mjs (JavaScript, 87 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/tools/verify_semantic_reuse.mjs#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/1681.html#f9 - Synopsis: A JavaScript module in the tools folder that works with git file (`gitFile`) (units: kV, MVA). It is built from the git file helper (`gitFile`) and the load step (`load`). - What it achieves (comment): Replay selected compiled Stars functions and the original firm-capacity engine. - What it does: Defines gitFile, load. Uses libraries node:assert/strict, node:child_process, node:crypto, node:fs, node:os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `gitFile(repo, commit, path, blob)`; `load(name, raw)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Spider Sandbox - File: ventus-grid-engine/spider-sandbox.html (HTML, 296 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/spider-sandbox.html#L1-L296 - Page: https://code.globalgrid2050.com/explore-code/s/1682.html#f1 - Published at: https://ventusltd.github.io/ventus-grid-engine/spider-sandbox.html - Synopsis: A web page in Ventus Grid Engine that draws engine graph and uses data from Elexon Balancing Mechanism Reporting Service (BMRS) and the spiders and data-federation-map-for-GlobalGrid2050-all-repos repositories. Published at https://ventusltd.github.io/ventus-grid-engine/spider-sandbox.html. - What it achieves (comment): It applies root links (`applyRootLinks`), rebuilds select (`rebuildSelect`) and opens URL (`openUrl`). Ventus Global Grid 2050. It responds to change and click events. - What it does: It draws engine graph and solar. Defines 19 functions or classes, including applyRootLinks, S, rebuildSelect, actionable, openUrl. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar. - Inputs & outputs: In: data source: spiders data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: Elexon BMRS; JSON file nodes.json; JSON file edges.json; JSON file engine-graph.json; DuckDB queries; form fields (user input). Out: web page; SVG drawing. - Downstream impact: Used directly by 1 file: Dashboard (ventus-grid-engine). It is itself an entry point, published at https://ventusltd.github.io/ventus-grid-engine/spider-sandbox.html. - Signatures: `applyRootLinks(nodes)`; `S()`; `rebuildSelect()`; `actionable(n)`; `openUrl(u)`; `handleTap(i)`; `drillInto(childKey)`; `popTo(idx)`; `neighbours(idx)`; `cardInner(node,opts={})`; `goLabel(n)`; `setHint()`; `setCrumbs()`; `draw()`; `drawColumn(focus,out,inc)`; `marker(defs,type)`; `distribute(items,side,cx,cy,gap,xGap)`; `drawSpider(focus,out,inc)`; `enableDragPan(el)`; `reshapeNodes(fc)`; `loadJSON(path)`; `loadRoot()`; `loadContents()`; `placeholderScope(title,path)`; `resolveRef(ids,r)` (and 4 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: spiders data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: Elexon BMRS; JSON file nodes.json; JSON file edges.json; JSON file engine-graph.json; DuckDB queries; form fields (user input)]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 3 estate files (stylesheet 1, script-src 1, estate-url 1); used by 1; mentioned by 0 ### Manifest Proof - File: ventus-grid-engine/spider/manifest.proof.mjs (JavaScript, 119 lines) · role docs-config · stage ingest · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/spider/manifest.proof.mjs#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/1682.html#f2 - Synopsis: A JavaScript module in the spider folder of Ventus Grid Engine that strips bom (`stripBom`). - What it achieves (comment): It is built from the arg step (`arg`), the load step (`load`) and the strip bom helper (`stripBom`). Every graph `spider/manifest.json` lists is fetched, and every count the manifest states is compared with what that path serves. - What it does: It fetches data. Defines 6 functions or classes, including arg, load, stripBom, count, statedCounts. Uses libraries node:fs, node:url, node:path. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file manifest.negative.json; command-line arguments. - Downstream impact: Used directly by 1 file: Spider Features Workflow (ventus-grid-engine). - Signatures: `arg(name)`; `load(path)`; `stripBom(text)`; `count(raw)`; `statedCounts(entry)`; `check(manifest)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file manifest.negative.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Overview - File: ventus-grid-engine/spider/overview.py (Python, 78 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/spider/overview.py#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/1682.html#f3 - Synopsis: A Python module in the spider folder of Ventus Grid Engine that writes the front door: one graph whose cards are every graph the manifest lists. - What it achieves (name): Defines `repo_of`. - What it does: It loads data. Defines repo_of. Uses libraries datetime, json, pathlib, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file overview.json. - Downstream impact: Used directly by 1 file: Spider Features Workflow (ventus-grid-engine). - Signatures: `repo_of(entry)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file overview.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Receiver Proof - File: ventus-grid-engine/spider/receiver.proof.mjs (JavaScript, 296 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/spider/receiver.proof.mjs#L1-L296 - Page: https://code.globalgrid2050.com/explore-code/s/1683.html#f1 - Synopsis: A JavaScript module in the spider folder of Ventus Grid Engine that runs suite (`runSuite`). - What it achieves (comment): It runs suite (`runSuite`) and is built from the check step (`check`) and the with page helper (`withPage`). The Spider Sandbox receiver held to the same format as the reference it copies: `spider_full_po_test.html` in `data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/`. - What it does: It fetches data. Defines check, withPage, runSuite, c. Uses libraries node:url, node:path, playwright. Side effects: changes the web page (DOM); makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `check(name, condition)`; `withPage(browser, viewport, fn)`; `runSuite(label, browserType)`; `c(name, condition)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Sources - File: ventus-grid-engine/spider/sources.yml (YAML, 16 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/spider/sources.yml#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/1683.html#f2 - Synopsis: A configuration file in the spider folder of Ventus Grid Engine using data from the stars and code-generator repositories. - What it achieves (comment): Where the Spider dashboard learns about new graphs. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Update Manifest - File: ventus-grid-engine/spider/update_manifest.py (Python, 144 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/spider/update_manifest.py#L1-L144 - Page: https://code.globalgrid2050.com/explore-code/s/1683.html#f3 - Synopsis: A Python module in the spider folder of Ventus Grid Engine that reads graph (`read_graph`). - What it achieves (comment): It is built from the fetch step (`fetch`), the count step (`count`) and the measure step (`measure`). Add newly published graphs to the Spider dashboard's manifest, once they are proven reachable. - What it does: It fetches data. Defines fetch, count, read_graph, measure. Uses libraries datetime, json, os, pathlib, sys. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Spider Features Workflow (ventus-grid-engine). - Signatures: `fetch(url, timeout=25)`; `count(raw)`; `read_graph(path)`; `measure(entry)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### 132kV Watch Workflow - File: 132kV/.github/workflows/watch.yml (YAML, 43 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/132kV/blob/7c48a05136993a09b2cd69c7ebfd39882790a553/.github/workflows/watch.yml#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1684.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, on a schedule and by hand. - What it achieves (comment): Runs 132kV Capacity (`tools/capacity.py`) and 132kV Watch Catalogue (`tools/watch_catalogue.py`). - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 132kV. - Inputs & outputs: Out: commits pushed to the repository. Voltage levels named: 132kV. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [132kV] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### 132kV Capacity - File: 132kV/tools/capacity.py (Python, 43 lines) · role energy-data · stage ingest · entry point - Source: https://github.com/Ventusltd/132kV/blob/7c48a05136993a09b2cd69c7ebfd39882790a553/tools/capacity.py#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1684.html#f2 - Synopsis: A Python command-line tool in the tools folder that calculates three-phase power (units: kV, MVA), covering cables, using IEC 60287. It is built from the table step (`table`). - What it achieves (comment): What a three phase circuit carries, from arithmetic alone. - What it does: Defines table, main. Uses libraries io, math, os, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: cables. README: "The full table for 11 kV to 400 kV is `data/capacity.tsv`, made by `tools/capacity.py` and checked on every push." - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: 132kV Watch Workflow (132kV). - Signatures: `table()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### 132kV Watch Catalogue - File: 132kV/tools/watch_catalogue.py (Python, 107 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/132kV/blob/7c48a05136993a09b2cd69c7ebfd39882790a553/tools/watch_catalogue.py#L1-L107 - Page: https://code.globalgrid2050.com/explore-code/s/1684.html#f3 - Synopsis: A Python command-line tool in the tools folder that fetches 132kV and cables from UK Power Networks open data. - What it achieves (comment): It is built from the catalogue step (`catalogue`) and the last step (`last`). Which public datasets describe the 132kV network, and when do they change. Its code works with 132 kV. - What it does: It fetches 132kV and cables. Defines catalogue, last, main. Uses libraries io, json, os, sys, time. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 132kV, cables. README: "Once a day `tools/watch_catalogue.py` runs on GitHub's own machine and asks a network operator's public open data catalogue which datasets mention 132 kV." - Inputs & outputs: In: data source: UK Power Networks open data; command-line arguments. Voltage levels named: 132kV. - Downstream impact: Used directly by 1 file: 132kV Watch Workflow (132kV). - Signatures: `catalogue()`; `last(path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: UK Power Networks open data; command-line arguments]; out []; crs []; voltages [132kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Verify Derived Workflow - File: cable-trench-or-drill/.github/workflows/verify-derived.yml (YAML, 42 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/.github/workflows/verify-derived.yml#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1684.html#f4 - Synopsis: A GitHub Actions workflow in Cable Trench or Drill. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Verify derived Cable cartridge provenance”; runs Test Verify Derived (`tools/test_verify_derived.py`) and Verify Derived (`tools/verify_derived.py`). - What it does: It runs cables. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: JSON file derived-latest.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file derived-latest.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### Verify Original Workflow - File: cable-trench-or-drill/.github/workflows/verify-original.yml (YAML, 40 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/.github/workflows/verify-original.yml#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1684.html#f5 - Synopsis: A GitHub Actions workflow in Cable Trench or Drill. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Verify original Cable Geometry baseline”; runs Test Verify (`tools/test_verify.py`) and Verify (`tools/verify.py`). - What it does: It runs cables. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Verify Route Constraints Workflow - File: cable-trench-or-drill/.github/workflows/verify-route-constraints.yml (YAML, 67 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/cable-trench-or-drill/blob/bf00f9503ff7a662933775a022557c4ca9d9880a/.github/workflows/verify-route-constraints.yml#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/1684.html#f6 - Synopsis: A GitHub Actions workflow in Cable Trench or Drill. Runs on push, on pull requests and on a schedule. - What it achieves (comment): Named “Verify route-constraint cartridge and its engine pin”; runs Route Constraints Test (`tools/route-constraints.test.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file engine-pin.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file engine-pin.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Claude Verify Memory Store Workflow - File: claude/.github/workflows/202609031030-verify-memory-store.yml (YAML, 77 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/.github/workflows/202609031030-verify-memory-store.yml#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1684.html#f7 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and on a schedule. - What it achieves (comment): The loop that makes the memory-store discipline enforced rather than documented. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: DuckDB queries. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Claude Estate Link Crawl Workflow - File: claude/.github/workflows/202609032340-estate-link-crawl.yml (YAML, 182 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/.github/workflows/202609032340-estate-link-crawl.yml#L1-L182 - Page: https://code.globalgrid2050.com/explore-code/s/1684.html#f8 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, on a schedule and by hand. - What it achieves (comment): The crawl that finds a dead link before a user does. - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Claude CI History Mine Workflow - File: claude/.github/workflows/202609032345-ci-history-mine.yml (YAML, 114 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/.github/workflows/202609032345-ci-history-mine.yml#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/1685.html#f1 - Synopsis: A GitHub Actions workflow. Runs on push, on a schedule and by hand. - What it achieves (comment): The whole CI history of every repository, not just its last run. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Claude Clean Clone Byte Survey Workflow - File: claude/.github/workflows/202609032350-clean-clone-byte-survey.yml (YAML, 131 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/.github/workflows/202609032350-clean-clone-byte-survey.yml#L1-L131 - Page: https://code.globalgrid2050.com/explore-code/s/1685.html#f2 - Synopsis: A GitHub Actions workflow. Runs on push, on a schedule and by hand. - What it achieves (comment): The byte questions, asked where the bytes are true. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Claude Llama Cpu Benchmark Workflow - File: claude/.github/workflows/202609032355-llama-cpu-benchmark.yml (YAML, 215 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/claude/blob/df9da02425fdf0c65d11a84f32cd9b3ef927b309/.github/workflows/202609032355-llama-cpu-benchmark.yml#L1-L215 - Page: https://code.globalgrid2050.com/explore-code/s/1685.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand and on release. - What it achieves (comment): Can a GitHub runner run a model? - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file bench.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file bench.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Generate Workflow - File: code-generator/.github/workflows/generate.yml (YAML, 84 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/.github/workflows/generate.yml#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/1685.html#f4 - Synopsis: A GitHub Actions workflow in Code Generator using data from the stars repository. Runs by hand. - What it achieves (comment): Runs Generate (`generate.mjs`), Check Assembly (`tools/check-assembly.mjs`) and Raise Work Orders (`tools/raise-work-orders.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: data source: stars data. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 3, estate-url 1); used by 0; mentioned by 0 ### Check Assembly - File: code-generator/tools/check-assembly.mjs (JavaScript, 57 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/tools/check-assembly.mjs#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/1685.html#f5 - Synopsis: A JavaScript module in the tools folder of Code Generator that reads parts. - What it achieves (comment): Check an assembled app without a browser. - What it does: It loads parts. Uses libraries node:fs, node:child_process, node:path, node:vm. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: README: "`tools/check-assembly.mjs` is the workflow's check of the assembly page: its plan and script must parse, every planned file must exist, and every name still needed must have a labelled input, or the run fails." - Inputs & outputs: In: JSON file parts.json; form fields (user input); command-line arguments. - Downstream impact: Used directly by 1 file: Generate Workflow (code-generator). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file parts.json; form fields (user input); command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Raise Work Orders - File: code-generator/tools/raise-work-orders.mjs (JavaScript, 47 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/tools/raise-work-orders.mjs#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1685.html#f6 - Synopsis: A JavaScript module in the tools folder of Code Generator. - What it achieves (comment): Raise one GitHub issue per new work order.json ...] A request that already records an issue is left alone. - What it does: It loads data. Defines gh. Uses libraries node:fs, node:child_process, node:path. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Generate Workflow (code-generator). - Signatures: `gh(args, input)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Normalise Companies Candidate - File: companies/.github/workflow-history/202608271634-normalise-companies-candidate.yml (YAML, 201 lines) · role automation · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/.github/workflow-history/202608271634-normalise-companies-candidate.yml#L1-L201 - Page: https://code.globalgrid2050.com/explore-code/s/1686.html#f1 - Synopsis: A configuration file in the workflow history folder. Runs by hand. - What it achieves (comment): Runs Test Candidate Semantics (`tests/test_202608271634_candidate_semantics.py`) and `build/python/202608271634-normalise-companies-candidate.py`. - What it does: It loads data. Side effects: uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: DuckDB queries. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Bounded Companies House Candidate - File: companies/.github/workflow-history/202608272155-bounded-companies-house-candidate.yml (YAML, 423 lines) · role automation · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/.github/workflow-history/202608272155-bounded-companies-house-candidate.yml#L1-L423 - Page: https://code.globalgrid2050.com/explore-code/s/1686.html#f2 - Synopsis: A configuration file in the workflow history folder that reads the Renewable Energy Planning Database (REPD) register. Runs on push. - What it achieves (comment): Runs Test Bounded Companies House (`tests/test_202608271507_bounded_companies_house.py`), Test Document Ceiling (`tests/test_202608272016_document_ceiling.py`) and `tests/test_202608272035_company_identity_and_grains.py`. - What it does: It loads the REPD register. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file manifest-v2.json; DuckDB queries. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file manifest-v2.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### Resume Bounded Companies House Candidate - File: companies/.github/workflow-history/202608280327-resume-bounded-companies-house-candidate.yml (YAML, 345 lines) · role automation · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/.github/workflow-history/202608280327-resume-bounded-companies-house-candidate.yml#L1-L345 - Page: https://code.globalgrid2050.com/explore-code/s/1687.html#f1 - Synopsis: A configuration file in the workflow history folder that fetches the Renewable Energy Planning Database (REPD) register from GitHub API. Runs on push. - What it achieves (comment): Runs `build/python/202608262245-merge-accounts.py`, `build/python/202608272155-download-planned-archive.py` and `build/python/202608272155-extract-bounded-accounts.py`. - What it does: It fetches the REPD register. Side effects: makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: GitHub API; JSON file manifest-v2.json; DuckDB queries. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file manifest-v2.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Resume Compressed Companies House Candidate - File: companies/.github/workflow-history/202608280744-resume-compressed-companies-house-candidate.yml (YAML, 404 lines) · role automation · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/.github/workflow-history/202608280744-resume-compressed-companies-house-candidate.yml#L1-L404 - Page: https://code.globalgrid2050.com/explore-code/s/1687.html#f2 - Synopsis: A configuration file in the workflow history folder that fetches the Renewable Energy Planning Database (REPD) register from GitHub API. Runs on push. - What it achieves (comment): Runs `build/python/202608262245-merge-accounts.py`, `build/python/202608272155-download-planned-archive.py` and `build/python/202608272155-extract-bounded-accounts.py`. - What it does: It fetches the REPD register. Side effects: makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: GitHub API; JSON file manifest-v2.json; DuckDB queries. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file manifest-v2.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Compact Parquet Companies Candidate - File: companies/.github/workflow-history/202608281112-compact-parquet-companies-candidate.yml (YAML, 431 lines) · role automation · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/.github/workflow-history/202608281112-compact-parquet-companies-candidate.yml#L1-L431 - Page: https://code.globalgrid2050.com/explore-code/s/1688.html#f2 - Synopsis: A configuration file in the workflow history folder that fetches solar company Renewable Energy Planning Database (REPD) relationships, relationship report and relationship audit from GitHub API. Runs on push. - What it achieves (comment): Named “Compact Company REPD Relationship Candidate”; runs `build/python/202608281112-compact-parquet-companies.py`, `tests/test_202608281112_compact_parquet_companies.py` and `build/python/202608262245-merge-accounts.py`. - What it does: It fetches solar company REPD relationships, relationship report and relationship audit. Side effects: makes network requests; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: data source: GitHub API; Parquet file companies-v1.parquet; JSON file manifest-compact-v1.json; Parquet file company-repd-relationships-v1.parquet; Parquet file solar-company-repd-relationships-v1.parquet; JSON file relationship-report-v1.json; JSON file relationship-parquet-audit-v1.json; DuckDB queries. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API; Parquet file companies-v1.parquet; JSON file manifest-compact-v1.json; Parquet file company-repd-relationships-v1.parquet; Parquet file solar-company-repd-relationships-v1.parquet; JSON file relationship-report-v1.json; JSON file relationship-parquet-audit-v1.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Annual Companies House Refresh - File: companies/.github/workflow-history/annual-companies-house-refresh.yml (YAML, 146 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/.github/workflow-history/annual-companies-house-refresh.yml#L1-L146 - Page: https://code.globalgrid2050.com/explore-code/s/1688.html#f3 - Synopsis: A configuration file in the workflow history folder covering the Renewable Energy Planning Database (REPD) register. Runs by hand. - What it achieves (comment): Runs `build/python/202608262245-companies-house-source.py`, `build/python/202608262245-extract-accounts.py` and `build/python/202608262245-merge-accounts.py`. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Compact Parquet Companies Candidate Workflow - File: companies/.github/workflows/202608281337-compact-parquet-companies-candidate.yml (YAML, 468 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/.github/workflows/202608281337-compact-parquet-companies-candidate.yml#L1-L468 - Page: https://code.globalgrid2050.com/explore-code/s/1689.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site using data from GitHub API. Runs on push. - What it achieves (comment): Named “Key-Only Company Renewable Energy Planning Database (REPD) Relationship Candidate”; runs `build/python/202608281337-compact-parquet-companies.py`, Test Compact Parquet Companies (`tests/test_202608281337_compact_parquet_companies.py`) and `build/python/202608262245-merge-accounts.py`. - What it does: It builds and publishes the REPD register. Side effects: makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: GitHub API; JSON file 202608281337-compact-parquet-companies.json; Parquet file companies-v1.parquet; JSON file manifest-compact-v1.json; Parquet file company-repd-relationships-v1.parquet; Parquet file solar-company-repd-relationships-v1.parquet; JSON file relationship-report-v1.json; JSON file relationship-parquet-audit-v1.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file 202608281337-compact-parquet-companies.json; Parquet file companies-v1.parquet; JSON file manifest-compact-v1.json; Parquet file company-repd-relationships-v1.parquet; Parquet file solar-company-repd-relationships-v1.parquet; JSON file relationship-report-v1.json; JSON file relationship-parquet-audit-v1.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Build Atlas V9 Company Renewable Energy Planning Database (REPD) Links Workflow - File: companies/.github/workflows/202608300232-build-atlas-v9-company-repd-links.yml (YAML, 15 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/.github/workflows/202608300232-build-atlas-v9-company-repd-links.yml#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/1689.html#f2 - Synopsis: A GitHub Actions workflow in Companies. Runs by hand. - What it achieves (comment): Named “Retired row-level Companies Atlas URL build”. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Sync GridAtlas V9 Link Contract Workflow - File: companies/.github/workflows/202608300312-sync-gridatlas-v9-link-contract.yml (YAML, 262 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/.github/workflows/202608300312-sync-gridatlas-v9-link-contract.yml#L1-L262 - Page: https://code.globalgrid2050.com/explore-code/s/1690.html#f1 - Synopsis: A GitHub Actions workflow in Companies that builds and publishes the site using data from the GridAtlas repository. Runs on push, on a schedule and by hand. - What it achieves (comment): Named “Sync verified Grid Atlas V9 link contract”. - What it does: It builds and publishes the REPD register. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; Parquet file company-repd-relationships-v1.parquet; Parquet file solar-company-repd-relationships-v1.parquet. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; Parquet file company-repd-relationships-v1.parquet; Parquet file solar-company-repd-relationships-v1.parquet]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Bound Hourly GridAtlas Link Mission Workflow - File: companies/.github/workflows/202608300327-bound-hourly-gridatlas-link-mission.yml (YAML, 111 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/.github/workflows/202608300327-bound-hourly-gridatlas-link-mission.yml#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/1690.html#f2 - Synopsis: A GitHub Actions workflow in Companies. Runs on push and by hand. - What it achieves (comment): Named “Bound hourly Companies Atlas V9 mission”. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Dispatch Exact Atlas Link Contract Workflow - File: companies/.github/workflows/202608300418-dispatch-exact-atlas-link-contract.yml (YAML, 83 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/.github/workflows/202608300418-dispatch-exact-atlas-link-contract.yml#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/1690.html#f3 - Synopsis: A GitHub Actions workflow in Companies using data from GitHub API and the GridAtlas repository. Runs on push and by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data; data source: GitHub API. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: GitHub API]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Bootstrap Five Hour Key Only Atlas Mission Workflow - File: companies/.github/workflows/202608300430-bootstrap-five-hour-key-only-atlas-mission.yml (YAML, 13 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/.github/workflows/202608300430-bootstrap-five-hour-key-only-atlas-mission.yml#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/1690.html#f4 - Synopsis: A GitHub Actions workflow in Companies. Runs by hand. - What it achieves (comment): Named “Retired Companies bootstrap wrapper”. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Five Hour Key Only Atlas Watchdog Workflow - File: companies/.github/workflows/202608300435-five-hour-key-only-atlas-watchdog.yml (YAML, 164 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/companies/blob/1371da4d0166eef13f98fc3847c5bb1e38e8f571/.github/workflows/202608300435-five-hour-key-only-atlas-watchdog.yml#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/1690.html#f5 - Synopsis: A GitHub Actions workflow in Companies using data from the GridAtlas repository. Runs on push, on a schedule and by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data. Out: JSON file key-only-atlas-proof.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data]; out [JSON file key-only-atlas-proof.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Workflow - File: compass/.github/workflows/verify.yml (YAML, 20 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/compass/blob/e200c888acbcc7af59d7cc38b29806e90b0a50db/.github/workflows/verify.yml#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1690.html#f6 - Synopsis: A GitHub Actions workflow in Compass. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Compass source isolation and replay”; runs Verify Source Pins (`scripts/verify-source-pins.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage field_execution (repository name word 'compass'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### Verify Source Pins - File: compass/scripts/verify-source-pins.mjs (JavaScript, 10 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/compass/blob/e200c888acbcc7af59d7cc38b29806e90b0a50db/scripts/verify-source-pins.mjs#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/1690.html#f7 - Synopsis: A JavaScript module in the scripts folder of Compass. - What it achieves (name): Its name says it verifies source pins. It reads `upstream/source-pins.json`. - What it does: It loads data. Uses libraries node:fs, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (repository name word 'compass'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file source-pins.json. - Downstream impact: Used directly by 1 file: Verify Workflow (compass). - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file source-pins.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Compass Test - File: compass/tests/compass.test.mjs (JavaScript, 53 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/compass/blob/e200c888acbcc7af59d7cc38b29806e90b0a50db/tests/compass.test.mjs#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1691.html#f1 - Synopsis: A test in the tests folder that checks Compass. - What it achieves (name): Defines `request`. - What it does: It tests its inputs. Defines request. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage field_execution (path word 'compass'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Verify Workflow (compass). - Signatures: `request(mode)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### CI Chess Workflow - File: cosmic/.github/workflows/ci-chess.yml (YAML, 105 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/.github/workflows/ci-chess.yml#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/1691.html#f2 - Synopsis: A GitHub Actions workflow in Cosmic. Runs on push and by hand. - What it achieves (comment): Advisory new-code + chess gate on every push (GAUNTLET-17, adopted by CAPSTAN-41). - What it does: It runs automated jobs on GitHub Actions. Side effects: makes network requests; starts processes. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### Explore Code Workflow - File: cosmic/.github/workflows/explore-code.yml (YAML, 147 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/.github/workflows/explore-code.yml#L1-L147 - Page: https://code.globalgrid2050.com/explore-code/s/1691.html#f3 - Synopsis: A GitHub Actions workflow in Cosmic that builds and publishes the site. Runs on push, on a schedule and by hand. - What it achieves (comment): Runs `cosmic/tools/explore/build.py`, `cosmic/tools/explore/clean/ci.py` and `cosmic/tools/explore/visualise.py`; publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: DuckDB queries. Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### LiDAR Tr06 Workflow - File: cosmic/.github/workflows/lidar-tr06.yml (YAML, 141 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/cosmic/blob/51bebf892d63a617408bc5e25b270b9f893e9c03/.github/workflows/lidar-tr06.yml#L1-L141 - Page: https://code.globalgrid2050.com/explore-code/s/1691.html#f4 - Synopsis: A GitHub Actions workflow in Cosmic that builds and publishes the site. Runs by hand and on release. - What it achieves (comment): Runs LiDAR Fetch DTM (`tools/lidar/fetch_dtm.py`) and LiDAR Build Tiles (`tools/lidar/build_tiles.py`). - What it does: It builds and publishes LiDAR terrain. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage site_feasibility (path word 'lidar'): substation-to-site feasibility (terrain, LiDAR and connection evidence before design), a journey named in Ventus Ltd's brief. Domain terms in the code: LiDAR terrain. - Inputs & outputs: In: JSON file index.json; JSON file sources.json; JSON file probe.json. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), WGS84 / EPSG:4326, Web Mercator / EPSG:3857. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: site_feasibility · commercial_user: IPP_developer, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file sources.json; JSON file probe.json]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); WGS84 / EPSG:4326; Web Mercator / EPSG:3857]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### CVAA Inoculate Workflow - File: cvaa/.github/workflows/202608301446-inoculate.yml (YAML, 37 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/.github/workflows/202608301446-inoculate.yml#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/1691.html#f5 - Synopsis: A GitHub Actions workflow. Runs when called. - What it achieves (comment): Runs CVAA Selftest (`tools/selftest.mjs`) and `../cvaa/inoculate.mjs`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'cvaa'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### CVAA Selftest Workflow - File: cvaa/.github/workflows/202608301447-selftest.yml (YAML, 115 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/.github/workflows/202608301447-selftest.yml#L1-L115 - Page: https://code.globalgrid2050.com/explore-code/s/1691.html#f6 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Self-test and full-history fleet audit”; runs CVAA Selftest (`tools/selftest.mjs`), CVAA Inoculate (`inoculate.mjs`) and `cvaa/tools/fleet.mjs`. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'cvaa'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file fleet.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file fleet.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### CVAA Consumer Workflow Template - File: cvaa/consumer-workflow-template.yml (YAML, 18 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/consumer-workflow-template.yml#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1691.html#f7 - Synopsis: A configuration file that copies to `/.github/workflows/` `-inoculate.yml`. Runs on push, on pull requests and on a schedule. - What it achieves (comment): That is the whole integration. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'cvaa'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### CVAA Antibody Runner - File: cvaa/tools/antibody-runner.mjs (JavaScript, 12 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/tools/antibody-runner.mjs#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1691.html#f8 - Synopsis: A JavaScript module in the tools folder. - What it achieves (comment): Runs one antibody. Receives {code, ctx} on stdin, prints {ok, r} or {ok:false, e}. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'cvaa'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Signatures: `antibody(0, eval)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### CVAA Fleet - File: cvaa/tools/fleet.mjs (JavaScript, 71 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/tools/fleet.mjs#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/1691.html#f9 - Synopsis: A JavaScript module in the tools folder. - What it achieves (comment): Immunity table across repositories. - What it does: It lists and searches its content. Uses libraries node:child_process, node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'cvaa'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `ordinal(seenNames.get(baseName) || 0)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### CVAA GPU Reuse Test - File: cvaa/tools/gpu-reuse.test.mjs (JavaScript, 58 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/tools/gpu-reuse.test.mjs#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/1692.html#f1 - Synopsis: A test in the tools folder. - What it achieves (name): Defines `healthy`. - What it does: It tests its inputs. Defines healthy. Uses libraries node:fs, node:test, node:assert/strict. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'cvaa'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file receipt.json. - Signatures: `antibody(await import('data:text/javascript;base64,' + Buffer.from(code).toString('base64')))`; `healthy()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file receipt.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### CVAA Grid First Critical Path Test - File: cvaa/tools/grid-first-critical-path.test.mjs (JavaScript, 86 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/tools/grid-first-critical-path.test.mjs#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/1692.html#f2 - Synopsis: A test in the tools folder that uses SHA-256. It is built from the healthy step (`healthy`), the seen step (`seen`) and the doc step (`doc`). - What it achieves (comment): Unit fixtures are synthetic, not browser results or evidence of a product cure. - What it does: It tests its inputs. Defines healthy, seen, doc, test. Uses libraries node:fs, node:url, node:path, node:vm, node:assert/strict. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'cvaa'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file grid-first-critical-path.json; JSON file neso-connection-sites.lean.json; GeoJSON file grid_substations.geojson; JSON file 202609132340-grid-first-observed.json; DuckDB queries. - Signatures: `healthy()`; `seen(t)`; `doc(ctx)`; `test(label, mutate, pattern)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file grid-first-critical-path.json; JSON file neso-connection-sites.lean.json; GeoJSON file grid_substations.geojson; JSON file 202609132340-grid-first-observed.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### CVAA Replay - File: cvaa/tools/replay.mjs (JavaScript, 15 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/tools/replay.mjs#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/1692.html#f3 - Synopsis: A JavaScript module in the tools folder. - What it does: It lists and searches its content. Defines sh. Uses libraries node:child_process. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'cvaa'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `sh(c)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### CVAA Runtime Endpoints Test - File: cvaa/tools/runtime-endpoints.test.mjs (JavaScript, 21 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/tools/runtime-endpoints.test.mjs#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1692.html#f4 - Synopsis: A test in the tools folder. - What it achieves (name): Defines `good` and `run`. - What it does: It tests its inputs. Defines good, run. Uses libraries node:test, node:assert/strict, node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'cvaa'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file probe.json; JSON file runtime-endpoints.json. - Signatures: `good()`; `run(document)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file probe.json; JSON file runtime-endpoints.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### CVAA Score - File: cvaa/tools/score.mjs (JavaScript, 25 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/tools/score.mjs#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1692.html#f5 - Synopsis: A JavaScript module in the tools folder. - What it achieves (name): Defines `agg`. - What it does: It loads data. Defines agg. Uses libraries node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'cvaa'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: command-line arguments. - Signatures: `agg(cls)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Seed Regression - File: cvaa/tools/seed-regression/seed_regression.py (Python, 355 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/tools/seed-regression/seed_regression.py#L1-L355 - Page: https://code.globalgrid2050.com/explore-code/s/1692.html#f6 - Synopsis: A Python command-line tool in the tools folder of CVAA that reads capture and routes, using SHA-256. It makes capture (`make_capture`), makes database (`make_database`) and sets up (`setUp`). - What it achieves (comment): CVAA bounded regressions against the published SEED instruments. It reads `economy/routes.json`. It accepts `--seed-root` and `--with-planner`. - What it does: It loads capture and routes. Defines 34 functions or classes, including SelectedReader, __init__, open, __enter__, __exit__. Uses libraries argparse, gc, hashlib, json, sqlite3. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'cvaa'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file capture-index.json; JSON file evidence.json; JSON file routes.json; JSON file universe.json; SQLite database; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `class SelectedReader`; `__init__(self, path, start, length)`; `open(self, mode)`; `__enter__(self)`; `__exit__(self, *args)`; `seek(self, offset)`; `read(self, size=-1)`; `make_capture(path, bodies)`; `make_database(path)`; `class SeedRegression`; `setUp(self)`; `seed(self, key, components=(), *, path="evidence.json", status="demonstrated")`; `initialise_fixture_catalogue(self, records)`; `test_metadata_only_deterministic_search_and_expansion_budget(self)`; `allowed_connect(name, *args, **kwargs)`; `test_registry_preserves_deterministic_contract_digest(self)`; `test_missing_and_cyclic_dependencies_rollback_metadata_and_postings(self)`; `test_refuses_evidence_outside_working_root(self)`; `test_selected_byte_range_and_cryptographic_identity(self)`; `test_refuses_corrupted_selected_bytes_and_offsets(self)`; `test_refuses_incomplete_capture_index(self)`; `test_index_closes_owned_read_only_connection(self)`; `class TrackingConnection`; `close(self)`; `test_composition_reconstructs_exact_history_read_only(self)` (and 9 more) - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file capture-index.json; JSON file evidence.json; JSON file routes.json; JSON file universe.json; SQLite database; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### State Regression - File: cvaa/tools/seed-regression/state_regression.py (Python, 106 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/tools/seed-regression/state_regression.py#L1-L106 - Page: https://code.globalgrid2050.com/explore-code/s/1692.html#f7 - Synopsis: A Python command-line tool in the seed regression folder of CVAA that reads same URL. - What it achieves (comment): It sets up (`setUp`) and is built from the state regression class (`StateRegression`) and the compare step (`compare`). CVAA cross-instrument checks for the next recursive SEED composition. It accepts `--seed-root` and `--composition-root`. - What it does: It loads same URL. Defines 10 functions or classes, including StateRegression, setUp, compare, mutate_index, test_recursive_witness_provenance_and_exact_scope. Uses libraries argparse, json, sys, tempfile, unittest. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'cvaa'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file same-url.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `class StateRegression`; `setUp(self)`; `compare(self, *, mechanism=None, limit=3, budget=500)`; `mutate_index(self, path, operation)`; `test_recursive_witness_provenance_and_exact_scope(self)`; `test_metadata_only_plan_opens_no_payload(self)`; `test_mechanism_budget_fails_before_payload_read(self)`; `test_refuses_duplicate_url_and_noncanonical_identity(self)`; `test_refuses_inconsistent_stars_identity(self)`; `test_refuses_selected_witness_corrupted_after_indexing(self)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file same-url.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### CVAA Selftest - File: cvaa/tools/selftest.mjs (JavaScript, 370 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/tools/selftest.mjs#L1-L370 - Page: https://code.globalgrid2050.com/explore-code/s/1693.html#f1 - Synopsis: A JavaScript module in the tools folder that reads legal evidence, serial release cutter, classification and promotion authority, using SHA-256. - What it achieves (comment): It is built from the gitify step (`gitify`), the legal fixture helper (`legalFixture`) and the run step (`run`). Every antibody must fire on its diseased fixture and stay silent on a clean one. Its code works with 100 kW. - What it does: It loads legal evidence, serial release cutter, classification and promotion authority. Defines 6 functions or classes, including w, gitify, legalFixture, CLEAN, run. Uses libraries node:fs, node:path, node:url, node:os, node:child_process. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'cvaa'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file legal-evidence.json; JSON file serial-release-cutter.json; JSON file source-classification.json; JSON file promotion-authority.json; JSON file observers.json; JSON file site-tile.json; JSON file gpu-reuse.json; JSON file star.json. - Downstream impact: Used directly by 2 files: CVAA Inoculate Workflow (cvaa); CVAA Selftest Workflow (cvaa). - Signatures: `w(root, p, s)`; `gitify(root, generation = '202608301700', extra = [])`; `legalFixture()`; `CLEAN(root)`; `run(root)`; `seedGpu()` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file legal-evidence.json; JSON file serial-release-cutter.json; JSON file source-classification.json; JSON file promotion-authority.json; JSON file observers.json; JSON file site-tile.json; JSON file gpu-reuse.json; JSON file star.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Data Centres Intelligence Candidate Workflow - File: data-centres-gb/.github/workflows/202608271727-data-centres-intelligence-candidate.yml (YAML, 149 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/data-centres-gb/blob/12c24a653e9d4eb3507857fd6e6d169b2dd1ff63/.github/workflows/202608271727-data-centres-intelligence-candidate.yml#L1-L149 - Page: https://code.globalgrid2050.com/explore-code/s/1693.html#f2 - Synopsis: A GitHub Actions workflow in Data Centres GB that builds and publishes the site. Runs by hand. - What it achieves (comment): Runs `build/python/202608271727-build-data-centres-intelligence.py` and `build/python/202608271727-verify-data-centres-intelligence.py`. - What it does: It builds and publishes its content. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file 202608271727-data-centres-intelligence.json; JSON file 202608271727-repository-context.json; JSON file 202608271727-data-centres-intelligence-source.json; Parquet file part-000.parquet; JSON file 202608271727-pipelinenews-data-centres.json; JSON file 202608271727-data-centres-intelligence-audit.json; DuckDB queries. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file 202608271727-data-centres-intelligence.json; JSON file 202608271727-repository-context.json; JSON file 202608271727-data-centres-intelligence-source.json; Parquet file part-000.parquet; JSON file 202608271727-pipelinenews-data-centres.json; JSON file 202608271727-data-centres-intelligence-audit.json; DuckDB queries]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### OSM Data Centres Candidate Workflow - File: data-centres-gb/.github/workflows/202608281702-osm-data-centres-candidate.yml (YAML, 231 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/data-centres-gb/blob/12c24a653e9d4eb3507857fd6e6d169b2dd1ff63/.github/workflows/202608281702-osm-data-centres-candidate.yml#L1-L231 - Page: https://code.globalgrid2050.com/explore-code/s/1694.html#f1 - Synopsis: A GitHub Actions workflow in Data Centres GB that builds and publishes the site. Runs on push. - What it achieves (comment): Named “· bytecode-clean indexed OSM candidate”; runs `build/python/202608281702-osm-overpass-indexed.py`. - What it does: It builds and publishes its content. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file 202608281702-osm-overpass-indexed.json; JSON file failed-run.json; JSON file failed-job.json; JSON file overpass-fetch.json; JSON file overpass-fetch-failure.json; Parquet file osm-data-centre-elements-v1.parquet; Parquet file data-centre-company-relationships-v1.parquet; GeoJSON file 202608281053-osm-data-centres.geojson. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file 202608281702-osm-overpass-indexed.json; JSON file failed-run.json; JSON file failed-job.json; JSON file overpass-fetch.json; JSON file overpass-fetch-failure.json; Parquet file osm-data-centre-elements-v1.parquet; Parquet file data-centre-company-relationships-v1.parquet; GeoJSON file 202608281053-osm-data-centres.geojson]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### CI Workflow - File: data-centres-gb/.github/workflows/ci.yml (YAML, 42 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/data-centres-gb/blob/12c24a653e9d4eb3507857fd6e6d169b2dd1ff63/.github/workflows/ci.yml#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1694.html#f2 - Synopsis: A GitHub Actions workflow in Data Centres GB. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Validate API and data law”. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Test Data Centres Intelligence - File: data-centres-gb/tests/test_202608271727_data_centres_intelligence.py (Python, 130 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/data-centres-gb/blob/12c24a653e9d4eb3507857fd6e6d169b2dd1ff63/tests/test_202608271727_data_centres_intelligence.py#L1-L130 - Page: https://code.globalgrid2050.com/explore-code/s/1694.html#f3 - Synopsis: A test in the tests folder of Data Centres GB. It sets up (`setUp`) and is built from the tear down helper (`tearDown`). - What it achieves (name): Defines `load_module`, `DataCentresIntelligenceCandidateTest`, `setUp` and 6 more. - What it does: It tests its inputs. Defines 9 functions or classes, including load_module, DataCentresIntelligenceCandidateTest, setUp, tearDown, test_two_builds_are_byte_identical_and_independently_verified. Uses libraries __future__, importlib.util, json, shutil, tempfile. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: Parquet file obsolete.parquet; Parquet file escape.parquet. Out: Parquet file obsolete.parquet. - Downstream impact: Used directly by 1 file: Data Centres Intelligence Candidate Workflow (data-centres-gb). - Signatures: `load_module(name: str, path: Path)`; `class DataCentresIntelligenceCandidateTest`; `setUp(self)`; `tearDown(self)`; `test_two_builds_are_byte_identical_and_independently_verified(self)`; `test_export_is_ordered_and_keeps_usage_separate_from_source_rights(self)`; `test_land_replaces_only_the_touched_partition(self)`; `test_export_tamper_is_rejected(self)`; `test_partition_escape_and_symlink_are_rejected(self)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [Parquet file obsolete.parquet; Parquet file escape.parquet]; out [Parquet file obsolete.parquet]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Spider Patch Po - File: data-federation-map-for-globalgrid2050-all-repos/.github/scripts/spider_patch_po.py (Python, 38 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/.github/scripts/spider_patch_po.py#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1694.html#f4 - Synopsis: A Python module in the scripts folder of Data Federation Map for GlobalGrid2050 All Repos. - What it achieves (name): Defines `patch`. - What it does: It loads data. Defines patch. Uses libraries os, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: Used directly by 1 file: Spider Full Po Branch Build Workflow (data-federation-map-for-globalgrid2050-all-repos). - Signatures: `patch(path, need_contents=False)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Archive Spider Version Workflow - File: data-federation-map-for-globalgrid2050-all-repos/.github/workflows/archive_spider_version.yml (YAML, 65 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/.github/workflows/archive_spider_version.yml#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/1694.html#f5 - Synopsis: A GitHub Actions workflow in Data Federation Map for GlobalGrid2050 All Repos. Runs by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Gridbot Declared Cartridges Workflow - File: data-federation-map-for-globalgrid2050-all-repos/.github/workflows/gridbot_declared_cartridges.yml (YAML, 140 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/.github/workflows/gridbot_declared_cartridges.yml#L1-L140 - Page: https://code.globalgrid2050.com/explore-code/s/1694.html#f6 - Synopsis: A GitHub Actions workflow in Data Federation Map for GlobalGrid2050 All Repos. Runs by hand. - What it achieves (comment): Runs Build Declared Cartridges (`scripts/build_declared_cartridges.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: DuckDB queries. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Gridbot Federation Map Weekly Workflow - File: data-federation-map-for-globalgrid2050-all-repos/.github/workflows/gridbot_federation_map_weekly.yml (YAML, 182 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/.github/workflows/gridbot_federation_map_weekly.yml#L1-L182 - Page: https://code.globalgrid2050.com/explore-code/s/1695.html#f1 - Synopsis: A GitHub Actions workflow in Data Federation Map for GlobalGrid2050 All Repos that builds and publishes the site. Runs on a schedule and by hand. - What it achieves (comment): Runs Build Federation Map (`scripts/build_federation_map.py`) and Publish Federation JSON (`scripts/publish_federation_json.py`). - What it does: It builds and publishes its content. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: DuckDB queries. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Po3 Split Gate Workflow - File: data-federation-map-for-globalgrid2050-all-repos/.github/workflows/po3_split_gate.yml (YAML, 201 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/.github/workflows/po3_split_gate.yml#L1-L201 - Page: https://code.globalgrid2050.com/explore-code/s/1695.html#f2 - Synopsis: A GitHub Actions workflow in Data Federation Map for GlobalGrid2050 All Repos. Runs by hand. - What it achieves (comment): Named “PO 3 Split Gate”. - What it does: It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file nodes.json; JSON file edges.json; JSON file PO3_SPLIT_GATE_LATEST.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file nodes.json; JSON file edges.json; JSON file PO3_SPLIT_GATE_LATEST.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Po3b Focus Card Apply Workflow - File: data-federation-map-for-globalgrid2050-all-repos/.github/workflows/po3b_focus_card_apply.yml (YAML, 71 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/.github/workflows/po3b_focus_card_apply.yml#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/1695.html#f3 - Synopsis: A GitHub Actions workflow in Data Federation Map for GlobalGrid2050 All Repos. Runs by hand. - What it achieves (comment): Named “PO 3B Focus Card Apply”. - What it does: It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Publish Spider Temp Sandbox Workflow - File: data-federation-map-for-globalgrid2050-all-repos/.github/workflows/publish_spider_temp_sandbox.yml (YAML, 59 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/.github/workflows/publish_spider_temp_sandbox.yml#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/1695.html#f4 - Synopsis: A GitHub Actions workflow in Data Federation Map for GlobalGrid2050 All Repos that builds and publishes the site. Runs by hand. - What it achieves (name): Its name says it publishes spider temp sandbox. - What it does: It builds and publishes its content. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Spider Full Po Branch Build Workflow - File: data-federation-map-for-globalgrid2050-all-repos/.github/workflows/spider_full_po_branch_build.yml (YAML, 102 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/.github/workflows/spider_full_po_branch_build.yml#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/1695.html#f5 - Synopsis: A GitHub Actions workflow in Data Federation Map for GlobalGrid2050 All Repos. Runs by hand. - What it achieves (comment): Runs `.github/scripts/spider_patch_po.py` and `reports/spider-runtime/smoke.js`. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file nodes.json; JSON file edges.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file nodes.json; JSON file edges.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Spider Maya Workflow - File: data-federation-map-for-globalgrid2050-all-repos/.github/workflows/spider_maya.yml (YAML, 232 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-federation-map-for-globalgrid2050-all-repos/blob/fffd624e77d820ebc04ab25f9d97871b254be61c/.github/workflows/spider_maya.yml#L1-L232 - Page: https://code.globalgrid2050.com/explore-code/s/1696.html#f1 - Synopsis: A GitHub Actions workflow in Data Federation Map for GlobalGrid2050 All Repos. Runs by hand. - What it achieves (comment): Named “Spider Maya Audit Process”. - What it does: It runs solar. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: solar. - Inputs & outputs: In: JSON file SPIDER_MAYA_LATEST.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file SPIDER_MAYA_LATEST.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Backfill History Workflow - File: data-gb-electricity/.github/workflows/backfill_history.yml (YAML, 65 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/.github/workflows/backfill_history.yml#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/1696.html#f2 - Synopsis: A GitHub Actions workflow in Data GB Electricity. Runs by hand. - What it achieves (comment): Named “Historical GB Electricity Parquet Backfill”; runs Port CSV to Parquet (`pipelines/port_csv_to_parquet.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: README: "The historical backfill workflow is `.github/workflows/backfill_history.yml`." - Inputs & outputs: In: DuckDB queries. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Monthly Update Workflow - File: data-gb-electricity/.github/workflows/monthly_update.yml (YAML, 184 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/.github/workflows/monthly_update.yml#L1-L184 - Page: https://code.globalgrid2050.com/explore-code/s/1696.html#f3 - Synopsis: A GitHub Actions workflow in Data GB Electricity. Runs on a schedule and by hand. - What it achieves (comment): Named “Monthly GB Electricity Parquet Update”; runs Fetch Latest Month (`pipelines/fetch_latest_month.py`) and Verify Bounded Growth (`pipelines/verify_bounded_growth.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: README: "The active monthly process is `pipelines/fetch_latest_month.py` plus `.github/workflows/monthly_update.yml`." - Inputs & outputs: In: JSON file bounded_growth_gate_latest.json; JSON file latest_parquet_audit.json; DuckDB queries. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file bounded_growth_gate_latest.json; JSON file latest_parquet_audit.json; DuckDB queries]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### Refresh Price Decade Rollup Workflow - File: data-gb-electricity/.github/workflows/refresh_price_decade_rollup.yml (YAML, 123 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/.github/workflows/refresh_price_decade_rollup.yml#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/1696.html#f4 - Synopsis: A GitHub Actions workflow in Data GB Electricity that builds and publishes the site. Runs on push, on pull requests and by hand. - What it achieves (comment): Keep the browser-sized price rollup in step with the Parquet. - What it does: It builds and publishes its content. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file price-decade-rollup.json; DuckDB queries. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file price-decade-rollup.json; DuckDB queries]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 6 estate files (workflow-run 6); used by 0; mentioned by 0 ### Data GB Electricity — Tests - File: data-gb-electricity/tests/__init__.py (Python, 1 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/tests/__init__.py#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/1696.html#f5 - Synopsis: A Python module. - What it achieves (comment): Tests for the bounded monthly updater. - What it does: It tests its inputs. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Bounded Monthly Update - File: data-gb-electricity/tests/test_bounded_monthly_update.py (Python, 277 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/data-gb-electricity/blob/e888f35c1a65589b3eb7c78bcc542022bc707298/tests/test_bounded_monthly_update.py#L1-L277 - Page: https://code.globalgrid2050.com/explore-code/s/1697.html#f1 - Synopsis: A test in the tests folder of Data GB Electricity that checks Fetch Elexon API to Parquet Hardened and Fetch Latest Month. - What it achieves (name): It sets up (`setUp`) and is built from the planning tests class (`PlanningTests`) and the Parquet write tests class (`ParquetWriteTests`). Defines `PlanningTests`, `test_existing_partition_is_frozen`, `test_repair_is_explicit_in_plan` and 29 more. - What it does: It tests its inputs. Defines 32 functions or classes, including PlanningTests, test_existing_partition_is_frozen, test_repair_is_explicit_in_plan, test_dataset_month_budget_fails_closed, test_month_range_is_calendar_bounded. Uses libraries __future__, datetime, io, json, subprocess. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: Parquet file data_0.parquet; Parquet file data_1.parquet; JSON file fetch_latest_month_latest.json; CSV file raw.csv. - Downstream impact: Used directly by 2 files: Monthly Update Workflow (data-gb-electricity); Refresh Price Decade Rollup Workflow (data-gb-electricity). - Signatures: `class PlanningTests`; `test_existing_partition_is_frozen(self)`; `test_repair_is_explicit_in_plan(self)`; `test_dataset_month_budget_fails_closed(self)`; `test_month_range_is_calendar_bounded(self)`; `test_rows_outside_authorised_month_fail(self)`; `test_gb_settlement_days_have_46_and_50_periods(self)`; `test_london_date_crosses_midnight_during_bst(self)`; `test_settlement_endpoints_get_boundary_buffer_then_filter_to_utc_month(self)`; `test_api_request_estimate_is_bounded_before_network(self)`; `class ParquetWriteTests`; `setUp(self)`; `tearDown(self)`; `price_row(stamp: str, value: float)`; `test_new_partition_uses_verified_pending_write(self)`; `test_new_partition_refuses_race(self)`; `test_explicit_repair_removes_stale_shards_only_after_readback(self)`; `class CheckedInSchemaTests`; `test_every_historical_parquet_file_matches_the_writer_schema(self)`; `class MonthlyIntegrationTests`; `test_first_run_adds_missing_month_and_second_run_makes_no_api_call(self)`; `class GrowthGateTests`; `evaluate(self, changes: list[tuple[str, str]], files: int = 9, size: int = 1024)`; `test_clean_addition_passes(self)`; `test_historical_modification_fires(self)` (and 5 more) - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [Parquet file data_0.parquet; Parquet file data_1.parquet; JSON file fetch_latest_month_latest.json; CSV file raw.csv]; out []; crs []; voltages [] - Edges: uses 5 estate files (sys-path 5); used by 2; mentioned by 0 ### Datacentre Addresses Workflow - File: data-grid-gb/.github/workflows/datacentre-addresses.yml (YAML, 44 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/.github/workflows/datacentre-addresses.yml#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1697.html#f2 - Synopsis: A GitHub Actions workflow in Data Grid GB. Runs on pull requests and by hand. - What it achieves (comment): Named “Data centre address locations”. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentre'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: DuckDB queries. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Fetch Assets Workflow - File: data-grid-gb/.github/workflows/fetch-assets.yml (YAML, 176 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/.github/workflows/fetch-assets.yml#L1-L176 - Page: https://code.globalgrid2050.com/explore-code/s/1697.html#f3 - Synopsis: A GitHub Actions workflow in Data Grid GB that builds and publishes the site. Runs by hand. - What it achieves (comment): Fetch every data-centre and conventional-generation source for real, by hand. - What it does: It builds and publishes its content. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file reproduction.json; command-line arguments. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file reproduction.json; command-line arguments]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### Refresh Network Products Workflow - File: data-grid-gb/.github/workflows/refresh_network_products.yml (YAML, 83 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/.github/workflows/refresh_network_products.yml#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/1697.html#f4 - Synopsis: A GitHub Actions workflow in Data Grid GB that builds and publishes the site. Runs on push, on a schedule and by hand. - What it achieves (comment): Rebuild the network products from the pinned public sources. - What it does: It builds and publishes its content. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### Renewable Energy Planning Database (REPD) Columnar Workflow - File: data-grid-gb/.github/workflows/repd-columnar.yml (YAML, 53 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/.github/workflows/repd-columnar.yml#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1697.html#f5 - Synopsis: A GitHub Actions workflow in Data Grid GB. Runs on pull requests and by hand. - What it achieves (comment): Named “Offline pinned REPD columnar prototype”. - What it does: It runs the REPD register. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### SSEN Substations Workflow - File: data-grid-gb/.github/workflows/ssen-substations.yml (YAML, 41 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/.github/workflows/ssen-substations.yml#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1697.html#f6 - Synopsis: A GitHub Actions workflow in Data Grid GB. Runs on push and by hand. - What it achieves (comment): Named “Acquire official SSEN substation register”; runs Fetch (`ssen-substations/fetch.py`). - What it does: It runs substations. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'ssen'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: DuckDB queries. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Test Assets Workflow - File: data-grid-gb/.github/workflows/test-assets.yml (YAML, 83 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/.github/workflows/test-assets.yml#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/1698.html#f1 - Synopsis: A GitHub Actions workflow in Data Grid GB. Runs on push and on pull requests. - What it achieves (comment): Tests for the data-centre and conventional-generation pipelines. - What it does: It tests its inputs. Side effects: starts processes. - Inputs & outputs: In: JSON file reproduction.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file reproduction.json]; out []; crs []; voltages [] - Edges: uses 6 estate files (workflow-run 6); used by 0; mentioned by 0 ### UKPN Secondary Columnar Workflow - File: data-grid-gb/.github/workflows/ukpn-secondary-columnar.yml (YAML, 80 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/.github/workflows/ukpn-secondary-columnar.yml#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/1698.html#f2 - Synopsis: A GitHub Actions workflow in Data Grid GB that builds and publishes the site using data from the GridAtlas repository. Runs on push and by hand. - What it achieves (comment): Named “Publish pinned UKPN secondary transformer partitions”. - What it does: It builds and publishes transformers. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'ukpn'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers. - Inputs & outputs: In: data source: gridatlas data; DuckDB queries. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; DuckDB queries]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Data Grid GB — CI - File: data-grid-gb/ci/__init__.py (Python, 1 lines) · role automation · stage unknown - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/ci/__init__.py#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/1698.html#f3 - Synopsis: A Python module. - What it achieves (comment): CI helpers (`ci/verify.py`). - Downstream impact: Used directly by 1 file: Test Assets (data-grid-gb). Reached from 1 other entry point, including Test Assets Workflow (data-grid-gb). - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### CI Verify - File: data-grid-gb/ci/verify.py (Python, 222 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/ci/verify.py#L1-L222 - Page: https://code.globalgrid2050.com/explore-code/s/1698.html#f4 - Synopsis: A Python command-line tool in Data Grid GB that reads sources and lanes, using SHA-256. It checks registry (`check_registry`), checks raw (`check_raw`) and checks outputs (`check_outputs`). - What it achieves (comment): Verify the committed data-centre and conventional-generation data. It accepts `--root`, `--domain` and `--allow-unverified-lanes`. - What it does: It loads sources and lanes. Defines 6 functions or classes, including fetcher_status, sha256_file, check_registry, check_raw, check_outputs. Uses libraries __future__, argparse, hashlib, json, re. Side effects: reads or writes files. - Inputs & outputs: In: JSON file sources.json; JSON file INDEX.json; JSON file lanes.json; command-line arguments. - Downstream impact: Used directly by 3 files: Fetch Assets Workflow (data-grid-gb); Test Assets Workflow (data-grid-gb); Test Assets (data-grid-gb). - Signatures: `fetcher_status(path: Path)`; `sha256_file(path: Path)`; `check_registry(ddir: Path, domain: str)`; `check_raw(ddir: Path)`; `check_outputs(ddir: Path, domain: str, registry: dict, manifest: dict)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file sources.json; JSON file INDEX.json; JSON file lanes.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 3; mentioned by 0 ### Build Conventional - File: data-grid-gb/conventional/lanes/dc-a6/build_conventional.py (Python, 343 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/conventional/lanes/dc-a6/build_conventional.py#L1-L343 - Page: https://code.globalgrid2050.com/explore-code/s/1699.html#f1 - Synopsis: A Python command-line tool in the lanes folder of Data Grid GB that reads offtakers filtered, gppd, status curated and Renewable Energy Planning Database (REPD) browser registry, using SHA-256. - What it achieves (comment): It maps status (`map_status`) and is built from the sha256 step (`sha256`) and the hav km helper (`hav_km`). DC-A6 (issue #73 step 5): open UK CONVENTIONAL power assets for the Grid Engine's 30-nearest query. - What it does: It loads offtakers filtered, gppd, status curated and REPD browser registry. Defines 6 functions or classes, including sha256, hav_km, tokens, fuel_tech, map_status. Uses libraries csv, hashlib, json, math, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: GeoJSON file offtakers_filtered_202610290945.geojson; CSV file gppd.csv; CSV file status_curated.csv; JSON file repd_browser_registry_202608290716.json; GeoJSON file conventional_power_uk.geojson; JSON file excluded_repd.json; JSON file counts.json. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sha256(path)`; `hav_km(lat1, lon1, lat2, lon2)`; `tokens(s)`; `fuel_tech(name, operator, subclass, gppd_fuels, osm_fuels)`; `map_status(st, date)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [GeoJSON file offtakers_filtered_202610290945.geojson; CSV file gppd.csv; CSV file status_curated.csv; JSON file repd_browser_registry_202608290716.json; GeoJSON file conventional_power_uk.geojson; JSON file excluded_repd.json; JSON file counts.json]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Connection Points - File: data-grid-gb/derived/build_connection_points.py (Python, 372 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/derived/build_connection_points.py#L1-L372 - Page: https://code.globalgrid2050.com/explore-code/s/1699.html#f2 - Synopsis: A Python command-line tool in the derived folder of Data Grid GB that reads GB transmission network, grid substations, transformers and 400kV. - What it achieves (comment): It serialises join context (`serialise_join_context`) and summarises fault rows (`summarise_fault_rows`). Derive the browser-sized connection-point product. Its code works with 132 kV and 400 kV. - What it does: It loads GB transmission network, grid substations, transformers and 400kV. Defines 8 functions or classes, including normalise, tokens, shore_qualifier, qualifier_compatible, site_join_context. Uses libraries io, json, os, re, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: transformers, 400kV, 275kV, 132kV, 66kV, 33kV. - Inputs & outputs: In: JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; GeoJSON file grid_substations.geojson. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Downstream impact: Used directly by 3 files: Refresh Network Products Workflow (data-grid-gb); Verify Connection Points (data-grid-gb); Verify Phase0 Acceptance (data-grid-gb). - Signatures: `normalise(name)`; `tokens(name)`; `shore_qualifier(name)`; `qualifier_compatible(authoritative_name, mapped_name)`; `site_join_context(site)`; `serialise_join_context(context)`; `summarise_fault_rows(rows, metric_names, scope)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file connection-points.v3.json; JSON file gb-transmission-network.v1.json; GeoJSON file grid_substations.geojson]; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Test Assets - File: data-grid-gb/tests/test_assets.py (Python, 368 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/tests/test_assets.py#L1-L368 - Page: https://code.globalgrid2050.com/explore-code/s/1700.html#f2 - Synopsis: A test in the tests folder of Data Grid GB that checks Reproduce and Pipeline, using SHA-256. It makes root (`make_root`) and sets up (`setUp`). - What it achieves (comment): Tests for the data-centre and conventional-generation pipelines (assetpipe, `ci/verify.py`, `reproduce.py`). It writes `datacentres/normalised/fake-src.geojson`. - What it does: It tests its inputs. Defines 40 functions or classes, including good_datacentre, raw_requests, normalise, make_root, opener_for. Uses libraries __future__, contextlib, io, json, os. Side effects: reads or writes files; makes network requests. - Inputs & outputs: In: JSON file sites.json; GeoJSON file fake-src.geojson; JSON file s1.json; JSON file sources.json; JSON file escape.json. Out: JSON file sources.json; JSON file sites.json; GeoJSON file fake-src.geojson. - Downstream impact: Used directly by 1 file: Test Assets Workflow (data-grid-gb). - Signatures: `good_datacentre(**over)`; `raw_requests()`; `normalise(raw)`; `make_root(tmp: Path, *, open_value="yes", fetcher=FAKE_FETCHER)`; `opener_for(payload: bytes)`; `opener(request)`; `quiet(fn, *args, **kwargs)`; `class SchemaTests`; `test_good_record_passes(self)`; `test_ambiguous_mw_field_is_rejected(self)`; `test_it_load_and_grid_connection_both_required_as_keys(self)`; `test_unknown_is_null_not_zero(self)`; `test_no_commitment_status(self)`; `test_location_precision_rules(self)`; `test_evidence_url_must_be_https(self)`; `test_conventional_capacity_needs_a_basis(self)`; `test_feature_has_null_geometry_when_location_unknown(self)`; `class PipelineTests`; `setUp(self)`; `tearDown(self)`; `fetch(self, root, payload=None, **kw)`; `test_fetch_pins_and_refetch_is_stable(self)`; `test_changed_upstream_fails_until_update_pins(self)`; `test_unverified_source_is_not_fetched_by_default_and_never_normalised(self)`; `test_normalise_verify_reproduce_round_trip(self)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file sites.json; GeoJSON file fake-src.geojson; JSON file s1.json; JSON file sources.json; JSON file escape.json]; out [JSON file sources.json; JSON file sites.json; GeoJSON file fake-src.geojson]; crs []; voltages [] - Edges: uses 7 estate files (import 7); used by 1; mentioned by 0 ### Test DC Address Locations - File: data-grid-gb/tests/test_dc_address_locations.py (Python, 242 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/tests/test_dc_address_locations.py#L1-L242 - Page: https://code.globalgrid2050.com/explore-code/s/1700.html#f3 - Synopsis: A test in the tests folder of Data Grid GB that checks Build and Pipeline, using SHA-256. It makes snapshot (`make_snapshot`), sets up (`setUp`) and runs build (`run_build`). - What it achieves (comment): Offline synthetic checks for address provenance, uncertainty and source joins. It reads `x.json`. - What it does: It tests postcodes. Defines 27 functions or classes, including claim, fixtures, make_snapshot, AddressLocationTests, setUp. Uses libraries copy, importlib.util, json, pathlib, tempfile. Side effects: reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: postcodes. - Inputs & outputs: In: JSON file cohort.json; JSON file wikidata-000.json; JSON file postcodes-000.json; JSON file inputs.json; JSON file x.json; JSON file accepted.json; JSON file source-snapshot.json; GeoJSON file datacentre-locations.geojson. Out: JSON file source-snapshot.json; JSON file cohort.json; JSON file wikidata-000.json. - Downstream impact: Used directly by 2 files: Datacentre Addresses Workflow (data-grid-gb); Test Assets Workflow (data-grid-gb). - Signatures: `claim(prop, value, rank='normal')`; `fixtures()`; `make_snapshot(folder)`; `class AddressLocationTests`; `setUp(self)`; `run_build(self, references=())`; `test_street_address_claim_and_postcode_precision_remain_attributable(self)`; `test_missing_address_or_point_is_null_and_source_record_is_retained(self)`; `test_preferred_wikidata_point_beats_postcode_and_preserves_precision(self)`; `test_conflicting_points_are_not_silently_replaced_by_a_postcode(self)`; `test_multiple_postcodes_require_review(self)`; `test_northern_ireland_postcode_scope_is_not_silently_licensed(self)`; `test_geocoder_cannot_substitute_another_postcode_or_country(self)`; `test_nonfinite_false_origin_boolean_and_out_of_range_points_reject(self)`; `test_source_country_cannot_drift_from_original_country_identity(self)`; `test_duplicate_or_missing_source_identity_fails(self)`; `test_name_candidate_does_not_assign_geometry_or_verified_identity(self)`; `test_explicit_source_qid_is_separate_from_operator_and_name_matching(self)`; `test_collector_refuses_arbitrary_source_or_internal_endpoint(self)`; `test_collector_validates_path_before_network_or_existing_file_writes(self)`; `test_collector_cannot_replace_an_existing_captured_resource(self)`; `test_offline_snapshot_requires_actual_source_bytes(self)`; `test_snapshot_path_traversal_is_rejected(self)`; `test_existing_generation_is_never_replaced(self)`; `test_offline_replays_are_byte_identical(self)` (and 2 more) - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file cohort.json; JSON file wikidata-000.json; JSON file postcodes-000.json; JSON file inputs.json; JSON file x.json; JSON file accepted.json; JSON file source-snapshot.json; GeoJSON file datacentre-locations.geojson]; out [JSON file source-snapshot.json; JSON file cohort.json; JSON file wikidata-000.json]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Test Lanes - File: data-grid-gb/tests/test_lanes.py (Python, 167 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/tests/test_lanes.py#L1-L167 - Page: https://code.globalgrid2050.com/explore-code/s/1701.html#f1 - Synopsis: A test in the tests folder of Data Grid GB that checks Reproduce and Lanes, using SHA-256. It makes lane root (`make_lane_root`) and sets up (`setUp`). - What it achieves (comment): Tests for the vendored-lane machinery (assetpipe.lanes, `pipelines/run_lanes.py`, the lane part of `reproduce.py`). It writes `out/result.json`. - What it does: It tests its inputs. Defines 17 functions or classes, including make_lane_root, quiet, LaneTests, setUp, tearDown. Uses libraries __future__, contextlib, hashlib, io, json. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file result.json; JSON file lanes.json; command-line arguments. Out: JSON file result.json; JSON file lanes.json; JSON file stray.json; JSON file sources.json. - Downstream impact: Used directly by 1 file: Test Assets Workflow (data-grid-gb). - Signatures: `make_lane_root(tmp: Path, *, open_value="yes", env=None)`; `quiet(fn, *args, **kwargs)`; `class LaneTests`; `setUp(self)`; `tearDown(self)`; `build(self, root)`; `test_build_pin_and_check(self)`; `test_tampered_or_unpinned_file_is_caught(self)`; `test_unverified_lane_outputs_fail_strict_check_only(self)`; `test_closed_lane_may_not_be_vendored(self)`; `test_blocked_fetch_is_recorded_as_failure_not_zero(self)`; `test_pinned_input_with_wrong_bytes_is_refused(self)`; `test_reproduce_rebuilds_lanes_and_catches_nondeterminism(self)`; `class VendoredLaneTests`; `test_lane_selftests_pass(self)`; `test_every_lane_is_open_or_explicitly_unverified(self)`; `test_fetch_never_runs_in_tests_or_verify(self)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file result.json; JSON file lanes.json; command-line arguments]; out [JSON file result.json; JSON file lanes.json; JSON file stray.json; JSON file sources.json]; crs []; voltages [] - Edges: uses 4 estate files (import 3, script-call 1); used by 1; mentioned by 0 ### Bootstrap Verify Data GridAtlas Workflow - File: data-gridatlas/.github/workflows/202608290904-bootstrap-verify-data-gridatlas.yml (YAML, 140 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/.github/workflows/202608290904-bootstrap-verify-data-gridatlas.yml#L1-L140 - Page: https://code.globalgrid2050.com/explore-code/s/1701.html#f2 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it achieves (comment): Runs Verify Bootstrap (`atman/202608290904-verify-bootstrap.py`) and Build Dependency Catalog (`compiler/202608290904-build-dependency-catalog.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608290904-data-gridatlas-bootstrap.json; JSON file 202608290904-gridatlas-consumer.json; JSON file 202608290904-v8-dependency-ledger.json; JSON file 202608290904-v8-file-ledger.json; JSON file 202608290904-v8-quarantine.json; JSON file bootstrap-verification.json; DuckDB queries. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file 202608290904-data-gridatlas-bootstrap.json; JSON file 202608290904-gridatlas-consumer.json; JSON file 202608290904-v8-dependency-ledger.json; JSON file 202608290904-v8-file-ledger.json; JSON file 202608290904-v8-quarantine.json; JSON file bootstrap-verification.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Build V8 Transplant Candidate Workflow - File: data-gridatlas/.github/workflows/202608291015-build-v8-transplant-candidate.yml (YAML, 379 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/.github/workflows/202608291015-build-v8-transplant-candidate.yml#L1-L379 - Page: https://code.globalgrid2050.com/explore-code/s/1701.html#f3 - Synopsis: A GitHub Actions workflow in Data GridAtlas. Runs on push and by hand. - What it achieves (comment): Runs Verify V8 Transplant (`atman/202608291015-verify-v8-transplant.py`) and Build V8 Transplant (`compiler/202608291015-build-v8-transplant.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608290904-v8-dependency-ledger.json; JSON file 202608290904-v8-file-ledger.json; JSON file 202608290904-v8-quarantine.json; JSON file 202608291015-repository-boundary.json; JSON file 202608291015-v8-layer-config.json; JSON file 202608291015-v8-runtime-dependencies.json; JSON file 202608291015-v8-transplant-plan.json; JSON file 202608291015-v8-transplant-parquet.json. Out: JSON file phase-evidence-index.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file 202608290904-v8-dependency-ledger.json; JSON file 202608290904-v8-file-ledger.json; JSON file 202608290904-v8-quarantine.json; JSON file 202608291015-repository-boundary.json; JSON file 202608291015-v8-layer-config.json; JSON file 202608291015-v8-runtime-dependencies.json; JSON file 202608291015-v8-transplant-plan.json; JSON file 202608291015-v8-transplant-parquet.json]; out [JSON file phase-evidence-index.json]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Publish Live Data GridAtlas Workflow - File: data-gridatlas/.github/workflows/202608291237-publish-live-data-gridatlas.yml (YAML, 598 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/.github/workflows/202608291237-publish-live-data-gridatlas.yml#L1-L598 - Page: https://code.globalgrid2050.com/explore-code/s/1702.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site using data from GitHub API. Runs on push. - What it achieves (comment): Named “Publish live Data Grid Atlas V9”; runs Materialise Live Data Release (`compiler/202608291237-materialise-live-data-release.py`) and Verify Live Data Release (`atman/202608291237-verify-live-data-release.py`). - What it does: It builds and publishes its content. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: GitHub API; JSON file 202608291237-live-data-release.json; JSON file candidate-artifact-receipt.json; JSON file candidate-workflow-run-receipt.json; JSON file release-a-verification.json; JSON file release.json; JSON file checked-in-release-verification.json; DuckDB queries. Out: JSON file staged-commit-proof.json; JSON file pages-workflow-run.json; JSON file public-pages-attestation.json; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file 202608291237-live-data-release.json; JSON file candidate-artifact-receipt.json; JSON file candidate-workflow-run-receipt.json; JSON file release-a-verification.json; JSON file release.json; JSON file checked-in-release-verification.json; DuckDB queries]; out [JSON file staged-commit-proof.json; JSON file pages-workflow-run.json; JSON file public-pages-attestation.json; commits pushed to the repository]; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 2, estate-url 1); used by 0; mentioned by 0 ### Verify Live Pointer Workflow - File: data-gridatlas/.github/workflows/202608291239-verify-live-pointer.yml (YAML, 332 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/.github/workflows/202608291239-verify-live-pointer.yml#L1-L332 - Page: https://code.globalgrid2050.com/explore-code/s/1703.html#f1 - Synopsis: A GitHub Actions workflow in Data GridAtlas using data from GitHub API and the GridAtlas repository. Runs on push. - What it achieves (comment): Named “Verify live Data Grid Atlas pointer”. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data; data source: GitHub API; JSON file current.json; JSON file live-set.json; JSON file release.json; JSON file browser-layer-registry.json; JSON file current-v3.json; JSON file release-manifest.json. Out: JSON file pages-workflow-run.json; JSON file public-stable-pointer-attestation.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: GitHub API; JSON file current.json; JSON file live-set.json; JSON file release.json; JSON file browser-layer-registry.json; JSON file current-v3.json; JSON file release-manifest.json]; out [JSON file pages-workflow-run.json; JSON file public-stable-pointer-attestation.json]; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Publish Renewable Energy Planning Database (REPD) Routing Workflow - File: data-gridatlas/.github/workflows/202608291410-publish-repd-routing.yml (YAML, 355 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/.github/workflows/202608291410-publish-repd-routing.yml#L1-L355 - Page: https://code.globalgrid2050.com/explore-code/s/1703.html#f2 - Synopsis: A GitHub Actions workflow in Data GridAtlas that builds and publishes the site using data from GitHub API. Runs on push and by hand. - What it achieves (comment): Runs Verify Repository Boundary (`atman/202608291410-verify-repository-boundary.py`), Build Renewable Energy Planning Database (REPD) Routing Release (`compiler/202608291410-build-repd-routing-release.py`) and `atman/202608291410-verify-repd-routing-release.py`. - What it does: It builds and publishes its content. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'routing'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: data source: GitHub API; JSON file 202608291410-repd-routing-release.json; JSON file 202608291410-repository-boundary.json; JSON file release.json; JSON file projects.json; JSON file pages-run.json. Out: JSON file public-attestation.json; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: IPP_developer, EPC_contractor, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file 202608291410-repd-routing-release.json; JSON file 202608291410-repository-boundary.json; JSON file release.json; JSON file projects.json; JSON file pages-run.json]; out [JSON file public-attestation.json; commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Contract Guard Workflow - File: data-gridatlas/.github/workflows/202608291507-contract-guard.yml (YAML, 78 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/.github/workflows/202608291507-contract-guard.yml#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/1704.html#f1 - Synopsis: A GitHub Actions workflow in Data GridAtlas. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Guard Data Grid Atlas automation contract”; runs Current Integrity (`atman/202608291507-current-integrity.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file live-set.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file live-set.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Current Integrity Workflow - File: data-gridatlas/.github/workflows/202608291507-current-integrity.yml (YAML, 188 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/.github/workflows/202608291507-current-integrity.yml#L1-L188 - Page: https://code.globalgrid2050.com/explore-code/s/1704.html#f2 - Synopsis: A GitHub Actions workflow in Data GridAtlas. Runs on push, by hand and when called. - What it achieves (comment): Named “Verify current Data Grid Atlas integrity”; runs Current Integrity (`atman/202608291507-current-integrity.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608291507-automation.json; JSON file current.json; JSON file live-set.json; DuckDB queries. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file 202608291507-automation.json; JSON file current.json; JSON file live-set.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Watchdog Router Workflow - File: data-gridatlas/.github/workflows/202608291507-watchdog-router.yml (YAML, 222 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/.github/workflows/202608291507-watchdog-router.yml#L1-L222 - Page: https://code.globalgrid2050.com/explore-code/s/1704.html#f3 - Synopsis: A GitHub Actions workflow in Data GridAtlas using data from GitHub API. Runs on push, on a schedule and by hand. - What it achieves (comment): Named “Data Grid Atlas watchdog and router”; runs Current Integrity (`atman/202608291507-current-integrity.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: GitHub API; JSON file 202608291507-automation.json. Out: JSON file watchdog-router.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file 202608291507-automation.json]; out [JSON file watchdog-router.json]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Repair Consumer Pointer Semantics Workflow - File: data-gridatlas/.github/workflows/202608301102-repair-consumer-pointer-semantics.yml (YAML, 280 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/.github/workflows/202608301102-repair-consumer-pointer-semantics.yml#L1-L280 - Page: https://code.globalgrid2050.com/explore-code/s/1705.html#f1 - Synopsis: A GitHub Actions workflow in Data GridAtlas using data from GitHub API. Runs on push and by hand. - What it achieves (name): Its name says it repairs consumer pointer semantics. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: GitHub API. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Repair Consumer Pointer Semantics V2 Workflow - File: data-gridatlas/.github/workflows/202608301115-repair-consumer-pointer-semantics-v2.yml (YAML, 249 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/.github/workflows/202608301115-repair-consumer-pointer-semantics-v2.yml#L1-L249 - Page: https://code.globalgrid2050.com/explore-code/s/1705.html#f2 - Synopsis: A GitHub Actions workflow in Data GridAtlas using data from GitHub API. Runs on push and by hand. - What it achieves (name): Its name says it repairs consumer pointer semantics. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: GitHub API. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Layer Fidelity Workflow - File: data-gridatlas/.github/workflows/202608301931-layer-fidelity.yml (YAML, 401 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/data-gridatlas/blob/203f9dc3764c05153c2b95f8ace88eb543f26c1e/.github/workflows/202608301931-layer-fidelity.yml#L1-L401 - Page: https://code.globalgrid2050.com/explore-code/s/1706.html#f1 - Synopsis: A GitHub Actions workflow in Data GridAtlas that builds and publishes the site using data from the GlobalGrid2050 and GridAtlas repositories. Runs on push, on a schedule and by hand. - What it achieves (comment): Named “Layer fidelity, V8 origin vs V9 delivery”; runs `live.mjs`. - What it does: It builds and publishes its content. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: globalgrid2050 data; data source: gridatlas data; JSON file live-set.json; JSON file current.json; JSON file layers.json; JSON file sarif-2.1.0.json; DuckDB queries. Out: JSON file layers.json; JSON file fidelity-summary.json; JSON file live-layer-fidelity.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data; data source: gridatlas data; JSON file live-set.json; JSON file current.json; JSON file layers.json; JSON file sarif-2.1.0.json; DuckDB queries]; out [JSON file layers.json; JSON file fidelity-summary.json; JSON file live-layer-fidelity.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Gridbot UK Interconnector Build Workflow - File: data-interconnectors/.github/workflows/gridbot_uk_interconnector_build.yml (YAML, 134 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/data-interconnectors/blob/2bd00d9610f24d02ba00e341216cab162b3e821b/.github/workflows/gridbot_uk_interconnector_build.yml#L1-L134 - Page: https://code.globalgrid2050.com/explore-code/s/1706.html#f2 - Synopsis: A GitHub Actions workflow in Data Interconnectors. Runs on a schedule and by hand. - What it achieves (comment): Runs Build Interconnectors (`pipelines/build_interconnectors.py`) and Monthly Update Interconnectors (`pipelines/monthly_update_interconnectors.py`). - What it does: It runs interconnectors. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnector'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: In: DuckDB queries. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Audit Workflow - File: data_uk_dno_and_tso/.github/workflows/audit.yml (YAML, 32 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/data_uk_dno_and_tso/blob/0f012179c2271a7d3bbb06a91af915d23bd9396b/.github/workflows/audit.yml#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/1706.html#f3 - Synopsis: A GitHub Actions workflow in Data UK DNO And TSO. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Audit declared data”; runs Validate Declared (`scripts/validate_declared.py`), Validate Schema Drift (`scripts/validate_schema_drift.py`) and Build Declared (`scripts/build_declared.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'dno'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### Overlay Workflow - File: energy-transition-simulator/.github/workflows/overlay.yml (YAML, 58 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/energy-transition-simulator/blob/a165ce6d56cb22271828874d68d570e8fa5e428a/.github/workflows/overlay.yml#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/1706.html#f4 - Synopsis: A GitHub Actions workflow in Energy Transition Simulator. Runs on push, on pull requests and by hand. - What it achieves (comment): Runs Privacy Scan (`tests/privacy-scan.cjs`) and UI (`tests/ui.cjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Nightshift Workflow - File: faraday/.github/workflows/nightshift.yml (YAML, 107 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/faraday/blob/e439b450f37a8c124fa4a0cb38159ae0dc337062/.github/workflows/nightshift.yml#L1-L107 - Page: https://code.globalgrid2050.com/explore-code/s/1707.html#f1 - Synopsis: A GitHub Actions workflow in Faraday. Runs by hand. - What it achieves (comment): Named “night shift - networks solved twice”; runs Topo (`bench/topo.py`). - What it does: It runs solar, cables and transformers. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar, cables, transformers. - Inputs & outputs: In: JSON file job.json. Out: JSON file job.json; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file job.json]; out [JSON file job.json; commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Browser Matrix Workflow - File: galaxies-wafers/.github/workflows/browser-matrix.yml (YAML, 53 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/galaxies-wafers/blob/5814793812add74605660fa821e6a39b8de80588/.github/workflows/browser-matrix.yml#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1707.html#f2 - Synopsis: A GitHub Actions workflow in Galaxies Wafers. Runs by hand. - What it achieves (comment): Twenty GitHub-hosted browser jobs against the served Pages site: the ten iterations, each at phone and desktop size. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: Voltage levels named: 400kV. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV] - Edges: uses 3 estate files (workflow-run 2, estate-url 1); used by 0; mentioned by 0 ### Pages Workflow - File: gb-electricity-ui/.github/workflows/pages.yml (YAML, 34 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/gb-electricity-ui/blob/f29f8b8e9a6317e7041ff0469645237a273de8a3/.github/workflows/pages.yml#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/1707.html#f3 - Synopsis: A GitHub Actions workflow in GB Electricity UI that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “Deploy static Pages”; publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: starts processes. - Inputs & outputs: Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Publish Gemini Bridge Workflow - File: gemini/.github/workflows/publish_gemini_bridge.yml (YAML, 61 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/gemini/blob/bf5d9f7de72c07ce57ec64864ac5181cc46c8381/.github/workflows/publish_gemini_bridge.yml#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1707.html#f4 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, on a schedule and by hand. - What it achieves (comment): Runs Gemini Build Manifest (`scripts/build_manifest.py`); publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'gemini'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: GitHub Pages deployment; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out [GitHub Pages deployment; commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Size Guard - File: globalgrid2050/.github/scripts/size_guard.sh (Shell, 223 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/scripts/size_guard.sh#L1-L223 - Page: https://code.globalgrid2050.com/explore-code/s/1707.html#f5 - Synopsis: A shell script in the scripts folder that reads repo size guard. - What it does: It loads repo size guard. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file REPO_SIZE_GUARD_LATEST.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repo Guard Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file REPO_SIZE_GUARD_LATEST.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Inverter Flow - File: globalgrid2050/.github/tests/inverter-flow.cjs (JavaScript, 27 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/tests/inverter-flow.cjs#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1707.html#f6 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050. - What it achieves (name): Defines `frame`. It writes `inverter-flow-evidence/results.json`. - What it does: It tests its inputs. Defines frame. Uses libraries node:fs, node:path, node:http, node:assert/strict. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'inverter'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: JSON file results.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Inverter Flow Check Workflow (globalgrid2050). - Signatures: `frame()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 000 Freeze All Workflows to Manual Workflow - File: globalgrid2050/.github/workflows/000_freeze_all_workflows_to_manual.yml (YAML, 192 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/000_freeze_all_workflows_to_manual.yml#L1-L192 - Page: https://code.globalgrid2050.com/explore-code/s/1707.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file FREEZE_ALL_WORKFLOWS_TO_MANUAL_LATEST.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file FREEZE_ALL_WORKFLOWS_TO_MANUAL_LATEST.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Sync Promoted GridAtlas V9 Workflow - File: globalgrid2050/.github/workflows/202608300232-sync-promoted-gridatlas-v9.yml (YAML, 14 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/202608300232-sync-promoted-gridatlas-v9.yml#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site using data from the GridAtlas repository. Runs by hand. - What it achieves (comment): Named “GridAtlas mirror publisher”. - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### GlobalGrid2050 Sync Current GridAtlas V9 Workflow - File: globalgrid2050/.github/workflows/202608300310-sync-current-gridatlas-v9.yml (YAML, 14 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/202608300310-sync-current-gridatlas-v9.yml#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f2 - Synopsis: A GitHub Actions workflow using data from the GridAtlas repository. Runs by hand. - What it achieves (comment): Named “hourly GridAtlas catalogue sync”. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair Atlas V9 Catalogue Sync Workflow - File: globalgrid2050/.github/workflows/202608301102-repair-atlas-v9-catalogue-sync.yml (YAML, 12 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/202608301102-repair-atlas-v9-catalogue-sync.yml#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f3 - Synopsis: A GitHub Actions workflow using data from the GridAtlas repository. Runs by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair GridAtlas Homepage Anchor Workflow - File: globalgrid2050/.github/workflows/202608301102-repair-gridatlas-homepage-anchor.yml (YAML, 12 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/202608301102-repair-gridatlas-homepage-anchor.yml#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Repair GridAtlas Homepage Anchor V2 Workflow - File: globalgrid2050/.github/workflows/202608301110-repair-gridatlas-homepage-anchor-v2.yml (YAML, 12 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/202608301110-repair-gridatlas-homepage-anchor-v2.yml#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Dispatch GridAtlas Sync Workflow - File: globalgrid2050/.github/workflows/202608301115-dispatch-gridatlas-sync.yml (YAML, 12 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/202608301115-dispatch-gridatlas-sync.yml#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “GridAtlas mirror dispatcher”. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Repair Atlas V9 Catalogue Sync V2 Workflow - File: globalgrid2050/.github/workflows/202608301115-repair-atlas-v9-catalogue-sync-v2.yml (YAML, 12 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/202608301115-repair-atlas-v9-catalogue-sync-v2.yml#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Repair GridAtlas Homepage Idempotence Workflow - File: globalgrid2050/.github/workflows/202608301140-repair-gridatlas-homepage-idempotence.yml (YAML, 12 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/202608301140-repair-gridatlas-homepage-idempotence.yml#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Repair GridAtlas Homepage and Cartridge Workflow - File: globalgrid2050/.github/workflows/202608301159-repair-gridatlas-homepage-and-cartridge.yml (YAML, 12 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/202608301159-repair-gridatlas-homepage-and-cartridge.yml#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f9 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Add V4 Detailed Disclaimer Workflow - File: globalgrid2050/.github/workflows/add-v4-detailed-disclaimer.yml (YAML, 33 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/add-v4-detailed-disclaimer.yml#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f10 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Add V4 Detailed Disclaimer (`scripts/add_v4_detailed_disclaimer.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Add V6 V7 All Apps A4 Print Formatting Workflow - File: globalgrid2050/.github/workflows/add-v6-v7-all-apps-a4-print-formatting.yml (YAML, 64 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/add-v6-v7-all-apps-a4-print-formatting.yml#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f11 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Add V6 V7 All Apps A4 Print Formatting (`scripts/add_v6_v7_all_apps_a4_print_formatting.py`). - What it does: It runs solar, battery storage (BESS) and cables. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), cables. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Add V6 V7 External Analysis Dashboard Links Workflow - File: globalgrid2050/.github/workflows/add-v6-v7-external-analysis-dashboard-links.yml (YAML, 44 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/add-v6-v7-external-analysis-dashboard-links.yml#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f12 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Add V6 V7 External Analysis Dashboard Links (`scripts/add_v6_v7_external_analysis_dashboard_links.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Add V6 V7 GIS Single-Line Diagram (SLD) Operating Asset Layers Workflow - File: globalgrid2050/.github/workflows/add-v6-v7-gis-sld-operating-asset-layers.yml (YAML, 56 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/add-v6-v7-gis-sld-operating-asset-layers.yml#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f13 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Add V6 V7 GIS Single-Line Diagram (SLD) Operating Asset Layers (`scripts/add_v6_v7_gis_sld_operating_asset_layers.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Add V6 V7 GIS Single-Line Diagram (SLD) Print Formatting Workflow - File: globalgrid2050/.github/workflows/add-v6-v7-gis-sld-print-formatting.yml (YAML, 52 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/add-v6-v7-gis-sld-print-formatting.yml#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f14 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Add V6 V7 GIS Single-Line Diagram (SLD) Print Formatting (`scripts/add_v6_v7_gis_sld_print_formatting.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Add V6 V7 GIS Single-Line Diagram (SLD) Print Map Pack Workflow - File: globalgrid2050/.github/workflows/add-v6-v7-gis-sld-print-map-pack.yml (YAML, 52 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/add-v6-v7-gis-sld-print-map-pack.yml#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f15 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Add V6 V7 GIS Single-Line Diagram (SLD) Print Map Pack (`scripts/add_v6_v7_gis_sld_print_map_pack.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Add V6 V7 Print V2 Compact Report Mode Workflow - File: globalgrid2050/.github/workflows/add-v6-v7-print-v2-compact-report-mode.yml (YAML, 54 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/add-v6-v7-print-v2-compact-report-mode.yml#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f16 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Add V6 V7 Print V2 Compact Report Mode (`scripts/add_v6_v7_print_v2_compact_report_mode.py`). - What it does: It runs solar, battery storage (BESS) and cables. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), cables. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Add V6 V7 Print V3 Financials Patch Workflow - File: globalgrid2050/.github/workflows/add-v6-v7-print-v3-financials-patch.yml (YAML, 48 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/add-v6-v7-print-v3-financials-patch.yml#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f17 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Add V6 V7 Print V3 Financials Patch (`scripts/add_v6_v7_print_v3_financials_patch.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Array Visibility and Mwp Sizing Workflow - File: globalgrid2050/.github/workflows/add-v7-gis-sld-array-visibility-and-mwp-sizing.yml (YAML, 55 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/add-v7-gis-sld-array-visibility-and-mwp-sizing.yml#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f18 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Array Visibility and Mwp Sizing (`scripts/add_v7_gis_sld_array_visibility_and_mwp_sizing.py`) and GlobalGrid2050 Test V7 GIS Single-Line Diagram (SLD) Array Sizing Math (`scripts/test_v7_gis_sld_array_sizing_math.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Large Asset Markers and Search Workflow - File: globalgrid2050/.github/workflows/add-v7-gis-sld-large-asset-markers-and-search.yml (YAML, 54 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/add-v7-gis-sld-large-asset-markers-and-search.yml#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f19 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Large Asset Markers and Search (`scripts/add_v7_gis_sld_large_asset_markers_and_search.py`) and GlobalGrid2050 Test V7 GIS Single-Line Diagram (SLD) Large Asset Markers and Search (`scripts/test_v7_gis_sld_large_asset_markers_and_search.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Site Intelligence Panel Workflow - File: globalgrid2050/.github/workflows/add-v7-gis-sld-site-intelligence-panel.yml (YAML, 53 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/add-v7-gis-sld-site-intelligence-panel.yml#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1708.html#f20 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Add V7 GIS Single-Line Diagram (SLD) Site Intelligence Panel (`scripts/add_v7_gis_sld_site_intelligence_panel.py`) and GlobalGrid2050 Test V7 GIS Single-Line Diagram (SLD) Site Intelligence Panel (`scripts/test_v7_gis_sld_site_intelligence_panel.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panel'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Add V8 Battery Energy Storage System (BESS) Geospatial Layout Drawing Workflow - File: globalgrid2050/.github/workflows/add-v8-bess-geospatial-layout-drawing.yml (YAML, 54 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/add-v8-bess-geospatial-layout-drawing.yml#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1709.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Add V8 Battery Energy Storage System (BESS) Geospatial Layout Drawing (`scripts/add_v8_bess_geospatial_layout_drawing.py`) and GlobalGrid2050 Test Add V8 Battery Energy Storage System (BESS) Geospatial Layout Drawing (`scripts/test_add_v8_bess_geospatial_layout_drawing.py`). - What it does: It runs battery storage (BESS) and solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Add V3 Homepage Link Workflow - File: globalgrid2050/.github/workflows/add_v3_homepage_link.yml (YAML, 40 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/add_v3_homepage_link.yml#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1709.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Add V3 Homepage Link (`scripts/add_v3_homepage_link.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Agent1 Producer Strict Workflow - File: globalgrid2050/.github/workflows/agent1-producer-strict.yml (YAML, 45 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/agent1-producer-strict.yml#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1709.html#f3 - Synopsis: A GitHub Actions workflow. Runs on pull requests. - What it achieves (comment): Named “Agent 1 producer strict acceptance (no xfail masking)”. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: In: JSON file editorial_acid_cases.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file editorial_acid_cases.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Agent7 V922 CI Workflow - File: globalgrid2050/.github/workflows/agent7-v922-ci.yml (YAML, 206 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/agent7-v922-ci.yml#L1-L206 - Page: https://code.globalgrid2050.com/explore-code/s/1709.html#f4 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on pull requests and by hand. - What it achieves (comment): Named “Agent 7 V9.22 staging regressions”; runs Run V9 22 (`uk_renewables_pipeline/202611151300/tests/run_v9_22.sh`), Browser Stage Agent7 (`uk_renewables_pipeline/202611151300/tests/browser_stage_agent7.mjs`) and `uk_renewables_pipeline/202611151300/tests/browser_real_map_to_engine_agent7.mjs`. - What it does: It builds and publishes the REPD register. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file build_manifest.json; JSON file REPD-Q3-BUILD-MANIFEST.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json; JSON file REPD-Q3-BUILD-MANIFEST.json]; out []; crs []; voltages [] - Edges: uses 7 estate files (workflow-run 7); used by 0; mentioned by 0 ### GlobalGrid2050 Atlas Oracle Workflow - File: globalgrid2050/.github/workflows/atlas-oracle.yml (YAML, 43 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/atlas-oracle.yml#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1709.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs Compare (`scripts/oracle/compare.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Audit Generation Data Coverage V6 Workflow - File: globalgrid2050/.github/workflows/audit_generation_data_coverage_v6.yml (YAML, 45 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/audit_generation_data_coverage_v6.yml#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1709.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Audit Generation Data Coverage V6 (`scripts/audit_generation_data_coverage_v6.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Auto Test Generation Sources 2026 V6 Workflow - File: globalgrid2050/.github/workflows/auto_test_generation_sources_2026_v6.yml (YAML, 67 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/auto_test_generation_sources_2026_v6.yml#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/1709.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Backfill Generation Sources Year V6 (`scripts/backfill_generation_sources_year_v6.py`), GlobalGrid2050 Merge Generation Sources Annual to Master V6 (`scripts/merge_generation_sources_annual_to_master_v6.py`) and GlobalGrid2050 Generate Generation History Daily V6 (`scripts/generate_generation_history_daily_v6.py`). - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### GlobalGrid2050 Backfill Generation Aggregates Manual V6 Workflow - File: globalgrid2050/.github/workflows/backfill_generation_aggregates_manual_v6.yml (YAML, 68 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/backfill_generation_aggregates_manual_v6.yml#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/1709.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Backfill Generation Aggregates Year V6 (`scripts/backfill_generation_aggregates_year_v6.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Backfill Generation Aggregates Sequence V6 Workflow - File: globalgrid2050/.github/workflows/backfill_generation_aggregates_sequence_v6.yml (YAML, 102 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/backfill_generation_aggregates_sequence_v6.yml#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/1709.html#f9 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Backfill Generation Aggregates Year V6 (`scripts/backfill_generation_aggregates_year_v6.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Backfill Generation Clean Halfhourly Month V6 Workflow - File: globalgrid2050/.github/workflows/backfill_generation_clean_halfhourly_month_v6.yml (YAML, 75 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/backfill_generation_clean_halfhourly_month_v6.yml#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1710.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Backfill Generation Clean Halfhourly Month V6 (`scripts/backfill_generation_clean_halfhourly_month_v6.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Backfill Generation Fuelhh Halfhourly V6 Workflow - File: globalgrid2050/.github/workflows/backfill_generation_fuelhh_halfhourly_v6.yml (YAML, 87 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/backfill_generation_fuelhh_halfhourly_v6.yml#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/1710.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “Generation FUELHH Half Hourly Backfill”; runs GlobalGrid2050 Backfill Generation Fuelhh Halfhourly All Months V6 (`scripts/backfill_generation_fuelhh_halfhourly_all_months_v6.py`) and GlobalGrid2050 Build Generation Daily MW Spine from Fuelhh (`scripts/build_generation_daily_mw_spine_from_fuelhh.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Backfill Generation Sources Decade V6 Workflow - File: globalgrid2050/.github/workflows/backfill_generation_sources_decade_v6.yml (YAML, 69 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/backfill_generation_sources_decade_v6.yml#L1-L69 - Page: https://code.globalgrid2050.com/explore-code/s/1710.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Backfill Generation Sources Year V6 (`scripts/backfill_generation_sources_year_v6.py`), GlobalGrid2050 Merge Generation Sources Annual to Master V6 (`scripts/merge_generation_sources_annual_to_master_v6.py`) and GlobalGrid2050 Generate Generation History Daily V6 (`scripts/generate_generation_history_daily_v6.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### GlobalGrid2050 Backfill Generation Sources Overnight Sequence V6 Workflow - File: globalgrid2050/.github/workflows/backfill_generation_sources_overnight_sequence_v6.yml (YAML, 108 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/backfill_generation_sources_overnight_sequence_v6.yml#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1710.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Backfill Generation Sources Year V6 (`scripts/backfill_generation_sources_year_v6.py`), GlobalGrid2050 Merge Generation Sources Annual to Master V6 (`scripts/merge_generation_sources_annual_to_master_v6.py`) and GlobalGrid2050 Generate Generation History Daily V6 (`scripts/generate_generation_history_daily_v6.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### GlobalGrid2050 Backfill Generation Sources Staggered Years V6 Workflow - File: globalgrid2050/.github/workflows/backfill_generation_sources_staggered_years_v6.yml (YAML, 133 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/backfill_generation_sources_staggered_years_v6.yml#L1-L133 - Page: https://code.globalgrid2050.com/explore-code/s/1710.html#f5 - Synopsis: A GitHub Actions workflow. Runs on a schedule and by hand. - What it achieves (comment): Runs GlobalGrid2050 Backfill Generation Sources Year V6 (`scripts/backfill_generation_sources_year_v6.py`), GlobalGrid2050 Split Generation Sources Year to Months V6 (`scripts/split_generation_sources_year_to_months_v6.py`) and GlobalGrid2050 Merge Generation Sources Annual to Master V6 (`scripts/merge_generation_sources_annual_to_master_v6.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 6 estate files (workflow-run 6); used by 0; mentioned by 0 ### GlobalGrid2050 Backfill Generation Sources Year V6 Workflow - File: globalgrid2050/.github/workflows/backfill_generation_sources_year_v6.yml (YAML, 61 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/backfill_generation_sources_year_v6.yml#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1710.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Backfill Generation Sources Year V6 (`scripts/backfill_generation_sources_year_v6.py`), GlobalGrid2050 Merge Generation Sources Annual to Master V6 (`scripts/merge_generation_sources_annual_to_master_v6.py`) and GlobalGrid2050 Generate Generation History Daily V6 (`scripts/generate_generation_history_daily_v6.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### GlobalGrid2050 Backfill UK Frequency Weekly V5 Workflow - File: globalgrid2050/.github/workflows/backfill_uk_frequency_weekly_v5.yml (YAML, 60 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/backfill_uk_frequency_weekly_v5.yml#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/1710.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Backfill UK Frequency Weekly V5 (`scripts/backfill_uk_frequency_weekly_v5.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Build V8 Battery Energy Storage System (BESS) GIS Single-Line Diagram (SLD) Financial… - File: globalgrid2050/.github/workflows/build-v8-bess-gis-sld-financial-sandbox.yml (YAML, 58 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/build-v8-bess-gis-sld-financial-sandbox.yml#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/1710.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Build V8 Battery Energy Storage System (BESS) GIS Single-Line Diagram (SLD) Financial Sandbox (`scripts/build_v8_bess_gis_sld_financial_sandbox.py`) and GlobalGrid2050 Test Build V8 Battery Energy Storage System (BESS) GIS Single-Line Diagram (SLD) Financial… (`scripts/test_build_v8_bess_gis_sld_financial_sandbox.py`). - What it does: It runs battery storage (BESS) and solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Build Generation Fuelhh Browser Slim Workflow - File: globalgrid2050/.github/workflows/build_generation_fuelhh_browser_slim.yml (YAML, 64 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/build_generation_fuelhh_browser_slim.yml#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/1711.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Build Generation Daily Fuelhh Browser Slim (`scripts/build_generation_daily_fuelhh_browser_slim.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Clone V3 to V4 Once Workflow - File: globalgrid2050/.github/workflows/clone-v3-to-v4-once.yml (YAML, 30 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/clone-v3-to-v4-once.yml#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/1711.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Clone V3 to V4 (`scripts/clone_v3_to_v4.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Clone V4 to V5 Workflow - File: globalgrid2050/.github/workflows/clone-v4-to-v5.yml (YAML, 21 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/clone-v4-to-v5.yml#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1711.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Clone V4 to V5 (`scripts/clone_v4_to_v5.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Clone Generation History V6 to V6 2 Workflow - File: globalgrid2050/.github/workflows/clone_generation_history_v6_to_v6_2.yml (YAML, 38 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/clone_generation_history_v6_to_v6_2.yml#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1711.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Clone Generation History V6 to V6 2 (`scripts/clone_generation_history_v6_to_v6_2.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Clone UK Energy Tracking V2 Workflow - File: globalgrid2050/.github/workflows/clone_uk_energy_tracking_v2.yml (YAML, 39 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/clone_uk_energy_tracking_v2.yml#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/1711.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Clone UK Energy Tracking V2 (`scripts/clone_uk_energy_tracking_v2.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Clone UK Energy Tracking V2 to V3 Workflow - File: globalgrid2050/.github/workflows/clone_uk_energy_tracking_v2_to_v3.yml (YAML, 31 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/clone_uk_energy_tracking_v2_to_v3.yml#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/1711.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Clone UK Energy Tracking V2 to V3 (`scripts/clone_uk_energy_tracking_v2_to_v3.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Clone UK Energy Tracking V4 to V5 Workflow - File: globalgrid2050/.github/workflows/clone_uk_energy_tracking_v4_to_v5.yml (YAML, 38 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/clone_uk_energy_tracking_v4_to_v5.yml#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1711.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Clone UK Energy Tracking V4 to V5 (`scripts/clone_uk_energy_tracking_v4_to_v5.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Compare UK Energy V5 V6 Workflow - File: globalgrid2050/.github/workflows/compare_uk_energy_v5_v6.yml (YAML, 35 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/compare_uk_energy_v5_v6.yml#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/1711.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Compare UK Energy V5 V6 (`scripts/compare_uk_energy_v5_v6.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Compare UK Energy V5 V6 V2 Workflow - File: globalgrid2050/.github/workflows/compare_uk_energy_v5_v6_v2.yml (YAML, 25 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/compare_uk_energy_v5_v6_v2.yml#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1711.html#f9 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Compare UK Energy V5 V6 V2 (`scripts/compare_uk_energy_v5_v6_v2.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Compare UK Energy V5 V6 V3 Workflow - File: globalgrid2050/.github/workflows/compare_uk_energy_v5_v6_v3.yml (YAML, 27 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/compare_uk_energy_v5_v6_v3.yml#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1711.html#f10 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Compare UK Energy V5 V6 V3 (`scripts/compare_uk_energy_v5_v6_v3.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Count Lines Workflow - File: globalgrid2050/.github/workflows/count-lines.yml (YAML, 108 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/count-lines.yml#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1711.html#f11 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on a schedule and by hand. - What it achieves (comment): Named “Count every line in the estate”. - What it does: It builds and publishes its content. Side effects: starts processes. - Inputs & outputs: In: JSON file shard.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file shard.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Create V8 Battery Energy Storage System (BESS) Electrical Topology Review Workflow - File: globalgrid2050/.github/workflows/create-v8-bess-electrical-topology-review.yml (YAML, 57 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/create-v8-bess-electrical-topology-review.yml#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/1711.html#f12 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Create V8 Battery Energy Storage System (BESS) Electrical Topology Review (`scripts/create_v8_bess_electrical_topology_review.py`) and GlobalGrid2050 Test Create V8 Battery Energy Storage System (BESS) Electrical Topology Review (`scripts/test_create_v8_bess_electrical_topology_review.py`). - What it does: It runs battery storage (BESS) and solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Create V8 Battery Energy Storage System (BESS) Pcs Standalone Workflow - File: globalgrid2050/.github/workflows/create-v8-bess-pcs-standalone.yml (YAML, 66 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/create-v8-bess-pcs-standalone.yml#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/1711.html#f13 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Create V8 Battery Energy Storage System (BESS) Pcs Standalone (`scripts/create_v8_bess_pcs_standalone.py`) and GlobalGrid2050 Test Create V8 Battery Energy Storage System (BESS) Pcs Standalone (`scripts/test_create_v8_bess_pcs_standalone.py`). - What it does: It runs battery storage (BESS) and solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Create UK Energy Tracking V4 Workflow - File: globalgrid2050/.github/workflows/create_uk_energy_tracking_v4.yml (YAML, 23 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/create_uk_energy_tracking_v4.yml#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1711.html#f14 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Clone V3 Tracker to V4 (`scripts/clone_v3_tracker_to_v4.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Datacentre News Workflow - File: globalgrid2050/.github/workflows/datacentre-news.yml (YAML, 95 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/datacentre-news.yml#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/1711.html#f15 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on a schedule and by hand. - What it achieves (comment): Named “Data-centre capex and politics news (three times a day, data branch)”; runs Datacentre Feed (`automation/news/datacentre_feed.py`). - What it does: It builds and publishes the REPD register. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'datacentre'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file datacentre_news.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file datacentre_news.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Dependencies V4 Workflow - File: globalgrid2050/.github/workflows/dependencies_v4.yml (YAML, 21 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/dependencies_v4.yml#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1712.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “V4 Dependency Diagnostics”; runs GlobalGrid2050 Dependencies V4 (`scripts/dependencies_v4.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Deploy Pages Workflow - File: globalgrid2050/.github/workflows/deploy-pages.yml (YAML, 397 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/deploy-pages.yml#L1-L397 - Page: https://code.globalgrid2050.com/explore-code/s/1712.html#f2 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, by hand and after another workflow. - What it achieves (comment): Runs GlobalGrid2050 Import Homepage Owner (`scripts/import_homepage_owner.py`), Browser Smoke V9 7 (`uk_renewables_pipeline/v9.7/tests/browser_smoke_v9_7.mjs`) and Browser Stage Agent7 (`uk_renewables_pipeline/202611151300/tests/browser_stage_agent7.mjs`); publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: JSON file status.json; JSON file major_project_news_v5.json; JSON file major_projects_v5.json; JSON file major_project_news_v6.json; JSON file major_project_news_v9_5_1.json; JSON file major_projects_v6.json; JSON file project_identity_v6.json; JSON file project_identity_v6_integrity.json. Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file status.json; JSON file major_project_news_v5.json; JSON file major_projects_v5.json; JSON file major_project_news_v6.json; JSON file major_project_news_v9_5_1.json; JSON file major_projects_v6.json; JSON file project_identity_v6.json; JSON file project_identity_v6_integrity.json]; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 6 estate files (workflow-run 5, estate-url 1); used by 0; mentioned by 0 ### GlobalGrid2050 Diagnose Repair V6 Price V5 UI Split Workflow - File: globalgrid2050/.github/workflows/diagnose_repair_v6_price_v5_ui_split.yml (YAML, 28 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/diagnose_repair_v6_price_v5_ui_split.yml#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1712.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Diagnose Repair V6 Price V5 UI Split (`scripts/diagnose_repair_v6_price_v5_ui_split.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Document UK Energy Trackers Workflow - File: globalgrid2050/.github/workflows/document_uk_energy_trackers.yml (YAML, 40 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/document_uk_energy_trackers.yml#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1712.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Document UK Energy Trackers (`scripts/document_uk_energy_trackers.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Elexon Generation Sources Weekly Workflow - File: globalgrid2050/.github/workflows/elexon_generation_sources_weekly.yml (YAML, 56 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/elexon_generation_sources_weekly.yml#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1712.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “Update Generation Sources YTD V6”; runs GlobalGrid2050 Download Elexon Generation Sources (`scripts/download_elexon_generation_sources.py`), GlobalGrid2050 Download Pvlive Solar History (`scripts/download_pvlive_solar_history.py`) and GlobalGrid2050 Split Elexon Generation Sources by Year (`scripts/split_elexon_generation_sources_by_year.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'elexon'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### GlobalGrid2050 Elexon System Prices Workflow - File: globalgrid2050/.github/workflows/elexon_system_prices.yml (YAML, 49 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/elexon_system_prices.yml#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1712.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Download Elexon System Prices (`scripts/download_elexon_system_prices.py`) and GlobalGrid2050 Split Elexon System Prices by Year (`scripts/split_elexon_system_prices_by_year.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Elexon System Prices Backfill 10y Workflow - File: globalgrid2050/.github/workflows/elexon_system_prices_backfill_10y.yml (YAML, 126 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/elexon_system_prices_backfill_10y.yml#L1-L126 - Page: https://code.globalgrid2050.com/explore-code/s/1713.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “One off safe Elexon System Prices backfill”; runs GlobalGrid2050 Download Elexon System Prices Range (`scripts/download_elexon_system_prices_range.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: CSV file elexon_system_prices_half_hourly.csv. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file elexon_system_prices_half_hourly.csv]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Fetch Elizabeth Line Workflow - File: globalgrid2050/.github/workflows/fetch_elizabeth_line.yml (YAML, 44 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_elizabeth_line.yml#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1713.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs `scripts/fetch_elizabeth_line.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Fetch Eurostar Workflow - File: globalgrid2050/.github/workflows/fetch_eurostar.yml (YAML, 44 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_eurostar.yml#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1713.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs `scripts/fetch_eurostar.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Fetch Global Ports Workflow - File: globalgrid2050/.github/workflows/fetch_global_ports.yml (YAML, 47 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_global_ports.yml#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1713.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs `scripts/fetch_global_ports.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Fetch Heavy Emitters UK Workflow - File: globalgrid2050/.github/workflows/fetch_heavy_emitters_uk.yml (YAML, 29 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_heavy_emitters_uk.yml#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1713.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs Fetch Heavy Emitters Ukv7 (`repd_grid_atlasv7/scripts/fetch_heavy_emitters_ukv7.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Fetch Motorway Services Workflow - File: globalgrid2050/.github/workflows/fetch_motorway_services.yml (YAML, 46 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_motorway_services.yml#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/1713.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs `scripts/fetch_motorway_services.py`. - What it does: It runs motorways. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: motorways. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Fetch NAEI Point Sources Workflow - File: globalgrid2050/.github/workflows/fetch_naei_point_sources.yml (YAML, 29 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_naei_point_sources.yml#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1713.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs Fetch NAEI Point Sources v7 (`repd_grid_atlasv7/scripts/fetch_naei_point_sourcesv7.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Fetch Stadiums Workflow - File: globalgrid2050/.github/workflows/fetch_stadiums.yml (YAML, 44 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_stadiums.yml#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1713.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs `scripts/fetch_stadiums.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Fetch Subsea Data Cables Workflow - File: globalgrid2050/.github/workflows/fetch_subsea_data_cables.yml (YAML, 46 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_subsea_data_cables.yml#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/1713.html#f9 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs `scripts/fetch_subsea_data_cables.py`. - What it does: It runs cables. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cables'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Fetch UK Energy and Prices Workflow - File: globalgrid2050/.github/workflows/fetch_uk_energy_and_prices.yml (YAML, 89 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_uk_energy_and_prices.yml#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/1713.html#f10 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): UK live grid tracker for globalgrid2050.com. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Fetch UK Energy and Prices V2 Workflow - File: globalgrid2050/.github/workflows/fetch_uk_energy_and_prices_v2.yml (YAML, 68 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_uk_energy_and_prices_v2.yml#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/1713.html#f11 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Update UK Energy V2 (`scripts/update_uk_energy_v2.py`) and GlobalGrid2050 Update UK Price V2 (`scripts/update_uk_price_v2.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Fetch UK Energy and Prices V3 Workflow - File: globalgrid2050/.github/workflows/fetch_uk_energy_and_prices_v3.yml (YAML, 72 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_uk_energy_and_prices_v3.yml#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/1713.html#f12 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Update UK Energy V3 (`scripts/update_uk_energy_v3.py`) and GlobalGrid2050 Update UK Price V3 (`scripts/update_uk_price_v3.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Fetch UK Energy and Prices V4 Workflow - File: globalgrid2050/.github/workflows/fetch_uk_energy_and_prices_v4.yml (YAML, 78 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_uk_energy_and_prices_v4.yml#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/1714.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Update UK Energy V4 (`scripts/update_uk_energy_v4.py`) and GlobalGrid2050 Update UK Price V4 (`scripts/update_uk_price_v4.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Fetch UK Energy and Prices V5 Workflow - File: globalgrid2050/.github/workflows/fetch_uk_energy_and_prices_v5.yml (YAML, 76 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_uk_energy_and_prices_v5.yml#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1714.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Update UK Energy V5 (`scripts/update_uk_energy_v5.py`), GlobalGrid2050 Update UK Price V5 (`scripts/update_uk_price_v5.py`) and GlobalGrid2050 Generate Price History Daily V5 (`scripts/generate_price_history_daily_v5.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### GlobalGrid2050 Fetch UK Energy and Prices V6 Workflow - File: globalgrid2050/.github/workflows/fetch_uk_energy_and_prices_v6.yml (YAML, 61 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_uk_energy_and_prices_v6.yml#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1714.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Update UK Energy V6 (`scripts/update_uk_energy_v6.py`), GlobalGrid2050 Update UK Price V6 (`scripts/update_uk_price_v6.py`) and GlobalGrid2050 Generate Price History Daily V6 (`scripts/generate_price_history_daily_v6.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### GlobalGrid2050 Fetch UK Frequency V5 Workflow - File: globalgrid2050/.github/workflows/fetch_uk_frequency_v5.yml (YAML, 83 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_uk_frequency_v5.yml#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/1714.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Update UK Frequency V5 (`scripts/update_uk_frequency_v5.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Fetch UK Frequency V6 Workflow - File: globalgrid2050/.github/workflows/fetch_uk_frequency_v6.yml (YAML, 85 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_uk_frequency_v6.yml#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/1714.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Update UK Frequency V6 (`scripts/update_uk_frequency_v6.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Fetch UK Railways Workflow - File: globalgrid2050/.github/workflows/fetch_uk_railways.yml (YAML, 41 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_uk_railways.yml#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1714.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs Fetch UK Railways (`repd_grid_atlasv8/scripts/fetch_uk_railways.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Fetch UK Roads Workflow - File: globalgrid2050/.github/workflows/fetch_uk_roads.yml (YAML, 41 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fetch_uk_roads.yml#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1714.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs Fetch UK Roads (`repd_grid_atlasv8/scripts/fetch_uk_roads.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Fix UK Renewables Pipeline CSV Export Workflow - File: globalgrid2050/.github/workflows/fix-uk-renewables-pipeline-csv-export.yml (YAML, 47 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fix-uk-renewables-pipeline-csv-export.yml#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1714.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Fix UK Renewables Pipeline CSV Export (`scripts/fix_uk_renewables_pipeline_csv_export.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Fix V5 JS Filenames Workflow - File: globalgrid2050/.github/workflows/fix-v5-js-filenames.yml (YAML, 21 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fix-v5-js-filenames.yml#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1714.html#f9 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Fix V5 JS Filenames (`scripts/fix_v5_js_filenames.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Fix V6 V7 GIS Single-Line Diagram (SLD) Print Simple Safe Workflow - File: globalgrid2050/.github/workflows/fix-v6-v7-gis-sld-print-simple-safe.yml (YAML, 54 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fix-v6-v7-gis-sld-print-simple-safe.yml#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1714.html#f10 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Fix V6 V7 GIS Single-Line Diagram (SLD) Print Simple Safe (`scripts/fix_v6_v7_gis_sld_print_simple_safe.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Array Toggle Visibility Workflow - File: globalgrid2050/.github/workflows/fix-v7-gis-sld-mobile-array-toggle-visibility.yml (YAML, 47 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fix-v7-gis-sld-mobile-array-toggle-visibility.yml#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1714.html#f11 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Array Toggle Visibility (`scripts/fix_v7_gis_sld_mobile_array_toggle_visibility.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Mwp Sizing Visibility Workflow - File: globalgrid2050/.github/workflows/fix-v7-gis-sld-mobile-mwp-sizing-visibility.yml (YAML, 47 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fix-v7-gis-sld-mobile-mwp-sizing-visibility.yml#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1714.html#f12 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Mwp Sizing Visibility (`scripts/fix_v7_gis_sld_mobile_mwp_sizing_visibility.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Tool Overlay Spacing Workflow - File: globalgrid2050/.github/workflows/fix-v7-gis-sld-mobile-tool-overlay-spacing.yml (YAML, 47 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fix-v7-gis-sld-mobile-tool-overlay-spacing.yml#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1715.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Tool Overlay Spacing (`scripts/fix_v7_gis_sld_mobile_tool_overlay_spacing.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Tools Energy Layer Clearance Workflow - File: globalgrid2050/.github/workflows/fix-v7-gis-sld-mobile-tools-energy-layer-clearance.yml (YAML, 47 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/fix-v7-gis-sld-mobile-tools-energy-layer-clearance.yml#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1715.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Tools Energy Layer Clearance (`scripts/fix_v7_gis_sld_mobile_tools_energy_layer_clearance.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Force UK Energy Tracking V3 Price History Workflow - File: globalgrid2050/.github/workflows/force_uk_energy_tracking_v3_price_history.yml (YAML, 43 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/force_uk_energy_tracking_v3_price_history.yml#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1715.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Update UK Price V3 (`scripts/update_uk_price_v3.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Generate GIS Single-Line Diagram (SLD) Full Code Reports Workflow - File: globalgrid2050/.github/workflows/generate-gis-sld-full-code-reports.yml (YAML, 51 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/generate-gis-sld-full-code-reports.yml#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/1715.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Generate GIS Single-Line Diagram (SLD) Full Code Reports (`scripts/generate_gis_sld_full_code_reports.py`) and GlobalGrid2050 Test Generate GIS Single-Line Diagram (SLD) Full Code Reports (`scripts/test_generate_gis_sld_full_code_reports.py`). - What it does: It runs battery storage (BESS) and solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Generate V8 Codebase Blueprint Workflow - File: globalgrid2050/.github/workflows/generate-v8-codebase-blueprint.yml (YAML, 52 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/generate-v8-codebase-blueprint.yml#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1715.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Generate V8 Codebase Blueprint (`scripts/generate_v8_codebase_blueprint.py`) and GlobalGrid2050 Test Generate V8 Codebase Blueprint (`scripts/test_generate_v8_codebase_blueprint.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Generate Deep Subsea Workflow - File: globalgrid2050/.github/workflows/generate_deep_subsea.yml (YAML, 19 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/generate_deep_subsea.yml#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/1715.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs `scripts/generate_deep_subsea.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Generate Global Hydrocarbons Workflow - File: globalgrid2050/.github/workflows/generate_global_hydrocarbons.yml (YAML, 34 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/generate_global_hydrocarbons.yml#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/1715.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs `scripts/fetch_global_hydrocarbons.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Generate Price History 4bucket V2 Workflow - File: globalgrid2050/.github/workflows/generate_price_history_4bucket_v2.yml (YAML, 43 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/generate_price_history_4bucket_v2.yml#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1715.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Generate Price History 4bucket V2 (`scripts/generate_price_history_4bucket_v2.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Generate Repo Structure Workflow - File: globalgrid2050/.github/workflows/generate_repo_structure.yml (YAML, 44 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/generate_repo_structure.yml#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1715.html#f9 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Generate V6 Architectural Integrity Protocol Workflow - File: globalgrid2050/.github/workflows/generate_v6_architectural_integrity_protocol.yml (YAML, 35 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/generate_v6_architectural_integrity_protocol.yml#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/1715.html#f10 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Generate V6 Architectural Integrity Protocol (`scripts/generate_v6_architectural_integrity_protocol.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Generation Ecg All Tech Mvp Workflow - File: globalgrid2050/.github/workflows/generation_ecg_all_tech_mvp.yml (YAML, 100 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/generation_ecg_all_tech_mvp.yml#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/1715.html#f11 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Build Generation Ecg All Tech Mvp (`scripts/build_generation_ecg_all_tech_mvp.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Generation Heartbeat Mvp Workflow - File: globalgrid2050/.github/workflows/generation_heartbeat_mvp.yml (YAML, 118 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/generation_heartbeat_mvp.yml#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/1715.html#f12 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Build Generation Heartbeat Mvp (`scripts/build_generation_heartbeat_mvp.py`). - What it does: It runs wind. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: wind. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Generator Device Review Workflow - File: globalgrid2050/.github/workflows/generator-device-review.yml (YAML, 20 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/generator-device-review.yml#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1715.html#f13 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, on pull requests and by hand. - What it achieves (comment): Runs Verify Evidence (`testcode/20260915050706/verify-evidence.mjs`). - What it does: It builds and publishes its content. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 GPU Engine Check Workflow - File: globalgrid2050/.github/workflows/gpu-engine-check.yml (YAML, 102 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gpu-engine-check.yml#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/1716.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on a schedule and by hand. - What it achieves (comment): Runs `farm.py`. - What it does: It builds and publishes its content. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Feature Install Workflow - File: globalgrid2050/.github/workflows/gridbot-feature-install.yml (YAML, 83 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot-feature-install.yml#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/1716.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Feature Installer (`scripts/gridbot_feature_installer.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: EPC_contractor · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot App Repo Bootstrap Workflow - File: globalgrid2050/.github/workflows/gridbot_app_repo_bootstrap.yml (YAML, 93 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_app_repo_bootstrap.yml#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/1716.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot App Repo Bootstrap (`scripts/gridbot_app_repo_bootstrap.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Audit Process Documentation Workflow - File: globalgrid2050/.github/workflows/gridbot_audit_process_documentation.yml (YAML, 93 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_audit_process_documentation.yml#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/1716.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Document Audit Process (`scripts/gridbot_document_audit_process.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Bulk Data Workflow Freeze Workflow - File: globalgrid2050/.github/workflows/gridbot_bulk_data_workflow_freeze.yml (YAML, 88 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_bulk_data_workflow_freeze.yml#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/1716.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Bulk Data Workflow Freeze (`scripts/gridbot_bulk_data_workflow_freeze.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Daily MWh Multi Technology Wiring Workflow - File: globalgrid2050/.github/workflows/gridbot_daily_mwh_multi_technology_wiring.yml (YAML, 91 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_daily_mwh_multi_technology_wiring.yml#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/1716.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Daily MWh Multi Technology Wiring (`scripts/gridbot_daily_mwh_multi_technology_wiring.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Daily MWh Seasonal Colouring Workflow - File: globalgrid2050/.github/workflows/gridbot_daily_mwh_seasonal_colouring.yml (YAML, 90 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_daily_mwh_seasonal_colouring.yml#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/1716.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Daily MWh Seasonal Colouring (`scripts/gridbot_daily_mwh_seasonal_colouring.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Daily MWh Titles Labels Workflow - File: globalgrid2050/.github/workflows/gridbot_daily_mwh_titles_labels.yml (YAML, 89 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_daily_mwh_titles_labels.yml#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/1717.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Daily MWh Titles Labels (`scripts/gridbot_daily_mwh_titles_labels.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Deprecated Tracker Stale Data Audit Workflow - File: globalgrid2050/.github/workflows/gridbot_deprecated_tracker_stale_data_audit.yml (YAML, 70 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_deprecated_tracker_stale_data_audit.yml#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/1717.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Deprecated Tracker Stale Data Audit (`scripts/gridbot_deprecated_tracker_stale_data_audit.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'deprecated'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Generation Daily MWh Fuelhh Chunks Workflow - File: globalgrid2050/.github/workflows/gridbot_generation_daily_mwh_fuelhh_chunks.yml (YAML, 102 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_generation_daily_mwh_fuelhh_chunks.yml#L1-L102 - Page: https://code.globalgrid2050.com/explore-code/s/1717.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Build Generation Daily MWh Fuelhh Chunks (`scripts/build_generation_daily_mwh_fuelhh_chunks.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Generation History Solar Workflow - File: globalgrid2050/.github/workflows/gridbot_generation_history_solar.yml (YAML, 97 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_generation_history_solar.yml#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/1717.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Generation History Solar (`scripts/gridbot_generation_history_solar.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Generation History Solar Recent Workflow - File: globalgrid2050/.github/workflows/gridbot_generation_history_solar_recent.yml (YAML, 95 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_generation_history_solar_recent.yml#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/1717.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Generation History Solar Recent (`scripts/gridbot_generation_history_solar_recent.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Generation History V6 2 Backup Mirror Workflow - File: globalgrid2050/.github/workflows/gridbot_generation_history_v6_2_backup_mirror.yml (YAML, 90 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_generation_history_v6_2_backup_mirror.yml#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/1717.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Generation History V6 2 Backup Mirror (`scripts/gridbot_generation_history_v6_2_backup_mirror.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Generation Interconnector Split Workflow - File: globalgrid2050/.github/workflows/gridbot_generation_interconnector_split.yml (YAML, 111 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_generation_interconnector_split.yml#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/1717.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Generation Interconnector Split (`scripts/gridbot_generation_interconnector_split.py`). - What it does: It runs interconnectors. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Generation Interconnector Split V2 Workflow - File: globalgrid2050/.github/workflows/gridbot_generation_interconnector_split_v2.yml (YAML, 92 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_generation_interconnector_split_v2.yml#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/1718.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Generation Interconnector Split (`scripts/gridbot_generation_interconnector_split.py`). - What it does: It runs interconnectors. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Generation MWh Active V6 Source Audit Workflow - File: globalgrid2050/.github/workflows/gridbot_generation_mwh_active_v6_source_audit.yml (YAML, 80 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_generation_mwh_active_v6_source_audit.yml#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/1718.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Generation MWh Active V6 Source Audit (`scripts/gridbot_generation_mwh_active_v6_source_audit.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Generation MWh Interconnector Split V6 Workflow - File: globalgrid2050/.github/workflows/gridbot_generation_mwh_interconnector_split_v6.yml (YAML, 105 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_generation_mwh_interconnector_split_v6.yml#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/1718.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Generation MWh Interconnector Split V6 (`scripts/gridbot_generation_mwh_interconnector_split_v6.py`). - What it does: It runs interconnectors. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Generation MWh Interconnector UI Guard Workflow - File: globalgrid2050/.github/workflows/gridbot_generation_mwh_interconnector_ui_guard.yml (YAML, 91 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_generation_mwh_interconnector_ui_guard.yml#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/1718.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Generation MWh Interconnector UI Guard (`scripts/gridbot_generation_mwh_interconnector_ui_guard.py`). - What it does: It runs interconnectors. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Interconnector Bar UI Match Workflow - File: globalgrid2050/.github/workflows/gridbot_interconnector_bar_ui_match.yml (YAML, 93 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_interconnector_bar_ui_match.yml#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/1718.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Interconnector Bar UI Final (`scripts/gridbot_interconnector_bar_ui_final.py`). - What it does: It runs interconnectors. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnector'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Interconnector Mobile UI Repair Workflow - File: globalgrid2050/.github/workflows/gridbot_interconnector_mobile_ui_repair.yml (YAML, 92 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_interconnector_mobile_ui_repair.yml#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/1718.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Interconnector Mobile UI Repair (`scripts/gridbot_interconnector_mobile_ui_repair.py`). - What it does: It runs interconnectors. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'interconnector'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: interconnectors. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot London Solar Daylight Geometry Workflow - File: globalgrid2050/.github/workflows/gridbot_london_solar_daylight_geometry.yml (YAML, 95 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_london_solar_daylight_geometry.yml#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/1718.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot London Solar Daylight Geometry (`scripts/gridbot_london_solar_daylight_geometry.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot London Sunrise Sunset UI Chart Workflow - File: globalgrid2050/.github/workflows/gridbot_london_sunrise_sunset_ui_chart.yml (YAML, 138 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_london_sunrise_sunset_ui_chart.yml#L1-L138 - Page: https://code.globalgrid2050.com/explore-code/s/1719.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: In: JSON file london_solar_daylight_geometry_2026.json; JSON file LONDON_SUNRISE_SUNSET_UI_CHART_LATEST.json. Out: SVG drawing; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file london_solar_daylight_geometry_2026.json; JSON file LONDON_SUNRISE_SUNSET_UI_CHART_LATEST.json]; out [SVG drawing; commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Mega Upgrade Workflow - File: globalgrid2050/.github/workflows/gridbot_mega_upgrade.yml (YAML, 92 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_mega_upgrade.yml#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/1719.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Mega Upgrade (`scripts/gridbot_mega_upgrade.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot MWh Mobile Bounds Repair Workflow - File: globalgrid2050/.github/workflows/gridbot_mwh_mobile_bounds_repair.yml (YAML, 91 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_mwh_mobile_bounds_repair.yml#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/1719.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot MWh Mobile Bounds Repair (`scripts/gridbot_mwh_mobile_bounds_repair.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Repo Split Inventory Workflow - File: globalgrid2050/.github/workflows/gridbot_repo_split_inventory.yml (YAML, 66 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_repo_split_inventory.yml#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/1719.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Repo Split Inventory (`scripts/gridbot_repo_split_inventory.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Root Homepage Directory Audit Workflow - File: globalgrid2050/.github/workflows/gridbot_root_homepage_directory_audit.yml (YAML, 91 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_root_homepage_directory_audit.yml#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/1719.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Root Homepage Directory Audit (`scripts/gridbot_root_homepage_directory_audit.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Solar 10 Year Backfill Workflow - File: globalgrid2050/.github/workflows/gridbot_solar_10_year_backfill.yml (YAML, 88 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_solar_10_year_backfill.yml#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/1719.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Solar Historic Backfill (`scripts/gridbot_solar_historic_backfill.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Daily MWh Chart Upgrade Workflow - File: globalgrid2050/.github/workflows/gridbot_solar_daily_mwh_chart_upgrade.yml (YAML, 71 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_solar_daily_mwh_chart_upgrade.yml#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/1719.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Solar Daily MWh Index Upgrade (`scripts/gridbot_solar_daily_mwh_index_upgrade.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Daily MWh Interaction Upgrade Workflow - File: globalgrid2050/.github/workflows/gridbot_solar_daily_mwh_interaction_upgrade.yml (YAML, 73 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_solar_daily_mwh_interaction_upgrade.yml#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/1720.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Solar Daily MWh Interaction Upgrade (`scripts/gridbot_solar_daily_mwh_interaction_upgrade.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Daily MWh Readability Upgrade Workflow - File: globalgrid2050/.github/workflows/gridbot_solar_daily_mwh_readability_upgrade.yml (YAML, 76 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_solar_daily_mwh_readability_upgrade.yml#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1720.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Solar Daily MWh Readability Upgrade (`scripts/gridbot_solar_daily_mwh_readability_upgrade.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Daily MWh Standalone Upgrade Workflow - File: globalgrid2050/.github/workflows/gridbot_solar_daily_mwh_standalone_upgrade.yml (YAML, 78 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_solar_daily_mwh_standalone_upgrade.yml#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/1720.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Solar Daily MWh Standalone Upgrade (`scripts/gridbot_solar_daily_mwh_standalone_upgrade.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Historic Backfill Workflow - File: globalgrid2050/.github/workflows/gridbot_solar_historic_backfill.yml (YAML, 88 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_solar_historic_backfill.yml#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/1720.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Solar Historic Backfill (`scripts/gridbot_solar_historic_backfill.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Immediate Data Workflow - File: globalgrid2050/.github/workflows/gridbot_solar_immediate_data.yml (YAML, 77 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_solar_immediate_data.yml#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1720.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Solar Immediate Data (`scripts/gridbot_solar_immediate_data.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Monthly Backfill Workflow - File: globalgrid2050/.github/workflows/gridbot_solar_monthly_backfill.yml (YAML, 101 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_solar_monthly_backfill.yml#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/1720.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Solar Monthly Backfill (`scripts/gridbot_solar_monthly_backfill.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Monthly Backfill Auto Workflow - File: globalgrid2050/.github/workflows/gridbot_solar_monthly_backfill_auto.yml (YAML, 94 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_solar_monthly_backfill_auto.yml#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/1720.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Solar Monthly Backfill (`scripts/gridbot_solar_monthly_backfill.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Solar Peak Integrity Audit Workflow - File: globalgrid2050/.github/workflows/gridbot_solar_peak_integrity_audit.yml (YAML, 87 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_solar_peak_integrity_audit.yml#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/1720.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Solar Peak Integrity Audit (`scripts/gridbot_solar_peak_integrity_audit.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Sunrise Sunset Time Bands Workflow - File: globalgrid2050/.github/workflows/gridbot_sunrise_sunset_time_bands.yml (YAML, 95 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_sunrise_sunset_time_bands.yml#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/1721.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Sunrise Sunset Time Bands (`scripts/gridbot_sunrise_sunset_time_bands.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Sunrise Sunset Visible Attribution Workflow - File: globalgrid2050/.github/workflows/gridbot_sunrise_sunset_visible_attribution.yml (YAML, 91 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_sunrise_sunset_visible_attribution.yml#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/1721.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Sunrise Sunset Visible Attribution (`scripts/gridbot_sunrise_sunset_visible_attribution.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot V3 Consolidated Price History Workflow - File: globalgrid2050/.github/workflows/gridbot_v3_consolidated_price_history.yml (YAML, 85 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_v3_consolidated_price_history.yml#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/1721.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot V3 Diary Preflight (`scripts/gridbot_v3_diary_preflight.py`), GlobalGrid2050 Patch V3 Price History Correctness (`scripts/patch_v3_price_history_correctness.py`) and GlobalGrid2050 Patch V3 Price History Fullscreen (`scripts/patch_v3_price_history_fullscreen.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot V6 Same Slot Reconciliation Audit Workflow - File: globalgrid2050/.github/workflows/gridbot_v6_same_slot_reconciliation_audit.yml (YAML, 137 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/gridbot_v6_same_slot_reconciliation_audit.yml#L1-L137 - Page: https://code.globalgrid2050.com/explore-code/s/1721.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot V6 Same Slot Reconciliation Audit (`scripts/gridbot_v6_same_slot_reconciliation_audit.py`). - What it does: It runs solar and wind. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar, wind. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Homepage Catalogue Workflow - File: globalgrid2050/.github/workflows/homepage-catalogue.yml (YAML, 33 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/homepage-catalogue.yml#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1721.html#f5 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it achieves (comment): Runs GlobalGrid2050 Check Homepage Catalogue (`scripts/check_homepage_catalogue.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Homepage Restore Point Check Workflow - File: globalgrid2050/.github/workflows/homepage-restore-point-check.yml (YAML, 57 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/homepage-restore-point-check.yml#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/1721.html#f6 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it achieves (comment): Runs GlobalGrid2050 Measure Homepage Version (`scripts/measure_homepage_version.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Inspect Data Science Discipline Workflow - File: globalgrid2050/.github/workflows/inspect_data_science_discipline.yml (YAML, 59 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/inspect_data_science_discipline.yml#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/1721.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Inspect Data Science Discipline (`scripts/inspect_data_science_discipline.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Install Solar DC Er Section Workflow - File: globalgrid2050/.github/workflows/install_solar_dc_er_section.yml (YAML, 58 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/install_solar_dc_er_section.yml#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/1721.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Insert Markdown Section (`scripts/gridbot_insert_markdown_section.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Install Solar DC Er Subsections Workflow - File: globalgrid2050/.github/workflows/install_solar_dc_er_subsections.yml (YAML, 53 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/install_solar_dc_er_subsections.yml#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1721.html#f9 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Insert DC Subsections (`scripts/gridbot_insert_dc_subsections.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Inverter Flow Check Workflow - File: globalgrid2050/.github/workflows/inverter-flow-check.yml (YAML, 34 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/inverter-flow-check.yml#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/1722.html#f1 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it achieves (comment): Runs `.github/tests/inverter-flow.cjs`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'inverter'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### GlobalGrid2050 Isolate UK Energy Tracking V2 Workflow - File: globalgrid2050/.github/workflows/isolate_uk_energy_tracking_v2.yml (YAML, 45 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/isolate_uk_energy_tracking_v2.yml#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1722.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Isolate UK Energy Tracking V2 (`scripts/isolate_uk_energy_tracking_v2.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Jekyll Gh Pages Workflow - File: globalgrid2050/.github/workflows/jekyll-gh-pages.yml (YAML, 58 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/jekyll-gh-pages.yml#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/1722.html#f3 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs by hand. - What it achieves (comment): Build and deploy the GlobalGrid2050 Pages site. - What it does: It builds and publishes its content. Side effects: starts processes. - Inputs & outputs: Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Key to Code Workflow - File: globalgrid2050/.github/workflows/key-to-code.yml (YAML, 50 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/key-to-code.yml#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/1722.html#f4 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs by hand. - What it achieves (comment): Forty lanes re-check that every block on the wafer is still tied to its real line of code. - What it does: It builds and publishes its content. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Major Project News V4 Workflow - File: globalgrid2050/.github/workflows/major_project_news_v4.yml (YAML, 38 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/major_project_news_v4.yml#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1722.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “UK Renewables V4 Major Project News”; runs GlobalGrid2050 Major Project News V4 (`scripts/major_project_news_v4.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Major Project News V5 Workflow - File: globalgrid2050/.github/workflows/major_project_news_v5.yml (YAML, 61 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/major_project_news_v5.yml#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1722.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “UK Renewables V5 Newspaper”; runs GlobalGrid2050 Validate Renewables V5 Integrity (`scripts/validate_renewables_v5_integrity.py`) and GlobalGrid2050 Major Project News V5 (`scripts/major_project_news_v5.py`). - What it does: It runs solar. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar. - Inputs & outputs: In: JSON file major_project_news_v5.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v5.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Major Project News V6 Workflow - File: globalgrid2050/.github/workflows/major_project_news_v6.yml (YAML, 138 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/major_project_news_v6.yml#L1-L138 - Page: https://code.globalgrid2050.com/explore-code/s/1722.html#f7 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs by hand. - What it achieves (comment): Named “UK Renewables V6 Renewable Energy Planning Database (REPD)-Bound Newspaper”; runs GlobalGrid2050 Validate Renewable Energy Planning Database (REPD) Sources V6 (`scripts/validate_repd_sources_v6.py`), GlobalGrid2050 Validate V6 Manifest Provenance (`scripts/validate_v6_manifest_provenance.py`) and GlobalGrid2050 Build Project Identity V6 (`scripts/build_project_identity_v6.py`). - What it does: It builds and publishes the REPD register. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 10 estate files (workflow-run 10); used by 0; mentioned by 0 ### GlobalGrid2050 Modularise Solar Er Workflow - File: globalgrid2050/.github/workflows/modularise_solar_er.yml (YAML, 48 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/modularise_solar_er.yml#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/1722.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Modularise Employers' Requirements (`scripts/gridbot_modularise_employers_requirements.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Modularize V3 Once Workflow - File: globalgrid2050/.github/workflows/modularize-v3-once.yml (YAML, 32 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/modularize-v3-once.yml#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/1722.html#f9 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Modularize V3 (`scripts/modularize_v3.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Night Tests Workflow - File: globalgrid2050/.github/workflows/night-tests.yml (YAML, 160 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/night-tests.yml#L1-L160 - Page: https://code.globalgrid2050.com/explore-code/s/1722.html#f10 - Synopsis: A GitHub Actions workflow. Runs on a schedule and by hand. - What it achieves (comment): Every 30 minutes this job opens the live pages in headless Chrome and checks them: HTTP status, uncaught page errors, console errors, horizontal overflow on a phone viewport, the words each page must and must not show, and. - What it does: It tests its inputs. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file report.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file report.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Ons MWh Energy Use Annual V6 Workflow - File: globalgrid2050/.github/workflows/ons_mwh_energy_use_annual_v6.yml (YAML, 45 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/ons_mwh_energy_use_annual_v6.yml#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Download Ons MWh Energy Use V6 (`scripts/download_ons_mwh_energy_use_v6.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Open Energy Cartridge Workflow - File: globalgrid2050/.github/workflows/open-energy-cartridge.yml (YAML, 24 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/open-energy-cartridge.yml#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f2 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 7 estate files (workflow-run 7); used by 0; mentioned by 0 ### GlobalGrid2050 Overnight Generation MW Backfill Workflow - File: globalgrid2050/.github/workflows/overnight_generation_mw_backfill.yml (YAML, 137 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/overnight_generation_mw_backfill.yml#L1-L137 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Fetch Generation MW Year Staged (`scripts/fetch_generation_mw_year_staged.py`) and GlobalGrid2050 Build Generation Daily MW Spine (`scripts/build_generation_daily_mw_spine.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Patch UK Energy Oil Dashboard Workflow - File: globalgrid2050/.github/workflows/patch_uk_energy_oil_dashboard.yml (YAML, 42 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/patch_uk_energy_oil_dashboard.yml#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Patch UK Energy Oil Dashboard Interactivity (`scripts/patch_uk_energy_oil_dashboard_interactivity.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Patch UK Energy Tracking V2 Oil Graph Workflow - File: globalgrid2050/.github/workflows/patch_uk_energy_tracking_v2_oil_graph.yml (YAML, 40 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/patch_uk_energy_tracking_v2_oil_graph.yml#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Patch UK Energy Tracking V2 Oil Graph (`scripts/patch_uk_energy_tracking_v2_oil_graph.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Patch UK Energy Tracking V2 Transport Workflow - File: globalgrid2050/.github/workflows/patch_uk_energy_tracking_v2_transport.yml (YAML, 41 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/patch_uk_energy_tracking_v2_transport.yml#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Patch UK Energy Tracking V2 Transport (`scripts/patch_uk_energy_tracking_v2_transport.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Patch V3 Price Axis Table Fullscreen Workflow - File: globalgrid2050/.github/workflows/patch_v3_price_axis_table_fullscreen.yml (YAML, 20 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/patch_v3_price_axis_table_fullscreen.yml#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Patch V3 Price Axis Table Fullscreen (`scripts/patch_v3_price_axis_table_fullscreen.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Patch V3 Price History Correctness Workflow - File: globalgrid2050/.github/workflows/patch_v3_price_history_correctness.yml (YAML, 23 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/patch_v3_price_history_correctness.yml#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Patch V3 Price History Correctness (`scripts/patch_v3_price_history_correctness.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Patch V3 Price History Date Window Workflow - File: globalgrid2050/.github/workflows/patch_v3_price_history_date_window.yml (YAML, 19 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/patch_v3_price_history_date_window.yml#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f9 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Patch V3 Price History Date Window (`scripts/patch_v3_price_history_date_window.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Patch V3 Price History Fullscreen Workflow - File: globalgrid2050/.github/workflows/patch_v3_price_history_fullscreen.yml (YAML, 19 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/patch_v3_price_history_fullscreen.yml#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f10 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Patch V3 Price History Fullscreen (`scripts/patch_v3_price_history_fullscreen.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Patch V3 Price History Merge System Workflow - File: globalgrid2050/.github/workflows/patch_v3_price_history_merge_system.yml (YAML, 19 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/patch_v3_price_history_merge_system.yml#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f11 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “Patch V3 merged price source”; runs GlobalGrid2050 Patch V3 Price History Merge System (`scripts/patch_v3_price_history_merge_system.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Patch V3 Price History UI Workflow - File: globalgrid2050/.github/workflows/patch_v3_price_history_ui.yml (YAML, 55 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/patch_v3_price_history_ui.yml#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f12 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Patch V3 Price History UI (`scripts/patch_v3_price_history_ui.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Patch V3 Price Lazy Selectors Workflow - File: globalgrid2050/.github/workflows/patch_v3_price_lazy_selectors.yml (YAML, 22 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/patch_v3_price_lazy_selectors.yml#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f13 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Patch V3 Price Lazy Selectors (`scripts/patch_v3_price_lazy_selectors.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Patch V3 Price Range Fullscreen Fix Workflow - File: globalgrid2050/.github/workflows/patch_v3_price_range_fullscreen_fix.yml (YAML, 20 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/patch_v3_price_range_fullscreen_fix.yml#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f14 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Patch V3 Price Range Fullscreen Fix (`scripts/patch_v3_price_range_fullscreen_fix.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Patch V4 Live Tracker Modular Structure Workflow - File: globalgrid2050/.github/workflows/patch_v4_live_tracker_modular_structure.yml (YAML, 72 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/patch_v4_live_tracker_modular_structure.yml#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f15 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Patch V4 Live Tracker Modular Structure (`scripts/patch_v4_live_tracker_modular_structure.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Patch V5 Chart Dynamic Annotations Workflow - File: globalgrid2050/.github/workflows/patch_v5_chart_dynamic_annotations.yml (YAML, 43 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/patch_v5_chart_dynamic_annotations.yml#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f16 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Patch V5 Chart Dynamic Annotations (`scripts/patch_v5_chart_dynamic_annotations.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### GlobalGrid2050 Patch V5 Chart Overlap Controls Workflow - File: globalgrid2050/.github/workflows/patch_v5_chart_overlap_controls.yml (YAML, 43 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/patch_v5_chart_overlap_controls.yml#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1723.html#f17 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Patch V5 Chart Breathing Space (`scripts/patch_v5_chart_breathing_space.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### GlobalGrid2050 Patch V5 Fullscreen Glow Controls Workflow - File: globalgrid2050/.github/workflows/patch_v5_fullscreen_glow_controls.yml (YAML, 55 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/patch_v5_fullscreen_glow_controls.yml#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/1724.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Patch V5 Fullscreen Glow Controls (`scripts/patch_v5_fullscreen_glow_controls.py`), GlobalGrid2050 Patch V5 Fullscreen Left Legend (`scripts/patch_v5_fullscreen_left_legend.py`) and GlobalGrid2050 Patch V5 Multi Year Loading (`scripts/patch_v5_multi_year_loading.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 7 estate files (workflow-run 7); used by 0; mentioned by 0 ### GlobalGrid2050 Pipeline Code Census Workflow - File: globalgrid2050/.github/workflows/pipeline-code-census.yml (YAML, 77 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pipeline-code-census.yml#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1724.html#f2 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Pipeline News code-line delta and manual full census”; runs Code Line Delta (`automation/pipeline_release/code_line_delta.py`) and Code Census (`automation/pipeline_release/code_census.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file delta.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file delta.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Pipeline Headlines Workflow - File: globalgrid2050/.github/workflows/pipeline-headlines.yml (YAML, 179 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pipeline-headlines.yml#L1-L179 - Page: https://code.globalgrid2050.com/explore-code/s/1724.html#f3 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, on pull requests and on a schedule. - What it achieves (comment): Named “Pipeline headlines (three times a day, data branch)”; runs Compare Legacy Collector (`automation/news/tests/compare_legacy_collector.py`) and Pipeline Headlines (`automation/news/pipeline_headlines.py`). - What it does: It builds and publishes the REPD register. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file pipeline_feeds.json; JSON file pipeline-headlines.v1.schema.json; JSON file pipeline_headlines.json; JSON file pipeline_headlines.rank.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pipeline_feeds.json; JSON file pipeline-headlines.v1.schema.json; JSON file pipeline_headlines.json; JSON file pipeline_headlines.rank.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### GlobalGrid2050 Pipeline Legal Evidence Workflow - File: globalgrid2050/.github/workflows/pipeline-legal-evidence.yml (YAML, 28 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pipeline-legal-evidence.yml#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1724.html#f4 - Synopsis: A GitHub Actions workflow. Runs on pull requests. - What it achieves (comment): Named “Pipeline project A4 legal evidence”; runs A4 Legal Model (`uk_renewables_pipeline/202611280922/tests/a4-legal-model.mjs`) and A4 Legal Evidence (`uk_renewables_pipeline/202611280922/tests/a4-legal-evidence.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### GlobalGrid2050 Pipeline Project Evidence Weekly Workflow - File: globalgrid2050/.github/workflows/pipeline-project-evidence-weekly.yml (YAML, 135 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pipeline-project-evidence-weekly.yml#L1-L135 - Page: https://code.globalgrid2050.com/explore-code/s/1724.html#f5 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on pull requests, on a schedule and by hand. - What it achieves (comment): Named “Solar project evidence (weekly, review gated)”; runs Run V9 25 (`uk_renewables_pipeline/202611161630/tests/run_v9_25.sh`). - What it does: It builds and publishes solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar. - Inputs & outputs: In: JSON file source-probe.json; JSON file evidence-run.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file source-probe.json; JSON file evidence-run.json]; out []; crs []; voltages [] - Edges: uses 48 estate files (workflow-run 48); used by 0; mentioned by 0 ### GlobalGrid2050 Pipeline V977 Live Workflow - File: globalgrid2050/.github/workflows/pipeline-v977-live.yml (YAML, 31 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pipeline-v977-live.yml#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/1724.html#f6 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, by hand and after another workflow. - What it achieves (comment): Named “Published PipelineNews V9.77 legal evidence”; runs Live V977 (`automation/pipeline_legal_evidence/live_v977.py`). - What it does: It builds and publishes its content. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V955 Hud Workflow - File: globalgrid2050/.github/workflows/pn-v955-hud.yml (YAML, 38 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v955-hud.yml#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1724.html#f7 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “Pipeline News V9.55 HUD browser acceptance”; runs `uk_renewables_pipeline/202611191305/tests/hud-v955.mjs`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V956 Hud Workflow - File: globalgrid2050/.github/workflows/pn-v956-hud.yml (YAML, 42 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v956-hud.yml#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1724.html#f8 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “Pipeline News V9.56 HUD browser acceptance”; runs `uk_renewables_pipeline/202611191418/tests/hud-v955.mjs`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V957 Hud Workflow - File: globalgrid2050/.github/workflows/pn-v957-hud.yml (YAML, 95 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v957-hud.yml#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/1724.html#f9 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Pipeline News V9.57 HUD browser acceptance”; runs Hud V955 (`uk_renewables_pipeline/202611201709/tests/hud-v955.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V958 News Maximise Workflow - File: globalgrid2050/.github/workflows/pn-v958-news-maximise.yml (YAML, 67 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v958-news-maximise.yml#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/1725.html#f1 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “Pipeline News V9.58 independent maximise/restore regression”; runs `uk_renewables_pipeline/202611212308/tests/news-maximise.mjs` and Hud V955 (`uk_renewables_pipeline/202611201709/tests/hud-v955.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V959 Compact News Workflow - File: globalgrid2050/.github/workflows/pn-v959-compact-news.yml (YAML, 67 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v959-compact-news.yml#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/1725.html#f2 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “Pipeline News V9.59 independent maximise/restore regression”; runs News Maximise (`uk_renewables_pipeline/202611212340/tests/news-maximise.mjs`) and Hud V955 (`uk_renewables_pipeline/202611201709/tests/hud-v955.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V960 Renewable Energy Planning Database (REPD) Landscape Workflow - File: globalgrid2050/.github/workflows/pn-v960-repd-landscape.yml (YAML, 60 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v960-repd-landscape.yml#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/1725.html#f3 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “Pipeline News V9.60 REPD landscape dashboard acceptance”; runs Renewable Energy Planning Database (REPD) Landscape (`uk_renewables_pipeline/202611212344/tests/repd-landscape.mjs`) and News Maximise (`uk_renewables_pipeline/202611212340/tests/news-maximise.mjs`). - What it does: It runs the REPD register. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V961 Renewable Energy Planning Database (REPD) Density Workflow - File: globalgrid2050/.github/workflows/pn-v961-repd-density.yml (YAML, 53 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v961-repd-density.yml#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1725.html#f4 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “Pipeline News V9.61 responsive REPD density acceptance”; runs Renewable Energy Planning Database (REPD) Density (`uk_renewables_pipeline/202611220100/tests/repd-density.mjs`). - What it does: It runs the REPD register. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V962 Renewable Energy Planning Database (REPD) Scan Workflow - File: globalgrid2050/.github/workflows/pn-v962-repd-scan.yml (YAML, 53 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v962-repd-scan.yml#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1725.html#f5 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “Pipeline News V9.62 facts-first REPD scan acceptance”; runs Renewable Energy Planning Database (REPD) Scan (`uk_renewables_pipeline/202611220125/tests/repd-scan.mjs`). - What it does: It runs the REPD register. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V963 A4 Report Workflow - File: globalgrid2050/.github/workflows/pn-v963-a4-report.yml (YAML, 73 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v963-a4-report.yml#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/1725.html#f6 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “Pipeline News V9.63 A4 report and PDF-link acceptance”; runs Report A4 (`uk_renewables_pipeline/202611220220/tests/report-a4.mjs`). - What it does: It runs the REPD register. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V964 Liquid Overview Workflow - File: globalgrid2050/.github/workflows/pn-v964-liquid-overview.yml (YAML, 60 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v964-liquid-overview.yml#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/1725.html#f7 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “Pipeline News V9.64 A3/A4 full Renewable Energy Planning Database (REPD) HTML overview acceptance”; runs Renewable Energy Planning Database (REPD) Liquid (`uk_renewables_pipeline/202611221243/tests/repd-liquid.mjs`). - What it does: It runs the REPD register. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V965 Expanded Renewable Energy Planning Database (REPD) Workflow - File: globalgrid2050/.github/workflows/pn-v965-expanded-repd.yml (YAML, 103 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v965-expanded-repd.yml#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/1725.html#f8 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “Pipeline News V9.65 native expanded REPD acceptance”; runs `uk_renewables_pipeline/202611221330/tests/repd-expanded.mjs`. - What it does: It runs the REPD register. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Out: JSON file line-delta.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file line-delta.json]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V966 Operator Actions Workflow - File: globalgrid2050/.github/workflows/pn-v966-operator-actions.yml (YAML, 62 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v966-operator-actions.yml#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/1725.html#f9 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “Pipeline News V9.66 compact operator actions acceptance”; runs `uk_renewables_pipeline/202611221500/tests/repd-expanded.mjs`. - What it does: It runs the REPD register. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V967 Native Columns Workflow - File: globalgrid2050/.github/workflows/pn-v967-native-columns.yml (YAML, 62 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v967-native-columns.yml#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/1725.html#f10 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “Pipeline News V9.67 all-column exact-colour regression”; runs `uk_renewables_pipeline/202611221625/tests/repd-expanded.mjs`. - What it does: It runs the REPD register. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V968 Focused Landscape Workflow - File: globalgrid2050/.github/workflows/pn-v968-focused-landscape.yml (YAML, 49 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v968-focused-landscape.yml#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1726.html#f1 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “Pipeline News V9.68 landscape reading view QA”; runs `tests/repd-expanded.mjs`. - What it does: It runs the REPD register. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V969 Map Portrait Workflow - File: globalgrid2050/.github/workflows/pn-v969-map-portrait.yml (YAML, 49 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v969-map-portrait.yml#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1726.html#f2 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “V9.69 Expanded Renewable Energy Planning Database (REPD) portrait and MAP position QA”; runs `tests/repd-expanded.mjs`. - What it does: It runs the REPD register. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V970 Map Parity Workflow - File: globalgrid2050/.github/workflows/pn-v970-map-parity.yml (YAML, 46 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v970-map-parity.yml#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/1726.html#f3 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “V9.70 real native and expanded MAP navigation parity”; runs `tests/repd-expanded.mjs` and `tests/map-navigation-v970.mjs`. - What it does: It runs the REPD register. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V971 Retire Legacy Maximise Workflow - File: globalgrid2050/.github/workflows/pn-v971-retire-legacy-maximise.yml (YAML, 54 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v971-retire-legacy-maximise.yml#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1726.html#f4 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “V9.71 remove obsolete Renewable Energy Planning Database (REPD) maximise, retain modern expanded view”; runs `tests/repd-expanded.mjs` and `tests/map-navigation-v970.mjs`. - What it does: It runs the REPD register. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'legacy'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V972 Vicinity A4 PDF Workflow - File: globalgrid2050/.github/workflows/pn-v972-vicinity-a4-pdf.yml (YAML, 88 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v972-vicinity-a4-pdf.yml#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/1726.html#f5 - Synopsis: A GitHub Actions workflow using data from the GridAtlas repository. Runs on pull requests and by hand. - What it achieves (comment): Named “PipelineNews V9.72 GridAtlas VICINITY / A4 PDF parity”; runs `tests/v972-vicinity-a4-pdf.mjs`, `tests/.v972-map-navigation.mjs` and `tests/.v972-expanded.mjs`. - What it does: It runs the REPD register. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file current.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V973 Capacity Reports Workflow - File: globalgrid2050/.github/workflows/pn-v973-capacity-reports.yml (YAML, 87 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v973-capacity-reports.yml#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/1726.html#f6 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “PipelineNews V9.73 Renewable Energy Planning Database (REPD) Operator Status Region Capacity Reports”; runs `tests/v973-repd-reports-browser.mjs`, `tests/.v973-vicinity-a4-pdf.mjs` and `tests/.v973-expanded.mjs`. - What it does: It runs the REPD register. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file build_manifest.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### GlobalGrid2050 Pn V974 Cockpit Integration Workflow - File: globalgrid2050/.github/workflows/pn-v974-cockpit-integration.yml (YAML, 128 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pn-v974-cockpit-integration.yml#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/1726.html#f7 - Synopsis: A GitHub Actions workflow. Runs on push and on pull requests. - What it achieves (comment): Named “PN V9.74 technology-aware cockpit integration”; runs Spider Audit (`automation/repd_reporting/v2/spider-audit.mjs`), Build V974 (`automation/repd_reporting/v2/build-v974.mjs`) and `tests/v974-cockpit-browser.mjs`. - What it does: It runs the REPD register. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file COCKPIT-BUILD-RECEIPT.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file COCKPIT-BUILD-RECEIPT.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 9 estate files (workflow-run 9); used by 0; mentioned by 0 ### GlobalGrid2050 PR File Size Guard Workflow - File: globalgrid2050/.github/workflows/pr-file-size-guard.yml (YAML, 106 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/pr-file-size-guard.yml#L1-L106 - Page: https://code.globalgrid2050.com/explore-code/s/1726.html#f8 - Synopsis: A GitHub Actions workflow. Runs on pull requests. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Project Signals Acid Workflow - File: globalgrid2050/.github/workflows/project-signals-acid.yml (YAML, 120 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/project-signals-acid.yml#L1-L120 - Page: https://code.globalgrid2050.com/explore-code/s/1727.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on pull requests, on a schedule and by hand. - What it achieves (comment): Named “Project signals, acid test (all suites together, and the published file)”; runs Acid Report (`automation/news/tests/acid_report.py`) and Acid Live (`automation/news/tests/acid_live.py`). - What it does: It builds and publishes its content. Side effects: starts processes. - Inputs & outputs: In: JSON file suites.json; JSON file project_signals.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file suites.json; JSON file project_signals.json]; out []; crs []; voltages [] - Edges: uses 90 estate files (workflow-run 90); used by 0; mentioned by 0 ### GlobalGrid2050 Project Signals Official Workflow - File: globalgrid2050/.github/workflows/project-signals-official.yml (YAML, 63 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/project-signals-official.yml#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/1727.html#f2 - Synopsis: A GitHub Actions workflow. Runs on pull requests. - What it achieves (comment): Named “Project signals, official sources and planning files (probe)”; runs Official (`automation/news/signals/official.py`) and Planning File (`automation/news/signals/planning_file.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: In: JSON file planning_registers.json; JSON file aliases.json; JSON file top200_solar.json; JSON file part-official.json; JSON file planning-files.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file planning_registers.json; JSON file aliases.json; JSON file top200_solar.json; JSON file part-official.json; JSON file planning-files.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### GlobalGrid2050 Project Signals Trade Workflow - File: globalgrid2050/.github/workflows/project-signals-trade.yml (YAML, 86 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/project-signals-trade.yml#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/1727.html#f3 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on pull requests. - What it achieves (comment): Named “Project signals, trade press (probe)”; runs Trade (`automation/news/signals/trade.py`). - What it does: It builds and publishes its content. Side effects: starts processes. - Inputs & outputs: In: JSON file aliases.json; JSON file top200_solar.json; JSON file project_signals_trade.json; JSON file trade_cache.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file aliases.json; JSON file top200_solar.json; JSON file project_signals_trade.json; JSON file trade_cache.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Project Signals Workflow - File: globalgrid2050/.github/workflows/project-signals.yml (YAML, 233 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/project-signals.yml#L1-L233 - Page: https://code.globalgrid2050.com/explore-code/s/1727.html#f4 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on pull requests, on a schedule and by hand. - What it achieves (comment): Named “Project signals (top 200 solar, twice a day, data branch)”. - What it does: It builds and publishes its content. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file previous.json; JSON file index.json; JSON file gdelt_cache.json; JSON file planning.json; JSON file official.json; JSON file trade.json; JSON file project_signals.json; command-line arguments. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file previous.json; JSON file index.json; JSON file gdelt_cache.json; JSON file planning.json; JSON file official.json; JSON file trade.json; JSON file project_signals.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Public Language Gate Workflow - File: globalgrid2050/.github/workflows/public-language-gate.yml (YAML, 86 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/public-language-gate.yml#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/1727.html#f5 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, on pull requests and on a schedule. - What it achieves (comment): Runs GlobalGrid2050 Import Homepage Owner (`scripts/import_homepage_owner.py`) and GlobalGrid2050 Check Public Language (`scripts/check_public_language.py`). - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file homepage-owner.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage-owner.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Publish Pipeline V923 Ledger Workflow - File: globalgrid2050/.github/workflows/publish-pipeline-v923-ledger.yml (YAML, 64 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/publish-pipeline-v923-ledger.yml#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/1727.html#f6 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “Publish Pipeline News version ledger with full Python and browser checks”; runs Verify (`automation/pipeline_release/verify.py`); publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: starts processes. - Inputs & outputs: In: JSON file registry.json. Out: GitHub Pages deployment; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file registry.json]; out [GitHub Pages deployment; commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Rebuild V8 Battery Energy Storage System (BESS) from V7 GIS Frame Workflow - File: globalgrid2050/.github/workflows/rebuild-v8-bess-from-v7-gis-frame.yml (YAML, 66 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/rebuild-v8-bess-from-v7-gis-frame.yml#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/1728.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Rebuild V8 Battery Energy Storage System (BESS) from V7 GIS Frame (`scripts/rebuild_v8_bess_from_v7_gis_frame.py`) and GlobalGrid2050 Test Rebuild V8 Battery Energy Storage System (BESS) from V7 GIS Frame (`scripts/test_rebuild_v8_bess_from_v7_gis_frame.py`). - What it does: It runs battery storage (BESS) and solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Remove Benchmark Block from V6 V7 GIS Single-Line Diagram (SLD) Workflow - File: globalgrid2050/.github/workflows/remove-benchmark-block-from-v6-v7-gis-sld.yml (YAML, 48 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/remove-benchmark-block-from-v6-v7-gis-sld.yml#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/1728.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Remove Benchmark Block from V6 V7 GIS Single-Line Diagram (SLD) (`scripts/remove_benchmark_block_from_v6_v7_gis_sld.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Remove Project X from V6 V7 GIS Single-Line Diagram (SLD) Workflow - File: globalgrid2050/.github/workflows/remove-project-x-from-v6-v7-gis-sld.yml (YAML, 48 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/remove-project-x-from-v6-v7-gis-sld.yml#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/1728.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Remove Project X from V6 V7 GIS Single-Line Diagram (SLD) (`scripts/remove_project_x_from_v6_v7_gis_sld.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair Public Grid Study Period Selector Workflow - File: globalgrid2050/.github/workflows/repair_public_grid_study_period_selector.yml (YAML, 55 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_public_grid_study_period_selector.yml#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/1728.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair Public Grid Study Period Selector (`scripts/repair_public_grid_study_period_selector.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair Public Grid Study Selector Binding Workflow - File: globalgrid2050/.github/workflows/repair_public_grid_study_selector_binding.yml (YAML, 55 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_public_grid_study_selector_binding.yml#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/1728.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair Public Grid Study Selector Binding (`scripts/repair_public_grid_study_selector_binding.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V5 News Loader Workflow - File: globalgrid2050/.github/workflows/repair_v5_news_loader.yml (YAML, 47 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v5_news_loader.yml#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1728.html#f6 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it achieves (comment): Runs GlobalGrid2050 Patch V5 News Backend Loader (`scripts/patch_v5_news_backend_loader.py`) and GlobalGrid2050 Validate Renewables V5 Integrity (`scripts/validate_renewables_v5_integrity.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Adaptive Weekly Time Ticks Workflow - File: globalgrid2050/.github/workflows/repair_v6_adaptive_weekly_time_ticks.yml (YAML, 54 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_adaptive_weekly_time_ticks.yml#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1728.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Adaptive Weekly Time Ticks (`scripts/repair_v6_adaptive_weekly_time_ticks.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Chart Boxes No Summary Workflow - File: globalgrid2050/.github/workflows/repair_v6_chart_boxes_no_summary.yml (YAML, 28 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_chart_boxes_no_summary.yml#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1728.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Chart Boxes No Summary (`scripts/repair_v6_chart_boxes_no_summary.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Chart Context Labels Workflow - File: globalgrid2050/.github/workflows/repair_v6_chart_context_labels.yml (YAML, 55 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_chart_context_labels.yml#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/1728.html#f9 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Chart Context Labels (`scripts/repair_v6_chart_context_labels.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Chart Inspect Arrows Workflow - File: globalgrid2050/.github/workflows/repair_v6_chart_inspect_arrows.yml (YAML, 42 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_chart_inspect_arrows.yml#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1728.html#f10 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Chart Inspect Arrows (`scripts/repair_v6_chart_inspect_arrows.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Connect Inspect Overlay Workflow - File: globalgrid2050/.github/workflows/repair_v6_connect_inspect_overlay.yml (YAML, 26 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_connect_inspect_overlay.yml#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/1728.html#f11 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Connect Inspect Overlay (`scripts/repair_v6_connect_inspect_overlay.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Electricity Annual Year Selector Workflow - File: globalgrid2050/.github/workflows/repair_v6_electricity_annual_year_selector.yml (YAML, 57 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_electricity_annual_year_selector.yml#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/1728.html#f12 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Electricity Annual Year Selector (`scripts/repair_v6_electricity_annual_year_selector.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Event Boxes Visible Workflow - File: globalgrid2050/.github/workflows/repair_v6_event_boxes_visible.yml (YAML, 27 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_event_boxes_visible.yml#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1728.html#f13 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Event Boxes Visible (`scripts/repair_v6_event_boxes_visible.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Fullscreen Summary Box Workflow - File: globalgrid2050/.github/workflows/repair_v6_fullscreen_summary_box.yml (YAML, 26 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_fullscreen_summary_box.yml#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/1728.html#f14 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Fullscreen Summary Box (`scripts/repair_v6_fullscreen_summary_box.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Fullscreen Swipe Workflow - File: globalgrid2050/.github/workflows/repair_v6_fullscreen_swipe.yml (YAML, 26 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_fullscreen_swipe.yml#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/1728.html#f15 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Fullscreen Swipe (`scripts/repair_v6_fullscreen_swipe.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Half Hourly Short Window Modes Workflow - File: globalgrid2050/.github/workflows/repair_v6_half_hourly_short_window_modes.yml (YAML, 57 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_half_hourly_short_window_modes.yml#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/1729.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Half Hourly Short Window Modes (`scripts/repair_v6_half_hourly_short_window_modes.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 High Low Trackers Workflow - File: globalgrid2050/.github/workflows/repair_v6_high_low_trackers.yml (YAML, 27 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_high_low_trackers.yml#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1729.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 High Low Trackers (`scripts/repair_v6_high_low_trackers.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Inpage Chart Real Estate Workflow - File: globalgrid2050/.github/workflows/repair_v6_inpage_chart_real_estate.yml (YAML, 30 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_inpage_chart_real_estate.yml#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/1729.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Inpage Chart Real Estate (`scripts/repair_v6_inpage_chart_real_estate.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Inspect Cache Buster Workflow - File: globalgrid2050/.github/workflows/repair_v6_inspect_cache_buster.yml (YAML, 52 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_inspect_cache_buster.yml#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1729.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Inspect Cache Buster (`scripts/repair_v6_inspect_cache_buster.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Mobile Chart Readability Workflow - File: globalgrid2050/.github/workflows/repair_v6_mobile_chart_readability.yml (YAML, 28 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_mobile_chart_readability.yml#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1729.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Mobile Chart Readability (`scripts/repair_v6_mobile_chart_readability.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Mobile Chart Stabilise Workflow - File: globalgrid2050/.github/workflows/repair_v6_mobile_chart_stabilise.yml (YAML, 27 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_mobile_chart_stabilise.yml#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1729.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Mobile Chart Stabilise (`scripts/repair_v6_mobile_chart_stabilise.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Mobile Inspect Buttons Workflow - File: globalgrid2050/.github/workflows/repair_v6_mobile_inspect_buttons.yml (YAML, 52 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_mobile_inspect_buttons.yml#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1729.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Mobile Inspect Buttons (`scripts/repair_v6_mobile_inspect_buttons.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Price Annotation Layout Workflow - File: globalgrid2050/.github/workflows/repair_v6_price_annotation_layout.yml (YAML, 27 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_price_annotation_layout.yml#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1729.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Price Annotation Layout (`scripts/repair_v6_price_annotation_layout.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Price Annotations V5 Style Workflow - File: globalgrid2050/.github/workflows/repair_v6_price_annotations_v5_style.yml (YAML, 28 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_price_annotations_v5_style.yml#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1729.html#f9 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Price Annotations V5 Style (`scripts/repair_v6_price_annotations_v5_style.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Restore V5 Panels Workflow - File: globalgrid2050/.github/workflows/repair_v6_restore_v5_panels.yml (YAML, 31 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_restore_v5_panels.yml#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/1729.html#f10 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Restore V5 Panels (`scripts/repair_v6_restore_v5_panels.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'panels'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repair V6 Weekly Axis Padding Workflow - File: globalgrid2050/.github/workflows/repair_v6_weekly_axis_padding.yml (YAML, 54 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repair_v6_weekly_axis_padding.yml#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1729.html#f11 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Repair V6 Weekly Axis Padding (`scripts/repair_v6_weekly_axis_padding.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) 2026 Q3 Ingestion Workflow - File: globalgrid2050/.github/workflows/repd-2026-q3-ingestion.yml (YAML, 164 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repd-2026-q3-ingestion.yml#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/1729.html#f12 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “REPD October 2026 source intake (staging only)”; runs GlobalGrid2050 Renewable Energy Planning Database (REPD) Q3 2026 Ingest (`scripts/repd_q3_2026_ingest.py`) and GlobalGrid2050 Renewable Energy Planning Database (REPD) Q3 Staging Verify (`scripts/repd_q3_staging_verify.py`). - What it does: It builds and publishes its content. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: CSV file repd.csv; CSV file repd-grid-batteries.csv; CSV file repd-solar-operational.csv; CSV file repd-solar-operational-over-4mw.csv; JSON file repd_master.json; JSON file manifest_v6.json; JSON file repd_source_reconciliation_v6.json; JSON file Q3_RECONCILIATION.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file repd.csv; CSV file repd-grid-batteries.csv; CSV file repd-solar-operational.csv; CSV file repd-solar-operational-over-4mw.csv; JSON file repd_master.json; JSON file manifest_v6.json; JSON file repd_source_reconciliation_v6.json; JSON file Q3_RECONCILIATION.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) Cockpit V2 Workflow - File: globalgrid2050/.github/workflows/repd-cockpit-v2.yml (YAML, 70 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repd-cockpit-v2.yml#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/1729.html#f13 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “REPD cockpit v2 Spider offline gate”; runs Spider Audit (`automation/repd_reporting/v2/spider-audit.mjs`). - What it does: It builds and publishes the REPD register. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) Mobile V976 Workflow - File: globalgrid2050/.github/workflows/repd-mobile-v976.yml (YAML, 77 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repd-mobile-v976.yml#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1730.html#f1 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “PipelineNews V9.76 iPhone report regression and immutable source QA”; runs Verify V976 (`automation/repd_mobile/v976/verify_v976.py`), `tests/v976-mobile-browser.mjs` and `tests/.v975-baseline-browser.mjs`. - What it does: It runs the REPD register. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) Monthly Workflow - File: globalgrid2050/.github/workflows/repd-monthly.yml (YAML, 225 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repd-monthly.yml#L1-L225 - Page: https://code.globalgrid2050.com/explore-code/s/1730.html#f2 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on a schedule, by hand and on release. - What it achieves (comment): Publishes to GitHub Pages. - What it does: It builds and publishes the REPD register. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file run_report.json; JSON file result.json; command-line arguments. Out: GitHub Pages deployment; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file run_report.json; JSON file result.json; command-line arguments]; out [GitHub Pages deployment; commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) Native V975 Workflow - File: globalgrid2050/.github/workflows/repd-native-v975.yml (YAML, 92 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repd-native-v975.yml#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/1730.html#f3 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “PipelineNews V9.75 native REPD Python + browser acceptance”; runs Build V975 (`automation/repd_reporting/v3/build_v975.py`), Verify V975 (`automation/repd_reporting/v3/verify_v975.py`) and `tests/v975-native-browser.mjs`. - What it does: It runs the REPD register. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 10 estate files (workflow-run 10); used by 0; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) Publication Baseline Probe Workflow - File: globalgrid2050/.github/workflows/repd-publication-baseline-probe.yml (YAML, 46 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repd-publication-baseline-probe.yml#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/1730.html#f4 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it achieves (comment): Named “REPD official publication and baseline browser evidence (NO DEPLOY)”; runs GlobalGrid2050 Renewable Energy Planning Database (REPD) Publication Baseline Probe (`scripts/repd_publication_baseline_probe.py`). - What it does: It runs the REPD register. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) Q2 Original Evidence Workflow - File: globalgrid2050/.github/workflows/repd-q2-original-evidence.yml (YAML, 118 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repd-q2-original-evidence.yml#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/1730.html#f5 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “REPD July 2026 original archive recovery (evidence only)”; runs GlobalGrid2050 Renewable Energy Planning Database (REPD) Q2 Q3 Verified Delta (`scripts/repd_q2_q3_verified_delta.py`). - What it does: It builds and publishes the REPD register. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file Q2_TO_Q3_VERIFIED_DELTA.json; CSV file verified-archived-original-Q2.csv; CSV file REPD_Publication_Q2_2026.csv; Excel file verified-archived-original-Q2.xlsx; Excel file REPD_Publication_Q2_2026.xlsx. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file Q2_TO_Q3_VERIFIED_DELTA.json; CSV file verified-archived-original-Q2.csv; CSV file REPD_Publication_Q2_2026.csv; Excel file verified-archived-original-Q2.xlsx; Excel file REPD_Publication_Q2_2026.xlsx]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) Q3 Evidence Branch Workflow - File: globalgrid2050/.github/workflows/repd-q3-evidence-branch.yml (YAML, 75 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repd-q3-evidence-branch.yml#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1730.html#f6 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push. - What it achieves (comment): Named “REPD Q3 independent evidence transfer (non-production)”; runs GlobalGrid2050 Renewable Energy Planning Database (REPD) Q3 2026 Ingest (`scripts/repd_q3_2026_ingest.py`). - What it does: It builds and publishes the REPD register. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file REPD_Publication_Q3_2026.csv; Excel file REPD_Publication_Q3_2026.xlsx; CSV file Q3_CANONICAL_STAGED.csv; JSON file Q3_RECONCILIATION.json; JSON file Q2_BASELINE_SHA256_AUDIT.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file REPD_Publication_Q3_2026.csv; Excel file REPD_Publication_Q3_2026.xlsx; CSV file Q3_CANONICAL_STAGED.csv; JSON file Q3_RECONCILIATION.json; JSON file Q2_BASELINE_SHA256_AUDIT.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) Q3 Homepage Pin QA Workflow - File: globalgrid2050/.github/workflows/repd-q3-homepage-pin-qa.yml (YAML, 78 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repd-q3-homepage-pin-qa.yml#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/1731.html#f1 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and on release. - What it achieves (comment): Named “Q3 homepage owner pin acceptance (read-only)”; runs GlobalGrid2050 Import Homepage Owner (`scripts/import_homepage_owner.py`). - What it does: It runs the REPD register. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file homepage-owner.json; JSON file homepage.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage-owner.json; JSON file homepage.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) Release Candidate Workflow - File: globalgrid2050/.github/workflows/repd-release-candidate.yml (YAML, 292 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repd-release-candidate.yml#L1-L292 - Page: https://code.globalgrid2050.com/explore-code/s/1731.html#f2 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs by hand. - What it achieves (comment): Named “REPD release candidate (manual, draft PR only)”; publishes to GitHub Pages. - What it does: It builds and publishes the REPD register. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file run_report.json; JSON file pr_manifest.json; command-line arguments. Out: GitHub Pages deployment; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file run_report.json; JSON file pr_manifest.json; command-line arguments]; out [GitHub Pages deployment; commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Renewable Energy Planning Database (REPD) Sync Workflow - File: globalgrid2050/.github/workflows/repd_sync.yml (YAML, 34 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repd_sync.yml#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/1731.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “Ventus REPD Master Sync”; runs GlobalGrid2050 Renewable Energy Planning Database (REPD) Updater (`scripts/repd_updater.py`). - What it does: It runs the REPD register. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Replace V7 GIS Single-Line Diagram (SLD) Asset Buttons with Pipeline Dropdown Status Workflow - File: globalgrid2050/.github/workflows/replace-v7-gis-sld-asset-buttons-with-pipeline-dropdown-status.yml (YAML, 54 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/replace-v7-gis-sld-asset-buttons-with-pipeline-dropdown-status.yml#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1731.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Replace V7 GIS Single-Line Diagram (SLD) Asset Buttons with Pipeline Dropdown Status (`scripts/replace_v7_gis_sld_asset_buttons_with_pipeline_dropdown_status.py`) and GlobalGrid2050 Test V7 GIS Single-Line Diagram (SLD) Asset Pipeline Dropdown Status (`scripts/test_v7_gis_sld_asset_pipeline_dropdown_status.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Replace V7 GIS Single-Line Diagram (SLD) Asset Buttons with Pipeline Dropdown Workflow - File: globalgrid2050/.github/workflows/replace-v7-gis-sld-asset-buttons-with-pipeline-dropdown.yml (YAML, 54 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/replace-v7-gis-sld-asset-buttons-with-pipeline-dropdown.yml#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1731.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Replace V7 GIS Single-Line Diagram (SLD) Asset Buttons with Pipeline Dropdown (`scripts/replace_v7_gis_sld_asset_buttons_with_pipeline_dropdown.py`) and `scripts/test_v7_gis_sld_asset_pipeline_dropdown.py`. - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repo Guard Workflow - File: globalgrid2050/.github/workflows/repo_guard.yml (YAML, 86 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repo_guard.yml#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/1731.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs `.github/scripts/size_guard.sh`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Repo Size Guard Workflow - File: globalgrid2050/.github/workflows/repo_size_guard.yml (YAML, 18 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/repo_size_guard.yml#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1731.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Gridbot Repo Size Guard (`scripts/gridbot_repo_size_guard.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Restore V8 Battery Energy Storage System (BESS) MapLibre Standalone Workflow - File: globalgrid2050/.github/workflows/restore-v8-bess-maplibre-standalone.yml (YAML, 66 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/restore-v8-bess-maplibre-standalone.yml#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/1731.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Test Restore V8 Battery Energy Storage System (BESS) MapLibre Standalone (`scripts/test_restore_v8_bess_maplibre_standalone.py`). - What it does: It runs battery storage (BESS) and solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Rollback V8 Battery Energy Storage System (BESS) V7 Frame Rebuild Workflow - File: globalgrid2050/.github/workflows/rollback-v8-bess-v7-frame-rebuild.yml (YAML, 35 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/rollback-v8-bess-v7-frame-rebuild.yml#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/1732.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it does: It runs battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Run V2 Safe Patch Workflow - File: globalgrid2050/.github/workflows/run_v2_safe_patch.yml (YAML, 37 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/run_v2_safe_patch.yml#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/1732.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 V2 Safe Patch (`scripts/v2_safe_patch.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Stamp Data Spine Doctrine Workflow - File: globalgrid2050/.github/workflows/stamp_data_spine_doctrine.yml (YAML, 81 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/stamp_data_spine_doctrine.yml#L1-L81 - Page: https://code.globalgrid2050.com/explore-code/s/1732.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs `scripts/stamp_data_spine_doctrine.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Star Checks Workflow - File: globalgrid2050/.github/workflows/star-checks.yml (YAML, 93 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/star-checks.yml#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/1732.html#f4 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and on a schedule. - What it achieves (comment): Runs CI Star Checks (`testcode/ci/star_checks.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file star-checks-report.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file star-checks-report.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Step1 Fetch Pvlive Solar Candidate V6 Workflow - File: globalgrid2050/.github/workflows/step1_fetch_pvlive_solar_candidate_v6.yml (YAML, 43 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/step1_fetch_pvlive_solar_candidate_v6.yml#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1732.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “Step 1 Fetch PVLive Solar Candidate V6”; runs GlobalGrid2050 Fetch Pvlive Solar Candidate V6 (`scripts/fetch_pvlive_solar_candidate_v6.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Step2 Build Pvlive Solar Browser V6 Workflow - File: globalgrid2050/.github/workflows/step2_build_pvlive_solar_browser_v6.yml (YAML, 44 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/step2_build_pvlive_solar_browser_v6.yml#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1732.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “Step 2 Build PVLive Solar Browser V6”; runs GlobalGrid2050 Build Pvlive Solar Browser V6 (`scripts/build_pvlive_solar_browser_v6.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Step3 Wire Pvlive Solar UI V6 Workflow - File: globalgrid2050/.github/workflows/step3_wire_pvlive_solar_ui_v6.yml (YAML, 39 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/step3_wire_pvlive_solar_ui_v6.yml#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/1732.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “Step 3 Wire PVLive Solar UI V6”; runs GlobalGrid2050 Wire Pvlive Solar UI V6 (`scripts/wire_pvlive_solar_ui_v6.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Testcode Dual Compute Workflow - File: globalgrid2050/.github/workflows/testcode-202609150010-dual-compute.yml (YAML, 27 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/testcode-202609150010-dual-compute.yml#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1732.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs Concept Compute (`testcode/202609150010/concept_compute.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Testcode Proof Workflow - File: globalgrid2050/.github/workflows/testcode-proof.yml (YAML, 234 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/testcode-proof.yml#L1-L234 - Page: https://code.globalgrid2050.com/explore-code/s/1732.html#f9 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): When a `testcode/` / folder is pushed to main, this job waits for Pages to deploy that exact commit and then proves the published folder from the outside. - What it does: It builds and publishes its content. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file publication.json; command-line arguments. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file publication.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Track Repository Size Workflow - File: globalgrid2050/.github/workflows/track_repository_size.yml (YAML, 47 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/track_repository_size.yml#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1732.html#f10 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Track Repository Size (`scripts/track_repository_size.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: README: "It can be updated manually through the `Track Repository Size` GitHub Actions workflow and is scheduled to run once per month." - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 UK Solar Lens Workflow - File: globalgrid2050/.github/workflows/uk-solar-lens.yml (YAML, 48 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/uk-solar-lens.yml#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/1733.html#f1 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and by hand. - What it achieves (comment): Runs Self Test (`testcode/202609150502/proof/self-test.mjs`), Publication (`testcode/202609150502/proof/publication.py`) and Browser (`testcode/202609150502/proof/browser.mjs`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Inputs & outputs: In: JSON file browser.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file browser.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### GlobalGrid2050 Update Grid Data Workflow - File: globalgrid2050/.github/workflows/update-grid-data.yml (YAML, 72 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/update-grid-data.yml#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/1733.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “fetch-national-grid-data”; runs `scripts/fetch_grid_data.py`, `scripts/fetch_220kv_data.py` and `scripts/fetch_66kv_data.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: 220kV, 66kV. - Inputs & outputs: Out: commits pushed to the repository. Voltage levels named: 220kV, 66kV. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [220kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Update 11kV UKPN Workflow - File: globalgrid2050/.github/workflows/update_11kv_ukpn.yml (YAML, 43 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/update_11kv_ukpn.yml#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1733.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs `scripts/fetch_11kv_ukpn.py`. - What it does: It runs 11kV and substations. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word '11kv'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 11kV, substations. - Inputs & outputs: Out: commits pushed to the repository. Voltage levels named: 11kV. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Update Elexon System Prices Daily V4 Workflow - File: globalgrid2050/.github/workflows/update_elexon_system_prices_daily_v4.yml (YAML, 58 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/update_elexon_system_prices_daily_v4.yml#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/1733.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Update Elexon System Prices Daily V4 (`scripts/update_elexon_system_prices_daily_v4.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Update EV Chargers Workflow - File: globalgrid2050/.github/workflows/update_ev_chargers.yml (YAML, 45 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/update_ev_chargers.yml#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1733.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs `scripts/fetch_ev_chargers.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Update Generation Aggregates Ytd V6 Workflow - File: globalgrid2050/.github/workflows/update_generation_aggregates_ytd_v6.yml (YAML, 74 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/update_generation_aggregates_ytd_v6.yml#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1733.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Backfill Generation Aggregates Year V6 (`scripts/backfill_generation_aggregates_year_v6.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Update Generation Recent MW V6 Workflow - File: globalgrid2050/.github/workflows/update_generation_recent_mw_v6.yml (YAML, 64 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/update_generation_recent_mw_v6.yml#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/1733.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Update Generation Recent MW V6 (`scripts/update_generation_recent_mw_v6.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Update Metros Trams Workflow - File: globalgrid2050/.github/workflows/update_metros_trams.yml (YAML, 41 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/update_metros_trams.yml#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1733.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “Fetch UK Metros and Trams”; runs `scripts/fetch_metros_trams.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Update Oil Prices Workflow - File: globalgrid2050/.github/workflows/update_oil_prices.yml (YAML, 53 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/update_oil_prices.yml#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1733.html#f9 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Update Oil Prices (`scripts/update_oil_prices.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Update Prices Workflow - File: globalgrid2050/.github/workflows/update_prices.yml (YAML, 66 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/update_prices.yml#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/1733.html#f10 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs `scripts/update_prices_lv.py`, `scripts/update_prices.py` and `scripts/update_metal_trends.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV. - Inputs & outputs: Out: commits pushed to the repository. Voltage levels named: 33kV. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [33kV] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Update Supermarkets Workflow - File: globalgrid2050/.github/workflows/update_supermarkets.yml (YAML, 43 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/update_supermarkets.yml#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1733.html#f11 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs `scripts/fetch_supermarkets.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Update Tube Stations Workflow - File: globalgrid2050/.github/workflows/update_tube_stations.yml (YAML, 41 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/update_tube_stations.yml#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1733.html#f12 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “Fetch London Underground Stations”; runs `scripts/fetch_london_underground.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Update UK Frequency Daily V5 Workflow - File: globalgrid2050/.github/workflows/update_uk_frequency_daily_v5.yml (YAML, 52 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/update_uk_frequency_daily_v5.yml#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1733.html#f13 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Update UK Frequency Daily V5 (`scripts/update_uk_frequency_daily_v5.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Update UK Fuel Prices Workflow - File: globalgrid2050/.github/workflows/update_uk_fuel_prices.yml (YAML, 48 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/update_uk_fuel_prices.yml#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Update UK Fuel Prices (`scripts/update_uk_fuel_prices.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Update V5 V6 Granular Change Tracker Workflow - File: globalgrid2050/.github/workflows/update_v5_v6_granular_change_tracker.yml (YAML, 27 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/update_v5_v6_granular_change_tracker.yml#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Update V5 V6 Granular Change Tracker (`scripts/update_v5_v6_granular_change_tracker.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 Update V6 Transport Energy Sources Workflow - File: globalgrid2050/.github/workflows/update_v6_transport_energy_sources.yml (YAML, 44 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/update_v6_transport_energy_sources.yml#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Update V6 Transport Energy Sources (`scripts/update_v6_transport_energy_sources.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V3 UI Patch Workflow - File: globalgrid2050/.github/workflows/v3_ui_patch.yml (YAML, 43 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v3_ui_patch.yml#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Patch V3 Price History UI (`scripts/patch_v3_price_history_ui.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V5 DC AC LV 01 HTML Workflow - File: globalgrid2050/.github/workflows/v5-dc-ac-lv-01-html.yml (YAML, 24 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v5-dc-ac-lv-01-html.yml#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs Install DC AC LV 01 HTML (`solar-bess-topology-v5/install_dc_ac_lv_01_html.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'ac'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V5 DC AC LV 02 CSS Workflow - File: globalgrid2050/.github/workflows/v5-dc-ac-lv-02-css.yml (YAML, 24 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v5-dc-ac-lv-02-css.yml#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f6 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs Install DC AC LV 02 CSS (`solar-bess-topology-v5/install_dc_ac_lv_02_css.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'ac'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V5 DC AC LV 03 JS Workflow - File: globalgrid2050/.github/workflows/v5-dc-ac-lv-03-js.yml (YAML, 24 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v5-dc-ac-lv-03-js.yml#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f7 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs Install DC AC LV 03 JS (`solar-bess-topology-v5/install_dc_ac_lv_03_js.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'ac'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V5 DC AC LV 04 Link Workflow - File: globalgrid2050/.github/workflows/v5-dc-ac-lv-04-link.yml (YAML, 24 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v5-dc-ac-lv-04-link.yml#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f8 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs Install DC AC LV 04 Link (`solar-bess-topology-v5/install_dc_ac_lv_04_link.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'ac'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V5 DC AC LV Topology Trigger Workflow - File: globalgrid2050/.github/workflows/v5-dc-ac-lv-topology-trigger.yml (YAML, 33 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v5-dc-ac-lv-topology-trigger.yml#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f9 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs Install DC AC LV 01 HTML (`solar-bess-topology-v5/install_dc_ac_lv_01_html.py`), Install DC AC LV 02 CSS (`solar-bess-topology-v5/install_dc_ac_lv_02_css.py`) and Install DC AC LV 03 JS (`solar-bess-topology-v5/install_dc_ac_lv_03_js.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'ac'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### GlobalGrid2050 V5 Engineering Clarity Upgrade Workflow - File: globalgrid2050/.github/workflows/v5-engineering-clarity-upgrade.yml (YAML, 24 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v5-engineering-clarity-upgrade.yml#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f10 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Upgrade V5 Engineering Clarity (`scripts/upgrade_v5_engineering_clarity.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V5 Geometry Visualiser Migration Workflow - File: globalgrid2050/.github/workflows/v5-geometry-visualiser-migration.yml (YAML, 24 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v5-geometry-visualiser-migration.yml#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f11 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs Install Geometry Visualiser Migration V5 (`solar-bess-topology-v5/install_geometry_visualiser_migration_v5.py`). - What it does: It runs cables, solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: cables, solar, battery storage (BESS). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V5 Skid MVA Controls Upgrade Workflow - File: globalgrid2050/.github/workflows/v5-skid-mva-controls-upgrade.yml (YAML, 24 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v5-skid-mva-controls-upgrade.yml#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f12 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Upgrade V5 Skid MVA Controls (`scripts/upgrade_v5_skid_mva_controls.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V6 Add Atlas V8 Dashboard Link Workflow - File: globalgrid2050/.github/workflows/v6-add-atlas-v8-dashboard-link.yml (YAML, 44 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v6-add-atlas-v8-dashboard-link.yml#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f13 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 V6 Add Atlas V8 Dashboard Link (`scripts/v6_add_atlas_v8_dashboard_link.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V6 Cable Geometry Modularise Workflow - File: globalgrid2050/.github/workflows/v6-cable-geometry-modularise.yml (YAML, 41 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v6-cable-geometry-modularise.yml#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f14 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Modularise V6 Cable Geometry (`scripts/modularise_v6_cable_geometry.py`). - What it does: It runs cables. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'cable'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V6 Complex Upgrade Install Workflow - File: globalgrid2050/.github/workflows/v6-complex-upgrade-install.yml (YAML, 60 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v6-complex-upgrade-install.yml#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f15 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 V6 Complex Upgrade Installer (`scripts/v6_complex_upgrade_installer.py`). - What it does: It runs solar and battery storage (BESS). Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: EPC_contractor · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V6 GIS Single-Line Diagram (SLD) Validation Test Workflow - File: globalgrid2050/.github/workflows/v6-gis-sld-validation-test.yml (YAML, 53 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v6-gis-sld-validation-test.yml#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f16 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 V6 Complex Upgrade Installer (`scripts/v6_complex_upgrade_installer.py`). - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V6 Migrate from V5 Workflow - File: globalgrid2050/.github/workflows/v6-migrate-from-v5.yml (YAML, 31 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v6-migrate-from-v5.yml#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f17 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 V6 Migrate from V5 (`scripts/v6_migrate_from_v5.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V6 Sanity Label Fix Workflow - File: globalgrid2050/.github/workflows/v6-sanity-label-fix.yml (YAML, 31 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v6-sanity-label-fix.yml#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f18 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 V6 Sanity Label Fix (`scripts/v6_sanity_label_fix.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V6 Guardrail Preflight Workflow - File: globalgrid2050/.github/workflows/v6_guardrail_preflight.yml (YAML, 28 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v6_guardrail_preflight.yml#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f19 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 V6 Guardrail Preflight (`scripts/v6_guardrail_preflight.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V7 Add Atlas V8 Dashboard Link Workflow - File: globalgrid2050/.github/workflows/v7-add-atlas-v8-dashboard-link.yml (YAML, 44 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v7-add-atlas-v8-dashboard-link.yml#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1734.html#f20 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 V7 Add Atlas V8 Dashboard Link (`scripts/v7_add_atlas_v8_dashboard_link.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V7 Migrate from V6 Workflow - File: globalgrid2050/.github/workflows/v7-migrate-from-v6.yml (YAML, 58 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v7-migrate-from-v6.yml#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/1735.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 V7 Migrate from V6 (`scripts/v7_migrate_from_v6.py`). - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V7 North Star Workflow - File: globalgrid2050/.github/workflows/v7-north-star.yml (YAML, 38 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v7-north-star.yml#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1735.html#f2 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it achieves (comment): Runs `uk_renewables_pipeline/v7/tests/run_v7_1.sh`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: In: JSON file major_project_news_v5.json; JSON file major_projects_v6.json; JSON file project_identity_v6.json; JSON file repd_master.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v5.json; JSON file major_projects_v6.json; JSON file project_identity_v6.json; JSON file repd_master.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 V9 3 Validate Workflow - File: globalgrid2050/.github/workflows/v9-3-validate.yml (YAML, 75 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v9-3-validate.yml#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1735.html#f3 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “V9.3 Exact Commit Validation”; runs `uk_renewables_pipeline/v9/tests/run_v9_3.sh`; publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: starts processes. - Inputs & outputs: Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 V9 4 Validate Workflow - File: globalgrid2050/.github/workflows/v9-4-validate.yml (YAML, 75 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v9-4-validate.yml#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1735.html#f4 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “V9.4 Exact Commit Validation”; runs Run V9 4 (`uk_renewables_pipeline/v9.4/tests/run_v9_4.sh`); publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: starts processes. - Inputs & outputs: Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V9 5 1 Validate Workflow - File: globalgrid2050/.github/workflows/v9-5-1-validate.yml (YAML, 80 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v9-5-1-validate.yml#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/1735.html#f5 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “V9.5.1 Exact Commit Validation”; runs Run V9 5 1 (`uk_renewables_pipeline/v9.5.1/tests/run_v9_5_1.sh`); publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: starts processes. - Inputs & outputs: In: JSON file major_project_news_v9_5_1.json. Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v9_5_1.json]; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V9 5 Validate Workflow - File: globalgrid2050/.github/workflows/v9-5-validate.yml (YAML, 77 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v9-5-validate.yml#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1735.html#f6 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “V9.5 Exact Commit Validation”; runs `uk_renewables_pipeline/v9.5/tests/run_v9_5.sh`; publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: starts processes. - Inputs & outputs: Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 V9 6 1 Validate Workflow - File: globalgrid2050/.github/workflows/v9-6-1-validate.yml (YAML, 75 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v9-6-1-validate.yml#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1735.html#f7 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “V9.6.1 Exact Commit Validation”; runs Run V9 6 1 (`uk_renewables_pipeline/v9.6.1/tests/run_v9_6_1.sh`); publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: starts processes. - Inputs & outputs: Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V9 6 2 Validate Workflow - File: globalgrid2050/.github/workflows/v9-6-2-validate.yml (YAML, 75 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v9-6-2-validate.yml#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1735.html#f8 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “V9.6.2 Exact Commit Validation”; runs Run V9 6 2 (`uk_renewables_pipeline/v9.6.2/tests/run_v9_6_2.sh`); publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: starts processes. - Inputs & outputs: Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V9 6 Validate Workflow - File: globalgrid2050/.github/workflows/v9-6-validate.yml (YAML, 70 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v9-6-validate.yml#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/1735.html#f9 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “V9.6 Exact Commit Validation”; runs Run V9 6 (`uk_renewables_pipeline/v9.6/tests/run_v9_6.sh`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V9 7 Validate Workflow - File: globalgrid2050/.github/workflows/v9-7-validate.yml (YAML, 82 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v9-7-validate.yml#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/1736.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “V9.7 Exact Commit Validation”; runs Run V9 7 (`uk_renewables_pipeline/v9.7/tests/run_v9_7.sh`); publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: starts processes. - Inputs & outputs: Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### GlobalGrid2050 V923 GridAtlas Real Map QA Workflow - File: globalgrid2050/.github/workflows/v923-gridatlas-real-map-qa.yml (YAML, 108 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v923-gridatlas-real-map-qa.yml#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1736.html#f2 - Synopsis: A GitHub Actions workflow using data from the GridAtlas repository. Runs on push, on a schedule and by hand. - What it achieves (comment): Named “V9.23 real MAP to GridAtlas engine 390 + 1440”; runs Browser Real Map to Engine Agent7 (`uk_renewables_pipeline/202611160020/tests/browser_real_map_to_engine_agent7.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 1, estate-url 1); used by 0; mentioned by 0 ### GlobalGrid2050 V923 Six Hour Python Repair Workflow - File: globalgrid2050/.github/workflows/v923-six-hour-python-repair.yml (YAML, 157 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v923-six-hour-python-repair.yml#L1-L157 - Page: https://code.globalgrid2050.com/explore-code/s/1736.html#f3 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, on a schedule and by hand. - What it achieves (comment): Named “V9.23 six-hour Python repair and release gates”; runs Repair (`automation/v923-recovery/repair.py`), Run V9 23 (`uk_renewables_pipeline/202611160020/tests/run_v9_23.sh`) and Verify (`automation/pipeline_release/verify.py`). - What it does: It builds and publishes its content. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: In: JSON file versions.json; JSON file feedback.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file versions.json; JSON file feedback.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 8 estate files (workflow-run 8); used by 0; mentioned by 0 ### GlobalGrid2050 V924 Public Readback Workflow - File: globalgrid2050/.github/workflows/v924-public-readback.yml (YAML, 89 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v924-public-readback.yml#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/1736.html#f4 - Synopsis: A GitHub Actions workflow. Runs on pull requests, by hand and after another workflow. - What it achieves (comment): Named “Pipeline News public served-byte and rollback verification”; runs Verify (`automation/v924_public/verify.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file pipeline-readback-trigger.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pipeline-readback-trigger.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 V928 Preview Acceptance Workflow - File: globalgrid2050/.github/workflows/v928-preview-acceptance.yml (YAML, 85 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v928-preview-acceptance.yml#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/1736.html#f5 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “V9.28 isolated preview acceptance”; runs Verify Imports (`automation/v928_intelligence/verify_imports.py`), Build (`automation/v928_context/build.py`) and Invariants (`automation/v928_preview/invariants.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: DuckDB queries. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out []; crs []; voltages [] - Edges: uses 9 estate files (workflow-run 9); used by 0; mentioned by 0 ### GlobalGrid2050 V929 Preview Acceptance Workflow - File: globalgrid2050/.github/workflows/v929-preview-acceptance.yml (YAML, 66 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v929-preview-acceptance.yml#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/1736.html#f6 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on pull requests, by hand and on release. - What it achieves (comment): Named “V9.29 modular Pipeline acceptance”; runs Invariants (`automation/v929_preview/invariants.mjs`), Run V9 29 (`uk_renewables_pipeline/202611162354/tests/run_v9_29.sh`) and Browser (`automation/v929_preview/browser.mjs`). - What it does: It builds and publishes its content. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file sources.json; DuckDB queries. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file sources.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### GlobalGrid2050 V930 Preview Acceptance Workflow - File: globalgrid2050/.github/workflows/v930-preview-acceptance.yml (YAML, 64 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v930-preview-acceptance.yml#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/1736.html#f7 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “V9.30 Data Centre address and screening acceptance”; runs Invariants (`automation/v930_preview/invariants.mjs`), Run V9 30 (`uk_renewables_pipeline/202611170147/tests/run_v9_30.sh`) and Browser (`automation/v930_preview/browser.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file sources.json; DuckDB queries. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file sources.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 6 estate files (workflow-run 6); used by 0; mentioned by 0 ### GlobalGrid2050 V931 Preview Acceptance Workflow - File: globalgrid2050/.github/workflows/v931-preview-acceptance.yml (YAML, 65 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v931-preview-acceptance.yml#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/1737.html#f1 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “V9.31 qualified historical daily Prices acceptance”; runs Invariants (`automation/v931_preview/invariants.mjs`), Run V9 31 (`uk_renewables_pipeline/202611170243/tests/run_v9_31.sh`) and Browser (`automation/v931_preview/browser.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file sources.json; DuckDB queries. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file sources.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 6 estate files (workflow-run 6); used by 0; mentioned by 0 ### GlobalGrid2050 V932 Preview Acceptance Workflow - File: globalgrid2050/.github/workflows/v932-preview-acceptance.yml (YAML, 67 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v932-preview-acceptance.yml#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/1737.html#f2 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “V9.32 primary government planning-note acceptance”; runs Invariants (`automation/v932_preview/invariants.mjs`), Run V9 32 (`uk_renewables_pipeline/202611170324/tests/run_v9_32.sh`) and Browser (`automation/v932_preview/browser.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file sources.json; DuckDB queries. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file sources.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 7 estate files (workflow-run 7); used by 0; mentioned by 0 ### GlobalGrid2050 V933 Preview Acceptance Workflow - File: globalgrid2050/.github/workflows/v933-preview-acceptance.yml (YAML, 68 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v933-preview-acceptance.yml#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/1737.html#f3 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Named “V9.33 reviewed development consent-note acceptance”; runs Invariants (`automation/v933_preview/invariants.mjs`), Run V9 33 (`uk_renewables_pipeline/202611170512/tests/run_v9_33.sh`) and Browser (`automation/v933_preview/browser.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file sources.json; DuckDB queries. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file sources.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 7 estate files (workflow-run 7); used by 0; mentioned by 0 ### GlobalGrid2050 V934 Preview Acceptance Workflow - File: globalgrid2050/.github/workflows/v934-preview-acceptance.yml (YAML, 212 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/v934-preview-acceptance.yml#L1-L212 - Page: https://code.globalgrid2050.com/explore-code/s/1737.html#f4 - Synopsis: A GitHub Actions workflow. Runs on pull requests. - What it achieves (comment): Named “Pipeline candidate source and interaction acceptance”; runs Navigation Browser (`automation/mobile_map_ui/20261118-v942/navigation.browser.mjs`), View Browser (`automation/journey_entry_ui/20261118/view.browser.mjs`) and Browser Test (`automation/energy_context_ui/20261118/browser.test.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 22 estate files (workflow-run 22); used by 0; mentioned by 0 ### GlobalGrid2050 VEDIC Homepage Promotion Workflow - File: globalgrid2050/.github/workflows/vedic-homepage-promotion.yml (YAML, 114 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/vedic-homepage-promotion.yml#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/1737.html#f5 - Synopsis: A GitHub Actions workflow using data from the vedic- repository. Runs on pull requests and after another workflow. - What it achieves (comment): Runs GlobalGrid2050 Verify VEDIC Homepage Release (`scripts/verify_vedic_homepage_release.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: vedic- data; JSON file vedic-v2-release.json; JSON file homepage-owner.json; JSON file homepage_v161-metrics.json; JSON file homepage.json; JSON file dictionary.json. Out: JSON file homepage-owner.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: vedic- data; JSON file vedic-v2-release.json; JSON file homepage-owner.json; JSON file homepage_v161-metrics.json; JSON file homepage.json; JSON file dictionary.json]; out [JSON file homepage-owner.json]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 1, estate-url 1); used by 0; mentioned by 0 ### GlobalGrid2050 Verify Pipeline Workflow - File: globalgrid2050/.github/workflows/verify-pipeline-202611132345.yml (YAML, 100 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-pipeline-202611132345.yml#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/1737.html#f6 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on pull requests and by hand. - What it achieves (comment): Named “Verify Pipeline News and its release successor (Renewable Energy Planning Database (REPD) Q3 2026)”; runs Run V9 12 (`uk_renewables_pipeline/202611132345/tests/run_v9_12.sh`), Run V9 13 (`uk_renewables_pipeline/202611140058/tests/run_v9_13.sh`) and `./smoke.tmp.mjs`. - What it does: It builds and publishes the REPD register. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file major_project_news_v9_5_1.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v9_5_1.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Verify Pipeline Versions Workflow - File: globalgrid2050/.github/workflows/verify-pipeline-versions.yml (YAML, 108 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-pipeline-versions.yml#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1738.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on pull requests and by hand. - What it achieves (comment): Runs Verify (`automation/pipeline_release/verify.py`) and GridAtlas Resolve (`automation/pipeline_release/gridatlas_resolve.py`). - What it does: It builds and publishes its content. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file registry.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file registry.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### GlobalGrid2050 Verify Published Versions Workflow - File: globalgrid2050/.github/workflows/verify-published-versions.yml (YAML, 54 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-published-versions.yml#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1738.html#f2 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Publishing a version and naming it are two separate acts here. - What it does: It builds and publishes its content. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### GlobalGrid2050 Verify V957 Homepage Workflow - File: globalgrid2050/.github/workflows/verify-v957-homepage.yml (YAML, 57 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-v957-homepage.yml#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/1738.html#f3 - Synopsis: A GitHub Actions workflow that builds and publishes the site using data from globalgrid2050.com. Runs on push and by hand. - What it achieves (comment): Named “Verify V9.57 homepage-only promotion”. - What it does: It builds and publishes its content. Side effects: reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: data source: globalgrid2050.com; JSON file homepage-owner.json; JSON file homepage.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050.com; JSON file homepage-owner.json; JSON file homepage.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Verify V963 Public Workflow - File: globalgrid2050/.github/workflows/verify-v963-public.yml (YAML, 56 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-v963-public.yml#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1738.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “Verify archived V9.63 A4 report and V9.60 rollback bytes”. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: JSON file homepage.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Verify V964 Public Workflow - File: globalgrid2050/.github/workflows/verify-v964-public.yml (YAML, 97 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-v964-public.yml#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/1738.html#f5 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it achieves (comment): Named “Verify V9.64 immutable archive and A4 public rollback bytes”. - What it does: It runs the REPD register. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file homepage.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Verify V965 Public Workflow - File: globalgrid2050/.github/workflows/verify-v965-public.yml (YAML, 136 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-v965-public.yml#L1-L136 - Page: https://code.globalgrid2050.com/explore-code/s/1738.html#f6 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it achieves (comment): Named “Verify V9.65 archived Expanded Renewable Energy Planning Database (REPD) and public rollback bytes”. - What it does: It runs the REPD register. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file homepage.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Verify V966 Public Workflow - File: globalgrid2050/.github/workflows/verify-v966-public.yml (YAML, 130 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-v966-public.yml#L1-L130 - Page: https://code.globalgrid2050.com/explore-code/s/1738.html#f7 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it achieves (comment): Named “Verify V9.66 live red Expanded Renewable Energy Planning Database (REPD) and retained rollbacks”. - What it does: It runs the REPD register. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file homepage.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Verify V967 Public Workflow - File: globalgrid2050/.github/workflows/verify-v967-public.yml (YAML, 119 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-v967-public.yml#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/1739.html#f1 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it achieves (comment): Named “Verify V9.67 public native Expanded Renewable Energy Planning Database (REPD) and rollbacks”. - What it does: It runs the REPD register. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file homepage.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Verify V968 Public Workflow - File: globalgrid2050/.github/workflows/verify-v968-public.yml (YAML, 57 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-v968-public.yml#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/1739.html#f2 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it achieves (comment): Named “Verify V9.68 active Pipeline News public bytes”. - What it does: It runs the REPD register. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file homepage.json; JSON file homepage-owner.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage.json; JSON file homepage-owner.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Verify V969 Public Workflow - File: globalgrid2050/.github/workflows/verify-v969-public.yml (YAML, 55 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-v969-public.yml#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/1739.html#f3 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it achieves (comment): Named “Verify V9.69 active Renewable Energy Planning Database (REPD) public bytes and A4 rollback”. - What it does: It runs the REPD register. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file homepage.json; JSON file homepage-owner.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage.json; JSON file homepage-owner.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Verify V970 Public Workflow - File: globalgrid2050/.github/workflows/verify-v970-public.yml (YAML, 74 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-v970-public.yml#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1739.html#f4 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “Verify V9.70 actual public MAP source, homepage and V9.69 rollback”. - What it does: It builds and publishes the REPD register. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file homepage-owner.json; JSON file homepage.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage-owner.json; JSON file homepage.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Verify V971 Public Workflow - File: globalgrid2050/.github/workflows/verify-v971-public.yml (YAML, 76 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-v971-public.yml#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1739.html#f5 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it achieves (comment): Named “Verify V9.71 rollback after V9.73 homepage promotion”. - What it does: It runs the REPD register. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file homepage-owner.json; JSON file homepage.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage-owner.json; JSON file homepage.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Verify V972 Public Workflow - File: globalgrid2050/.github/workflows/verify-v972-public.yml (YAML, 78 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-v972-public.yml#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/1739.html#f6 - Synopsis: A GitHub Actions workflow that builds and publishes the site using data from the GridAtlas repository. Runs on push and by hand. - What it achieves (comment): Named “Verify V9.72 archived MAP/A4/PDF after V9.73 publication”. - What it does: It builds and publishes the REPD register. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file homepage-owner.json; JSON file homepage.json; JSON file current.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file homepage-owner.json; JSON file homepage.json; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Verify V973 Public Workflow - File: globalgrid2050/.github/workflows/verify-v973-public.yml (YAML, 84 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-v973-public.yml#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/1739.html#f7 - Synopsis: A GitHub Actions workflow using data from the GridAtlas repository. Runs on push and by hand. - What it achieves (comment): Named “Verify V9.73 live Renewable Energy Planning Database (REPD) Operator Status Region MW reports and V9.72 rollback”. - What it does: It runs the REPD register. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file homepage-owner.json; JSON file homepage.json; JSON file current.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file homepage-owner.json; JSON file homepage.json; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Verify V974 Public Workflow - File: globalgrid2050/.github/workflows/verify-v974-public.yml (YAML, 104 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-v974-public.yml#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/1739.html#f8 - Synopsis: A GitHub Actions workflow using data from the GridAtlas repository. Runs on push and by hand. - What it achieves (comment): Named “Verify archived V9.74 public Renewable Energy Planning Database (REPD) and current homepage plus V9.73 rollback”. - What it does: It runs the REPD register. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file homepage-owner.json; JSON file homepage.json; JSON file current.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file homepage-owner.json; JSON file homepage.json; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Verify V975 Public Workflow - File: globalgrid2050/.github/workflows/verify-v975-public.yml (YAML, 117 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-v975-public.yml#L1-L117 - Page: https://code.globalgrid2050.com/explore-code/s/1740.html#f1 - Synopsis: A GitHub Actions workflow using data from the GridAtlas repository. Runs on push and by hand. - What it achieves (comment): Named “Verify archived V9.75 public native Renewable Energy Planning Database (REPD), current owner homepage and V9.74 rollback”. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: data source: gridatlas data; JSON file homepage-owner.json; JSON file homepage.json; JSON file active-pages.json; JSON file presentation.json; JSON file entity-types.json; JSON file current.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file homepage-owner.json; JSON file homepage.json; JSON file active-pages.json; JSON file presentation.json; JSON file entity-types.json; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Verify V976 Public Workflow - File: globalgrid2050/.github/workflows/verify-v976-public.yml (YAML, 120 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/verify-v976-public.yml#L1-L120 - Page: https://code.globalgrid2050.com/explore-code/s/1740.html#f2 - Synopsis: A GitHub Actions workflow using data from the GridAtlas repository. Runs on push and by hand. - What it achieves (comment): Named “Verify V9.76 public iPhone Renewable Energy Planning Database (REPD), homepage, V9.75/V9.74 rollback”. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: data source: gridatlas data; JSON file homepage-owner.json; JSON file homepage.json; JSON file active-pages.json; JSON file presentation.json; JSON file entity-types.json; JSON file current.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file homepage-owner.json; JSON file homepage.json; JSON file active-pages.json; JSON file presentation.json; JSON file entity-types.json; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Wafer Development Environment Workflow - File: globalgrid2050/.github/workflows/wafer-development-environment.yml (YAML, 99 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/wafer-development-environment.yml#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/1740.html#f3 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Forty checks from the outside, after every push that touches it. - What it does: It builds and publishes its content. Side effects: starts processes. - Inputs & outputs: In: JSON file versions.json; JSON file families.json; JSON file keys.json; JSON file qubit.json; JSON file apps.json; JSON file entangle.json; JSON file labels.json; JSON file line-index.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file versions.json; JSON file families.json; JSON file keys.json; JSON file qubit.json; JSON file apps.json; JSON file entangle.json; JSON file labels.json; JSON file line-index.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Wire Generation Ecg Candidate Workflow - File: globalgrid2050/.github/workflows/wire_generation_ecg_candidate.yml (YAML, 78 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/.github/workflows/wire_generation_ecg_candidate.yml#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/1740.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs GlobalGrid2050 Wire Generation Ecg Candidate (`scripts/wire_generation_ecg_candidate.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'generation'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Actions - File: globalgrid2050/automation/dc_location_ui/83e7c36d08ef98f3665f7f35b8637405391dc4be/actions.css (CSS, 13 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/dc_location_ui/83e7c36d08ef98f3665f7f35b8637405391dc4be/actions.css#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/1740.html#f5 - Synopsis: A style sheet in the dc location ui folder of GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Actions - File: globalgrid2050/automation/dc_location_ui/83e7c36d08ef98f3665f7f35b8637405391dc4be/actions.mjs (JavaScript, 219 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/dc_location_ui/83e7c36d08ef98f3665f7f35b8637405391dc4be/actions.mjs#L1-L219 - Page: https://code.globalgrid2050.com/explore-code/s/1740.html#f6 - Synopsis: A JavaScript module in the dc location ui folder of GlobalGrid2050 that draws datacentre locations and postcodes, using SHA-256, and uses data from the data-grid-GB and GridAtlas repositories. - What it achieves (comment): It indexes locations (`indexLocations`), loads locations (`loadLocations`) and attaches location actions (`attachLocationActions`). Optional, bounded DC location actions. Frame and original source records stay owned by their existing components. - What it does: It draws datacentre locations and postcodes. Defines 9 functions or classes, including requireValid, checkedPoint, revision, indexLocations, screenUrl. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: postcodes. - Inputs & outputs: In: GeoJSON file datacentre-locations.geojson. - Downstream impact: Used directly by 1 file: Contracts Test (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 V930 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export indexLocations(document)`; `export screenUrl(feature)`; `export loadLocations(transport = fetch, pin = INPUT)`; `export attachLocationActions(host, options = {})`; `requireValid(ok, field)`; `checkedPoint(feature)`; `revision(value, qid)`; `mount(host, {transport = fetch, pin = INPUT, noteId = 'dc-screening-note'}, state)`; `refresh()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [GeoJSON file datacentre-locations.geojson]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Model - File: globalgrid2050/automation/document_facts_ui/20261117-v939/model.mjs (JavaScript, 12 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/document_facts_ui/20261117-v939/model.mjs#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1740.html#f7 - Synopsis: A JavaScript module in the document facts ui folder of GlobalGrid2050 that works with accepted documents (`acceptedDocuments`), using SHA-256. It is built from the accepted documents helper (`acceptedDocuments`). - What it achieves (name): Defines `acceptedDocuments`. - What it does: It calculates its inputs. Defines acceptedDocuments. - Downstream impact: Used directly by 3 files: Model (globalgrid2050); View (globalgrid2050); Contracts Test (globalgrid2050). Reached from 9 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export acceptedDocuments(bytes,notice)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### View - File: globalgrid2050/automation/document_facts_ui/20261117-v939/view.mjs (JavaScript, 21 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/document_facts_ui/20261117-v939/view.mjs#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1740.html#f8 - Synopsis: A JavaScript module in the document facts ui folder of GlobalGrid2050 that draws facts and notice, using SHA-256. - What it achieves (name): Its code works with 2 GW. - What it does: It draws facts and notice. Defines el. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: JSON file facts.json; JSON file notice.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `el(tag,text)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file facts.json; JSON file notice.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Model - File: globalgrid2050/automation/grid_notice_ui/20261117-v938/model.mjs (JavaScript, 17 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/grid_notice_ui/20261117-v938/model.mjs#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/1740.html#f9 - Synopsis: A JavaScript module in the grid notice ui folder of GlobalGrid2050 that works with accepted notice (`acceptedNotice`), using SHA-256. It is built from the accepted notice helper (`acceptedNotice`). - What it achieves (name): Defines `canonical`, `day` and `acceptedNotice`. - What it does: It calculates its inputs. Defines canonical, day, acceptedNotice. - Downstream impact: Used directly by 3 files: Model (globalgrid2050); View (globalgrid2050); Contracts Test (globalgrid2050). Reached from 11 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export acceptedNotice(payload)`; `canonical(value)`; `day(value)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### View - File: globalgrid2050/automation/grid_notice_ui/20261117-v938/view.mjs (JavaScript, 19 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/grid_notice_ui/20261117-v938/view.mjs#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/1741.html#f1 - Synopsis: A JavaScript module in the grid notice ui folder of GlobalGrid2050 that draws notice and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): Its code works with 2 GW. It responds to input events. - What it does: It draws notice and the REPD register. Defines el. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file notice.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - Signatures: `el(tag,text)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file notice.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Entry Browser - File: globalgrid2050/automation/journey_entry_ui/20261118/entry.browser.mjs (JavaScript, 34 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/journey_entry_ui/20261118/entry.browser.mjs#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/1741.html#f2 - Synopsis: A JavaScript module in the journey entry ui folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and substations. It is built from the inspect step (`inspect`). - What it achieves (comment): Source-host integration. PREVIEW=1 composes the additive module into V9.42 only in a local HTTP response; this is not public/edition acceptance. - What it does: It draws the REPD register and substations. Defines inspect. Uses libraries node:assert/strict, node:http, node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: the REPD register, substations. README: "`entry.browser.mjs` exercises the real Pipeline host and existing pinned remote Data Centre/substation inputs at 393/1440." - Inputs & outputs: Out: JSON file receipt.json. - Downstream impact: Used directly by 1 file: Browser (globalgrid2050). - Signatures: `inspect(link)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Model - File: globalgrid2050/automation/journey_entry_ui/20261118/model.mjs (JavaScript, 37 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/journey_entry_ui/20261118/model.mjs#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/1741.html#f3 - Synopsis: A JavaScript module in the journey entry ui folder of GlobalGrid2050 that works with the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. - What it achieves (name): It builds journey URL (`buildJourneyUrl`) and maps origin (`mapOrigin`). Defines `checkedOrigin`, `checkedNewsContextBase`, `buildJourneyUrl` and 1 more. - What it does: It calculates the REPD register. Defines checkedOrigin, checkedNewsContextBase, buildJourneyUrl, mapOrigin. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Downstream impact: Used directly by 3 files: Map Entry (globalgrid2050); Model Test (globalgrid2050); View (globalgrid2050). Reached from 6 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export checkedOrigin(value)`; `export checkedNewsContextBase(value)`; `export buildJourneyUrl(mapHref,origin,{radiusKm=10,newsContextUrl}={})`; `export mapOrigin(mapHref,{origin_type,origin_id,name}={})` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 3; mentioned by 0 ### Model Test - File: globalgrid2050/automation/journey_entry_ui/20261118/model.test.mjs (JavaScript, 36 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/journey_entry_ui/20261118/model.test.mjs#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/1741.html#f4 - Synopsis: A test in the journey entry ui folder of GlobalGrid2050 that checks Model and GridAtlas — Atlas Page using data from the GridAtlas repository. - What it does: It tests the REPD register and substations. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain terms in the code: the REPD register, substations. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, estate-url 1); used by 1; mentioned by 0 ### Verify Closure - File: globalgrid2050/automation/journey_entry_ui/20261118/verify-closure.mjs (JavaScript, 18 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/journey_entry_ui/20261118/verify-closure.mjs#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1741.html#f5 - Synopsis: A JavaScript module in the journey entry ui folder of GlobalGrid2050 that reads journey entry, using SHA-256. - What it achieves (name): Its name says it verifies closure. - What it does: It loads journey entry. Uses libraries node:fs, node:path, node:crypto, node:assert/strict. Side effects: reads or writes files. - Inputs & outputs: In: JSON file journey-entry.v943.json; command-line arguments. - Downstream impact: Used directly by 1 file: Verify Closure (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file journey-entry.v943.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### View Browser - File: globalgrid2050/automation/journey_entry_ui/20261118/view.browser.mjs (JavaScript, 39 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/journey_entry_ui/20261118/view.browser.mjs#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/1741.html#f6 - Synopsis: A JavaScript module in the journey entry ui folder of GlobalGrid2050 that reads the Renewable Energy Planning Database (REPD) register and substations from the GridAtlas repository. - What it achieves (name): It responds to pipeline events. - What it does: It loads the REPD register and substations. Uses libraries node:assert/strict, node:http, node:fs, node:path, node:module. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: the REPD register, substations. - Inputs & outputs: In: data source: gridatlas data; form fields (user input). - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; form fields (user input)]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### View - File: globalgrid2050/automation/journey_entry_ui/20261118/view.mjs (JavaScript, 97 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/journey_entry_ui/20261118/view.mjs#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/1741.html#f7 - Synopsis: A JavaScript module in the journey entry ui folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. - What it achieves (name): It is built from the remember category helper (`rememberCategory`), the restore step (`restore`) and the dc restore helper (`dcRestore`). Defines `action`, `refresh`, `rememberCategory` and 2 more. It responds to click and pipeline events. - What it does: It draws the REPD register. Defines action, refresh, rememberCategory, restore, dcRestore. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Signatures: `action(map,identity,parent)`; `refresh()`; `rememberCategory()`; `restore()`; `dcRestore()` - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/uk_renewables_pipeline/202611181019/map-entry.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, estate-url 1); used by 0; mentioned by 0 ### Browser - File: globalgrid2050/automation/journey_return_ui/20261118/browser.mjs (JavaScript, 38 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/journey_return_ui/20261118/browser.mjs#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1741.html#f8 - Synopsis: A JavaScript module in the journey return ui folder of GlobalGrid2050 covering battery storage (BESS) and solar, and uses data from the GridAtlas repository. - What it achieves (comment): It is built from the source state helper (`sourceState`) and the value step (`value`). Full local candidate source -> real Atlas -> cold Back. - What it does: It draws battery storage (BESS) and solar. Defines sourceState, value. Uses libraries node:assert/strict, node:http, node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: battery storage (BESS), solar. - Inputs & outputs: In: data source: gridatlas data. Out: JSON file receipt.json. - Signatures: `sourceState(expected)`; `value(id)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data]; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Restore Test - File: globalgrid2050/automation/journey_return_ui/20261118/restore.test.mjs (JavaScript, 56 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/journey_return_ui/20261118/restore.test.mjs#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1741.html#f9 - Synopsis: A test in the journey return ui folder of GlobalGrid2050 covering solar and battery storage (BESS). It is built from the node class (`Node`) and the custom event class (`CustomEvent`). - What it achieves (name): Its name says it restores test. Defines `fixture`, `Node` and `CustomEvent`. - What it does: It tests solar and battery storage (BESS). Defines fixture, Node, CustomEvent. Uses libraries node:test, node:assert/strict, node:vm, node:fs, node:path. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `fixture({saved,technology='all',query='12588'}={})`; `class Node`; `constructor(id,view)`; `addEventListener(type,fn)`; `emit(type,event={})`; `click()`; `setAttribute(k,v)`; `getAttribute(k)`; `focus()`; `append(...children)`; `replaceChildren(...children)`; `querySelector(selector)`; `class CustomEvent` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Verify Closure - File: globalgrid2050/automation/journey_return_ui/20261118/verify-closure.mjs (JavaScript, 10 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/journey_return_ui/20261118/verify-closure.mjs#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/1741.html#f10 - Synopsis: A JavaScript module in the journey return ui folder of GlobalGrid2050 that reads journey return, using SHA-256. - What it achieves (name): Its name says it verifies closure. - What it does: It loads journey return. Uses libraries node:fs, node:path, node:crypto, node:assert/strict. Side effects: reads or writes files. - Inputs & outputs: In: JSON file journey-return.v944.json; command-line arguments. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file journey-return.v944.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Catalogue - File: globalgrid2050/automation/primary_note_ui/b5eed3d2ae878c78e5153be06ef531c11fff2148/catalogue.mjs (JavaScript, 122 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/primary_note_ui/b5eed3d2ae878c78e5153be06ef531c11fff2148/catalogue.mjs#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/1741.html#f11 - Synopsis: A JavaScript module in the primary note ui folder of GlobalGrid2050 that works with part, pipeline headlines, solar and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the freeze step (`freeze`). Curated trust catalogue. A hostname or caller flag cannot add a source. - What it does: It calculates part, pipeline headlines, solar and the REPD register. Defines freeze. - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register. - Inputs & outputs: In: JSON file part-001.json; JSON file pipeline_headlines.json. - Downstream impact: Used directly by 2 files: Model (globalgrid2050); Contracts Test (globalgrid2050). Reached from 4 other entry points, including GlobalGrid2050 V932 Preview Acceptance Workflow (globalgrid2050); GlobalGrid2050 V933 Preview Acceptance Workflow (globalgrid2050); Contracts Test (globalgrid2050). - Signatures: `freeze(value)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file part-001.json; JSON file pipeline_headlines.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Model - File: globalgrid2050/automation/primary_note_ui/b5eed3d2ae878c78e5153be06ef531c11fff2148/model.mjs (JavaScript, 119 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/primary_note_ui/b5eed3d2ae878c78e5153be06ef531c11fff2148/model.mjs#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/1741.html#f12 - Synopsis: A JavaScript module in the primary note ui folder of GlobalGrid2050 that builds primary notes (`buildPrimaryNotes`), covering notes, using SHA-256. - What it achieves (comment): It builds primary notes (`buildPrimaryNotes`) and is built from the require valid helper (`requireValid`) and the freeze step (`freeze`). Offline curated primary notes. This validates one reviewed association, not a matcher. - What it does: It calculates notes. Defines 14 functions or classes, including requireValid, freeze, jsonCopy, serial, keys. - Inputs & outputs: In: JSON file notes.json. - Downstream impact: Used directly by 3 files: Contracts Test (globalgrid2050); Contracts Test (globalgrid2050); Invariants (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 V932 Preview Acceptance Workflow (globalgrid2050); GlobalGrid2050 V933 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export utcInstant(value)`; `export buildPrimaryNotes(projects,options={})`; `requireValid(ok,why)`; `freeze(value)`; `jsonCopy(value,seen=new Set(),depth=0)`; `serial(value)`; `keys(value,wanted,role)`; `same(actual,expected,role)`; `https(value)`; `day(value)`; `canonical(projects)`; `field(row,name)`; `clocks(note,cutoff)`; `validate(note,row,cutoff)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file notes.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Catalogue - File: globalgrid2050/automation/primary_note_ui/f421513f7cbd85ad45727ef236e053a6c67f92d9/catalogue.mjs (JavaScript, 651 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/primary_note_ui/f421513f7cbd85ad45727ef236e053a6c67f92d9/catalogue.mjs#L1-L651 - Page: https://code.globalgrid2050.com/explore-code/s/1742.html#f1 - Synopsis: A JavaScript module in the primary note ui folder of GlobalGrid2050 that works with part, pipeline headlines, solar and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the freeze step (`freeze`). Curated trust catalogue. A hostname or caller flag cannot add a source. - What it does: It calculates part, pipeline headlines, solar and the REPD register. Defines freeze. - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register. - Inputs & outputs: In: JSON file part-001.json; JSON file pipeline_headlines.json; JSON file project_identity_2026q3.json. - Downstream impact: Used directly by 1 file: Model (globalgrid2050). - Signatures: `freeze(value)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file part-001.json; JSON file pipeline_headlines.json; JSON file project_identity_2026q3.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Model - File: globalgrid2050/automation/primary_note_ui/f421513f7cbd85ad45727ef236e053a6c67f92d9/model.mjs (JavaScript, 143 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/primary_note_ui/f421513f7cbd85ad45727ef236e053a6c67f92d9/model.mjs#L1-L143 - Page: https://code.globalgrid2050.com/explore-code/s/1743.html#f1 - Synopsis: A JavaScript module in the primary note ui folder of GlobalGrid2050 that builds primary notes (`buildPrimaryNotes`), covering notes, using SHA-256. - What it achieves (comment): It builds primary notes (`buildPrimaryNotes`) and is built from the require valid helper (`requireValid`) and the freeze step (`freeze`). Offline curated primary notes. Individually reviewed associations, not a matcher. - What it does: It calculates notes. Defines 14 functions or classes, including requireValid, freeze, jsonCopy, serial, keys. - Inputs & outputs: In: JSON file notes.json. - Signatures: `export utcInstant(value)`; `export buildPrimaryNotes(projects,options={})`; `requireValid(ok,why)`; `freeze(value)`; `jsonCopy(value,seen=new Set(),depth=0)`; `serial(value)`; `keys(value,wanted,role)`; `same(actual,expected,role)`; `https(value)`; `day(value)`; `canonical(projects)`; `field(row,name)`; `clocks(note,cutoff)`; `validate(note,row,catalogue,noteId,cutoff)` - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/automation/primary_note_ui/b5eed3d2ae878c78e5153be06ef531c11fff2148/model.mjs) · essay_status: readme_derived - data_contracts: in [JSON file notes.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Brief - File: globalgrid2050/automation/primary_note_ui/host-202611170512/brief.mjs (JavaScript, 85 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/primary_note_ui/host-202611170512/brief.mjs#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/1743.html#f2 - Synopsis: A JavaScript module in the primary note ui folder of GlobalGrid2050 that works with decorate primary button (`decoratePrimaryButton`), covering the Renewable Energy Planning Database (REPD) register and solar, using SHA-256. - What it achieves (comment): It appends primary brief (`appendPrimaryBrief`) and is built from the date step (`date`) and the link step (`link`). ROOT renderer for the existing Machine Read Notes brief; no new panel. - What it does: It draws the REPD register and solar. Defines el, date, link, decoratePrimaryButton, appendPrimaryBrief. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar. - Signatures: `export decoratePrimaryButton(button, note)`; `export appendPrimaryBrief(body, note, project)`; `el(tag, text, cls)`; `date(value)`; `link(label, value)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Ticker Crisp UI — V941 Style Sheet - File: globalgrid2050/automation/ticker_crisp_ui/20261117-v941/styles.css (CSS, 4 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/ticker_crisp_ui/20261117-v941/styles.css#L1-L4 - Page: https://code.globalgrid2050.com/explore-code/s/1743.html#f3 - Synopsis: A style sheet in the automation folder of GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Header - File: globalgrid2050/automation/ticker_neon_ui/20261117-v940/header.mjs (JavaScript, 8 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/ticker_neon_ui/20261117-v940/header.mjs#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1743.html#f4 - Synopsis: A JavaScript module in the ticker neon ui folder of GlobalGrid2050 that imports once, then relocate its real control. - What it does: It draws its content. Side effects: changes the web page (DOM). - Downstream impact: Used directly by 3 files: News Compact (globalgrid2050); GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); Android (globalgrid2050). Reached from 5 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Ticker - File: globalgrid2050/automation/ticker_neon_ui/20261117-v940/ticker.mjs (JavaScript, 29 lines) · role interaction · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/ticker_neon_ui/20261117-v940/ticker.mjs#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1743.html#f5 - Synopsis: A JavaScript module in the ticker neon ui folder of GlobalGrid2050. It creates ticker renderer (`createTickerRenderer`) and is built from the listen step (`listen`) and the sync step (`sync`). - What it achieves (comment): Flowing visual strip with one semantic list. It responds to change events. - What it does: It draws its content. Defines 6 functions or classes, including createTickerRenderer, el, listen, sync, measure. Side effects: changes the web page (DOM). - Downstream impact: Used directly by 2 files: Ticker (globalgrid2050); Android (globalgrid2050). Reached from 7 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export createTickerRenderer(latestHeadlines)`; `el(tag,cls,text)`; `listen(n,t,f)`; `sync()`; `measure()`; `preference()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Feedback - File: globalgrid2050/automation/v923-recovery/feedback.py (Python, 115 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v923-recovery/feedback.py#L1-L115 - Page: https://code.globalgrid2050.com/explore-code/s/1743.html#f6 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that reads the Renewable Energy Planning Database (REPD) register. It is built from the analyse step (`analyse`). - What it achieves (comment): Deterministic V9.23 CI feedback: diagnose failures, never self-authorise publication. - What it does: It loads the REPD register. Defines analyse, main. Uses libraries __future__, datetime, json, os, sys. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V923 Six Hour Python Repair Workflow (globalgrid2050). - Signatures: `analyse(document: dict | None, head: str = "")`; `main(argv: list[str])` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Repair - File: globalgrid2050/automation/v923-recovery/repair.py (Python, 233 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v923-recovery/repair.py#L1-L233 - Page: https://code.globalgrid2050.com/explore-code/s/1743.html#f7 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that works with require completed candidate (`require_completed_candidate`), covering the Renewable Energy Planning Database (REPD) register, interconnectors and solar. - What it achieves (comment): It repairs existing columns (`repair_existing_columns`) and is built from the swap step (`swap`) and the build step (`build`). One-time Python release generator, non-publishing and V9.22 immutable. - What it does: It draws the REPD register, interconnectors and solar. Defines 6 functions or classes, including swap, require_completed_candidate, repair_existing_columns, build, reconcile. Uses libraries pathlib, json, re, subprocess, sys. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register, interconnectors, solar. - Inputs & outputs: In: JSON file registry.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V923 Six Hour Python Repair Workflow (globalgrid2050). - Signatures: `swap(txt,old,new)`; `require_completed_candidate(directory, version)`; `repair_existing_columns()`; `build()`; `reconcile()`; `check()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file registry.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (sys-path 1, script-call 1); used by 1; mentioned by 0 ### Machine Notes - File: globalgrid2050/automation/v923-recovery/templates/machine-notes.js (JavaScript, 138 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v923-recovery/templates/machine-notes.js#L1-L138 - Page: https://code.globalgrid2050.com/explore-code/s/1744.html#f1 - Synopsis: A JavaScript file in the templates folder of GlobalGrid2050 that updates visible notes (`updateVisibleNotes`), covering the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It updates visible notes (`updateVisibleNotes`) and is built from the original link helper (`originalLink`) and the headline summary v923 helper (`headlineSummaryV923`). No original article is republished. It responds to click and pipeline events. - What it does: It draws the REPD register. Defines 9 functions or classes, including el, originalLink, headlineSummaryV923, shortHeadlineV923, latestTime. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Signatures: `el(tag, cls, text)`; `originalLink(raw)`; `headlineSummaryV923(item)`; `shortHeadlineV923(item)`; `latestTime(item)`; `load(doc)`; `updateVisibleNotes()`; `panel()`; `open(button)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 1 ### V9 23 - File: globalgrid2050/automation/v923-recovery/templates/v9-23.css (CSS, 7 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v923-recovery/templates/v9-23.css#L1-L7 - Page: https://code.globalgrid2050.com/explore-code/s/1744.html#f2 - Synopsis: A style sheet in the templates folder of GlobalGrid2050. - What it achieves (comment): V9.23 nonlive briefing; full text is present before any animation. - What it does: Side effects: changes the web page (DOM). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Regressions - File: globalgrid2050/automation/v923-recovery/test_regressions.py (Python, 106 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v923-recovery/test_regressions.py#L1-L106 - Page: https://code.globalgrid2050.com/explore-code/s/1744.html#f3 - Synopsis: A test in the automation folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register. It is built from the incomplete build tests class (`IncompleteBuildTests`). - What it achieves (comment): CVAA fail-closed checks: interrupted builds and two-vertical REPD table cells. - What it does: It tests the REPD register. Defines 10 functions or classes, including IncompleteBuildTests, test_interrupted_after_create_must_fail, test_unregistered_candidate_must_fail, test_inline_headline_summary_exists_and_is_candidate_only, test_late_gridatlas_card_collapse_must_be_checked. Uses libraries importlib.util, tempfile, unittest, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 V923 Six Hour Python Repair Workflow (globalgrid2050). - Signatures: `class IncompleteBuildTests`; `test_interrupted_after_create_must_fail(self)`; `test_unregistered_candidate_must_fail(self)`; `test_inline_headline_summary_exists_and_is_candidate_only(self)`; `test_late_gridatlas_card_collapse_must_be_checked(self)`; `test_feedback_keeps_failed_browser_probe_red(self)`; `test_feedback_missing_mandatory_checks_is_incomplete(self)`; `test_feedback_static_pass_is_not_a_browser_pass(self)`; `test_feedback_missing_verdict_is_not_success(self)`; `test_candidate_columns_are_one_per_vertical(self)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Test Verify - File: globalgrid2050/automation/v924_public/test_verify.py (Python, 236 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v924_public/test_verify.py#L1-L236 - Page: https://code.globalgrid2050.com/explore-code/s/1744.html#f4 - Synopsis: A test in the automation folder of GlobalGrid2050 that checks Verify. It sets up (`setUp`) and is built from the encoded step (`encoded`) and the response class (`Response`). - What it achieves (comment): Offline contract and importer-parity tests; no public source claims. It writes `automation/pipeline_release/registry.json`. - What it does: It tests its inputs. Defines 34 functions or classes, including encoded, Response, __init__, ReadbackTests, setUp. Uses libraries copy, importlib.util, io, json, os. Side effects: reads or writes files; makes network requests. - Inputs & outputs: In: JSON file homepage.json; JSON file registry.json; JSON file versions.json; JSON file homepage-owner.json; JSON file receipt.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 V924 Public Readback Workflow (globalgrid2050). - Signatures: `encoded(obj)`; `class Response`; `__init__(self, body, length=None)`; `class ReadbackTests`; `setUp(self)`; `write(self, name, body)`; `repin(self)`; `git(self, root, command, ref)`; `prepare(self)`; `check(self)`; `test_registry_tail_does_not_promote_operative_release(self)`; `test_later_owner_promotion_selects_new_version(self)`; `test_transformation_matches_real_importer(self)`; `response(url, **kwargs)`; `test_wrong_source_pin_fails(self)`; `test_unpinned_owner_commit_fails(self)`; `test_untransformed_root_fails(self)`; `test_malformed_importer_references_fail(self)`; `test_every_served_bundle_asset_is_pinned(self)`; `test_wrong_release_and_rollbacks_fail(self)`; `test_current_manifest_must_equal_frozen_baseline(self)`; `test_missing_or_changed_ledger_fails(self)`; `test_ledger_semantics_are_checked_even_with_identical_bytes(self)`; `test_owner_wrong_url_candidate_and_duplicate_rejected(self)`; `test_unregistered_tree_fails(self)` (and 9 more) - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage.json; JSON file registry.json; JSON file versions.json; JSON file homepage-owner.json; JSON file receipt.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Verify - File: globalgrid2050/automation/v924_public/verify.py (Python, 195 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v924_public/verify.py#L1-L195 - Page: https://code.globalgrid2050.com/explore-code/s/1744.html#f5 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that fetches homepage owner and active pages, using SHA-256 from raw.githubusercontent.com. - What it achieves (comment): It checks once (`check_once`) and is built from the sha step (`sha`) and the require step (`require`). Read-only current Pipeline News/owner bundle and immutable rollback readback. - What it does: It fetches homepage owner and active pages. Defines 14 functions or classes, including sha, require, unique_object, decode, NoRedirects. Uses libraries __future__, datetime, hashlib, json, os. Side effects: reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: data source: raw.githubusercontent.com; JSON file homepage.json; JSON file active-pages.json; JSON file presentation.json; JSON file entity-types.json; JSON file homepage-owner.json; JSON file registry.json; JSON file versions.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 V924 Public Readback Workflow (globalgrid2050); Test Verify (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `sha(data)`; `require(condition, message)`; `unique_object(pairs)`; `decode(data)`; `class NoRedirects`; `redirect_request(self, req, fp, code, msg, headers, newurl)`; `read(url)`; `transformed_index(raw)`; `git_value(root, *args)`; `prepare(root=ROOT, fetch=read, git=git_value)`; `check_once(expected, fetch=read)`; `exact(path, original)`; `bounded_env(name, default, low, high)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: raw.githubusercontent.com; JSON file homepage.json; JSON file active-pages.json; JSON file presentation.json; JSON file entity-types.json; JSON file homepage-owner.json; JSON file registry.json; JSON file versions.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Build - File: globalgrid2050/automation/v928_context/build.py (Python, 127 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v928_context/build.py#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/1745.html#f1 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that reads closure, ledger, grid fixture and solar context, using SHA-256. - What it achieves (comment): It is built from the digest step (`digest`), the source bytes helper (`source_bytes`) and the assemble step (`assemble`). Package the existing, pinned Context producer and renderer for a local preview. It reads `automation/news/policy_commitments/sample_ledger.json`. It accepts `--repository-root`, `--figures-dir` and `--verify-validation`. - What it does: It loads closure, ledger, grid fixture and solar context. Defines digest, source_bytes, assemble, main. Uses libraries __future__, argparse, hashlib, importlib, json. Side effects: reads or writes files. - Inputs & outputs: In: JSON file closure.json; JSON file sample_ledger.json; JSON file grid-source-fixture.json; JSON file solar-context.json; JSON file transition-context.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050). - Signatures: `digest(raw)`; `source_bytes(path, expected)`; `assemble(repository, figures_directory, *, include_validation=False)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file closure.json; JSON file sample_ledger.json; JSON file grid-source-fixture.json; JSON file solar-context.json; JSON file transition-context.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Figures - File: globalgrid2050/automation/v928_context/preview/figures/b460cb7f76172691b5ffb6d2a7f1a8e12057ba20/figures.css (CSS, 108 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v928_context/preview/figures/b460cb7f76172691b5ffb6d2a7f1a8e12057ba20/figures.css#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1745.html#f2 - Synopsis: A style sheet in the automation folder of GlobalGrid2050. - What it achieves (comment): Scoped inline disclosure; no host, navigation, map or global element styles. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). Reached from 4 other entry points, including GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents); A4 Legal Model (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Model - File: globalgrid2050/automation/v928_context/preview/figures/b460cb7f76172691b5ffb6d2a7f1a8e12057ba20/model.mjs (JavaScript, 216 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v928_context/preview/figures/b460cb7f76172691b5ffb6d2a7f1a8e12057ba20/model.mjs#L1-L216 - Page: https://code.globalgrid2050.com/explore-code/s/1745.html#f3 - Synopsis: A JavaScript module in the figures folder of GlobalGrid2050 that validates claim (`validateClaim`), using SHA-256. It validates claim (`validateClaim`) and builds view model (`buildViewModel`). - What it achieves (comment): Offline browser/Node view adapter for pinned FIGURES . - What it does: It calculates its inputs. Defines 14 functions or classes, including FigureModelError, fail, fullMatch, object, claimsArray. - Downstream impact: Used directly by 2 files: Preview V928 (globalgrid2050); Render (globalgrid2050). Reached from 5 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents). - Signatures: `export class FigureModelError`; `export buildViewModel(input)`; `fail(field, reason)`; `fullMatch(pattern, value)`; `object(value, keys, field)`; `claimsArray(value)`; `text(value, field, max = 200)`; `id(value, field)`; `choice(value, options, field)`; `sourceDate(value, field)`; `timestampDate(value, field)`; `url(value, field)`; `validateClaim(claim, entityId)`; `row(claim)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Render - File: globalgrid2050/automation/v928_context/preview/figures/b460cb7f76172691b5ffb6d2a7f1a8e12057ba20/render.mjs (JavaScript, 153 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v928_context/preview/figures/b460cb7f76172691b5ffb6d2a7f1a8e12057ba20/render.mjs#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/1745.html#f4 - Synopsis: A JavaScript module in the figures folder of GlobalGrid2050 that adds field (`addField`). It adds field (`addField`), renders row (`renderRow`) and renders figures (`renderFigures`). - What it achieves (comment): Inline, provisional filing figures. No extraction or publication authority. - What it does: It draws its content. Defines 7 functions or classes, including element, knownText, sourceUrl, addField, renderRow. Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Preview V928 (globalgrid2050). Reached from 5 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); GlobalGrid2050 Pipeline Legal Evidence Workflow (globalgrid2050); V923 Public Readback Workflow (neural-link-between-agents). - Signatures: `export renderFigures(container, input)`; `element(document, tag, className, text)`; `knownText(value)`; `sourceUrl(value)`; `addField(document, list, label, value, attribute)`; `renderRow(document, row)`; `detailsRoot(document, view, wasOpen)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Verify Imports - File: globalgrid2050/automation/v928_intelligence/verify_imports.py (Python, 33 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v928_intelligence/verify_imports.py#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1745.html#f5 - Synopsis: A Python command-line tool in the automation folder of GlobalGrid2050 that reads import pins, using SHA-256. - What it achieves (comment): Verify selected corrected News/Grid import bytes; never fetch or publish. It accepts `--repo`. - What it does: It loads import pins. Defines main. Uses libraries __future__, argparse, hashlib, json, pathlib. Side effects: reads or writes files. - Inputs & outputs: In: JSON file import-pins.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050). - Signatures: `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file import-pins.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Browser - File: globalgrid2050/automation/v928_preview/browser.mjs (JavaScript, 240 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v928_preview/browser.mjs#L1-L240 - Page: https://code.globalgrid2050.com/explore-code/s/1746.html#f1 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that parses CSV (`parseCsv`), opens page (`openPage`) and downloads CSV (`downloadCsv`), covering transition context, projects and baseline, using SHA-256. - What it achieves (comment): It parses CSV (`parseCsv`), opens page (`openPage`) and downloads CSV (`downloadCsv`). Local integrated acceptance; external requests are blocked and recorded. - What it does: It draws transition context, projects and baseline. Defines 8 functions or classes, including sha, urlFor, pass, parseCsv, openPage. Uses libraries node:assert/strict, node:http, node:child_process, node:crypto, node:fs. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: JSON file transition-context.json; JSON file projects.json; CSV file baseline-v924-all.csv; JSON file build_manifest.json; CSV file candidate-v928-all.csv. Out: JSON file browser.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050). - Signatures: `sha(b)`; `urlFor(dir)`; `pass(name,details={})`; `parseCsv(input)`; `openPage(browser,width,folder,tamper=false,publication=false)`; `allRows(page)`; `downloadCsv(page,name)`; `activate(page,id)` - VEDIC: EXPORT FILTERED PROJECTS (GG2050-VEDIC-000060): Pipeline News · Renewable project register. active_table_owner, filtered_register_rows, official_detail_partitions -> csv_download_or_refusal - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file transition-context.json; JSON file projects.json; CSV file baseline-v924-all.csv; JSON file build_manifest.json; CSV file candidate-v928-all.csv]; out [JSON file browser.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Invariants - File: globalgrid2050/automation/v928_preview/invariants.mjs (JavaScript, 137 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v928_preview/invariants.mjs#L1-L137 - Page: https://code.globalgrid2050.com/explore-code/s/1746.html#f2 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that reads pipeline headlines snapshot and snapshot provenance, using SHA-256. - What it achieves (comment): It is built from the bytes step (`bytes`), the JSON step (`json`) and the sha step (`sha`). Independent preservation gate. Imports the established MAP contract; no network. - What it does: It loads pipeline headlines snapshot and snapshot provenance. Defines 7 functions or classes, including bytes, json, sha, git, pass. Uses libraries node:assert/strict, node:crypto, node:child_process, node:fs, node:path. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file build_manifest.json; JSON file registry.json; JSON file pipeline_headlines.snapshot.json; JSON file snapshot-provenance.json; JSON file candidates.json; JSON file homepage_v142-metrics.json. Out: JSON file invariants.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V928 Preview Acceptance Workflow (globalgrid2050). - Signatures: `bytes(p)`; `json(p)`; `sha(b)`; `git(args)`; `pass(name, details)`; `population(folder)`; `directoryBytes(folder)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json; JSON file registry.json; JSON file pipeline_headlines.snapshot.json; JSON file snapshot-provenance.json; JSON file candidates.json; JSON file homepage_v142-metrics.json]; out [JSON file invariants.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Serve - File: globalgrid2050/automation/v928_preview/serve.mjs (JavaScript, 29 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v928_preview/serve.mjs#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1746.html#f3 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050. - What it achieves (comment): Loopback-only preview; no deployment or write endpoint. - What it does: It loads data. Uses libraries node:http, node:fs, node:path, node:url. Side effects: reads or writes files. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Browser - File: globalgrid2050/automation/v929_preview/browser.mjs (JavaScript, 220 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v929_preview/browser.mjs#L1-L220 - Page: https://code.globalgrid2050.com/explore-code/s/1746.html#f4 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that draws snapshot provenance, pipeline headlines snapshot and substations, using SHA-256, and uses data from the GridAtlas repository. - What it achieves (comment): It is built from the sha step (`sha`), the URL for helper (`urlFor`) and the pass step (`pass`). Real integrated V9.29 browser acceptance against exact source-byte fixtures. - What it does: It draws snapshot provenance, pipeline headlines snapshot and substations. Defines 13 functions or classes, including sha, urlFor, pass, download, open. Uses libraries node:assert/strict, node:http, node:crypto, node:child_process, node:fs. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: substations. - Inputs & outputs: In: data source: gridatlas data; CSV file v928-all.csv; JSON file build_manifest.json; CSV file v929-all.csv; JSON file snapshot-provenance.json; JSON file pipeline_headlines.snapshot.json. Out: JSON file browser.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V929 Preview Acceptance Workflow (globalgrid2050). - Signatures: `sha(b)`; `urlFor(dir)`; `pass(name,details={})`; `csv(text)`; `download(page,button,name)`; `open(browser,width,folder,{corrupt=false,reducedMotion=false,mobile=false,height=1000}={})`; `fullWidth(page)`; `painted(page,selector)`; `x(left+right)`; `settleTouch(page)`; `touchTap(page,selector)`; `touchDrag(session,{x,y,dx=0,dy=0})`; `orientationScreenshot(session,name,size)`; `tab(page,id)`; `allRepd(page)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; CSV file v928-all.csv; JSON file build_manifest.json; CSV file v929-all.csv; JSON file snapshot-provenance.json; JSON file pipeline_headlines.snapshot.json]; out [JSON file browser.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 1 ### Contracts Test - File: globalgrid2050/automation/v929_preview/contracts.test.mjs (JavaScript, 100 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v929_preview/contracts.test.mjs#L1-L100 - Page: https://code.globalgrid2050.com/explore-code/s/1747.html#f1 - Synopsis: A test in the automation folder of GlobalGrid2050 that checks Registry and Model, using SHA-256 using data from the GridAtlas repository. - What it achieves (name): Defines `spec`. Its code works with 33 kV. - What it does: It tests substations. Defines spec. Uses libraries node:test, node:assert/strict, node:crypto. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, 33kV. - Inputs & outputs: In: JSON file pinned.json. Voltage levels named: 33kV. - Downstream impact: Used directly by 5 files: GlobalGrid2050 V929 Preview Acceptance Workflow (globalgrid2050); GlobalGrid2050 V930 Preview Acceptance Workflow (globalgrid2050); GlobalGrid2050 V931 Preview Acceptance Workflow (globalgrid2050); GlobalGrid2050 V932 Preview Acceptance Workflow (globalgrid2050); and 1 more. - Signatures: `spec()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pinned.json]; out []; crs []; voltages [33kV] - Edges: uses 5 estate files (import 4, estate-url 1); used by 5; mentioned by 0 ### Invariants - File: globalgrid2050/automation/v929_preview/invariants.mjs (JavaScript, 63 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v929_preview/invariants.mjs#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/1747.html#f2 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that reads pipeline headlines snapshot and snapshot provenance, using SHA-256. - What it achieves (comment): It is built from the bytes step (`bytes`), the git step (`git`) and the pass step (`pass`). Exact-source and historical-preservation acceptance for the formal V9.29 edition. - What it does: It loads pipeline headlines snapshot and snapshot provenance. Defines bytes, git, pass, treeBytes, population. Uses libraries node:assert/strict, node:crypto, node:child_process, node:fs, node:path. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file build_manifest.json; JSON file layers-v929.json; JSON file candidates.json; JSON file pipeline_headlines.snapshot.json; JSON file snapshot-provenance.json. Out: JSON file invariants.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V929 Preview Acceptance Workflow (globalgrid2050). - Signatures: `bytes(p)`; `git(args)`; `pass(name,details={})`; `treeBytes(dir)`; `population(folder)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json; JSON file layers-v929.json; JSON file candidates.json; JSON file pipeline_headlines.snapshot.json; JSON file snapshot-provenance.json]; out [JSON file invariants.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Browser - File: globalgrid2050/automation/v930_preview/browser.mjs (JavaScript, 231 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v930_preview/browser.mjs#L1-L231 - Page: https://code.globalgrid2050.com/explore-code/s/1747.html#f3 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that draws DC locations, DC global, snapshot provenance and pipeline headlines snapshot, using SHA-256. - What it achieves (comment): It verifies locations (`verifyLocations`) and is built from the sha step (`sha`) and the URL for helper (`urlFor`). Real integrated V9.30 browser acceptance against exact source-byte fixtures. - What it does: It draws DC locations, DC global, snapshot provenance and pipeline headlines snapshot. Defines 16 functions or classes, including sha, urlFor, pass, download, open. Uses libraries node:assert/strict, node:http, node:crypto, node:child_process, node:fs. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: JSON file dc-locations.v930.json; CSV file v929-all.csv; CSV file v929-dc-global.csv; JSON file build_manifest.json; CSV file v930-all.csv; JSON file snapshot-provenance.json; JSON file pipeline_headlines.snapshot.json. Out: JSON file browser.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V930 Preview Acceptance Workflow (globalgrid2050). - Signatures: `sha(b)`; `urlFor(dir)`; `pass(name,details={})`; `csv(text)`; `download(page,button,name)`; `open(browser,width,folder,{corrupt=false,reducedMotion=false,mobile=false,height=1000}={})`; `fullWidth(page)`; `painted(page,selector)`; `x(left+right)`; `settleTouch(page)`; `touchTap(page,selector)`; `touchDrag(session,{x,y,dx=0,dy=0})`; `orientationScreenshot(session,name,size)`; `tab(page,id)`; `allRepd(page)`; `dcOriginalLinks(page)`; `dcGlobal(page)`; `verifyLocations(page,width)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file dc-locations.v930.json; CSV file v929-all.csv; CSV file v929-dc-global.csv; JSON file build_manifest.json; CSV file v930-all.csv; JSON file snapshot-provenance.json; JSON file pipeline_headlines.snapshot.json]; out [JSON file browser.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Contracts Test - File: globalgrid2050/automation/v930_preview/contracts.test.mjs (JavaScript, 78 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v930_preview/contracts.test.mjs#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/1747.html#f4 - Synopsis: A test in the automation folder of GlobalGrid2050 that checks Actions, using SHA-256. - What it achieves (name): Defines `fixture`. - What it does: It tests postcodes. Defines fixture. Uses libraries node:test, node:assert/strict, node:crypto. - Why it exists in the grid workflow: Domain terms in the code: postcodes. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V930 Preview Acceptance Workflow (globalgrid2050). - Signatures: `fixture()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Invariants - File: globalgrid2050/automation/v930_preview/invariants.mjs (JavaScript, 87 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v930_preview/invariants.mjs#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/1747.html#f5 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that fetches DC locations and projects, using SHA-256. - What it achieves (comment): It is built from the bytes step (`bytes`), the git step (`git`) and the pass step (`pass`). Exact-source and historical-preservation acceptance for the formal V9.30 edition. - What it does: It fetches DC locations and projects. Defines bytes, git, pass, treeBytes, population. Uses libraries node:assert/strict, node:crypto, node:child_process, node:fs, node:path. Side effects: reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: JSON file build_manifest.json; JSON file dc-locations.v930.json; JSON file projects.json; JSON file layers-v929.json; JSON file candidates.json; JSON file pipeline_headlines.snapshot.json; JSON file snapshot-provenance.json. Out: JSON file invariants.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V930 Preview Acceptance Workflow (globalgrid2050). - Signatures: `bytes(p)`; `git(args)`; `pass(name,details={})`; `treeBytes(dir)`; `population(folder)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json; JSON file dc-locations.v930.json; JSON file projects.json; JSON file layers-v929.json; JSON file candidates.json; JSON file pipeline_headlines.snapshot.json; JSON file snapshot-provenance.json]; out [JSON file invariants.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Browser - File: globalgrid2050/automation/v931_preview/browser.mjs (JavaScript, 322 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v931_preview/browser.mjs#L1-L322 - Page: https://code.globalgrid2050.com/explore-code/s/1748.html#f1 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that verifies locations (`verifyLocations`), resets price trace (`resetPriceTrace`), verifies prices (`verifyPrices`) and draws on a canvas (units: MWh), using SHA-256. - What it achieves (comment): It verifies locations (`verifyLocations`), resets price trace (`resetPriceTrace`) and verifies prices (`verifyPrices`). Real integrated V9.31 browser acceptance against exact source-byte fixtures. - What it does: It draws DC locations, prices, DC global and snapshot provenance. Defines 21 functions or classes, including sha, priceBytes, urlFor, pass, download. Uses libraries node:assert/strict, node:http, node:crypto, node:child_process, node:fs. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: JSON file dc-locations.v930.json; JSON file prices.v931.json; JSON file index.json; JSON file 2026.json; JSON file 2025.json; CSV file v929-all.csv; CSV file v929-dc-global.csv; JSON file build_manifest.json. Out: JSON file browser.json; canvas drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V931 Preview Acceptance Workflow (globalgrid2050). - Signatures: `sha(b)`; `priceBytes(name,pin)`; `urlFor(dir)`; `pass(name,details={})`; `csv(text)`; `download(page,button,name)`; `open(browser,width,folder,{corrupt=false,reducedMotion=false,mobile=false,height=1000}={})`; `manifest(corrupt==='dc-manifest'&&pathname.endsWith('/contracts/dc-locations.v930.json'))`; `module(corrupt==='dc-module'&&pathname.endsWith('/automation/dc_location_ui/'+locationSpec.producer.commit+'/actions.mjs'))`; `fullWidth(page)`; `painted(page,selector)`; `x(left+right)`; `settleTouch(page)`; `touchTap(page,selector)`; `touchDrag(session,{x,y,dx=0,dy=0})`; `orientationScreenshot(session,name,size)`; `tab(page,id)`; `allRepd(page)`; `dcOriginalLinks(page)`; `dcGlobal(page)`; `verifyLocations(page,width)`; `resetPriceTrace(page)`; `priceRange(page,end,days='30')`; `assertPriceDrawing(page,rows)`; `verifyPrices(page,width,requests)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file dc-locations.v930.json; JSON file prices.v931.json; JSON file index.json; JSON file 2026.json; JSON file 2025.json; CSV file v929-all.csv; CSV file v929-dc-global.csv; JSON file build_manifest.json]; out [JSON file browser.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Contracts Test - File: globalgrid2050/automation/v931_preview/contracts.test.mjs (JavaScript, 103 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v931_preview/contracts.test.mjs#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/1748.html#f2 - Synopsis: A test in the automation folder of GlobalGrid2050 that checks Model, using SHA-256. It is built from the fixture step (`fixture`) and the actual step (`actual`). - What it achieves (name): Defines `sha`, `pin`, `row` and 2 more. It reads `index.json`. - What it does: It tests its inputs. Defines sha, pin, row, fixture, actual. Uses libraries node:test, node:assert/strict, node:crypto, node:fs, node:path. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file 2026.json; JSON file sources.json; Parquet file daily.parquet; JSON file index.json; JSON file 2017.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V931 Preview Acceptance Workflow (globalgrid2050). - Signatures: `sha(raw)`; `pin(path)`; `row(date,mean,priced=48,expected=48)`; `fixture()`; `actual(name)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 2026.json; JSON file sources.json; Parquet file daily.parquet; JSON file index.json; JSON file 2017.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Invariants - File: globalgrid2050/automation/v931_preview/invariants.mjs (JavaScript, 114 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v931_preview/invariants.mjs#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/1748.html#f3 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that fetches prices, DC locations and projects, using SHA-256. - What it achieves (comment): It is built from the bytes step (`bytes`), the git step (`git`) and the pass step (`pass`). Exact-source and historical-preservation acceptance for the formal V9.31 edition. - What it does: It fetches prices, DC locations and projects. Defines 6 functions or classes, including bytes, git, pass, treeBytes, population. Uses libraries node:assert/strict, node:crypto, node:child_process, node:fs, node:path. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file build_manifest.json; JSON file prices.v931.json; JSON file index.json; JSON file dc-locations.v930.json; JSON file projects.json; JSON file layers-v929.json; JSON file candidates.json; JSON file pipeline_headlines.snapshot.json. Out: JSON file invariants.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V931 Preview Acceptance Workflow (globalgrid2050). - Signatures: `bytes(p)`; `git(args)`; `pass(name,details={})`; `treeBytes(dir)`; `population(folder)`; `priceInput(name,pin)`; `annualRows(await Promise.all(priceIndex.parts.map(async part=>priceModel.validateYear(JSON.parse(await priceInput(part.path,part...)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json; JSON file prices.v931.json; JSON file index.json; JSON file dc-locations.v930.json; JSON file projects.json; JSON file layers-v929.json; JSON file candidates.json; JSON file pipeline_headlines.snapshot.json]; out [JSON file invariants.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Browser - File: globalgrid2050/automation/v932_preview/browser.mjs (JavaScript, 373 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v932_preview/browser.mjs#L1-L373 - Page: https://code.globalgrid2050.com/explore-code/s/1749.html#f1 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that verifies primary (`verifyPrimary`) and locations (`verifyLocations`), resets price trace (`resetPriceTrace`) and draws on a canvas (units: MWh, MW), using SHA-256. - What it achieves (comment): It verifies primary (`verifyPrimary`), verifies locations (`verifyLocations`) and resets price trace (`resetPriceTrace`). Real integrated V9.32 browser acceptance against exact source-byte fixtures. Its code works with 840 MW. - What it does: It draws DC locations, primary notes, prices and the REPD register. Defines 25 functions or classes, including sha, priceBytes, urlFor, pass, download. Uses libraries node:assert/strict, node:http, node:crypto, node:child_process, node:fs. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file dc-locations.v930.json; JSON file primary-notes.v932.json; JSON file notes.json; JSON file build_manifest.json; JSON file prices.v931.json; JSON file index.json; JSON file 2026.json; JSON file 2025.json. Out: JSON file browser.json; canvas drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V932 Preview Acceptance Workflow (globalgrid2050). - Signatures: `sha(b)`; `priceBytes(name,pin)`; `urlFor(dir)`; `pass(name,details={})`; `csv(text)`; `download(page,button,name)`; `open(browser,width,folder,{corrupt=false,reducedMotion=false,mobile=false,height=1000}={})`; `manifest(corrupt==='dc-manifest'&&pathname.endsWith('/contracts/dc-locations.v930.json'))`; `module(corrupt==='dc-module'&&pathname.endsWith('/automation/dc_location_ui/'+locationSpec.producer.commit+'/actions.mjs'))`; `fullWidth(page)`; `painted(page,selector)`; `x(left+right)`; `settleTouch(page)`; `touchTap(page,selector)`; `touchDrag(session,{x,y,dx=0,dy=0})`; `orientationScreenshot(session,name,size)`; `tab(page,id)`; `allRepd(page)`; `headlineHas(page)`; `noteButton(page,ref)`; `existingBriefLinks(page)`; `verifyPrimary(page,width,requests)`; `dcOriginalLinks(page)`; `dcGlobal(page)`; `verifyLocations(page,width)` (and 4 more) - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file dc-locations.v930.json; JSON file primary-notes.v932.json; JSON file notes.json; JSON file build_manifest.json; JSON file prices.v931.json; JSON file index.json; JSON file 2026.json; JSON file 2025.json]; out [JSON file browser.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Contracts Test - File: globalgrid2050/automation/v932_preview/contracts.test.mjs (JavaScript, 137 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v932_preview/contracts.test.mjs#L1-L137 - Page: https://code.globalgrid2050.com/explore-code/s/1749.html#f2 - Synopsis: A test in the automation folder of GlobalGrid2050 that checks Model and Catalogue, using SHA-256. - What it achieves (name): Defines `projects`. - What it does: It tests the REPD register and solar. Defines projects. Uses libraries node:test, node:assert/strict, node:fs, node:path, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V932 Preview Acceptance Workflow (globalgrid2050). - Signatures: `projects()`; `evaluate(rows=projects(),records=copy(CURATED_NOTES.notes),asOf=AS_OF)`; `actualProjects()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Invariants - File: globalgrid2050/automation/v932_preview/invariants.mjs (JavaScript, 135 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v932_preview/invariants.mjs#L1-L135 - Page: https://code.globalgrid2050.com/explore-code/s/1749.html#f3 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that fetches primary notes, prices, DC locations and projects, using SHA-256. - What it achieves (comment): It is built from the bytes step (`bytes`), the git step (`git`) and the pass step (`pass`). Exact-source and historical-preservation acceptance for the formal V9.32 edition. - What it does: It fetches primary notes, prices, DC locations and projects. Defines 6 functions or classes, including bytes, git, pass, treeBytes, population. Uses libraries node:assert/strict, node:crypto, node:child_process, node:fs, node:path. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file build_manifest.json; JSON file primary-notes.v932.json; JSON file notes.json; JSON file prices.v931.json; JSON file index.json; JSON file dc-locations.v930.json; JSON file projects.json; JSON file layers-v929.json. Out: JSON file invariants.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V932 Preview Acceptance Workflow (globalgrid2050). - Signatures: `bytes(p)`; `git(args)`; `pass(name,details={})`; `treeBytes(dir)`; `population(folder)`; `priceInput(name,pin)`; `annualRows(await Promise.all(priceIndex.parts.map(async part=>priceModel.validateYear(JSON.parse(await priceInput(part.path,part...)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json; JSON file primary-notes.v932.json; JSON file notes.json; JSON file prices.v931.json; JSON file index.json; JSON file dc-locations.v930.json; JSON file projects.json; JSON file layers-v929.json]; out [JSON file invariants.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Browser - File: globalgrid2050/automation/v933_preview/browser.mjs (JavaScript, 427 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v933_preview/browser.mjs#L1-L427 - Page: https://code.globalgrid2050.com/explore-code/s/1750.html#f1 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that verifies primary (`verifyPrimary`) and locations (`verifyLocations`), verifies added consents (`verifyAddedConsents`) and draws on a canvas (units: MW, MWh), using SHA-256. - What it achieves (comment): It verifies primary (`verifyPrimary`), verifies locations (`verifyLocations`) and verifies added consents (`verifyAddedConsents`). Real integrated V9.33 browser acceptance against exact source-byte fixtures. Its code works with 840 MW. - What it does: It draws DC locations, primary notes, prices and the REPD register. Defines 29 functions or classes, including sha, priceBytes, urlFor, pass, download. Uses libraries node:assert/strict, node:http, node:crypto, node:child_process, node:fs. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file dc-locations.v930.json; JSON file primary-notes.v932.json; JSON file notes.json; JSON file build_manifest.json; JSON file prices.v931.json; JSON file index.json; JSON file 2026.json; JSON file 2025.json. Out: JSON file browser.json; canvas drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V933 Preview Acceptance Workflow (globalgrid2050). - Signatures: `sha(b)`; `priceBytes(name,pin)`; `urlFor(dir)`; `pass(name,details={})`; `csv(text)`; `download(page,button,name)`; `open(browser,width,folder,{corrupt=false,reducedMotion=false,mobile=false,height=1000}={})`; `manifest(corrupt==='dc-manifest'&&pathname.endsWith('/contracts/dc-locations.v930.json'))`; `module(corrupt==='dc-module'&&pathname.endsWith('/automation/dc_location_ui/'+locationSpec.producer.commit+'/actions.mjs'))`; `fullWidth(page)`; `painted(page,selector)`; `x(left+right)`; `settleTouch(page)`; `touchTap(page,selector)`; `touchDrag(session,{x,y,dx=0,dy=0})`; `nativeLandscapeNotePan(browser)`; `visible()`; `orientationScreenshot(session,name,size)`; `tab(page,id)`; `allRepd(page)`; `headlineHas(page)`; `noteButton(page,ref)`; `existingBriefLinks(page)`; `verifyPrimary(page,width,requests)`; `dcOriginalLinks(page)` (and 8 more) - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file dc-locations.v930.json; JSON file primary-notes.v932.json; JSON file notes.json; JSON file build_manifest.json; JSON file prices.v931.json; JSON file index.json; JSON file 2026.json; JSON file 2025.json]; out [JSON file browser.json; canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Contracts Test - File: globalgrid2050/automation/v933_preview/contracts.test.mjs (JavaScript, 48 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v933_preview/contracts.test.mjs#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/1750.html#f2 - Synopsis: A test in the automation folder of GlobalGrid2050 that checks Model, using SHA-256. It is built from the copy step (`copy`) and the as of helper (`asOf`). - What it achieves (comment): Exact producer tests plus independent V9.33 actual-population contracts. - What it does: It tests solar. Defines copy, asOf. Uses libraries node:test, node:assert/strict, node:fs, node:path, node:crypto. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar. - Inputs & outputs: In: JSON file build_manifest.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V933 Preview Acceptance Workflow (globalgrid2050). - Signatures: `copy(value)`; `asOf()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Invariants - File: globalgrid2050/automation/v933_preview/invariants.mjs (JavaScript, 157 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v933_preview/invariants.mjs#L1-L157 - Page: https://code.globalgrid2050.com/explore-code/s/1750.html#f3 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that fetches primary notes, prices and DC locations, using SHA-256. - What it achieves (comment): It is built from the bytes step (`bytes`), the git step (`git`) and the pass step (`pass`). Exact-source and historical-preservation acceptance for the formal V9.33 edition. - What it does: It fetches primary notes, prices and DC locations. Defines 6 functions or classes, including bytes, git, pass, treeBytes, population. Uses libraries node:assert/strict, node:crypto, node:child_process, node:fs, node:path. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file build_manifest.json; JSON file primary-notes.v932.json; JSON file notes.json; JSON file release.v9.1.json; JSON file prices.v931.json; JSON file index.json; JSON file dc-locations.v930.json; JSON file projects.json. Out: JSON file invariants.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V933 Preview Acceptance Workflow (globalgrid2050). - Signatures: `bytes(p)`; `git(args)`; `pass(name,details={})`; `treeBytes(dir)`; `population(folder)`; `priceInput(name,pin)`; `annualRows(await Promise.all(priceIndex.parts.map(async part=>priceModel.validateYear(JSON.parse(await priceInput(part.path,part...)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json; JSON file primary-notes.v932.json; JSON file notes.json; JSON file release.v9.1.json; JSON file prices.v931.json; JSON file index.json; JSON file dc-locations.v930.json; JSON file projects.json]; out [JSON file invariants.json]; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 1; mentioned by 0 ### Browser - File: globalgrid2050/automation/v934_preview/browser.mjs (JavaScript, 71 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v934_preview/browser.mjs#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/1751.html#f1 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register. - What it achieves (name): Defines `display`. - What it does: It draws the REPD register. Defines display. Uses libraries node:assert/strict, node:http, node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file build_manifest.json; JSON file project_identity_2026q3.json. Out: JSON file receipt.json. - Signatures: `display(v)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json; JSON file project_identity_2026q3.json]; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Browser - File: globalgrid2050/automation/v935_preview/browser.mjs (JavaScript, 85 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v935_preview/browser.mjs#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/1751.html#f2 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register. - What it achieves (name): Defines `display`. - What it does: It draws the REPD register. Defines display. Uses libraries node:assert/strict, node:http, node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file build_manifest.json; JSON file project_identity_2026q3.json. Out: JSON file receipt.json. - Signatures: `display(v)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file build_manifest.json; JSON file project_identity_2026q3.json]; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Browser - File: globalgrid2050/automation/v936_preview/browser.mjs (JavaScript, 76 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v936_preview/browser.mjs#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1751.html#f3 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that draws pipeline headlines snapshot, using SHA-256. It is built from the touch drag helper (`touchDrag`). - What it achieves (name): Defines `touchDrag`. - What it does: It draws pipeline headlines snapshot. Defines touchDrag. Uses libraries node:assert/strict, node:http, node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: JSON file pipeline_headlines.snapshot.json. Out: JSON file receipt.json. - Signatures: `fixture(count)`; `touchDrag(session,{x,y,dx})` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file pipeline_headlines.snapshot.json]; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Contracts Test - File: globalgrid2050/automation/v936_preview/contracts.test.mjs (JavaScript, 35 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v936_preview/contracts.test.mjs#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/1751.html#f4 - Synopsis: A test in the automation folder of GlobalGrid2050 that checks Model, using SHA-256. - What it achieves (name): Defines `fixture`. - What it does: It tests its inputs. Defines fixture. Uses libraries node:test, node:assert/strict, node:crypto, node:fs. Side effects: reads or writes files. - Inputs & outputs: In: JSON file pipeline_headlines.snapshot.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `fixture(count)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pipeline_headlines.snapshot.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Browser - File: globalgrid2050/automation/v937_preview/browser.mjs (JavaScript, 46 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v937_preview/browser.mjs#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/1751.html#f5 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that draws pipeline headlines snapshot and solar, using SHA-256. - What it does: It draws pipeline headlines snapshot and solar. Uses libraries node:assert/strict, node:http, node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: solar. - Inputs & outputs: In: JSON file pipeline_headlines.snapshot.json; JSON file registry.json. Out: JSON file receipt.json. - Signatures: `fixture()` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file pipeline_headlines.snapshot.json; JSON file registry.json]; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Contracts Test - File: globalgrid2050/automation/v937_preview/contracts.test.mjs (JavaScript, 19 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v937_preview/contracts.test.mjs#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/1751.html#f6 - Synopsis: A test in the automation folder of GlobalGrid2050 that checks Model, using SHA-256. - What it achieves (name): It reads `../../uk_renewables_pipeline/202611171526/news/pipeline_headlines.snapshot.json`. - What it does: It tests solar. Uses libraries node:test, node:assert/strict, node:fs, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: solar. - Inputs & outputs: In: JSON file pipeline_headlines.snapshot.json; JSON file news-quality.v937.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pipeline_headlines.snapshot.json; JSON file news-quality.v937.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Browser - File: globalgrid2050/automation/v938_preview/browser.mjs (JavaScript, 30 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v938_preview/browser.mjs#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/1751.html#f7 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that draws notice and the Renewable Energy Planning Database (REPD) register. - What it achieves (name): Its code works with 2 GW. - What it does: It draws notice and the REPD register. Uses libraries node:assert/strict, node:http, node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file notice.json. Out: JSON file receipt.json. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file notice.json]; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Contracts Test - File: globalgrid2050/automation/v938_preview/contracts.test.mjs (JavaScript, 10 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v938_preview/contracts.test.mjs#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/1751.html#f8 - Synopsis: A test in the automation folder of GlobalGrid2050 that checks Model, using SHA-256. - What it achieves (name): It reads `../grid_notice_ui/20261117-v938/notice.json`. - What it does: It tests its inputs. Uses libraries node:test, node:assert/strict, node:fs, node:crypto. Side effects: reads or writes files. - Inputs & outputs: In: JSON file notice.json; JSON file grid-notice.v938.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `export approvedFixture()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file notice.json; JSON file grid-notice.v938.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Browser - File: globalgrid2050/automation/v939_preview/browser.mjs (JavaScript, 27 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v939_preview/browser.mjs#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1751.html#f9 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that reads notice and facts. - What it achieves (name): Its code works with 2 GW. - What it does: It loads notice and facts. Uses libraries node:assert/strict, node:http, node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: JSON file notice.json; JSON file facts.json. Out: JSON file receipt.json. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file notice.json; JSON file facts.json]; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Contracts Test - File: globalgrid2050/automation/v939_preview/contracts.test.mjs (JavaScript, 10 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v939_preview/contracts.test.mjs#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/1751.html#f10 - Synopsis: A test in the automation folder of GlobalGrid2050 that checks Model. - What it achieves (name): It reads `../document_facts_ui/20261117-v939/facts.json`. - What it does: It tests its inputs. Uses libraries node:test, node:assert/strict, node:fs. Side effects: reads or writes files. - Inputs & outputs: In: JSON file facts.json; JSON file notice.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `approved()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file facts.json; JSON file notice.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Android - File: globalgrid2050/automation/v940_preview/android.mjs (JavaScript, 211 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v940_preview/android.mjs#L1-L211 - Page: https://code.globalgrid2050.com/explore-code/s/1751.html#f11 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that draws pipeline headlines snapshot, using SHA-256. - What it achieves (comment): It is built from the sha step (`sha`), the git step (`git`) and the save step (`save`). Named Android emulation proof. Local saved-data acceptance and live observations are separate. - What it does: It draws pipeline headlines snapshot. Defines 9 functions or classes, including sha, git, save, rotate, tap. Uses libraries node:assert/strict, node:fs, node:path, node:http, node:child_process. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: In: JSON file pipeline_headlines.snapshot.json. Out: JSON file receipt.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `sha(bytes)`; `git(...args)`; `selected(process.env.ANDROID_DEVICE || 'Pixel 7,Galaxy S9+')`; `save()`; `rotate(page, session, name, landscape)`; `tap(session, x, y)`; `swipe(session, x, y, dx)`; `originals(ticker)`; `fallback(context, blocked)`; `x()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pipeline_headlines.snapshot.json]; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 1; mentioned by 0 ### Browser - File: globalgrid2050/automation/v940_preview/browser.mjs (JavaScript, 41 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v940_preview/browser.mjs#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1751.html#f12 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that draws pipeline headlines snapshot. - What it achieves (name): Defines `fixture`. - What it does: It draws pipeline headlines snapshot. Defines fixture. Uses libraries node:assert/strict, node:http, node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: JSON file pipeline_headlines.snapshot.json. Out: JSON file receipt.json. - Signatures: `fixture(n)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file pipeline_headlines.snapshot.json]; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Contracts Test - File: globalgrid2050/automation/v940_preview/contracts.test.mjs (JavaScript, 11 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v940_preview/contracts.test.mjs#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/1751.html#f13 - Synopsis: A test in the automation folder of GlobalGrid2050 that checks Model and Edition History, using SHA-256. - What it does: It tests its inputs. Uses libraries node:test, node:assert/strict, node:fs, node:path, node:crypto. Side effects: reads or writes files. - Inputs & outputs: In: JSON file ticker.v940.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file ticker.v940.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 1; mentioned by 0 ### Test Migration - File: globalgrid2050/automation/v940_preview/test_migration.py (Python, 65 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v940_preview/test_migration.py#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/1752.html#f1 - Synopsis: A test in the automation folder of GlobalGrid2050 that checks Feature Contracts. - What it achieves (comment): It sets up (`setUp`) and is built from the neon migration tests class (`NeonMigrationTests`) and the tear down helper (`tearDown`). Adversarial checks for the explicit source-preserving presentation migration. - What it does: It tests its inputs. Defines 8 functions or classes, including NeonMigrationTests, setUp, tearDown, save, test_pinned_successor_admits_one_scoped_probe. Uses libraries json, pathlib, shutil, sys, tempfile. Side effects: reads or writes files. - Inputs & outputs: In: JSON file ticker.v940.json; JSON file test.json. Out: JSON file test.json; JSON file ticker.v940.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `class NeonMigrationTests`; `setUp(self)`; `tearDown(self)`; `save(self)`; `test_pinned_successor_admits_one_scoped_probe(self)`; `test_changed_shared_bytes_are_rejected(self)`; `test_changed_policy_or_data_is_rejected(self)`; `test_missing_pin_and_wrong_contract_cap_are_rejected(self)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file ticker.v940.json; JSON file test.json]; out [JSON file test.json; JSON file ticker.v940.json]; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 2; mentioned by 0 ### Test Migration Origins - File: globalgrid2050/automation/v940_preview/test_migration_origins.py (Python, 53 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v940_preview/test_migration_origins.py#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1752.html#f2 - Synopsis: A test in the automation folder of GlobalGrid2050 that checks Feature Contracts. - What it achieves (comment): It is built from the neon origin tests class (`NeonOriginTests`), the registry step (`registry`) and the verdict step (`verdict`). Real ancestry restates V9.36 identities; changed declarations remain invalid. - What it does: It tests its inputs. Defines 8 functions or classes, including NeonOriginTests, registry, verdict, test_identical_descendant_restatements_keep_exact_original_identity, test_changed_descendant_marker_is_rejected. Uses libraries copy, pathlib, sys, unittest, unittest.mock. Side effects: reads or writes files. - Inputs & outputs: In: JSON file original.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `class NeonOriginTests`; `registry(self, migration=NEON_MIGRATIONS[0])`; `verdict(self, current, registry)`; `test_identical_descendant_restatements_keep_exact_original_identity(self)`; `test_changed_descendant_marker_is_rejected(self)`; `test_identity_introduced_before_original_source_is_rejected(self)`; `test_duplicate_identity_inside_one_edition_is_rejected(self)`; `test_old_migration_still_requires_single_exact_source(self)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file original.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 2; mentioned by 0 ### Browser - File: globalgrid2050/automation/v941_preview/browser.mjs (JavaScript, 46 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v941_preview/browser.mjs#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/1752.html#f3 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that draws ticker and pipeline headlines snapshot, using SHA-256. It is built from the tap step (`tap`). - What it achieves (name): Defines `sha`, `save`, `move` and 1 more. - What it does: It draws ticker and pipeline headlines snapshot. Defines sha, save, move, tap. Uses libraries node:assert/strict, node:fs, node:path, node:http, node:url. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: JSON file ticker.v941.json; JSON file pipeline_headlines.snapshot.json. Out: JSON file receipt.json. - Signatures: `sha(b)`; `save()`; `load(context,ed=edition)`; `look(page)`; `move(page)`; `tap(session,x,y)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file ticker.v941.json; JSON file pipeline_headlines.snapshot.json]; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Contracts Test - File: globalgrid2050/automation/v941_preview/contracts.test.mjs (JavaScript, 10 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v941_preview/contracts.test.mjs#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/1752.html#f4 - Synopsis: A test in the automation folder of GlobalGrid2050 that checks Edition History, using SHA-256. - What it does: It tests its inputs. Uses libraries node:test, node:assert/strict, node:fs, node:path, node:crypto. Side effects: reads or writes files. - Inputs & outputs: In: JSON file ticker.v941.json; JSON file ticker.v940.json; JSON file ticker.v936.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file ticker.v941.json; JSON file ticker.v940.json; JSON file ticker.v936.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Minimum Test - File: globalgrid2050/automation/v941_preview/minimum.test.mjs (JavaScript, 9 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v941_preview/minimum.test.mjs#L1-L9 - Page: https://code.globalgrid2050.com/explore-code/s/1752.html#f5 - Synopsis: A test in the automation folder of GlobalGrid2050. - What it does: It tests its inputs. Uses libraries node:test, node:assert/strict, node:fs, node:path, node:url. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Browser - File: globalgrid2050/automation/v942_preview/browser.mjs (JavaScript, 42 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v942_preview/browser.mjs#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1752.html#f6 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 using data from the GridAtlas repository. - What it achieves (comment): Real source tap -> public receiver. - What it does: It draws its content. Uses libraries node:assert/strict, node:http, node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: data source: gridatlas data. Out: JSON file receipt.json. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data]; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Contracts Test - File: globalgrid2050/automation/v942_preview/contracts.test.mjs (JavaScript, 25 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v942_preview/contracts.test.mjs#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1752.html#f7 - Synopsis: A test in the automation folder of GlobalGrid2050 that uses SHA-256. - What it achieves (name): Defines `read`, `hash` and `walk`. - What it does: It tests its inputs. Defines read, hash, walk. Uses libraries node:test, node:assert/strict, node:fs, node:crypto, node:path. Side effects: reads or writes files. - Inputs & outputs: In: JSON file mobile-map.v942.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V934 Preview Acceptance Workflow (globalgrid2050). - Signatures: `read(base,p)`; `hash(b)`; `walk(p,prefix='')` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file mobile-map.v942.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Public - File: globalgrid2050/automation/v942_preview/public.mjs (JavaScript, 53 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v942_preview/public.mjs#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1752.html#f8 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050 that uses SHA-256 using data from the GridAtlas repository. - What it achieves (comment): It is built from the digest step (`digest`) and the within step (`within`). Actual public mobile tap, visible result, rotation and Back. - What it does: It draws its content. Defines digest, within. Uses libraries node:assert/strict, node:fs, node:crypto, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: data source: gridatlas data. Out: JSON file receipt.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Deploy Pages Workflow (globalgrid2050). - Signatures: `digest(b)`; `within(locator)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data]; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Browser - File: globalgrid2050/automation/v943_preview/browser.mjs (JavaScript, 2 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/automation/v943_preview/browser.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/1752.html#f9 - Synopsis: A JavaScript module in the automation folder of GlobalGrid2050. - What it achieves (comment): Actual candidate host and pinned source inputs, no composition or interception. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Model Test - File: globalgrid2050/cartridges/202609052150-nasa-ice/model.test.mjs (JavaScript, 4 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052150-nasa-ice/model.test.mjs#L1-L4 - Page: https://code.globalgrid2050.com/explore-code/s/1752.html#f10 - Synopsis: A test in the cartridges folder of GlobalGrid2050. - What it achieves (name): It reads `./source.json`. - What it does: It tests its inputs. Uses libraries node:test. Side effects: reads or writes files. - Inputs & outputs: In: JSON file source.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Open Energy Cartridge Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file source.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Model Test - File: globalgrid2050/cartridges/202609052156-rc-rl/model.test.mjs (JavaScript, 2 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052156-rc-rl/model.test.mjs#L1-L2 - Page: https://code.globalgrid2050.com/explore-code/s/1752.html#f11 - Synopsis: A test in the cartridges folder of GlobalGrid2050. - What it does: It tests its inputs. Uses libraries node:test. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Open Energy Cartridge Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/test_simple_manifest/manifest.yml (YAML, 3 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/test_simple_manifest/manifest.yml#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/1752.html#f12 - Synopsis: A configuration file in the test simple manifest folder of GlobalGrid2050. - What it does: It tests its inputs. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/test_simple_path/manifest.yml (YAML, 6 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/test_simple_path/manifest.yml#L1-L6 - Page: https://code.globalgrid2050.com/explore-code/s/1752.html#f13 - Synopsis: A configuration file in the test simple path folder of GlobalGrid2050. - What it does: It tests its inputs. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build - File: globalgrid2050/grid_engine/build.mjs (JavaScript, 287 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/build.mjs#L1-L287 - Page: https://code.globalgrid2050.com/explore-code/s/1752.html#f14 - Published at: https://globalgrid2050.com/grid_engine/ - Synopsis: A JavaScript module in the grid engine folder of GlobalGrid2050 that draws iterations and uses data from the ventus-grid-engine repository. Served with the page at https://globalgrid2050.com/grid_engine/. - What it achieves (comment): It is built from the modules step (`modules`), the esc step (`esc`) and the shell step (`shell`). Emits a Grid Engine workbench as a self-contained immutable page. - What it does: It draws iterations. Defines 9 functions or classes, including modules, esc, shell, el, num. Uses libraries node:fs, node:url, node:path. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: data source: ventus-grid-engine data; JSON file iterations.json; form fields (user input); command-line arguments. - Signatures: `modules(spec)`; `esc(s)`; `shell({ spec, body, script })`; `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `panelHtml(p)`; `emit(spec)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; JSON file iterations.json; form fields (user input); command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### GlobalGrid2050 Historical Builds - File: globalgrid2050/historical_builds.html (HTML, 358 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/historical_builds.html#L1-L358 - Page: https://code.globalgrid2050.com/explore-code/s/1753.html#f1 - Published at: https://globalgrid2050.com/historical_builds.html - Synopsis: A map page that maps composition and solar, using SHA-256 and haversine, and uses data from the GlobalGrid2050-homepage, data-federation-map-for-GlobalGrid2050-all-repos and data-centres-GB repositories. Published at https://globalgrid2050.com/historical_builds.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It maps composition, solar, the REPD register and battery storage (BESS). Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, battery storage (BESS), 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file 202608301624-composition.json; JSON file 202608301825-composition.json; JSON file 202608311910-composition.json; JSON file 202608311940-composition.json; JSON file 202608311949-composition.json; JSON file 202608311952-composition.json; JSON file 202608312003-composition.json; JSON file 202608312008-composition.json. Out: web page; interactive map. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: Used directly by 87 files: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — Before Refresh Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/20260922-before-refresh/); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html); and 83 more. It is itself an entry point, published at https://globalgrid2050.com/historical_builds.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608301624-composition.json; JSON file 202608301825-composition.json; JSON file 202608311910-composition.json; JSON file 202608311940-composition.json; JSON file 202608311949-composition.json; JSON file 202608311952-composition.json; JSON file 202608312003-composition.json; JSON file 202608312008-composition.json]; out [web page; interactive map]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 21 estate files (estate-url 14, link 7); used by 87; mentioned by 0 ### GlobalGrid2050 Add V3 Homepage Link - File: globalgrid2050/scripts/add_v3_homepage_link.py (Python, 42 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/add_v3_homepage_link.py#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1753.html#f2 - Synopsis: A Python module in the scripts folder. - What it does: It loads data. Uses libraries pathlib, datetime. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Add V3 Homepage Link Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Add V4 Detailed Disclaimer - File: globalgrid2050/scripts/add_v4_detailed_disclaimer.py (Python, 72 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/add_v4_detailed_disclaimer.py#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/1753.html#f3 - Synopsis: A Python command-line tool in the scripts folder that reads cables, battery storage (BESS), solar and substations. - What it does: It loads cables, battery storage (BESS), solar and substations. Defines main. Uses libraries pathlib, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: cables, battery storage (BESS), solar, substations. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Add V4 Detailed Disclaimer Workflow (globalgrid2050). - Signatures: `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Add V6 V7 All Apps A4 Print Formatting - File: globalgrid2050/scripts/add_v6_v7_all_apps_a4_print_formatting.py (Python, 382 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/add_v6_v7_all_apps_a4_print_formatting.py#L1-L382 - Page: https://code.globalgrid2050.com/explore-code/s/1754.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads cables and solar. It updates app (`update_app`) and is built from the read step (`read`) and the write step (`write`). - What it achieves (comment): Add A4 portrait print buttons and print CSS to all V6 and V7 application pages. - What it does: It loads cables and solar. Defines read, write, app_folder, update_app, main. Uses libraries __future__, datetime, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: cables, solar. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Add V6 V7 All Apps A4 Print Formatting Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `app_folder(version: str, name: str)`; `update_app(version: str, config: dict[str, str])`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Add V6 V7 Print V2 Compact Report Mode - File: globalgrid2050/scripts/add_v6_v7_print_v2_compact_report_mode.py (Python, 383 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/add_v6_v7_print_v2_compact_report_mode.py#L1-L383 - Page: https://code.globalgrid2050.com/explore-code/s/1755.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads solar, battery storage (BESS) and cables. It is built from the read step (`read`) and the write step (`write`). - What it achieves (comment): Add V6 and V7 compact A4 portrait print report mode. - What it does: It loads solar, battery storage (BESS) and cables. Defines read, write, main. Uses libraries __future__, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), cables. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Add V6 V7 Print V2 Compact Report Mode Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Add V6 V7 Print V3 Financials Patch - File: globalgrid2050/scripts/add_v6_v7_print_v3_financials_patch.py (Python, 314 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/add_v6_v7_print_v3_financials_patch.py#L1-L314 - Page: https://code.globalgrid2050.com/explore-code/s/1755.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads solar and battery storage (BESS). It is built from the read step (`read`) and the write step (`write`). - What it achieves (comment): Add V6 and V7 print V3 financial formatting patch. - What it does: It loads solar and battery storage (BESS). Defines read, write, main. Uses libraries __future__, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Add V6 V7 Print V3 Financials Patch Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Backfill UK Frequency Weekly V5 - File: globalgrid2050/scripts/backfill_uk_frequency_weekly_v5.py (Python, 72 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/backfill_uk_frequency_weekly_v5.py#L1-L72 - Page: https://code.globalgrid2050.com/explore-code/s/1756.html#f1 - Synopsis: A Python command-line tool in the scripts folder. - What it achieves (comment): Attempts to fetch compact weekly windows from Elexon and writes a 52 week frequency health file. - What it does: Defines main. Uses libraries __future__, json, os, time, datetime. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Backfill UK Frequency Weekly V5 Workflow (globalgrid2050). - Signatures: `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GlobalGrid2050 Build Homepage Catalogue - File: globalgrid2050/scripts/build_homepage_catalogue.py (Python, 367 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/build_homepage_catalogue.py#L1-L367 - Page: https://code.globalgrid2050.com/explore-code/s/1756.html#f2 - Synopsis: A Python module in the scripts folder that fetches cables, solar and 33kV from the GridAtlas repository. - What it achieves (comment): It is built from the first commit utc helper (`first_commit_utc`), the provenance step (`provenance`) and the GridAtlas provenance helper (`gridatlas_provenance`). Build the homepage catalogue: every published version, with a real stamp. Its code works with 33 kV. - What it does: It fetches cables, solar and 33kV. Defines 10 functions or classes, including sh, first_commit_utc, provenance, gridatlas_provenance, g. Uses libraries __future__, json, re, subprocess, sys. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, solar, 33kV. - Inputs & outputs: In: data source: gridatlas data; JSON file homepage-catalogue.json; JSON file current.json. Voltage levels named: 33kV. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - Signatures: `sh(*args: str)`; `first_commit_utc(path: str)`; `provenance(path: str)`; `gridatlas_provenance(stamp: str)`; `g(*a)`; `slug(text: str)`; `entry(family: str, stamp: str, project: str, url: str, *, stamp_source: str, title: str | None = None, parent: str | None =...)`; `has_page(rel: str)`; `add(e: dict)`; `_servable(index: Path)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file homepage-catalogue.json; JSON file current.json]; out []; crs []; voltages [33kV] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### GlobalGrid2050 Build Project Identity V6 - File: globalgrid2050/scripts/build_project_identity_v6.py (Python, 593 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/build_project_identity_v6.py#L1-L593 - Page: https://code.globalgrid2050.com/explore-code/s/1757.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS), using SHA-256. - What it achieves (name): It splits refs (`split_refs`), loads manifest (`load_manifest`) and reads official rows (`read_official_rows`). Defines `clean`, `norm`, `numeric_sort` and 16 more. - What it does: It loads the REPD register, solar and battery storage (BESS). Defines 21 functions or classes, including clean, norm, numeric_sort, technology_category, lifecycle. Uses libraries __future__, csv, hashlib, io, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Major Project News V6 Workflow (globalgrid2050). - Signatures: `clean(v)`; `norm(v)`; `numeric_sort(value)`; `technology_category(value)`; `lifecycle(status)`; `valid_planning_ref(value)`; `canon_header(v)`; `split_refs(v)`; `short_hash(value, n=16)`; `gg_project_id(repd_ref, row)`; `class UnionFind`; `__init__(self, values)`; `find(self, x)`; `union(self, a, b)`; `resolve(headers, *aliases)`; `load_manifest()`; `ensure_official_csv(manifest)`; `read_official_rows(path)`; `build_registry(rows, manifest, source_url)`; `build_public_snapshot(registry, manifest)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GlobalGrid2050 Build Status - File: globalgrid2050/scripts/build_status.py (Python, 134 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/build_status.py#L1-L134 - Page: https://code.globalgrid2050.com/explore-code/s/1758.html#f1 - Synopsis: A Python command-line tool in the scripts folder that works with both clocks (`both_clocks`). - What it achieves (comment): It reads status (`read_status`) and is built from the row step (`row`) and the build step (`build`). Publish `status.json` as `status.html`. - What it does: It loads data. Defines read_status, both_clocks, row, build. Uses libraries html, io, json, os, datetime. Side effects: reads or writes files. - Inputs & outputs: In: JSON file status.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `read_status()`; `both_clocks(stamp)`; `row(entry)`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file status.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Check Homepage Catalogue - File: globalgrid2050/scripts/check_homepage_catalogue.py (Python, 129 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/check_homepage_catalogue.py#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/1758.html#f2 - Synopsis: A Python module in the scripts folder that works with rev parse (`rev_parse`) and servable row (`servable_row`). It is built from the has page helper (`has_page`). - What it achieves (comment): Reconcile the committed homepage catalogue against git, on whatever platform this runs - and it is meant to run on Linux. - What it does: It loads data. Defines rev_parse, has_page, servable_row. Uses libraries __future__, json, re, subprocess, sys. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file homepage-catalogue.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Homepage Catalogue Workflow (globalgrid2050). - Signatures: `rev_parse(path: str)`; `has_page(rel: str)`; `servable_row(entry)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage-catalogue.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Check Public Language - File: globalgrid2050/scripts/check_public_language.py (Python, 165 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/check_public_language.py#L1-L165 - Page: https://code.globalgrid2050.com/explore-code/s/1758.html#f3 - Synopsis: A Python command-line tool in the scripts folder that reads solar. It is built from the visible step (`visible`), the surface step (`surface`) and the approved spans helper (`approved_spans`). - What it achieves (comment): Register entry 24: "the rule that certain words must not appear in public text is currently checked by reading. It accepts `--list`. - What it does: It loads solar. Defines visible, surface, approved_spans, main. Uses libraries argparse, glob, html, os, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Public Language Gate Workflow (globalgrid2050). - Signatures: `visible(path)`; `surface()`; `approved_spans(text)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Clone V3 to V4 - File: globalgrid2050/scripts/clone_v3_to_v4.py (Python, 150 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/clone_v3_to_v4.py#L1-L150 - Page: https://code.globalgrid2050.com/explore-code/s/1758.html#f4 - Synopsis: A Python command-line tool in the scripts folder that reads solar, battery storage (BESS) and substations. - What it does: It loads solar, battery storage (BESS) and substations. Defines main. Uses libraries pathlib, shutil, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), substations. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Clone V3 to V4 Once Workflow (globalgrid2050). - Signatures: `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (estate-url 3); used by 1; mentioned by 0 ### GlobalGrid2050 Clone V3 Tracker to V4 - File: globalgrid2050/scripts/clone_v3_tracker_to_v4.py (Python, 119 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/clone_v3_tracker_to_v4.py#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/1758.html#f5 - Synopsis: A Python command-line tool in the scripts folder that appends v4 diary (`append_v4_diary`) and writes report (`write_report`). It copies scripts (`copy_scripts`). - What it achieves (name): Defines `v4_text`, `rewrite_file`, `copy_folder` and 3 more. - What it does: It loads data. Defines 7 functions or classes, including v4_text, rewrite_file, copy_folder, copy_scripts, append_v4_diary. Uses libraries pathlib, shutil. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Create UK Energy Tracking V4 Workflow (globalgrid2050). - Signatures: `v4_text(text)`; `rewrite_file(path)`; `copy_folder()`; `copy_scripts()`; `append_v4_diary()`; `write_report(scripts)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Clone V4 to V5 - File: globalgrid2050/scripts/clone_v4_to_v5.py (Python, 131 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/clone_v4_to_v5.py#L1-L131 - Page: https://code.globalgrid2050.com/explore-code/s/1759.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads battery storage (BESS), solar, cables and substations. - What it does: It loads battery storage (BESS), solar, cables and substations. Defines main. Uses libraries pathlib, shutil, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: battery storage (BESS), solar, cables, substations. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Clone V4 to V5 Workflow (globalgrid2050). - Signatures: `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (estate-url 3); used by 1; mentioned by 0 ### GlobalGrid2050 Dependencies V4 - File: globalgrid2050/scripts/dependencies_v4.py (Python, 281 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/dependencies_v4.py#L1-L281 - Page: https://code.globalgrid2050.com/explore-code/s/1759.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads live grid energy, live grid price, electricity price history and live oil prices. - What it achieves (name): It extracts script refs (`extract_script_refs`) and is built from the CSV years helper (`csv_years`) and the JSON row count helper (`json_row_count`). Defines `read_text`, `exists`, `count_csv_rows` and 9 more. - What it does: It loads live grid energy, live grid price, electricity price history and live oil prices. Defines 13 functions or classes, including read_text, exists, count_csv_rows, csv_years, json_row_count. Uses libraries __future__, csv, json, re, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: JSON file dependencies_v4.json; JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file electricity_price_history.json; CSV file electricity_price_history.csv; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Dependencies V4 Workflow (globalgrid2050). - Signatures: `read_text(path: Path)`; `exists(path: Path)`; `count_csv_rows(path: Path)`; `csv_years(path: Path)`; `json_row_count(path: Path)`; `annual_files()`; `extract_script_refs(page_text: str)`; `extract_css_refs(page_text: str)`; `has_id(page_text: str, dom_id: str)`; `status(ok: bool)`; `warn(ok: bool)`; `line(items: Iterable[str])`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file dependencies_v4.json; JSON file live_grid_energy.json; JSON file live_grid_price.json; JSON file electricity_price_history.json; CSV file electricity_price_history.csv; JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; JSON file live_uk_fuel_prices.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Enrich Renewables V6 Identity - File: globalgrid2050/scripts/enrich_renewables_v6_identity.py (Python, 146 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/enrich_renewables_v6_identity.py#L1-L146 - Page: https://code.globalgrid2050.com/explore-code/s/1759.html#f3 - Synopsis: A Python command-line tool in the scripts folder that reads project identity, major projects, major project news and project news links, using SHA-256. - What it achieves (name): It is built from the load step (`load`). Defines `clean`, `norm`, `article_id` and 1 more. - What it does: It loads project identity, major projects, major project news and project news links. Defines clean, norm, article_id, load, main. Uses libraries __future__, hashlib, json, re, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file project_identity_v6.json; JSON file major_projects_v6.json; JSON file major_project_news_v6.json; JSON file project_news_links_v6.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Major Project News V6 Workflow (globalgrid2050). - Signatures: `clean(v)`; `norm(v)`; `article_id(item)`; `load(path)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file project_identity_v6.json; JSON file major_projects_v6.json; JSON file major_project_news_v6.json; JSON file project_news_links_v6.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Fix V5 JS Filenames - File: globalgrid2050/scripts/fix_v5_js_filenames.py (Python, 54 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/fix_v5_js_filenames.py#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1759.html#f4 - Synopsis: A Python command-line tool in the scripts folder. - What it does: Defines main. Uses libraries pathlib, datetime, shutil. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Fix V5 JS Filenames Workflow (globalgrid2050). - Signatures: `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Generate V6 Architectural Integrity Protocol - File: globalgrid2050/scripts/generate_v6_architectural_integrity_protocol.py (Python, 200 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/generate_v6_architectural_integrity_protocol.py#L1-L200 - Page: https://code.globalgrid2050.com/explore-code/s/1760.html#f1 - Synopsis: A Python command-line tool in the scripts folder that extracts compare summary (`extract_compare_summary`). It is built from the exists step (`exists`). - What it achieves (comment): This is a non destructive guardrail generator. - What it does: It loads data. Defines exists, extract_compare_summary, main. Uses libraries __future__, datetime, pathlib. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Generate V6 Architectural Integrity Protocol Workflow (globalgrid2050). - Signatures: `exists(path: str)`; `extract_compare_summary()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Generate V8 Codebase Blueprint - File: globalgrid2050/scripts/generate_v8_codebase_blueprint.py (Python, 259 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/generate_v8_codebase_blueprint.py#L1-L259 - Page: https://code.globalgrid2050.com/explore-code/s/1760.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads solar and battery storage (BESS). It reads text (`read_text`) and extracts file summary (`extract_file_summary`). - What it achieves (comment): Generate a compact V8 codebase blueprint for AI review. - What it does: It loads solar and battery storage (BESS). Defines 7 functions or classes, including iter_files, rel, read_text, directory_tree, unique_sorted. Uses libraries __future__, datetime, os, re, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Generate V8 Codebase Blueprint Workflow (globalgrid2050). - Signatures: `iter_files()`; `rel(path: Path)`; `read_text(path: Path)`; `directory_tree(files: list[Path])`; `unique_sorted(values: list[str], limit: int = 80)`; `extract_file_summary(path: Path)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot App Repo Bootstrap - File: globalgrid2050/scripts/gridbot_app_repo_bootstrap.py (Python, 421 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_app_repo_bootstrap.py#L1-L421 - Page: https://code.globalgrid2050.com/explore-code/s/1761.html#f1 - Synopsis: A Python command-line tool in the scripts folder using data from GitHub API. It gets login (`get_login`), creates repo (`create_repo`) and gets content sha (`get_content_sha`). - What it achieves (comment): Audit mode reports the app repositories that would be created. It accepts `--mode`, `--repo-set` and `--owner`. - What it does: It fetches data. Defines 15 functions or classes, including utc_now, stamp, req, get_login, repo_exists. Uses libraries __future__, argparse, base64, datetime, json. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: data source: GitHub API; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot App Repo Bootstrap Workflow (globalgrid2050). - Signatures: `utc_now()`; `stamp()`; `req(method: str, path: str, token: str, payload: dict[str, Any] | None = None)`; `get_login(token: str)`; `repo_exists(owner: str, repo: str, token: str)`; `create_repo(owner: str, app: dict[str, str], private: bool, token: str, login: str)`; `get_content_sha(owner: str, repo: str, path: str, token: str)`; `put_file(owner: str, repo: str, path: str, content: str, token: str, overwrite: bool = False)`; `readme(app: dict[str, str])`; `architecture_doc(app: dict[str, str])`; `data_contract(app: dict[str, str])`; `files_for(app: dict[str, str])`; `selected_apps(repo_set: str)`; `write_reports(payload: dict[str, Any])`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: GitHub API; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Bulk Data Workflow Freeze - File: globalgrid2050/scripts/gridbot_bulk_data_workflow_freeze.py (Python, 172 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_bulk_data_workflow_freeze.py#L1-L172 - Page: https://code.globalgrid2050.com/explore-code/s/1761.html#f2 - Synopsis: A Python command-line tool in the scripts folder that removes schedule block (`remove_schedule_block`), sets commit default false (`set_commit_default_false`) and builds report (`build_report`). - What it achieves (comment): It is built from the utc now helper (`utc_now`), the stamp step (`stamp`) and the rel step (`rel`). Audit/apply control for stopping raw/bulk data workflows from continuing to schedule commits into the monorepo during app-repo migration. It accepts `--apply`. - What it does: It loads data. Defines 11 functions or classes, including utc_now, stamp, rel, has_schedule, commit_default. Uses libraries __future__, argparse, datetime, json, pathlib. Side effects: reads or writes files. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Bulk Data Workflow Freeze Workflow (globalgrid2050). - Signatures: `utc_now()`; `stamp()`; `rel(p: Path)`; `has_schedule(text: str)`; `commit_default(text: str)`; `remove_schedule_block(text: str)`; `set_commit_default_false(text: str)`; `patch(text: str)`; `build_report(mode: str, before: str, after: str, applied: bool)`; `write_reports(payload: dict[str, Any])`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Daily MWh Multi Technology Wiring - File: globalgrid2050/scripts/gridbot_daily_mwh_multi_technology_wiring.py (Python, 85 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_daily_mwh_multi_technology_wiring.py#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/1761.html#f3 - Synopsis: A Python command-line tool in the scripts folder that patches control and render and patches index, covering pvlive solar daily browser, generation daily mwh by technology fuelhh and wind. - What it achieves (name): It patches control (`patch_control`), patches render (`patch_render`) and patches index (`patch_index`). Defines `now`, `stamp`, `rel` and 4 more. It accepts `--apply`. - What it does: It draws pvlive solar daily browser, generation daily mwh by technology fuelhh and wind. Defines 8 functions or classes, including now, stamp, rel, patch_control, patch_render. Uses libraries __future__, argparse, datetime, json, pathlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain terms in the code: wind. - Inputs & outputs: In: JSON file pvlive_solar_daily_browser.json; JSON file generation_daily_mwh_by_technology_fuelhh_2016_2026.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Daily MWh Multi Technology Wiring Workflow (globalgrid2050). - Signatures: `now()`; `stamp()`; `rel(p)`; `patch_control(t)`; `patch_render(t)`; `patch_index(t)`; `report_write(r)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pvlive_solar_daily_browser.json; JSON file generation_daily_mwh_by_technology_fuelhh_2016_2026.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Daily MWh Seasonal Colouring - File: globalgrid2050/scripts/gridbot_daily_mwh_seasonal_colouring.py (Python, 56 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_daily_mwh_seasonal_colouring.py#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1762.html#f1 - Synopsis: A Python command-line tool in the scripts folder that patches render (`patch_render`) and index (`patch_index`) and writes report (`write_report`) (units: MWh). - What it achieves (name): Defines `now`, `stamp`, `rel` and 3 more. It accepts `--apply`. - What it does: It loads data. Defines 7 functions or classes, including now, stamp, rel, patch_render, patch_index. Uses libraries __future__, argparse, datetime, json, pathlib. Side effects: reads or writes files. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Daily MWh Seasonal Colouring Workflow (globalgrid2050). - Signatures: `now()`; `stamp()`; `rel(p)`; `patch_render(t)`; `patch_index(t)`; `write_report(r)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Daily MWh Titles Labels - File: globalgrid2050/scripts/gridbot_daily_mwh_titles_labels.py (Python, 135 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_daily_mwh_titles_labels.py#L1-L135 - Page: https://code.globalgrid2050.com/explore-code/s/1762.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads solar. It applies replacements (`apply_replacements`) and writes reports (`write_reports`). - What it achieves (name): Defines `now`, `stamp`, `rel` and 2 more. It accepts `--apply`. - What it does: It loads solar. Defines 6 functions or classes, including now, stamp, rel, apply_replacements, write_reports. Uses libraries __future__, argparse, datetime, json, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: solar. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Daily MWh Titles Labels Workflow (globalgrid2050). - Signatures: `now()`; `stamp()`; `rel(path: Path)`; `apply_replacements(text: str)`; `write_reports(report: dict)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Deprecated Tracker Stale Data Audit - File: globalgrid2050/scripts/gridbot_deprecated_tracker_stale_data_audit.py (Python, 284 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_deprecated_tracker_stale_data_audit.py#L1-L284 - Page: https://code.globalgrid2050.com/explore-code/s/1762.html#f3 - Synopsis: A Python command-line tool in the scripts folder that reads deprecated tracker stale audit, deprecated tracker stale retirement, live grid energy and live grid price. - What it achieves (name): It reads JSON (`read_json`) and parses time (`parse_time`). Defines `now_utc`, `now_text`, `read_text` and 10 more. It reads `live_grid_energy.json`. It accepts `--mode`. - What it does: It loads deprecated tracker stale audit, deprecated tracker stale retirement, live grid energy and live grid price. Defines 14 functions or classes, including now_utc, now_text, read_text, read_json, parse_time. Uses libraries __future__, argparse, datetime, json, os. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'deprecated'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file DEPRECATED_TRACKER_STALE_DATA_AUDIT_LATEST.json; JSON file DEPRECATED_TRACKER_STALE_DATA_RETIREMENT_MANIFEST.json; JSON file live_grid_energy.json; JSON file live_grid_price.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Deprecated Tracker Stale Data Audit Workflow (globalgrid2050). - Signatures: `now_utc()`; `now_text()`; `read_text(path: Path)`; `read_json(path: Path)`; `parse_time(value)`; `age_hours(value, now: dt.datetime)`; `workflow_status(version: int)`; `folder_for(version: int)`; `app_file(version: int)`; `audit_version(version: int, now: dt.datetime)`; `audit_v6(now: dt.datetime)`; `build_manifest(audits: list[dict])`; `write_report(report: dict)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file DEPRECATED_TRACKER_STALE_DATA_AUDIT_LATEST.json; JSON file DEPRECATED_TRACKER_STALE_DATA_RETIREMENT_MANIFEST.json; JSON file live_grid_energy.json; JSON file live_grid_price.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Document Audit Process - File: globalgrid2050/scripts/gridbot_document_audit_process.py (Python, 615 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_document_audit_process.py#L1-L615 - Page: https://code.globalgrid2050.com/explore-code/s/1763.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads audit report template, audit process documentation and solar. - What it achieves (name): It renders md (`render_md`) and is built from the expected docs helper (`expected_docs`) and the current step (`current`). Defines `utc_now`, `git_head`, `write` and 3 more. It accepts `--apply`. - What it does: It loads audit report template, audit process documentation and solar. Defines 7 functions or classes, including utc_now, git_head, write, expected_docs, current. Uses libraries __future__, argparse, json, subprocess, datetime. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar. - Inputs & outputs: In: JSON file AUDIT_REPORT_TEMPLATE.json; JSON file AUDIT_PROCESS_DOCUMENTATION_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Audit Process Documentation Workflow (globalgrid2050). - Signatures: `utc_now()`; `git_head()`; `write(path: Path, content: str)`; `expected_docs()`; `current(path: Path)`; `render_md(payload: dict[str, Any])`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file AUDIT_REPORT_TEMPLATE.json; JSON file AUDIT_PROCESS_DOCUMENTATION_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Feature Installer - File: globalgrid2050/scripts/gridbot_feature_installer.py (Python, 316 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_feature_installer.py#L1-L316 - Page: https://code.globalgrid2050.com/explore-code/s/1764.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads yaml (`read_yaml`), applies overlay files (`apply_overlay_files`) and inserts after (`insert_after`). - What it achieves (name): It copies version (`copy_version`) and is built from the regex replace helper (`regex_replace`) and the assert contains helper (`assert_contains`). Defines `log`, `fail`, `safe_rel` and 11 more. It reads `manifest.yml`. It accepts `--source`, `--target` and `--features-root`. - What it does: It loads data. Defines 15 functions or classes, including log, fail, safe_rel, read_yaml, copy_version. Uses libraries __future__, argparse, datetime, re, shutil. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Feature Install Workflow (globalgrid2050). - Signatures: `log(message: str)`; `fail(message: str)`; `safe_rel(path_text: str)`; `read_yaml(path: Path)`; `copy_version(source: Path, target: Path, overwrite: bool)`; `apply_overlay_files(feature_dir: Path)`; `replace_text(op: dict[str, Any])`; `regex_replace(op: dict[str, Any])`; `insert_after(op: dict[str, Any])`; `insert_before(op: dict[str, Any])`; `assert_contains(op: dict[str, Any])`; `run_command(command: list[str])`; `install_feature(feature_dir: Path)`; `write_report(target: str, features: list[str], changes: list[str])`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Insert DC Subsections - File: globalgrid2050/scripts/gridbot_insert_dc_subsections.py (Python, 108 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_insert_dc_subsections.py#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1764.html#f2 - Synopsis: A Python command-line tool in the scripts folder that works with renumber dc subsections (`renumber_dc_subsections`). It inserts once (`insert_once`). - What it achieves (name): Defines `safe_rel`, `renumber_dc_subsections`, `repl` and 1 more. It accepts `--target`, `--material-fragment` and `--duct-fragment`. - What it does: It loads data. Defines safe_rel, renumber_dc_subsections, repl, insert_once, main. Uses libraries __future__, argparse, datetime, re, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'dc'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Install Solar DC Er Subsections Workflow (globalgrid2050). - Signatures: `safe_rel(path_text: str)`; `renumber_dc_subsections(text: str)`; `repl(match: re.Match[str])`; `insert_once(text: str, marker: str, fragment: str)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Insert Markdown Section - File: globalgrid2050/scripts/gridbot_insert_markdown_section.py (Python, 115 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_insert_markdown_section.py#L1-L115 - Page: https://code.globalgrid2050.com/explore-code/s/1764.html#f3 - Synopsis: A Python command-line tool in the scripts folder that replaces contents (`replace_contents`). It is built from the sub step (`sub`). - What it achieves (name): Defines `safe_rel`, `increment_numbered_headings`, `top` and 2 more. It accepts `--target`, `--fragment` and `--marker`. - What it does: It loads data. Defines 6 functions or classes, including safe_rel, increment_numbered_headings, top, sub, replace_contents. Uses libraries __future__, argparse, datetime, re, pathlib. Side effects: reads or writes files. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Install Solar DC Er Section Workflow (globalgrid2050). - Signatures: `safe_rel(path_text: str)`; `increment_numbered_headings(text: str, start_at: int, offset: int)`; `top(match: re.Match[str])`; `sub(match: re.Match[str])`; `replace_contents(text: str, contents: str)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Mega Upgrade - File: globalgrid2050/scripts/gridbot_mega_upgrade.py (Python, 411 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_mega_upgrade.py#L1-L411 - Page: https://code.globalgrid2050.com/explore-code/s/1765.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads generation recent halfhourly 30d and generation recent 30d 30min. It runs git (`run_git`), reads text (`read_text`) and reads JSON (`read_json`). - What it achieves (comment): Manifest driven, audit first, CI suitable. It accepts `--manifest`, `--apply` and `--phase`. - What it does: It loads generation recent halfhourly 30d and generation recent 30d 30min. Defines 21 functions or classes, including utc_now, stamp, run_git, mib, read_text. Uses libraries __future__, argparse, json, math, re. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file generation_recent_halfhourly_30d.json; JSON file generation_recent_30d_30min.json; JSON file GRIDBOT_MEGA_UPGRADE_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Mega Upgrade Workflow (globalgrid2050). - Signatures: `utc_now()`; `stamp()`; `run_git(args: list[str])`; `mib(size: int)`; `read_text(path: Path)`; `read_json(path: Path)`; `write_json(path: Path, payload: dict[str, Any])`; `load_manifest(path: Path)`; `repo_size_audit()`; `patch_gitignore(patterns: list[str], apply: bool)`; `floor_to_30min(ts: datetime)`; `parse_ts(value: Any)`; `resample_recent_30min(source_path: Path, output_path: Path, apply: bool)`; `rewire_recent_loader(config_path: Path, old_path: str, new_path: str, apply: bool)`; `source_routing_audit(loader_path: Path, config_path: Path | None = None)`; `non_additive_peak_audit(loader_path: Path)`; `merge_guard_audit(script_path: Path)`; `confirmed_fact_source_audit(script_paths: list[str], data_paths: list[str])`; `confirmed_fact_schema_audit(paths: list[str], required_metadata: list[str], required_row_fields: list[str])`; `render_report(payload: dict[str, Any])`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file generation_recent_halfhourly_30d.json; JSON file generation_recent_30d_30min.json; JSON file GRIDBOT_MEGA_UPGRADE_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Modularise Employers' Requirements - File: globalgrid2050/scripts/gridbot_modularise_employers_requirements.py (Python, 289 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_modularise_employers_requirements.py#L1-L289 - Page: https://code.globalgrid2050.com/explore-code/s/1765.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads section and solar. It extracts disclaimer (`extract_disclaimer`) and removes disclaimer last section (`remove_disclaimer_from_last_section`). - What it achieves (name): Defines `safe_rel`, `slugify`, `split_top_level_sections` and 6 more. It accepts `--target`, `--backup-dir` and `--report-dir`. - What it does: It loads section and solar. Defines 10 functions or classes, including safe_rel, slugify, split_top_level_sections, extract_disclaimer, remove_disclaimer_from_last_section. Uses libraries __future__, argparse, datetime, html, json. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: solar. - Inputs & outputs: In: form fields (user input); command-line arguments. Out: JSON file section_manifest.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Modularise Solar Er Workflow (globalgrid2050). - Signatures: `safe_rel(path_text: str)`; `slugify(text: str)`; `split_top_level_sections(text: str)`; `extract_disclaimer(text: str)`; `remove_disclaimer_from_last_section(sections: list[dict[str, str]])`; `write_section_pages(base_dir: Path, sections: list[dict[str, str]], page_title: str)`; `markdown_to_basic_html(md: str)`; `write_print_page(base_dir: Path, sections: list[dict[str, str]], disclaimer: str, page_title: str)`; `write_main_index(base_dir: Path, preamble: str, sections: list[dict[str, str]], disclaimer: str, page_title: str)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input); command-line arguments]; out [JSON file section_manifest.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot MWh Mobile Bounds Repair - File: globalgrid2050/scripts/gridbot_mwh_mobile_bounds_repair.py (Python, 182 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_mwh_mobile_bounds_repair.py#L1-L182 - Page: https://code.globalgrid2050.com/explore-code/s/1766.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads interconnectors. It removes warning (`remove_warning`) and writes report (`write_report`). - What it achieves (comment): `/uk_energy_tracking_v6/generation_history/`. It accepts `--apply`. - What it does: It loads interconnectors. Defines 11 functions or classes, including now, rel, read, write, remove_warning. Uses libraries __future__, argparse, datetime, json, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: interconnectors. - Inputs & outputs: In: JSON file MWH_MOBILE_BOUNDS_REPAIR_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot MWh Mobile Bounds Repair Workflow (globalgrid2050). - Signatures: `now()`; `rel(path: Path)`; `read(path: Path)`; `write(path: Path, text: str)`; `remove_warning(text: str)`; `inject_css(text: str)`; `bump_cache(text: str)`; `patch(text: str)`; `checks(patched: str)`; `write_report(report: dict)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file MWH_MOBILE_BOUNDS_REPAIR_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Replace Modular Note with Summary - File: globalgrid2050/scripts/gridbot_replace_modular_note_with_summary.py (Python, 73 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_replace_modular_note_with_summary.py#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/1766.html#f2 - Synopsis: A Python command-line tool in the scripts folder. - What it achieves (name): Defines `safe_rel`. It accepts `--target`, `--summary` and `--backup-dir`. - What it does: It loads data. Defines safe_rel, main. Uses libraries __future__, argparse, datetime, pathlib. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `safe_rel(path_text: str)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Gridbot Repo Size Guard - File: globalgrid2050/scripts/gridbot_repo_size_guard.py (Python, 153 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_repo_size_guard.py#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/1766.html#f3 - Synopsis: A Python command-line tool in the scripts folder that works with changed files (`changed_files`). - What it achieves (comment): It is built from the run step (`run`), the all files helper (`all_files`) and the is blocked path helper (`is_blocked_path`). Fails when changed files exceed size budgets or when future commits try to add raw/transient bulk data into normal Git history. It accepts `--scope`, `--warn-mb` and `--fail-mb`. - What it does: Defines 7 functions or classes, including mb, run, changed_files, all_files, is_blocked_path. Uses libraries __future__, argparse, json, os, subprocess. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file REPO_SIZE_GUARD_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repo Size Guard Workflow (globalgrid2050). - Signatures: `mb(size: int)`; `run(cmd: list[str])`; `changed_files()`; `all_files()`; `is_blocked_path(path: str)`; `inspect(paths: list[str], warn_mb: float, fail_mb: float, allow_bulk: bool)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file REPO_SIZE_GUARD_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Repo Split Inventory - File: globalgrid2050/scripts/gridbot_repo_split_inventory.py (Python, 313 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_repo_split_inventory.py#L1-L313 - Page: https://code.globalgrid2050.com/explore-code/s/1767.html#f1 - Synopsis: A Python command-line tool in the scripts folder that classifies file (`classify_file`) and writes reports (`write_reports`). - What it achieves (comment): It is built from the utc now helper (`utc_now`), the stamp step (`stamp`) and the rel step (`rel`). Audit-only script. It scans the current working tree, estimates folder/file weight, classifies likely app boundaries, and writes human + machine reports. It accepts `--warn-mb` and `--fail-mb`. - What it does: It loads data. Defines 11 functions or classes, including utc_now, stamp, rel, git_head, should_skip_dir. Uses libraries __future__, argparse, datetime, json, subprocess. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Repo Split Inventory Workflow (globalgrid2050). - Signatures: `utc_now()`; `stamp()`; `rel(path: Path)`; `git_head()`; `should_skip_dir(path: Path)`; `iter_files()`; `mb(size: int)`; `classify_file(r: str)`; `scan(warn_mb: float, fail_mb: float)`; `write_reports(payload: dict[str, Any])`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Root Homepage Directory Audit - File: globalgrid2050/scripts/gridbot_root_homepage_directory_audit.py (Python, 605 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_root_homepage_directory_audit.py#L1-L605 - Page: https://code.globalgrid2050.com/explore-code/s/1767.html#f2 - Synopsis: A Python command-line tool in the scripts folder that extracts menu block (`extract_menu_block`) and script (`extract_script`) and renders report (`render_report`), covering solar, battery storage (BESS) and cables, using SHA-256. - What it achieves (comment): It collects state (`collect_state`) and is built from the now step (`now`) and the rel step (`rel`). Replace the current flat homepage table with the controlled grouped drawer menu supplied by Vikram, without changing data feeds, dashboards or child routes. Its code works with 33 kV. It accepts `--apply`. - What it does: It draws solar, battery storage (BESS) and cables. Defines 20 functions or classes, including now, rel, read, write, sha256_text. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), cables, 33kV. - Inputs & outputs: In: JSON file ROOT_HOMEPAGE_DIRECTORY_AUDIT_LATEST.json; form fields (user input); command-line arguments. Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Root Homepage Directory Audit Workflow (globalgrid2050). - Signatures: `now()`; `rel(path: Path)`; `read(path: Path)`; `write(path: Path, content: str)`; `sha256_text(text: str)`; `sha256_file(path: Path)`; `git_head()`; `extract_menu_block(html: str)`; `menu_links(html: str)`; `table_links(html: str)`; `extract_script(html: str)`; `node_check(source: str)`; `target_status(link: str)`; `planned_files()`; `changed_paths_for(planned: dict[Path, str])`; `collect_state(mode: str, planned: dict[Path, str], before_hash: str, baseline_html: str)`; `render_report(payload: dict[str, Any])`; `write_report(payload: dict[str, Any])`; `main()`; `build_payload(*, mode: str, head_before: str, head_after: str, planned_changed: list[str], changed_files: list[str], applied: bool,...)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file ROOT_HOMEPAGE_DIRECTORY_AUDIT_LATEST.json; form fields (user input); command-line arguments]; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Sunrise Sunset Time Bands - File: globalgrid2050/scripts/gridbot_sunrise_sunset_time_bands.py (Python, 255 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_sunrise_sunset_time_bands.py#L1-L255 - Page: https://code.globalgrid2050.com/explore-code/s/1768.html#f2 - Synopsis: A Python command-line tool in the scripts folder that fetches sunrise sunset time bands reference. It fetches one (`fetch_one`) and writes report (`write_report`). - What it achieves (comment): `/uk_energy_tracking_v6/generation_history/`. It accepts `--year` and `--apply`. - What it does: It fetches sunrise sunset time bands reference. Defines 10 functions or classes, including now, rel, write, month_dates, hhmm. Uses libraries __future__, argparse, datetime, json, time. Side effects: reads or writes files; makes network requests. - Inputs & outputs: In: JSON file sunrise_sunset_time_bands_reference.json; JSON file SUNRISE_SUNSET_TIME_BANDS_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Sunrise Sunset Time Bands Workflow (globalgrid2050). - Signatures: `now()`; `rel(path: Path)`; `write(path: Path, text: str)`; `month_dates(year: int)`; `hhmm(value: str)`; `fetch_one(location: dict[str, Any], day: dt.date)`; `build(year: int)`; `checks(payload: dict[str, Any], meta: dict[str, Any])`; `write_report(report: dict[str, Any])`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file sunrise_sunset_time_bands_reference.json; JSON file SUNRISE_SUNSET_TIME_BANDS_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot Sunrise Sunset Visible Attribution - File: globalgrid2050/scripts/gridbot_sunrise_sunset_visible_attribution.py (Python, 172 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_sunrise_sunset_visible_attribution.py#L1-L172 - Page: https://code.globalgrid2050.com/explore-code/s/1768.html#f3 - Synopsis: A Python command-line tool in the scripts folder that adds CSS (`add_css`) and writes report (`write_report`) (units: MWh). - What it achieves (comment): It adds attribution (`add_attribution`) and is built from the now step (`now`) and the rel step (`rel`). `/uk_energy_tracking_v6/generation_history/`. It accepts `--apply`. - What it does: It loads data. Defines 11 functions or classes, including now, rel, read, write, add_css. Uses libraries __future__, argparse, datetime, json, re. Side effects: reads or writes files. - Inputs & outputs: In: JSON file SUNRISE_SUNSET_VISIBLE_ATTRIBUTION_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot Sunrise Sunset Visible Attribution Workflow (globalgrid2050). - Signatures: `now()`; `rel(path: Path)`; `read(path: Path)`; `write(path: Path, text: str)`; `add_css(text: str)`; `add_attribution(text: str)`; `bump_cache(text: str)`; `patch(text: str)`; `checks(patched: str)`; `write_report(report: dict)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file SUNRISE_SUNSET_VISIBLE_ATTRIBUTION_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot V3 Diary Preflight - File: globalgrid2050/scripts/gridbot_v3_diary_preflight.py (Python, 27 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_v3_diary_preflight.py#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1768.html#f4 - Synopsis: A Python command-line tool in the scripts folder. - What it does: It loads data. Defines main. Uses libraries datetime, pathlib. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot V3 Consolidated Price History Workflow (globalgrid2050). - Signatures: `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Gridbot V6 Same Slot Reconciliation Audit - File: globalgrid2050/scripts/gridbot_v6_same_slot_reconciliation_audit.py (Python, 305 lines) · role energy-data · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/gridbot_v6_same_slot_reconciliation_audit.py#L1-L305 - Page: https://code.globalgrid2050.com/explore-code/s/1769.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches electricity price history, solar and wind from Elexon Balancing Mechanism Reporting Service (BMRS). - What it achieves (name): It reads repo price (`read_repo_price`) and fetches Elexon price (`fetch_elexon_price`). Defines `iso_z`, `parse_iso`, `http_json` and 10 more. It accepts `--date`, `--time` and `--timezone`. - What it does: It fetches electricity price history, solar and wind. Defines 14 functions or classes, including iso_z, parse_iso, http_json, rows, pick. Uses libraries __future__, argparse, csv, datetime, json. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain terms in the code: solar, wind. - Inputs & outputs: In: data source: Elexon BMRS; CSV file electricity_price_history.csv; JSON file V6_SAME_SLOT_RECONCILIATION_AUDIT_LATEST.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Gridbot V6 Same Slot Reconciliation Audit Workflow (globalgrid2050). - Signatures: `iso_z(value: dt.datetime)`; `parse_iso(value: str)`; `http_json(url: str)`; `rows(payload)`; `pick(row: dict, names: list[str])`; `number(value)`; `read_repo_price(slot_utc: dt.datetime)`; `fetch_elexon_price(slot_utc: dt.datetime)`; `group_for(fuel: str)`; `fetch_fuelinst(slot_utc: dt.datetime)`; `fetch_pvlive_solar(slot_utc: dt.datetime)`; `candidate_slots(date_text: str, time_text: str, tz_name: str)`; `compare(value, expected)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; CSV file electricity_price_history.csv; JSON file V6_SAME_SLOT_RECONCILIATION_AUDIT_LATEST.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Homepage Template - File: globalgrid2050/scripts/homepage.template.html (HTML, 23 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/homepage.template.html#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1769.html#f2 - Published at: https://globalgrid2050.com/scripts/homepage.template.html - Synopsis: A web page in the scripts folder covering solar. Published at https://globalgrid2050.com/scripts/homepage.template.html. - What it achieves (comment): Explore the original Kuiper, GridAtlas, Pipeline News and Solar Design Studio. - What it does: It draws solar. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/scripts/homepage.template.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Import Homepage Owner - File: globalgrid2050/scripts/import_homepage_owner.py (Python, 73 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/import_homepage_owner.py#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/1769.html#f3 - Synopsis: A Python command-line tool in the scripts folder that fetches active pages, using SHA-256. - What it achieves (comment): Publish only the hash-pinned small homepage bundle from its confirmed owner. - What it does: It fetches active pages. Defines main. Uses libraries hashlib, json, re, urllib.request, html. Side effects: reads or writes files; makes network requests. - Inputs & outputs: In: JSON file homepage.json; JSON file active-pages.json; JSON file presentation.json; JSON file entity-types.json; JSON file homepage-owner.json. - Downstream impact: Used directly by 4 files: GlobalGrid2050 Verify VEDIC Homepage Release (globalgrid2050); GlobalGrid2050 Deploy Pages Workflow (globalgrid2050); GlobalGrid2050 Public Language Gate Workflow (globalgrid2050); GlobalGrid2050 Renewable Energy Planning Database (REPD) Q3 Homepage Pin QA Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 VEDIC Homepage Promotion Workflow (globalgrid2050). - Signatures: `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage.json; JSON file active-pages.json; JSON file presentation.json; JSON file entity-types.json; JSON file homepage-owner.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### GlobalGrid2050 Inspect Data Science Discipline - File: globalgrid2050/scripts/inspect_data_science_discipline.py (Python, 401 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/inspect_data_science_discipline.py#L1-L401 - Page: https://code.globalgrid2050.com/explore-code/s/1770.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads science discipline inspection, using SHA-256. It runs git (`run_git`), classifies file (`classify_file`) and collects files (`collect_files`). - What it achieves (comment): Non destructive inspection script. It scans repository data, workflow and protocol files, produces timestamped audit reports, maintains a latest report and appends a compact change log. - What it does: It loads science discipline inspection. Defines 18 functions or classes, including utc_now, safe_rel, mb, should_skip, sha256_file. Uses libraries __future__, hashlib, json, os, subprocess. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file DATA_SCIENCE_DISCIPLINE_INSPECTION_LATEST.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Inspect Data Science Discipline Workflow (globalgrid2050). - Signatures: `utc_now()`; `safe_rel(path: Path)`; `mb(size_bytes: int)`; `should_skip(path: Path)`; `sha256_file(path: Path)`; `run_git(args: list[str])`; `classify_file(rel: str, suffix: str, size_bytes: int)`; `collect_files()`; `previous_snapshot()`; `compare_snapshots(previous: dict[str, dict[str, Any]], current: list[dict[str, Any]])`; `directory_totals(files: list[dict[str, Any]])`; `summarise(files: list[dict[str, Any]], delta: dict[str, Any])`; `executive_summary(summary: dict[str, Any], top_actions: list[dict[str, Any]])`; `md_table(rows: list[dict[str, Any]], columns: list[tuple[str, str]], limit: int | None = None)`; `write_reports(payload: dict[str, Any])`; `render_markdown(payload: dict[str, Any])`; `append_changelog(payload: dict[str, Any])`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file DATA_SCIENCE_DISCIPLINE_INSPECTION_LATEST.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Make Publication - File: globalgrid2050/scripts/make_publication.py (Python, 453 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/make_publication.py#L1-L453 - Page: https://code.globalgrid2050.com/explore-code/s/1771.html#f1 - Synopsis: A Python command-line tool in the scripts folder that runs git (`run_git`), detects style (`detect_style`) and converts to declared path (`to_declared_path`), using SHA-256. - What it achieves (comment): It loads existing (`load_existing`) and is built from the git error class (`GitError`) and the repo root of helper (`repo_root_of`). Generate and verify testcode publication manifests from committed bytes. It accepts `--check`, `--strict` and `--rev`. - What it does: It loads data. Defines 25 functions or classes, including GitError, run_git, repo_root_of, committed_bytes, BatchReader. Uses libraries __future__, argparse, hashlib, json, os. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file publication.json; command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Test Make Publication (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `class GitError`; `run_git(args, repo_root, binary=False)`; `repo_root_of(path)`; `committed_bytes(repo_root, rel_path, rev)`; `class BatchReader`; `__init__(self, repo_root)`; `read(self, spec)`; `close(self)`; `__enter__(self)`; `__exit__(self, *exc)`; `tracked_files(repo_root, stamp_rel, rev)`; `entry_path_key(doc)`; `declared_entries(doc)`; `norm(e, p)`; `same_declaration(a, b)`; `detect_style(doc, stamp_rel)`; `to_declared_path(repo_rel, stamp_rel, path_style)`; `build(repo_root, stamp_rel, rev, existing_doc, shape, path_style, pkey="path")`; `extra_for(decl)`; `render(doc)`; `load_existing(manifest_abs)`; `crlf_expansion(blob)`; `classify(declared, actual_bytes, actual_sha, blob=None)`; `process(stamp_dir, rev="HEAD", check=False, strict=False, quiet=False, path_style="auto", out=None)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file publication.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Measure Homepage Version - File: globalgrid2050/scripts/measure_homepage_version.py (Python, 47 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/measure_homepage_version.py#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1771.html#f2 - Synopsis: A Python command-line tool in the scripts folder that measures homepage snapshot files for reversible public homepage edits, using SHA-256. - What it achieves (name): Defines `measure`. - What it does: Defines measure, main. Uses libraries __future__, hashlib, json, sys, pathlib. Side effects: reads or writes files. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Verify VEDIC Homepage Release (globalgrid2050); GlobalGrid2050 Homepage Restore Point Check Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 VEDIC Homepage Promotion Workflow (globalgrid2050). - Signatures: `measure(path: Path)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Modularize V3 - File: globalgrid2050/scripts/modularize_v3.py (Python, 141 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/modularize_v3.py#L1-L141 - Page: https://code.globalgrid2050.com/explore-code/s/1771.html#f3 - Synopsis: A Python command-line tool in the scripts folder that reads substations. It extracts inline script (`extract_inline_script`) and writes modules (`write_modules`). - What it achieves (name): Defines `fail`, `normalise_identity`, `is_already_modular` and 6 more. - What it does: It loads substations. Defines 10 functions or classes, including fail, normalise_identity, is_already_modular, extract_inline_script, slice_section. Uses libraries __future__, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: substations. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Modularize V3 Once Workflow (globalgrid2050). - Signatures: `fail(message: str)`; `normalise_identity(text: str)`; `is_already_modular(html: str)`; `extract_inline_script(html: str)`; `slice_section(script: str, start_marker: str, end_marker: str | None)`; `write_modules(script: str)`; `module_tags()`; `remove_v2_duplicates()`; `verify()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Compare - File: globalgrid2050/scripts/oracle/compare.mjs (JavaScript, 221 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/oracle/compare.mjs#L1-L221 - Page: https://code.globalgrid2050.com/explore-code/s/1772.html#f1 - Synopsis: A JavaScript module in the oracle folder of GlobalGrid2050 that maps oracle, substations and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): It classifies REPD lookup (`classifyRepdLookup`) and is built from the measure step (`measure`) and the median step (`median`). Measure a candidate Atlas arrival against the ORACLE and refuse a regression. - What it does: It maps oracle, substations and the REPD register. Defines classifyRepdLookup, measure, median. Uses libraries playwright, node:fs, node:url, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain terms in the code: substations, the REPD register. - Inputs & outputs: In: JSON file oracle.json; DuckDB queries; command-line arguments. Out: interactive map. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Atlas Oracle Workflow (globalgrid2050). - Signatures: `classifyRepdLookup(paths)`; `measure(url, runs)`; `median(xs)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file oracle.json; DuckDB queries; command-line arguments]; out [interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Patch V4 Live Tracker Modular Structure - File: globalgrid2050/scripts/patch_v4_live_tracker_modular_structure.py (Python, 112 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v4_live_tracker_modular_structure.py#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/1772.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads live grid energy. - What it achieves (name): Defines `between`. - What it does: It loads live grid energy. Defines between, main. Uses libraries pathlib. Side effects: reads or writes files. - Inputs & outputs: In: JSON file live_grid_energy.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Patch V4 Live Tracker Modular Structure Workflow (globalgrid2050). - Signatures: `between(text, a, b)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_grid_energy.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Patch V5 Chart Breathing Space - File: globalgrid2050/scripts/patch_v5_chart_breathing_space.py (Python, 120 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v5_chart_breathing_space.py#L1-L120 - Page: https://code.globalgrid2050.com/explore-code/s/1772.html#f3 - Synopsis: A Python command-line tool in the scripts folder that replaces first (`replace_first`) and patches common units (`patch_common_units`) and fullscreen (`patch_fullscreen`). - What it achieves (name): Defines `replace_first`, `patch_common_units`, `patch_ui` and 1 more. - What it does: It draws its content. Defines replace_first, patch_common_units, patch_ui, patch_fullscreen, main. Uses libraries pathlib, re. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Patch V5 Chart Overlap Controls Workflow (globalgrid2050). - Signatures: `replace_first(text, old, new)`; `patch_common_units(text)`; `patch_ui(text)`; `patch_fullscreen(text)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Patch V5 Chart Dynamic Annotations - File: globalgrid2050/scripts/patch_v5_chart_dynamic_annotations.py (Python, 116 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v5_chart_dynamic_annotations.py#L1-L116 - Page: https://code.globalgrid2050.com/explore-code/s/1772.html#f4 - Synopsis: A Python command-line tool in the scripts folder that draws electricity price history. - What it achieves (name): Defines `patch_index`. - What it does: It draws electricity price history. Defines patch_index, main. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Inputs & outputs: In: JSON file electricity_price_history.json; form fields (user input). Out: canvas drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Patch V5 Chart Dynamic Annotations Workflow (globalgrid2050). - Signatures: `patch_index(text)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file electricity_price_history.json; form fields (user input)]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Patch V5 Chart Overlap Controls - File: globalgrid2050/scripts/patch_v5_chart_overlap_controls.py (Python, 153 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v5_chart_overlap_controls.py#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/1773.html#f1 - Synopsis: A Python command-line tool in the scripts folder that replaces exact (`replace_exact`) and patches fullscreen (`patch_fullscreen`) and index (`patch_index`). - What it achieves (name): Defines `replace_exact`, `patch_ui`, `patch_fullscreen` and 1 more. - What it does: It draws its content. Defines replace_exact, patch_ui, patch_fullscreen, patch_index, main. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: Out: canvas drawing. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `replace_exact(text, old, new, label)`; `patch_ui(text)`; `patch_fullscreen(text)`; `patch_index(text)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Patch V5 Emergency Chart Repair - File: globalgrid2050/scripts/patch_v5_emergency_chart_repair.py (Python, 98 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v5_emergency_chart_repair.py#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/1773.html#f2 - Synopsis: A Python command-line tool in the scripts folder that patches fullscreen (`patch_fullscreen`) and normal (`patch_normal`). - What it achieves (name): Defines `patch_fullscreen` and `patch_normal`. - What it does: It loads data. Defines patch_fullscreen, patch_normal, main. Uses libraries pathlib, re. Side effects: changes the web page (DOM); reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Patch V5 Fullscreen Glow Controls Workflow (globalgrid2050). - Signatures: `patch_fullscreen(txt)`; `patch_normal(txt)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Patch V5 Fullscreen Glow Controls - File: globalgrid2050/scripts/patch_v5_fullscreen_glow_controls.py (Python, 118 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v5_fullscreen_glow_controls.py#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/1773.html#f3 - Synopsis: A Python command-line tool in the scripts folder that replaces function (`replace_function`), patches dates (`patch_dates`) and removes MWh axis (`remove_mwh_from_y_axis`) (units: MWh). - What it achieves (name): Defines `replace_function`, `patch_dates`, `remove_mwh_from_y_axis` and 2 more. - What it does: It draws its content. Defines 6 functions or classes, including replace_function, patch_dates, remove_mwh_from_y_axis, patch_fullscreen, patch_normal. Uses libraries pathlib, re. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Patch V5 Fullscreen Glow Controls Workflow (globalgrid2050). - Signatures: `replace_function(text, name, new_code)`; `patch_dates(text)`; `remove_mwh_from_y_axis(text)`; `patch_fullscreen()`; `patch_normal()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Patch V5 Fullscreen Left Legend - File: globalgrid2050/scripts/patch_v5_fullscreen_left_legend.py (Python, 67 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v5_fullscreen_left_legend.py#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/1773.html#f4 - Synopsis: A Python command-line tool in the scripts folder that replaces function (`replace_function`). - What it achieves (name): Defines `replace_function`. - What it does: It draws its content. Defines replace_function, main. Uses libraries pathlib, re. Side effects: changes the web page (DOM); reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Patch V5 Fullscreen Glow Controls Workflow (globalgrid2050). - Signatures: `replace_function(text, name, new_code)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Patch V5 Multi Year Loading - File: globalgrid2050/scripts/patch_v5_multi_year_loading.py (Python, 99 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v5_multi_year_loading.py#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/1773.html#f5 - Synopsis: A Python command-line tool in the scripts folder that patches fs (`patch_fs`). - What it achieves (name): Defines `patch_ui` and `patch_fs`. - What it does: It draws its content. Defines patch_ui, patch_fs, main. Uses libraries pathlib, re. Side effects: changes the web page (DOM); reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Patch V5 Fullscreen Glow Controls Workflow (globalgrid2050). - Signatures: `patch_ui(txt)`; `patch_fs(txt)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Patch V5 Trend Title Safe Zone - File: globalgrid2050/scripts/patch_v5_trend_title_safe_zone.py (Python, 50 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/patch_v5_trend_title_safe_zone.py#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/1773.html#f6 - Synopsis: A Python command-line tool in the scripts folder. - What it does: It loads data. Defines main. Uses libraries pathlib, re. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Patch V5 Fullscreen Glow Controls Workflow (globalgrid2050). - Signatures: `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Plain Language - File: globalgrid2050/scripts/plain_language.py (Python, 104 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/plain_language.py#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/1773.html#f7 - Synopsis: A Python command-line tool in the scripts folder. It keeps case (`keep_case`) and is built from the rewrite text helper (`rewrite_text`) and the sub step (`sub`). - What it achieves (comment): Replace informal or science-fiction wording on the public homepage with plain business language. - What it does: It loads data. Defines keep_case, rewrite_text, sub, main, visible. Uses libraries __future__, re, sys, pathlib. Side effects: reads or writes files. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `keep_case(src: str, rep: str)`; `rewrite_text(text: str, log: list[str])`; `sub(m, b=b)`; `main()`; `visible(m: re.Match)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Promote Renewables V6 Homepage - File: globalgrid2050/scripts/promote_renewables_v6_homepage.py (Python, 36 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/promote_renewables_v6_homepage.py#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/1774.html#f1 - Synopsis: A Python module in the scripts folder that reads solar and battery storage (BESS). - What it achieves (name): Its code works with 100 MW and 1 MW. - What it does: It loads solar and battery storage (BESS). Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Major Project News V6 Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Render Site Navigation - File: globalgrid2050/scripts/render_site_navigation.py (Python, 51 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/render_site_navigation.py#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/1774.html#f2 - Synopsis: A Python command-line tool in the scripts folder. - What it achieves (name): Defines `render` and `url`. It accepts `--check`. - What it does: It loads data. Defines render, url. Uses libraries argparse, html, json, re, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage field_execution (path word 'navigation'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file site-navigation.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `render(config)`; `url(value)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file site-navigation.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Repair Public Grid Study Period Selector - File: globalgrid2050/scripts/repair_public_grid_study_period_selector.py (Python, 193 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_public_grid_study_period_selector.py#L1-L193 - Page: https://code.globalgrid2050.com/explore-code/s/1774.html#f3 - Synopsis: A Python command-line tool in the scripts folder that reads procedural docs (`read_procedural_docs`), patches article cache bust (`patch_article_cache_bust`) and writes report (`write_report`). - What it achieves (name): It replaces once (`replace_once`) and is built from the must not contain helper (`must_not_contain`) and the helper text helper (`helper_text`). Defines `read`, `write`, `must_contain` and 8 more. - What it does: It draws its content. Defines 12 functions or classes, including read, write, must_contain, must_not_contain, replace_once. Uses libraries pathlib, datetime. Side effects: changes the web page (DOM); reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair Public Grid Study Period Selector Workflow (globalgrid2050). - Signatures: `read(path)`; `write(path, text)`; `must_contain(text, needle, label)`; `must_not_contain(text, needle, label)`; `replace_once(text, old, new, label)`; `read_procedural_docs()`; `helper_text()`; `patch_helper()`; `patch_article_cache_bust()`; `write_report()`; `assert_final_state()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair Public Grid Study Selector Binding - File: globalgrid2050/scripts/repair_public_grid_study_selector_binding.py (Python, 168 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_public_grid_study_selector_binding.py#L1-L168 - Page: https://code.globalgrid2050.com/explore-code/s/1774.html#f4 - Synopsis: A Python command-line tool in the scripts folder that reads docs (`read_docs`), patches article cache (`patch_article_cache`) and writes report (`write_report`). - What it achieves (name): It replaces once (`replace_once`) and is built from the helper text helper (`helper_text`) and the patch helper helper (`patch_helper`). Defines `read`, `write`, `must_contain` and 7 more. - What it does: It draws its content. Defines 11 functions or classes, including read, write, must_contain, replace_once, read_docs. Uses libraries pathlib, datetime. Side effects: changes the web page (DOM); reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair Public Grid Study Selector Binding Workflow (globalgrid2050). - Signatures: `read(path)`; `write(path, text)`; `must_contain(text, needle, label)`; `replace_once(text, old, new, label)`; `read_docs()`; `helper_text()`; `patch_helper()`; `patch_article_cache()`; `assert_final()`; `write_report()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Adaptive Weekly Time Ticks - File: globalgrid2050/scripts/repair_v6_adaptive_weekly_time_ticks.py (Python, 126 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_adaptive_weekly_time_ticks.py#L1-L126 - Page: https://code.globalgrid2050.com/explore-code/s/1774.html#f5 - Synopsis: A Python command-line tool in the scripts folder that replaces function (`replace_function`), patches renderer (`patch_renderer`) and writes report (`write_report`). - What it achieves (name): Defines `read`, `write`, `must_contain` and 3 more. - What it does: It loads data. Defines 7 functions or classes, including read, write, must_contain, replace_function, patch_renderer. Uses libraries pathlib, datetime. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Adaptive Weekly Time Ticks Workflow (globalgrid2050). - Signatures: `read(path)`; `write(path, text)`; `must_contain(text, needle, label)`; `replace_function(text, name, replacement)`; `patch_renderer()`; `write_report()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Chart Boxes No Summary - File: globalgrid2050/scripts/repair_v6_chart_boxes_no_summary.py (Python, 135 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_chart_boxes_no_summary.py#L1-L135 - Page: https://code.globalgrid2050.com/explore-code/s/1775.html#f1 - Synopsis: A Python module in the scripts folder. - What it does: It loads data. Uses libraries pathlib. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Chart Boxes No Summary Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Chart Context Labels - File: globalgrid2050/scripts/repair_v6_chart_context_labels.py (Python, 170 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_chart_context_labels.py#L1-L170 - Page: https://code.globalgrid2050.com/explore-code/s/1775.html#f2 - Synopsis: A Python command-line tool in the scripts folder that patches article (`patch_article`) and renderer (`patch_renderer`) and writes report (`write_report`). - What it achieves (name): It replaces once (`replace_once`) and is built from the assert final state helper (`assert_final_state`). Defines `read`, `write`, `must_contain` and 5 more. - What it does: It loads data. Defines 9 functions or classes, including read, write, must_contain, replace_once, patch_article. Uses libraries pathlib, datetime. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Chart Context Labels Workflow (globalgrid2050). - Signatures: `read(path)`; `write(path, text)`; `must_contain(text, needle, label)`; `replace_once(text, old, new, label)`; `patch_article()`; `patch_renderer()`; `assert_final_state()`; `write_report()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Chart Inspect Arrows - File: globalgrid2050/scripts/repair_v6_chart_inspect_arrows.py (Python, 145 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_chart_inspect_arrows.py#L1-L145 - Page: https://code.globalgrid2050.com/explore-code/s/1775.html#f3 - Synopsis: A Python command-line tool in the scripts folder that patches renderer (`patch_renderer`) and writes report (`write_report`). It replaces once (`replace_once`). - What it achieves (name): Defines `read`, `write`, `must_contain` and 3 more. - What it does: It draws its content. Defines 7 functions or classes, including read, write, must_contain, replace_once, patch_renderer. Uses libraries pathlib, datetime. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Chart Inspect Arrows Workflow (globalgrid2050). - Signatures: `read(path)`; `write(path, text)`; `must_contain(text, needle, label)`; `replace_once(text, old, new, label)`; `patch_renderer()`; `write_report()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Connect Inspect Overlay - File: globalgrid2050/scripts/repair_v6_connect_inspect_overlay.py (Python, 112 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_connect_inspect_overlay.py#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/1775.html#f4 - Synopsis: A Python command-line tool in the scripts folder that patches renderer (`patch_renderer`) and writes report (`write_report`). It replaces once (`replace_once`). - What it achieves (name): Defines `read`, `write`, `must_contain` and 3 more. - What it does: It loads data. Defines 7 functions or classes, including read, write, must_contain, replace_once, patch_renderer. Uses libraries pathlib, datetime. Side effects: changes the web page (DOM); reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Connect Inspect Overlay Workflow (globalgrid2050). - Signatures: `read(path)`; `write(path, text)`; `must_contain(text, needle, label)`; `replace_once(text, old, new, label)`; `patch_renderer()`; `write_report()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Electricity Annual Year Selector - File: globalgrid2050/scripts/repair_v6_electricity_annual_year_selector.py (Python, 250 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_electricity_annual_year_selector.py#L1-L250 - Page: https://code.globalgrid2050.com/explore-code/s/1776.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads procedural documents (`read_procedural_documents`) and patches v6 control (`patch_v6_control`) and article (`patch_article`). - What it achieves (name): It replaces once (`replace_once`) and is built from the must not contain helper (`must_not_contain`) and the article helper text helper (`article_helper_text`). Defines `read`, `write`, `must_contain` and 9 more. - What it does: It draws its content. Defines 13 functions or classes, including read, write, must_contain, must_not_contain, replace_once. Uses libraries pathlib, datetime. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Electricity Annual Year Selector Workflow (globalgrid2050). - Signatures: `read(path)`; `write(path, text)`; `must_contain(text, needle, label)`; `must_not_contain(text, needle, label)`; `replace_once(text, old, new, label)`; `read_procedural_documents()`; `patch_v6_control()`; `patch_v6_index_cache_bust()`; `article_helper_text()`; `patch_article()`; `assert_final_state()`; `write_report()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Event Boxes Visible - File: globalgrid2050/scripts/repair_v6_event_boxes_visible.py (Python, 97 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_event_boxes_visible.py#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/1776.html#f2 - Synopsis: A Python module in the scripts folder. - What it does: It loads data. Uses libraries pathlib. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Event Boxes Visible Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Fullscreen Summary Box - File: globalgrid2050/scripts/repair_v6_fullscreen_summary_box.py (Python, 80 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_fullscreen_summary_box.py#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/1776.html#f3 - Synopsis: A Python module in the scripts folder. - What it does: It loads data. Uses libraries pathlib. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Fullscreen Summary Box Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Fullscreen Swipe - File: globalgrid2050/scripts/repair_v6_fullscreen_swipe.py (Python, 71 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_fullscreen_swipe.py#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/1776.html#f4 - Synopsis: A Python module in the scripts folder. - What it achieves (name): It writes `uk_energy_tracking_v6/V6_REPAIR_FULLSCREEN_SWIPE_REPORT.md`. - What it does: It loads data. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Fullscreen Swipe Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Half Hourly Short Window Modes - File: globalgrid2050/scripts/repair_v6_half_hourly_short_window_modes.py (Python, 205 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_half_hourly_short_window_modes.py#L1-L205 - Page: https://code.globalgrid2050.com/explore-code/s/1777.html#f1 - Synopsis: A Python command-line tool in the scripts folder that replaces least (`replace_at_least_one`) and patches loader (`patch_loader`) and index (`patch_index`). - What it achieves (name): It replaces once (`replace_once`) and is built from the assert final state helper (`assert_final_state`). Defines `read`, `write`, `must_contain` and 8 more. - What it does: It draws its content. Defines 12 functions or classes, including read, write, must_contain, replace_once, replace_at_least_one. Uses libraries pathlib, datetime. Side effects: changes the web page (DOM); reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Half Hourly Short Window Modes Workflow (globalgrid2050). - Signatures: `read(path)`; `write(path, text)`; `must_contain(text, needle, label)`; `replace_once(text, old, new, label)`; `replace_at_least_one(text, old, new, label)`; `patch_loader()`; `patch_index()`; `patch_article()`; `patch_renderer()`; `assert_final_state()`; `write_report()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 High Low Trackers - File: globalgrid2050/scripts/repair_v6_high_low_trackers.py (Python, 101 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_high_low_trackers.py#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/1777.html#f2 - Synopsis: A Python module in the scripts folder. - What it does: It loads data. Uses libraries pathlib. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 High Low Trackers Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Inpage Chart Real Estate - File: globalgrid2050/scripts/repair_v6_inpage_chart_real_estate.py (Python, 208 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_inpage_chart_real_estate.py#L1-L208 - Page: https://code.globalgrid2050.com/explore-code/s/1777.html#f3 - Synopsis: A Python module in the scripts folder. - What it achieves (comment): V6 electricity price chart layout repair. - What it does: It loads data. Uses libraries pathlib, re. Side effects: reads or writes files. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Compare UK Energy V5 V6 V3 (globalgrid2050); GlobalGrid2050 Repair V6 Inpage Chart Real Estate Workflow (globalgrid2050); GlobalGrid2050 Update V5 V6 Granular Change Tracker (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Compare UK Energy V5 V6 V3 Workflow (globalgrid2050); GlobalGrid2050 Update V5 V6 Granular Change Tracker Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GlobalGrid2050 Repair V6 Inspect Cache Buster - File: globalgrid2050/scripts/repair_v6_inspect_cache_buster.py (Python, 78 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_inspect_cache_buster.py#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/1777.html#f4 - Synopsis: A Python command-line tool in the scripts folder. It is built from the bump step (`bump`). - What it achieves (name): Defines `read`, `write`, `must` and 1 more. - What it does: It loads data. Defines read, write, must, bump, main. Uses libraries pathlib, datetime, re. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Inspect Cache Buster Workflow (globalgrid2050). - Signatures: `read(path)`; `write(path, text)`; `must(text, needle, label)`; `bump(path)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Mobile Chart Readability - File: globalgrid2050/scripts/repair_v6_mobile_chart_readability.py (Python, 129 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_mobile_chart_readability.py#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/1778.html#f1 - Synopsis: A Python module in the scripts folder that replaces function (`replace_function`). - What it achieves (name): Defines `replace_function`. - What it does: It draws its content. Defines replace_function. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Mobile Chart Readability Workflow (globalgrid2050). - Signatures: `replace_function(text, start_marker, end_marker, replacement)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Mobile Chart Stabilise - File: globalgrid2050/scripts/repair_v6_mobile_chart_stabilise.py (Python, 106 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_mobile_chart_stabilise.py#L1-L106 - Page: https://code.globalgrid2050.com/explore-code/s/1778.html#f2 - Synopsis: A Python module in the scripts folder. - What it achieves (name): It writes `uk_energy_tracking_v6/V6_REPAIR_MOBILE_CHART_STABILISE_REPORT.md`. - What it does: It loads data. Uses libraries pathlib. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Mobile Chart Stabilise Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Mobile Inspect Buttons - File: globalgrid2050/scripts/repair_v6_mobile_inspect_buttons.py (Python, 138 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_mobile_inspect_buttons.py#L1-L138 - Page: https://code.globalgrid2050.com/explore-code/s/1778.html#f3 - Synopsis: A Python command-line tool in the scripts folder that patches renderer (`patch_renderer`) and writes report (`write_report`). It replaces once (`replace_once`) and is built from the bump cache helper (`bump_cache`). - What it achieves (name): Defines `read`, `write`, `must_contain` and 4 more. - What it does: It draws its content. Defines 8 functions or classes, including read, write, must_contain, replace_once, patch_renderer. Uses libraries pathlib, datetime, re. Side effects: changes the web page (DOM); reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Mobile Inspect Buttons Workflow (globalgrid2050). - Signatures: `read(path)`; `write(path, text)`; `must_contain(text, needle, label)`; `replace_once(text, old, new, label)`; `patch_renderer()`; `bump_cache(path)`; `write_report()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repair V6 Weekly Axis Padding - File: globalgrid2050/scripts/repair_v6_weekly_axis_padding.py (Python, 109 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repair_v6_weekly_axis_padding.py#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/1778.html#f4 - Synopsis: A Python command-line tool in the scripts folder that patches renderer (`patch_renderer`) and writes report (`write_report`). It replaces once (`replace_once`). - What it achieves (name): Defines `read`, `write`, `must_contain` and 3 more. - What it does: It loads data. Defines 7 functions or classes, including read, write, must_contain, replace_once, patch_renderer. Uses libraries pathlib, datetime. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Repair V6 Weekly Axis Padding Workflow (globalgrid2050). - Signatures: `read(path)`; `write(path, text)`; `must_contain(text, needle, label)`; `replace_once(text, old, new, label)`; `patch_renderer()`; `write_report()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Repin V9 Gates - File: globalgrid2050/scripts/repin_v9_gates.py (Python, 217 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/repin_v9_gates.py#L1-L217 - Page: https://code.globalgrid2050.com/explore-code/s/1778.html#f5 - Synopsis: A Python command-line tool in the scripts folder that works with working tree hashes (`working_tree_hashes`) and rewrite literals (`rewrite_literals`). - What it achieves (comment): It is built from the git step (`git`), the tree hashes at helper (`tree_hashes_at`) and the rewrite step (`rewrite`). Recompute every pinned V9 subtree hash from the working tree. - What it does: It loads data. Defines 8 functions or classes, including git, working_tree_hashes, tree_hashes_at, rewrite_literals, rewrite. Uses libraries __future__, json, os, re, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gates'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `git(*args: str, index: str | None = None)`; `working_tree_hashes()`; `tree_hashes_at(rev: str)`; `rewrite_literals(text: str, literal_map: dict[str, str])`; `rewrite(text: str, hashes: dict[str, str])`; `sub(match: re.Match)`; `rewrite_contract(path: Path, hashes: dict[str, str])`; `main()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 Test Generate V8 Codebase Blueprint - File: globalgrid2050/scripts/test_generate_v8_codebase_blueprint.py (Python, 30 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_generate_v8_codebase_blueprint.py#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/1779.html#f1 - Synopsis: A test in the scripts folder covering battery storage (BESS) and solar. - What it does: It tests battery storage (BESS) and solar. Uses libraries pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: battery storage (BESS), solar. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Generate V8 Codebase Blueprint Workflow (globalgrid2050); GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Test Make Publication - File: globalgrid2050/scripts/test_make_publication.py (Python, 335 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_make_publication.py#L1-L335 - Page: https://code.globalgrid2050.com/explore-code/s/1779.html#f2 - Synopsis: A test in the scripts folder that checks GlobalGrid2050 Make Publication, using SHA-256. It makes repo (`make_repo`), checks mode tests (`CheckModeTests`) and indexes revision tests (`IndexRevisionTests`). - What it achieves (comment): Unit tests for `scripts/make_publication.py`. - What it does: It tests its inputs. Defines 34 functions or classes, including git, make_repo, ManifestGenerationTests, test_writes_declarations_matching_the_committed_blobs, test_manifest_never_declares_itself. Uses libraries __future__, hashlib, json, os, subprocess. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file result.json; JSON file publication.json. Out: JSON file publication.json; JSON file result.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `git(repo, *args)`; `make_repo(files, stamp="testcode/202601010000")`; `class ManifestGenerationTests`; `test_writes_declarations_matching_the_committed_blobs(self)`; `test_manifest_never_declares_itself(self)`; `test_is_idempotent_byte_for_byte(self)`; `test_output_has_lf_endings_and_one_trailing_newline(self)`; `test_narrative_fields_survive_regeneration(self)`; `class CheckModeTests`; `test_check_fails_when_a_declaration_was_hand_edited(self)`; `test_check_fails_when_the_manifest_is_missing(self)`; `test_check_fails_when_a_tracked_file_is_undeclared(self)`; `class CrlfRegressionTests`; `test_crlf_working_copy_does_not_change_the_manifest(self)`; `test_a_crlf_derived_declaration_is_detected_and_classified(self)`; `test_a_plain_wrong_byte_count_is_not_blamed_on_crlf(self)`; `test_an_unrelated_digest_is_not_blamed_on_crlf(self)`; `test_crlf_expansion_arithmetic_is_one_byte_per_line_ending(self)`; `class ArchiveShapeTests`; `_seed(self, files_block)`; `test_stamp_relative_paths_are_preserved(self)`; `test_repo_root_relative_paths_are_preserved(self)`; `test_dict_keyed_files_block_is_preserved(self)`; `test_check_passes_on_correct_digests_but_strict_flags_formatting(self)`; `test_existing_entry_order_is_preserved_so_regeneration_is_a_no_op(self)` (and 9 more) - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file result.json; JSON file publication.json]; out [JSON file publication.json; JSON file result.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GlobalGrid2050 Test Verify Published Versions - File: globalgrid2050/scripts/test_verify_published_versions.py (Python, 165 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/test_verify_published_versions.py#L1-L165 - Page: https://code.globalgrid2050.com/explore-code/s/1779.html#f3 - Synopsis: A test in the scripts folder that checks GlobalGrid2050 Verify Published Versions, using SHA-256 using data from GitHub API and the GridAtlas repository. - What it achieves (comment): It is built from the publication truth tests class (`PublicationTruthTests`), the response class (`Response`) and the read step (`read`). Unit tests for fail-closed homepage publication and lineage checks. - What it does: It tests its inputs. Defines 11 functions or classes, including PublicationTruthTests, test_every_published_snapshot_is_reachable_and_the_newest_is_first, test_the_newest_published_wrapper_is_complete_and_hash_bound, test_github_token_is_scoped_to_github_api_and_raw_hosts, Response. Uses libraries __future__, hashlib, re, sys, unittest. Side effects: reads or writes files; makes network requests. - Inputs & outputs: In: data source: GitHub API; data source: gridatlas data; JSON file current.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Verify Published Versions Workflow (globalgrid2050). - Signatures: `class PublicationTruthTests`; `test_every_published_snapshot_is_reachable_and_the_newest_is_first(self)`; `test_the_newest_published_wrapper_is_complete_and_hash_bound(self)`; `test_github_token_is_scoped_to_github_api_and_raw_hosts(self)`; `class Response`; `__enter__(self)`; `__exit__(self, *_args)`; `read()`; `fake_urlopen(request, timeout)`; `class WorkflowExecutionBudgetTests`; `test_pinned_playwright_install_jobs_have_viable_timeouts(self)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: GitHub API; data source: gridatlas data; JSON file current.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### GlobalGrid2050 Track Repository Size - File: globalgrid2050/scripts/track_repository_size.py (Python, 234 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/track_repository_size.py#L1-L234 - Page: https://code.globalgrid2050.com/explore-code/s/1780.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches repository size history from GitHub API. It runs command (`run_command`), fetches GitHub repo metadata (`fetch_github_repo_metadata`) and reads history (`read_history`). - What it achieves (comment): Creates a root level Markdown report and CSV history using GitHub repository metadata plus optional local checkout measurements when run inside GitHub. - What it does: It fetches repository size history. Defines 11 functions or classes, including utc_now, mb_from_kb, run_command, local_du_kb, git_objects_summary. Uses libraries __future__, csv, json, os, subprocess. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: README: "It can be updated manually through the `Track Repository Size` GitHub Actions workflow and is scheduled to run once per month." - Inputs & outputs: In: data source: GitHub API; CSV file repository_size_history.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Track Repository Size Workflow (globalgrid2050). - Signatures: `utc_now()`; `mb_from_kb(kb: float | int | None)`; `run_command(args: list[str])`; `local_du_kb(path: Path)`; `git_objects_summary()`; `fetch_github_repo_metadata()`; `read_history()`; `append_history(row: dict[str, object])`; `status_for_size(size_mb: float | None)`; `write_report(row: dict[str, object], history: list[dict[str, str]])`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: GitHub API; CSV file repository_size_history.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Update Commodities V5 - File: globalgrid2050/scripts/update_commodities_v5.py (Python, 348 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_commodities_v5.py#L1-L348 - Page: https://code.globalgrid2050.com/explore-code/s/1780.html#f2 - Synopsis: A Python command-line tool in the scripts folder that fetches live oil prices, oil price history and fredgraph. It parses dt (`parse_dt`) and loads existing live (`load_existing_live`). - What it achieves (name): Defines `build_session`, `now_dt`, `now_utc` and 13 more. - What it does: It fetches live oil prices, oil price history and fredgraph. Defines 17 functions or classes, including build_session, now_dt, now_utc, display_utc, parse_dt. Uses libraries csv, json, os, datetime, io. Side effects: reads or writes files; makes network requests. - Inputs & outputs: In: JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; CSV file fredgraph.csv. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Update Prices Workflow (globalgrid2050). - Signatures: `build_session()`; `now_dt()`; `now_utc()`; `display_utc(dt)`; `parse_dt(value)`; `load_existing_live()`; `should_skip_live_update()`; `yahoo_price(ticker)`; `fetch_fx()`; `fetch_live_commodities()`; `yahoo_history(ticker)`; `fred_csv(series)`; `load_existing_history()`; `history_is_recent(existing)`; `add_rows(merged, rows, field)`; `oil_history_geojson()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live_oil_prices.json; GeoJSON file oil_price_history.geojson; CSV file fredgraph.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Update UK Frequency Daily V5 - File: globalgrid2050/scripts/update_uk_frequency_daily_v5.py (Python, 239 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_frequency_daily_v5.py#L1-L239 - Page: https://code.globalgrid2050.com/explore-code/s/1781.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads rows and daily existing and reads validation history, covering grid frequency history and live grid frequency daily health. - What it achieves (comment): It reads raw rows (`read_raw_rows`), reads daily existing (`read_daily_existing`) and summarises daily (`summarise_daily`). GlobalGrid2050 V5 daily frequency health and validation layer. - What it does: Defines 10 functions or classes, including date_key, read_raw_rows, read_daily_existing, summarise_daily, write_daily. Uses libraries __future__, csv, json, datetime, pathlib. Side effects: reads or writes files. - Inputs & outputs: In: CSV file grid_frequency_history.csv; CSV file grid_frequency_daily_health.csv; JSON file live_grid_frequency_daily_health.json; CSV file grid_frequency_validation.csv; JSON file live_grid_frequency_validation.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Update UK Frequency Daily V5 Workflow (globalgrid2050). - Signatures: `date_key(dt: datetime)`; `read_raw_rows()`; `read_daily_existing()`; `summarise_daily(rows: list[dict])`; `write_daily(rows: list[dict])`; `read_validation_history()`; `validate_latest(raw_rows: list[dict])`; `write_validation(row: dict)`; `write_report(daily_rows: list[dict], validation: dict)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [CSV file grid_frequency_history.csv; CSV file grid_frequency_daily_health.csv; JSON file live_grid_frequency_daily_health.json; CSV file grid_frequency_validation.csv; JSON file live_grid_frequency_validation.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GlobalGrid2050 Update UK Frequency V5 - File: globalgrid2050/scripts/update_uk_frequency_v5.py (Python, 372 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_frequency_v5.py#L1-L372 - Page: https://code.globalgrid2050.com/explore-code/s/1781.html#f2 - Synopsis: A Python command-line tool in the scripts folder that fetches grid frequency history, live grid frequency weekly health and grid frequency weekly health from Elexon Balancing Mechanism Reporting Service (BMRS). - What it achieves (comment): It parses time (`parse_time`), extracts rows (`extract_rows`) and fetches frequency rows window (`fetch_frequency_rows_for_window`). GlobalGrid2050 V5 UK grid frequency collector. - What it does: It fetches grid frequency history, live grid frequency weekly health and grid frequency weekly health. Defines 17 functions or classes, including utc_now, iso_z, parse_time, week_start, http_json. Uses libraries __future__, csv, json, os, time. Side effects: reads or writes files; makes network requests. - Inputs & outputs: In: data source: Elexon BMRS; CSV file grid_frequency_history.csv; JSON file live_grid_frequency.json; CSV file grid_frequency_weekly_health.csv; JSON file live_grid_frequency_weekly_health.json. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Fetch UK Frequency V5 Workflow (globalgrid2050); GlobalGrid2050 Backfill UK Frequency Weekly V5 (globalgrid2050); GlobalGrid2050 Update UK Frequency Daily V5 (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Backfill UK Frequency Weekly V5 Workflow (globalgrid2050); GlobalGrid2050 Update UK Frequency Daily V5 Workflow (globalgrid2050). - Signatures: `utc_now()`; `iso_z(dt: datetime)`; `parse_time(value: Any)`; `week_start(dt: datetime)`; `http_json(url: str)`; `candidate_urls(start: datetime, end: datetime)`; `extract_rows(payload: Any)`; `fetch_frequency_rows_for_window(start: datetime, end: datetime)`; `fetch_frequency_rows()`; `read_existing_raw()`; `read_weekly_existing()`; `weekly_summary_from_rows(rows: list[dict[str, Any]])`; `write_weekly_outputs(new_rows: list[dict[str, Any]])`; `write_outputs(rows: list[dict[str, Any]], errors: list[str])`; `write_report(errors: list[str])`; `run_once()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; CSV file grid_frequency_history.csv; JSON file live_grid_frequency.json; CSV file grid_frequency_weekly_health.csv; JSON file live_grid_frequency_weekly_health.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GlobalGrid2050 Update UK Frequency V6 - File: globalgrid2050/scripts/update_uk_frequency_v6.py (Python, 368 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_uk_frequency_v6.py#L1-L368 - Page: https://code.globalgrid2050.com/explore-code/s/1782.html#f1 - Synopsis: A Python command-line tool in the scripts folder that fetches grid frequency history, live grid frequency weekly health and grid frequency weekly health from Elexon Balancing Mechanism Reporting Service (BMRS). - What it achieves (comment): It parses time (`parse_time`), extracts rows (`extract_rows`) and fetches frequency rows window (`fetch_frequency_rows_for_window`). GlobalGrid2050 V6 UK grid frequency collector. - What it does: It fetches grid frequency history, live grid frequency weekly health and grid frequency weekly health. Defines 17 functions or classes, including utc_now, iso_z, parse_time, week_start, http_json. Uses libraries __future__, csv, json, os, time. Side effects: reads or writes files; makes network requests. - Inputs & outputs: In: data source: Elexon BMRS; CSV file grid_frequency_history.csv; JSON file live_grid_frequency.json; CSV file grid_frequency_weekly_health.csv; JSON file live_grid_frequency_weekly_health.json. - Downstream impact: Used directly by 3 files: GlobalGrid2050 Compare UK Energy V5 V6 V3 (globalgrid2050); GlobalGrid2050 Fetch UK Frequency V6 Workflow (globalgrid2050); GlobalGrid2050 Update V5 V6 Granular Change Tracker (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Compare UK Energy V5 V6 V3 Workflow (globalgrid2050); GlobalGrid2050 Update V5 V6 Granular Change Tracker Workflow (globalgrid2050). - Signatures: `utc_now()`; `iso_z(dt: datetime)`; `parse_time(value: Any)`; `week_start(dt: datetime)`; `http_json(url: str)`; `candidate_urls(start: datetime, end: datetime)`; `extract_rows(payload: Any)`; `fetch_frequency_rows_for_window(start: datetime, end: datetime)`; `fetch_frequency_rows()`; `read_existing_raw()`; `read_weekly_existing()`; `weekly_summary_from_rows(rows: list[dict[str, Any]])`; `write_weekly_outputs(new_rows: list[dict[str, Any]])`; `write_outputs(rows: list[dict[str, Any]], errors: list[str])`; `write_report(errors: list[str])`; `run_once()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: Elexon BMRS; CSV file grid_frequency_history.csv; JSON file live_grid_frequency.json; CSV file grid_frequency_weekly_health.csv; JSON file live_grid_frequency_weekly_health.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### GlobalGrid2050 Update V5 V6 Granular Change Tracker - File: globalgrid2050/scripts/update_v5_v6_granular_change_tracker.py (Python, 222 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/update_v5_v6_granular_change_tracker.py#L1-L222 - Page: https://code.globalgrid2050.com/explore-code/s/1782.html#f2 - Synopsis: A Python command-line tool in the scripts folder that works with line count (`line_count`) and script sources (`script_sources`), using SHA-256. - What it achieves (comment): It is built from the read step (`read`), the sha step (`sha`) and the table step (`table`). Generate a granular V5 to V6 change tracker before major V6 upgrades. - What it does: It loads data. Defines 8 functions or classes, including read, sha, line_count, table, git. Uses libraries __future__, hashlib, json, re, subprocess. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Compare UK Energy V5 V6 V3 (globalgrid2050); GlobalGrid2050 Update V5 V6 Granular Change Tracker Workflow (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Compare UK Energy V5 V6 V3 Workflow (globalgrid2050). - Signatures: `read(rel: str)`; `sha(path: Path)`; `line_count(path: Path)`; `table(headers: list[str], rows: list[list[object]])`; `git(cmd: list[str])`; `recent_commits_for(rel: str, limit: int = 6)`; `script_sources(index_text: str)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (script-call 4); used by 2; mentioned by 0 ### GlobalGrid2050 Upgrade V5 Engineering Clarity - File: globalgrid2050/scripts/upgrade_v5_engineering_clarity.py (Python, 374 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/upgrade_v5_engineering_clarity.py#L1-L374 - Page: https://code.globalgrid2050.com/explore-code/s/1783.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads 33kV, substations, transformers and cables. - What it achieves (name): Defines `replace_once`, `replace_js_function`, `patch_html` and 3 more. Its code works with 33 kV, 0.00 MVA and 10 MW. - What it does: It loads 33kV, substations, transformers and cables. Defines 7 functions or classes, including replace_once, replace_js_function, patch_html, patch_calculations, patch_ui_core. Uses libraries pathlib, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 33kV, substations, transformers, cables. - Inputs & outputs: In: form fields (user input). Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V5 Engineering Clarity Upgrade Workflow (globalgrid2050). - Signatures: `replace_once(text, old, new, label, actions)`; `replace_js_function(text, fn_name, replacement, label, actions)`; `patch_html(actions)`; `patch_calculations(actions)`; `patch_ui_core(actions)`; `write_report(actions)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Upgrade V5 Skid MVA Controls - File: globalgrid2050/scripts/upgrade_v5_skid_mva_controls.py (Python, 353 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/upgrade_v5_skid_mva_controls.py#L1-L353 - Page: https://code.globalgrid2050.com/explore-code/s/1784.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads transformers, substations, 33kV and cables. - What it achieves (name): Defines `replace_once`, `replace_js_function`, `patch_html` and 3 more. Its code works with 33 kV, 0.00 MVA and 10 MW. - What it does: It loads transformers, substations, 33kV and cables. Defines 7 functions or classes, including replace_once, replace_js_function, patch_html, patch_calculations, patch_ui_core. Uses libraries pathlib, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, substations, 33kV, cables. - Inputs & outputs: In: form fields (user input). Voltage levels named: 33kV. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V5 Skid MVA Controls Upgrade Workflow (globalgrid2050). - Signatures: `replace_once(text, old, new, label, actions)`; `replace_js_function(text, fn_name, replacement, label, actions)`; `patch_html(actions)`; `patch_calculations(actions)`; `patch_ui_core(actions)`; `write_report(actions)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [33kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 V2 Safe Patch - File: globalgrid2050/scripts/v2_safe_patch.py (Python, 40 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/v2_safe_patch.py#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1784.html#f2 - Synopsis: A Python module in the scripts folder. - What it does: It loads data. Uses libraries pathlib. Side effects: reads or writes files. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Run V2 Safe Patch Workflow (globalgrid2050). - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 V6 Complex Upgrade Installer - File: globalgrid2050/scripts/v6_complex_upgrade_installer.py (Python, 479 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/v6_complex_upgrade_installer.py#L1-L479 - Page: https://code.globalgrid2050.com/explore-code/s/1785.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads solar, battery storage (BESS) and cables. It parses bool (`parse_bool`), reads yaml (`read_yaml`) and normalises list (`normalise_list`). - What it achieves (comment): Controlled controller for V6 upgrade manifests. It accepts `--active-file`, `--upgrade-id` and `--target-app`. - What it does: It loads solar, battery storage (BESS) and cables. Defines 24 functions or classes, including UpgradeError, parse_bool, rel, is_inside, safe_repo_path. Uses libraries __future__, argparse, datetime, re, shutil. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), cables. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 2 files: GlobalGrid2050 V6 Complex Upgrade Install Workflow (globalgrid2050); GlobalGrid2050 V6 GIS Single-Line Diagram (SLD) Validation Test Workflow (globalgrid2050). - Signatures: `class UpgradeError`; `parse_bool(value: str | bool | None, default: bool = False)`; `rel(path: Path)`; `is_inside(child: Path, parent: Path)`; `safe_repo_path(path_text: str)`; `read_yaml(path: Path)`; `normalise_list(value: Any, field_name: str)`; `validate_upgrade_id(upgrade_id: str)`; `validate_target_app(target_app: str)`; `read_active_file(active_file: Path)`; `load_manifest(upgrade_id: str)`; `validate_allowed_paths(manifest: dict[str, Any])`; `path_allowed(path: Path, allowed_paths: list[Path])`; `validate_write_path(path_text: str, allowed_paths: list[Path], allow_outside_v6: bool)`; `validate_manifest(manifest: dict[str, Any], upgrade_id: str, target_app: str)`; `apply_overlay_files(upgrade_dir: Path, allowed_paths: list[Path], allow_outside_v6: bool, dry_run: bool)`; `read_text_file(path: Path)`; `write_text_file(path: Path, text: str, dry_run: bool)`; `apply_operation(op: dict[str, Any], allowed_paths: list[Path], allow_outside_v6: bool, dry_run: bool)`; `run_checks(checks: list[Any], allowed_paths: list[Path], allow_outside_v6: bool)`; `write_report(*, upgrade_id: str, target_app: str, dry_run: bool, status: str, manifest_path: Path | None, allowed_paths: list[str]...)`; `resolve_inputs(args: argparse.Namespace)`; `run(args: argparse.Namespace)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 V6 Guardrail Preflight - File: globalgrid2050/scripts/v6_guardrail_preflight.py (Python, 142 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/v6_guardrail_preflight.py#L1-L142 - Page: https://code.globalgrid2050.com/explore-code/s/1785.html#f2 - Synopsis: A Python command-line tool in the scripts folder that works with changed files (`changed_files`) and matches any (`matches_any`). - What it achieves (comment): It is built from the run step (`run`), the is v6 app file helper (`is_v6_app_file`) and the is allowed infra helper (`is_allowed_infra`). This script is intended to be used as a required GitHub status check. - What it does: Defines 6 functions or classes, including run, changed_files, matches_any, is_v6_app_file, is_allowed_infra. Uses libraries __future__, os, re, subprocess, sys. Side effects: reads or writes files; starts processes. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V6 Guardrail Preflight Workflow (globalgrid2050). - Signatures: `run(cmd: list[str])`; `changed_files()`; `matches_any(path: str, patterns: list[re.Pattern[str]])`; `is_v6_app_file(path: str)`; `is_allowed_infra(path: str)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 V6 Migrate from V5 - File: globalgrid2050/scripts/v6_migrate_from_v5.py (Python, 238 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/v6_migrate_from_v5.py#L1-L238 - Page: https://code.globalgrid2050.com/explore-code/s/1786.html#f1 - Synopsis: A Python command-line tool in the scripts folder that reads cables, solar and battery storage (BESS). - What it achieves (name): It patches links (`patch_links`) and is built from the launcher HTML helper (`launcher_html`) and the readme text helper (`readme_text`). Defines `read`, `write`, `copy_file` and 4 more. It writes `index.html`. - What it does: It loads cables, solar and battery storage (BESS). Defines 7 functions or classes, including read, write, copy_file, patch_links, launcher_html. Uses libraries pathlib, shutil, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: cables, solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: GlobalGrid2050 V6 Migrate from V5 Workflow (globalgrid2050). - Signatures: `read(path: Path)`; `write(path: Path, text: str)`; `copy_file(src: Path, dst: Path)`; `patch_links(html: str, app_name: str)`; `launcher_html()`; `readme_text()`; `migrate()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 V6 Sanity Label Fix - File: globalgrid2050/scripts/v6_sanity_label_fix.py (Python, 50 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/v6_sanity_label_fix.py#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/1786.html#f2 - Synopsis: A Python command-line tool in the scripts folder that reads solar, battery storage (BESS) and cables. - What it does: It loads solar, battery storage (BESS) and cables. Defines main. Uses libraries pathlib, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), cables. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V6 Sanity Label Fix Workflow (globalgrid2050). - Signatures: `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 V7 Migrate from V6 - File: globalgrid2050/scripts/v7_migrate_from_v6.py (Python, 195 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/v7_migrate_from_v6.py#L1-L195 - Page: https://code.globalgrid2050.com/explore-code/s/1786.html#f3 - Synopsis: A Python command-line tool in the scripts folder that reads solar and battery storage (BESS). It reads text (`read_text`), writes text (`write_text`) and patches text (`patch_text`). - What it achieves (comment): Creates a brand new V7 folder from the current V6 workspace. It accepts `--overwrite`. - What it does: It loads solar and battery storage (BESS). Defines 8 functions or classes, including rel, read_text, write_text, patch_text, patch_v7_files. Uses libraries __future__, argparse, datetime, shutil, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: GlobalGrid2050 V7 Migrate from V6 Workflow (globalgrid2050). - Signatures: `rel(path: Path)`; `read_text(path: Path)`; `write_text(path: Path, text: str)`; `patch_text(text: str)`; `patch_v7_files()`; `write_report(actions: list[str], overwrite: bool)`; `migrate(overwrite: bool)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Validate Project Identity V6 - File: globalgrid2050/scripts/validate_project_identity_v6.py (Python, 247 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/validate_project_identity_v6.py#L1-L247 - Page: https://code.globalgrid2050.com/explore-code/s/1787.html#f1 - Synopsis: A Python module in the scripts folder that reads major project news, project news links, the Renewable Energy Planning Database (REPD) register and solar, using SHA-256. - What it achieves (comment): It is built from the check step (`check`), the load step (`load`) and the clean step (`clean`). Validate V6 project/development identities and news relationships. - What it does: It loads major project news, project news links, the REPD register and solar. Defines check, load, clean, number. Uses libraries __future__, hashlib, json, math, os. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar. - Inputs & outputs: In: JSON file major_project_news_v6.json; JSON file project_news_links_v6.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Major Project News V6 Workflow (globalgrid2050). - Signatures: `check(condition, gate, detail="")`; `load(path)`; `clean(value)`; `number(value)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file major_project_news_v6.json; JSON file project_news_links_v6.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GlobalGrid2050 Validate Renewables V5 Integrity - File: globalgrid2050/scripts/validate_renewables_v5_integrity.py (Python, 79 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/validate_renewables_v5_integrity.py#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/1787.html#f2 - Synopsis: A Python module in the scripts folder that reads Renewable Energy Planning Database (REPD) master, major project news and the REPD register. - What it does: It loads REPD master, major project news and the REPD register. Uses libraries pathlib, json, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file repd_master.json; JSON file major_project_news_v5.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Major Project News V5 Workflow (globalgrid2050); GlobalGrid2050 Repair V5 News Loader Workflow (globalgrid2050). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file repd_master.json; JSON file major_project_news_v5.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### GlobalGrid2050 Validate Renewables V6 Integrity - File: globalgrid2050/scripts/validate_renewables_v6_integrity.py (Python, 7 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/validate_renewables_v6_integrity.py#L1-L7 - Page: https://code.globalgrid2050.com/explore-code/s/1787.html#f3 - Synopsis: A Python command-line tool in the scripts folder. - What it achieves (comment): Compatibility entry point for the authoritative V6 scope validator. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### GlobalGrid2050 Validate Renewables V6 Scope - File: globalgrid2050/scripts/validate_renewables_v6_scope.py (Python, 605 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/validate_renewables_v6_scope.py#L1-L605 - Page: https://code.globalgrid2050.com/explore-code/s/1787.html#f4 - Synopsis: A Python command-line tool in the scripts folder that reads renewables integrity, major projects, major project news and Renewable Energy Planning Database (REPD) master, using SHA-256. - What it achieves (comment): It is built from the clean step (`clean`), the norm step (`norm`) and the number step (`number`). End-to-end V6 release gate, including immutable V1–V5 regression controls. Its code works with 150 MW, 1 MW and 100 MW. - What it does: It loads renewables integrity, major projects, major project news and REPD master. Defines 9 functions or classes, including clean, norm, number, git_blob_sha, json_sha. Uses libraries __future__, hashlib, json, math, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'renewables'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file renewables_v6_integrity.json; JSON file major_projects_v6.json; JSON file major_project_news_v6.json; JSON file repd_master.json; JSON file major_project_news_v5.json; JSON file manifest_v6.json; JSON file repd_source_reconciliation_v6.json; JSON file project_identity_v6_integrity.json. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Major Project News V6 Workflow (globalgrid2050); GlobalGrid2050 Validate Renewables V6 Integrity (globalgrid2050). - Signatures: `clean(value)`; `norm(value)`; `number(value)`; `git_blob_sha(path)`; `json_sha(value)`; `main()`; `check(condition, gate, detail="")`; `load(path)`; `fixture_story(title, source, source_url)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file renewables_v6_integrity.json; JSON file major_projects_v6.json; JSON file major_project_news_v6.json; JSON file repd_master.json; JSON file major_project_news_v5.json; JSON file manifest_v6.json; JSON file repd_source_reconciliation_v6.json; JSON file project_identity_v6_integrity.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### GlobalGrid2050 Validate V6 Manifest Provenance - File: globalgrid2050/scripts/validate_v6_manifest_provenance.py (Python, 78 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/validate_v6_manifest_provenance.py#L1-L78 - Page: https://code.globalgrid2050.com/explore-code/s/1788.html#f2 - Synopsis: A Python module in the scripts folder that reads solar and battery storage (BESS). It is built from the need step (`need`) and the load step (`load`). - What it achieves (comment): Validate that V6 is bound to the reconciled, immutable Q2 2026 release. - What it does: It loads solar and battery storage (BESS). Defines need, load. Uses libraries __future__, json, pathlib, urllib.parse. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - Downstream impact: Used directly by 1 file: GlobalGrid2050 Major Project News V6 Workflow (globalgrid2050). - Signatures: `need(condition, message)`; `load(path: Path)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GlobalGrid2050 Verify Published Versions - File: globalgrid2050/scripts/verify_published_versions.py (Python, 802 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/scripts/verify_published_versions.py#L1-L802 - Page: https://code.globalgrid2050.com/explore-code/s/1788.html#f3 - Synopsis: A Python command-line tool in the scripts folder that fetches homepage catalogue, using SHA-256 from GitHub API and the PipelineNews and GridAtlas repositories. - What it achieves (comment): It parses GridAtlas catalogue (`parse_gridatlas_catalogue`), checks GridAtlas catalogue retention (`check_gridatlas_catalogue_retention`) and checks GridAtlas homepage identity (`check_gridatlas_homepage_identity`). Fail when a Pipeline News version is published but not reachable, or named but not published. It accepts `--json` and `--offline`. - What it does: It fetches homepage catalogue. Defines 13 functions or classes, including Failure, fetch, published_snapshots, named_on_homepage, parse_gridatlas_catalogue. Uses libraries __future__, argparse, hashlib, json, os. Side effects: reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: data source: GitHub API; data source: pipelinenews data; data source: gridatlas data; JSON file homepage-catalogue.json; JSON file current.json; command-line arguments. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Verify Published Versions Workflow (globalgrid2050); GlobalGrid2050 Test Verify Published Versions (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `class Failure`; `fetch(url: str, timeout: int = 20)`; `published_snapshots()`; `named_on_homepage(text: str)`; `parse_gridatlas_catalogue(text: str, failures: list[str], *, required: bool = True)`; `catalogue_digest(records: list[dict])`; `archived_gridatlas_record(record: dict)`; `check_gridatlas_catalogue_retention(records: list[dict])`; `check_gridatlas_homepage_identity(text: str, report: dict)`; `version_key(record: dict)`; `check_offline(report: dict)`; `check_network(report: dict)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: GitHub API; data source: pipelinenews data; data source: gridatlas data; JSON file homepage-catalogue.json; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0 ### Build State - File: globalgrid2050/testcode/202609142202/build_state.mjs (JavaScript, 520 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/build_state.mjs#L1-L520 - Page: https://code.globalgrid2050.com/explore-code/s/1790.html#f1 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that fetches names, blocks and families, using SHA-256 from the stars and star-maker repositories. - What it achieves (comment): It fetches bytes (`fetchBytes`), fetches JSON (`fetchJson`) and fetches text (`fetchText`). Quantum Twin Star data builder (node >= 20, fetch built in). - What it does: It fetches names, blocks and families. Defines 14 functions or classes, including sha256, fetchBytes, fetchJson, fetchText, mapLimit. Uses libraries node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "Pack built 2026-09-14T22:14:00Z by `build_state.mjs` from `https://ventusltd.github.io/stars/` (code/index.json, code/names.json, blocks/blocks.json, blocks/families.json, 160 bucket files code/f/*.json, spider/graphs/random.json) and `raw.githubusercontent.com/Ventusltd/star-maker/c5bf5f6518feba594bb057988e8e99ca81044952/…` (electron/graph.json, electron/atoms.json, random/graph.json, soul/graph.json, SOUL.md, ELECTRON.md)" - Inputs & outputs: In: data source: stars data; data source: star-maker data; JSON file index.json; JSON file names.json; JSON file blocks.json; JSON file families.json; JSON file graph.json; JSON file atoms.json. Out: JSON file provenance.json. - Downstream impact: Used directly by 1 file: Amend Pack (globalgrid2050). - Signatures: `export parseConductionBand(md)`; `sha256(buf)`; `fetchBytes(url, { retries = 4 } = {})`; `fetchJson(url)`; `fetchText(url)`; `mapLimit(items, limit, fn)`; `worker()`; `isU32(x)`; `main()`; `warn(m)`; `parseReason(reason)`; `labelKey(label)`; `mdAtomsTotal(/^)`; `addNode(key, node, src)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: stars data; data source: star-maker data; JSON file index.json; JSON file names.json; JSON file blocks.json; JSON file families.json; JSON file graph.json; JSON file atoms.json]; out [JSON file provenance.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 1 ### Prng Check - File: globalgrid2050/testcode/202609142202/proof/critic/prng_check.mjs (JavaScript, 20 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/proof/critic/prng_check.mjs#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1790.html#f2 - Synopsis: A JavaScript module in the critic folder of GlobalGrid2050 that reads electron and entangled. - What it achieves (comment): It is built from the hash32 step (`hash32`), the mulberry32 step (`mulberry32`) and the soul num helper (`soulNum`). Physics critic round 1: reproduce the page's PRNG chain from `quantum.js` (hash32 FNV-1a + mulberry32) and check convergence. - What it does: It loads electron and entangled. Defines hash32, mulberry32, soulNum. Uses libraries node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file electron.json; JSON file entangled.json; JSON file random.json. - Signatures: `hash32(str)`; `mulberry32(a)`; `soulNum(k)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file electron.json; JSON file entangled.json; JSON file random.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Remeasure - File: globalgrid2050/testcode/202609142202/proof/critic/remeasure.mjs (JavaScript, 26 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/proof/critic/remeasure.mjs#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/1790.html#f3 - Synopsis: A JavaScript module in the critic folder of GlobalGrid2050. It is built from the sleep step (`sleep`) and the hud step (`hud`). - What it achieves (comment): Physics critic round 1: what does a second measurement inside the 8 s "collapsed" window do? - What it does: It lists and searches its content. Defines sleep, hud, st. Uses libraries node:fs, node:module, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: JSON file remeasure.json. - Signatures: `sleep(ms)`; `hud()`; `st()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file remeasure.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Physics2 - File: globalgrid2050/testcode/202609142202/proof/critic2/physics2.mjs (JavaScript, 87 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/proof/critic2/physics2.mjs#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/1790.html#f4 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that works with born line (`bornLine`). - What it achieves (comment): It is built from the sleep step (`sleep`), the hud step (`hud`) and the state line helper (`stateLine`). Physics critic round 2: measure what the page prints and does (headless Chrome, reads only). It writes `physics2.json`. - What it does: It lists and searches its content. Defines 6 functions or classes, including sleep, hud, stateLine, bornLine, search. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: JSON file physics2.json. - Signatures: `sleep(ms)`; `hud()`; `stateLine()`; `bornLine()`; `search(q)`; `pT(a)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file physics2.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Physics2b - File: globalgrid2050/testcode/202609142202/proof/critic2/physics2b.mjs (JavaScript, 39 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/proof/critic2/physics2b.mjs#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/1790.html#f5 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that works with focus soul (`focusSoul`) and drag measure (`dragMeasure`). - What it achieves (comment): It is built from the sleep step (`sleep`), the hud step (`hud`) and the line step (`line`). Physics critic round 2b: SOUL tier via the conduction band, `ENTANGLED_MAYBE` effective probability, noble-atom TUNNEL wording. It writes `physics2b.json`. - What it does: It lists and searches its content. Defines sleep, hud, line, focusSoul, dragMeasure. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: JSON file physics2b.json. - Signatures: `sleep(ms)`; `hud()`; `line(p)`; `focusSoul(n)`; `dragMeasure(dy)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file physics2b.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Gen2 - File: globalgrid2050/testcode/202609142202/proof/gen2.mjs (JavaScript, 183 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/proof/gen2.mjs#L1-L183 - Page: https://code.globalgrid2050.com/explore-code/s/1791.html#f1 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that draws provenance and cables. It opens page (`openPage`), measures fps (`measureFps`) and labels report (`labelReport`). - What it achieves (comment): Generation 2 self-test. Serves the repo on 127.0.0.1:8875, drives headless Chrome (GPU flags), runs the round-2 checks, writes `proof/gen2.json`, `proof/gen2.stdout`.txt (via the caller's redirect), `proof/gen2-server.log` and three screenshots, then stops the server. It reads `/data/provenance.json` and writes `/proof/gen2.json`. - What it does: It draws provenance and cables. Defines 13 functions or classes, including log, sleep, firstOutside, firstInside, openPage. Uses libraries node:module, node:fs, node:child_process, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: In: JSON file provenance.json. Out: JSON file gen2.json; WebGL/WebGPU drawing. - Signatures: `log(...a)`; `sleep(ms)`; `firstOutside(() => { for (let i = 0; i < uniq.length; i++) if (!famBuf[i]) return uniq[i]; })`; `firstInside(() => { for (let i = 0; i < uniq.length; i++) if (famBuf[i]) return uniq[i]; })`; `openPage(w, h, dpr, mobile)`; `hudLines(p)`; `hudFind(p, re)`; `consoleSummary(P)`; `measureFps(p)`; `state(p)`; `search(p, q)`; `labelReport(p)`; `m0(await state(page))`; `topAt(x, y)`; `handler(req)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file provenance.json]; out [JSON file gen2.json; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Prng Check2 - File: globalgrid2050/testcode/202609142202/proof/prng_check2.mjs (JavaScript, 7 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/proof/prng_check2.mjs#L1-L7 - Page: https://code.globalgrid2050.com/explore-code/s/1791.html#f2 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050. It is built from the hash32 step (`hash32`) and the mulberry32 step (`mulberry32`). - What it achieves (comment): PRNG check for the page's Born draw: r = first output of mulberry32(FNV-1a(`seedString`|soul|count)), exactly as `quantum.js` does it. - What it does: It calculates its inputs. Defines hash32, mulberry32. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `hash32(str)`; `mulberry32(a)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Proof - File: globalgrid2050/testcode/202609142202/proof/proof.mjs (JavaScript, 81 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/proof/proof.mjs#L1-L81 - Page: https://code.globalgrid2050.com/explore-code/s/1791.html#f3 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050. It is built from the run step (`run`). - What it achieves (comment): Headless-Chrome proof for testcode/ (puppeteer-core by absolute path, GPU flags as instructed). It writes `report.json`. - What it does: It lists and searches its content. Defines run. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: JSON file report.json. - Signatures: `run(width, height, name, interact)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file report.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Proof2 - File: globalgrid2050/testcode/202609142202/proof/proof2.mjs (JavaScript, 150 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/proof/proof2.mjs#L1-L150 - Page: https://code.globalgrid2050.com/explore-code/s/1791.html#f4 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that draws report2 and cables, using haversine and SHA-256. - What it achieves (comment): It is built from the sleep step (`sleep`), the new page helper (`newPage`) and the hud step (`hud`). Repair-round proof for testcode/ (puppeteer-core by absolute path, GPU flags as instructed). It writes `report2.json`. - What it does: It draws report2 and cables. Defines 9 functions or classes, including sleep, newPage, hud, hudFind, st. Uses libraries node:module, node:fs, node:child_process, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: Out: JSON file report2.json; WebGL/WebGPU drawing. - Signatures: `sleep(ms)`; `newPage(w, h, dpr, mobile)`; `hud(page)`; `hudFind(page, re)`; `st(page)`; `elecProbe()`; `annuli()`; `clickMeasure(page, n = 1, gap = 60)`; `reprepareAndMeasure(page, n)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file report2.json; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Publish Gen2 - File: globalgrid2050/testcode/202609142202/proof/publish-gen2.mjs (JavaScript, 22 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/proof/publish-gen2.mjs#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/1791.html#f5 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that reads publication and provenance, using SHA-256. - What it achieves (comment): Writes `publication.json`: bytes and sha256 of every shipped file in the folder (recursively), .log files excluded, `publication.json` itself excluded (it cannot carry its own hash). It reads `/publication.json` and writes `/publication.json`. - What it does: It loads publication and provenance. Uses libraries node:crypto, node:fs, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file publication.json; JSON file provenance.json; JSON file gen2.json. Out: JSON file publication.json. - Signatures: `walk(d)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file publication.json; JSON file provenance.json; JSON file gen2.json]; out [JSON file publication.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Review1 Check - File: globalgrid2050/testcode/202609142202/proof/review1_check.mjs (JavaScript, 140 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/proof/review1_check.mjs#L1-L140 - Page: https://code.globalgrid2050.com/explore-code/s/1791.html#f6 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that draws review1 report and cables. - What it achieves (comment): It is built from the sleep step (`sleep`), the new page helper (`newPage`) and the hud step (`hud`). Adversarial review round 1 — independent headless-Chrome measurements for testcode/. It writes `review1_report.json`. - What it does: It draws review1 report and cables. Defines 8 functions or classes, including sleep, newPage, hud, hudFind, hudAll. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core/package.json. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: Out: JSON file review1_report.json; WebGL/WebGPU drawing. - Signatures: `sleep(ms)`; `newPage(w, h, dpr, mobile)`; `hud(page)`; `hudFind(page, re)`; `hudAll(page, re)`; `elecProbe()`; `annuli()`; `gc()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file review1_report.json; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Review2 Check - File: globalgrid2050/testcode/202609142202/proof/review2_check.mjs (JavaScript, 121 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/proof/review2_check.mjs#L1-L121 - Page: https://code.globalgrid2050.com/explore-code/s/1792.html#f1 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that draws review2 report and cables, using SHA-256. - What it achieves (comment): It is built from the sleep step (`sleep`), the new page helper (`newPage`) and the hud step (`hud`). Adversarial review round 2 — headless probe (puppeteer-core by absolute path, GPU flags as instructed). It writes `review2_report.json`. - What it does: It draws review2 report and cables. Defines 7 functions or classes, including sleep, newPage, hud, hudFind, st. Uses libraries node:module, node:fs, node:child_process, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: Out: JSON file review2_report.json; WebGL/WebGPU drawing. - Signatures: `sleep(ms)`; `newPage(w, h, dpr, mobile)`; `hud(page)`; `hudFind(page, re)`; `st(page)`; `metrics(cdp)`; `w(n)`; `snap()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file review2_report.json; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Review2b Check - File: globalgrid2050/testcode/202609142202/proof/review2b_check.mjs (JavaScript, 68 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/proof/review2b_check.mjs#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/1792.html#f2 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that draws review2b report and cables. - What it achieves (comment): It is built from the sleep step (`sleep`), the new page helper (`newPage`) and the hud step (`hud`). Adversarial review round 2, part b: forged bucket (answered locally WITH a CORS header), context loss/restore, phone rotation, 375 px. It writes `review2b_report.json`. - What it does: It draws review2b report and cables. Defines sleep, newPage, hud, hudFind. Uses libraries node:module, node:fs, node:child_process, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: Out: JSON file review2b_report.json; WebGL/WebGPU drawing. - Signatures: `sleep(ms)`; `newPage(w, h, dpr, mobile)`; `hud(page)`; `hudFind(page, re)`; `snap()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file review2b_report.json; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Verify 1 - File: globalgrid2050/testcode/202609142202/proof/verify-1.mjs (JavaScript, 156 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/proof/verify-1.mjs#L1-L156 - Page: https://code.globalgrid2050.com/explore-code/s/1792.html#f3 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that opens page (`openPage`) and renders with WebGL, using haversine. It opens page (`openPage`) and parses state (`parseState`). - What it achieves (comment): Independent GPU runner, round 1 — verification of `testcode/202609142202/index.html`. It writes `verify-1.json`. - What it does: It draws its content. Defines 8 functions or classes, including sleep, smi, hudLines, hudFind, fps3s. Uses libraries node:module, node:fs, node:child_process, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: JSON file verify-1.json; WebGL/WebGPU drawing. - Signatures: `sleep(ms)`; `smi()`; `hudLines(p)`; `hudFind(p, re)`; `fps3s(p)`; `rendererOwn(p)`; `openPage(width, height)`; `parseState(t)`; `stat(arr)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file verify-1.json; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify 1b - File: globalgrid2050/testcode/202609142202/proof/verify-1b.mjs (JavaScript, 80 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/proof/verify-1b.mjs#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/1792.html#f4 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that works with hud lines (`hudLines`) and hud find (`hudFind`). - What it achieves (comment): It parses state (`parseState`) and is built from the sleep step (`sleep`) and the hud lines helper (`hudLines`). Independent GPU runner, round 1 — supplement to `verify-1.mjs`. It writes `verify-1b.json`. - What it does: It loads data. Defines sleep, hudLines, hudFind, parseState. Uses libraries node:module, node:fs, node:child_process, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: JSON file verify-1b.json. - Signatures: `sleep(ms)`; `hudLines(p)`; `hudFind(p, re)`; `parseState(t)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file verify-1b.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify 2 - File: globalgrid2050/testcode/202609142202/proof/verify-2.mjs (JavaScript, 208 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/proof/verify-2.mjs#L1-L208 - Page: https://code.globalgrid2050.com/explore-code/s/1792.html#f5 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that draws families and electron, using haversine. It opens page (`openPage`) and measures fps (`measureFps`). - What it achieves (comment): Independent GPU runner, round 2. Reads only; writes `proof/verify-2.json` and two screenshots. run from anywhere: node C:`/Users/vikra/Documents/GitHub/globalgrid2050/testcode/202609142202/proof/verify-2.mjs`. It reads `/data/families.json` and writes `/proof/verify-2.json`. - What it does: It draws families and electron. Defines 11 functions or classes, including log, sleep, smi, stats, openPage. Uses libraries node:module, node:fs, node:child_process, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file families.json; JSON file electron.json; JSON file verify-2.json. Out: JSON file verify-2.json; WebGL/WebGPU drawing. - Signatures: `log(...a)`; `sleep(ms)`; `smi()`; `stats(arr)`; `openPage(w, h, tag)`; `hudText(p)`; `hudLines(p)`; `born(p)`; `stateLine(p)`; `measureFps(p)`; `topAt(x, y)`; `ang(k * 2.399963)`; `rend(R.desktop && R.desktop.renderer_fresh_context)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file families.json; JSON file electron.json; JSON file verify-2.json]; out [JSON file verify-2.json; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Bench - File: globalgrid2050/testcode/202609142225/proof/bench.mjs (JavaScript, 210 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/bench.mjs#L1-L210 - Page: https://code.globalgrid2050.com/explore-code/s/1793.html#f1 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that starts gpu (`startGpu`) and renders with WebGL, using haversine. - What it achieves (comment): It starts gpu (`startGpu`) and is built from the sleep step (`sleep`) and the mean step (`mean`). Star Generator GPU bench (owner decides offline from these measurements). Its code works with 1 Hz. It writes `bench.json`. - What it does: It draws its content. Defines 17 functions or classes, including sleep, mean, r1, log, startGpu. Uses libraries node:module, node:fs, node:child_process, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`proof/bench.mjs` is the benchmark (`proof/bench.json`, `proof/bench-table.md`, `proof/bench-.png`), whose figures are Table A and Table B of DECISION.md." - Inputs & outputs: In: JSON file bench.json; command-line arguments. Out: JSON file bench.json; WebGL/WebGPU drawing. - Signatures: `sleep(ms)`; `mean(a)`; `r1(x)`; `log(...a)`; `startGpu()`; `gpuWindow(t0, t1)`; `INSTRUMENT()`; `wrap(proto, name, n)`; `f(t)`; `FACTS()`; `interact(page, mobile, rect, ms)`; `drag(x0, y0, x1, y1)`; `tap(x, y)`; `benchLens(browser, lens, width)`; `VISIBLE()`; `coordination(browser, width)`; `compose(browser)`; `tapEl(sel, text)`; `add(q)`; `save()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file bench.json; command-line arguments]; out [JSON file bench.json; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Proof - File: globalgrid2050/testcode/202609142225/proof/build-proof.mjs (JavaScript, 89 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/build-proof.mjs#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/1793.html#f2 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that renders with WebGL. It is built from the load step (`load`). - What it achieves (comment): Star Generator build proof: loads each lens headless at 1440 and 430, records console errors, `scrollWidth`, counts from the live page, and screenshots to proof/build- - .png. It writes `build-proof.json`. - What it does: It draws its content. Defines load. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file build-proof.json; command-line arguments. Out: JSON file build-proof.json; WebGL/WebGPU drawing. - Signatures: `load(url, width, name, opts = {})` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file build-proof.json; command-line arguments]; out [JSON file build-proof.json; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Coder Diag Overlay - File: globalgrid2050/testcode/202609142225/proof/coder-diag-overlay.mjs (JavaScript, 49 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/coder-diag-overlay.mjs#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1793.html#f3 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050. It is built from the sleep step (`sleep`), the log step (`log`) and the drag step (`drag`). - What it achieves (comment): Diagnosis: why does a finger drag over the table lens's tile overlay not scroll it at 430 px? It writes `coder-diag-overlay.json`. - What it does: Defines sleep, log, drag, st. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. Out: JSON file coder-diag-overlay.json. - Signatures: `sleep(ms)`; `log(k, v)`; `drag(x0, y0, x1, y1, steps, dt)`; `st()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file coder-diag-overlay.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Coder Side - File: globalgrid2050/testcode/202609142225/proof/coder-side.mjs (JavaScript, 60 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/coder-side.mjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/1793.html#f4 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that closes panel handle (`closePanelByHandle`). - What it achieves (comment): It closes panel handle (`closePanelByHandle`) and is built from the sleep step (`sleep`) and the drag step (`drag`). Side tests for the mobile-coder critic: (A) a slow finger-scroll that starts on a tile — does the 450 ms press fire Measure / does a short one fire Navigate? It writes `coder-side.json`. - What it does: Defines sleep, drag, closePanelByHandle. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. Out: JSON file coder-side.json. - Signatures: `sleep(ms)`; `drag(x0, y0, x1, y1, steps = 8, dt = 20)`; `facts()`; `tileInBand()`; `closePanelByHandle()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file coder-side.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Coder Side2 - File: globalgrid2050/testcode/202609142225/proof/coder-side2.mjs (JavaScript, 41 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/coder-side2.mjs#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1793.html#f5 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050. It is built from the sleep step (`sleep`), the drag step (`drag`) and the facts step (`facts`). - What it achieves (comment): Long-press on a table tile by touch, with the overlay's fling settled first (the earlier attempt landed on a repo chip). It writes `coder-side2.json`. - What it does: Defines sleep, drag, facts. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. Out: JSON file coder-side2.json. - Signatures: `sleep(ms)`; `drag(x0, y0, x1, y1, steps = 8, dt = 20)`; `facts()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file coder-side2.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Coder Walk2 - File: globalgrid2050/testcode/202609142225/proof/coder-walk2.mjs (JavaScript, 152 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/coder-walk2.mjs#L1-L152 - Page: https://code.globalgrid2050.com/explore-code/s/1793.html#f6 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050. It is built from the sleep step (`sleep`), the begin step (`begin`) and the note step (`note`). - What it achieves (comment): Mobile-coder critic, round 1, pass 2: the same journey by touch, recovering the way a person would when the first pass got stuck (drag the panel handle down to see the table. It writes `coder-walk2.json`. - What it does: It loads data. Defines 7 functions or classes, including sleep, begin, note, shot, probe. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. Out: JSON file coder-walk2.json. - Signatures: `sleep(ms)`; `begin(name)`; `note(s)`; `shot(name)`; `probe(sel, text)`; `tapEl(sel, text, why)`; `drag(x0, y0, x1, y1, steps = 8, dt = 20)`; `facts()`; `vdInfo()`; `headBefore(await facts())`; `hp(await browser.pages())` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/testcode/202609142225/proof/coder-walk3.mjs) · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file coder-walk2.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Coder Walk3 - File: globalgrid2050/testcode/202609142225/proof/coder-walk3.mjs (JavaScript, 179 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/coder-walk3.mjs#L1-L179 - Page: https://code.globalgrid2050.com/explore-code/s/1794.html#f1 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050. It is built from the sleep step (`sleep`), the begin step (`begin`) and the note step (`note`). - What it achieves (comment): Mobile-coder critic, round 1, pass 3: the full journey by touch, now knowing that a closed panel still sits at y 436-796 (see `coder-diag-overlay.json`). It writes `coder-walk3.json`. - What it does: It loads data. Defines 7 functions or classes, including sleep, begin, note, shot, probe. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. Out: JSON file coder-walk3.json. - Signatures: `sleep(ms)`; `begin(name)`; `note(s)`; `shot(name)`; `probe(sel, text)`; `tapEl(sel, text, why)`; `drag(x0, y0, x1, y1, steps = 8, dt = 20)`; `facts()`; `vdInfo()`; `head0(await facts())`; `hp(await browser.pages())` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file coder-walk3.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Extract2 - File: globalgrid2050/testcode/202609142225/proof/extract2.py (Python, 22 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/extract2.py#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/1794.html#f2 - Synopsis: A Python module in the proof folder of GlobalGrid2050. - What it does: It loads data. Uses libraries json, struct, collections, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file data.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file data.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Extract3 - File: globalgrid2050/testcode/202609142225/proof/extract3.py (Python, 37 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/extract3.py#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/1794.html#f3 - Synopsis: A Python module in the proof folder of GlobalGrid2050 that reads families, blocks and provenance. - What it does: It loads families, blocks and provenance. Uses libraries json, struct, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file data.json; JSON file families.json; JSON file blocks.json; JSON file provenance.json; JSON file index.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file data.json; JSON file families.json; JSON file blocks.json; JSON file provenance.json; JSON file index.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Extract4 - File: globalgrid2050/testcode/202609142225/proof/extract4.py (Python, 15 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/extract4.py#L1-L15 - Page: https://code.globalgrid2050.com/explore-code/s/1794.html#f4 - Synopsis: A Python module in the proof folder of GlobalGrid2050 that reads journeys and lens mobile evidence. - What it achieves (name): It writes `../lens_mobile_evidence.json`. - What it does: It loads journeys and lens mobile evidence. Uses libraries json, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file data.json; JSON file journeys.json. Out: JSON file lens_mobile_evidence.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file data.json; JSON file journeys.json]; out [JSON file lens_mobile_evidence.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Extract Evidence - File: globalgrid2050/testcode/202609142225/proof/extract_evidence.py (Python, 20 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/extract_evidence.py#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1794.html#f5 - Synopsis: A Python module in the proof folder of GlobalGrid2050 that reads journeys. - What it achieves (name): Its name says it extracts evidence. - What it does: It loads journeys. Uses libraries json, struct, collections, re. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file data.json; JSON file journeys.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file data.json; JSON file journeys.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Final Check - File: globalgrid2050/testcode/202609142225/proof/final-check.mjs (JavaScript, 132 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/final-check.mjs#L1-L132 - Page: https://code.globalgrid2050.com/explore-code/s/1794.html#f6 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050. It is built from the sleep step (`sleep`), the check step (`check`) and the open step (`open`). - What it achieves (comment): Review round 2 (post-repair) self-test: one check per finding, plus the measurements `DECISION.md` Table B needs after the repair. It writes `final-check.json`. - What it does: It loads data. Defines sleep, check, open, DIMMED, pick. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`proof/final-check.mjs` is the self-test of the four fixes of that round plus the post-repair Table B measurements (`proof/final-check.json`, `proof/final-.png`): the category chip's dim bit read back out of `G.meta`, the chord lens's geometry count with the `depends on` chip on and off, the fold summary heights at 430 px, and the newest recipe chip's `×` hit-tested with `document.elementFromPoint`." - Inputs & outputs: In: command-line arguments. Out: JSON file final-check.json. - Signatures: `sleep(ms)`; `check(id, ok, detail)`; `open(url, width)`; `DIMMED()`; `pick(sel)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file final-check.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Grep Tests - File: globalgrid2050/testcode/202609142225/proof/grep-tests.sh (Shell, 21 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/grep-tests.sh#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1794.html#f7 - Synopsis: A shell script in the proof folder of GlobalGrid2050. - What it achieves (readme): The README says: `proof/grep-tests.sh` runs the §10.5 grep tests. - What it does: It tests its inputs. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`proof/grep-tests.sh` runs the §10.5 grep tests." - Downstream impact: It is itself an entry point (shell script); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Lens Grammar Proof - File: globalgrid2050/testcode/202609142225/proof/lens-grammar-proof.mjs (JavaScript, 74 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/lens-grammar-proof.mjs#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1794.html#f8 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 using data from the stars, ventus-grid-engine and code-generator repositories. - What it achieves (comment): Lens-grammar proof: measures each existing lens at phone width (430x900, touch) and desktop (1280x900). - What it does: Uses libraries node:module, node:fs, node:path, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: stars data; data source: ventus-grid-engine data; data source: code-generator data; JSON file lens-grammar-proof.json; command-line arguments. Out: JSON file lens-grammar-proof.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: stars data; data source: ventus-grid-engine data; data source: code-generator data; JSON file lens-grammar-proof.json; command-line arguments]; out [JSON file lens-grammar-proof.json]; crs []; voltages [] - Edges: uses 3 estate files (estate-url 3); used by 0; mentioned by 0 ### Repair Check - File: globalgrid2050/testcode/202609142225/proof/repair-check.mjs (JavaScript, 181 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/repair-check.mjs#L1-L181 - Page: https://code.globalgrid2050.com/explore-code/s/1794.html#f9 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that repairs round self-test: one check per finding of the review (blockers, majors, and the minors that were fixed). - What it achieves (readme): It is built from the sleep step (`sleep`), the check step (`check`) and the open step (`open`). The README says: `proof/repair-check.mjs` is the repair round's self-test (one check per review finding. It writes `repair-check.json`. - What it does: It loads data. Defines sleep, check, open. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`proof/repair-check.mjs` is the repair round's self-test (one check per review finding" - Inputs & outputs: In: command-line arguments. Out: JSON file repair-check.json. - Signatures: `sleep(ms)`; `check(id, ok, detail)`; `open(url, width, errs)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file repair-check.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Review1 Check - File: globalgrid2050/testcode/202609142225/proof/review1-check.mjs (JavaScript, 105 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/review1-check.mjs#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/1795.html#f1 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that draws review1 report. It is built from the sleep step (`sleep`), the open step (`open`) and the legend step (`legend`). - What it achieves (comment): Adversarial review round 1 — refutation checks against the served page (read-only on the page; writes only `review1-report.json` here). - What it does: It draws review1 report. Defines sleep, INSTRUMENT, open, legend, tap. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file review1-report.json; command-line arguments. Out: JSON file review1-report.json. - Signatures: `sleep(ms)`; `INSTRUMENT()`; `open(url, width, opts = {})`; `state()`; `legend()`; `tap(sel)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file review1-report.json; command-line arguments]; out [JSON file review1-report.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Review2 Check - File: globalgrid2050/testcode/202609142225/proof/review2-check.mjs (JavaScript, 130 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/proof/review2-check.mjs#L1-L130 - Page: https://code.globalgrid2050.com/explore-code/s/1795.html#f2 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that draws blocks and review2 report, and uses data from the stars and code-generator repositories. - What it achieves (comment): It is built from the sleep step (`sleep`), the say step (`say`) and the open step (`open`). Adversarial review round 2 — refutation checks against the served page. It reads `review2-report.json` and writes `review2-report.json`. - What it does: It draws blocks and review2 report. Defines 6 functions or classes, including sleep, say, INSTRUMENT, open, tapper. Uses libraries node:module, node:fs, C:/Users/vikra/Desktop/Claude-Sandbox-MSI/bench/node_modules/puppeteer-core. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`proof/review2-check.mjs` is the second review round's refutation harness (`proof/review2-report.json`)." - Inputs & outputs: In: data source: stars data; data source: code-generator data; JSON file index.json; JSON file blocks.json; JSON file 160.json; JSON file review2-report.json; command-line arguments. Out: JSON file review2-report.json. - Signatures: `sleep(ms)`; `ONLY(process.argv[3] || 'ABCDEFG')`; `say(k, v)`; `INSTRUMENT()`; `open(url, width, opts = {})`; `STATE()`; `tapper(page, width)`; `litCount()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: stars data; data source: code-generator data; JSON file index.json; JSON file blocks.json; JSON file 160.json; JSON file review2-report.json; command-line arguments]; out [JSON file review2-report.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Test Dual Compute - File: globalgrid2050/testcode/202609150010/test_dual_compute.py (Python, 55 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609150010/test_dual_compute.py#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/1795.html#f3 - Synopsis: A test in the testcode folder of GlobalGrid2050 that checks Concept Compute and Merge Results. It sets up class (`setUpClass`) and is built from the dual compute test class (`DualComputeTest`). - What it achieves (name): Defines `DualComputeTest`, `setUpClass`, `result` and 3 more. - What it does: It tests its inputs. Defines 6 functions or classes, including DualComputeTest, setUpClass, result, test_pinned_solar_evidence, test_local_and_ci_merge_when_identical. Uses libraries copy, json, tempfile, unittest, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Testcode Dual Compute Workflow (globalgrid2050). - Signatures: `class DualComputeTest`; `setUpClass(cls)`; `result(self, lane)`; `test_pinned_solar_evidence(self)`; `test_local_and_ci_merge_when_identical(self)`; `test_merge_rejects_divergence(self)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 2; mentioned by 0 ### Build - File: globalgrid2050/testcode/202609150125/proof/build.py (Python, 718 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609150125/proof/build.py#L1-L718 - Page: https://code.globalgrid2050.com/explore-code/s/1795.html#f4 - Synopsis: A Python module in the proof folder of GlobalGrid2050 that reads profit over 1m and provenance, using SHA-256 from postcodes.io and the star-solar-star and ventus-grid-engine repositories. - What it achieves (comment): It is built from the cell step (`cell`), the category of helper (`category_of`) and the section of helper (`section_of`). Sector Star build script — testcode/. Its code works with 132 kV. - What it does: It loads profit over 1m, provenance, top within miles of ha4 lt by substation and outcode centroids. Defines 10 functions or classes, including cell, category_of, section_of, sha256, miles. Uses libraries hashlib, json, math, re, subprocess. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 132kV. README: "One function, `cell()` in `proof/build.py`, applies all of them:" - Inputs & outputs: In: data source: postcodes.io; data source: star-solar-star data; data source: ventus-grid-engine data; Parquet file profit-over-1m.parquet; JSON file PROVENANCE.json; Excel file Top-1000-within-100-miles-of-HA4-0LT-by-substation.xlsx; JSON file outcode-centroids.json; JSON file leak-check.json. Out: JSON file sectors.json; JSON file geography.json; JSON file provenance.json. Voltage levels named: 132kV. - Signatures: `cell(values=None, n=None, want_sum=False)`; `category_of(div, grp, extra_groups)`; `section_of(div)`; `sha256(p)`; `miles(lat1, lon1, lat2, lon2)`; `band(m)`; `geo(o, key)`; `money_block(sub)`; `cat_cells(sub)`; `place(sub, extra=None)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: postcodes.io; data source: star-solar-star data; data source: ventus-grid-engine data; Parquet file profit-over-1m.parquet; JSON file PROVENANCE.json; Excel file Top-1000-within-100-miles-of-HA4-0LT-by-substation.xlsx; JSON file outcode-centroids.json; JSON file leak-check.json]; out [JSON file sectors.json; JSON file geography.json; JSON file provenance.json]; crs []; voltages [132kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Headless Check - File: globalgrid2050/testcode/202609150125/proof/headless-check.mjs (JavaScript, 76 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609150125/proof/headless-check.mjs#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1796.html#f2 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that reads CI checks. It is built from the sleep step (`sleep`). - What it achieves (comment): Headless self-test for testcode/ (Sector Star). - What it does: It loads CI checks. Defines sleep. Uses libraries node:fs, node:path, node:child_process, node:module. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file ci-checks.json. Out: JSON file headless-check.json. - Signatures: `sleep(ms)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file ci-checks.json]; out [JSON file headless-check.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Leak Check - File: globalgrid2050/testcode/202609150125/proof/leak-check.py (Python, 163 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609150125/proof/leak-check.py#L1-L163 - Page: https://code.globalgrid2050.com/explore-code/s/1796.html#f3 - Synopsis: A Python command-line tool in the proof folder of GlobalGrid2050 that reads CI checks and postcodes, using SHA-256. - What it achieves (comment): It is built from the strip allowed helper (`strip_allowed`), the JSON strings helper (`json_strings`) and the walk step (`walk`). Leak check for testcode/ (Sector Star). - What it does: It loads CI checks and postcodes. Defines 6 functions or classes, including strip_allowed, json_strings, walk, public_files, url_hits. Uses libraries json, re, sys, datetime, pathlib. Side effects: changes the web page (DOM); reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: postcodes. README: "`data/provenance.json` — sources and fetch times, the qualifying rule, the suppression rules and their tallies, counts in and out, the leak-check result, and the sha256 of each data file." - Inputs & outputs: In: JSON file leak-check.json; JSON file ci-checks.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `strip_allowed(text)`; `json_strings(text)`; `walk(o)`; `public_files()`; `url_hits(text)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file leak-check.json; JSON file ci-checks.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Publish - File: globalgrid2050/testcode/202609150125/proof/publish.mjs (JavaScript, 47 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609150125/proof/publish.mjs#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1796.html#f4 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that reads publication, provenance, leak check and headless check, using SHA-256. - What it achieves (comment): It is built from the walk step (`walk`), the sha step (`sha`) and the read step (`read`). Writes `../publication.json`: bytes + sha256 of every file shipped in testcode/ (except `publication.json` itself), plus the build, leak-check and headless-check summaries. It reads `data/provenance.json`. - What it does: It loads publication, provenance, leak check and headless check. Defines walk, sha, read, entry. Uses libraries node:fs, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file publication.json; JSON file provenance.json; JSON file leak-check.json; JSON file headless-check.json. Out: JSON file publication.json. - Signatures: `walk(d)`; `sha(f)`; `read(f)`; `entry(f)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file publication.json; JSON file provenance.json; JSON file leak-check.json; JSON file headless-check.json]; out [JSON file publication.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Browser - File: globalgrid2050/testcode/202609150502/proof/browser.mjs (JavaScript, 54 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609150502/proof/browser.mjs#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1796.html#f5 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 covering UK solar and provenance. It is built from the assert step (`assert`). - What it achieves (comment): Runs real production modules. Desktop browser viewport emulation, not a physical phone test. - What it does: It lists and searches UK solar and provenance. Defines assert. Uses libraries node:module, node:fs, node:path. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file uk-solar.json; JSON file provenance.json. Out: JSON file browser.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 UK Solar Lens Workflow (globalgrid2050). - Signatures: `assert(name,value,detail)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file uk-solar.json; JSON file provenance.json]; out [JSON file browser.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Publication - File: globalgrid2050/testcode/202609150502/proof/publication.py (Python, 55 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609150502/proof/publication.py#L1-L55 - Page: https://code.globalgrid2050.com/explore-code/s/1797.html#f1 - Synopsis: A Python command-line tool in the proof folder of GlobalGrid2050 that uses SHA-256. It is built from the digest step (`digest`). - What it achieves (comment): Build or verify a byte manifest, including the shared Generator runtime. It accepts `--verify`, `--base` and `--report`. - What it does: It fetches data. Defines digest, main. Uses libraries argparse, hashlib, json, pathlib, urllib.request. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file publication.json; command-line arguments. Out: JSON file publication.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 UK Solar Lens Workflow (globalgrid2050). - Signatures: `digest(data)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file publication.json; command-line arguments]; out [JSON file publication.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Self Test - File: globalgrid2050/testcode/202609150502/proof/self-test.mjs (JavaScript, 28 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609150502/proof/self-test.mjs#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1797.html#f2 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that tests UK solar, today and provenance, using SHA-256. - What it achieves (name): Defines `check`. - What it does: It tests UK solar, today and provenance. Defines check. Uses libraries node:assert/strict, node:fs, node:crypto, node:url. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file uk-solar.json; JSON file today.json; JSON file provenance.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 UK Solar Lens Workflow (globalgrid2050). - Signatures: `check(name,fn)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file uk-solar.json; JSON file today.json; JSON file provenance.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Snapshot - File: globalgrid2050/testcode/202609150502/proof/snapshot.py (Python, 36 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609150502/proof/snapshot.py#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/1797.html#f3 - Synopsis: A Python command-line tool in the proof folder of GlobalGrid2050 that fetches UK solar, today and sun provenance, using SHA-256 from the star-solar-star repository. - What it achieves (comment): Pin already-public Sun owner files; no collectors or private inputs live here. It accepts `--commit`. - What it does: It fetches UK solar, today and sun provenance. Defines main. Uses libraries argparse, hashlib, json, pathlib, urllib.request. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: star-solar-star data; JSON file uk-solar.json; JSON file today.json; JSON file provenance.json; JSON file sun-provenance.json; command-line arguments. Out: JSON file provenance.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `main()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: star-solar-star data; JSON file uk-solar.json; JSON file today.json; JSON file provenance.json; JSON file sun-provenance.json; command-line arguments]; out [JSON file provenance.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Page Check - File: globalgrid2050/testcode/202609151339/proof/page.check.mjs (JavaScript, 36 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609151339/proof/page.check.mjs#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/1797.html#f4 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050. - What it achieves (comment): Drives the published page, not its library. - What it does: Uses libraries puppeteer-core. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build All Lines - File: globalgrid2050/testcode/202609152203/build_all_lines.mjs (JavaScript, 29 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609152203/build_all_lines.mjs#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1797.html#f5 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that fetches lines meta, using SHA-256 from the stars repository. - What it achieves (comment): Every unique numbered line of the estate, from stars `LINES.md` (the modular star's own export). - What it does: It fetches lines meta. Uses libraries node:crypto, node:path. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: stars data. Out: JSON file all-lines.meta.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: stars data]; out [JSON file all-lines.meta.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Add All Lines - File: globalgrid2050/testcode/202609152203/proof/add_all_lines.mjs (JavaScript, 40 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609152203/proof/add_all_lines.mjs#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1797.html#f6 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that reads lines meta and provenance, using SHA-256. It is built from the sha step (`sha`). - What it achieves (comment): Change: `build_all_lines.mjs` now writes straight into this stamp's `data/`, so SRC is `data/` itself (the copy step rewrites the same bytes) and paths are relative to this file. It reads `all-lines.meta.json` and writes `data/provenance.json`. - What it does: It loads lines meta and provenance. Defines sha. Uses libraries node:crypto, node:fs, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file provenance.json. Out: JSON file provenance.json. - Signatures: `sha(b)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file provenance.json]; out [JSON file provenance.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Key Permanence - File: globalgrid2050/testcode/202609152203/proof/key_permanence.mjs (JavaScript, 53 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609152203/proof/key_permanence.mjs#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1797.html#f7 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that reads lines meta, families and provenance. - What it achieves (comment): It is built from the u32 step (`u32`), the u16 step (`u16`) and the load step (`load`). The permanent-key rule, checked between the previous numbered pack (`testcode/202609142202/data`) and this one (./data). - What it does: It loads lines meta, families and provenance. Defines u32, u16, load. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`proof/key_permanence.mjs` → PASS: all 250,174 old keys are present, all 250,174 shared keys have the same length in `all-lines.len.bin`" - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json; JSON file provenance.json. Out: JSON file key_permanence.json. - Signatures: `u32(b)`; `u16(b)`; `load(dir)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json; JSON file provenance.json]; out [JSON file key_permanence.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Pack Check - File: globalgrid2050/testcode/202609152203/proof/pack_check.mjs (JavaScript, 58 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609152203/proof/pack_check.mjs#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/1797.html#f8 - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that reads provenance, lines meta and families, using SHA-256. It is built from the sha step (`sha`). - What it achieves (comment): The self-contained (no browser) parts of testcode/'s proofs, adapted to this stamp's `data/`. It reads `provenance.json`. - What it does: It loads provenance, lines meta and families. Defines D, sha, ok. Uses libraries node:crypto, node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`proof/pack_check.mjs` → PASS: the no-browser checks of the previous stamp's proofs (provenance hashes match disk, binaries agree with meta, bucket distinct numbers = in-family unique lines = 149,457, index.json lines = LINES.md count, families tile lines.bin)." - Inputs & outputs: In: JSON file provenance.json; JSON file all-lines.meta.json; JSON file families.json. Out: JSON file pack_check.json. - Signatures: `D(f)`; `sha(b)`; `ok(name, cond, detail)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file provenance.json; JSON file all-lines.meta.json; JSON file families.json]; out [JSON file pack_check.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build - File: globalgrid2050/testcode/202609160224/build.mjs (JavaScript, 292 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160224/build.mjs#L1-L292 - Page: https://code.globalgrid2050.com/explore-code/s/1797.html#f9 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that reads surfaces and laws. It reads stamp (`readStamp`), reads title (`readTitle`) and reads law (`readLaw`). - What it achieves (comment): The nest's manifest, generated from the directory, never typed. - What it does: It loads surfaces and laws. Defines 7 functions or classes, including readStamp, readTitle, readLaw, walk, readStarIndex. Uses libraries node:fs, node:path, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file index.json. Out: JSON file surfaces.json; JSON file laws-index.json. - Signatures: `readStamp(name)`; `readTitle(dir)`; `readLaw(dir)`; `walk(dir)`; `readStarIndex()`; `readTracked()`; `esc(t)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file index.json]; out [JSON file surfaces.json; JSON file laws-index.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Render Proof - File: globalgrid2050/testcode/202609160224/enforcers/render-proof.mjs (JavaScript, 260 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160224/enforcers/render-proof.mjs#L1-L260 - Page: https://code.globalgrid2050.com/explore-code/s/1798.html#f1 - Synopsis: A JavaScript module in the enforcers folder of GlobalGrid2050. It is built from the project step (`project`), the is ground helper (`isGround`) and the ground of helper (`groundOf`). - What it achieves (comment): Proving the picture, not just the data. - What it does: It calculates its inputs. Defines 10 functions or classes, including project, isGround, groundOf, onCamera, liveness. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Testcode — Proof Page (globalgrid2050, https://globalgrid2050.com/testcode/202609160224/proof/). - Signatures: `export project(key, cam)`; `export groundOf(ctx, w, h, declared)`; `export onCamera(keys, cam, w, h)`; `export liveness(ctx, w, h, ground, keys, cam)`; `export placement(ctx, w, h, ground, keys, cam, tol = 1)`; `export derivation(ctx, w, h, drawWith)`; `export honesty(g)`; `export report(results)`; `isGround(d, o, g)`; `k(d[o] << 16)`; `near(px, py)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Card Check - File: globalgrid2050/testcode/202609160224/proof/card.check.mjs (JavaScript, 75 lines) · role storage · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160224/proof/card.check.mjs#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1798.html#f2 - Published at: https://globalgrid2050.com/testcode/202609160224/proof/ - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050. Served with the page at https://globalgrid2050.com/testcode/202609160224/proof/. It is built from the read step (`read`). - What it achieves (comment): The card must get out of the way without getting lost. It responds to pointermove events. - What it does: It loads data. Defines read, ok. Uses libraries node:fs, node:url, node:path. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Signatures: `read(f)`; `ok(name, cond, detail)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Estate Vacuity Check - File: globalgrid2050/testcode/202609160224/proof/estate-vacuity.check.mjs (JavaScript, 95 lines) · role other · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160224/proof/estate-vacuity.check.mjs#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/1798.html#f3 - Published at: https://globalgrid2050.com/testcode/202609160224/proof/ - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050. Served with the page at https://globalgrid2050.com/testcode/202609160224/proof/. - What it achieves (comment): It is built from the check step (`check`), the run step (`run`) and the fails step (`fails`). The 24 generated surfaces must be able to fail too. - What it does: It lists and searches its content. Defines check, run, fails. Uses libraries node:fs, node:path, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Signatures: `check(n, ok, d)`; `run(dir, mutate)`; `fails(out)`; `marked(out.match(/^\s*FAIL/gm) || [])` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Testcode — Proof Page - File: globalgrid2050/testcode/202609160224/proof/index.html (HTML, 92 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160224/proof/index.html#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/1798.html#f4 - Published at: https://globalgrid2050.com/testcode/202609160224/proof/ - Synopsis: A web page in GlobalGrid2050 that draws on a canvas. Published at https://globalgrid2050.com/testcode/202609160224/proof/. It is built from the wait for helper (`waitFor`). - What it achieves (comment): Wafer Galaxy — render proof. It responds to load events. - What it does: It draws its content. Defines waitFor. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page; canvas drawing. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/202609160224/proof/. - Signatures: `waitFor(test, ms = 20000)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; canvas drawing]; crs []; voltages [] - Edges: uses 2 estate files (import 1, iframe 1); used by 0; mentioned by 0 ### Laws Check - File: globalgrid2050/testcode/202609160224/proof/laws.check.mjs (JavaScript, 96 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160224/proof/laws.check.mjs#L1-L96 - Page: https://code.globalgrid2050.com/explore-code/s/1798.html#f5 - Published at: https://globalgrid2050.com/testcode/202609160224/proof/ - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050. Served with the page at https://globalgrid2050.com/testcode/202609160224/proof/. It is built from the check step (`check`) and the tier step (`tier`). - What it achieves (comment): A law may only run on facts the page actually has. - What it does: It loads data. Defines check, tier. Uses libraries node:fs, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Signatures: `check(n, ok, d)`; `tier(t)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Nest Check - File: globalgrid2050/testcode/202609160224/proof/nest.check.mjs (JavaScript, 198 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160224/proof/nest.check.mjs#L1-L198 - Page: https://code.globalgrid2050.com/explore-code/s/1799.html#f1 - Published at: https://globalgrid2050.com/testcode/202609160224/proof/ - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that reads surfaces and laws. Served with the page at https://globalgrid2050.com/testcode/202609160224/proof/. - What it achieves (comment): It is built from the check step (`check`) and the place step (`place`). The checks the Nest must pass, run under Node with no browser. - What it does: It loads surfaces and laws. Defines check, place. Uses libraries node:fs, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file surfaces.json; JSON file laws-index.json; command-line arguments. - Signatures: `check(name, ok, detail)`; `place(k)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file surfaces.json; JSON file laws-index.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Next Check - File: globalgrid2050/testcode/202609160224/proof/next.check.mjs (JavaScript, 75 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160224/proof/next.check.mjs#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1799.html#f2 - Published at: https://globalgrid2050.com/testcode/202609160224/proof/ - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that reads families. Served with the page at https://globalgrid2050.com/testcode/202609160224/proof/. It is built from the check step (`check`). - What it achieves (comment): A handover spec must carry its own provenance. - What it does: It loads families. Defines check. Uses libraries node:fs, node:path. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file families.json; command-line arguments. - Signatures: `check(n, ok, d)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file families.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Safe Publish - File: globalgrid2050/testcode/202609160224/proof/safe-publish.mjs (JavaScript, 178 lines) · role ingest · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160224/proof/safe-publish.mjs#L1-L178 - Page: https://code.globalgrid2050.com/explore-code/s/1799.html#f3 - Published at: https://globalgrid2050.com/testcode/202609160224/proof/ - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050 that reads stage (`readTheStage`) and deploys flight (`deployInFlight`). Served with the page at https://globalgrid2050.com/testcode/202609160224/proof/. - What it achieves (comment): It reads stage (`readTheStage`) and deploys flight (`deployInFlight`). Two rules that were only sentences, made into a tool that refuses. - What it does: It lists and searches its content. Defines 7 functions or classes, including git, readTheStage, stage, deployInFlight, push. Uses libraries node:child_process, node:path. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Signatures: `export readTheStage(paths)`; `export deployInFlight()`; `git(...args)`; `stage(argv)`; `push(argv = [])`; `selfTest()`; `say(n, pass, d)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Siblings Check - File: globalgrid2050/testcode/202609160224/proof/siblings.check.mjs (JavaScript, 159 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160224/proof/siblings.check.mjs#L1-L159 - Page: https://code.globalgrid2050.com/explore-code/s/1799.html#f4 - Published at: https://globalgrid2050.com/testcode/202609160224/proof/ - Synopsis: A JavaScript module in the proof folder of GlobalGrid2050. Served with the page at https://globalgrid2050.com/testcode/202609160224/proof/. It is built from the check step (`check`) and the constants of helper (`constantsOf`). - What it achieves (comment): Two surfaces that claim to differ and do not. - What it does: It loads data. Defines check, constantsOf. Uses libraries node:fs, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Signatures: `check(n, ok, d)`; `constantsOf(src)`; `hits(code.match(new RegExp('\\b' + name + '\\b', 'g')) || [])`; `law(/the ([a-z][a-z0-9-]*) law, generated/i.exec(src) || [, null])`; `variant(/Variation ([a-z0-9-]+)/i.exec(src) || [, null])` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### CI Night Tests - File: globalgrid2050/testcode/ci/night-tests.mjs (JavaScript, 810 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/ci/night-tests.mjs#L1-L810 - Page: https://code.globalgrid2050.com/explore-code/s/1800.html#f1 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that tests CI checks, using SHA-256. It gets status (`getStatus`), gets JSON (`getJson`) and gets buffer (`getBuffer`). - What it achieves (name): Defines `record`, `pass`, `fail` and 31 more. - What it does: It tests CI checks. Defines 36 functions or classes, including record, pass, fail, warn, skip. Uses libraries node:crypto, node:fs/promises, node:fs, node:path, node:url. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file report.json; JSON file ci-checks.json; JSON file checks.json; command-line arguments. Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Night Tests Workflow (globalgrid2050); GlobalGrid2050 Testcode Proof Workflow (globalgrid2050). - Signatures: `BASE(process.env.NIGHT_TESTS_BASE || 'https:)`; `STAMP(process.env.NIGHT_TESTS_STAMP || process.argv[2] || '')`; `record(status, name, detail, extra = {})`; `pass(n, d, e)`; `fail(n, d, e)`; `warn(n, d, e)`; `skip(n, d, e)`; `expired(n, d, e)`; `na(n, d, e)`; `windowState()`; `until(process.env.NIGHT_TESTS_UNTIL || '')`; `overdueDays(Date.now() - closesAt)`; `sha256(buf)`; `getStatus(url)`; `getJson(url)`; `getBuffer(url)`; `normalisePublicationFiles(pub)`; `mapLimit(items, limit, fn)`; `checkServedBytes(label, dirPath, { requirePublication = false } = {})`; `checkLensSources(list)`; `lensFiles(list || [])`; `loadPuppeteer()`; `isUrl(s)`; `asSpecifier(s)`; `launchArgs()` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file report.json; JSON file ci-checks.json; JSON file checks.json; command-line arguments]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Build Homepage Release Candidate Workflow - File: globalgrid2050-homepage/.github/workflows/build-homepage-release-candidate.yml (YAML, 61 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/.github/workflows/build-homepage-release-candidate.yml#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1801.html#f2 - Synopsis: A GitHub Actions workflow in GlobalGrid2050 Homepage. Runs on push, by hand and on release. - What it achieves (comment): Named “Build and commit homepage fallback on isolated release branch”; runs Releases (`scripts/releases.py`), Build Homepage Fallback (`scripts/build_homepage_fallback.py`) and Fetch Active Pages (`scripts/fetch_active_pages.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 13 estate files (workflow-run 13); used by 0; mentioned by 0 ### Gridbot Federation Systems Map Workflow - File: globalgrid2050-homepage/.github/workflows/gridbot_federation_systems_map.yml (YAML, 67 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/.github/workflows/gridbot_federation_systems_map.yml#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/1801.html#f3 - Synopsis: A GitHub Actions workflow in GlobalGrid2050 Homepage. Runs on a schedule and by hand. - What it achieves (comment): Runs Build Federation Systems Map (`scripts/build_federation_systems_map.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: DuckDB queries. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Pages Workflow - File: globalgrid2050-homepage/.github/workflows/pages.yml (YAML, 68 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/.github/workflows/pages.yml#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/1801.html#f4 - Synopsis: A GitHub Actions workflow in GlobalGrid2050 Homepage that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “Deploy static homepage to GitHub Pages”; runs Releases (`scripts/releases.py`), Build Homepage Fallback (`scripts/build_homepage_fallback.py`) and Fetch Active Pages (`scripts/fetch_active_pages.py`); publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: reads or writes files; starts processes. - Inputs & outputs: Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 14 estate files (workflow-run 14); used by 0; mentioned by 0 ### Pipeline V960 Public Route Workflow - File: globalgrid2050-homepage/.github/workflows/pipeline-v960-public-route.yml (YAML, 49 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/.github/workflows/pipeline-v960-public-route.yml#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1801.html#f5 - Synopsis: A GitHub Actions workflow in GlobalGrid2050 Homepage. Runs on pull requests and by hand. - What it achieves (comment): Named “Verify archived Pipeline News V9.60 route and rollback”. - What it does: It runs the REPD register. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file homepage.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file homepage.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PR Checks Workflow - File: globalgrid2050-homepage/.github/workflows/pr-checks.yml (YAML, 41 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/.github/workflows/pr-checks.yml#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1801.html#f6 - Synopsis: A GitHub Actions workflow in GlobalGrid2050 Homepage. Runs on pull requests and by hand. - What it achieves (comment): Runs Releases (`scripts/releases.py`), Build Homepage Fallback (`scripts/build_homepage_fallback.py`) and Fetch Active Pages (`scripts/fetch_active_pages.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 14 estate files (workflow-run 14); used by 0; mentioned by 0 ### Validate Homepage Release Workflow - File: globalgrid2050-homepage/.github/workflows/validate-homepage-release.yml (YAML, 299 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/.github/workflows/validate-homepage-release.yml#L1-L299 - Page: https://code.globalgrid2050.com/explore-code/s/1801.html#f7 - Synopsis: A GitHub Actions workflow in GlobalGrid2050 Homepage that builds and publishes the site. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Homepage release catalogue validation”; runs Releases (`scripts/releases.py`). - What it does: It builds and publishes the REPD register. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file homepage.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file homepage.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Build Homepage Fallback - File: globalgrid2050-homepage/scripts/build_homepage_fallback.py (Python, 112 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/scripts/build_homepage_fallback.py#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/1802.html#f1 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 Homepage that works with app URL (`app_url`) and release app URL (`release_app_url`). - What it achieves (comment): It is built from the build step (`build`), the bounded step (`bounded`) and the current step (`current`). Refresh the no-JavaScript nests and catalogue from the validated JSON source. - What it does: It loads data. Defines 6 functions or classes, including app_url, release_app_url, build, bounded, current. Uses libraries html, json, pathlib, re, urllib.parse. Side effects: reads or writes files. - Inputs & outputs: In: JSON file homepage.json; JSON file entity-types.json; JSON file presentation.json. - Downstream impact: Used directly by 5 files: Release GridAtlas (globalgrid2050-homepage); Build Homepage Release Candidate Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage); and 1 more. - Signatures: `app_url(value)`; `release_app_url(release, operative=False)`; `build(root=ROOT)`; `bounded(value, limit)`; `current(entity)`; `nest(entity, position, opened=False)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file homepage.json; JSON file entity-types.json; JSON file presentation.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 5; mentioned by 0 ### Fetch Active Pages - File: globalgrid2050-homepage/scripts/fetch_active_pages.py (Python, 217 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/scripts/fetch_active_pages.py#L1-L217 - Page: https://code.globalgrid2050.com/explore-code/s/1802.html#f2 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 Homepage using data from GitHub API. It verifies page (`verify_page`), creates ticker (`create_ticker`) and validates ticker (`validate_ticker`). - What it achieves (comment): Refresh only homepage ticker from a bounded, explicitly described GitHub sample. It accepts `--config`, `--output` and `--offline-validation`. - What it does: It fetches data. Defines 13 functions or classes, including stamp, app_url, SafeRedirect, redirect_request, verify_page. Uses libraries argparse, datetime, json, os, pathlib. Side effects: reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: data source: GitHub API; JSON file active-pages.json; command-line arguments. - Downstream impact: Used directly by 3 files: Build Homepage Release Candidate Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage). - Signatures: `stamp(now)`; `app_url(url)`; `class SafeRedirect`; `redirect_request(self, req, fp, code, msg, headers, newurl)`; `verify_page(url, max_bytes)`; `class GitHub`; `__init__(self)`; `get(self, path, missing_ok=False)`; `activity(commits, config, since)`; `create_ticker(config, api, probe=verify_page, now=None)`; `validate_ticker(ticker)`; `refresh(config, output, api=None, probe=verify_page)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file active-pages.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Releases - File: globalgrid2050-homepage/scripts/releases.py (Python, 261 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/scripts/releases.py#L1-L261 - Page: https://code.globalgrid2050.com/explore-code/s/1802.html#f3 - Synopsis: A Python command-line tool in the scripts folder of GlobalGrid2050 Homepage that writes validated (`write_validated`). - What it achieves (comment): It is built from the require step (`require`), the fields step (`fields`) and the nonempty step (`nonempty`). Validate homepage release metadata and explicitly promote an available release. It accepts `--file` and `--reason`. - What it does: It loads data. Defines 12 functions or classes, including require, fields, nonempty, identifier, https_url. Uses libraries argparse, copy, datetime, json, os. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file homepage.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 6 files: Release GridAtlas (globalgrid2050-homepage); Build Homepage Release Candidate Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage); and 2 more. Reached from 1 other entry point, including Test Homepage Fallback Archives (globalgrid2050-homepage). - Signatures: `require(condition, message)`; `fields(value, required, optional, context)`; `nonempty(value, context)`; `identifier(value, context)`; `https_url(value, context)`; `iso_date(value, context, utc_only=False)`; `validate(data)`; `unique_object(pairs)`; `load(path)`; `promote(data, entity_id, release_id, reason)`; `write_validated(path, data)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file homepage.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### Homepage Browser - File: globalgrid2050-homepage/tests/homepage-browser.cjs (JavaScript, 153 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/tests/homepage-browser.cjs#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/1803.html#f1 - Synopsis: A JavaScript module in the tests folder of GlobalGrid2050 Homepage that tests active pages and uses data from the GlobalGrid2050-ip-and-mac-addresses repository. It is built from the is app helper (`isApp`). - What it achieves (name): Defines `matches`, `isApp` and `ids`. - What it does: It tests active pages. Defines matches, isApp, ids. Uses libraries node:fs, node:path, node:http, node:assert/strict. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: data source: globalgrid2050-ip-and-mac-addresses data; JSON file homepage.json; JSON file entity-types.json; JSON file presentation.json; JSON file active-pages.json. Out: JSON file receipt.json. - Downstream impact: Used directly by 2 files: Pages Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage). - Signatures: `matches(entity,query)`; `isApp(url)`; `ids()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050-ip-and-mac-addresses data; JSON file homepage.json; JSON file entity-types.json; JSON file presentation.json; JSON file active-pages.json]; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 2; mentioned by 0 ### Test Active Pages - File: globalgrid2050-homepage/tests/test_active_pages.py (Python, 88 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/tests/test_active_pages.py#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/1803.html#f2 - Synopsis: A test in the tests folder of GlobalGrid2050 Homepage using data from GitHub API and the SLD repository. - What it achieves (name): It is built from the fake API class (`FakeAPI`), the active page tests class (`ActivePageTests`) and the config step (`config`). Defines `FakeAPI`, `get`, `ActivePageTests` and 14 more. - What it does: It tests its inputs. Defines 17 functions or classes, including FakeAPI, get, ActivePageTests, config, test_rejects_repo_raw_and_insecure_destinations. Uses libraries datetime, importlib.util, json, pathlib, tempfile. Side effects: reads or writes files. - Inputs & outputs: In: data source: GitHub API; data source: sld data; JSON file homepage.json. - Downstream impact: Used directly by 3 files: Build Homepage Release Candidate Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage). - Signatures: `class FakeAPI`; `get(self, path, missing_ok=False)`; `class ActivePageTests`; `config(self)`; `test_rejects_repo_raw_and_insecure_destinations(self)`; `test_deduplicates_live_routes(self)`; `test_activity_excludes_self_refresh_and_marks_cap(self)`; `test_network_failure_preserves_existing_file(self)`; `fail(url, limit)`; `class RecentAPI`; `test_private_repository_cannot_enter_public_feed(self)`; `class PrivateAPI`; `test_missing_pages_is_explicitly_skipped(self)`; `class MissingAPI` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: GitHub API; data source: sld data; JSON file homepage.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Test Cyber Resilience Entry - File: globalgrid2050-homepage/tests/test_cyber_resilience_entry.py (Python, 33 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/tests/test_cyber_resilience_entry.py#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1803.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 Homepage that checks Cyber Resilience — Index Page using data from the cyber-resilience repository. - What it achieves (comment): It is built from the cyber resilience entry tests class (`CyberResilienceEntryTests`). The cyber resilience entry extends, rather than replaces, the homepage. - What it does: It tests cables. Defines CyberResilienceEntryTests, test_catalogue_metadata_fallback_remain_aligned. Uses libraries json, pathlib, unittest. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: cyber-resilience data; JSON file homepage.json; JSON file entity-types.json. - Downstream impact: Used directly by 3 files: Build Homepage Release Candidate Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage). - Signatures: `class CyberResilienceEntryTests`; `test_catalogue_metadata_fallback_remain_aligned(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: cyber-resilience data; JSON file homepage.json; JSON file entity-types.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 3; mentioned by 0 ### Test Explore Code Entry - File: globalgrid2050-homepage/tests/test_explore_code_entry.py (Python, 31 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/tests/test_explore_code_entry.py#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/1803.html#f4 - Synopsis: A test in the tests folder of GlobalGrid2050 Homepage using data from the cosmic repository. It is built from the explore code entry tests class (`ExploreCodeEntryTests`). - What it achieves (comment): The Explore Code entry extends, rather than replaces, the homepage. - What it does: It tests its inputs. Defines ExploreCodeEntryTests, test_explore_code_section. Uses libraries json, unittest, pathlib. Side effects: reads or writes files. - Inputs & outputs: In: data source: cosmic data; JSON file homepage.json; JSON file entity-types.json. - Downstream impact: Used directly by 3 files: Build Homepage Release Candidate Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage). - Signatures: `class ExploreCodeEntryTests`; `test_explore_code_section(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: cosmic data; JSON file homepage.json; JSON file entity-types.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Test Grid Explorer Entry - File: globalgrid2050-homepage/tests/test_grid_explorer_entry.py (Python, 50 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/tests/test_grid_explorer_entry.py#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/1803.html#f5 - Synopsis: A test in the tests folder of GlobalGrid2050 Homepage that checks Kuiper Belt — See Through Page and Overlay using data from the cosmic and kuiper-belt repositories. - What it achieves (comment): It is built from the grid explorer entry tests class (`GridExplorerEntryTests`). Section 01 is Grid Explorer: renamed from Solar Design Studio, links kept. - What it does: It tests solar. Defines GridExplorerEntryTests, test_grid_explorer_section. Uses libraries json, unittest, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: solar. - Inputs & outputs: In: data source: cosmic data; data source: kuiper-belt data; JSON file homepage.json; JSON file entity-types.json. - Downstream impact: Used directly by 3 files: Build Homepage Release Candidate Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage). - Signatures: `class GridExplorerEntryTests`; `test_grid_explorer_section(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: cosmic data; data source: kuiper-belt data; JSON file homepage.json; JSON file entity-types.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 3; mentioned by 0 ### Test Grid Explorer Labels - File: globalgrid2050-homepage/tests/test_grid_explorer_labels.py (Python, 45 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/tests/test_grid_explorer_labels.py#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1803.html#f6 - Synopsis: A test in the tests folder of GlobalGrid2050 Homepage that checks Solar Battery Energy Storage System (BESS) Topology V7 — GIS Single-Line Diagram (SLD) Financial Sandbox Page. - What it achieves (comment): It is built from the grid explorer label tests class (`GridExplorerLabelTests`). Owner decision, 6 Dec 2026 01:34 Europe/London: the last visible "Solar Design Studio" labels (the Electrical Scene Explorer sub-heading and the ticker label) read "Grid Explorer". - What it does: It tests solar. Defines GridExplorerLabelTests, test_sub_heading, test_fallback_html, test_ticker_label. Uses libraries json, unittest, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: solar. - Inputs & outputs: In: JSON file homepage.json; JSON file active-pages.json. - Downstream impact: Used directly by 3 files: Build Homepage Release Candidate Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage). - Signatures: `class GridExplorerLabelTests`; `test_sub_heading(self)`; `test_fallback_html(self)`; `test_ticker_label(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file homepage.json; JSON file active-pages.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 3; mentioned by 0 ### Test Homepage Fallback Archives - File: globalgrid2050-homepage/tests/test_homepage_fallback_archives.py (Python, 80 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/tests/test_homepage_fallback_archives.py#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/1803.html#f7 - Synopsis: A test in the tests folder of GlobalGrid2050 Homepage that checks Build Homepage Fallback using data from the GridAtlas repository. - What it achieves (comment): It is built from the links class (`Links`), the handle starttag helper (`handle_starttag`) and the handle data helper (`handle_data`). Couple real Python fallback links to the actual JavaScript archive rule. - What it does: It tests its inputs. Defines 8 functions or classes, including Links, __init__, handle_starttag, handle_data, handle_endtag. Uses libraries copy, html, html.parser, json, pathlib. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: data source: gridatlas data; JSON file homepage.json; JSON file entity-types.json; JSON file presentation.json. - Downstream impact: Used directly by 3 files: Build Homepage Release Candidate Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage). - Signatures: `class Links`; `__init__(self, html)`; `handle_starttag(self, tag, attrs)`; `handle_data(self, text)`; `handle_endtag(self, tag)`; `class FallbackArchiveTests`; `test_archive_decisions_match_actual_javascript_renderer(self)`; `test_real_v191_archive_and_all_other_navigation_remain_correct(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file homepage.json; JSON file entity-types.json; JSON file presentation.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 3; mentioned by 0 ### Test Releases - File: globalgrid2050-homepage/tests/test_releases.py (Python, 158 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/tests/test_releases.py#L1-L158 - Page: https://code.globalgrid2050.com/explore-code/s/1803.html#f8 - Synopsis: A test in the tests folder of GlobalGrid2050 Homepage. It is built from the fixture step (`fixture`) and the release contract tests class (`ReleaseContractTests`). - What it achieves (comment): Contract and transition tests; fixtures never modify the real catalogue. - What it does: It tests its inputs. Defines 12 functions or classes, including fixture, ReleaseContractTests, test_promotion_and_rollback_preserve_every_release, test_candidate_and_repeated_promotion_refused, test_invalid_references_and_duplicates. Uses libraries copy, importlib.util, json, pathlib, subprocess. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file homepage.json; JSON file bad.json. - Downstream impact: Used directly by 3 files: Build Homepage Release Candidate Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage). - Signatures: `fixture()`; `class ReleaseContractTests`; `test_promotion_and_rollback_preserve_every_release(self)`; `test_candidate_and_repeated_promotion_refused(self)`; `test_invalid_references_and_duplicates(self)`; `test_parent_chain_and_cycle(self)`; `test_dangerous_urls(self)`; `test_archive_manifest_and_development(self)`; `test_catalogue_growth_has_no_fixed_entity_count(self)`; `test_audit_drift_rejected(self)`; `test_cli_writes_then_reads_back_and_refusal_preserves_bytes(self)`; `test_duplicate_json_property_rejected(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file homepage.json; JSON file bad.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Publish Workflow - File: globalgrid2050-ip-and-mac-addresses/.github/workflows/publish.yml (YAML, 73 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/globalgrid2050-ip-and-mac-addresses/blob/2ba77a48351e70648ab8d122c187a87c47d0f6fc/.github/workflows/publish.yml#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/1804.html#f1 - Synopsis: A GitHub Actions workflow in GlobalGrid2050 IP and MAC Addresses that builds and publishes the site. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Validate and publish identity registry”; runs Registry (`registry.py`) and Build (`build.py`); publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: starts processes. - Inputs & outputs: In: JSON file registry.json. Out: JSON file registry.json; GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file registry.json]; out [JSON file registry.json; GitHub Pages deployment]; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### Build - File: globalgrid2050-ip-and-mac-addresses/build.py (Python, 48 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050-ip-and-mac-addresses/blob/2ba77a48351e70648ab8d122c187a87c47d0f6fc/build.py#L1-L48 - Page: https://code.globalgrid2050.com/explore-code/s/1804.html#f2 - Published at: https://ventusltd.github.io/globalgrid2050-ip-and-mac-addresses/ - Synopsis: A Python command-line tool in GlobalGrid2050 IP and MAC Addresses that draws Kuiper and build receipt, using SHA-256. It labels SVG (`label_svg`). - What it achieves (comment): Build an allowlisted static resolver and scannable URL labels. - What it does: It draws Kuiper and build receipt. Defines label_svg, main. Uses libraries hashlib, json, pathlib, shutil, sys. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: JSON file registry.json; JSON file config.json; JSON file kuiper-index.json; JSON file build-receipt.json. Out: JSON file kuiper-index.json; JSON file build-receipt.json; SVG drawing. - Downstream impact: Used directly by 2 files: Publish Workflow (globalgrid2050-ip-and-mac-addresses); Test Labels (globalgrid2050-ip-and-mac-addresses). It is itself an entry point, published at https://ventusltd.github.io/globalgrid2050-ip-and-mac-addresses/. - Signatures: `label_svg(payload)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file registry.json; JSON file config.json; JSON file kuiper-index.json; JSON file build-receipt.json]; out [JSON file kuiper-index.json; JSON file build-receipt.json; SVG drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Frontend Test - File: globalgrid2050-ip-and-mac-addresses/tests/frontend.test.cjs (JavaScript, 171 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050-ip-and-mac-addresses/blob/2ba77a48351e70648ab8d122c187a87c47d0f6fc/tests/frontend.test.cjs#L1-L171 - Page: https://code.globalgrid2050.com/explore-code/s/1804.html#f3 - Synopsis: A test in the tests folder of GlobalGrid2050 IP and MAC Addresses. - What it achieves (name): Defines `boot`. - What it does: It tests its inputs. Defines boot. Uses libraries node:test, node:assert/strict, node:fs, node:path, jsdom. Side effects: changes the web page (DOM); reads or writes files. - Inputs & outputs: In: JSON file registry.json; JSON file config.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `boot(t, options = {})`; `beforeParse(window)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file registry.json; JSON file config.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Labels - File: globalgrid2050-ip-and-mac-addresses/tests/test_labels.py (Python, 30 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050-ip-and-mac-addresses/blob/2ba77a48351e70648ab8d122c187a87c47d0f6fc/tests/test_labels.py#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/1804.html#f4 - Synopsis: A test in the tests folder of GlobalGrid2050 IP and MAC Addresses that checks Build. It labels tests (`LabelTests`). - What it achieves (comment): Independently rasterize the exported SVG paths and decode with ZXing-C++. - What it does: It tests its inputs. Defines LabelTests, test_every_published_label_decodes_to_exact_stable_address. Uses libraries json, re, sys, unittest, xml.etree.ElementTree. - Inputs & outputs: In: JSON file config.json; JSON file registry.json. - Downstream impact: Used directly by 1 file: Publish Workflow (globalgrid2050-ip-and-mac-addresses). - Signatures: `class LabelTests`; `test_every_published_label_decodes_to_exact_stable_address(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file config.json; JSON file registry.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Claude Bench Workflow - File: gpu-drivers-for-global-grid/.github/workflows/claude-bench.yml (YAML, 84 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/.github/workflows/claude-bench.yml#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/1804.html#f5 - Synopsis: A GitHub Actions workflow in GPU Drivers for Global Grid. Runs on push, on pull requests and by hand. - What it achieves (comment): CLAUDE LANE — CPU/RAM benchmark ladder. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'claude'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file 2026-09-05-gpu-rtx5070.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file 2026-09-05-gpu-rtx5070.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### Existing Wiring Workflow - File: graphics-engines-open-source/.github/workflows/existing-wiring.yml (YAML, 23 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/.github/workflows/existing-wiring.yml#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1804.html#f6 - Synopsis: A GitHub Actions workflow in Graphics Engines Open Source. Runs by hand. - What it achieves (comment): Named “Check existing wiring pages”; runs Existing Wiring (`tests/existing-wiring.cjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Geometry Check Workflow - File: graphics-engines-open-source/.github/workflows/geometry-check.yml (YAML, 91 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/.github/workflows/geometry-check.yml#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/1804.html#f7 - Synopsis: A GitHub Actions workflow in Graphics Engines Open Source. Runs on push and by hand. - What it achieves (comment): Named “Public geometry checks”; runs Explore Test (`tests/explore.test.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file explore-geometry.json. Out: JSON file local-gpu-summary.json; JSON file summary.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file explore-geometry.json]; out [JSON file local-gpu-summary.json; JSON file summary.json]; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### Pages Workflow - File: graphics-engines-open-source/.github/workflows/pages.yml (YAML, 44 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/graphics-engines-open-source/blob/79e0bd8ee33844835e553fc84d552b6aa1521152/.github/workflows/pages.yml#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1804.html#f8 - Synopsis: A GitHub Actions workflow in Graphics Engines Open Source that builds and publishes the site. Runs by hand. - What it achieves (comment): Named “Publish electrical explorer”; runs Explore Test (`tests/explore.test.mjs`) and Browser (`tests/browser.cjs`); publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: starts processes. - Inputs & outputs: Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### Web - File: grid/tools/web.py (Python, 188 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/grid/blob/fb48dbb8f2bca346c7637996afca2f907cfa069e/tools/web.py#L1-L188 - Page: https://code.globalgrid2050.com/explore-code/s/1805.html#f1 - Synopsis: A Python command-line tool in the tools folder of Grid that reads web meta. - What it achieves (comment): It is built from the git blobs helper (`git_blobs`), the public set helper (`public_set`) and the klass step (`klass`). The estate's actual mesh, measured. It accepts `--roots`, `--org` and `--out`. - What it does: It loads web meta. Defines git_blobs, public_set, main, klass. Uses libraries argparse, json, os, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: README: "Measured 2026-09-19 by `tools/web.py`, in 3.4 seconds:" - Inputs & outputs: In: JSON file web-meta.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `git_blobs(d)`; `public_set(org)`; `main()`; `klass(k)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file web-meta.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Dictionary Workflow - File: grid-dictionary/.github/workflows/build-dictionary.yml (YAML, 27 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/grid-dictionary/blob/21b73d7cd5a6171245e0b3d1b69b0ce4d6322a63/.github/workflows/build-dictionary.yml#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1805.html#f2 - Synopsis: A GitHub Actions workflow in Grid Dictionary. Runs on push, on a schedule and by hand. - What it achieves (comment): Named “Build grid dictionary (monthly)”; runs Build Dictionary (`tools/build_dictionary.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Build Dictionary - File: grid-dictionary/tools/build_dictionary.py (Python, 170 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/grid-dictionary/blob/21b73d7cd5a6171245e0b3d1b69b0ce4d6322a63/tools/build_dictionary.py#L1-L170 - Page: https://code.globalgrid2050.com/explore-code/s/1805.html#f3 - Synopsis: A Python command-line tool in the tools folder of Grid Dictionary that fetches maya cards, blocks and maya links from the stars and spiders repositories. - What it achieves (comment): It loads yaml (`load_yaml`) and is built from the path step (`path`) and the get step (`get`). Build the grid dictionary and tie it to the estate's unique code history and the Maya cards. - What it does: It fetches maya cards, blocks and maya links. Defines path, get, load_yaml, main, strong_aliases. Uses libraries json, re, os, sys, urllib.request. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: README: "`tools/build_dictionary.py` reads `seed/definitions.yaml` (the curated authoritative terms), the wandering-star code index (`stars/code/index.json` + `code/f/*.json`), `stars/blocks/blocks.json`, and the Maya cards, then writes:" - Inputs & outputs: In: data source: stars data; data source: spiders data; JSON file maya-cards.json; JSON file keys.json; JSON file index.json; JSON file blocks.json. Out: JSON file keys.json; JSON file dictionary.json; JSON file maya-links.json. - Downstream impact: Used directly by 1 file: Build Dictionary Workflow (grid-dictionary). - Signatures: `path(*p)`; `get(url)`; `load_yaml(p)`; `main()`; `strong_aliases(d)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [data source: stars data; data source: spiders data; JSON file maya-cards.json; JSON file keys.json; JSON file index.json; JSON file blocks.json]; out [JSON file keys.json; JSON file dictionary.json; JSON file maya-links.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Parity Driver - File: grid-distance-maths/test/parity_driver.mjs (JavaScript, 69 lines) · role test · stage unknown - Source: https://github.com/Ventusltd/grid-distance-maths/blob/8e91b07d8312acca5bcaef43e839f06a3b1d642a/test/parity_driver.mjs#L1-L69 - Page: https://code.globalgrid2050.com/explore-code/s/1805.html#f4 - Synopsis: A JavaScript module in the test folder of Grid Distance Maths that reads a JSON case list on stdin, answer with the JavaScript result for each case on stdout. - What it does: It tests its inputs. - Downstream impact: Used directly by 1 file: Verify Parity (grid-distance-maths). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Verify - File: grid-distance-maths/test/verify.mjs (JavaScript, 200 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/grid-distance-maths/blob/8e91b07d8312acca5bcaef43e839f06a3b1d642a/test/verify.mjs#L1-L200 - Page: https://code.globalgrid2050.com/explore-code/s/1805.html#f5 - Synopsis: A JavaScript module in the test folder of Grid Distance Maths that works with engine haversine (`engineHaversine`) and calculates great-circle distances and angles, using Vincenty. - What it achieves (comment): It is built from the near step (`near`), the engine haversine helper (`engineHaversine`) and the measure step (`measure`). Checks the canonical implementation against ellipsoidal truth and against the specific defects that made this repository necessary. - What it does: It tests its inputs. Defines ok, near, engineHaversine, measure. Side effects: starts processes. - Inputs & outputs: Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `ok(name, pass, detail = "")`; `near(a, b, tol)`; `engineHaversine(lon1, lat1, lon2, lat2)`; `dLat(lat2 - lat1)`; `measure(i)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Verify Nearest - File: grid-distance-maths/test/verify_nearest.mjs (JavaScript, 171 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/grid-distance-maths/blob/8e91b07d8312acca5bcaef43e839f06a3b1d642a/test/verify_nearest.mjs#L1-L171 - Page: https://code.globalgrid2050.com/explore-code/s/1806.html#f1 - Synopsis: A JavaScript module in the test folder of Grid Distance Maths that works with via index (`viaIndex`). - What it achieves (comment): It is built from the check step (`check`), the rand step (`rand`) and the brute step (`brute`). Adversarial verification of the nearest-feature search. - What it does: It tests its inputs. Defines check, rand, brute, viaIndex, sweep. Side effects: starts processes. - Why it exists in the grid workflow: README: "That formulation has now been ported here, so the library is at least as good as the code it is meant to replace, and `verify_nearest.mjs` holds the line with 20,000 randomised layouts across the UK latitude band rather than one fixture." - Signatures: `check(label, condition, detail = "")`; `rand()`; `brute(lon, lat, features)`; `viaIndex(lon, lat, features, cell)`; `sweep(label, { trials, cell, spread, segment, latLo, latHi })`; `latLo(ci - ring)`; `lonLo(cj - ring)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Verify Parity - File: grid-distance-maths/test/verify_parity.py (Python, 299 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/grid-distance-maths/blob/8e91b07d8312acca5bcaef43e839f06a3b1d642a/test/verify_parity.py#L1-L299 - Page: https://code.globalgrid2050.com/explore-code/s/1806.html#f2 - Synopsis: A Python command-line tool in the test folder of Grid Distance Maths that tests solar. - What it achieves (comment): It is built from the add step (`add`), the close step (`close`) and the measure step (`measure`). Prove `src/geodesy.py` and `src/geodesy.mjs` are the same mathematics. Its code works with 132 kV. - What it does: It tests solar. Defines 6 functions or classes, including add, close, measure, _rand, _measure. Uses libraries json, math, os, subprocess, sys. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar, 132kV. - Inputs & outputs: Voltage levels named: 132kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `add(op, args, py)`; `close(a, b, label, path="")`; `measure(i, lon=lon, lat=lat)`; `_rand()`; `_measure(fid, lon=q_lon, lat=q_lat, feats=feats)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [132kV] - Edges: uses 2 estate files (sys-path 1, script-call 1); used by 0; mentioned by 0 ### Verify Placement - File: grid-distance-maths/test/verify_placement.mjs (JavaScript, 92 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/grid-distance-maths/blob/8e91b07d8312acca5bcaef43e839f06a3b1d642a/test/verify_placement.mjs#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/1806.html#f3 - Synopsis: A JavaScript module in the test folder of Grid Distance Maths that works with js rows (`jsRows`). It is built from the js rows helper (`jsRows`). - What it achieves (comment): Holds `placement.mjs` to `placement.py`. Neither is authoritative. - What it does: It tests its inputs. Defines jsRows. Uses libraries node:child_process. Side effects: starts processes. - Signatures: `jsRows()` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Build Verify Publish Atlas V9 - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608291430-build-verify-publish-atlas-v9.yml (YAML, 23 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608291430-build-verify-publish-atlas-v9.yml#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1806.html#f4 - Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs by hand. - What it achieves (comment): Named “Legacy staged publication archive”. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Promote Root Current - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608291742-promote-root-current.yml (YAML, 23 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608291742-promote-root-current.yml#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1806.html#f5 - Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs by hand. - What it achieves (comment): Named “Legacy root promotion archive”. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### V9 Transfer Closure - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608291742-v9-transfer-closure.yml (YAML, 23 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608291742-v9-transfer-closure.yml#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1806.html#f6 - Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs by hand. - What it achieves (comment): Named “Legacy V9 transfer closure archive”. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build V8 Product Mirror - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608291758-build-v8-product-mirror.yml (YAML, 227 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608291758-build-v8-product-mirror.yml#L1-L227 - Page: https://code.globalgrid2050.com/explore-code/s/1807.html#f1 - Synopsis: A configuration file in the workflow archive folder of GridAtlas using data from GitHub API. Runs on push and by hand. - What it achieves (comment): Named “Build V8 product mirror on V9 data plane”; runs V8 Product Parity (`atman/202608291758-v8-product-parity.mjs`). - What it does: It fetches data. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: GitHub API; JSON file release-manifest.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file release-manifest.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 1, estate-url 1); used by 0; mentioned by 0 ### Build Place Postcode Search - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608291818-build-place-postcode-search.yml (YAML, 260 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608291818-build-place-postcode-search.yml#L1-L260 - Page: https://code.globalgrid2050.com/explore-code/s/1807.html#f2 - Synopsis: A configuration file in the workflow archive folder of GridAtlas that fetches Renewable Energy Planning Database (REPD) projects, postcodes and the REPD register from GitHub API. Runs after another workflow. - What it achieves (comment): Named “Build V8 mirror place postcode successor”; runs Verify Place Postcode Release (`atman/202608291818-verify-place-postcode-release.mjs`). - What it does: It fetches REPD projects, postcodes and the REPD register. Side effects: reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: postcodes, the REPD register. - Inputs & outputs: In: data source: GitHub API; Parquet file repd_projects_202608290716.parquet; JSON file release-manifest.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API; Parquet file repd_projects_202608290716.parquet; JSON file release-manifest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Prove V8 Product Mirror - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608291818-prove-v8-product-mirror.yml (YAML, 131 lines) · role automation · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608291818-prove-v8-product-mirror.yml#L1-L131 - Page: https://code.globalgrid2050.com/explore-code/s/1807.html#f3 - Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs on push and by hand. - What it achieves (comment): Runs Prove V8 Product Mirror (`atman/202608291818-prove-v8-product-mirror.mjs`). - What it does: It fetches data. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV. - Inputs & outputs: Voltage levels named: 400kV. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Bootstrap Map Ready Source - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608292126-bootstrap-map-ready-source.yml (YAML, 97 lines) · role automation · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608292126-bootstrap-map-ready-source.yml#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/1808.html#f1 - Synopsis: A configuration file in the workflow archive folder of GridAtlas that reads map ready runtime and performance record schema. Runs on push and by hand. - What it does: It loads map ready runtime and performance record schema. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file 202608292126-map-ready-runtime.json; JSON file layer-performance-record-v1.schema.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file 202608292126-map-ready-runtime.json; JSON file layer-performance-record-v1.schema.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Build Publish Map Ready V9 - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608292126-build-publish-map-ready-v9.yml (YAML, 581 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608292126-build-publish-map-ready-v9.yml#L1-L581 - Page: https://code.globalgrid2050.com/explore-code/s/1808.html#f2 - Synopsis: A configuration file in the workflow archive folder of GridAtlas that fetches map ready runtime and performance record schema from GitHub API. Runs on push and by hand. - What it achieves (comment): Named “Build publish and promote map-ready V8 mirror”. - What it does: It fetches map ready runtime, performance record schema and local map ready proof. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV. - Inputs & outputs: In: data source: GitHub API; JSON file 202608292126-map-ready-runtime.json; JSON file layer-performance-record-v1.schema.json; JSON file map-ready-manifest.json; JSON file release-manifest.json; JSON file build-manifest.json; JSON file 202608292126-local-map-ready-proof.json; JSON file 202608292126-public-map-ready-proof.json. Out: JSON file live-set.json; JSON file current-v4.json. Voltage levels named: 400kV. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file 202608292126-map-ready-runtime.json; JSON file layer-performance-record-v1.schema.json; JSON file map-ready-manifest.json; JSON file release-manifest.json; JSON file build-manifest.json; JSON file 202608292126-local-map-ready-proof.json; JSON file 202608292126-public-map-ready-proof.json]; out [JSON file live-set.json; JSON file current-v4.json]; crs []; voltages [400kV] - Edges: uses 4 estate files (workflow-run 2, estate-url 2); used by 0; mentioned by 0 ### Build Verify Publish Render Ready V9 - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608292311-build-verify-publish-render-ready-v9.yml (YAML, 379 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608292311-build-verify-publish-render-ready-v9.yml#L1-L379 - Page: https://code.globalgrid2050.com/explore-code/s/1809.html#f1 - Synopsis: A configuration file in the workflow archive folder of GridAtlas that fetches render ready runtime and render ready performance record schema from GitHub API. Runs on push and by hand. - What it achieves (name): Its name says it builds verify publish render ready. - What it does: It fetches render ready runtime, render ready performance record schema and map ready. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV. - Inputs & outputs: In: data source: GitHub API; JSON file 202608292311-render-ready-runtime.json; JSON file render-ready-performance-record-v1.schema.json; JSON file release-manifest.json; JSON file build-manifest.json; JSON file map-ready-manifest.json; GeoJSON file grid_400kv.geojson; JSON file 202608292311-public-render-ready-proof.json. Out: JSON file live-set.json; JSON file current-v5.json. Voltage levels named: 400kV. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file 202608292311-render-ready-runtime.json; JSON file render-ready-performance-record-v1.schema.json; JSON file release-manifest.json; JSON file build-manifest.json; JSON file map-ready-manifest.json; GeoJSON file grid_400kv.geojson; JSON file 202608292311-public-render-ready-proof.json]; out [JSON file live-set.json; JSON file current-v5.json]; crs []; voltages [400kV] - Edges: uses 3 estate files (workflow-run 2, estate-url 1); used by 0; mentioned by 0 ### Evaluate Cross Repo Atlas V9 - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608300232-evaluate-cross-repo-atlas-v9.yml (YAML, 136 lines) · role automation · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608300232-evaluate-cross-repo-atlas-v9.yml#L1-L136 - Page: https://code.globalgrid2050.com/explore-code/s/1809.html#f2 - Synopsis: A configuration file in the workflow archive folder of GridAtlas that reads atlas deep link contract, previous semantic and current semantic. Runs on push, on a schedule and by hand. - What it achieves (comment): Runs Evaluate Cross Repo Atlas V9 (`orchestration/202608300232-evaluate-cross-repo-atlas-v9.py`). - What it does: It loads atlas deep link contract, previous semantic and current semantic. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file atlas-v9-deep-link-contract.v1.json; JSON file previous.json; JSON file result.json; JSON file previous.semantic.json; JSON file current.semantic.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file atlas-v9-deep-link-contract.v1.json; JSON file previous.json; JSON file result.json; JSON file previous.semantic.json; JSON file current.semantic.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Repair Render Ready Browser Install - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608300257-repair-render-ready-browser-install.yml (YAML, 76 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608300257-repair-render-ready-browser-install.yml#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1809.html#f3 - Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs on push and by hand. - What it achieves (name): Its name says it repairs render ready browser install. - What it does: It loads data. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: EPC_contractor · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Export Render Ready Webkit Patch - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608300315-export-render-ready-webkit-patch.yml (YAML, 61 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608300315-export-render-ready-webkit-patch.yml#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1809.html#f4 - Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs on push and by hand. - What it achieves (name): Its name says it exports render ready webkit patch. - What it does: It loads data. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Three Hour V8 V9 Watchdog - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608300327-three-hour-v8-v9-watchdog.yml (YAML, 13 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608300327-three-hour-v8-v9-watchdog.yml#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/1809.html#f5 - Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs by hand. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Attest Live Pointer Lineage - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608300345-attest-live-pointer-lineage.yml (YAML, 150 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608300345-attest-live-pointer-lineage.yml#L1-L150 - Page: https://code.globalgrid2050.com/explore-code/s/1810.html#f1 - Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs on push, on a schedule and by hand. - What it achieves (comment): Named “Attest current Atlas live-pointer lineage”. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file release-manifest.json; JSON file build-manifest.json. Out: JSON file release-manifest.json; JSON file live-set.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release-manifest.json; JSON file build-manifest.json]; out [JSON file release-manifest.json; JSON file live-set.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Bootstrap Five Hour V8 V9 Closure - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608300430-bootstrap-five-hour-v8-v9-closure.yml (YAML, 13 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608300430-bootstrap-five-hour-v8-v9-closure.yml#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/1810.html#f2 - Synopsis: A configuration file in the workflow archive folder of GridAtlas. Runs by hand. - What it achieves (comment): Named “Retired Atlas bootstrap wrapper”. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Five Hour V8 V9 Watchdog - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608300437-five-hour-v8-v9-watchdog.yml (YAML, 231 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608300437-five-hour-v8-v9-watchdog.yml#L1-L231 - Page: https://code.globalgrid2050.com/explore-code/s/1810.html#f3 - Synopsis: A configuration file in the workflow archive folder of GridAtlas that fetches five hour attempt history and postcodes. Runs on push, on a schedule and by hand. - What it achieves (comment): Named “Five-hour strict V8 V9 comparator”. - What it does: It fetches five hour attempt history and postcodes. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: postcodes. - Inputs & outputs: In: JSON file release-manifest.json; JSON file build-manifest.json. Out: JSON file five-hour-attempt-history.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file release-manifest.json; JSON file build-manifest.json]; out [JSON file five-hour-attempt-history.json]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 1, estate-url 1); used by 0; mentioned by 0 ### Build Verify Promote Exact Renewable Energy Planning Database (REPD) Deep Link - File: gridatlas/.github/workflow-archive/202608301321-hostile-amnesia/202608300453-build-verify-promote-exact-repd-deep-link.yml (YAML, 667 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflow-archive/202608301321-hostile-amnesia/202608300453-build-verify-promote-exact-repd-deep-link.yml#L1-L667 - Page: https://code.globalgrid2050.com/explore-code/s/1811.html#f1 - Synopsis: A configuration file in the workflow archive folder of GridAtlas that fetches deep link receiver and map ready from GitHub API. Runs on push, on a schedule and by hand. - What it achieves (name): Its name says it builds verify promote exact REPD deep link. - What it does: It fetches deep link receiver, map ready and local render ready proof. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: GitHub API; JSON file release-manifest.json; JSON file deep-link-receiver-manifest.json; JSON file build-manifest.json; JSON file map-ready-manifest.json; JSON file 202608300453-local-render-ready-proof.json; JSON file 202608300453-public-render-ready-proof.json; JSON file 202608300453-local-exact-repd-deep-link-proof.json. Out: JSON file live-set.json; JSON file current-v5.json. - domain_stage: experimental · commercial_user: IPP_developer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file release-manifest.json; JSON file deep-link-receiver-manifest.json; JSON file build-manifest.json; JSON file map-ready-manifest.json; JSON file 202608300453-local-render-ready-proof.json; JSON file 202608300453-public-render-ready-proof.json; JSON file 202608300453-local-exact-repd-deep-link-proof.json]; out [JSON file live-set.json; JSON file current-v5.json]; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 3, estate-url 2); used by 0; mentioned by 0 ### GridAtlas Scope Loop Workflow - File: gridatlas/.github/workflows/202608301321-scope-loop.yml (YAML, 106 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/202608301321-scope-loop.yml#L1-L106 - Page: https://code.globalgrid2050.com/explore-code/s/1812.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Scope-loop-mode: retired. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### GridAtlas Verify Live Workflow - File: gridatlas/.github/workflows/202608301321-verify-live.yml (YAML, 490 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/202608301321-verify-live.yml#L1-L490 - Page: https://code.globalgrid2050.com/explore-code/s/1812.html#f2 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “Build, deploy and verify modular GridAtlas v9.5”; runs Build Streaming Bridge (`tools/v9_5/build_streaming_bridge.py`), Release Stream Payload Cache (`tools/v9_5/release_stream_payload_cache.py`) and Verify Compose (`tools/scope/verify-compose.mjs`). - What it does: It builds and publishes A roads. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: A roads. - Inputs & outputs: In: JSON file current.json. Out: JSON file cvaa-selected-gates.json; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [JSON file cvaa-selected-gates.json; commits pushed to the repository]; crs []; voltages [] - Edges: uses 13 estate files (workflow-run 11, estate-url 2); used by 0; mentioned by 0 ### GridAtlas Overnight Next Versions Workflow - File: gridatlas/.github/workflows/202608310015-gridatlas-overnight-next-versions.yml (YAML, 298 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/202608310015-gridatlas-overnight-next-versions.yml#L1-L298 - Page: https://code.globalgrid2050.com/explore-code/s/1813.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it does: It builds and publishes its content. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608310015-gridatlas-programme-ledger.json; JSON file current.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608310015-gridatlas-programme-ledger.json; JSON file current.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### GridAtlas Next Version Builders Workflow - File: gridatlas/.github/workflows/202608310050-gridatlas-next-version-builders.yml (YAML, 309 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/202608310050-gridatlas-next-version-builders.yml#L1-L309 - Page: https://code.globalgrid2050.com/explore-code/s/1813.html#f2 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it achieves (comment): Runs Loop (`tools/scope/loop.mjs`), Select Build Plan (`202608310050-gridatlas-next-version-builders/tools/202608310050-select-build-plan.mjs`) and `202608310050-gridatlas-next-version-builders/tools/202608310050-build-n1-deep-link-candidates.py`. - What it does: It runs the REPD register. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file inoculate-current.json; JSON file status.json; DuckDB queries. Out: JSON file measurement.json; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file inoculate-current.json; JSON file status.json; DuckDB queries]; out [JSON file measurement.json; commits pushed to the repository]; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### GridAtlas Cartridge Proof Workflow - File: gridatlas/.github/workflows/202608312212-cartridge-proof.yml (YAML, 250 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/202608312212-cartridge-proof.yml#L1-L250 - Page: https://code.globalgrid2050.com/explore-code/s/1814.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, on pull requests and by hand. - What it achieves (comment): Every cartridge push runs the proof of the cartridge that is composed. - What it does: It builds and publishes its content. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: DuckDB queries. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out []; crs []; voltages [] - Edges: uses 9 estate files (workflow-run 9); used by 0; mentioned by 0 ### GridAtlas Offshore Coordinate Reconcile Workflow - File: gridatlas/.github/workflows/offshore-coordinate-reconcile.yml (YAML, 139 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/offshore-coordinate-reconcile.yml#L1-L139 - Page: https://code.globalgrid2050.com/explore-code/s/1814.html#f2 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, on a schedule and by hand. - What it achieves (comment): Runs `gridatlas/tools/offshore/reconcile_offshore_coordinates.py`. - What it does: It builds and publishes the REPD register. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. README: "Offshore coordinates are reconciled by `tools/offshore/reconcile_offshore_coordinates.py`, run annually and on demand by `.github/workflows/offshore-coordinate-reconcile.yml`, writing `atlas/data/offshore-coordinates.json`." - Inputs & outputs: In: JSON file offshore-coordinates.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file offshore-coordinates.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GridAtlas PR File Size Guard Workflow - File: gridatlas/.github/workflows/pr-file-size-guard.yml (YAML, 1012 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/pr-file-size-guard.yml#L1-L1012 - Page: https://code.globalgrid2050.com/explore-code/s/1815.html#f1 - Synopsis: A GitHub Actions workflow. Runs on pull requests. - What it achieves (comment): Named “PR file size guard and cartridge gate”; runs SatNav G203 Verify Composition (`tools/satnav/g203-verify-composition.mjs`), G203 03 Gps Camera Test (`tests/g203-03-gps-camera.test.mjs`) and SatNav Serve (`tools/satnav/serve.mjs`). - What it does: It runs substations. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations. - Inputs & outputs: In: JSON file current.json; JSON file -composition.json; JSON file zip.json; JSON file parquet.json. Out: JSON file comparison.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file -composition.json; JSON file zip.json; JSON file parquet.json]; out [JSON file comparison.json]; crs []; voltages [] - Edges: uses 69 estate files (workflow-run 69); used by 0; mentioned by 0 ### GridAtlas Rollback Composition Workflow - File: gridatlas/.github/workflows/rollback-composition.yml (YAML, 189 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/rollback-composition.yml#L1-L189 - Page: https://code.globalgrid2050.com/explore-code/s/1816.html#f2 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Move the live composition back to a generation that has already shipped. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### GridAtlas Teleprint Parse Gate Workflow - File: gridatlas/.github/workflows/teleprint-parse-gate.yml (YAML, 105 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/gridatlas/blob/98b5004c5eda9f2ed915fb6fca4b9bbcaa426ca5/.github/workflows/teleprint-parse-gate.yml#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/1816.html#f3 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and by hand. - What it achieves (comment): On a cartridge went live that did not parse: a single-quoted string carrying a raw line break. window.initVentusMap never ran, and the. - What it does: It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Agent Start Workflow - File: kuiper-belt/.github/workflows/agent-start.yml (YAML, 47 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/.github/workflows/agent-start.yml#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1816.html#f4 - Synopsis: A GitHub Actions workflow in Kuiper Belt. Runs on push, on a schedule and by hand. - What it achieves (comment): Runs Agent Start (`tools/agent_start.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'agent'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Check Workflow - File: kuiper-belt/.github/workflows/check.yml (YAML, 26 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/.github/workflows/check.yml#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/1816.html#f5 - Synopsis: A GitHub Actions workflow in Kuiper Belt that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “checking engineer”; runs CI Check (`tools/ci_check.py`). - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Engine Workflow - File: kuiper-belt/.github/workflows/engine.yml (YAML, 53 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/kuiper-belt/blob/26fba12ab1b5bab8e71934ab86c58273e5f32682/.github/workflows/engine.yml#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1817.html#f1 - Synopsis: A GitHub Actions workflow in Kuiper Belt. Runs on a schedule and by hand. - What it achieves (comment): Runs CI Check (`tools/ci_check.py`), Harvest (`tools/harvest.py`) and Wafer Topup (`tools/wafer_topup.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'kuiper'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### Array Pages Workflow - File: kuiper-drawing-engine/.github/workflows/array-pages.yml (YAML, 52 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/kuiper-drawing-engine/blob/0d322ce8edb4646f2153cf72eeac247d903301e6/.github/workflows/array-pages.yml#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1817.html#f2 - Synopsis: A GitHub Actions workflow in Kuiper Drawing Engine that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “Array layout checks and Pages”; runs Test Public Bundle (`tests/test_public_bundle.py`), Check Public Bundle (`tools/check_public_bundle.py`) and `tests/browser.cjs`; publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### Build - File: law/tools/build.py (Python, 158 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/law/blob/53c6c3218e7c56bce3fe6ca7727f82f2fb505dc4/tools/build.py#L1-L158 - Page: https://code.globalgrid2050.com/explore-code/s/1817.html#f3 - Synopsis: A Python command-line tool in the tools folder of Law that reads laws. - What it achieves (comment): Render `index.html` from `laws.json`, and refuse if a law is not whole. - What it does: It loads laws. Defines main. Uses libraries io, json, sys. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file laws.json. - Downstream impact: Used directly by 1 file: Law — Index Page (law). Reached from 2 other entry points, including Watch Workflow (time-stone); Watch (time-stone). - Signatures: `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file laws.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Verify Derived Workflow - File: layout-tool/.github/workflows/verify-derived.yml (YAML, 36 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/layout-tool/blob/a23476c78898ff3023048738986497382b5569c1/.github/workflows/verify-derived.yml#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/1817.html#f4 - Synopsis: A GitHub Actions workflow in Layout Tool. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Verify derived Module cartridge provenance”; runs Test Verify Derived (`tools/test_verify_derived.py`) and Verify Derived (`tools/verify_derived.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'layout'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file derived-latest.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file derived-latest.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Verify Original Workflow - File: layout-tool/.github/workflows/verify-original.yml (YAML, 42 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/layout-tool/blob/a23476c78898ff3023048738986497382b5569c1/.github/workflows/verify-original.yml#L1-L42 - Page: https://code.globalgrid2050.com/explore-code/s/1817.html#f5 - Synopsis: A GitHub Actions workflow in Layout Tool. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Verify original layout component baselines”; runs `tools/test_verify.py` and `tools/verify.py`. - What it does: It runs solar and battery storage (BESS). Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'layout'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Derive Module - File: layout-tool/tools/derive_module.py (Python, 49 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/layout-tool/blob/a23476c78898ff3023048738986497382b5569c1/tools/derive_module.py#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1817.html#f6 - Synopsis: A Python command-line tool in the tools folder of Layout Tool covering solar, battery storage (BESS) and cables, using SHA-256. - What it achieves (comment): It is built from the blob step (`blob`) and the sha step (`sha`). Compose one immutable Module Layout guard release from committed original bytes. It accepts `--generation`. - What it does: Defines blob, sha, main. Uses libraries pathlib, argparse, datetime, hashlib, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'layout'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), cables. README: "`tools/derive_module.py` composes a new timestamp without overwriting old releases." - Inputs & outputs: In: command-line arguments. Out: JSON file derived-latest.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `blob(path)`; `sha(raw)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file derived-latest.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Import Original - File: layout-tool/tools/import_original.py (Python, 79 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/layout-tool/blob/a23476c78898ff3023048738986497382b5569c1/tools/import_original.py#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/1817.html#f7 - Synopsis: A Python command-line tool in the tools folder of Layout Tool covering grid substations, Renewable Energy Planning Database (REPD) master, solar and battery storage (BESS), using SHA-256. - What it achieves (comment): It is built from the git step (`git`). Import an immutable original runtime from an explicit GlobalGrid Git revision. It accepts `--source`, `--commit` and `--generation`. - What it does: Defines git, main. Uses libraries argparse, datetime, hashlib, json, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'layout'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: GeoJSON file grid_substations.geojson; JSON file repd_master.json; command-line arguments. Out: JSON file latest.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `git(repo, *args)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [GeoJSON file grid_substations.geojson; JSON file repd_master.json; command-line arguments]; out [JSON file latest.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Verify Derived - File: layout-tool/tools/test_verify_derived.py (Python, 101 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/layout-tool/blob/a23476c78898ff3023048738986497382b5569c1/tools/test_verify_derived.py#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/1817.html#f8 - Synopsis: A test in the tools folder of Layout Tool that checks Verify Derived, using SHA-256. - What it achieves (name): It sets up (`setUp`) and is built from the derived release class (`DerivedRelease`) and the encode step (`encode`). Defines `DerivedRelease`, `setUp`, `git` and 16 more. It writes `latest.json`. - What it does: It tests its inputs. Defines 19 functions or classes, including DerivedRelease, setUp, git, encode, sha. Uses libraries copy, hashlib, json, subprocess, tempfile. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'layout'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file latest.json; JSON file derived-latest.json. - Downstream impact: Used directly by 1 file: Verify Derived Workflow (layout-tool). - Signatures: `class DerivedRelease`; `setUp(self)`; `git(*args)`; `encode(value)`; `sha(raw)`; `write(self, path, raw)`; `record(self, path, raw)`; `pin(self)`; `replace(self, path, raw)`; `refused(self, text)`; `test_valid_release_passes_despite_dirty_unrelated_baseline_worktree(self)`; `test_formula_change_fails_even_with_rehashed_manifest(self)`; `test_extra_entry_change_fails_even_with_rehashed_manifest(self)`; `test_cartridge_must_match_maintained_source(self)`; `test_unknown_role_traversal_duplicate_and_missing_member_fail(self)`; `test_missing_or_unpinned_sibling_fails(self)`; `test_github_repository_url_is_supported_but_other_host_is_not(self)`; `test_baseline_and_pointer_hashes_are_checked(self)`; `test_syntax_is_checked_even_when_cartridge_matches_source(self)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of cable-trench-or-drill/tools/test_verify_derived.py) · essay_status: readme_derived - data_contracts: in [JSON file latest.json; JSON file derived-latest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Verify Derived - File: layout-tool/tools/verify_derived.py (Python, 127 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/layout-tool/blob/a23476c78898ff3023048738986497382b5569c1/tools/verify_derived.py#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/1817.html#f9 - Synopsis: A Python command-line tool in the tools folder of Layout Tool that works with git bytes (`git_bytes`), using SHA-256. - What it achieves (comment): It is built from the digest step (`digest`), the safe step (`safe`) and the verify step (`verify`). Verify an explicit Module derived release without weakening the original baseline gate. It accepts `--root` and `--out`. - What it does: Defines digest, safe, git_bytes, verify, require. Uses libraries argparse, hashlib, json, re, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'layout'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. README: "`tools/verify_derived.py` proves the original-file closure, exact entry insertion, maintained guard bytes and explicit sibling pins." - Inputs & outputs: In: JSON file derived-latest.json; JSON file latest.json; command-line arguments. - Downstream impact: Used directly by 2 files: Verify Derived Workflow (layout-tool); Test Verify Derived (layout-tool). - Signatures: `digest(raw)`; `safe(root, name)`; `git_bytes(repo, commit, path)`; `verify(repo)`; `require(ok, text)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: duplicate_candidate (duplicate of cable-trench-or-drill/tools/verify_derived.py) · essay_status: readme_derived - data_contracts: in [JSON file derived-latest.json; JSON file latest.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Tracking Workflow - File: legislation/.github/workflows/tracking.yml (YAML, 71 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/.github/workflows/tracking.yml#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/1818.html#f1 - Synopsis: A GitHub Actions workflow in Legislation. Runs on push, on pull requests and on a schedule. - What it achieves (comment): Named “Legislative listing monitor”; runs Track (`tracking/track.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Verify Workflow - File: legislation/.github/workflows/verify.yml (YAML, 50 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/.github/workflows/verify.yml#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/1818.html#f2 - Synopsis: A GitHub Actions workflow in Legislation. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Verify legislative evidence”; runs Verify (`tools/verify.py`), Verify Catalogue (`data/verify_catalogue.py`) and Legal (`engine/legal.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 6 estate files (workflow-run 6); used by 0; mentioned by 0 ### Test Replay - File: legislation/case/replay/test_replay.py (Python, 63 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/case/replay/test_replay.py#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/1818.html#f3 - Synopsis: A test in the case folder of Legislation that checks Replay. It replays tests (`ReplayTests`). - What it achieves (comment): Offline regressions; the full historical Act is fetched only for benchmark replay. - What it does: It tests its inputs. Defines 7 functions or classes, including ReplayTests, test_canonical_fixture_without_expected_answers, test_changed_evidence_refused_by_each_arm, test_changed_artifact_refused_before_cache_use, test_missing_and_ambiguous_dated_provision. Uses libraries copy, json, pathlib, unittest, unittest.mock. Side effects: reads or writes files. - Inputs & outputs: In: JSON file changed.json; JSON file receipt.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class ReplayTests`; `test_canonical_fixture_without_expected_answers(self)`; `test_changed_evidence_refused_by_each_arm(self)`; `test_changed_artifact_refused_before_cache_use(self)`; `test_missing_and_ambiguous_dated_provision(self)`; `test_wrong_edition_or_bytes_rejected(self)`; `test_receipt_scope(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file changed.json; JSON file receipt.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Screen - File: legislation/contracts/test_screen.py (Python, 74 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/contracts/test_screen.py#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1818.html#f4 - Synopsis: A test in the contracts folder of Legislation that checks Screen. It sets up (`setUp`) and is built from the screening test class (`ScreeningTest`). - What it achieves (name): Defines `ScreeningTest`, `setUp`, `test_fixture` and 6 more. - What it does: It tests its inputs. Defines 9 functions or classes, including ScreeningTest, setUp, test_fixture, test_two_gate_reference_truth_table, test_stale_proposed_wrong_territory_or_wrong_project. Uses libraries json, unittest, itertools, pathlib. Side effects: reads or writes files. - Inputs & outputs: In: JSON file fictional_solar.json. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class ScreeningTest`; `setUp(self)`; `test_fixture(self)`; `test_two_gate_reference_truth_table(self)`; `test_stale_proposed_wrong_territory_or_wrong_project(self)`; `test_conflicting_evidence(self)`; `test_positive_appraisal_cannot_clear_unknowns(self)`; `test_nearby_feature_alone(self)`; `test_mislabelled_source_or_scope(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file fictional_solar.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Register - File: legislation/diary/test_register.py (Python, 12 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/diary/test_register.py#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1818.html#f5 - Synopsis: A test in the diary folder of Legislation. It registers test (`RegisterTest`). - What it achieves (name): Defines `RegisterTest` and `test_all_reviewed_repositories_have_pinned_readmes`. - What it does: It tests its inputs. Defines RegisterTest, test_all_reviewed_repositories_have_pinned_readmes. Uses libraries json, pathlib, unittest. Side effects: reads or writes files. - Inputs & outputs: In: JSON file repositories.json. - Signatures: `class RegisterTest`; `test_all_reviewed_repositories_have_pinned_readmes(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file repositories.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Compare - File: legislation/editions/test_compare.py (Python, 21 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/editions/test_compare.py#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1818.html#f6 - Synopsis: A test in the editions folder of Legislation that checks Compare. It is built from the edition tests class (`EditionTests`). - What it achieves (name): Defines `EditionTests`, `test_real_historical_editions`, `test_reject_changed_input` and 1 more. - What it does: It tests its inputs. Defines EditionTests, test_real_historical_editions, test_reject_changed_input, test_reject_unrelated_provisions. Uses libraries json, pathlib, unittest. Side effects: reads or writes files. - Inputs & outputs: In: JSON file receipt.json. - Signatures: `class EditionTests`; `test_real_historical_editions(self)`; `test_reject_changed_input(self)`; `test_reject_unrelated_provisions(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file receipt.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Legal - File: legislation/engine/test_legal.py (Python, 92 lines) · role test · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/engine/test_legal.py#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/1818.html#f7 - Synopsis: A test in the engine folder of Legislation that checks Legal. It sets up (`setUp`) and is built from the retrieval class (`Retrieval`). - What it achieves (name): Defines `Retrieval`, `setUp`, `test_exact_multibyte_nested_and_empty` and 9 more. - What it does: It tests its inputs. Defines 12 functions or classes, including Retrieval, setUp, test_exact_multibyte_nested_and_empty, test_unknown_does_not_return_parent, test_digest_pinned_through_reimport. Uses libraries json, pathlib, sqlite3, sys, unittest. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file catalogue.json; JSON file benchmark-receipt.json; SQLite database. - Signatures: `class Retrieval`; `setUp(self)`; `test_exact_multibyte_nested_and_empty(self)`; `test_unknown_does_not_return_parent(self)`; `test_digest_pinned_through_reimport(self)`; `test_source_mismatch_and_duplicate_identity_atomic(self)`; `test_catalogue_identifiers_and_dated_snapshots(self)`; `test_regnal_refuses_false_identity_and_partial_document(self)`; `test_corruption(self)`; `test_indexed_terms(self)`; `test_search(self)`; `test_golden_excerpt(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file catalogue.json; JSON file benchmark-receipt.json; SQLite database]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test - File: legislation/protections/test.mjs (JavaScript, 40 lines) · role test · stage output - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/protections/test.mjs#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1818.html#f8 - Synopsis: A JavaScript module in the protections folder of Legislation that tests healthy and diseases, using SHA-256. - What it achieves (name): Defines `fixture` and `fresh`. - What it does: It tests healthy and diseases. Defines fixture, fresh. Uses libraries node:assert/strict, node:test, node:fs, node:url, node:path. Side effects: reads or writes files. - Inputs & outputs: In: JSON file healthy.json; JSON file diseases.json. - Downstream impact: Used directly by 1 file: Verify (legislation). Reached from 1 other entry point, including Verify Workflow (legislation). - Signatures: `fixture(name)`; `fresh()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file healthy.json; JSON file diseases.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Verify - File: legislation/tools/verify.py (Python, 17 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/tools/verify.py#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/1818.html#f9 - Synopsis: A Python module in the tools folder of Legislation that runs each suite in its own directory, then check repository-level references. - What it does: Uses libraries json, pathlib, subprocess, sys. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Downstream impact: Used directly by 1 file: Verify Workflow (legislation). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 1; mentioned by 0 ### Backfill Lightning Workflow - File: lightning/.github/workflows/backfill-lightning.yml (YAML, 167 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/.github/workflows/backfill-lightning.yml#L1-L167 - Page: https://code.globalgrid2050.com/explore-code/s/1818.html#f10 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “UK lightning archive backfill”; runs History (`history.py`), Collect (`collect.py`) and Status (`status.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 27 estate files (workflow-run 27); used by 0; mentioned by 0 ### Backfill Parallel Lightning Workflow - File: lightning/.github/workflows/backfill-parallel-lightning.yml (YAML, 263 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/.github/workflows/backfill-parallel-lightning.yml#L1-L263 - Page: https://code.globalgrid2050.com/explore-code/s/1819.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “UK lightning archive backfill (parallel)”; runs Backfill Parallel (`backfill_parallel.py`), History (`history.py`) and CI Verify Data (`ci/verify_data.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 24 estate files (workflow-run 24); used by 0; mentioned by 0 ### Collector Watchdog Workflow - File: lightning/.github/workflows/collector-watchdog.yml (YAML, 49 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/.github/workflows/collector-watchdog.yml#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1819.html#f2 - Synopsis: A GitHub Actions workflow in Lightning. Runs by hand. - What it achieves (comment): Named “UK lightning collector watchdog”; runs CI Collector Health (`ci/collector_health.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: README: "`ci/collector_health.py` and `.github/workflows/collector-watchdog.yml`: open, refresh or close the `collector-stale` issue (no heartbeat past `late_after_utc` + 90 min, or repeated failed runs) and the `feed-delivery` issue (raw.githubusercontent.com failing)" - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Test Lightning Workflow - File: lightning/.github/workflows/test-lightning.yml (YAML, 83 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/.github/workflows/test-lightning.yml#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/1819.html#f3 - Synopsis: A GitHub Actions workflow. Runs on push and on pull requests. - What it achieves (comment): Named “Validate UK lightning data pipeline”. - What it does: It tests its inputs. Side effects: changes the web page (DOM); starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 22 estate files (workflow-run 22); used by 0; mentioned by 0 ### Update Lightning Workflow - File: lightning/.github/workflows/update-lightning.yml (YAML, 204 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/.github/workflows/update-lightning.yml#L1-L204 - Page: https://code.globalgrid2050.com/explore-code/s/1819.html#f4 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Named “UK lightning optical flashes”; runs Status (`status.py`), Collect (`collect.py`) and CI Verify Data (`ci/verify_data.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: README: "`.github/workflows/update-lightning.yml`: hourly update" - Inputs & outputs: In: JSON file lightning-run-record.json; GeoJSON file lightning-feed.geojson; GeoJSON file uk_lightning.geojson; JSON file lightning-archive-result.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file lightning-run-record.json; GeoJSON file lightning-feed.geojson; GeoJSON file uk_lightning.geojson; JSON file lightning-archive-result.json]; out []; crs []; voltages [] - Edges: uses 28 estate files (workflow-run 28); used by 0; mentioned by 0 ### Verify Lightning Data Workflow - File: lightning/.github/workflows/verify-lightning-data.yml (YAML, 113 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/.github/workflows/verify-lightning-data.yml#L1-L113 - Page: https://code.globalgrid2050.com/explore-code/s/1820.html#f1 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Verify UK lightning data on main”; runs History (`history.py`), Grid (`grid.py`) and CI Verify Data (`ci/verify_data.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: In: JSON file reproduction.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file reproduction.json]; out []; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### CI Collector Health - File: lightning/ci/collector_health.py (Python, 369 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/ci/collector_health.py#L1-L369 - Page: https://code.globalgrid2050.com/explore-code/s/1820.html#f2 - Synopsis: A Python command-line tool in Lightning that fetches UK lightning from GitHub API. It parses utc (`parse_utc`), loads status (`load_status`) and opens issues (`open_issues`). - What it achieves (comment): Open, update or close the "collector-stale" GitHub issue. It accepts `--status`, `--now` and `--grace-minutes`. - What it does: It fetches UK lightning. Defines 19 functions or classes, including parse_utc, iso, load_status, evaluate, _fetch. Uses libraries __future__, argparse, json, os, sys. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: README: "`ci/collector_health.py` and `.github/workflows/collector-watchdog.yml`: open, refresh or close the `collector-stale` issue (no heartbeat past `late_after_utc` + 90 min, or repeated failed runs) and the `feed-delivery` issue (raw.githubusercontent.com failing)" - Inputs & outputs: In: data source: GitHub API; JSON file status.json; GeoJSON file uk_lightning.geojson; JSON file index.json; command-line arguments. - Downstream impact: Used directly by 4 files: Collector Watchdog Workflow (lightning); Update Lightning Workflow (lightning); Verify Lightning Data Workflow (lightning); Test Collector Health (lightning). Reached from 3 other entry points, including Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning). - Signatures: `parse_utc(value)`; `iso(value: datetime | None)`; `load_status(path: Path)`; `evaluate(status: dict | None, *, now: datetime, grace_minutes: int = GRACE_MINUTES, max_failures: int = MAX_FAILURES)`; `_fetch(url: str, *, method: str = "GET", timeout: int = 20, attempts: int = 3)`; `probe_raw(committed: dict | None, *, base: str = RAW_BASE, fetch=_fetch, lag_minutes: int = RAW_LAG_MINUTES)`; `class GitHub`; `__init__(self, repo: str, token: str, api: str = "https:)`; `call(self, method: str, path: str, payload: dict | None = None)`; `open_issues(self, label: str)`; `ensure_label(self, label: str, color: str, description: str)`; `create_issue(self, title: str, body: str, label: str)`; `update_issue(self, number: int, **fields)`; `comment(self, number: int, body: str)`; `sync_issue(client, *, label: str, unhealthy: bool, state: str, title: str, body: str, recovery: str)`; `_bullets(reasons: list[str])`; `stale_issue(verdict: dict, *, source: str, now: datetime)`; `delivery_issue(probe: dict, *, source: str, now: datetime)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file status.json; GeoJSON file uk_lightning.geojson; JSON file index.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### CI Push with Replay - File: lightning/ci/push-with-replay.sh (Shell, 92 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/ci/push-with-replay.sh#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/1820.html#f3 - Synopsis: A shell script in Lightning. - What it achieves (name): Defines `stage`. - What it does: Defines stage. Side effects: starts processes. - Downstream impact: Used directly by 5 files: Backfill Lightning Workflow (lightning); Update Lightning Workflow (lightning); CI Verify Data (lightning); Test CI Verify (lightning); and 1 more. Reached from 3 other entry points, including Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Verify Lightning Data Workflow (lightning). - Signatures: `stage()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 5; mentioned by 0 ### CI Replay Backfill - File: lightning/ci/replay-backfill.sh (Shell, 28 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/ci/replay-backfill.sh#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1820.html#f4 - Synopsis: A shell script in Lightning. - What it does: Side effects: starts processes. - Downstream impact: Used directly by 1 file: Backfill Lightning Workflow (lightning). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 1; mentioned by 0 ### CI Replay Hourly Archive - File: lightning/ci/replay-hourly-archive.sh (Shell, 35 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/ci/replay-hourly-archive.sh#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/1820.html#f5 - Synopsis: A shell script in Lightning covering lightning run record and lightning archive result. - What it does: Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file lightning-run-record.json; JSON file lightning-archive-result.json. - Downstream impact: Used directly by 1 file: Update Lightning Workflow (lightning). - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file lightning-run-record.json; JSON file lightning-archive-result.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 1; mentioned by 0 ### CI Verify Data - File: lightning/ci/verify_data.py (Python, 120 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/ci/verify_data.py#L1-L120 - Page: https://code.globalgrid2050.com/explore-code/s/1821.html#f1 - Synopsis: A Python command-line tool in Lightning that reads UK lightning, using SHA-256. It checks feed (`check_feed`) and checks status (`check_status`). - What it achieves (comment): Verify the committed data before it is pushed (quick) or after it landed (deep). It accepts `--data-dir`, `--staged` and `--deep`. - What it does: It loads UK lightning. Defines check_feed, check_status, staged_parts, main, run. Uses libraries __future__, argparse, json, subprocess, sys. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: GeoJSON file uk_lightning.geojson; JSON file status.json; JSON file index.json; command-line arguments. - Downstream impact: Used directly by 6 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Update Lightning Workflow (lightning); Verify Lightning Data Workflow (lightning); and 2 more. Reached from 2 other entry points, including Test Lightning Workflow (lightning); Test Concurrent Writers (lightning). - Signatures: `check_feed(path: Path)`; `check_status(path: Path)`; `staged_parts(data_dir: Path)`; `main(argv=None)`; `run(label, check, *, blocking=True)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [GeoJSON file uk_lightning.geojson; JSON file status.json; JSON file index.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 2, script-call 1); used by 6; mentioned by 0 ### Test Backfill - File: lightning/tests/test_backfill.py (Python, 325 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_backfill.py#L1-L325 - Page: https://code.globalgrid2050.com/explore-code/s/1821.html#f2 - Synopsis: A test in the tests folder of Lightning that checks Collect and History. It backfills tests (`BackfillTests`), sets up (`setUp`) and backfills plan tests (`BackfillPlanTests`). - What it achieves (comment): Backfill of never-searched UTC dates from a fresh, whole-day EUMETSAT search. - What it does: It tests its inputs. Defines 42 functions or classes, including slot_name, flash, FakeDownloader, __init__, __call__. Uses libraries json, sys, tempfile, unittest, datetime. Side effects: reads or writes files. - Inputs & outputs: In: JSON file index.json; JSON file rb.json; JSON file result.json; JSON file status.json. Out: JSON file status.json; JSON file index.json. - Downstream impact: Used directly by 5 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning); and 1 more. - Signatures: `slot_name(start: datetime)`; `flash(moment: datetime, tag: str, index: int = 0)`; `class FakeDownloader`; `__init__(self, flashes=(), skip_slots=(), error=None)`; `__call__(self, start, end)`; `rows(index)`; `class BackfillTests`; `setUp(self)`; `tearDown(self)`; `index(self)`; `snapshot(self)`; `rebuild(self, day=TARGET, **fake)`; `backfill(self, day=TARGET, **kwargs)`; `test_fixture_marks_the_target_date_never_searched(self)`; `test_backfill_ingests_a_rebuild_with_its_real_coverage_and_count(self)`; `test_backfill_keeps_the_hourly_heartbeat_fields_of_the_index(self)`; `test_a_fully_searched_day_without_flashes_is_zero_with_full_coverage(self)`; `test_heavy_day_respects_the_byte_caps_and_splits_into_hourly_parts(self)`; `assert_refused(self, message, **kwargs)`; `test_shard_too_large_changes_nothing_and_the_day_stays_unknown(self)`; `test_refuses_a_date_that_was_already_searched(self)`; `test_refuses_a_shard_lost_date_and_points_to_recover(self)`; `test_refuses_a_record_for_another_date(self)`; `test_refuses_a_record_without_parsed_slots(self)`; `test_refuses_a_failed_record(self)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file rb.json; JSON file result.json; JSON file status.json]; out [JSON file status.json; JSON file index.json]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 5; mentioned by 0 ### Test Backfill Parallel - File: lightning/tests/test_backfill_parallel.py (Python, 548 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_backfill_parallel.py#L1-L548 - Page: https://code.globalgrid2050.com/explore-code/s/1822.html#f1 - Synopsis: A test in the tests folder of Lightning that checks Backfill Parallel and Collect, using SHA-256. It makes archive (`make_archive`), indexes rows (`index_rows`) and splits tests (`SplitTests`). - What it achieves (comment): Parallel backfill: shard planning, shard searches and the single finalize ingest. - What it does: It tests its inputs. Defines 54 functions or classes, including slot_name, FakeEumetsat, __init__, __call__, collector. Uses libraries json, os, shutil, subprocess, sys. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file index.json; JSON file rb-2026-10-14.json; JSON file rb-2026-10-17.json; JSON file rb-2026-10-20.json; JSON file shard-1.json; JSON file shard-3.json; JSON file status.json; JSON file rb-2026-10-22.json. Out: JSON file status.json. - Downstream impact: Used directly by 5 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning); and 1 more. - Signatures: `slot_name(start)`; `class FakeEumetsat`; `__init__(self, fail_days=(), skip=None, quiet_days=())`; `__call__(self, start, end)`; `collector(self)`; `make_archive(root: Path, now: datetime, searched: date)`; `index_rows(root: Path)`; `class SplitTests`; `test_round_robin_newest_first_and_empty_shards_dropped(self)`; `test_parallelism_is_capped_at_six_for_eumetsat_fair_use(self)`; `test_plan_accepts_a_whole_year_but_not_more(self)`; `test_an_empty_plan_still_emits_a_valid_matrix(self)`; `class ShardTests`; `setUp(self)`; `tearDown(self)`; `test_shard_writes_only_records_and_a_summary(self)`; `test_rate_limit_stops_the_shard_and_never_attempts_later_dates(self)`; `test_time_budget_stops_before_starting_a_date(self)`; `slow(day, record, log, timeout=None)`; `test_cancellation_mid_search_keeps_finished_records_and_drops_the_partial_one(self)`; `test_stagger_pauses_before_the_first_search(self)`; `class FinalizeTests`; `shards(self, n=3, **fake)`; `finalize(self, n=3)`; `test_all_shards_ingested_in_one_pass_with_real_coverage(self)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file rb-2026-10-14.json; JSON file rb-2026-10-17.json; JSON file rb-2026-10-20.json; JSON file shard-1.json; JSON file shard-3.json; JSON file status.json; JSON file rb-2026-10-22.json]; out [JSON file status.json]; crs []; voltages [] - Edges: uses 6 estate files (import 4, script-call 2); used by 5; mentioned by 0 ### Test Backfill Workflow - File: lightning/tests/test_backfill_workflow.py (Python, 282 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_backfill_workflow.py#L1-L282 - Page: https://code.globalgrid2050.com/explore-code/s/1823.html#f1 - Synopsis: A test in the tests folder of Lightning that checks History and Collect. It backfills workflow text tests (`BackfillWorkflowTextTests`), backfills workflow shell tests (`BackfillWorkflowShellTests`) and sets up (`setUp`). - What it achieves (comment): Executes the shell of `backfill-lightning.yml` in throwaway git repositories. - What it does: It tests its inputs. Defines 24 functions or classes, including download, step, substitute, value, outputs. Uses libraries json, os, re, shutil, subprocess. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file index.json; JSON file status.json. Out: JSON file status.json. - Downstream impact: Used directly by 6 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning); and 2 more. Reached from 1 other entry point, including Test Shard Budget (lightning). - Signatures: `download(start, end)`; `step(workflow: Path, name: str)`; `substitute(script: str, values: dict)`; `value(match)`; `outputs(path: Path)`; `class BackfillWorkflowTextTests`; `test_manual_dispatch_only_with_the_three_inputs(self)`; `test_has_its_own_concurrency_group_so_it_never_queues_the_hourly_feed(self)`; `group(path)`; `test_search_step_uses_the_eumetsat_secrets_and_rebuild_day(self)`; `class BackfillWorkflowShellTests`; `setUp(self)`; `tearDown(self)`; `git(self, *args, cwd=None)`; `run_step(self, name, extra=None, values=None)`; `rows(self, ref="origin/main")`; `full_run(self, extra=None)`; `test_plan_lists_never_searched_dates_newest_first(self)`; `test_plan_rejects_more_than_31_days_and_an_unfinished_end_date(self)`; `test_full_backfill_is_one_verified_commit_and_leaves_the_heartbeat_alone(self)`; `test_rate_limit_stops_cleanly_commits_verified_dates_and_leaves_the_rest_unknown(self)`; `test_archive_refusal_stops_and_keeps_that_date_unknown(self)`; `test_time_budget_stops_before_any_search_and_only_warns(self)`; `test_refuses_to_write_outside_main(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file status.json]; out [JSON file status.json]; crs []; voltages [] - Edges: uses 4 estate files (import 2, script-call 2); used by 6; mentioned by 0 ### Test CI Verify - File: lightning/tests/test_ci_verify.py (Python, 208 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_ci_verify.py#L1-L208 - Page: https://code.globalgrid2050.com/explore-code/s/1823.html#f2 - Synopsis: A test in the tests folder of Lightning that checks History and Collect. It verifies tests (`VerifyDataTests`) and sets up (`setUp`). - What it achieves (comment): The `PUSH_VERIFY` gate of `ci/push-with-replay.sh` and the CI wiring. - What it does: It tests its inputs. Defines 23 functions or classes, including make_data, corrupt_a_shard, VerifyDataTests, setUp, tearDown. Uses libraries json, os, re, shutil, subprocess. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file index.json; JSON file status.json; GeoJSON file uk_lightning.geojson. Out: JSON file status.json; GeoJSON file uk_lightning.geojson. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `make_data(data: Path)`; `corrupt_a_shard(data: Path)`; `class VerifyDataTests`; `setUp(self)`; `tearDown(self)`; `verify(self, *args)`; `test_good_data_passes_quick_and_deep(self)`; `test_a_shard_differing_from_its_index_row_fails(self)`; `test_a_malformed_feed_or_status_fails(self)`; `test_a_grid_problem_warns_in_quick_mode_and_fails_deep(self)`; `class PushVerifyTests`; `git(self, *args, cwd=None)`; `push(self, *paths)`; `test_an_unverified_archive_is_never_committed_or_pushed(self)`; `test_a_heartbeat_commit_is_not_blocked_by_an_unstaged_archive_problem(self)`; `test_a_good_archive_change_is_pushed(self)`; `step_block(path: Path, name: str)`; `class CiWiringTests`; `test_every_data_commit_runs_the_quick_verify_before_pushing(self)`; `test_test_job_installs_requirements_and_the_smoke_test_cannot_skip_there(self)`; `test_deep_verify_runs_after_every_data_writer_and_human_data_push(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file status.json; GeoJSON file uk_lightning.geojson]; out [JSON file status.json; GeoJSON file uk_lightning.geojson]; crs []; voltages [] - Edges: uses 5 estate files (script-call 3, import 2); used by 4; mentioned by 0 ### Test Collect - File: lightning/tests/test_collect.py (Python, 218 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_collect.py#L1-L218 - Page: https://code.globalgrid2050.com/explore-code/s/1824.html#f1 - Synopsis: A test in the tests folder of Lightning that checks Collect. It sets up (`setUp`) and runs record tests (`RunRecordTests`). - What it achieves (name): Defines `product_for`, `UKLightningTests`, `test_uk_extent_and_neighbouring_waters` and 24 more. It reads `status.json`. - What it does: It tests its inputs. Defines 27 functions or classes, including product_for, UKLightningTests, test_uk_extent_and_neighbouring_waters, test_utc_normalisation, test_feature_timestamp_and_provenance. Uses libraries json, os, sys, tempfile, unittest. Side effects: reads or writes files. - Inputs & outputs: In: JSON file status.json; GeoJSON file feed.geojson; JSON file run.json. Out: JSON file index.json; JSON file status.json. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `product_for(slot_start: datetime)`; `class UKLightningTests`; `test_uk_extent_and_neighbouring_waters(self)`; `test_utc_normalisation(self)`; `test_feature_timestamp_and_provenance(self)`; `test_no_outside_points(self)`; `test_deduplicate_and_retention(self)`; `test_empty_collection_has_no_synthetic_strikes(self)`; `test_iso_utc_keeps_whole_seconds_and_strips_only_fractional_zeros(self)`; `class LookbackWindowTests`; `setUp(self)`; `test_defaults_to_six_hours_without_history(self)`; `test_recent_success_keeps_the_six_hour_minimum(self)`; `test_gap_since_last_success_plus_margin_wins_over_minimum(self)`; `test_gap_is_capped_at_48_hours_and_flagged(self)`; `test_exactly_at_the_cap_is_not_flagged(self)`; `test_last_success_comes_from_status_then_index_then_default(self)`; `class ProductSlotTests`; `test_real_product_name_yields_its_sensing_slot(self)`; `test_adjacent_slots_merge_and_clip_to_the_query_window(self)`; `test_missing_middle_slot_is_a_source_gap(self)`; `test_long_tail_is_also_reported_as_a_gap(self)`; `test_unparseable_names_fall_back_to_the_query_window_and_say_so(self)`; `test_merge_ranges_tolerates_one_second_seams(self)`; `class RunRecordTests` (and 2 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file status.json; GeoJSON file feed.geojson; JSON file run.json]; out [JSON file index.json; JSON file status.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Test Collector Health - File: lightning/tests/test_collector_health.py (Python, 243 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_collector_health.py#L1-L243 - Page: https://code.globalgrid2050.com/explore-code/s/1824.html#f2 - Synopsis: A test in the tests folder of Lightning that checks CI Collector Health. It opens issues (`open_issues`), creates issue (`create_issue`) and updates issue (`update_issue`). - What it achieves (comment): The collector-stale verdict, the issue sync and the workflow wiring. - What it does: It tests its inputs. Defines 39 functions or classes, including status, FakeGitHub, __init__, open_issues, ensure_label. Uses libraries io, json, sys, tempfile, unittest. Side effects: reads or writes files; makes network requests. - Inputs & outputs: In: JSON file status.json; JSON file index.json. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `status(attempt="2026-10-29T11:31:00Z", late_after="2026-10-29T13:01:00Z", outcome="success", failures=0, freshness="ok", err...)`; `class FakeGitHub`; `__init__(self, issues=None)`; `open_issues(self, label)`; `ensure_label(self, label, color, description)`; `create_issue(self, title, body, label)`; `update_issue(self, number, **fields)`; `comment(self, number, body)`; `class EvaluateTests`; `test_on_time_heartbeat_is_ok(self)`; `test_past_late_after_but_within_grace_is_late_not_an_issue(self)`; `test_past_late_after_plus_grace_is_stale(self)`; `test_grace_zero_alerts_exactly_at_late_after(self)`; `test_missing_or_unreadable_status_is_stale(self)`; `test_heartbeat_block_missing_falls_back_to_attempt_plus_90_min(self)`; `test_repeated_failures_are_failing_even_with_a_fresh_heartbeat(self)`; `test_stale_freshness_is_failing(self)`; `test_stale_wins_over_failing_and_keeps_both_reasons(self)`; `test_the_committed_status_json_is_readable(self)`; `class SyncIssueTests`; `sync(self, gh, unhealthy, state="stale", body="b")`; `test_opens_one_issue_with_the_label(self)`; `test_second_unhealthy_check_updates_without_a_comment(self)`; `test_a_state_change_comments_once(self)`; `test_recovery_closes_with_a_comment(self)` (and 14 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file status.json; JSON file index.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 4; mentioned by 0 ### Test Concurrent Writers - File: lightning/tests/test_concurrent_writers.py (Python, 294 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_concurrent_writers.py#L1-L294 - Page: https://code.globalgrid2050.com/explore-code/s/1825.html#f1 - Synopsis: A test in the tests folder of Lightning that checks History and Collect. It sets up (`setUp`), backfills search (`backfill_search`) and backfills commit (`backfill_commit`). - What it achieves (comment): The hourly collector and a backfill commit to main at the same time. - What it does: It tests its inputs. Defines 25 functions or classes, including ConcurrencyDesignTests, group, test_no_other_workflow_shares_the_hourly_group, test_hourly_run_is_bounded_under_an_hour_and_never_cancelled, test_two_cron_slots_and_a_gate_that_only_scheduled_runs_can_skip. Uses libraries json, os, re, shutil, subprocess. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file index.json; JSON file status.json; GeoJSON file uk_lightning.geojson. Out: JSON file status.json; GeoJSON file uk_lightning.geojson; JSON file lightning-run-record.json. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `class ConcurrencyDesignTests`; `group(path)`; `test_no_other_workflow_shares_the_hourly_group(self)`; `test_hourly_run_is_bounded_under_an_hour_and_never_cancelled(self)`; `test_two_cron_slots_and_a_gate_that_only_scheduled_runs_can_skip(self)`; `test_status_write_records_trigger_and_run_timing(self)`; `test_no_pull_rebase_of_generated_files_in_any_writer(self)`; `class PushRaceTests`; `setUp(self)`; `tearDown(self)`; `clone(self, name)`; `git(self, cwd, *args)`; `runner(self, repo)`; `sh(self, repo, script, extra=None)`; `hourly_collect(self, start, end, flash_at, flash_id)`; `hourly_commit(self, before_feed=None, before_archive_commit=None)`; `backfill_search(self)`; `backfill_commit(self, out)`; `main_view(self)`; `test_hourly_push_loses_to_a_backfill_and_replays_its_archive_and_heartbeat(self)`; `test_backfill_push_loses_to_the_hourly_job_and_skips_a_date_the_hourly_job_searched(self)`; `test_feed_push_loses_to_a_backfill_and_the_archive_then_builds_on_the_backfill(self)`; `test_refuses_to_reset_over_unrelated_uncommitted_changes(self)`; `test_pushes_to_the_checked_out_branch_never_to_main(self)`; `test_gives_up_loudly_after_the_attempt_limit(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file status.json; GeoJSON file uk_lightning.geojson]; out [JSON file status.json; GeoJSON file uk_lightning.geojson; JSON file lightning-run-record.json]; crs []; voltages [] - Edges: uses 6 estate files (import 3, script-call 3); used by 4; mentioned by 0 ### Test Download Retries - File: lightning/tests/test_download_retries.py (Python, 422 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_download_retries.py#L1-L422 - Page: https://code.globalgrid2050.com/explore-code/s/1825.html#f2 - Synopsis: A test in the tests folder of Lightning that checks Backfill Parallel and Collect. It reads timeout (`ReadTimeout`), reads timeout sub (`ReadTimeoutSub`) and sets up (`setUp`). - What it achieves (comment): A single transient download error must not stop a whole search. - What it does: It tests its inputs. Defines 53 functions or classes, including ProtocolError, ChunkedEncodingError, RequestsConnectionError, ReadTimeout, Timeout. Uses libraries http.client, io, json, sys, tempfile. Side effects: reads or writes files; makes network requests. - Inputs & outputs: In: JSON file rb.json; JSON file status.json; JSON file index.json; GeoJSON file feed.geojson. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `class ProtocolError`; `class ChunkedEncodingError`; `class RequestsConnectionError`; `class ReadTimeout`; `class Timeout`; `class ReadTimeoutSub`; `class FakeResponse`; `__init__(self, status_code, headers=None)`; `class HTTPError`; `class ProductError`; `incident_error()`; `class FakeProduct`; `__str__(self)`; `open(self)`; `class FlakyEumetsat`; `products(self, start, end)`; `__call__(self, start, end)`; `class Base`; `setUp(self)`; `tearDown(self)`; `rebuild(self, fake, day=TARGET)`; `load(self)`; `assertBackoff(self, sleeps, bases)`; `class TransientRetryTests`; `test_incomplete_read_twice_then_success_fills_the_day_with_no_unparsed_slot(self)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file rb.json; JSON file status.json; JSON file index.json; GeoJSON file feed.geojson]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 4; mentioned by 0 ### Test Grid - File: lightning/tests/test_grid.py (Python, 221 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_grid.py#L1-L221 - Page: https://code.globalgrid2050.com/explore-code/s/1826.html#f2 - Synopsis: A test in the tests folder of Lightning that checks Collect and Grid, using SHA-256. - What it achieves (comment): It sets up (`setUp`) and is built from the flash step (`flash`) and the scan step (`scan`). Month density grids (`grid/YYYY-MM.json`, uk-lightning-history-grid.v1); no network. - What it does: It tests its inputs. Defines 22 functions or classes, including flash, scan, load, summed, GridTests. Uses libraries json, subprocess, sys, tempfile, unittest. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file index.json; JSON file 2026-09.json; JSON file 2026-10.json; JSON file 2025-10.json; JSON file 2025-11.json; JSON file 2026-12.json; JSON file rb.json. Out: JSON file 2026-09.json. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `flash(moment, tag, index=0, lon=-2.12, lat=51.11)`; `scan(start, end)`; `load(root, month)`; `summed(grid_obj, day)`; `class GridTests`; `setUp(self)`; `tearDown(self)`; `archive(self, flashes, *, now=NOW, windows=(), **kwargs)`; `seed(self)`; `test_cell_rule_is_a_clamped_0_1_degree_grid_over_the_view_bounds(self)`; `test_ingest_writes_one_grid_per_retention_month_summing_exactly_to_the_index(self)`; `test_unknown_days_are_null_not_zero_and_a_searched_empty_day_is_zero(self)`; `test_days_carry_the_shard_sha256_the_client_compares_with_the_index(self)`; `test_split_days_sum_their_hourly_parts(self)`; `test_rerun_is_byte_identical_and_a_rebuild_from_scratch_gives_the_same_bytes(self)`; `test_a_new_flash_rewrites_only_its_month_and_rereads_only_its_day(self)`; `test_months_leaving_retention_are_removed(self)`; `test_a_grid_that_differs_from_the_index_is_stale_and_verify_refuses_it(self)`; `test_a_corrupt_grid_is_rebuilt_and_bad_cell_rows_are_refused(self)`; `test_a_grid_failure_never_blocks_the_archive(self)`; `test_backfill_regenerates_the_month_of_the_filled_date(self)`; `test_cli_build_is_the_one_off_generator_and_is_idempotent(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file 2026-09.json; JSON file 2026-10.json; JSON file 2025-10.json; JSON file 2025-11.json; JSON file 2026-12.json; JSON file rb.json]; out [JSON file 2026-09.json]; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 4; mentioned by 0 ### Test Heartbeat - File: lightning/tests/test_heartbeat.py (Python, 162 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_heartbeat.py#L1-L162 - Page: https://code.globalgrid2050.com/explore-code/s/1826.html#f3 - Synopsis: A test in the tests folder of Lightning that checks Status. It is built from the record step (`record`), the write step (`write`) and the heartbeat tests class (`HeartbeatTests`). - What it achieves (comment): `status.json` explains staleness: when the collector last ran, what started it, and why the gap was long. - What it does: It tests its inputs. Defines 16 functions or classes, including record, write, HeartbeatTests, test_on_time_run, test_the_08_55_run_names_both_the_scheduler_and_the_queue. Uses libraries json, sys, tempfile, unittest, datetime. Side effects: reads or writes files. - Inputs & outputs: In: JSON file status.json; JSON file missing.json; JSON file rec.json. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `record(run_utc: str, end_utc: str)`; `write(previous, rec, *, now, trigger="schedule", created=None, started=None, collect="success")`; `class HeartbeatTests`; `test_on_time_run(self)`; `test_the_08_55_run_names_both_the_scheduler_and_the_queue(self)`; `test_the_15_19_run_blames_the_scheduler_not_the_collector(self)`; `test_queue_only(self)`; `test_manual_start_and_unknown_creation_time(self)`; `test_first_heartbeat_and_failed_run(self)`; `test_if_late_never_claims_zero(self)`; `test_heartbeat_survives_a_backfill_status_write(self)`; `test_next_cron_slot(self)`; `class DueTests`; `test_only_a_scheduled_run_after_a_recent_success_skips(self)`; `test_cli_writes_the_github_output(self)`; `test_cli_write_accepts_the_timing_flags(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file status.json; JSON file missing.json; JSON file rec.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Test History - File: lightning/tests/test_history.py (Python, 453 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_history.py#L1-L453 - Page: https://code.globalgrid2050.com/explore-code/s/1827.html#f1 - Synopsis: A test in the tests folder of Lightning that checks History and Collect, using SHA-256. - What it achieves (comment): It sets up (`setUp`) and is built from the rows with flashes helper (`rows_with_flashes`) and the lightning history tests class (`LightningHistoryTests`). Offline contracts for the one-year lightning archive (index v2); no network. - What it does: It tests its inputs. Defines 34 functions or classes, including rows_with_flashes, LightningHistoryTests, setUp, tearDown, flash. Uses libraries json, sys, tempfile, unittest, datetime. Side effects: reads or writes files. - Inputs & outputs: In: JSON file index.json; JSON file seed.json; JSON file absent.json; JSON file 24.json; JSON file run.json; JSON file result.json; JSON file none.json. Out: JSON file 24.json; JSON file index.json. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `rows_with_flashes(index)`; `class LightningHistoryTests`; `setUp(self)`; `tearDown(self)`; `flash(self, timestamp, product, index=0, lon=-2.12, lat=51.11)`; `scan(self, start, end)`; `test_index_v2_has_the_f8_fields_and_one_row_per_utc_date(self)`; `test_never_scanned_and_scanned_zero_are_different_rows(self)`; `test_partial_coverage_counts_only_scanned_seconds(self)`; `test_day_with_flashes_but_no_recorded_window_gets_a_proven_lower_bound(self)`; `test_day_shard_v1_shape_bytes_and_sha256_are_indexed(self)`; `test_duplicate_reingestion_and_rerun_are_idempotent_and_existing_bytes_win(self)`; `test_outside_location_non_source_and_future_are_rejected(self)`; `test_retention_prunes_day_files_but_not_current(self)`; `test_observations_before_the_cutoff_are_clamped_and_flagged_not_raised(self)`; `test_calendar_year_cutoff_handles_leap_day(self)`; `test_sealed_rule(self)`; `test_storm_day_splits_into_hourly_parts_above_the_target(self)`; `test_real_constants_split_a_genuine_shape_storm_day(self)`; `test_shard_above_max_bytes_fails_loudly_and_writes_nothing(self)`; `test_damaged_day_archive_fails_without_erasure(self)`; `test_untouched_days_are_verified_by_sha256_not_reparsed(self)`; `spy(file, expected_day)`; `test_missing_days_never_claim_zero_lightning(self)`; `test_overlap_scan_windows_merge_without_false_complete_coverage_claim(self)` (and 9 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file seed.json; JSON file absent.json; JSON file 24.json; JSON file run.json; JSON file result.json; JSON file none.json]; out [JSON file 24.json; JSON file index.json]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 4; mentioned by 0 ### Test History Window - File: lightning/tests/test_history_window.mjs (JavaScript, 507 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_history_window.mjs#L1-L507 - Page: https://code.globalgrid2050.com/explore-code/s/1828.html#f1 - Synopsis: A test in the tests folder of Lightning that checks History Window, using SHA-256. - What it achieves (name): It is built from the v2 row helper (`v2Row`), the rows between helper (`rowsBetween`) and the v2 index helper (`v2Index`). Defines `flash`, `shard`, `sha` and 7 more. - What it does: It tests its inputs. Defines 10 functions or classes, including flash, shard, sha, v2Row, rowsBetween. Uses libraries node:test, node:assert/strict. Side effects: changes the web page (DOM). - Inputs & outputs: In: JSON file index.json; GeoJSON file uk_lightning.geojson; JSON file 24.json; JSON file 25.json; JSON file 23.json; JSON file 03.json; JSON file 04.json; JSON file 17.json. - Downstream impact: Used directly by 1 file: Test Lightning Workflow (lightning). - Signatures: `flash(time, id)`; `shard(date, features, extra = {})`; `sha(c)`; `v2Row(date, over = {})`; `rowsBetween(from, to, overrides)`; `v2Index(overrides = {}, top = {})`; `v1Index()`; `fixtures(index = v2Index(), { feed = null, bodies = {} } = {})`; `fetchImpl(url, init = {})`; `client(f, extra = {})` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; GeoJSON file uk_lightning.geojson; JSON file 24.json; JSON file 25.json; JSON file 23.json; JSON file 03.json; JSON file 04.json; JSON file 17.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Test Reproduce - File: lightning/tests/test_reproduce.py (Python, 305 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_reproduce.py#L1-L305 - Page: https://code.globalgrid2050.com/explore-code/s/1829.html#f1 - Synopsis: A test in the tests folder of Lightning that checks Grid and History. It sets up (`setUp`), writes index (`write_index`) and runs cli (`run_cli`). - What it achieves (comment): Independent recomputation of the archive from its committed files; no network. It writes `days/2026/10/24.json`. - What it does: It tests its inputs. Defines 32 functions or classes, including flash, scan, ReproduceTests, setUp, tearDown. Uses libraries io, json, re, sys, tempfile. Side effects: reads or writes files. - Inputs & outputs: In: JSON file index.json; JSON file 30.json; JSON file 24.json; JSON file 2026-09.json; JSON file record.json; JSON file summary.json. Out: JSON file index.json. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `flash(moment, tag, index=0, lon=-2.12, lat=51.11)`; `scan(start, end)`; `class ReproduceTests`; `setUp(self)`; `tearDown(self)`; `seed(self, **kwargs)`; `check(self)`; `index(self)`; `write_index(self, index)`; `rewrite_json(self, rel, change)`; `test_writer_output_reproduces_with_no_mismatch_and_agrees_with_the_writers_own_verify(self)`; `test_summary_digest_is_deterministic_and_moves_with_any_byte(self)`; `test_unknown_is_never_counted_as_zero(self)`; `test_split_day_parts_reproduce(self)`; `test_flash_proof_fallback_for_a_day_with_flashes_but_no_window(self)`; `test_shard_lost_day_reproduces_as_unknown(self)`; `assert_mismatch(self, pattern)`; `test_moved_flash_breaks_sha256_and_grid(self)`; `test_index_total_and_row_count_edits_are_reported(self)`; `test_never_searched_row_turned_into_zero_is_reported(self)`; `test_coverage_upgrade_without_a_scan_window_is_reported(self)`; `test_grid_cell_edit_is_reported(self)`; `test_missing_shard_unexpected_file_and_non_canonical_bytes_are_reported(self)`; `test_flash_outside_bounds_or_on_another_date_is_reported(self)`; `record(self, features, *, start=D24, seconds=86400, **extra)` (and 7 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file 30.json; JSON file 24.json; JSON file 2026-09.json; JSON file record.json; JSON file summary.json]; out [JSON file index.json]; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 4; mentioned by 0 ### Test Search Retry - File: lightning/tests/test_search_retry.py (Python, 87 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_search_retry.py#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/1829.html#f2 - Synopsis: A test in the tests folder of Lightning that checks Collect. It reads timeout (`ReadTimeout`), searches retry tests (`SearchRetryTests`) and runs search (`run_search`). - What it achieves (comment): The EUMETSAT search (and its paging) is retried on transient errors (run 40690260149). - What it does: It tests its inputs. Defines 16 functions or classes, including ConnectionError, ReadTimeout, FakeProducts, __init__, __iter__. Uses libraries unittest, unittest.mock. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `class ConnectionError`; `class ReadTimeout`; `class FakeProducts`; `__init__(self, items, fail_on_iter=None)`; `__iter__(self)`; `class SearchRetryTests`; `run_with(self, outcomes)`; `run_search()`; `test_read_timeout_on_search_is_retried(self)`; `test_timeout_while_paging_is_retried_and_results_are_listed(self)`; `test_gives_up_after_the_retry_budget(self)`; `test_fatal_errors_are_not_retried(self)`; `test_empty_search_still_refuses(self)`; `class SearchRetryDefaultsTests`; `test_default_rng_and_sleep_work_without_injection(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Test Shard Budget - File: lightning/tests/test_shard_budget.py (Python, 312 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_shard_budget.py#L1-L312 - Page: https://code.globalgrid2050.com/explore-code/s/1830.html#f1 - Synopsis: A test in the tests folder of Lightning that checks Backfill Parallel and Collect. - What it achieves (comment): It sets up (`setUp`) and is built from the silent server class (`SilentServer`) and the close step (`close`). A stalled EUMETSAT read must never hang a shard (and so the whole backfill). - What it does: It tests its inputs. Defines 40 functions or classes, including SilentServer, __init__, _serve, close, HangingProduct. Uses libraries json, socket, sys, tempfile, threading. Side effects: reads or writes files; makes network requests. - Inputs & outputs: In: JSON file shard-3.json. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `class SilentServer`; `__init__(self)`; `_serve(self)`; `close(self)`; `class HangingProduct`; `__str__(self)`; `open(self)`; `class Stream`; `__enter__(self)`; `read(self)`; `__exit__(self, *exc)`; `class RequestTimeoutTests`; `setUp(self)`; `test_hanging_read_times_out_is_retried_then_unparsed(self)`; `test_read_timeouts_are_transient_by_name(self)`; `test_too_many_timed_out_slots_still_trip_the_per_day_threshold(self)`; `_fake_requests(self)`; `class Session`; `request(self, method, url, params=None, data=None, headers=None, cookies=None, files=None, auth=None, timeout=None, **rest)`; `get(self, url, **kwargs)`; `test_every_session_call_gets_the_explicit_timeout(self)`; `test_real_requests_read_times_out_on_a_stalled_server(self)`; `test_search_products_installs_the_timeout_before_eumdac(self)`; `class ShardWallClockTests`; `good(self, day, record, log, timeout=None)` (and 10 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file shard-3.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 4; mentioned by 0 ### Test Shard Lost - File: lightning/tests/test_shard_lost.py (Python, 327 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_shard_lost.py#L1-L327 - Page: https://code.globalgrid2050.com/explore-code/s/1830.html#f2 - Synopsis: A test in the tests folder of Lightning that checks History and Collect, using SHA-256. It sets up (`setUp`), indexes bytes (`index_bytes`) and rebuilds record (`rebuild_record`). - What it achieves (comment): A listed shard that vanished: unknown (never zero), flagged in index and status, healthy days keep flowing, and recovery only from verified evidence. - What it does: It tests its inputs. Defines 27 functions or classes, including rows, ShardLostTests, setUp, tearDown, flash. Uses libraries json, shutil, sys, tempfile, unittest. Side effects: reads or writes files. - Inputs & outputs: In: JSON file index.json; JSON file 24.json; JSON file run.json; JSON file result.json; JSON file none.json; JSON file partial.json; JSON file earlier-index.json; JSON file 04.json. Out: JSON file index.json. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `rows(result_or_index)`; `class ShardLostTests`; `setUp(self)`; `tearDown(self)`; `flash(self, timestamp, product, index=0)`; `scan(self, start, end)`; `lose_whole_day(self)`; `index_bytes(self)`; `test_lost_day_is_unknown_and_its_last_recorded_entry_is_kept_as_evidence(self)`; `test_later_flashes_for_a_lost_day_are_quarantined_never_counted_or_discarded(self)`; `test_index_carries_an_explicit_integrity_alert(self)`; `test_healthy_archive_reports_integrity_ok(self)`; `test_cli_ingest_prints_the_alert_and_still_succeeds(self)`; `test_healthy_days_continue_while_the_archive_stays_flagged(self)`; `test_verify_rejects_a_silently_cleared_flag_or_a_lost_row_with_a_count(self)`; `test_recover_from_a_verified_earlier_shard_restores_the_row_and_audits_it(self)`; `test_recover_refuses_a_partial_or_altered_shard_and_changes_nothing(self)`; `test_recover_refuses_without_a_recorded_entry_unless_an_earlier_index_is_given(self)`; `test_recover_split_day_needs_every_missing_part_and_verifies_survivors(self)`; `test_recover_refuses_a_day_that_is_not_lost(self)`; `rebuild_record(self, features, start, end, run_utc="2026-10-26T15:00:00.000Z", **over)`; `test_rebuild_must_cover_the_recorded_scan_and_match_the_recorded_count(self)`; `test_rebuild_must_contain_every_quarantined_flash(self)`; `test_unanchored_rebuild_needs_an_explicit_flag_and_is_audited_as_such(self)`; `test_cli_recover(self)` (and 2 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file 24.json; JSON file run.json; JSON file result.json; JSON file none.json; JSON file partial.json; JSON file earlier-index.json; JSON file 04.json]; out [JSON file index.json]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 4; mentioned by 0 ### Test Slot Edge - File: lightning/tests/test_slot_edge.py (Python, 327 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_slot_edge.py#L1-L327 - Page: https://code.globalgrid2050.com/explore-code/s/1831.html#f1 - Synopsis: A test in the tests folder of Lightning that checks Backfill Parallel and Collect, using SHA-256. It makes archive (`make_archive`), rebuilds outside day tests (`RebuildOutsideDayTests`) and sets up (`setUp`). - What it achieves (comment): Slot-edge flashes: attribution to the product's nominal slot, outside-day drops, and a finalize that never loses a whole run to one refused date. - What it does: It tests its inputs. Defines 44 functions or classes, including product_name, iso, EdgeEumetsat, __init__, slots. Uses libraries json, sys, tempfile, unittest, datetime. Side effects: reads or writes files. - Inputs & outputs: In: JSON file index.json; JSON file rb.json; JSON file status.json. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `product_name(start: datetime, end: datetime)`; `iso(moment: datetime)`; `class EdgeEumetsat`; `__init__(self, day: datetime, flashes: dict, skip=())`; `slots(self)`; `products(self)`; `__call__(self, start, end)`; `incident_flashes(day: datetime)`; `make_archive(root: Path)`; `rows(root: Path)`; `class SlotAttributionTests`; `test_flash_slot_is_its_products_nominal_slot(self)`; `test_flashes_prove_their_products_slot_not_the_slot_of_their_timestamp(self)`; `test_edge_tolerance_is_the_documented_sixty_seconds(self)`; `class RebuildOutsideDayTests`; `setUp(self)`; `tearDown(self)`; `test_rebuild_drops_previous_day_flashes_and_counts_them_outside_day(self)`; `class BackfillEdgeTests`; `rebuild(self, flashes=None, skip=())`; `write(self, record)`; `backfill(self)`; `test_incident_edge_flash_before_its_products_nominal_start_is_accepted(self)`; `test_previous_day_flash_inside_a_record_is_dropped_and_counted_not_refused(self)`; `test_next_day_flash_inside_a_record_is_dropped_and_counted(self)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file rb.json; JSON file status.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 4; mentioned by 0 ### Test Slot Span - File: lightning/tests/test_slot_span.py (Python, 354 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_slot_span.py#L1-L354 - Page: https://code.globalgrid2050.com/explore-code/s/1831.html#f2 - Synopsis: A test in the tests folder of Lightning that checks Backfill Parallel and Collect. It makes archive (`make_archive`), sets up (`setUp`) and decodes never drops silently tests (`DecodeNeverDropsSilentlyTests`). - What it achieves (comment): Flashes timed outside their product's NAME span: the and refusals. - What it does: It tests its inputs. Defines 35 functions or classes, including lfl_name, april_layout, august_layout, LayoutEumetsat, __init__. Uses libraries json, sys, tempfile, unittest, datetime. Side effects: reads or writes files. - Inputs & outputs: In: JSON file index.json; JSON file rb.json; JSON file status.json. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `lfl_name(start: datetime, end: datetime, created: datetime | None = None, cycle: int = 1)`; `april_layout(day: datetime)`; `august_layout(day: datetime)`; `class LayoutEumetsat`; `__init__(self, layout, flashes: dict, skip=())`; `name(self, start)`; `products(self)`; `__call__(self, start, end)`; `indexed_body(content: bytes, product_name: str, start: datetime, end: datetime)`; `make_archive(root: Path)`; `rows(root: Path)`; `class Harness`; `setUp(self)`; `tearDown(self)`; `rebuild(self, day: datetime, fake)`; `backfill(self, day: datetime)`; `ids(self, day: datetime)`; `class April12Tests`; `test_incident_flash_in_its_cycle_before_the_late_start_is_kept_and_its_slot_stays_unknown(self)`; `test_incident_flash_after_the_span_inside_the_next_product_is_accepted_and_counted_once(self)`; `test_incident_flash_after_the_span_listed_only_by_its_own_product_is_accepted(self)`; `class August28Tests`; `test_previous_date_flash_of_the_product_is_dropped_and_counted_never_refused(self)`; `test_previous_date_flash_left_in_the_record_is_dropped_and_counted(self)`; `test_incident_flash_after_the_span_in_the_next_examined_product_is_accepted(self)` (and 8 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; JSON file rb.json; JSON file status.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 4; mentioned by 0 ### Test Smoke Default Paths - File: lightning/tests/test_smoke_default_paths.py (Python, 305 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_smoke_default_paths.py#L1-L305 - Page: https://code.globalgrid2050.com/explore-code/s/1832.html#f1 - Synopsis: A test in the tests folder of Lightning that checks Collect and History. It reads timeout (`ReadTimeout`), gets collection (`get_collection`) and sets up (`setUp`). - What it achieves (comment): Smoke test: the REAL entry points on their DEFAULT code paths, faked only at the network. - What it does: It tests its inputs. Defines 41 functions or classes, including ReadTimeout, _maybe_fail, AccessToken, __init__, _update_token_data. Uses libraries importlib, importlib.util, io, json, os. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: In: JSON file rb.json; GeoJSON file uk_lightning.geojson; JSON file status.json; JSON file run.json; JSON file archive-result.json; JSON file no-seed.json; JSON file index.json. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `class ReadTimeout`; `_maybe_fail(kind)`; `class AccessToken`; `__init__(self, credentials)`; `_update_token_data(self)`; `class _Stream`; `__enter__(self)`; `__exit__(self, *exc)`; `read(self)`; `class _Product`; `__str__(self)`; `open(self)`; `class _Results`; `__iter__(self)`; `class _Collection`; `search(self, dtstart, dtend)`; `class DataStore`; `get_collection(self, collection_id)`; `product_name(start: datetime)`; `slot_floor(value: datetime)`; `body_netcdf(flashes)`; `product_zip(name: str, body: bytes)`; `class SmokeBase`; `setUp(self)`; `tearDown(self)` (and 10 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file rb.json; GeoJSON file uk_lightning.geojson; JSON file status.json; JSON file run.json; JSON file archive-result.json; JSON file no-seed.json; JSON file index.json]; out []; crs []; voltages [] - Edges: uses 5 estate files (script-call 5); used by 4; mentioned by 0 ### Test Status - File: lightning/tests/test_status.py (Python, 164 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_status.py#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/1832.html#f2 - Synopsis: A test in the tests folder of Lightning that checks Status. It is built from the status tests class (`StatusTests`). - What it achieves (comment): `data/status.json` is written after every run; failures leave a trace, never a zero. - What it does: It tests its inputs. Defines 12 functions or classes, including StatusTests, test_success_records_the_examined_scan_end_not_now, test_failure_keeps_previous_success_and_counts_consecutive_failures, test_archive_failure_is_recorded_without_touching_feed_success, test_unparsed_slots_do_not_advance_the_scan_end. Uses libraries json, sys, tempfile, unittest, datetime. Side effects: reads or writes files. - Inputs & outputs: In: JSON file status.json; JSON file missing.json; JSON file run.json. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `class StatusTests`; `test_success_records_the_examined_scan_end_not_now(self)`; `test_failure_keeps_previous_success_and_counts_consecutive_failures(self)`; `test_archive_failure_is_recorded_without_touching_feed_success(self)`; `test_unparsed_slots_do_not_advance_the_scan_end(self)`; `test_lost_days_reach_the_status_file(self)`; `test_shard_lost_degrades_health_and_raises_an_integrity_alert(self)`; `test_integrity_alert_is_carried_when_the_archive_step_fails_or_is_skipped(self)`; `test_recovered_archive_reports_ok_again(self)`; `test_alert_command_exits_nonzero_while_a_shard_is_lost(self)`; `test_health_thresholds(self)`; `test_cli_writes_the_file_even_without_a_run_record(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file status.json; JSON file missing.json; JSON file run.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 4; mentioned by 0 ### Test Unreadable Product - File: lightning/tests/test_unreadable_product.py (Python, 351 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_unreadable_product.py#L1-L351 - Page: https://code.globalgrid2050.com/explore-code/s/1833.html#f1 - Synopsis: A test in the tests folder of Lightning that checks Backfill Parallel and Collect. It makes zip (`make_zip`), makes archive (`make_archive`) and sets up (`setUp`). - What it achieves (comment): One unreadable EUMETSAT product must not stop a whole search. - What it does: It tests its inputs. Defines 40 functions or classes, including slot_name, make_zip, good_zip, no_body_zip, corrupt_body_zip. Uses libraries io, json, sys, tempfile, unittest. Side effects: reads or writes files. - Inputs & outputs: In: JSON file rb.json; JSON file status.json; JSON file index.json; JSON file rb-2026-10-20.json; GeoJSON file feed.geojson. - Downstream impact: Used directly by 8 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning); and 4 more. - Signatures: `slot_name(start: datetime)`; `make_zip(members: dict)`; `good_zip(name: str, flashes)`; `no_body_zip(name: str)`; `corrupt_body_zip(name: str)`; `fake_body(content: bytes, product_name: str, start: datetime, end: datetime)`; `class FakeProduct`; `__init__(self, name, blob=b"", error=None)`; `__str__(self)`; `open(self)`; `class FakeEumetsat`; `products(self, start, end)`; `__call__(self, start, end)`; `make_archive(root: Path, now: datetime, searched: date)`; `class Base`; `setUp(self)`; `tearDown(self)`; `rebuild(self, fake, day=TARGET)`; `load(self)`; `class RebuildDayTests`; `test_zip_without_body_becomes_an_unparsed_slot_and_the_run_carries_on(self)`; `test_the_incident_product_name_is_recorded_and_does_not_stop_the_day(self)`; `test_corrupt_netcdf_and_corrupt_zip_are_unparsed_slots_too(self)`; `test_backfill_ingests_the_day_as_partial_with_the_unparsed_slot_unknown(self)`; `test_up_to_twenty_percent_unparsed_slots_still_succeed(self)` (and 13 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file rb.json; JSON file status.json; JSON file index.json; JSON file rb-2026-10-20.json; GeoJSON file feed.geojson]; out []; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 8; mentioned by 0 ### Test Workflow - File: lightning/tests/test_workflow.py (Python, 155 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/tests/test_workflow.py#L1-L155 - Page: https://code.globalgrid2050.com/explore-code/s/1833.html#f2 - Synopsis: A test in the tests folder of Lightning that checks History and Status. It sets up (`setUp`) and runs step (`run_step`). - What it achieves (comment): Executes the shell of `update-lightning.yml` steps in throwaway git repositories. - What it does: It tests its inputs. Defines 14 functions or classes, including step_script, substitute, value, WorkflowShellTests, setUp. Uses libraries os, re, shutil, subprocess, sys. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file status.json; JSON file index.json; JSON file partial.json; command-line arguments. Out: GeoJSON file uk_lightning.geojson; JSON file status.json; JSON file index.json; JSON file partial.json. - Downstream impact: Used directly by 4 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `step_script(name: str)`; `substitute(script: str, outcomes: dict)`; `value(match)`; `class WorkflowShellTests`; `setUp(self)`; `tearDown(self)`; `git(self, *args, cwd=None)`; `run_step(self, name, outcomes, extra_env=None)`; `pushed_files(self)`; `test_status_is_committed_when_data_history_does_not_exist_yet(self)`; `test_archive_and_status_are_committed_together_after_a_good_run(self)`; `test_archive_step_runs_verify_after_ingest_and_fails_when_verify_fails(self)`; `test_failed_archive_step_commits_status_only_and_restores_the_archive(self)`; `test_surface_step_fails_on_an_integrity_alert_even_when_collect_and_archive_succeed(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file status.json; JSON file index.json; JSON file partial.json; command-line arguments]; out [GeoJSON file uk_lightning.geojson; JSON file status.json; JSON file index.json; JSON file partial.json]; crs []; voltages [] - Edges: uses 3 estate files (script-call 3); used by 4; mentioned by 0 ### Operations Index Workflow - File: neural-link-between-agents/.github/workflows/operations-index.yml (YAML, 30 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/.github/workflows/operations-index.yml#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/1833.html#f3 - Synopsis: A GitHub Actions workflow in Neural Link Between Agents. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Validate agent operations index”; runs Validate Operations (`automation/validate_operations.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file STATUS.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file STATUS.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Overnight V928 01 Release Workflow - File: neural-link-between-agents/.github/workflows/overnight-v928-01-release.yml (YAML, 90 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/.github/workflows/overnight-v928-01-release.yml#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/1833.html#f4 - Synopsis: A GitHub Actions workflow in Neural Link Between Agents. Runs on push and by hand. - What it achieves (comment): Named “Overnight five / 01-release / Release contracts and browser”; runs `automation/pipeline_release/verify.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Overnight V928 02 News Workflow - File: neural-link-between-agents/.github/workflows/overnight-v928-02-news.yml (YAML, 85 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/.github/workflows/overnight-v928-02-news.yml#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/1834.html#f1 - Synopsis: A GitHub Actions workflow in Neural Link Between Agents. Runs on push and by hand. - What it achieves (comment): Named “Overnight five / 02-news / News prioritisation and attribution”. - What it does: It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Overnight V928 03 Evidence Workflow - File: neural-link-between-agents/.github/workflows/overnight-v928-03-evidence.yml (YAML, 85 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/.github/workflows/overnight-v928-03-evidence.yml#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/1834.html#f2 - Synopsis: A GitHub Actions workflow in Neural Link Between Agents that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “Overnight five / 03-evidence / Evidence matching and source safeguards”. - What it does: It builds and publishes its content. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Overnight V928 04 Map Workflow - File: neural-link-between-agents/.github/workflows/overnight-v928-04-map.yml (YAML, 84 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/.github/workflows/overnight-v928-04-map.yml#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/1834.html#f3 - Synopsis: A GitHub Actions workflow in Neural Link Between Agents. Runs on push and by hand. - What it achieves (comment): Named “Overnight five / 04-map / All-row MAP and GridAtlas contracts”; runs `automation/pipeline_release/check_deeplinks.mjs`. - What it does: It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file v924-links.json; JSON file v927-links.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file v924-links.json; JSON file v927-links.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Overnight V928 05 Public Workflow - File: neural-link-between-agents/.github/workflows/overnight-v928-05-public.yml (YAML, 82 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/.github/workflows/overnight-v928-05-public.yml#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/1834.html#f4 - Synopsis: A GitHub Actions workflow in Neural Link Between Agents. Runs on push and by hand. - What it achieves (comment): Named “Overnight five / 05-public / Homepage live readback and rollback”; runs `automation/v924_public/verify.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file public-receipt.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file public-receipt.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### V923 Public Readback Workflow - File: neural-link-between-agents/.github/workflows/v923-public-readback.yml (YAML, 114 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/.github/workflows/v923-public-readback.yml#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/1834.html#f5 - Synopsis: A GitHub Actions workflow in Neural Link Between Agents that builds and publishes the site using data from the GlobalGrid2050 repository. Runs on push and by hand. - What it achieves (comment): Named “V9.23 public homepage and archived V9.22 served-byte readback”. - What it does: It builds and publishes its content. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: globalgrid2050 data; JSON file v923-public-receipt.json; JSON file homepage.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [data source: globalgrid2050 data; JSON file v923-public-receipt.json; JSON file homepage.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### V923 Six Hour Neural Audit Workflow - File: neural-link-between-agents/.github/workflows/v923-six-hour-neural-audit.yml (YAML, 109 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/.github/workflows/v923-six-hour-neural-audit.yml#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/1834.html#f6 - Synopsis: A GitHub Actions workflow in Neural Link Between Agents. Runs on push and by hand. - What it achieves (comment): Named “V9.23 six-hour neural evidence cycles”; runs Audit (`automation/v923-recovery/audit.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'neural'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### VEDIC E03 Preserve OSM Workflow - File: neural-link-between-agents/.github/workflows/vedic-e03-preserve-osm.yml (YAML, 112 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/neural-link-between-agents/blob/598eff3f59afe11738d64cb14cb8befe5e37cdc2/.github/workflows/vedic-e03-preserve-osm.yml#L1-L112 - Page: https://code.globalgrid2050.com/explore-code/s/1834.html#f7 - Synopsis: A GitHub Actions workflow in Neural Link Between Agents. Runs on push and by hand. - What it achieves (comment): Named “VEDIC E03 preserve bounded OSM evidence”. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file meta.json. Out: JSON file RECEIPT.json; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file meta.json]; out [JSON file RECEIPT.json; commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Marine Workflow - File: opensea/.github/workflows/marine.yml (YAML, 59 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/opensea/blob/93a4b5c996596d10d9bf3ec99a86338cf22f2029/.github/workflows/marine.yml#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/1835.html#f1 - Synopsis: A GitHub Actions workflow in Opensea. Runs on push, on pull requests and on a schedule. - What it achieves (comment): Named “OpenSea regional seamark pipeline”; runs Build Marine (`scripts/build_marine.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Build Marine - File: opensea/scripts/build_marine.py (Python, 256 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/opensea/blob/93a4b5c996596d10d9bf3ec99a86338cf22f2029/scripts/build_marine.py#L1-L256 - Page: https://code.globalgrid2050.com/explore-code/s/1835.html#f2 - Synopsis: A Python command-line tool in the scripts folder of Opensea that fetches regions, using SHA-256. - What it achieves (comment): It writes JSON (`write_json`) and is built from the canonical step (`canonical`) and the checksum step (`checksum`). Bounded OSM seamark PBF ingestion and versioned GridAtlas data export. It writes `manifest.json`. It accepts `--region`, `--snapshot` and `--out`. - What it does: It fetches regions. Defines 22 functions or classes, including canonical, write_json, checksum, point, location. Uses libraries argparse, hashlib, json, math, re. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file current.json; JSON file regions.json; DuckDB queries; command-line arguments. Out: Parquet file. - Downstream impact: Used directly by 2 files: Marine Workflow (opensea); Test Marine (opensea). - Signatures: `canonical(value)`; `write_json(path, value)`; `checksum(path, algorithm="sha256")`; `point(lon, lat)`; `location(loc)`; `line_geometry(coords)`; `class Reader`; `__init__(self, db, region)`; `flush(self)`; `emit(self, obj, kind, geom, state, members=None)`; `node(self, obj)`; `way(self, obj)`; `relation(self, obj)`; `ingest(db, path, region)`; `validate(db, table, region=None)`; `stitch(db)`; `fetch(url, dest)`; `acquire(region, url, work)`; `asset(path, root)`; `export(db, table, name, snapshot, root, region=None)`; `build(regions, snapshot_id, root, registry)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file regions.json; DuckDB queries; command-line arguments]; out [Parquet file]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Test Marine - File: opensea/tests/test_marine.py (Python, 81 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/opensea/blob/93a4b5c996596d10d9bf3ec99a86338cf22f2029/tests/test_marine.py#L1-L81 - Page: https://code.globalgrid2050.com/explore-code/s/1835.html#f3 - Synopsis: A test in the tests folder of Opensea that checks Build Marine, using SHA-256. - What it achieves (name): It sets up (`setUp`) and is built from the marine tests class (`MarineTests`) and the tear down helper (`tearDown`). Defines `MarineTests`, `setUp`, `tearDown` and 8 more. - What it does: It tests its inputs. Defines 11 functions or classes, including MarineTests, setUp, tearDown, test_ingest_and_relation, test_round_trip. Uses libraries json, sys, tempfile, unittest, pathlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: GeoJSON file a.geojson; Parquet file a.parquet; DuckDB queries. - Downstream impact: Used directly by 1 file: Marine Workflow (opensea). - Signatures: `class MarineTests`; `setUp(self)`; `tearDown(self)`; `test_ingest_and_relation(self)`; `test_round_trip(self)`; `test_region_stitch(self)`; `test_conflict(self)`; `test_newer_version(self)`; `test_prefer_resolved(self)`; `test_duplicate_identity(self)`; `test_coordinate_guards(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [GeoJSON file a.geojson; Parquet file a.parquet; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 1; mentioned by 0 ### Nightly Workflow - File: particle-physics-drawing-engine/.github/workflows/nightly.yml (YAML, 89 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/particle-physics-drawing-engine/blob/d3d28cc760761dab210dc3850577ee73c23fe8c5/.github/workflows/nightly.yml#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/1835.html#f4 - Synopsis: A GitHub Actions workflow in Particle Physics Drawing Engine. Runs on push, on a schedule and by hand. - What it achieves (comment): Runs Spiral vs Stack (`tools/spiral_vs_stack.py`), Underground (`tools/underground.py`) and Particles (`tools/particles.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### Particles Workflow - File: particle-physics-drawing-engine/.github/workflows/particles.yml (YAML, 59 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/particle-physics-drawing-engine/blob/d3d28cc760761dab210dc3850577ee73c23fe8c5/.github/workflows/particles.yml#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/1835.html#f5 - Synopsis: A GitHub Actions workflow in Particle Physics Drawing Engine. Runs on push and by hand. - What it achieves (comment): Runs Particles (`tools/particles.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: README: "`.github/workflows/particles.yml` runs on GitHub-hosted machines on every push to `tools/` and on demand: exactness, a generated layer on Ubuntu and on Windows, and the cross-machine DNA test." - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Atlas V9 Deep Link Successor - File: pipelinenews/.github/workflow-archive/20260830-email-storm/202608291310-atlas-v9-deep-link-successor.yml (YAML, 741 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflow-archive/20260830-email-storm/202608291310-atlas-v9-deep-link-successor.yml#L1-L741 - Page: https://code.globalgrid2050.com/explore-code/s/1836.html#f1 - Synopsis: A configuration file in the workflow archive folder of PipelineNews that fetches atlas deep link successor from GitHub API. Runs on push, on a schedule and by hand. - What it achieves (comment): Named “PipelineNews Atlas V9 timestamp-folder successor”; runs Compile Atlas V9 Deep Link (`index/202608291310-compile-atlas-v9-deep-link.mjs`), `atman/202608291310-public-browser-readback.mjs` and `atman/202608291310-compare-incumbent-successor.mjs`. - What it does: It fetches atlas deep link successor, fast site and pointer complete equivalence. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: GitHub API; JSON file current-v3.json; JSON file live-set.json; JSON file 202608291310-atlas-v9-deep-link-successor.json; JSON file 202608282200-v8-fast-site-manifest.json; JSON file 202608291310-complete-equivalence.json; JSON file release-manifest.json; JSON file 202608291310-pointer-complete-equivalence.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file current-v3.json; JSON file live-set.json; JSON file 202608291310-atlas-v9-deep-link-successor.json; JSON file 202608282200-v8-fast-site-manifest.json; JSON file 202608291310-complete-equivalence.json; JSON file release-manifest.json; JSON file 202608291310-pointer-complete-equivalence.json]; out []; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### Atlas Pointer Deep Link Successor - File: pipelinenews/.github/workflow-archive/20260830-email-storm/202608291504-atlas-pointer-deep-link-successor.yml (YAML, 845 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflow-archive/20260830-email-storm/202608291504-atlas-pointer-deep-link-successor.yml#L1-L845 - Page: https://code.globalgrid2050.com/explore-code/s/1837.html#f2 - Synopsis: A configuration file in the workflow archive folder of PipelineNews that fetches invalid GridAtlas receiver and fast site from GitHub API. Runs on push, on a schedule and by hand. - What it achieves (comment): Named “PipelineNews Atlas pointer timestamp-folder successor”; runs Resolve GridAtlas Pointer (`atman/202608291504-resolve-gridatlas-pointer.mjs`), Compile Atlas Pointer Deep Link (`index/202608291504-compile-atlas-pointer-deep-link.mjs`) and `atman/202608291504-public-browser-readback.mjs`. - What it does: It fetches invalid GridAtlas receiver and fast site. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: GitHub API; JSON file current-v3.json; JSON file live-set.json; JSON file 202608291504-atlas-pointer-deep-link-successor.json; JSON file invalid-gridatlas-receiver.json; JSON file 202608282200-v8-fast-site-manifest.json; JSON file 202608291504-complete-equivalence.json; JSON file release-manifest.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file current-v3.json; JSON file live-set.json; JSON file 202608291504-atlas-pointer-deep-link-successor.json; JSON file invalid-gridatlas-receiver.json; JSON file 202608282200-v8-fast-site-manifest.json; JSON file 202608291504-complete-equivalence.json; JSON file release-manifest.json]; out []; crs []; voltages [] - Edges: uses 7 estate files (workflow-run 7); used by 0; mentioned by 0 ### Repair Pages Historical Source Attestation - File: pipelinenews/.github/workflow-archive/20260830-email-storm/202608301150-repair-pages-historical-source-attestation.yml (YAML, 156 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflow-archive/20260830-email-storm/202608301150-repair-pages-historical-source-attestation.yml#L1-L156 - Page: https://code.globalgrid2050.com/explore-code/s/1838.html#f2 - Synopsis: A configuration file in the workflow archive folder of PipelineNews that reads pages proof result. Runs on push and by hand. - What it achieves (name): Its name says it repairs pages historical source attestation. - What it does: It loads pages proof result. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file pages-proof-result.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file pages-proof-result.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Repair Pages Historical Source Attestation V2 - File: pipelinenews/.github/workflow-archive/20260830-email-storm/202608301153-repair-pages-historical-source-attestation-v2.yml (YAML, 75 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflow-archive/20260830-email-storm/202608301153-repair-pages-historical-source-attestation-v2.yml#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1838.html#f3 - Synopsis: A configuration file in the workflow archive folder of PipelineNews covering pages proof result and atlas current. Runs on push and by hand. - What it achieves (name): Its name says it repairs pages historical source attestation. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file pages-proof-result.json; JSON file atlas-v9-current.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file pages-proof-result.json; JSON file atlas-v9-current.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### Relax Atlas Link Ledger Counts - File: pipelinenews/.github/workflow-archive/20260830-email-storm/202608301205-relax-atlas-link-ledger-counts.yml (YAML, 80 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflow-archive/20260830-email-storm/202608301205-relax-atlas-link-ledger-counts.yml#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/1838.html#f4 - Synopsis: A configuration file in the workflow archive folder of PipelineNews. Runs on push and by hand. - What it achieves (comment): Named “Derive Atlas-link closure counts”. - What it does: It loads data. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Dispatch Pages Gate Repair - File: pipelinenews/.github/workflow-archive/20260830-email-storm/202608301208-dispatch-pages-gate-repair.yml (YAML, 31 lines) · role automation · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflow-archive/20260830-email-storm/202608301208-dispatch-pages-gate-repair.yml#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/1838.html#f5 - Synopsis: A configuration file in the workflow archive folder of PipelineNews using data from GitHub API. Runs on push and by hand. - What it achieves (comment): Named “Dispatch repaired Atlas-link Pages gate”. - What it does: It fetches data. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: GitHub API. - domain_stage: experimental · commercial_user: landowner_planner · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Authorise V8 Fast Pages - File: pipelinenews/.github/workflow-archive/20260830-email-storm/authorise-v8-fast-pages.yml (YAML, 515 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflow-archive/20260830-email-storm/authorise-v8-fast-pages.yml#L1-L515 - Page: https://code.globalgrid2050.com/explore-code/s/1839.html#f1 - Synopsis: A configuration file in the workflow archive folder of PipelineNews that fetches fast site, fast pages authorisation and authorisation record from GitHub API. Runs on push and by hand. - What it does: It fetches fast site, fast pages authorisation, authorisation record and candidate immutability proof. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: GitHub API; JSON file 202608271524-v8-fast-site-manifest.json; JSON file 202608271329-v8-fast-pages-authorisation.json; JSON file 202608271524-v8-fast-pages-authorisation.json; JSON file source-record.json; JSON file candidate-immutability-proof.json; JSON file contract-proof.json; JSON file browser-proof.json. Out: JSON file pre-push-evidence.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: GitHub API; JSON file 202608271524-v8-fast-site-manifest.json; JSON file 202608271329-v8-fast-pages-authorisation.json; JSON file 202608271524-v8-fast-pages-authorisation.json; JSON file source-record.json; JSON file candidate-immutability-proof.json; JSON file contract-proof.json; JSON file browser-proof.json]; out [JSON file pre-push-evidence.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Live News Discovery Workflow - File: pipelinenews/.github/workflows/202608270844-live-news-discovery.yml (YAML, 409 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608270844-live-news-discovery.yml#L1-L409 - Page: https://code.globalgrid2050.com/explore-code/s/1840.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file candidate.json; JSON file scope-proof.json; JSON file live-collector-health.json; JSON file live-candidate-ledger.json; JSON file compiler-pass-a.json; JSON file compiler-pass-b.json; JSON file determinism-proof.json. Out: GitHub Pages deployment; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file candidate.json; JSON file scope-proof.json; JSON file live-collector-health.json; JSON file live-candidate-ledger.json; JSON file compiler-pass-a.json; JSON file compiler-pass-b.json; JSON file determinism-proof.json]; out [GitHub Pages deployment; commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Atlas V8 Deep Link Workflow - File: pipelinenews/.github/workflows/202608271329-atlas-v8-deep-link.yml (YAML, 426 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608271329-atlas-v8-deep-link.yml#L1-L426 - Page: https://code.globalgrid2050.com/explore-code/s/1841.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “Build PipelineNews Atlas V8 Deep-Link Cartridge”; publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json; JSON file candidate.json; JSON file scope-proof.json; JSON file 202608270844-v8-fast-site-manifest.json; JSON file 202608270844-v8-fast-registry.json; JSON file 202608270055-v8-fast-site-manifest.json; JSON file source-atman-proof.json; JSON file compiler-pass-a.json. Out: GitHub Pages deployment; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file candidate.json; JSON file scope-proof.json; JSON file 202608270844-v8-fast-site-manifest.json; JSON file 202608270844-v8-fast-registry.json; JSON file 202608270055-v8-fast-site-manifest.json; JSON file source-atman-proof.json; JSON file compiler-pass-a.json]; out [GitHub Pages deployment; commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Audit Atlas V8 Deep Link Quarantine Workflow - File: pipelinenews/.github/workflows/202608271329-audit-atlas-v8-deep-link-quarantine.yml (YAML, 115 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608271329-audit-atlas-v8-deep-link-quarantine.yml#L1-L115 - Page: https://code.globalgrid2050.com/explore-code/s/1841.html#f2 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608271329-v8-fast-site-manifest.json; JSON file 202608271329-v8-fast-registry.json; JSON file production-pages-audit.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608271329-v8-fast-site-manifest.json; JSON file 202608271329-v8-fast-registry.json; JSON file production-pages-audit.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews News Chronology Candidate Workflow - File: pipelinenews/.github/workflows/202608271524-news-chronology-candidate.yml (YAML, 479 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608271524-news-chronology-candidate.yml#L1-L479 - Page: https://code.globalgrid2050.com/explore-code/s/1842.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608271524-news-chronology-candidate.json; JSON file compiler-pass-a.json; JSON file compiler-pass-b.json; JSON file contract-proof.json; JSON file pages-boundary-proof.json; JSON file current.json; JSON file candidate.json; JSON file browser-proof.json. Out: JSON file source-scope-proof.json; JSON file determinism-proof.json; GitHub Pages deployment; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608271524-news-chronology-candidate.json; JSON file compiler-pass-a.json; JSON file compiler-pass-b.json; JSON file contract-proof.json; JSON file pages-boundary-proof.json; JSON file current.json; JSON file candidate.json; JSON file browser-proof.json]; out [JSON file source-scope-proof.json; JSON file determinism-proof.json; GitHub Pages deployment; commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Mobile UI Comparator Workflow - File: pipelinenews/.github/workflows/202608271656-mobile-ui-comparator.yml (YAML, 1006 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608271656-mobile-ui-comparator.yml#L1-L1006 - Page: https://code.globalgrid2050.com/explore-code/s/1843.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608271656-mobile-ui-comparator.json; JSON file source-envelope.json; JSON file run.json; JSON file 202608271656-mobile-ui-comparator-stdout.json; JSON file artifact-manifest.json; JSON file metrics.json. Out: JSON file source-envelope.json; JSON file run.json; GitHub Pages deployment; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608271656-mobile-ui-comparator.json; JSON file source-envelope.json; JSON file run.json; JSON file 202608271656-mobile-ui-comparator-stdout.json; JSON file artifact-manifest.json; JSON file metrics.json]; out [JSON file source-envelope.json; JSON file run.json; GitHub Pages deployment; commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### PipelineNews Mobile CSS Repair Workflow - File: pipelinenews/.github/workflows/202608272001-mobile-css-repair.yml (YAML, 321 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608272001-mobile-css-repair.yml#L1-L321 - Page: https://code.globalgrid2050.com/explore-code/s/1844.html#f2 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Runs Verify Mobile UI Browser (`atman/202608271656-verify-mobile-ui-browser.mjs`). - What it does: It builds and publishes its content. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608272001-mobile-css-repair.json; JSON file repair-metrics.json; JSON file artifact-manifest.json. Out: JSON file repair-metrics.json; JSON file artifact-manifest.json; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608272001-mobile-css-repair.json; JSON file repair-metrics.json; JSON file artifact-manifest.json]; out [JSON file repair-metrics.json; JSON file artifact-manifest.json; commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### PipelineNews Mobile Orientation Candidate Workflow - File: pipelinenews/.github/workflows/202608272048-mobile-orientation-candidate.yml (YAML, 1252 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608272048-mobile-orientation-candidate.yml#L1-L1252 - Page: https://code.globalgrid2050.com/explore-code/s/1845.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608272048-mobile-orientation-candidate.json; JSON file compiler-pass-a.json; JSON file compiler-pass-b.json; JSON file contract-proof.json; JSON file chronology-atlas-browser-proof.json; JSON file ui-compatibility-proof.json; JSON file run.json; JSON file source-envelope.json. Out: JSON file source-scope-proof.json; JSON file determinism-proof.json; JSON file pages-boundary-proof.json; JSON file source-envelope.json; JSON file run.json; JSON file repair-gate.json; GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608272048-mobile-orientation-candidate.json; JSON file compiler-pass-a.json; JSON file compiler-pass-b.json; JSON file contract-proof.json; JSON file chronology-atlas-browser-proof.json; JSON file ui-compatibility-proof.json; JSON file run.json; JSON file source-envelope.json]; out [JSON file source-scope-proof.json; JSON file determinism-proof.json; JSON file pages-boundary-proof.json; JSON file source-envelope.json; JSON file run.json; JSON file repair-gate.json; GitHub Pages deployment]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### PipelineNews Federated Relationship Candidate Workflow - File: pipelinenews/.github/workflows/202608282200-federated-relationship-candidate.yml (YAML, 342 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608282200-federated-relationship-candidate.yml#L1-L342 - Page: https://code.globalgrid2050.com/explore-code/s/1847.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site using data from the companies and data-centres-GB repositories. Runs on push and by hand. - What it achieves (comment): Publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: companies data; data source: data-centres-gb data; JSON file 202608282200-federated-relationship-candidate.json; JSON file 202608281846-federated-company-repd-relationship-contract-v1.json; JSON file companies.json; JSON file 202608281944-data-centre-company-federation-v1.json; JSON file data-centres.json; DuckDB queries. Out: JSON file network-boundary.json; GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: companies data; data source: data-centres-gb data; JSON file 202608282200-federated-relationship-candidate.json; JSON file 202608281846-federated-company-repd-relationship-contract-v1.json; JSON file companies.json; JSON file 202608281944-data-centre-company-federation-v1.json; JSON file data-centres.json; DuckDB queries]; out [JSON file network-boundary.json; GitHub Pages deployment]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews V9 6 2 Equivalence Gate Workflow - File: pipelinenews/.github/workflows/202608282348-v9-6-2-equivalence-gate.yml (YAML, 183 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608282348-v9-6-2-equivalence-gate.yml#L1-L183 - Page: https://code.globalgrid2050.com/explore-code/s/1847.html#f2 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file 202608282348-v9-6-2-equivalence-gate.json; JSON file 202608282200-v8-fast-site-manifest.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608282348-v9-6-2-equivalence-gate.json; JSON file 202608282200-v8-fast-site-manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews V9 6 2 Complete Equivalence Gate Workflow - File: pipelinenews/.github/workflows/202608290020-v9-6-2-complete-equivalence-gate.yml (YAML, 230 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608290020-v9-6-2-complete-equivalence-gate.yml#L1-L230 - Page: https://code.globalgrid2050.com/explore-code/s/1848.html#f1 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file 202608290020-v9-6-2-complete-equivalence-gate.json; JSON file 202608282200-v8-fast-site-manifest.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608290020-v9-6-2-complete-equivalence-gate.json; JSON file 202608282200-v8-fast-site-manifest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Adaptive Controller Contract Gate Workflow - File: pipelinenews/.github/workflows/202608290202-adaptive-controller-contract-gate.yml (YAML, 125 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608290202-adaptive-controller-contract-gate.yml#L1-L125 - Page: https://code.globalgrid2050.com/explore-code/s/1848.html#f2 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it achieves (comment): Named “Verify PipelineNews Merged Adaptive Controller Contract”. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file 202608290202-adaptive-build-controller.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608290202-adaptive-build-controller.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### PipelineNews Sync Atlas V9 Deep Links Workflow - File: pipelinenews/.github/workflows/202608300232-sync-atlas-v9-deep-links.yml (YAML, 190 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608300232-sync-atlas-v9-deep-links.yml#L1-L190 - Page: https://code.globalgrid2050.com/explore-code/s/1848.html#f3 - Synopsis: A GitHub Actions workflow. Runs on push, on a schedule and by hand. - What it achieves (comment): Named “Five-hour PipelineNews Atlas V9 source sync”; runs PipelineNews Sync Atlas V9 Deep Links (`scripts/202608300232-sync-atlas-v9-deep-links.py`). - What it does: It runs solar. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar. - Inputs & outputs: In: JSON file live-set.json; JSON file pipelinenews-atlas-v9-result.json; JSON file atlas-v9-deep-link-audit.json; JSON file atlas-v9-current.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file live-set.json; JSON file pipelinenews-atlas-v9-result.json; JSON file atlas-v9-deep-link-audit.json; JSON file atlas-v9-current.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### PipelineNews Current GridAtlas V9 Deep Link Successor Workflow - File: pipelinenews/.github/workflows/202608300309-current-gridatlas-v9-deep-link-successor.yml (YAML, 468 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608300309-current-gridatlas-v9-deep-link-successor.yml#L1-L468 - Page: https://code.globalgrid2050.com/explore-code/s/1849.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site using data from GitHub API and the GridAtlas repository. Runs on push, on a schedule and by hand. - What it achieves (comment): Named “Five-hour verified Atlas V9 deep-link successor”. - What it does: It builds and publishes the REPD register. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; data source: GitHub API; JSON file atlas-link-manifest.json; JSON file build-manifest.json; JSON file release-manifest.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: GitHub API; JSON file atlas-link-manifest.json; JSON file build-manifest.json; JSON file release-manifest.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### PipelineNews Bound Hourly Atlas V9 Mission Workflow - File: pipelinenews/.github/workflows/202608300327-bound-hourly-atlas-v9-mission.yml (YAML, 126 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608300327-bound-hourly-atlas-v9-mission.yml#L1-L126 - Page: https://code.globalgrid2050.com/explore-code/s/1849.html#f2 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Advance Successor to Exact Atlas Workflow - File: pipelinenews/.github/workflows/202608300415-advance-successor-to-exact-atlas.yml (YAML, 91 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608300415-advance-successor-to-exact-atlas.yml#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/1849.html#f3 - Synopsis: A GitHub Actions workflow using data from GitHub API and the GridAtlas repository. Runs on push and by hand. - What it achieves (comment): Named “Dispatch PipelineNews successor against exact Atlas”. - What it does: It runs automated jobs on GitHub Actions. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: gridatlas data; data source: GitHub API. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: GitHub API]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Diagnose Atlas Deep Link Identity Workflow - File: pipelinenews/.github/workflows/202608300416-diagnose-atlas-deep-link-identity.yml (YAML, 163 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608300416-diagnose-atlas-deep-link-identity.yml#L1-L163 - Page: https://code.globalgrid2050.com/explore-code/s/1850.html#f1 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it does: It runs the REPD register. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: Out: JSON file atlas-deep-link-identity-diagnosis.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [JSON file atlas-deep-link-identity-diagnosis.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Bootstrap Five Hour Atlas Integration Workflow - File: pipelinenews/.github/workflows/202608300430-bootstrap-five-hour-atlas-integration.yml (YAML, 169 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608300430-bootstrap-five-hour-atlas-integration.yml#L1-L169 - Page: https://code.globalgrid2050.com/explore-code/s/1850.html#f2 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file gridatlas-v9-current.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file gridatlas-v9-current.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### PipelineNews Repair Five Hour Bootstrap Workflow - File: pipelinenews/.github/workflows/202608300434-repair-five-hour-bootstrap.yml (YAML, 49 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608300434-repair-five-hour-bootstrap.yml#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1850.html#f3 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Resume Exact Atlas Pages Promotion Workflow - File: pipelinenews/.github/workflows/202608300522-resume-exact-atlas-pages-promotion.yml (YAML, 366 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608300522-resume-exact-atlas-pages-promotion.yml#L1-L366 - Page: https://code.globalgrid2050.com/explore-code/s/1851.html#f1 - Synopsis: A GitHub Actions workflow using data from the GridAtlas repository. Runs on push, on a schedule and by hand. - What it does: It runs the REPD register. Side effects: changes the web page (DOM); makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file release-manifest.json; JSON file build-manifest.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file release-manifest.json; JSON file build-manifest.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### PipelineNews Scope Atlas Runtime Receiver Check Workflow - File: pipelinenews/.github/workflows/202608301209-scope-atlas-runtime-receiver-check.yml (YAML, 66 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608301209-scope-atlas-runtime-receiver-check.yml#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/1851.html#f2 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file atlas-link-manifest.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file atlas-link-manifest.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Authorise Frozen Pointer Release Tree Workflow - File: pipelinenews/.github/workflows/202608301211-authorise-frozen-pointer-release-tree.yml (YAML, 70 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608301211-authorise-frozen-pointer-release-tree.yml#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/1851.html#f3 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Dispatch Atlas Link Candidate Pages Workflow - File: pipelinenews/.github/workflows/202608301213-dispatch-atlas-link-candidate-pages.yml (YAML, 49 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608301213-dispatch-atlas-link-candidate-pages.yml#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1851.html#f4 - Synopsis: A GitHub Actions workflow using data from GitHub API. Runs on push and by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'atlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: data source: GitHub API. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: GitHub API]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Pages V2 Workflow - File: pipelinenews/.github/workflows/202608301214-pages-v2.yml (YAML, 521 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608301214-pages-v2.yml#L1-L521 - Page: https://code.globalgrid2050.com/explore-code/s/1852.html#f1 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs when called. - What it achieves (comment): Runs Build Pages (`atman/202608262014-build-pages.py`), Prove Pages Promotion Wrapper (`tools/publication/prove_pages_promotion_wrapper.mjs`) and Browser Proof (`atman/202608262014-browser-proof.mjs`); publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file release-manifest.json; JSON file atlas-link-manifest.json; JSON file live-set.json; JSON file current-v4.json; JSON file current-v3.json. Out: JSON file pages-v2-pointer-readback.json; GitHub Pages deployment. - Downstream impact: Used directly by 1 file: PipelineNews Pages Workflow (pipelinenews). - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file release-manifest.json; JSON file atlas-link-manifest.json; JSON file live-set.json; JSON file current-v4.json; JSON file current-v3.json]; out [JSON file pages-v2-pointer-readback.json; GitHub Pages deployment]; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 1; mentioned by 0 ### PipelineNews Build Intelligence Release Workflow - File: pipelinenews/.github/workflows/202608311458-build-intelligence-release.yml (YAML, 258 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202608311458-build-intelligence-release.yml#L1-L258 - Page: https://code.globalgrid2050.com/explore-code/s/1853.html#f1 - Synopsis: A GitHub Actions workflow. Runs on push, by hand and on release. - What it achieves (comment): Build the next timestamped PipelineNews release in CI. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202608291447-registry.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608291447-registry.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### PipelineNews Sector Intelligence Candidate Workflow - File: pipelinenews/.github/workflows/202609010719-sector-intelligence-candidate.yml (YAML, 678 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202609010719-sector-intelligence-candidate.yml#L1-L678 - Page: https://code.globalgrid2050.com/explore-code/s/1853.html#f2 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file 202609010719-sector-intelligence-contract.json; JSON file 202609010719-sector-intelligence-rss.json; JSON file 202609010719-sector-intelligence-candidate.json; JSON file 202608271524-fd2212a8c76d-v8-fast-news.json; JSON file gated-a.json; JSON file gated-b.json; JSON file ledger-a.json; JSON file ledger-b.json. Out: JSON file source-scope-proof.json; JSON file sector-overlay-proof.json; GitHub Pages deployment; commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609010719-sector-intelligence-contract.json; JSON file 202609010719-sector-intelligence-rss.json; JSON file 202609010719-sector-intelligence-candidate.json; JSON file 202608271524-fd2212a8c76d-v8-fast-news.json; JSON file gated-a.json; JSON file gated-b.json; JSON file ledger-a.json; JSON file ledger-b.json]; out [JSON file source-scope-proof.json; JSON file sector-overlay-proof.json; GitHub Pages deployment; commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### PipelineNews Map Corpus Contract Workflow - File: pipelinenews/.github/workflows/202609040044-map-corpus-contract.yml (YAML, 50 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202609040044-map-corpus-contract.yml#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/1854.html#f2 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Pipeline News complete MAP corpus contract”; runs Release Builder (`tools/intelligence/release_builder.py`) and Proof (`tools/intelligence/cartridges/map-corpus-contract/proof.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### PipelineNews Pages Routing Candidate Workflow - File: pipelinenews/.github/workflows/202609040100-pages-routing-candidate.yml (YAML, 50 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/202609040100-pages-routing-candidate.yml#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/1854.html#f3 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Pipeline News Pages routing candidate”; runs Run Pages Candidate Gate (`tools/publication/run_pages_candidate_gate.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'routing'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### PipelineNews Atman V8 Architecture Report Workflow - File: pipelinenews/.github/workflows/atman-v8-architecture-report.yml (YAML, 132 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/atman-v8-architecture-report.yml#L1-L132 - Page: https://code.globalgrid2050.com/explore-code/s/1854.html#f4 - Synopsis: A GitHub Actions workflow that builds and publishes the site using data from the GlobalGrid2050 repository. Runs by hand. - What it achieves (comment): Runs Generate PipelineNews V8 Atman (`atman/202608262042-generate-pipelinenews-v8-atman.mjs`). - What it does: It builds and publishes its content. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`atman/` — audits and architecture reports" - Inputs & outputs: In: data source: globalgrid2050 data; JSON file performance-audit.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data; JSON file performance-audit.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### PipelineNews BBC RSS Discovery Workflow - File: pipelinenews/.github/workflows/bbc-rss-discovery.yml (YAML, 74 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/bbc-rss-discovery.yml#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1854.html#f5 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on a schedule and by hand. - What it achieves (comment): Runs Reconcile Provisional (`tools/intelligence/reconcile-provisional.mjs`). - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file bbc-rss.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file bbc-rss.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 6 estate files (workflow-run 6); used by 0; mentioned by 0 ### Build PipelineNews V8 Candidate Workflow - File: pipelinenews/.github/workflows/build-pipelinenews-v8-candidate.yml (YAML, 66 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/build-pipelinenews-v8-candidate.yml#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/1854.html#f6 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Runs `build/javascript/202608262230-build-v8-candidate.mjs` and `build/javascript/202608262230-verify-v8-candidate.mjs`. - What it does: It builds and publishes its content. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Build V8 Fast Site Workflow - File: pipelinenews/.github/workflows/build-v8-fast-site.yml (YAML, 306 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/build-v8-fast-site.yml#L1-L306 - Page: https://code.globalgrid2050.com/explore-code/s/1855.html#f1 - Synopsis: A GitHub Actions workflow. Runs on push and by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file compiler-pass-a.json; JSON file compiler-pass-b.json; JSON file materialized-closure.json; JSON file contract-proof.json; JSON file pages-boundary-proof.json; JSON file browser-proof.json; JSON file staged-closure.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file compiler-pass-a.json; JSON file compiler-pass-b.json; JSON file materialized-closure.json; JSON file contract-proof.json; JSON file pages-boundary-proof.json; JSON file browser-proof.json; JSON file staged-closure.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Build V8 Foundation Workflow - File: pipelinenews/.github/workflows/build-v8-foundation.yml (YAML, 65 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/build-v8-foundation.yml#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/1855.html#f2 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs by hand. - What it achieves (comment): Runs `build/javascript/202608262315-build-v8-foundation.mjs` and `build/javascript/202608262300-verify-v8-reachability.mjs`. - What it does: It builds and publishes its content. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Compile V8 with Companies Workflow - File: pipelinenews/.github/workflows/compile-v8-with-companies.yml (YAML, 71 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/compile-v8-with-companies.yml#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/1855.html#f3 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs `build/javascript/202608262300-verify-v8-reachability.mjs` and `build/python/202608262300-compile-v8-contract.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Coverage Contract Workflow - File: pipelinenews/.github/workflows/coverage-contract.yml (YAML, 62 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/coverage-contract.yml#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/1855.html#f4 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and by hand. - What it achieves (comment): Runs Check Live News Candidate (`discovery/tests/202608270844-check-live-news-candidate.mjs`), Check BBC Enrichment (`discovery/tests/202608270844-check-bbc-enrichment.mjs`) and Build Coverage Candidate (`tools/publication/build-coverage-candidate.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 10 estate files (workflow-run 10); used by 0; mentioned by 0 ### PipelineNews Gate V8 Foundation Workflow - File: pipelinenews/.github/workflows/gate-v8-foundation.yml (YAML, 43 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/gate-v8-foundation.yml#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1855.html#f5 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs `build/javascript/202608262300-verify-v8-reachability.mjs`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PipelineNews Pages Workflow - File: pipelinenews/.github/workflows/pages.yml (YAML, 137 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/pages.yml#L1-L137 - Page: https://code.globalgrid2050.com/explore-code/s/1855.html#f6 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, by hand and on release. - What it achieves (comment): Runs Pages Release Classifier (`tools/publication/pages_release_classifier.py`) and Release Builder (`tools/intelligence/release_builder.py`). - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current-v3.json; JSON file current-v4.json; JSON file live-set.json; JSON file atlas-v9-link-contract.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file current-v3.json; JSON file current-v4.json; JSON file live-set.json; JSON file atlas-v9-link-contract.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### PipelineNews Performance Audit Workflow - File: pipelinenews/.github/workflows/performance-audit.yml (YAML, 70 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/pipelinenews/blob/45c944c8640a9d7ae65edb51d66032ba204f3f46/.github/workflows/performance-audit.yml#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/1856.html#f1 - Synopsis: A GitHub Actions workflow. Runs by hand. - What it achieves (comment): Runs Performance Audit (`atman/202608262120-performance-audit.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Registry Workflow - File: registry_of_all_content_in_repos_and_dependencies/.github/workflows/registry.yml (YAML, 57 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/registry_of_all_content_in_repos_and_dependencies/blob/2205a7abf98723f320f00aa4a0f6b648cf7109df/.github/workflows/registry.yml#L1-L57 - Page: https://code.globalgrid2050.com/explore-code/s/1856.html#f2 - Synopsis: A GitHub Actions workflow in Registry Of All Content In Repos And Dependencies. Runs on push, on a schedule and by hand. - What it achieves (comment): Named “Build kernel registry”; runs Build Registry from Config (`scripts/build_registry_from_config.py`), Reconcile Registry from Config (`scripts/reconcile_registry_from_config.py`) and Build Graph Latest (`scripts/build_graph_latest.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: In: JSON file registry_repos.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file registry_repos.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### Build Browser Report Studio Workflow - File: reports/.github/workflows/build-browser-report-studio.yml (YAML, 69 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/reports/blob/08aad9448481aabd2d8fd7373059bf829b29528f/.github/workflows/build-browser-report-studio.yml#L1-L69 - Page: https://code.globalgrid2050.com/explore-code/s/1856.html#f3 - Synopsis: A GitHub Actions workflow in Reports that builds and publishes the site. Runs on push and by hand. - What it achieves (name): Its name says it builds browser report studio. - What it does: It builds and publishes its content. Side effects: changes the web page (DOM); starts processes. - Inputs & outputs: In: JSON file evidence-pack.json; CSV file evidence.csv. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file evidence-pack.json; CSV file evidence.csv]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Build Example Evidence Pack Workflow - File: reports/.github/workflows/build-example-evidence-pack.yml (YAML, 54 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/reports/blob/08aad9448481aabd2d8fd7373059bf829b29528f/.github/workflows/build-example-evidence-pack.yml#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1856.html#f4 - Synopsis: A GitHub Actions workflow in Reports. Runs on push and by hand. - What it achieves (name): Its name says it builds example evidence pack. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file evidence-pack.json; CSV file evidence.csv. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file evidence-pack.json; CSV file evidence.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Validate Report Schemas Workflow - File: reports/.github/workflows/validate-report-schemas.yml (YAML, 65 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/reports/blob/08aad9448481aabd2d8fd7373059bf829b29528f/.github/workflows/validate-report-schemas.yml#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/1856.html#f5 - Synopsis: A GitHub Actions workflow in Reports that builds and publishes the site. Runs on push and by hand. - What it achieves (name): Its name says it validates report schemas. - What it does: It builds and publishes its content. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file evidence.schema.json; JSON file report-dna.schema.json; JSON file journey.schema.json; JSON file evidence-pack.json; JSON file report-dna.json; JSON file journey.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file evidence.schema.json; JSON file report-dna.schema.json; JSON file journey.schema.json; JSON file evidence-pack.json; JSON file report-dna.json; JSON file journey.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Validate Save As Contract Workflow - File: reports/.github/workflows/validate-save-as-contract.yml (YAML, 49 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/reports/blob/08aad9448481aabd2d8fd7373059bf829b29528f/.github/workflows/validate-save-as-contract.yml#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1856.html#f6 - Synopsis: A GitHub Actions workflow in Reports. Runs on push and by hand. - What it achieves (name): Its name says it validates save as contract. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: browser IndexedDB. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [browser IndexedDB]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### SatNav Public Scope Served Workflow - File: satnav/.github/workflows/public-scope-served.yml (YAML, 84 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/satnav/blob/ea69138ca5d5a9632233220e5cbe1cd3f1c83432/.github/workflows/public-scope-served.yml#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/1856.html#f7 - Synopsis: A GitHub Actions workflow using data from the GlobalGrid2050 and GlobalGrid2050-homepage repositories. Runs on push and by hand. - What it achieves (comment): Named “SatNav public served-byte verification”. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (repository name word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: data source: globalgrid2050 data; data source: globalgrid2050-homepage data; JSON file homepage-owner.json; JSON file homepage.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: globalgrid2050 data; data source: globalgrid2050-homepage data; JSON file homepage-owner.json; JSON file homepage.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### SatNav Public Scope Workflow - File: satnav/.github/workflows/public-scope.yml (YAML, 188 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/satnav/blob/ea69138ca5d5a9632233220e5cbe1cd3f1c83432/.github/workflows/public-scope.yml#L1-L188 - Page: https://code.globalgrid2050.com/explore-code/s/1856.html#f8 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push and on pull requests. - What it achieves (comment): Runs `/tmp/satnav-scope-cvaa/inoculate.mjs`. - What it does: It builds and publishes its content. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (repository name word 'satnav'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file snapshot.json. Out: JSON file cvaa-comparison.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file snapshot.json]; out [JSON file cvaa-comparison.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Seed Regressions Workflow - File: seed-data/.github/workflows/seed-regressions.yml (YAML, 86 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/.github/workflows/seed-regressions.yml#L1-L86 - Page: https://code.globalgrid2050.com/explore-code/s/1857.html#f1 - Synopsis: A GitHub Actions workflow in Seed Data. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “SEED regression gates”; runs `checked-cvaa/tools/seed-regression/seed_regression.py`, `checked-cvaa/tools/seed-regression/state_regression.py` and `checked-cvaa/tools/seed-regression/cosmic_regression.mjs`. - What it does: It runs cables. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: cables. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 7 estate files (workflow-run 7); used by 0; mentioned by 0 ### Test State Compare - File: seed-data/experiments/economical-seeds/next-compose/test_state_compare.py (Python, 91 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-compose/test_state_compare.py#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/1857.html#f2 - Synopsis: A test in the next compose folder of Seed Data that checks Fixture and State Compare. It sets up (`setUp`) and is built from the composition tests class (`CompositionTests`). - What it achieves (name): Defines `CompositionTests`, `setUp`, `replace_index` and 9 more. - What it does: It tests its inputs. Defines 12 functions or classes, including CompositionTests, setUp, replace_index, test_equal_outputs_and_verified_mechanism, test_attribution_tracks_replaced_mechanism. Uses libraries json, sqlite3, unittest, contextlib, pathlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file before.json; SQLite database. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class CompositionTests`; `setUp(self)`; `replace_index(self, edit)`; `test_equal_outputs_and_verified_mechanism(self)`; `test_attribution_tracks_replaced_mechanism(self)`; `test_metadata_only_zero_payload(self)`; `test_duplicate_exact_url(self)`; `test_database_identity_mismatch(self)`; `test_selected_corrupted_bytes(self)`; `test_historical_corruption_refused(self)`; `test_metadata_malformed_range(self)`; `test_requested_mechanism_exceeds_budget(self)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file before.json; SQLite database]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Test Identify Missing Evidence - File: seed-data/experiments/economical-seeds/next-invention/reduction/sufficiency/test_identify_missing_evidence.py (Python, 262 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-invention/reduction/sufficiency/test_identify_missing_evidence.py#L1-L262 - Page: https://code.globalgrid2050.com/explore-code/s/1857.html#f3 - Synopsis: A test in the sufficiency folder of Seed Data that checks Identify Missing Evidence, using SHA-256. - What it achieves (comment): It sets up (`setUp`) and is built from the wire step (`wire`) and the fixture class (`Fixture`). Independent expected outcomes for the LEI-04 engineering-only candidate. - What it does: It tests its inputs. Defines 28 functions or classes, including wire, Fixture, __init__, add, omit. Uses libraries functools, json, pathlib, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file c-source.json; JSON file changed.json; JSON file gone.json; JSON file outside.json; JSON file request.json. Out: JSON file a-corrupted.json; JSON file a-bad.json. - Downstream impact: Used directly by 1 file: Seed Regressions Workflow (seed-data). - Signatures: `wire(value)`; `class Fixture`; `__init__(self, root)`; `add(self, metric, tag, value, *, observed=OBSERVED, unit=None, subject="offline-bench")`; `omit(self, metric, tag, state)`; `input(self, **overrides)`; `run(self, **overrides)`; `class EvidenceTests`; `setUp(self)`; `test_healthy_zero_duplicate_and_unrelated_unread(self)`; `test_limit_failure_is_known_not_missing(self)`; `test_omitted_evidence_remains_distinct_and_skips_unneeded_payloads(self)`; `test_stale_and_future_excluded_without_reading(self)`; `test_age_boundary_is_inclusive(self)`; `test_fresh_evidence_suffices_even_when_retired_observation_differs(self)`; `test_conflict_stops_after_two_witnesses_and_defers_third(self)`; `targeted_open(path, *args, **kwargs)`; `test_same_length_corruption_refuses_claim_but_charges_bytes(self)`; `test_unrecoverable_payload_defers_other_independent_claims(self)`; `test_corrupted_replica_does_not_dismiss_verified_exact_copy(self)`; `test_same_pin_different_timestamp_is_not_a_duplicate(self)`; `test_valid_digest_cannot_cure_wrong_units_or_subject(self)`; `test_wrong_index_digest_refuses_before_payload_open(self)`; `test_byte_budget_is_hard_cap_and_zero_budget_no_payload_reads(self)`; `test_declared_payload_missing_and_locator_escape_refuse(self)` (and 3 more) - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file c-source.json; JSON file changed.json; JSON file gone.json; JSON file outside.json; JSON file request.json]; out [JSON file a-corrupted.json; JSON file a-bad.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Single-Line Diagram (SLD) Pages Workflow - File: sld/.github/workflows/pages.yml (YAML, 80 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/sld/blob/1205aa0d1f80d8e05a2cbb19f363939174b50002/.github/workflows/pages.yml#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/1857.html#f4 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Verify and publish SLD library”; runs Single-Line Diagram (SLD) Fetch Sources (`scripts/fetch_sources.py`), Single-Line Diagram (SLD) Build Catalogue (`scripts/build_catalogue.py`) and Single-Line Diagram (SLD) Verify Furnace (`scripts/verify_furnace.py`); publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 7 estate files (workflow-run 7); used by 0; mentioned by 0 ### Authority Bundle Sync Workflow - File: solar-electrical-topology-analysis-engine-text-based/.github/workflows/authority-bundle-sync.yml (YAML, 56 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/.github/workflows/authority-bundle-sync.yml#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1857.html#f5 - Synopsis: A GitHub Actions workflow in Solar Electrical Topology Analysis Engine Text Based. Runs on push and by hand. - What it achieves (comment): Runs Build Authority Bundle (`scripts/build_authority_bundle.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Build 025 Small Gates Workflow - File: solar-electrical-topology-analysis-engine-text-based/.github/workflows/build-025-small-gates.yml (YAML, 77 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/.github/workflows/build-025-small-gates.yml#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1857.html#f6 - Synopsis: A GitHub Actions workflow in Solar Electrical Topology Analysis Engine Text Based. Runs on pull requests. - What it achieves (name): Its name says it builds small gates. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gates'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 52 estate files (workflow-run 52); used by 0; mentioned by 0 ### Deploy Pages Workflow - File: solar-electrical-topology-analysis-engine-text-based/.github/workflows/deploy-pages.yml (YAML, 34 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/.github/workflows/deploy-pages.yml#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/1857.html#f7 - Synopsis: A GitHub Actions workflow in Solar Electrical Topology Analysis Engine Text Based that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “Deploy static topology workbench to GitHub Pages”; publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Microbuild Worker Workflow - File: solar-electrical-topology-analysis-engine-text-based/.github/workflows/microbuild-worker.yml (YAML, 143 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/.github/workflows/microbuild-worker.yml#L1-L143 - Page: https://code.globalgrid2050.com/explore-code/s/1858.html#f1 - Synopsis: A GitHub Actions workflow in Solar Electrical Topology Analysis Engine Text Based. Runs on push, on pull requests and by hand. - What it achieves (comment): Runs Check Microbuild Plan (`scripts/check_microbuild_plan.py`), Build Authority Bundle (`scripts/build_authority_bundle.py`) and Run Microbuild (`scripts/run_microbuild.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file microbuild-plan.json; JSON file authority-response.schema.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file microbuild-plan.json; JSON file authority-response.schema.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### Programme State Sync Workflow - File: solar-electrical-topology-analysis-engine-text-based/.github/workflows/programme-state-sync.yml (YAML, 51 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/.github/workflows/programme-state-sync.yml#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/1858.html#f2 - Synopsis: A GitHub Actions workflow in Solar Electrical Topology Analysis Engine Text Based. Runs on push and by hand. - What it achieves (comment): Runs Sync Programme State (`scripts/sync_programme_state.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file programme-state.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file programme-state.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### V10 Validation Workflow - File: solar-electrical-topology-analysis-engine-text-based/.github/workflows/v10-validation.yml (YAML, 160 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/.github/workflows/v10-validation.yml#L1-L160 - Page: https://code.globalgrid2050.com/explore-code/s/1858.html#f3 - Synopsis: A GitHub Actions workflow in Solar Electrical Topology Analysis Engine Text Based. Runs on push, on pull requests and by hand. - What it achieves (comment): Runs Build Authority Bundle (`scripts/build_authority_bundle.py`), Check Capsule Links (`scripts/check_capsule_links.py`) and Sync Programme State (`scripts/sync_programme_state.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file programme-state.json; JSON file programme-state.schema.json; JSON file V10_VALIDATION_LATEST.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file programme-state.json; JSON file programme-state.schema.json; JSON file V10_VALIDATION_LATEST.json]; out []; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### V8 Tests Workflow - File: solar-electrical-topology-analysis-engine-text-based/.github/workflows/v8-tests.yml (YAML, 46 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/solar-electrical-topology-analysis-engine-text-based/blob/d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9/.github/workflows/v8-tests.yml#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/1858.html#f4 - Synopsis: A GitHub Actions workflow in Solar Electrical Topology Analysis Engine Text Based. Runs on push and on pull requests. - What it achieves (comment): Named “V8 leapfrog regression tests”; runs Check V8 Source Width (`tests/check_v8_source_width.py`) and V8 Model Test (`tests/v8-model.test.js`). - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### 60x Program Proof Workflow - File: spiders/.github/workflows/20260904-60x-program-proof.yml (YAML, 44 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/.github/workflows/20260904-60x-program-proof.yml#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1858.html#f5 - Synopsis: A GitHub Actions workflow in Spiders. Runs on push, on pull requests and by hand. - What it achieves (comment): Runs Test Cloud Workflows (`tools/test-cloud-workflows.mjs`) and Validate 60x Program (`tools/validate-60x-program.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Estate Survey Workflow - File: spiders/.github/workflows/20260904-estate-survey.yml (YAML, 118 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/.github/workflows/20260904-estate-survey.yml#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/1858.html#f6 - Synopsis: A GitHub Actions workflow in Spiders. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Bounded public estate survey”; runs Test Estate Survey (`tools/test-estate-survey.mjs`), Test Cloud Workflows (`tools/test-cloud-workflows.mjs`) and Estate Survey (`tools/estate-survey.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### Llama Advisory Workflow - File: spiders/.github/workflows/20260904-llama-advisory.yml (YAML, 105 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/.github/workflows/20260904-llama-advisory.yml#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/1858.html#f7 - Synopsis: A GitHub Actions workflow in Spiders. Runs on push and by hand. - What it achieves (comment): Named “Manual Llama advisory fault finding”; runs Test Cloud Workflows (`tools/test-cloud-workflows.mjs`), Validate 60x Program (`tools/validate-60x-program.mjs`) and Llama Advisory (`tools/llama-advisory.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file pre-validation.json; JSON file post-validation.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file pre-validation.json; JSON file post-validation.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### Build Context Workflow - File: spiders/.github/workflows/20260905-build-context.yml (YAML, 45 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/.github/workflows/20260905-build-context.yml#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1859.html#f1 - Synopsis: A GitHub Actions workflow in Spiders. Runs on push, on pull requests and by hand. - What it achieves (comment): Source template for the active `.github/workflows/20260905-build-context.yml`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 7 estate files (workflow-run 7); used by 0; mentioned by 0 ### Elements Topology Workflow - File: spiders/.github/workflows/elements-topology.yml (YAML, 117 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/.github/workflows/elements-topology.yml#L1-L117 - Page: https://code.globalgrid2050.com/explore-code/s/1859.html#f2 - Synopsis: A GitHub Actions workflow in Spiders. Runs on push, on pull requests and on a schedule. - What it achieves (comment): Runs `tools/test_build_topology.py` and `tools/build_topology.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'topology'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file topology.json; JSON file fresh.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file topology.json; JSON file fresh.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Estate Activity Workflow - File: spiders/.github/workflows/estate-activity.yml (YAML, 75 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/.github/workflows/estate-activity.yml#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1859.html#f3 - Synopsis: A GitHub Actions workflow in Spiders. Runs on push, on pull requests and on a schedule. - What it achieves (comment): Runs Build (`species/estate-activity/tools/build.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### Estate Audit Workflow - File: spiders/.github/workflows/estate-audit.yml (YAML, 37 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/.github/workflows/estate-audit.yml#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/1859.html#f4 - Synopsis: A GitHub Actions workflow in Spiders. Runs on a schedule and by hand. - What it achieves (comment): Runs Estate Audit Test (`codex/build-plan/estate-audit.test.py`) and Estate Audit (`codex/build-plan/estate-audit.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Genome Workflow - File: spiders/.github/workflows/genome.yml (YAML, 299 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/.github/workflows/genome.yml#L1-L299 - Page: https://code.globalgrid2050.com/explore-code/s/1859.html#f5 - Synopsis: A GitHub Actions workflow in Spiders. Runs on push, on a schedule and by hand. - What it achieves (comment): Genome-spider — CI runner. - What it does: It runs interconnectors. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: interconnectors. - Inputs & outputs: In: GeoJSON file master-plan.geojson. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [GeoJSON file master-plan.geojson]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Maya Hunt Workflow - File: spiders/.github/workflows/maya-hunt.yml (YAML, 24 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/.github/workflows/maya-hunt.yml#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1859.html#f6 - Synopsis: A GitHub Actions workflow in Spiders. Runs on a schedule and by hand. - What it achieves (comment): Named “Maya hunt (explain dead ends)”; runs Maya Hunter (`tools/maya-hunt/maya-hunter.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Spider Maya V1 Scan Workflow - File: spiders/.github/workflows/spider_maya_v1_scan.yml (YAML, 38 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/.github/workflows/spider_maya_v1_scan.yml#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1859.html#f7 - Synopsis: A GitHub Actions workflow in Spiders. Runs by hand. - What it achieves (comment): Runs Scan Areas Menu (`spider_maya/v1/scripts/scan_areas_menu.py`) and Validate (`spider_maya/v1/scripts/validate.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Spider Printer Registry Smoke Workflow - File: spiders/.github/workflows/spider_printer_registry_smoke.yml (YAML, 36 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/spiders/blob/78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5/.github/workflows/spider_printer_registry_smoke.yml#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/1859.html#f8 - Synopsis: A GitHub Actions workflow in Spiders using data from the registry_of_all_content_in_repos_and_dependencies repository. Runs on a schedule and by hand. - What it does: It tests its inputs. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: data source: registry_of_all_content_in_repos_and_dependencies data; JSON file latest.json; JSON file graph_latest.json. - Downstream impact: Used directly by 1 file: Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/). Reached from 1 other entry point, including Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/). - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: registry_of_all_content_in_repos_and_dependencies data; JSON file latest.json; JSON file graph_latest.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Cpu World Workflow - File: star-electron-star/.github/workflows/cpu-world.yml (YAML, 61 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/star-electron-star/blob/241bcca9eb4045e9be5c058ec24f9f5bd26c7af4/.github/workflows/cpu-world.yml#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1860.html#f1 - Synopsis: A GitHub Actions workflow in Star Electron Star. Runs by hand. - What it achieves (comment): CPU WORLD step runner — runs ONLY on the MSI's self-hosted runners (real GPU, logged-in session). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Label Workflow - File: star-electron-star/.github/workflows/label.yml (YAML, 49 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/star-electron-star/blob/241bcca9eb4045e9be5c058ec24f9f5bd26c7af4/.github/workflows/label.yml#L1-L49 - Page: https://code.globalgrid2050.com/explore-code/s/1860.html#f2 - Synopsis: A GitHub Actions workflow in Star Electron Star. Runs on push and by hand. - What it achieves (comment): Plain British English for the estate, produced on the MSI runners and kept as a record: `describe.py` gives every atlas line a note of what it does. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Swarm Workflow - File: star-electron-star/.github/workflows/swarm.yml (YAML, 98 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/star-electron-star/blob/241bcca9eb4045e9be5c058ec24f9f5bd26c7af4/.github/workflows/swarm.yml#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/1860.html#f3 - Synopsis: A GitHub Actions workflow in Star Electron Star. Runs on push and by hand. - What it achieves (comment): Drive the MSI runners hard, within limits. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Star Solar Star — ISSUE Template - File: star-solar-star/.github/ISSUE_TEMPLATE/config.yml (YAML, 1 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/.github/ISSUE_TEMPLATE/config.yml#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/1860.html#f4 - Synopsis: A configuration file. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Create Star - File: star-solar-star/.github/ISSUE_TEMPLATE/create-star.yml (YAML, 17 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/.github/ISSUE_TEMPLATE/create-star.yml#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/1860.html#f5 - Synopsis: A configuration file in Star Solar Star covering solar. - What it achieves (comment): Submit public, dated solar observations for review. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Sun Daily Workflow - File: star-solar-star/.github/workflows/build-sun-daily.yml (YAML, 105 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/.github/workflows/build-sun-daily.yml#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/1860.html#f6 - Synopsis: A GitHub Actions workflow in Star Solar Star that builds and publishes the site. Runs on push, on pull requests and on a schedule. - What it achieves (comment): Named “Build Sun Star daily data”; runs Build Sun (`scripts/build_sun.py`), Validate Sun (`scripts/validate_sun.py`) and Publish Main (`scripts/publish_main.py`). - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file sun-publication.json; JSON file sun-pages-proof.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file sun-publication.json; JSON file sun-pages-proof.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### Country Star Candidate Workflow - File: star-solar-star/.github/workflows/country-star-candidate.yml (YAML, 52 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/.github/workflows/country-star-candidate.yml#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1860.html#f7 - Synopsis: A GitHub Actions workflow in Star Solar Star. Runs on push and by hand. - What it achieves (comment): Runs Make Publication (`testcode/202609150040/make_publication.py`), Build Global Star (`testcode/202609150040/build_global_star.py`) and Star Contract (`testcode/202609150040/star_contract.py`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 5 estate files (workflow-run 5); used by 0; mentioned by 0 ### Country Star CI Workflow - File: star-solar-star/.github/workflows/country-star-ci.yml (YAML, 73 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/.github/workflows/country-star-ci.yml#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/1860.html#f8 - Synopsis: A GitHub Actions workflow in Star Solar Star that builds and publishes the site. Runs on push and on pull requests. - What it achieves (comment): Named “Validate country and global Stars”; runs Star Contract (`scripts/star_contract.py`), Build Global Star (`testcode/202609150040/build_global_star.py`) and Write Result (`testcode/202609150040/write_result.py`). - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file global-solar.star.json; JSON file committed.json; JSON file rebuilt.json; JSON file agreement.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file global-solar.star.json; JSON file committed.json; JSON file rebuilt.json; JSON file agreement.json]; out []; crs []; voltages [] - Edges: uses 6 estate files (workflow-run 6); used by 0; mentioned by 0 ### Publication CI Workflow - File: star-solar-star/.github/workflows/publication-ci.yml (YAML, 29 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/.github/workflows/publication-ci.yml#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1860.html#f9 - Synopsis: A GitHub Actions workflow in Star Solar Star. Runs on push and on pull requests. - What it achieves (comment): Named “Validate publication recovery and proof”. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Publish Approved Star Workflow - File: star-solar-star/.github/workflows/publish-approved-star.yml (YAML, 66 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/.github/workflows/publish-approved-star.yml#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/1860.html#f10 - Synopsis: A GitHub Actions workflow in Star Solar Star that builds and publishes the site. - What it achieves (comment): Runs Publish Main (`scripts/publish_main.py`) and Verify Pages (`scripts/verify_pages.py`). - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. README: "A maintainer may publish a proposal by applying the `star-approved` label." - Inputs & outputs: In: JSON file star-publication.json; JSON file star-pages-proof.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file star-publication.json; JSON file star-pages-proof.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Solar Integrity Workflow - File: star-solar-star/.github/workflows/solar-integrity.yml (YAML, 63 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/.github/workflows/solar-integrity.yml#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/1860.html#f11 - Synopsis: A GitHub Actions workflow in Star Solar Star. Runs on push, on pull requests and by hand. - What it achieves (comment): Runs Build Sun (`scripts/build_sun.py`), Validate Sun (`scripts/validate_sun.py`) and Browser (`testcode/202609150503/browser.mjs`). - What it does: It runs solar. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### Sun Star Candidate Workflow - File: star-solar-star/.github/workflows/sun-star-candidate.yml (YAML, 75 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/star-solar-star/blob/4ac16c0c2297c4b6022afc4d6f921faf091bb74e/.github/workflows/sun-star-candidate.yml#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1860.html#f12 - Synopsis: A GitHub Actions workflow in Star Solar Star. Runs on push and by hand. - What it achieves (comment): Runs `testcode/202609150030/make_publication.py`, Build Sun (`testcode/202609150030/build_sun.py`) and `testcode/202609150030/write_result.py`. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file ci-result.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file ci-result.json]; out []; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### Decision - File: stars/.github/ISSUE_TEMPLATE/decision.yml (YAML, 144 lines) · role automation · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/.github/ISSUE_TEMPLATE/decision.yml#L1-L144 - Page: https://code.globalgrid2050.com/explore-code/s/1861.html#f1 - Synopsis: A configuration file in Stars covering the Renewable Energy Planning Database (REPD) register, solar, substations and cables. - What it achieves (comment): Record a decision, or an open question, against a block, constant or function family. - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, cables, 400kV, 275kV. - Inputs & outputs: Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 220kV, 132kV, 66kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Coherence Workflow - File: stars/.github/workflows/coherence.yml (YAML, 45 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/.github/workflows/coherence.yml#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1861.html#f2 - Synopsis: A GitHub Actions workflow in Stars. Runs by hand. - What it achieves (comment): Named “Coherence intelligent resume”; runs Coherence (`modular-star/coherence.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Decisions Workflow - File: stars/.github/workflows/decisions.yml (YAML, 62 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/.github/workflows/decisions.yml#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/1861.html#f3 - Synopsis: A GitHub Actions workflow in Stars using data from the ventus-grid-engine repository. - What it achieves (comment): Runs Decision Record (`modular-star/decision-record.mjs`), Decisions (`modular-star/decisions.mjs`) and Check Graph (`tools/check-graph.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### Modular Star Workflow - File: stars/.github/workflows/modular-star.yml (YAML, 120 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/.github/workflows/modular-star.yml#L1-L120 - Page: https://code.globalgrid2050.com/explore-code/s/1861.html#f4 - Synopsis: A GitHub Actions workflow in Stars that builds and publishes the site. Runs on push, on a schedule and by hand. - What it achieves (comment): Runs Wandering (`modular-star/wandering.mjs`), Build (`modular-star/build.mjs`) and Blocks (`modular-star/blocks.mjs`). - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: README: "The workflow in `.github/workflows/modular-star.yml` runs every hour." - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 16 estate files (workflow-run 16); used by 0; mentioned by 0 ### Refresh Workflow - File: stars/.github/workflows/refresh.yml (YAML, 89 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/stars/blob/030ebc202d35959fecd162327892f671d1d9a0cc/.github/workflows/refresh.yml#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/1861.html#f5 - Synopsis: A GitHub Actions workflow in Stars. Runs on a schedule, by hand and after another workflow. - What it achieves (comment): Runs Register (`spider/register.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: README: "The workflow in `.github/workflows/refresh.yml` runs hourly and on demand." - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Policy Workflow - File: stones/.github/workflows/policy.yml (YAML, 16 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/stones/blob/45b6b3eed03dca5efac4fe1b443d1a6764d7838d/.github/workflows/policy.yml#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/1861.html#f6 - Synopsis: A GitHub Actions workflow in Stones. Runs on push and on pull requests. - What it achieves (comment): Runs Check Policy (`tools/check-policy.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: auto - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Codex Cartridges Workflow - File: testcode/.github/workflows/codex-cartridges.yml (YAML, 67 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/codex-cartridges.yml#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/1861.html#f7 - Synopsis: A GitHub Actions workflow in Testcode. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Codex cartridge capsule checks”. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'codex'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: JSON file receipt.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [JSON file receipt.json]; crs []; voltages [] - Edges: uses 11 estate files (workflow-run 11); used by 0; mentioned by 0 ### Composition Guard Workflow - File: testcode/.github/workflows/composition-guard.yml (YAML, 77 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/composition-guard.yml#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1861.html#f8 - Synopsis: A GitHub Actions workflow in Testcode. Runs on push and by hand. - What it achieves (comment): Named “Complete browser composition contract”; runs Verify Composition Guard (`sandbox/tools/verify-composition-guard.mjs`), Candidate Server (`sandbox/tools/candidate-server.cjs`) and Composition Contract Browser (`sandbox/tools/composition-contract.browser.cjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 9 estate files (workflow-run 9); used by 0; mentioned by 0 ### Controls Layout Workflow - File: testcode/.github/workflows/controls-layout.yml (YAML, 51 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/controls-layout.yml#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/1861.html#f9 - Synopsis: A GitHub Actions workflow in Testcode. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Atlas controls browser regression”; runs Controls Layout Browser (`sandbox/tools/controls-layout.browser.cjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'layout'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 11 estate files (workflow-run 11); used by 0; mentioned by 0 ### Galaxy Bond Verify Workflow - File: testcode/.github/workflows/galaxy-bond-verify.yml (YAML, 66 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/galaxy-bond-verify.yml#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/1862.html#f1 - Synopsis: A GitHub Actions workflow in Testcode. Runs on push and by hand. - What it achieves (comment): Named “Galaxy Bond bundle verification”. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Galaxy Lab Verify Workflow - File: testcode/.github/workflows/galaxy-lab-verify.yml (YAML, 75 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/galaxy-lab-verify.yml#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1862.html#f2 - Synopsis: A GitHub Actions workflow in Testcode. Runs on push and by hand. - What it achieves (comment): Named “Galaxy lab browser verification”. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GridAtlas Lightning Independent Workflow - File: testcode/.github/workflows/gridatlas-lightning-independent.yml (YAML, 128 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/gridatlas-lightning-independent.yml#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/1862.html#f3 - Synopsis: A GitHub Actions workflow in Testcode. Runs on pull requests and by hand. - What it achieves (comment): Independent TESTCODE-only reviewer. Never merges, deploys or edits GridAtlas. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. - Inputs & outputs: In: JSON file current.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Gridmachine Pair Workflow - File: testcode/.github/workflows/gridmachine-pair.yml (YAML, 66 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/gridmachine-pair.yml#L1-L66 - Page: https://code.globalgrid2050.com/explore-code/s/1862.html#f4 - Synopsis: A GitHub Actions workflow in Testcode that builds and publishes the site. Runs on push and by hand. - What it achieves (comment): Named “GlobalGrid2050 Grid Machine paired build”; runs `.gridmachine-runtime/node_modules/playwright/cli.js`, Build Pair (`tools/build-pair.py`) and Pair Gates (`tools/pair-gates.cjs`). - What it does: It builds and publishes its content. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file pair-inputs.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file pair-inputs.json]; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Map PDF Workflow - File: testcode/.github/workflows/map-pdf.yml (YAML, 82 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/map-pdf.yml#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/1862.html#f5 - Synopsis: A GitHub Actions workflow in Testcode. Runs on push and by hand. - What it achieves (comment): Named “Native map PDF outcomes”; runs Verify Poly Candidate (`sandbox/tools/verify-poly-candidate.mjs`), Candidate Server (`sandbox/tools/candidate-server.cjs`) and Browser WebGL Probe (`sandbox/tools/browser-webgl-probe.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 6 estate files (workflow-run 6); used by 0; mentioned by 0 ### Measurement Clearance Workflow - File: testcode/.github/workflows/measurement-clearance.yml (YAML, 84 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/measurement-clearance.yml#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/1862.html#f6 - Synopsis: A GitHub Actions workflow in Testcode. Runs on push and by hand. - What it achieves (comment): Named “Unobstructed measurement controls”; runs Verify Poly Candidate (`sandbox/tools/verify-poly-candidate.mjs`), Candidate Server (`sandbox/tools/candidate-server.cjs`) and Tool Recovery Browser (`sandbox/tools/tool-recovery.browser.cjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 8 estate files (workflow-run 8); used by 0; mentioned by 0 ### Measurement Readouts Workflow - File: testcode/.github/workflows/measurement-readouts.yml (YAML, 94 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/measurement-readouts.yml#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/1862.html#f7 - Synopsis: A GitHub Actions workflow in Testcode. Runs on push and by hand. - What it achieves (comment): Named “Immediate polygon measurement visibility”; runs Verify Poly Candidate (`sandbox/tools/verify-poly-candidate.mjs`), Candidate Server (`sandbox/tools/candidate-server.cjs`) and Measurement Readouts Browser (`sandbox/tools/measurement-readouts.browser.cjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 12 estate files (workflow-run 12); used by 0; mentioned by 0 ### Offshore Route Workflow - File: testcode/.github/workflows/offshore-route.yml (YAML, 74 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/offshore-route.yml#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1862.html#f8 - Synopsis: A GitHub Actions workflow in Testcode. Runs on push, on pull requests and by hand. - What it achieves (comment): Named “Atlas offshore route candidate”; runs Build Offshore Candidate (`sandbox/tools/build-offshore-candidate.py`), Controls Layout Browser (`sandbox/tools/controls-layout.browser.cjs`) and Offshore Route Browser (`sandbox/tools/offshore-route.browser.cjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 13 estate files (workflow-run 13); used by 0; mentioned by 0 ### Poly Zone Workflow - File: testcode/.github/workflows/poly-zone.yml (YAML, 185 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/poly-zone.yml#L1-L185 - Page: https://code.globalgrid2050.com/explore-code/s/1863.html#f1 - Synopsis: A GitHub Actions workflow in Testcode. Runs on push and by hand. - What it achieves (comment): Named “Poly Zone engineering regression”; runs Verify Poly Candidate (`sandbox/tools/verify-poly-candidate.mjs`) and Poly Zone Browser (`sandbox/tools/poly-zone.browser.cjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Polygon Distance Workflow - File: testcode/.github/workflows/polygon-distance.yml (YAML, 91 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/polygon-distance.yml#L1-L91 - Page: https://code.globalgrid2050.com/explore-code/s/1863.html#f2 - Synopsis: A GitHub Actions workflow in Testcode. Runs on push and by hand. - What it achieves (comment): Named “Polygon distance boundary correctness”; runs Verify Poly Candidate (`sandbox/tools/verify-poly-candidate.mjs`), Candidate Server (`sandbox/tools/candidate-server.cjs`) and Polygon Distance Browser (`sandbox/tools/polygon-distance.browser.cjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 11 estate files (workflow-run 11); used by 0; mentioned by 0 ### Spider Universe Served Workflow - File: testcode/.github/workflows/spider-universe-served.yml (YAML, 32 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/spider-universe-served.yml#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/1863.html#f3 - Synopsis: A GitHub Actions workflow in Testcode that builds and publishes the site. Runs by hand. - What it achieves (comment): Runs Spider Universe Served (`tools/spider-universe-served.mjs`). - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Testcode Workflow - File: testcode/.github/workflows/testcode.yml (YAML, 127 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/testcode.yml#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/1863.html#f4 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and on a schedule. - What it achieves (comment): Runs Testcode — Run (`run.mjs`) and Menu Map (`drivers/menu-map.mjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: JSON file estate-inputs.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [JSON file estate-inputs.json]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Tool Recovery Workflow - File: testcode/.github/workflows/tool-recovery.yml (YAML, 73 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/tool-recovery.yml#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/1863.html#f5 - Synopsis: A GitHub Actions workflow in Testcode. Runs on push and by hand. - What it achieves (comment): Named “Recoverable Atlas tool composition”; runs Verify Tool Host Candidate (`sandbox/tools/verify-tool-host-candidate.mjs`), Candidate Server (`sandbox/tools/candidate-server.cjs`) and Tool Recovery Browser (`sandbox/tools/tool-recovery.browser.cjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 7 estate files (workflow-run 7); used by 0; mentioned by 0 ### Vertex Limit Workflow - File: testcode/.github/workflows/vertex-limit.yml (YAML, 88 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/vertex-limit.yml#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/1863.html#f6 - Synopsis: A GitHub Actions workflow in Testcode. Runs on push and by hand. - What it achieves (comment): Named “Maximum polygon vertex preservation”; runs Verify Poly Candidate (`sandbox/tools/verify-poly-candidate.mjs`), Candidate Server (`sandbox/tools/candidate-server.cjs`) and Polygon Vertex Limit Browser (`sandbox/tools/polygon-vertex-limit.browser.cjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 10 estate files (workflow-run 10); used by 0; mentioned by 0 ### Vertex Removal Workflow - File: testcode/.github/workflows/vertex-removal.yml (YAML, 80 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/.github/workflows/vertex-removal.yml#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/1863.html#f7 - Synopsis: A GitHub Actions workflow in Testcode. Runs on push and by hand. - What it achieves (comment): Named “Undoable polygon vertex removal”; runs Verify Poly Candidate (`sandbox/tools/verify-poly-candidate.mjs`), Candidate Server (`sandbox/tools/candidate-server.cjs`) and Tool Recovery Browser (`sandbox/tools/tool-recovery.browser.cjs`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 6 estate files (workflow-run 6); used by 0; mentioned by 0 ### Test Power State Counterexample - File: testcode/examples/test_power_state_counterexample.py (Python, 54 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/examples/test_power_state_counterexample.py#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1864.html#f1 - Synopsis: A test in the examples folder of Testcode that checks Power State Counterexample. It is built from the source state counterexample tests class (`SourceStateCounterexampleTests`). - What it achieves (comment): Offline tests of a *conceptual* false-positive, not a PLC acceptance test. - What it does: It tests its inputs. Defines 6 functions or classes, including SourceStateCounterexampleTests, test_external_fault_while_other_feeder_is_locked_open, test_available_healthy_a_cannot_be_falsely_called_unavailable, test_no_upstream_voltage_has_no_specific_mismatch, test_open_breaker_blocks_simple_continuity_inference. Uses libraries unittest. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `class SourceStateCounterexampleTests`; `test_external_fault_while_other_feeder_is_locked_open(self)`; `test_available_healthy_a_cannot_be_falsely_called_unavailable(self)`; `test_no_upstream_voltage_has_no_specific_mismatch(self)`; `test_open_breaker_blocks_simple_continuity_inference(self)`; `test_a_single_counterexample_invalidates_upstream_only_sufficiency(self)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Checkout - File: testcode/lib/checkout.mjs (JavaScript, 99 lines) · role other · stage ingest - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/lib/checkout.mjs#L1-L99 - Page: https://code.globalgrid2050.com/explore-code/s/1864.html#f2 - Synopsis: A JavaScript module in Testcode. It is built from the branch of helper (`branchOf`) and the has step (`has`). - What it achieves (comment): WHICH clone a gate read, decided explicitly and out loud. - What it does: It lists and searches its content. Defines branchOf, resolveCheckout, has. Uses libraries node:fs, node:child_process, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Menu Map (testcode); Testcode — Run (testcode). Reached from 1 other entry point, including Testcode Workflow (testcode). - Signatures: `export branchOf(dir)`; `export resolveCheckout({ parent, base, declared = null, branch = 'main', mustContain = [] })`; `name(result.stdout || '')`; `has(dir)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Detector Proof - File: testcode/sandbox/capsules/grid-compute/detector.proof.mjs (JavaScript, 16 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/grid-compute/detector.proof.mjs#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/1864.html#f3 - Synopsis: A JavaScript module in the grid compute folder of Testcode covering the Renewable Energy Planning Database (REPD) register. - What it does: Uses libraries node:assert/strict. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Remove Test Screenshots - File: testcode/sandbox/capsules/grid-compute/remove-test-screenshots.ps1 (PowerShell, 28 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/grid-compute/remove-test-screenshots.ps1#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1864.html#f4 - Synopsis: A PowerShell script in the grid compute folder of Testcode. - What it does: It tests its inputs. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Compose Test - File: testcode/sandbox/capsules/tool-layers/compose.test.mjs (JavaScript, 83 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/tool-layers/compose.test.mjs#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/1864.html#f5 - Synopsis: A test in the tool layers folder of Testcode that checks Compose, using SHA-256. It is built from the commit step (`commit`). - What it achieves (name): Defines `digest`, `fixture`, `git` and 1 more. - What it does: It tests its inputs. Defines digest, fixture, git, commit. Uses libraries node:test, node:assert/strict, node:fs/promises, node:child_process, node:crypto. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 3 files: Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `digest(bytes)`; `fixture(t, entries = [['index.html', '

Original GIS

']])`; `git(...args)`; `commit()` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 3; mentioned by 0 ### Dismissal Test - File: testcode/sandbox/capsules/tool-layers/dismissal.test.mjs (JavaScript, 21 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/tool-layers/dismissal.test.mjs#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1864.html#f6 - Synopsis: A test in the tool layers folder of Testcode that checks Dismissal. - What it achieves (name): Defines `key`. - What it does: It tests its inputs. Defines key. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 3 files: Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `key(name='Escape')` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Focus Boundary Test - File: testcode/sandbox/capsules/tool-layers/focus-boundary.test.mjs (JavaScript, 33 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/tool-layers/focus-boundary.test.mjs#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1864.html#f7 - Synopsis: A test in the tool layers folder of Testcode that checks Focus Boundary. - What it achieves (name): Defines `node`, `press`, `node` and 1 more. - What it does: It tests its inputs. Defines node, press, node, press. Uses libraries node:test, node:assert/strict. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 3 files: Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `node()`; `press(target,shiftKey=false)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Navigation Test - File: testcode/sandbox/capsules/tool-layers/navigation.test.mjs (JavaScript, 53 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/tool-layers/navigation.test.mjs#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1864.html#f8 - Synopsis: A test in the tool layers folder of Testcode that checks Navigation using data from globalgrid2050.com. It is built from the load step (`load`). - What it achieves (name): Defines `entry`, `href`, `fixture` and 1 more. - What it does: It tests its inputs. Defines entry, href, fixture, load. Uses libraries node:test, node:assert/strict. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file tool-layers.json. - Downstream impact: Used directly by 3 files: Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `entry(id,title,char)`; `href(tool)`; `fixture()`; `load(url,doc=frame.contentDocument)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file tool-layers.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Ownership Test - File: testcode/sandbox/capsules/tool-layers/ownership.test.mjs (JavaScript, 33 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/tool-layers/ownership.test.mjs#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1864.html#f9 - Synopsis: A test in the tool layers folder of Testcode that checks Ownership. - What it does: It tests cables. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Downstream impact: Used directly by 3 files: Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Readiness Test - File: testcode/sandbox/capsules/tool-layers/readiness.test.mjs (JavaScript, 50 lines) · role test · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/tool-layers/readiness.test.mjs#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/1864.html#f10 - Synopsis: A test in the tool layers folder of Testcode that checks Readiness. - What it does: It tests cables. Uses libraries node:test, node:assert/strict. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Downstream impact: Used directly by 3 files: Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Recovery Test - File: testcode/sandbox/capsules/tool-layers/recovery.test.mjs (JavaScript, 10 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/tool-layers/recovery.test.mjs#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/1864.html#f11 - Synopsis: A test in the tool layers folder of Testcode that checks Recovery. - What it does: It tests its inputs. Uses libraries node:test, node:assert/strict. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 3 files: Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Source Scopes Test - File: testcode/sandbox/capsules/tool-layers/source-scopes.test.mjs (JavaScript, 90 lines) · role test · stage transform · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/tool-layers/source-scopes.test.mjs#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/1864.html#f12 - Synopsis: A test in the tool layers folder of Testcode that checks Source Scopes, using SHA-256. - What it achieves (readme): It reads candidate (`readCandidate`) and is built from the sha step (`sha`) and the fixture step (`fixture`). The README says: `source-scopes.mjs` builds `layer-source-scopes.json` as a separate per-tool inventory. - What it does: It tests its inputs. Defines 7 functions or classes, including sha, fixture, pin, readCandidate, run. Uses libraries node:test, node:assert/strict, node:crypto. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`source-scopes.mjs` builds `layer-source-scopes.json` as a separate per-tool inventory." - Inputs & outputs: In: GeoJSON file grid.geojson; JSON file shared.json. - Downstream impact: Used directly by 3 files: Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `sha(raw)`; `fixture()`; `pin()`; `readCandidate(path)`; `run()`; `derivedFixture(mutateBaseline=()=>{},mutatePin=()=>{})` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [GeoJSON file grid.geojson; JSON file shared.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### App Print Browser - File: testcode/sandbox/tools/app-print.browser.cjs (JavaScript, 50 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/app-print.browser.cjs#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/1864.html#f13 - Synopsis: A JavaScript module in the tools folder of Testcode. - What it achieves (name): Defines `check`. It responds to teleprint events. - What it does: It draws its content. Defines check. Uses libraries node:fs, node:path, playwright, C:/Users/vikra/OneDrive/Documents/GitHub/gridatlas-main-202609050200/node_modules/playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. Out: JSON file results.json. - Downstream impact: Used directly by 6 files: Composition Guard Workflow (testcode); Measurement Clearance Workflow (testcode); Measurement Readouts Workflow (testcode); Polygon Distance Workflow (testcode); and 2 more. - Signatures: `check(name,pass,detail)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### Arrival Diagnostic - File: testcode/sandbox/tools/arrival-diagnostic.cjs (JavaScript, 52 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/arrival-diagnostic.cjs#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1864.html#f14 - Synopsis: A JavaScript module in the tools folder of Testcode. - What it achieves (name): Defines `save`. - What it does: It loads data. Defines save. Uses libraries node:fs, node:path, node:http, node:child_process, C:/Users/vikra/OneDrive/Documents/GitHub/gridatlas-main-202609050200/node_modules/playwright. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: JSON file results.json. - Signatures: `save()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Arrival Layout - File: testcode/sandbox/tools/arrival-layout.js (JavaScript, 34 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/arrival-layout.js#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/1865.html#f1 - Synopsis: A JavaScript file in the tools folder of Testcode that maps owns the viewport; search and project details have separate slots. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Arrival Message - File: testcode/sandbox/tools/arrival-message.py (Python, 14 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/arrival-message.py#L1-L14 - Page: https://code.globalgrid2050.com/explore-code/s/1865.html#f2 - Synopsis: A Python module in the tools folder of Testcode covering the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it does: It draws the REPD register. Uses libraries json, hashlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file current.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Browser Proof - File: testcode/sandbox/tools/browser-proof.cjs (JavaScript, 75 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/browser-proof.cjs#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1865.html#f3 - Synopsis: A JavaScript module in the tools folder of Testcode that draws browser results, receivers and records. - What it achieves (name): Defines `save` and `check`. - What it does: It draws browser results, receivers and records. Defines save, check. Uses libraries fs, path. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file receivers.json; CSV file all-records.csv. Out: JSON file browser-results.json. - Signatures: `save()`; `check(name,ok,detail)`; `geometry(page)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file receivers.json; CSV file all-records.csv]; out [JSON file browser-results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Browser WebGL Probe - File: testcode/sandbox/tools/browser-webgl-probe.mjs (JavaScript, 24 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/browser-webgl-probe.mjs#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1865.html#f4 - Synopsis: A JavaScript module in the tools folder of Testcode that draws firefox capabilities. - What it achieves (name): It writes `pdf-artifacts/firefox-capabilities.json`. - What it does: It draws firefox capabilities. Uses libraries node:module, node:fs, playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: JSON file firefox-capabilities.json. - Downstream impact: Used directly by 1 file: Map PDF Workflow (testcode). - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [JSON file firefox-capabilities.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Composition Guard - File: testcode/sandbox/tools/build-composition-guard.mjs (JavaScript, 30 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/build-composition-guard.mjs#L1-L30 - Page: https://code.globalgrid2050.com/explore-code/s/1865.html#f5 - Synopsis: A JavaScript module in the tools folder of Testcode that reads publication and provenance, using SHA-256. - What it achieves (name): Its name says it builds composition guard. Defines `blob`, `hash` and `write`. It writes `atlas/current.json`. - What it does: It loads publication and provenance. Defines blob, hash, write. Uses libraries node:fs, node:path, node:assert/strict, node:child_process, node:crypto. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file current.json; JSON file publication.json; JSON file source-provenance.json. - Signatures: `blob(p)`; `hash(b)`; `write(p,b)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file publication.json; JSON file source-provenance.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Build Controls Candidate - File: testcode/sandbox/tools/build-controls-candidate.py (Python, 35 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/build-controls-candidate.py#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/1865.html#f6 - Synopsis: A Python module in the tools folder of Testcode covering publication and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It is built from the blob step (`blob`) and the write step (`write`). Publish a thin Atlas composition over the immutable 1906 baseline. It writes `atlas/current.json`. - What it does: Defines blob, write. Uses libraries datetime, hashlib, json, pathlib, subprocess. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file current.json; JSON file publication.json. - Signatures: `blob(p)`; `write(p,b)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file publication.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build Offshore Candidate - File: testcode/sandbox/tools/build-offshore-candidate.py (Python, 129 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/build-offshore-candidate.py#L1-L129 - Page: https://code.globalgrid2050.com/explore-code/s/1865.html#f7 - Synopsis: A Python module in the tools folder of Testcode covering publication and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (comment): It verifies candidate (`verify_candidate`) and is built from the blob step (`blob`) and the digest step (`digest`). Compose the reviewed offshore correction over the tested Atlas controls release. It writes `atlas/current.json`. - What it does: Defines blob, digest, write, function, verify_candidate. Uses libraries datetime, hashlib, json, os, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file publication.json; JSON file current.json; command-line arguments. - Downstream impact: Used directly by 1 file: Offshore Route Workflow (testcode). - Signatures: `blob(repo, path, sha='HEAD')`; `digest(data)`; `write(path, data)`; `verify_candidate(generation)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file publication.json; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Poly Candidate - File: testcode/sandbox/tools/build-poly-candidate.mjs (JavaScript, 62 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/build-poly-candidate.mjs#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/1865.html#f8 - Synopsis: A JavaScript module in the tools folder of Testcode that reads tool layers, provenance, publication and substations, using SHA-256. It is built from the list step (`list`). - What it achieves (name): Its name says it builds poly candidate. Defines `blob`, `hash`, `write` and 1 more. It writes `atlas/current.json`. - What it does: It loads tool layers, provenance, publication and substations. Defines blob, hash, write, list. Uses libraries node:fs, node:path, node:assert/strict, node:child_process, node:crypto. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations. - Inputs & outputs: In: JSON file current.json; JSON file tool-layers.json; JSON file source-provenance.json; JSON file publication.json; command-line arguments. - Signatures: `blob(repo,p,sha='HEAD')`; `hash(b)`; `write(p,b)`; `list(dir)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file tool-layers.json; JSON file source-provenance.json; JSON file publication.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Build Tool Host Candidate - File: testcode/sandbox/tools/build-tool-host-candidate.mjs (JavaScript, 45 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/build-tool-host-candidate.mjs#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1865.html#f9 - Synopsis: A JavaScript module in the tools folder of Testcode that reads tool layers, provenance, publication and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): Its name says it builds tool host candidate. Defines `blob`, `hash` and `write`. It writes `atlas/current.json`. - What it does: It loads tool layers, provenance, publication and the REPD register. Defines blob, hash, write. Uses libraries node:fs, node:path, node:assert/strict, node:child_process, node:crypto. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file current.json; JSON file tool-layers.json; JSON file source-provenance.json; JSON file publication.json. - Signatures: `blob(p)`; `hash(b)`; `write(p,b)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file tool-layers.json; JSON file source-provenance.json; JSON file publication.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Build - File: testcode/sandbox/tools/build.py (Python, 141 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/build.py#L1-L141 - Page: https://code.globalgrid2050.com/explore-code/s/1865.html#f10 - Synopsis: A Python module in the tools folder of Testcode that draws published, regional news and parts, using SHA-256, and uses data from the GridAtlas repository. - What it achieves (comment): It is built from the write step (`write`), the read step (`read`) and the sha step (`sha`). Build isolated, timestamped comparison candidates; never edit source products. It writes `index.html`. - What it does: It draws published, regional news and parts. Defines 6 functions or classes, including write, read, sha, head, replace. Uses libraries pathlib, json, hashlib, datetime, shutil. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "Source inputs included the stopped agent's uncommitted menu fixes, identified by hash, plus the changes in tools/build.py and tools/print-view.js." - Inputs & outputs: In: data source: gridatlas data; JSON file PUBLISHED.json; JSON file build_manifest.json; JSON file regional_news.json; JSON file regional_manifest.json; JSON file current.json; JSON file parts.json; JSON file release.json. - Signatures: `write(p,s)`; `read(p)`; `sha(b)`; `head(p)`; `replace(s,a,b)`; `source(p)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file PUBLISHED.json; JSON file build_manifest.json; JSON file regional_news.json; JSON file regional_manifest.json; JSON file current.json; JSON file parts.json; JSON file release.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Candidate Server - File: testcode/sandbox/tools/candidate-server.cjs (JavaScript, 24 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/candidate-server.cjs#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1865.html#f11 - Synopsis: A JavaScript module in the tools folder of Testcode that reads bytes (`readBytes`). It reads bytes (`readBytes`). - What it achieves (name): Defines `readBytes`. - What it does: It loads data. Defines readBytes. Uses libraries node:fs, node:path, node:http, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 8 files: Composition Guard Workflow (testcode); Map PDF Workflow (testcode); Measurement Clearance Workflow (testcode); Measurement Readouts Workflow (testcode); and 4 more. - Signatures: `readBytes(repoPath,file)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 8; mentioned by 0 ### Composition Contract Browser - File: testcode/sandbox/tools/composition-contract.browser.cjs (JavaScript, 39 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/composition-contract.browser.cjs#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/1865.html#f12 - Synopsis: A JavaScript module in the tools folder of Testcode that fetches retained. - What it achieves (name): Defines `record`. - What it does: It fetches retained. Defines record. Uses libraries node:fs, node:path, playwright, C:/Users/vikra/OneDrive/Documents/GitHub/gridatlas-main-202609050200/node_modules/playwright. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file current.json; GeoJSON file retained.geojson; browser storage (getItem); command-line arguments. Out: JSON file results.json. - Downstream impact: Used directly by 4 files: Composition Guard Workflow (testcode); Measurement Readouts Workflow (testcode); Polygon Distance Workflow (testcode); Vertex Limit Workflow (testcode). - Signatures: `record(name,pass,detail)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file current.json; GeoJSON file retained.geojson; browser storage (getItem); command-line arguments]; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Controls Layout Browser - File: testcode/sandbox/tools/controls-layout.browser.cjs (JavaScript, 109 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/controls-layout.browser.cjs#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/1866.html#f1 - Synopsis: A JavaScript module in the tools folder of Testcode. It is built from the check step (`check`), the rect step (`rect`) and the color step (`color`). - What it achieves (comment): Chrome layout regression against the real composed candidate, including its remote shell. - What it does: Defines check, rect, color. Uses libraries node:fs, node:path, node:http, node:child_process. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: JSON file results.json. - Downstream impact: Used directly by 9 files: Composition Guard Workflow (testcode); Controls Layout Workflow (testcode); Measurement Clearance Workflow (testcode); Measurement Readouts Workflow (testcode); and 5 more. - Signatures: `check(name, ok, detail)`; `rect(el)`; `color(el)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 9; mentioned by 0 ### Iterate Arrival - File: testcode/sandbox/tools/iterate-arrival.py (Python, 63 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/iterate-arrival.py#L1-L63 - Page: https://code.globalgrid2050.com/explore-code/s/1866.html#f2 - Synopsis: A Python module in the tools folder of Testcode that fetches published and the Renewable Energy Planning Database (REPD) register, using SHA-256. It is built from the sha step (`sha`). - What it achieves (name): Defines `read`, `write`, `patch` and 1 more. It reads `current.json` and writes `current.json`. - What it does: It fetches published and the REPD register. Defines read, write, patch, sha. Uses libraries pathlib, json, shutil, hashlib, datetime. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file PUBLISHED.json; JSON file verification.json; JSON file current.json; JSON file release.json; DuckDB queries. - Signatures: `read(p)`; `write(p,s)`; `patch(s,a,b)`; `sha(b)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file PUBLISHED.json; JSON file verification.json; JSON file current.json; JSON file release.json; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Iterate Layout - File: testcode/sandbox/tools/iterate-layout.py (Python, 54 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/iterate-layout.py#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/1866.html#f3 - Synopsis: A Python module in the tools folder of Testcode that draws published and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): Defines `read`, `write` and `change`. It reads `current.json` and writes `current.json`. - What it does: It draws published and the REPD register. Defines read, write, change. Uses libraries pathlib, json, shutil, hashlib, datetime. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file PUBLISHED.json; JSON file current.json; JSON file release.json. - Signatures: `read(p)`; `write(p,s)`; `change(s,a,b)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file PUBLISHED.json; JSON file current.json; JSON file release.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Measurement Controls Browser - File: testcode/sandbox/tools/measurement-controls.browser.cjs (JavaScript, 52 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/measurement-controls.browser.cjs#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1866.html#f4 - Synopsis: A JavaScript module in the tools folder of Testcode covering dock. It is built from the overlap step (`overlap`). - What it achieves (name): Defines `check`, `coords`, `rect` and 1 more. - What it does: It lists and searches dock. Defines check, coords, rect, overlap. Uses libraries node:fs, node:path, playwright, C:/Users/vikra/OneDrive/Documents/GitHub/gridatlas-main-202609050200/node_modules/playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: GeoJSON file dock.geojson; command-line arguments. Out: JSON file results.json. - Downstream impact: Used directly by 5 files: Composition Guard Workflow (testcode); Measurement Clearance Workflow (testcode); Measurement Readouts Workflow (testcode); Polygon Distance Workflow (testcode); and 1 more. - Signatures: `check(name,pass,detail)`; `coords()`; `rect(e)`; `overlap(a,b)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [GeoJSON file dock.geojson; command-line arguments]; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Measurement Readouts Browser - File: testcode/sandbox/tools/measurement-readouts.browser.cjs (JavaScript, 26 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/measurement-readouts.browser.cjs#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/1866.html#f5 - Synopsis: A JavaScript module in the tools folder of Testcode. - What it achieves (name): Defines `check` and `coords`. - What it does: It lists and searches its content. Defines check, coords. Uses libraries node:fs, node:path, playwright, C:/Users/vikra/OneDrive/Documents/GitHub/gridatlas-main-202609050200/node_modules/playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. Out: JSON file results.json. - Downstream impact: Used directly by 1 file: Measurement Readouts Workflow (testcode). - Signatures: `check(name,pass,detail)`; `coords()` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Morgan Location - File: testcode/sandbox/tools/morgan-location.py (Python, 36 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/morgan-location.py#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/1866.html#f6 - Synopsis: A Python module in the tools folder of Testcode that reads morgan crown estate and provenance, using SHA-256. - What it achieves (comment): It is built from the read step (`read`) and the write step (`write`). Use a pinned, attributed Crown Estate lease area for indicative Morgan screening. It reads `current.json` and writes `data/project-areas/10919.geojson`. - What it does: It loads morgan crown estate and provenance. Defines read, write. Uses libraries pathlib, json, hashlib, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: GeoJSON file morgan-crown-estate.geojson; GeoJSON file 10919.geojson; JSON file 10919-provenance.json; JSON file 10.json; JSON file current.json. Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `read(p)`; `write(p,s)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [GeoJSON file morgan-crown-estate.geojson; GeoJSON file 10919.geojson; JSON file 10919-provenance.json; JSON file 10.json; JSON file current.json]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### PDF Export Browser - File: testcode/sandbox/tools/pdf-export.browser.mjs (JavaScript, 186 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/pdf-export.browser.mjs#L1-L186 - Page: https://code.globalgrid2050.com/explore-code/s/1866.html#f7 - Synopsis: A JavaScript module in the tools folder of Testcode. It is built from the check step (`check`). - What it achieves (comment): DOES PRESSING "SAVE THIS VIEW AS A PDF" PUT A REAL PDF ON THE READER'S DISK? --------------------------------------------------------------------------- Not "does a function called `savePdf` exist", not "is /DCTDecode present in the source". - What it does: It loads data. Defines check. Uses libraries node:module, node:fs, node:os, node:path, C:/Users/vikra/OneDrive/Documents/GitHub/gridatlas-main-202609050200/node_modules/playwright. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. Out: JSON file results.json. - Downstream impact: Used directly by 1 file: Map PDF Workflow (testcode). - Signatures: `check(name, ok, detail)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### PDF Render Check - File: testcode/sandbox/tools/pdf-render-check.py (Python, 41 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/pdf-render-check.py#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1866.html#f8 - Synopsis: A Python module in the tools folder of Testcode. - What it achieves (comment): Independently parse and render the actual browser downloads; never author PDFs. - What it does: Uses libraries itertools, json, sys, pathlib, pymupdf. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. Out: JSON file render-check.json. - Downstream impact: Used directly by 1 file: Map PDF Workflow (testcode). - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file render-check.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Poly Zone Browser - File: testcode/sandbox/tools/poly-zone.browser.cjs (JavaScript, 260 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/poly-zone.browser.cjs#L1-L260 - Page: https://code.globalgrid2050.com/explore-code/s/1867.html#f1 - Synopsis: A JavaScript module in the tools folder of Testcode that draws small polygon, vertices, broken and crossed. It is built from the separated step (`separated`). - What it achieves (name): Defines `save`, `check`, `coordinates` and 1 more. - What it does: It draws small polygon, vertices, broken and crossed. Defines save, check, coordinates, separated. Uses libraries node:fs, node:path, node:http, node:child_process, C:/Users/vikra/OneDrive/Documents/GitHub/gridatlas-main-202609050200/node_modules/playwright. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: CSV file -vertices.csv; GeoJSON file -polygon.geojson; GeoJSON file broken.geojson; GeoJSON file crossed.geojson; GeoJSON file small-clockwise.geojson; GeoJSON file -small-polygon.geojson. Out: JSON file results.json; GeoJSON file -polygon.geojson. - Downstream impact: Used directly by 9 files: Composition Guard Workflow (testcode); Map PDF Workflow (testcode); Measurement Clearance Workflow (testcode); Measurement Readouts Workflow (testcode); and 5 more. - Signatures: `save()`; `check(label,pass,detail)`; `coordinates()`; `separated()` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [CSV file -vertices.csv; GeoJSON file -polygon.geojson; GeoJSON file broken.geojson; GeoJSON file crossed.geojson; GeoJSON file small-clockwise.geojson; GeoJSON file -small-polygon.geojson]; out [JSON file results.json; GeoJSON file -polygon.geojson]; crs []; voltages [] - Edges: uses 0 estate files; used by 9; mentioned by 0 ### Polygon Boundaries Browser - File: testcode/sandbox/tools/polygon-boundaries.browser.cjs (JavaScript, 44 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/polygon-boundaries.browser.cjs#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/1867.html#f2 - Synopsis: A JavaScript module in the tools folder of Testcode that reads boundary and rectangle, using haversine. It is built from the vector step (`vector`) and the distance step (`distance`). - What it achieves (name): Defines `check`, `coords`, `input` and 2 more. - What it does: It loads boundary and rectangle. Defines check, coords, input, vector, distance. Uses libraries node:fs, node:path, playwright, C:/Users/vikra/OneDrive/Documents/GitHub/gridatlas-main-202609050200/node_modules/playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: GeoJSON file boundary.geojson; command-line arguments. Out: GeoJSON file -rectangle.geojson; JSON file results.json. - Downstream impact: Used directly by 1 file: Tool Recovery Workflow (testcode). - Signatures: `check(name,pass,detail)`; `coords()`; `input(ring)`; `vector([x,y])`; `distance(a,b)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [GeoJSON file boundary.geojson; command-line arguments]; out [GeoJSON file -rectangle.geojson; JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Polygon Distance Browser - File: testcode/sandbox/tools/polygon-distance.browser.cjs (JavaScript, 35 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/polygon-distance.browser.cjs#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/1867.html#f3 - Synopsis: A JavaScript module in the tools folder of Testcode that calculates great-circle distances and planar distances. - What it achieves (name): Defines `vector`, `distance` and `download`. - What it does: It loads data. Defines vector, distance, download. Uses libraries node:fs, node:path, playwright, C:/Users/vikra/OneDrive/Documents/GitHub/gridatlas-main-202609050200/node_modules/playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. Out: JSON file results.json. - Downstream impact: Used directly by 2 files: Measurement Readouts Workflow (testcode); Polygon Distance Workflow (testcode). - Signatures: `vector([lon,lat])`; `distance(a,b)`; `download(id,extension)`; `rows(await download(')` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Polygon Remove Browser - File: testcode/sandbox/tools/polygon-remove.browser.cjs (JavaScript, 43 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/polygon-remove.browser.cjs#L1-L43 - Page: https://code.globalgrid2050.com/explore-code/s/1867.html#f4 - Synopsis: A JavaScript module in the tools folder of Testcode covering vertices. It is built from the coords step (`coords`). - What it achieves (name): Defines `check`, `activate`, `input` and 1 more. - What it does: It lists and searches vertices. Defines check, activate, input, coords. Uses libraries node:fs, node:path, playwright, C:/Users/vikra/OneDrive/Documents/GitHub/gridatlas-main-202609050200/node_modules/playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: GeoJSON file vertices.geojson; command-line arguments. Out: JSON file results.json. - Downstream impact: Used directly by 6 files: Composition Guard Workflow (testcode); Measurement Clearance Workflow (testcode); Measurement Readouts Workflow (testcode); Polygon Distance Workflow (testcode); and 2 more. - Signatures: `check(name,pass,detail)`; `activate(locator)`; `input(points)`; `coords()` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [GeoJSON file vertices.geojson; command-line arguments]; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### Polygon Vertex Limit Browser - File: testcode/sandbox/tools/polygon-vertex-limit.browser.cjs (JavaScript, 36 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/polygon-vertex-limit.browser.cjs#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/1867.html#f5 - Synopsis: A JavaScript module in the tools folder of Testcode that reads maximum. - What it achieves (name): Defines `check`, `activate` and `coords`. - What it does: It loads maximum. Defines check, activate, coords. Uses libraries node:fs, node:path, playwright, C:/Users/vikra/OneDrive/Documents/GitHub/gridatlas-main-202609050200/node_modules/playwright. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: GeoJSON file maximum.geojson; browser storage (getItem); command-line arguments. Out: JSON file results.json. - Downstream impact: Used directly by 3 files: Measurement Readouts Workflow (testcode); Polygon Distance Workflow (testcode); Vertex Limit Workflow (testcode). - Signatures: `check(name,pass,detail)`; `activate(l)`; `coords()`; `addCorner()` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [GeoJSON file maximum.geojson; browser storage (getItem); command-line arguments]; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Prepare Layout Publication - File: testcode/sandbox/tools/prepare-layout-publication.py (Python, 24 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/prepare-layout-publication.py#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1867.html#f6 - Synopsis: A Python module in the tools folder of Testcode that reads five journeys, provenance, real chrome five and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (name): Its name says it prepares layout publication. Defines `read` and `write`. It reads `evidence/five-journeys.json` and writes `results.html`. - What it does: It loads five journeys, provenance, real chrome five and the REPD register. Defines read, write. Uses libraries pathlib, json, hashlib, subprocess, shutil. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file five-journeys.json; JSON file release.json; JSON file 10919-provenance.json; JSON file real-chrome-five.json. - Signatures: `read(p)`; `write(p,s)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file five-journeys.json; JSON file release.json; JSON file 10919-provenance.json; JSON file real-chrome-five.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Print View - File: testcode/sandbox/tools/print-view.js (JavaScript, 31 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/print-view.js#L1-L31 - Page: https://code.globalgrid2050.com/explore-code/s/1867.html#f7 - Synopsis: A JavaScript file in the tools folder of Testcode. It is built from the print view helper (`printView`), the capture step (`capture`) and the clean step (`clean`). - What it achieves (readme): The README says: Source inputs included the stopped agent's uncommitted menu fixes, identified by hash, plus the changes in `tools/build.py` and `tools/print-view.js`. It responds to afterprint events. - What it does: It draws its content. Defines printView, capture, clean. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "Source inputs included the stopped agent's uncommitted menu fixes, identified by hash, plus the changes in tools/build.py and tools/print-view.js." - Signatures: `printView(doc)`; `capture()`; `clean()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Source Download Browser - File: testcode/sandbox/tools/source-download.browser.cjs (JavaScript, 71 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/source-download.browser.cjs#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/1867.html#f8 - Synopsis: A JavaScript module in the tools folder of Testcode that draws tool layers, using SHA-256. - What it achieves (name): Defines `hash`, `blob` and `check`. - What it does: It draws tool layers. Defines hash, blob, check. Uses libraries node:fs, node:path, node:crypto, node:child_process, playwright. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file current.json; JSON file tool-layers.json; command-line arguments. Out: JSON file results.json. - Signatures: `hash(bytes)`; `blob(p)`; `check(name,pass,detail)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json; JSON file tool-layers.json; command-line arguments]; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Token Compaction - File: testcode/sandbox/tools/token-compaction.mjs (JavaScript, 61 lines) · role other · stage ingest - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/token-compaction.mjs#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/1867.html#f9 - Synopsis: A JavaScript module in the tools folder of Testcode that replaces map engine (`replaceMapEngine`) and optional module (`replaceOptionalModule`), using SHA-256. - What it achieves (comment): It proves equivalent (`proveEquivalent`), replaces map engine (`replaceMapEngine`) and replaces optional module (`replaceOptionalModule`). Build-time token compaction. Executable token text and complete syntax trees must agree. - What it does: It lists and searches its content. Defines 8 functions or classes, including hash, syntax, canonical, tokens, proveEquivalent. Uses libraries node:assert/strict, node:fs, node:path, node:crypto, node:child_process. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Build Poly Candidate (testcode); Verify Poly Candidate (testcode). Reached from 7 other entry points, including Map PDF Workflow (testcode); Measurement Clearance Workflow (testcode); Measurement Readouts Workflow (testcode). - Signatures: `export proveEquivalent(before,after)`; `export compact(source)`; `export replaceMapEngine(source,engine,module)`; `export replaceOptionalModule(source,module,schema)`; `hash(s)`; `syntax(source)`; `canonical(ast)`; `tokens(source)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Tool Recovery Browser - File: testcode/sandbox/tools/tool-recovery.browser.cjs (JavaScript, 41 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/tool-recovery.browser.cjs#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1867.html#f10 - Synopsis: A JavaScript module in the tools folder of Testcode covering cables. - What it achieves (name): Defines `check` and `coordinates`. - What it does: It draws cables. Defines check, coordinates. Uses libraries node:fs, node:path, playwright, C:/Users/vikra/OneDrive/Documents/GitHub/gridatlas-main-202609050200/node_modules/playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: In: command-line arguments. Out: JSON file results.json. - Downstream impact: Used directly by 7 files: Composition Guard Workflow (testcode); Measurement Clearance Workflow (testcode); Measurement Readouts Workflow (testcode); Polygon Distance Workflow (testcode); and 3 more. - Signatures: `check(name,pass,detail)`; `coordinates()` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file results.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### Verify Composition Guard - File: testcode/sandbox/tools/verify-composition-guard.mjs (JavaScript, 23 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/verify-composition-guard.mjs#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1867.html#f11 - Synopsis: A JavaScript module in the tools folder of Testcode covering publication and provenance, using SHA-256. - What it achieves (name): Its name says it verifies composition guard. Defines `blob` and `source`. - What it does: It lists and searches publication and provenance. Defines blob, source. Uses libraries node:assert/strict, node:path, node:url, node:child_process, node:crypto. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file publication.json; JSON file source-provenance.json; JSON file current.json; command-line arguments. - Downstream impact: Used directly by 1 file: Composition Guard Workflow (testcode). - Signatures: `blob(p,ref='HEAD')`; `source(q)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file publication.json; JSON file source-provenance.json; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Verify Poly Candidate - File: testcode/sandbox/tools/verify-poly-candidate.mjs (JavaScript, 35 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/verify-poly-candidate.mjs#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/1868.html#f1 - Synopsis: A JavaScript module in the tools folder of Testcode covering publication, provenance and tool layers, using SHA-256. - What it achieves (name): Its name says it verifies poly candidate. Defines `blob` and `hash`. - What it does: Defines blob, hash. Uses libraries node:path, node:assert/strict, node:child_process, node:crypto, node:url. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file publication.json; JSON file source-provenance.json; JSON file tool-layers.json; JSON file current.json; command-line arguments. - Downstream impact: Used directly by 7 files: Map PDF Workflow (testcode); Measurement Clearance Workflow (testcode); Measurement Readouts Workflow (testcode); Poly Zone Workflow (testcode); and 3 more. - Signatures: `blob(repo,p,sha='HEAD')`; `hash(b)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file publication.json; JSON file source-provenance.json; JSON file tool-layers.json; JSON file current.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 7; mentioned by 0 ### Verify Tool Host Candidate - File: testcode/sandbox/tools/verify-tool-host-candidate.mjs (JavaScript, 46 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/tools/verify-tool-host-candidate.mjs#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/1868.html#f2 - Synopsis: A JavaScript module in the tools folder of Testcode covering publication, provenance and tool layers, using SHA-256. - What it achieves (name): Its name says it verifies tool host candidate. Defines `blob`, `hash` and `source`. - What it does: It lists and searches publication, provenance and tool layers. Defines blob, hash, source. Uses libraries node:path, node:assert/strict, node:child_process, node:crypto, node:url. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file publication.json; JSON file source-provenance.json; JSON file current.json; JSON file tool-layers.json; command-line arguments. - Downstream impact: Used directly by 1 file: Tool Recovery Workflow (testcode). - Signatures: `blob(p,ref='HEAD')`; `hash(b)`; `source(q)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file publication.json; JSON file source-provenance.json; JSON file current.json; JSON file tool-layers.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Build Pair - File: testcode/tools/build-pair.py (Python, 131 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/tools/build-pair.py#L1-L131 - Page: https://code.globalgrid2050.com/explore-code/s/1868.html#f3 - Synopsis: A Python module in the tools folder of Testcode that reads pair inputs, major project news, receivers and interconnectors, using SHA-256 from the ventus-grid-engine and GridAtlas repositories. - What it achieves (comment): It is built from the git step (`git`), the read step (`read`) and the write step (`write`). Construct a new test-only app pair from exact Git blobs, with explicit adaptations. It writes `atlas/current.json`. - What it does: It loads pair inputs, major project news, receivers and interconnectors. Defines 6 functions or classes, including git, read, write, copy, tree. Uses libraries datetime, hashlib, json, posixpath, pathlib. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: interconnectors. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: gridatlas data; JSON file pair-inputs.json; JSON file major_project_news_v5.json; JSON file major_project_news_v6.json; JSON file major_project_news_v9_5_1.json; JSON file current.json; JSON file receivers.json. Out: JSON file interconnectors_manifest.json; JSON file interconnectors.json. - Downstream impact: Used directly by 1 file: Gridmachine Pair Workflow (testcode). - Signatures: `git(repo,*args)`; `read(repo,path)`; `write(path,b)`; `copy(repo,source,target)`; `tree(repo,path)`; `edit(path,old,new)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: gridatlas data; JSON file pair-inputs.json; JSON file major_project_news_v5.json; JSON file major_project_news_v6.json; JSON file major_project_news_v9_5_1.json; JSON file current.json; JSON file receivers.json]; out [JSON file interconnectors_manifest.json; JSON file interconnectors.json]; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Pair Gates - File: testcode/tools/pair-gates.cjs (JavaScript, 28 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/tools/pair-gates.cjs#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1868.html#f4 - Synopsis: A JavaScript module in the tools folder of Testcode that draws vnd apache and interconnectors, using SHA-256. - What it achieves (comment): Grid Machine: active-click acceptance, with record then network-blocked replay. - What it does: It draws vnd apache and interconnectors. Uses libraries node:fs, node:path, node:http, node:crypto. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage field_execution (path word 'gates'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: interconnectors. - Inputs & outputs: In: Parquet file vnd.apache.parquet; command-line arguments. - Downstream impact: Used directly by 1 file: Gridmachine Pair Workflow (testcode). - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [Parquet file vnd.apache.parquet; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Watch Workflow - File: time-stone/.github/workflows/watch.yml (YAML, 40 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/time-stone/blob/50b6b1506d19812caf1f1ec64c5f4f966cb16833/.github/workflows/watch.yml#L1-L40 - Page: https://code.globalgrid2050.com/explore-code/s/1868.html#f5 - Synopsis: A GitHub Actions workflow in Time Stone. Runs on a schedule and by hand. - What it achieves (comment): Runs Watch (`tools/watch.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Watch - File: time-stone/tools/watch.py (Python, 137 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/time-stone/blob/50b6b1506d19812caf1f1ec64c5f4f966cb16833/tools/watch.py#L1-L137 - Page: https://code.globalgrid2050.com/explore-code/s/1868.html#f6 - Synopsis: A Python command-line tool in the tools folder of Time Stone using data from GitHub API and the law and faraday repositories. - What it achieves (comment): It is built from the kind step (`kind`), the public repos helper (`public_repos`) and the status step (`status`). The time stone: what changed, and when, across everything public. - What it does: It fetches data. Defines kind, public_repos, status, last, main. Uses libraries io, json, os, sys, time. Side effects: reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: data source: law data; data source: faraday data; data source: GitHub API; command-line arguments. - Downstream impact: Used directly by 1 file: Watch Workflow (time-stone). - Signatures: `kind(name)`; `public_repos()`; `status(url)`; `last(path)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: law data; data source: faraday data; data source: GitHub API; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (estate-url 3); used by 1; mentioned by 0 ### V11 Control Plane Validation Workflow - File: v11/.github/workflows/v11-control-plane-validation.yml (YAML, 134 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/v11/blob/debb30e092a1983e775d2ab4126995ab7bb72fe3/.github/workflows/v11-control-plane-validation.yml#L1-L134 - Page: https://code.globalgrid2050.com/explore-code/s/1868.html#f7 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and by hand. - What it achieves (comment): Runs Validate Control Plane (`scripts/validate_control_plane.py`) and Generate Control Plane Projection (`scripts/generate_control_plane_projection.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file programme-state.json. Out: JSON file summary.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file programme-state.json]; out [JSON file summary.json]; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### Generate Control Plane Projection - File: v11/scripts/generate_control_plane_projection.py (Python, 194 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/v11/blob/debb30e092a1983e775d2ab4126995ab7bb72fe3/scripts/generate_control_plane_projection.py#L1-L194 - Page: https://code.globalgrid2050.com/explore-code/s/1869.html#f1 - Synopsis: A Python command-line tool in the scripts folder of V11 that reads programme state. It renders index (`render_index`) and is built from the projections step (`projections`). - What it achieves (name): Its name says it generates control plane projection. Defines `load`, `load_surfaces`, `render_readme` and 2 more. It accepts `--root` and `--check`. - What it does: It loads programme state. Defines 6 functions or classes, including load, load_surfaces, render_readme, render_index, projections. Uses libraries __future__, argparse, html, json, pathlib. Side effects: reads or writes files. - Inputs & outputs: In: JSON file programme-state.json; command-line arguments. - Downstream impact: Used directly by 1 file: V11 Control Plane Validation Workflow (v11). - Signatures: `load(path: Path)`; `load_surfaces(root: Path)`; `render_readme(state: dict, plan: dict, caps: dict, register: dict)`; `render_index(state: dict, plan: dict, caps: dict, register: dict)`; `projections(root: Path)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file programme-state.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Validate Control Plane - File: v11/scripts/validate_control_plane.py (Python, 90 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/v11/blob/debb30e092a1983e775d2ab4126995ab7bb72fe3/scripts/validate_control_plane.py#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/1869.html#f2 - Synopsis: A Python command-line tool in the scripts folder of V11 that reads programme state. It validates payloads (`validate_payloads`) and validates control plane (`validate_control_plane`). - What it achieves (name): Its name says it validates control plane. Defines `ControlPlaneValidationError`, `need`, `load` and 2 more. It accepts `--root` and `--require-projection`. - What it does: It loads programme state. Defines 6 functions or classes, including ControlPlaneValidationError, need, load, validate_payloads, validate_control_plane. Uses libraries __future__, argparse, json, re, pathlib. Side effects: reads or writes files. - Inputs & outputs: In: JSON file programme-state.json; command-line arguments. - Downstream impact: Used directly by 2 files: V11 Control Plane Validation Workflow (v11); Generate Control Plane Projection (v11). - Signatures: `class ControlPlaneValidationError`; `need(value: bool, message: str)`; `load(path: Path)`; `validate_payloads(state, plan, caps, register, *, root: Path, require_projection=False)`; `validate_control_plane(root: Path, require_projection=False)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file programme-state.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Test Control Plane - File: v11/tests/test_control_plane.py (Python, 67 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/v11/blob/debb30e092a1983e775d2ab4126995ab7bb72fe3/tests/test_control_plane.py#L1-L67 - Page: https://code.globalgrid2050.com/explore-code/s/1869.html#f3 - Synopsis: A test in the tests folder of V11. It sets up class (`setUpClass`) and is built from the control plane tests class (`ControlPlaneTests`). - What it achieves (name): Defines `ControlPlaneTests`, `setUpClass`, `validate` and 6 more. - What it does: It tests its inputs. Defines 9 functions or classes, including ControlPlaneTests, setUpClass, validate, test_current_surfaces_validate, test_programme_mismatch_rejected. Uses libraries copy, importlib.util, json, pathlib, unittest. Side effects: reads or writes files. - Inputs & outputs: In: JSON file programme-state.json. - Downstream impact: Used directly by 1 file: V11 Control Plane Validation Workflow (v11). - Signatures: `class ControlPlaneTests`; `setUpClass(cls)`; `validate(self, state=None, plan=None, caps=None, register=None)`; `test_current_surfaces_validate(self)`; `test_programme_mismatch_rejected(self)`; `test_writable_laboratory_rejected(self)`; `test_laboratory_promotion_rejected(self)`; `test_unvalidated_capability_claim_rejected(self)`; `test_active_unit_mismatch_rejected(self)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file programme-state.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### VEDIC Anatomy Workflow - File: vedic-/.github/workflows/anatomy.yml (YAML, 79 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/.github/workflows/anatomy.yml#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/1869.html#f4 - Synopsis: A GitHub Actions workflow that builds and publishes the site. Runs on push, on pull requests and by hand. - What it achieves (comment): Runs VEDIC Validate Anatomy (`tools/validate_anatomy.py`), VEDIC Validate Translation (`tools/validate_translation.py`) and VEDIC Validate Graph (`tools/validate_graph.py`); publishes to GitHub Pages. - What it does: It builds and publishes its content. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file dictionary.json; JSON file vedic-prior.json; DuckDB queries. Out: GitHub Pages deployment. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file dictionary.json; JSON file vedic-prior.json; DuckDB queries]; out [GitHub Pages deployment]; crs []; voltages [] - Edges: uses 29 estate files (workflow-run 29); used by 0; mentioned by 0 ### VEDIC Fingerprints Workflow - File: vedic-/.github/workflows/fingerprints.yml (YAML, 76 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/.github/workflows/fingerprints.yml#L1-L76 - Page: https://code.globalgrid2050.com/explore-code/s/1869.html#f5 - Synopsis: A GitHub Actions workflow. Runs on push, on pull requests and on a schedule. - What it achieves (comment): Runs Extract (`fingerprints/extract.py`), Candidates (`fingerprints/candidates.py`) and Modular Join (`fingerprints/modular_join.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: DuckDB queries. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [DuckDB queries]; out []; crs []; voltages [] - Edges: uses 8 estate files (workflow-run 8); used by 0; mentioned by 0 ### VEDIC Modular Consumer Workflow - File: vedic-/.github/workflows/modular-consumer.yml (YAML, 203 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/.github/workflows/modular-consumer.yml#L1-L203 - Page: https://code.globalgrid2050.com/explore-code/s/1870.html#f1 - Synopsis: A GitHub Actions workflow. Runs on pull requests, on a schedule and by hand. - What it achieves (comment): Runs VEDIC Daily Intelligence (`tools/daily_intelligence.py`), VEDIC Daily Operations (`tools/daily_operations.py`) and VEDIC Modular Snapshot (`tools/modular_snapshot.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file estate-crib-library.json; JSON file daily-command-queue.json; JSON file source-command-candidates.json; JSON file admitted-queue-archive.json; JSON file daily-research.json; JSON file accelerator-research.json; JSON file modular-snapshot.json; JSON file proposal.json. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file estate-crib-library.json; JSON file daily-command-queue.json; JSON file source-command-candidates.json; JSON file admitted-queue-archive.json; JSON file daily-research.json; JSON file accelerator-research.json; JSON file modular-snapshot.json; JSON file proposal.json]; out []; crs []; voltages [] - Edges: uses 8 estate files (workflow-run 8); used by 0; mentioned by 0 ### VEDIC Release Rehearsal Workflow - File: vedic-/.github/workflows/release-rehearsal.yml (YAML, 38 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/vedic-/blob/1c95ee78c2dd3f1f72c0fd5a5f6e247aaf1624e0/.github/workflows/release-rehearsal.yml#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1870.html#f2 - Synopsis: A GitHub Actions workflow. Runs on pull requests and by hand. - What it achieves (comment): Runs VEDIC Check Pages Candidate (`tools/check_pages_candidate.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Compute Receipts Workflow - File: ventus-grid-engine/.github/workflows/compute-receipts.yml (YAML, 25 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/.github/workflows/compute-receipts.yml#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1870.html#f3 - Synopsis: A GitHub Actions workflow in Ventus Grid Engine. Runs on pull requests and by hand. - What it achieves (comment): Named “Compute receipt owner verification”. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Dashboard Review Workflow - File: ventus-grid-engine/.github/workflows/dashboard-review.yml (YAML, 35 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/.github/workflows/dashboard-review.yml#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/1870.html#f4 - Synopsis: A GitHub Actions workflow in Ventus Grid Engine. Runs on push and by hand. - What it achieves (comment): Runs Verify (`verify.mjs`), Build Dashboard (`tools/build-dashboard.py`) and `tests/dashboard-browser.cjs`. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Deeplink Receiver Audit Workflow - File: ventus-grid-engine/.github/workflows/deeplink-receiver-audit.yml (YAML, 75 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/.github/workflows/deeplink-receiver-audit.yml#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1870.html#f5 - Synopsis: A GitHub Actions workflow in Ventus Grid Engine that builds and publishes the site. Runs on push, on a schedule and by hand. - What it achieves (comment): Runs Verify (`verify.mjs`), Deeplink Receiver Proof (`proofs/deeplink-receiver.proof.mjs`) and Audit Receivers (`tools/audit-receivers.mjs`). - What it does: It builds and publishes its content. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (workflow-run 3); used by 0; mentioned by 0 ### Genome Workflow - File: ventus-grid-engine/.github/workflows/genome.yml (YAML, 97 lines) · role automation · stage ingest · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/.github/workflows/genome.yml#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/1870.html#f6 - Synopsis: A GitHub Actions workflow in Ventus Grid Engine. Runs on push and by hand. - What it achieves (comment): The genome graph, kept honest and re-derivable. - What it does: It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file engine-graph.json. Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file engine-graph.json]; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Spider Features Workflow - File: ventus-grid-engine/.github/workflows/spider-features.yml (YAML, 81 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/.github/workflows/spider-features.yml#L1-L81 - Page: https://code.globalgrid2050.com/explore-code/s/1870.html#f7 - Synopsis: A GitHub Actions workflow in Ventus Grid Engine that builds and publishes the site. Runs on push, on a schedule and by hand. - What it achieves (comment): Runs Verify (`verify.mjs`), Update Manifest (`spider/update_manifest.py`) and Overview (`spider/overview.py`). - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: Out: commits pushed to the repository. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [commits pushed to the repository]; crs []; voltages [] - Edges: uses 4 estate files (workflow-run 4); used by 0; mentioned by 0 ### Verify Workflow - File: ventus-grid-engine/.github/workflows/verify.yml (YAML, 28 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/.github/workflows/verify.yml#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1870.html#f8 - Synopsis: A GitHub Actions workflow in Ventus Grid Engine that builds and publishes the site. Runs on push, on pull requests and by hand. - What it achieves (comment): Runs Verify (`verify.mjs`). - What it does: It builds and publishes its content. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Build Graph - File: ventus-grid-engine/genome/build-graph.mjs (JavaScript, 405 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/genome/build-graph.mjs#L1-L405 - Page: https://code.globalgrid2050.com/explore-code/s/1871.html#f1 - Published at: https://ventusltd.github.io/ventus-grid-engine/genome/ - Synopsis: A JavaScript module in the genome folder of Ventus Grid Engine covering maths provenance, engine graph and battery storage (BESS), using haversine and SHA-256. Served with the page at https://ventusltd.github.io/ventus-grid-engine/genome/. - What it achieves (comment): Generates `genome/engine-graph.json` from a named node/edge list, so edges are written by name (not by hand-counted array index) and a transcription error becomes a ReferenceError instead of a wrong edge. Its code works with 10.3 GW, 14 GW and 156 kVA. - What it does: Uses libraries node:fs, node:url, node:path. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: battery storage (BESS), substations. - Inputs & outputs: In: JSON file v9-maths-provenance.json. Out: JSON file engine-graph.json. - Downstream impact: Used directly by 1 file: Genome Workflow (ventus-grid-engine). It is itself an entry point, published at https://ventusltd.github.io/ventus-grid-engine/genome/. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file v9-maths-provenance.json]; out [JSON file engine-graph.json]; crs []; voltages [] - Edges: uses 40 estate files (estate-url 40); used by 1; mentioned by 0 ### Browser Observer Proof - File: ventus-grid-engine/proofs/browser-observer.proof.mjs (JavaScript, 25 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/browser-observer.proof.mjs#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1871.html#f2 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine. - What it does: Uses libraries node:assert/strict, node:vm. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Compute Observer Proof - File: ventus-grid-engine/proofs/compute-observer.proof.mjs (JavaScript, 92 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/compute-observer.proof.mjs#L1-L92 - Page: https://code.globalgrid2050.com/explore-code/s/1871.html#f3 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine that works with the Renewable Energy Planning Database (REPD) register. - What it achieves (readme): It is built from the check step (`check`) and the compute step (`compute`). The README says: `engine/compute-observer.js` provides browser-neutral computation receipts for the Test Code detector. - What it does: It calculates the REPD register. Defines check, compute. Uses libraries node:assert/strict. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. README: "`engine/compute-observer.js` provides browser-neutral computation receipts for the Test Code detector." - Signatures: `check(name, fn)`; `compute(request)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Connection Capacity Proof - File: ventus-grid-engine/proofs/connection-capacity.proof.mjs (JavaScript, 154 lines) · role energy-data · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/connection-capacity.proof.mjs#L1-L154 - Page: https://code.globalgrid2050.com/explore-code/s/1871.html#f4 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine. It is built from the check step (`check`), the near step (`near`) and the throws step (`throws`). - What it achieves (comment): Sizing an asset against a stated cap. Its code works with 30 MW and 20 MW. - What it does: It lists and searches its content. Defines check, near, throws. Side effects: starts processes. - Signatures: `check(n, c)`; `near(a, b, tol)`; `throws(fn, p)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Corridor Estimate Proof - File: ventus-grid-engine/proofs/corridor-estimate.proof.mjs (JavaScript, 103 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/corridor-estimate.proof.mjs#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/1872.html#f1 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine covering cables. It is built from the check step (`check`) and the near step (`near`). - What it achieves (comment): A straight line is not a route, and this module's whole job is to say so honestly: a calibrated multiplier where one is defensible, and a refusal everywhere it is not. - What it does: Defines check, near. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'estimate'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Signatures: `check(name, condition)`; `near(a, b, tol)` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Current from Power Proof - File: ventus-grid-engine/proofs/current-from-power.proof.mjs (JavaScript, 162 lines) · role electrical · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/current-from-power.proof.mjs#L1-L162 - Page: https://code.globalgrid2050.com/explore-code/s/1872.html#f2 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine covering 400kV, 132kV and cables. - What it achieves (comment): It is built from the check step (`check`), the near step (`near`) and the throws step (`throws`). The step that was missing between a published rating and a cable calculation. Its code works with 132 kV, 400 kV and 50 kVA. - What it does: Defines check, near, throws. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: 400kV, 132kV, cables, 400V. - Inputs & outputs: Voltage levels named: 400kV, 132kV, 400V. - Signatures: `check(name, condition)`; `near(a, b, tol)`; `throws(fn, Kind)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 132kV, 400V] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Deeplink Receiver Proof - File: ventus-grid-engine/proofs/deeplink-receiver.proof.mjs (JavaScript, 151 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/deeplink-receiver.proof.mjs#L1-L151 - Page: https://code.globalgrid2050.com/explore-code/s/1872.html#f3 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine that fetches receivers, the Renewable Energy Planning Database (REPD) register, substations and solar from the GridAtlas repository. - What it achieves (comment): It is built from the check step (`check`). A deep link is built against a receiver that carries the engine, and the query that finds every row needing one. - What it does: It fetches receivers, the REPD register, substations and solar. Defines check. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: the REPD register, substations, solar. - Inputs & outputs: In: data source: gridatlas data; JSON file receivers.json. - Downstream impact: Used directly by 1 file: Deeplink Receiver Audit Workflow (ventus-grid-engine). - Signatures: `check(name, ok, detail = '')` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file receivers.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (estate-url 2, import 1); used by 1; mentioned by 0 ### Deeplink Proof - File: ventus-grid-engine/proofs/deeplink.proof.mjs (JavaScript, 128 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/deeplink.proof.mjs#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/1872.html#f4 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine covering solar and wind, and uses data from the GridAtlas repository. It is built from the check step (`check`). - What it achieves (comment): The contract that broke a third of the register, held to itself so it cannot break the same way twice. - What it does: It lists and searches solar and wind. Defines check. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar, wind. - Signatures: `check(name, condition)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 1, estate-url 1); used by 0; mentioned by 0 ### Diversified Demand Proof - File: ventus-grid-engine/proofs/diversified-demand.proof.mjs (JavaScript, 127 lines) · role energy-data · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/diversified-demand.proof.mjs#L1-L127 - Page: https://code.globalgrid2050.com/explore-code/s/1872.html#f5 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine. It is built from the check step (`check`), the near step (`near`) and the throws step (`throws`). - What it achieves (comment): The peak of the sum is not the sum of the peaks, and the average across a window is not the peak inside it. Its code works with 14 GW, 7 kW and 210 kW. - What it does: It lists and searches its content. Defines check, near, throws. Side effects: changes the web page (DOM); starts processes. - Signatures: `check(n, c)`; `near(a, b, tol)`; `throws(fn, p)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Electrical Distance Proof - File: ventus-grid-engine/proofs/electrical-distance.proof.mjs (JavaScript, 148 lines) · role geodesy · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/electrical-distance.proof.mjs#L1-L148 - Page: https://code.globalgrid2050.com/explore-code/s/1873.html#f1 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine covering overhead lines (OHL) and transformers. It is built from the check step (`check`). - What it achieves (comment): How far a substation is in the network operator's own published circuits, not in kilometres. Its code works with 132 kV and 400 kV. - What it does: Defines check. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV, 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: overhead lines (OHL), transformers, 400kV, 132kV. - Inputs & outputs: Voltage levels named: 400kV, 132kV. - Signatures: `check(name, condition)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 132kV] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Electrification Demand Proof - File: ventus-grid-engine/proofs/electrification-demand.proof.mjs (JavaScript, 189 lines) · role energy-data · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/electrification-demand.proof.mjs#L1-L189 - Page: https://code.globalgrid2050.com/explore-code/s/1873.html#f2 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine. It is built from the check step (`check`), the near step (`near`) and the throws step (`throws`). - What it achieves (comment): The arithmetic of electrification, checked against the worked examples in the paper it implements, against the definitions it claims to be exact, and against the errors it exists to make impossible. Its code works with 1 GW, 109.6 GW and 120 GW. - What it does: It lists and searches its content. Defines check, near, throws. Side effects: starts processes. - Signatures: `check(name, condition)`; `near(a, b, tol)`; `throws(fn, pattern)` - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of ventus-grid-engine/proofs/electrification-model.proof.mjs) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 1 ### Electrification Model Proof - File: ventus-grid-engine/proofs/electrification-model.proof.mjs (JavaScript, 219 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/electrification-model.proof.mjs#L1-L219 - Page: https://code.globalgrid2050.com/explore-code/s/1873.html#f3 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine. It is built from the check step (`check`), the near step (`near`) and the throws step (`throws`). - What it achieves (comment): The module exists because a published report had to be corrected for conflating a heat pump's thermal output with its electrical input, and both were written in kilowatts. Its code works with 3.5 kW, 1.7 kW and 100 GW. - What it does: Defines check, near, throws. Side effects: starts processes. - Signatures: `check(name, condition)`; `near(a, b, tol)`; `throws(fn, Kind)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Firm Capacity Proof - File: ventus-grid-engine/proofs/firm-capacity.proof.mjs (JavaScript, 139 lines) · role energy-data · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/firm-capacity.proof.mjs#L1-L139 - Page: https://code.globalgrid2050.com/explore-code/s/1873.html#f4 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine covering transformers and substations. - What it achieves (comment): It is built from the check step (`check`), the near step (`near`) and the throws step (`throws`). The N-1 arithmetic, and the boundary between what it may say and what it may not. Its code works with 30 MVA, 42 MVA and 100 MW. - What it does: It lists and searches transformers and substations. Defines check, near, throws. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: transformers, substations. - Signatures: `check(name, condition)`; `near(a, b, tol)`; `throws(fn, pattern)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Power Factor Proof - File: ventus-grid-engine/proofs/power-factor.proof.mjs (JavaScript, 143 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/power-factor.proof.mjs#L1-L143 - Page: https://code.globalgrid2050.com/explore-code/s/1874.html#f1 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine. It is built from the check step (`check`), the near step (`near`) and the throws step (`throws`). - What it achieves (comment): The cheapest capacity anybody ever buys, checked. Its code works with 156.1 kVA. - What it does: It lists and searches its content. Defines check, near, throws. Side effects: starts processes. - Signatures: `check(n, c)`; `near(a, b, tol)`; `throws(fn, p)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Published Fault Level Proof - File: ventus-grid-engine/proofs/published-fault-level.proof.mjs (JavaScript, 209 lines) · role electrical · stage unknown - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/published-fault-level.proof.mjs#L1-L209 - Page: https://code.globalgrid2050.com/explore-code/s/1874.html#f2 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine covering 132kV, using SHA-256 and uses data from National Energy System Operator (NESO) data portal. - What it achieves (comment): It is built from the check step (`check`) and the clone step (`clone`). A fault-level figure on an open map is allowed to be exactly one thing: what a publisher said, on a date, under a stated basis, by exact metric name. Its code works with 132 kV and 14.52 kA. - What it does: It lists and searches 132kV. Defines check, clone. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 132kV. - Inputs & outputs: Voltage levels named: 132kV. - Downstream impact: Used directly by 1 file: Papers — Published Fault Level Page (globalgrid2050, https://globalgrid2050.com/papers/202609060045-published-fault-level/). Reached from 48 other entry points, including Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/); Grid Engine — Connection Cap Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060212-connection-cap/); Grid Engine — Corridor Estimate Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060237-corridor-estimate/). - Signatures: `check(name, condition)`; `clone()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [132kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Rating Envelope Proof - File: ventus-grid-engine/proofs/rating-envelope.proof.mjs (JavaScript, 156 lines) · role electrical · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/rating-envelope.proof.mjs#L1-L156 - Page: https://code.globalgrid2050.com/explore-code/s/1874.html#f3 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine covering overhead lines (OHL) and transformers. It is built from the check step (`check`). - What it achieves (comment): What a circuit is published to carry, season by season, and a structural refusal to add those numbers up. Its code works with 132 kV and 400 kV. - What it does: Defines check. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV, 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: overhead lines (OHL), transformers, 400kV, 132kV. - Inputs & outputs: Voltage levels named: 400kV, 132kV. - Signatures: `check(name, condition)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 132kV] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Receiver Focus Param Proof - File: ventus-grid-engine/proofs/receiver-focus-param.proof.mjs (JavaScript, 83 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/receiver-focus-param.proof.mjs#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/1874.html#f4 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine that reads engine graph. It is built from the check step (`check`). - What it achieves (comment): ?focus= centres the graph on one module. - What it does: It loads engine graph. Defines check. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file engine-graph.json. - Signatures: `check(name, ok, detail = '')`; `canonical(graph.nodes || [])` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file engine-graph.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Site Tile Proof - File: ventus-grid-engine/proofs/site-tile.proof.mjs (JavaScript, 130 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/site-tile.proof.mjs#L1-L130 - Page: https://code.globalgrid2050.com/explore-code/s/1875.html#f1 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine. It is built from the check step (`check`). - What it achieves (comment): Wireframe rule R5, the site tile: stream the measured ground where you arrive, never download in bulk. - What it does: Defines check. Side effects: starts processes. - Signatures: `check(name, condition)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### V9 Engine Proof - File: ventus-grid-engine/proofs/v9-engine.proof.mjs (JavaScript, 188 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/proofs/v9-engine.proof.mjs#L1-L188 - Page: https://code.globalgrid2050.com/explore-code/s/1875.html#f2 - Synopsis: A JavaScript module in the proofs folder of Ventus Grid Engine covering substations, 33kV and 400kV, using haversine. - What it achieves (comment): It is built from the check step (`check`) and the near step (`near`). The V9 geodesy and nearest-search, held to the two. Its code works with 33 kV and 400 kV. - What it does: Defines check, near, EARTH_RADIUS_KM_FROM_V8. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: substations, 33kV, 400kV. - Inputs & outputs: Voltage levels named: 400kV, 33kV. - Signatures: `check(name, condition)`; `near(a, b, tol)`; `EARTH_RADIUS_KM_FROM_V8()` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 33kV] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Wider Fleet Build Payload Excerpt - File: ventus-grid-engine/sources/deeplink-extracts/emitter/wider-fleet-build_payload.excerpt.py (Python, 25 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/sources/deeplink-extracts/emitter/wider-fleet-build_payload.excerpt.py#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1875.html#f3 - Synopsis: A Python module in the emitter folder of Ventus Grid Engine. - What it achieves (comment): `head_sha` (PipelineNews): lines: 155-172 (the 'row["t"]' technology-bucket field the wider-fleet emitter above reads as its 'technology' query parameter). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Audit Receivers - File: ventus-grid-engine/tools/audit-receivers.mjs (JavaScript, 94 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/tools/audit-receivers.mjs#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/1875.html#f4 - Synopsis: A JavaScript module in the tools folder of Ventus Grid Engine that reads PipelineNews rows, projects and receiver audit. It is built from the arg step (`arg`). - What it achieves (comment): Run the query over real project rows and report. - What it does: It loads PipelineNews rows, projects and receiver audit. Defines arg. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files. - Inputs & outputs: In: JSON file pipelinenews-rows.json; JSON file projects.json; command-line arguments. Out: JSON file receiver-audit.json. - Downstream impact: Used directly by 1 file: Deeplink Receiver Audit Workflow (ventus-grid-engine). - Signatures: `arg(flag)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file pipelinenews-rows.json; JSON file projects.json; command-line arguments]; out [JSON file receiver-audit.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Build Browser Observer - File: ventus-grid-engine/tools/build-browser-observer.mjs (JavaScript, 19 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/tools/build-browser-observer.mjs#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/1875.html#f5 - Synopsis: A JavaScript module in the tools folder of Ventus Grid Engine. It builds browser observer (`buildBrowserObserver`) and is built from the read step (`read`). - What it achieves (comment): Deterministic browser bundle of the owned receipt and presentation code. - What it does: It loads data. Defines buildBrowserObserver, read. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Browser Observer Proof (ventus-grid-engine). - Signatures: `export buildBrowserObserver()`; `read(name)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Geometry Audit Workflow - File: wire-frame-scanner/.github/workflows/geometry-audit.yml (YAML, 38 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/wire-frame-scanner/blob/43b27be73afab3c2563701b9534bfc30959804ee/.github/workflows/geometry-audit.yml#L1-L38 - Page: https://code.globalgrid2050.com/explore-code/s/1875.html#f6 - Synopsis: A GitHub Actions workflow in Wire Frame Scanner. Runs on push, on a schedule and by hand. - What it achieves (comment): Runs Geometry Audit (`audit/geometry_audit.py`). - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (workflow-run 1); used by 0; mentioned by 0 ### Scanner Workflow - File: wire-frame-scanner/.github/workflows/scanner.yml (YAML, 22 lines) · role automation · stage output · entry point - Source: https://github.com/Ventusltd/wire-frame-scanner/blob/43b27be73afab3c2563701b9534bfc30959804ee/.github/workflows/scanner.yml#L1-L22 - Page: https://code.globalgrid2050.com/explore-code/s/1875.html#f7 - Synopsis: A GitHub Actions workflow in Wire Frame Scanner. Runs on push, on pull requests and by hand. - What it does: It runs automated jobs on GitHub Actions. Side effects: starts processes. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Test Fictional - File: wire-frame-scanner/tests/test_fictional.py (Python, 98 lines) · role test · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/wire-frame-scanner/blob/43b27be73afab3c2563701b9534bfc30959804ee/tests/test_fictional.py#L1-L98 - Page: https://code.globalgrid2050.com/explore-code/s/1875.html#f8 - Synopsis: A test in the tests folder of Wire Frame Scanner that checks Fictional. - What it achieves (comment): It is built from the check step (`check`), the seglen step (`seglen`) and the all tagged helper (`all_tagged`). Exact geometry of the fictional parametric design proposals (`scanner/fictional.py`). - What it does: It tests its inputs. Defines check, seglen, all_tagged. Uses libraries math, os, sys, numpy. Side effects: starts processes. - Signatures: `check(name, ok)`; `seglen(s)`; `all_tagged(obj)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Fictional Loop - File: wire-frame-scanner/tests/test_fictional_loop.py (Python, 80 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/wire-frame-scanner/blob/43b27be73afab3c2563701b9534bfc30959804ee/tests/test_fictional_loop.py#L1-L80 - Page: https://code.globalgrid2050.com/explore-code/s/1875.html#f9 - Synopsis: A test in the tests folder of Wire Frame Scanner that checks Wire Frame Scanner — Scanner and Vlidar. - What it achieves (comment): It is built from the ground step (`ground`), the build step (`build`) and the cdiff step (`cdiff`). Closed loop on fictional designs: fictional.solar_block -> virtual LiDAR -> scanner core -> compare with DESIGN. - What it does: It tests its inputs. Defines ground, build, cdiff, run. Uses libraries math, os, sys, numpy. Side effects: starts processes. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `ground(xp, x, y)`; `build(mw, pitch, tilt, az)`; `cdiff(a, b)`; `run()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Test Known Answer - File: wire-frame-scanner/tests/test_known_answer.py (Python, 79 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/wire-frame-scanner/blob/43b27be73afab3c2563701b9534bfc30959804ee/tests/test_known_answer.py#L1-L79 - Page: https://code.globalgrid2050.com/explore-code/s/1876.html#f1 - Synopsis: A test in the tests folder of Wire Frame Scanner that checks Wire Frame Scanner — Scanner. - What it achieves (comment): It is built from the farm step (`farm`), the measure step (`measure`) and the ang diff helper (`ang_diff`). Known-answer tests: synthetic 'farms' with EXACTLY known row direction and pitch. - What it does: It tests its inputs. Defines farm, measure, ang_diff, run. Uses libraries math, os, sys, json, numpy. Side effects: starts processes. - Why it exists in the grid workflow: README: "tests/test_known_answer.py: passes 12/12 on both engines, and the two engines agree exactly." - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `farm(xp, bearing_deg, pitch_m, depth_m, w, h, noise=0.0, seed=0)`; `measure(xp, mask)`; `ang_diff(a, b)`; `run(xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Pylon - File: wire-frame-scanner/tests/test_pylon.py (Python, 82 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/wire-frame-scanner/blob/43b27be73afab3c2563701b9534bfc30959804ee/tests/test_pylon.py#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/1876.html#f2 - Synopsis: A test in the tests folder of Wire Frame Scanner that checks Pylon. It is built from the check step (`check`) and the on leg helper (`on_leg`). - What it achieves (comment): Lattice pylon skeleton: geometry and determinism checks, then renders `test-output/pylon.png`. - What it does: It tests its inputs. Defines check, on_leg. Uses libraries os, sys, numpy, matplotlib, matplotlib.pyplot. Side effects: reads or writes files; starts processes. - Inputs & outputs: Out: figure image. - Signatures: `check(name, ok, detail='')`; `on_leg(p, d)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [figure image]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Structures - File: wire-frame-scanner/tests/test_structures.py (Python, 56 lines) · role test · stage ingest · entry point - Source: https://github.com/Ventusltd/wire-frame-scanner/blob/43b27be73afab3c2563701b9534bfc30959804ee/tests/test_structures.py#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1876.html#f3 - Synopsis: A test in the tests folder of Wire Frame Scanner that checks Structures. It is built from the check step (`check`). - What it achieves (comment): Tower skeleton: PCHIP profile through measured pins, floor rings, helical diagrid on the rings. - What it does: It tests its inputs. Defines check. Uses libraries math, os, sys, numpy. Side effects: reads or writes files; starts processes. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `check(name, ok, detail='')` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Test Vlidar Loop - File: wire-frame-scanner/tests/test_vlidar_loop.py (Python, 50 lines) · role test · stage unknown · entry point - Source: https://github.com/Ventusltd/wire-frame-scanner/blob/43b27be73afab3c2563701b9534bfc30959804ee/tests/test_vlidar_loop.py#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/1876.html#f4 - Synopsis: A test in the tests folder of Wire Frame Scanner that checks Wire Frame Scanner — Scanner and Vlidar. - What it achieves (comment): It is built from the ground step (`ground`) and the run step (`run`). Closed loop: model -> virtual LiDAR -> scanner -> model. - What it does: It tests LiDAR terrain. Defines ground, run. Uses libraries math, os, sys, numpy. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: LiDAR terrain. - Downstream impact: It is itself an entry point (test); no other file was found loading it. - Signatures: `ground(xp, x, y)`; `run(xp)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Weekly Gates Workflow - File: worlds-/.github/workflows/weekly-gates.yml (YAML, 89 lines) · role automation · stage unknown · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/.github/workflows/weekly-gates.yml#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/1876.html#f5 - Synopsis: A GitHub Actions workflow in Worlds that builds and publishes the site. Runs on a schedule and by hand. - What it achieves (comment): Named “Weekly, hosted - the gates on this repository”; runs Check No Private Paths (`scripts/check_no_private_paths.py`) and Verdict Gate (`src/verdict_gate.py`). - What it does: It builds and publishes its content. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gates'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: It is itself an entry point (workflow); no other file was found loading it. - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (workflow-run 2); used by 0; mentioned by 0 ### Check No Private Paths - File: worlds-/scripts/check_no_private_paths.py (Python, 273 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/scripts/check_no_private_paths.py#L1-L273 - Page: https://code.globalgrid2050.com/explore-code/s/1876.html#f6 - Synopsis: A Python command-line tool in the scripts folder of Worlds that works with env rules (`env_rules`). - What it achieves (comment): It is built from the tracked step (`tracked`), the scan step (`scan`) and the self test helper (`self_test`). An absolute path typed into a source file names a drive, a machine and an account. It accepts `--list`, `--self-test` and `--skip-self-test`. - What it does: It lists and searches its content. Defines 7 functions or classes, including env_rules, tracked, scan, _git, self_test. Uses libraries argparse, io, os, re, shutil. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Weekly Gates Workflow (worlds-). - Signatures: `env_rules()`; `tracked()`; `scan(files, rules, shape_rules)`; `_git(cwd, *args)`; `self_test()`; `run()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Generate - File: code-generator/generate.mjs (JavaScript, 319 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/generate.mjs#L1-L319 - Page: https://code.globalgrid2050.com/explore-code/s/1877.html#f1 - Published at: https://ventusltd.github.io/code-generator/ - Synopsis: A JavaScript module in Code Generator that draws blocks, reactions and parts, and uses data from the stars repository. Served with the page at https://ventusltd.github.io/code-generator/. - What it achieves (comment): It gets JSON (`getJson`), loads kind (`loadKind`) and applies inputs (`applyInputs`). Build an app from blocks of the periodic table (or from numbered families). It writes `spider/graphs/apps.json`. It responds to error and unhandledrejection events. - What it does: It draws blocks, reactions and parts. Defines 17 functions or classes, including arg, getJson, rawUrl, ghUrl, family. Uses libraries node:fs, node:path. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: data source: stars data; JSON file blocks.json; JSON file index.json; JSON file reactions.json; JSON file graph.json; JSON file parts.json; JSON file apps.json; form fields (user input). Out: JSON file parts.json; JSON file apps.json. - Downstream impact: Used directly by 1 file: Generate Workflow (code-generator). It is itself an entry point, published at https://ventusltd.github.io/code-generator/. - Signatures: `arg(k, d)`; `getJson(u)`; `rawUrl(p)`; `ghUrl(p)`; `family(n)`; `decisionUrl(d)`; `lines(await r.text())`; `definers(nm)`; `place(p, trail = [])`; `loadKind(f)`; `fileAt(w)`; `esc(s)`; `$(s)`; `note(file, cls, text)`; `applyInputs()`; `loadOne(f)`; `loadLib(url)`; `open(a.inputs || (a.needs || []).map(n => n.name || n))`; `q(s)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; JSON file blocks.json; JSON file index.json; JSON file reactions.json; JSON file graph.json; JSON file parts.json; JSON file apps.json; form fields (user input)]; out [JSON file parts.json; JSON file apps.json]; crs []; voltages [] - Edges: uses 4 estate files (estate-url 3, import 1); used by 1; mentioned by 0 ### Code Generator — Index Page - File: code-generator/index.html (HTML, 166 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/index.html#L1-L166 - Page: https://code.globalgrid2050.com/explore-code/s/1877.html#f2 - Published at: https://ventusltd.github.io/code-generator/ - Synopsis: A web page that draws reactions and presets, and uses data from the Stars repository. Published at https://ventusltd.github.io/code-generator/. - What it achieves (name): It is built from the fill blocks helper (`fillBlocks`), the add step (`add`) and the render step (`render`). Defines `esc`, `cat`, `fillBlocks` and 5 more. - What it does: It draws reactions and presets. Defines 9 functions or classes, including $, esc, cat, fillBlocks, add. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: data source: stars data; JSON file reactions.json; JSON file blocks.json; JSON file presets.json; form fields (user input). Out: web page. - Downstream impact: Used directly by 15 files: Pilot (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/); Pilot (globalgrid2050); Pilot (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170036-estate/); Pilot (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/); and 11 more. Reached from 375 other entry points, including 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html); Galaxies Wafers — App (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/); Galaxies Wafers — Index Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/). It is itself an entry point, published at https://ventusltd.github.io/code-generator/. - Signatures: `$(s)`; `esc(s)`; `cat(id)`; `fillBlocks()`; `add(sym)`; `render()`; `chemistry()`; `build()`; `name($(')`; `definers(nm)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; JSON file reactions.json; JSON file blocks.json; JSON file presets.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (import 1, link 1, estate-url 1); used by 15; mentioned by 0 ### Rules - File: code-generator/rules.mjs (JavaScript, 73 lines) · role storage · stage ingest · entry point - Source: https://github.com/Ventusltd/code-generator/blob/3897d83efcd0259d21dce87704b0c33118fe2c2e/rules.mjs#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/1877.html#f3 - Published at: https://ventusltd.github.io/code-generator/ - Synopsis: A JavaScript module in Code Generator that strips comments (`stripComments`). Served with the page at https://ventusltd.github.io/code-generator/. - What it achieves (comment): It is built from the classify step (`classify`), the infer type helper (`inferType`) and the blank step (`blank`). Rules shared by the generator (Node) and the picker (browser): what a "need" is, and what to do about it. - What it does: It maps its content. Defines classify, inferType, blank, stripComments, usageIn. Side effects: makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: README: "`rules.mjs` holds the sorting of needs that the generator and the picker share" - Inputs & outputs: In: browser IndexedDB; DuckDB queries; user-supplied file (file picker). - Downstream impact: Used directly by 2 files: Generate (code-generator, https://ventusltd.github.io/code-generator/); Code Generator — Index Page (code-generator, https://ventusltd.github.io/code-generator/). Reached from 385 other entry points, including 404 (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/404.html); Galaxies Wafers — App (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/); Galaxies Wafers — Index Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/). It is itself an entry point, published at https://ventusltd.github.io/code-generator/. - Signatures: `export classify(name, { definers = [], usage = null } = {})`; `export inferType(name, how)`; `export stripComments(text, isPython)`; `export usageIn(name, text, isPython)`; `blank(m)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [browser IndexedDB; DuckDB queries; user-supplied file (file picker)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Compass - File: compass/src/compass.mjs (JavaScript, 68 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/compass/blob/e200c888acbcc7af59d7cc38b29806e90b0a50db/src/compass.mjs#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/1877.html#f4 - Synopsis: A JavaScript module that simulates step (`simulateStep`). It simulates step (`simulateStep`) and is built from the valid step (`valid`) and the mode of helper (`modeOf`). - What it achieves (comment): New adapter; all historical source modules remain byte-identical. - What it does: It calculates its inputs. Defines 8 functions or classes, including valid, modeOf, ambiguous, evaluate, simulateStep. - Why it exists in the grid workflow: Domain stage field_execution (path word 'compass'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Downstream impact: Used directly by 1 file: Compass Test (compass). Reached from 1 other entry point, including Verify Workflow (compass). - Signatures: `export evaluate({mode,fix,target,nowMs})`; `export simulateStep({longitude,latitude,distanceM,bearingDeg,timestampMs,accuracyM=0})`; `export evaluateBatch(requests)`; `export tracking(geometry)`; `export overlay(coordinates)`; `valid(p)`; `modeOf(mode)`; `ambiguous(from,to)`; `delta((to[0]-from[0])%360+360)` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### CVAA Inoculate - File: cvaa/inoculate.mjs (JavaScript, 502 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cvaa/blob/dc04524c4df79e90642b8b7c00729e67cdf52855/inoculate.mjs#L1-L502 - Page: https://code.globalgrid2050.com/explore-code/s/1878.html#f1 - Synopsis: A JavaScript module that fetches GPU reuse and entangle, using SHA-256. It builds context (`buildContext`), posts flag (`postFlag`) and runs antibody (`runAntibody`). - What it achieves (name): Defines `frontMatter`, `sha256`, `buildContext` and 15 more. It reads `cvaa.json`. - What it does: It fetches GPU reuse and entangle. Defines 23 functions or classes, including frontMatter, sha256, buildContext, exists, read. Uses libraries node:fs, node:path, node:url, node:child_process, node:crypto. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage agent_infra (repository name word 'cvaa'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). - Inputs & outputs: In: JSON file gpu-reuse.json; JSON file current.json; JSON file cvaa.json; JSON file keys.json; JSON file entangle.json; JSON file route-gridatlas.json; JSON file routes.json; JSON file engine-route.json. - Downstream impact: Used directly by 3 files: CVAA Selftest Workflow (cvaa); CVAA Fleet (cvaa); CVAA Replay (cvaa). - Signatures: `frontMatter(text)`; `sha256(s)`; `buildContext(root)`; `exists(p)`; `read(p)`; `list(p)`; `size(p)`; `sh(cmd)`; `j(p)`; `walk(dir)`; `kyEdition(page.match(/const KY_EDITION = '(\d{12})'/) || [])`; `first(sh(`git log --format=%H --reverse -S"url=${stamp}/" -- ${EDS}/index.html`) || '')`; `hit(tok)`; `commits(sh("git log --format=%H%x09%an%x09%aI%x09%s -200") || "")`; `snapshot(function walk(dir, prefix = '') { for (const f of readdirSync(dir)) { if (f === '.git' || f === 'node_modules') conti...)`; `runAntibody(v)`; `headSha(() => { try { return execSync('git rev-parse HEAD', { cwd: target, stdio: 'pipe' }).toString().trim(); } catch { retu...)` - domain_stage: agent_infra · commercial_user: ai_agent · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file gpu-reuse.json; JSON file current.json; JSON file cvaa.json; JSON file keys.json; JSON file entangle.json; JSON file route-gridatlas.json; JSON file routes.json; JSON file engine-route.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 1 ### Log - File: cyber-resilience/assets/log.css (CSS, 11 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cyber-resilience/blob/cb43f0b5ec7c2374b438c528facdfe6defdadc08/assets/log.css#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/1878.html#f2 - Synopsis: A style sheet in the assets folder of Cyber Resilience. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 3 files: 2026 11 13 Concentration Risk (cyber-resilience); 2026 11 14 Cloud Sovereignty Recognition (cyber-resilience); Cyber Resilience — Index Page (cyber-resilience). Reached from 4 other entry points, including Build Homepage Release Candidate Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### 2026 11 13 Concentration Risk - File: cyber-resilience/entries/2026-11-13-concentration-risk.html (HTML, 37 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cyber-resilience/blob/cb43f0b5ec7c2374b438c528facdfe6defdadc08/entries/2026-11-13-concentration-risk.html#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/1878.html#f3 - Synopsis: A web page in the entries folder of Cyber Resilience. - What it achieves (comment): 13 November 2026: fact-checked research on Google Cloud, Binance and Microsoft incidents and reducing single-provider dependencies. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "Complete fact-check and sources remain in `research/2026-11-13-concentration-risk.md`." - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 2 files: 2026 11 14 Cloud Sovereignty Recognition (cyber-resilience); Cyber Resilience — Index Page (cyber-resilience). Reached from 4 other entry points, including Build Homepage Release Candidate Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, link 1); used by 2; mentioned by 0 ### 2026 11 14 Cloud Sovereignty Recognition - File: cyber-resilience/entries/2026-11-14-cloud-sovereignty-recognition.html (HTML, 20 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cyber-resilience/blob/cb43f0b5ec7c2374b438c528facdfe6defdadc08/entries/2026-11-14-cloud-sovereignty-recognition.html#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1878.html#f4 - Synopsis: A web page in the entries folder of Cyber Resilience. - What it achieves (comment): 14 November 2026: external reading on UK recognition under the EU. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "14 November 2026, external reading: https://ventusltd.github.io/cyber-resilience/entries/2026-11-14-cloud-sovereignty-recognition.html (links to the Compare the Cloud article on UK recognition under the EU cloud sovereignty levels)" - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Cyber Resilience — Index Page (cyber-resilience). Reached from 5 other entry points, including Build Homepage Release Candidate Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 2, stylesheet 1); used by 1; mentioned by 0 ### Cyber Resilience — Index Page - File: cyber-resilience/index.html (HTML, 27 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/cyber-resilience/blob/cb43f0b5ec7c2374b438c528facdfe6defdadc08/index.html#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1878.html#f5 - Synopsis: A web page. - What it achieves (comment): GlobalGrid2050 Cyber Resilience Log: a dated public record of cloud failures, concentration risk and independent recovery. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "The static, dated log is published from `index.html` when GitHub Pages is enabled on `main` at `/(root)`:" - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 3 files: Test Cyber Resilience Entry (globalgrid2050-homepage); 2026 11 13 Concentration Risk (cyber-resilience); 2026 11 14 Cloud Sovereignty Recognition (cyber-resilience). Reached from 3 other entry points, including Build Homepage Release Candidate Workflow (globalgrid2050-homepage); PR Checks Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 2, stylesheet 1); used by 3; mentioned by 0 ### Data Centres GB — App - File: data-centres-gb/app.py (Python, 116 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/data-centres-gb/blob/12c24a653e9d4eb3507857fd6e6d169b2dd1ff63/app.py#L1-L116 - Page: https://code.globalgrid2050.com/explore-code/s/1879.html#f1 - Synopsis: A Python module that reads OSM centres. It is built from the root step (`root`), the health step (`health`) and the sources step (`sources`). - What it achieves (name): Defines `utc_now`, `available_exports`, `load_export` and 4 more. - What it does: It loads OSM centres. Defines 7 functions or classes, including utc_now, available_exports, load_export, root, health. Uses libraries __future__, json, re, datetime, pathlib. Side effects: reads or writes files. - Downstream impact: Used directly by 41 files: CI Workflow (data-centres-gb); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Data Centres GB — Index Page (data-centres-gb); Homepage Versions — GlobalGrid2050 Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/202608291526-globalgrid2050/); and 37 more. Reached from 85 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). - Signatures: `utc_now()`; `available_exports()`; `load_export(generation: str | None)`; `root()`; `health()`; `sources()`; `data_centres(generation: str | None = Query(default=None, description="12-digit immutable generation"))` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 41; mentioned by 0 ### Data Centres GB — Index Page - File: data-centres-gb/index.html (HTML, 103 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/data-centres-gb/blob/12c24a653e9d4eb3507857fd6e6d169b2dd1ff63/index.html#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/1879.html#f2 - Synopsis: A web page using data from the data-federation-map-for-GlobalGrid2050-all-repos repository. - What it achieves (comment): Open data-centre and electricity-demand intelligence for Great Britain. Its code works with 125 GW and 41 GW. - What it does: It draws its content. Side effects: changes the web page (DOM). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 39 files: GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage Versions — GlobalGrid2050 Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/202608291526-globalgrid2050/); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html); Homepage V003 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v003.html); and 35 more. Reached from 85 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 39; mentioned by 0 ### Data Grid GB — Assetpipe - File: data-grid-gb/assetpipe/__init__.py (Python, 20 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/assetpipe/__init__.py#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1879.html#f3 - Synopsis: A Python module that uses SHA-256. - What it achieves (comment): Shared, standard-library-only machinery for the two asset pipelines. - Inputs & outputs: In: Excel file assetpipe.xlsx. - Downstream impact: Used directly by 7 files: Pipeline (data-grid-gb); Fetch Assets (data-grid-gb); Run Lanes (data-grid-gb); CI Verify (data-grid-gb); and 3 more. Reached from 2 other entry points, including Fetch Assets Workflow (data-grid-gb); Test Assets Workflow (data-grid-gb). - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [Excel file assetpipe.xlsx]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### Lanes - File: data-grid-gb/assetpipe/lanes.py (Python, 233 lines) · role storage · stage output - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/assetpipe/lanes.py#L1-L233 - Page: https://code.globalgrid2050.com/explore-code/s/1879.html#f4 - Synopsis: A Python module in the assetpipe folder of Data Grid GB that runs commands (`run_commands`), fetches inputs (`fetch_inputs`) and reads manifest (`read_manifest`), using SHA-256. - What it achieves (comment): It is built from the lane error class (`LaneError`), the lanes dir helper (`lanes_dir`) and the allowed step (`allowed`). Vendored lane scripts: run them, pin every file they read or write, and check the pins. - What it does: It fetches data. Defines 16 functions or classes, including LaneError, lanes_dir, load_lanes, allowed, uncommitted_inputs. Uses libraries __future__, hashlib, os, shutil, subprocess. Side effects: reads or writes files; makes network requests; starts processes. - Inputs & outputs: In: JSON file lanes.json. - Downstream impact: Used directly by 3 files: Run Lanes (data-grid-gb); Test Lanes (data-grid-gb); Reproduce (data-grid-gb). Reached from 3 other entry points, including Fetch Assets Workflow (data-grid-gb); Test Assets Workflow (data-grid-gb); Test Assets (data-grid-gb). - Signatures: `class LaneError`; `lanes_dir(domain: str, root: Path = ROOT)`; `load_lanes(domain: str, root: Path = ROOT)`; `allowed(lane: dict, include_unverified: bool)`; `uncommitted_inputs(lane: dict)`; `tracked_files(ldir: Path, lane: dict)`; `_expand(arg: str, today: str, retrieved: str, tmp: str)`; `run_commands(ldir: Path, lane: dict, commands: list, *, today: str, retrieved: str, log=print)`; `fetch_inputs(ldir: Path, lane: dict, *, opener=None, log=print)`; `inputs_present(ldir: Path, lane: dict)`; `read_manifest(domain: str, root: Path = ROOT)`; `retrieved_for(manifest: dict, lane_id: str)`; `write_manifest(domain: str, root: Path = ROOT, *, fetches: dict | None = None)`; `check_manifest(domain: str, root: Path = ROOT, *, strict_open: bool = True)`; `today_utc()`; `copy_tree(src: Path, dst: Path)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file lanes.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (python-relative 1); used by 3; mentioned by 0 ### Schema - File: data-grid-gb/assetpipe/schema.py (Python, 188 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/assetpipe/schema.py#L1-L188 - Page: https://code.globalgrid2050.com/explore-code/s/1879.html#f5 - Synopsis: A Python module in the assetpipe folder of Data Grid GB that works with postcodes. It validates datacentre (`validate_datacentre`), validates conventional (`validate_conventional`) and records feature (`record_to_feature`). - What it achieves (comment): Record schemas for the two domains, and validators that return a list of problems. - What it does: It calculates postcodes. Defines 6 functions or classes, including _is_number, _check_mw, _check_common, validate_datacentre, validate_conventional. Uses libraries __future__, math, re. - Why it exists in the grid workflow: Domain terms in the code: postcodes. - Downstream impact: Used directly by 3 files: Pipeline (data-grid-gb); CI Verify (data-grid-gb); Test Assets (data-grid-gb). Reached from 6 other entry points, including Fetch Assets Workflow (data-grid-gb); Test Assets Workflow (data-grid-gb); Fetch Assets (data-grid-gb). - Signatures: `_is_number(value)`; `_check_mw(rec: dict, key: str, problems: list)`; `_check_common(rec: dict, problems: list)`; `validate_datacentre(rec)`; `validate_conventional(rec)`; `record_to_feature(rec: dict)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Xlsx - File: data-grid-gb/assetpipe/xlsx.py (Python, 36 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/assetpipe/xlsx.py#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/1879.html#f6 - Synopsis: A Python module in the assetpipe folder of Data Grid GB that works with missing dependency (`MissingDependency`) and sheet rows (`sheet_rows`). - What it achieves (comment): It is built from the missing dependency class (`MissingDependency`) and the available step (`available`). Read a worksheet from raw .xlsx bytes (DUKES 5.11 and similar government tables). - What it does: It calculates its inputs. Defines MissingDependency, available, sheet_rows. Uses libraries __future__, io, openpyxl. - Downstream impact: Used directly by 2 files: Test Assets (data-grid-gb); Reproduce (data-grid-gb). Reached from 3 other entry points, including Fetch Assets Workflow (data-grid-gb); Test Assets Workflow (data-grid-gb); Test Lanes (data-grid-gb). - Signatures: `class MissingDependency`; `available()`; `sheet_rows(data: bytes, sheet: str)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Data Grid GB — Conventional - File: data-grid-gb/conventional/__init__.py (Python, 1 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/conventional/__init__.py#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/1879.html#f7 - Synopsis: A Python module. - What it achieves (comment): UK conventional generation: see `conventional/README.md`. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Conventional — Fetchers - File: data-grid-gb/conventional/fetchers/__init__.py (Python, 1 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/conventional/fetchers/__init__.py#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/1879.html#f8 - Synopsis: A Python module in Data Grid GB. - What it achieves (comment): One module per source; the contract is in `assetpipe/pipeline.py` (`FETCHER_CONTRACT`). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Dukes 5 11 - File: data-grid-gb/conventional/fetchers/dukes_5_11.py (Python, 28 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/conventional/fetchers/dukes_5_11.py#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1880.html#f1 - Synopsis: A Python module in the fetchers folder of Data Grid GB. It is built from the raw requests helper (`raw_requests`) and the normalise step (`normalise`). - What it achieves (comment): DUKES Table 5.11: Power stations in the United Kingdom (DESNZ, OGL v3.0). - What it does: It calculates its inputs. Defines raw_requests, normalise. - Inputs & outputs: In: Excel file DUKES_5.11.xlsx; Excel file DUKES_5.11-2026-05.xlsx. - Signatures: `raw_requests()`; `normalise(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [Excel file DUKES_5.11.xlsx; Excel file DUKES_5.11-2026-05.xlsx]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Wri Gppd - File: data-grid-gb/conventional/fetchers/wri_gppd.py (Python, 20 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/conventional/fetchers/wri_gppd.py#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1880.html#f2 - Synopsis: A Python module in the fetchers folder of Data Grid GB. It is built from the raw requests helper (`raw_requests`) and the normalise step (`normalise`). - What it achieves (comment): WRI Global Power Plant Database, GB rows (v1.3.0). - What it does: It calculates its inputs. Defines raw_requests, normalise. - Signatures: `raw_requests()`; `normalise(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Connection Points - File: data-grid-gb/derived/verify_connection_points.py (Python, 239 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/derived/verify_connection_points.py#L1-L239 - Page: https://code.globalgrid2050.com/explore-code/s/1880.html#f3 - Synopsis: A Python command-line tool in the derived folder of Data Grid GB that reads GB transmission network and transformers. It is built from the check step (`check`). - What it achieves (comment): Verify both products before anything is allowed to consume them. Its code works with 132 kV and 400 kV. - What it does: It loads GB transmission network and transformers. Defines check, main. Uses libraries io, json, os, sys, collections. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV, 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: transformers, 400kV, 132kV. - Inputs & outputs: In: JSON file gb-transmission-network.v1.json; JSON file connection-points.v3.json. Voltage levels named: 400kV, 132kV. - Downstream impact: Used directly by 1 file: Refresh Network Products Workflow (data-grid-gb). - Signatures: `check(label, condition)`; `main()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file gb-transmission-network.v1.json; JSON file connection-points.v3.json]; out []; crs []; voltages [400kV, 132kV] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Verify Phase0 Acceptance - File: data-grid-gb/derived/verify_phase0_acceptance.py (Python, 661 lines) · role electrical · stage ingest · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/derived/verify_phase0_acceptance.py#L1-L661 - Page: https://code.globalgrid2050.com/explore-code/s/1880.html#f4 - Synopsis: A Python command-line tool in the derived folder of Data Grid GB that reads GB transmission network, connection points, transformers and 132kV, using SHA-256 and haversine. - What it achieves (comment): It loads JSON (`load_json`), replays road results (`replay_road_results`) and builds evidence (`build_evidence`). Independent Phase-0 acceptance oracle for the Electricity Ten Year Statement (ETYS) network products. Its code works with 132 kV. It accepts `--comparison-ref`, `--road-routes` and `--output`. - What it does: It loads GB transmission network, connection points, transformers and 132kV. Defines 15 functions or classes, including load_json, sha256, legacy_normalise, collision_summary, haversine. Uses libraries argparse, hashlib, io, json, math. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: transformers, 132kV, 400kV, 275kV, 66kV, 33kV. - Inputs & outputs: In: JSON file gb-transmission-network.v1.json; JSON file connection-points.v3.json; command-line arguments. Voltage levels named: 400kV, 275kV, 132kV, 66kV, 33kV, 11kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `load_json(path)`; `sha256(path)`; `legacy_normalise(name)`; `collision_summary(rows, normaliser)`; `haversine(location_a, location_b)`; `scalar_metrics(rows, factor=FIXED_CORRIDOR_FACTOR)`; `cable_evidence(network, points)`; `summarise(sample)`; `coverage_evidence(points)`; `transformer_evidence(network, points)`; `points_from_git(ref)`; `location_delta(current, comparison)`; `replay_road_results(path)`; `build_evidence(args)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file gb-transmission-network.v1.json; JSON file connection-points.v3.json; command-line arguments]; out []; crs []; voltages [400kV, 275kV, 132kV, 66kV, 33kV, 11kV] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Reproduce - File: data-grid-gb/reproduce.py (Python, 245 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/data-grid-gb/blob/4a9cef6c7c791f76d416c8b2fbafac8265f7a263/reproduce.py#L1-L245 - Page: https://code.globalgrid2050.com/explore-code/s/1881.html#f2 - Synopsis: A Python command-line tool in Data Grid GB that reads sources, using SHA-256. It checks domain (`check_domain`) and checks lanes (`check_lanes`). - What it achieves (comment): Recompute the asset pipelines' published files and numbers from the committed raw snapshots. It accepts `--root`, `--json` and `--expect`. - What it does: It loads sources. Defines 8 functions or classes, including sha256_bytes, summary_digest, mw_block, headline, check_domain. Uses libraries __future__, argparse, hashlib, json, os. Side effects: reads or writes files. - Inputs & outputs: In: JSON file sources.json; command-line arguments. - Downstream impact: Used directly by 4 files: Fetch Assets Workflow (data-grid-gb); Test Assets Workflow (data-grid-gb); Test Assets (data-grid-gb); Test Lanes (data-grid-gb). - Signatures: `sha256_bytes(data: bytes)`; `summary_digest(summary: dict)`; `mw_block(values)`; `headline(domain: str, features: list)`; `check_domain(root: Path, domain: str, mismatches: list)`; `check_lanes(root: Path, domain: str, mismatches: list)`; `cmd_check(args)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file sources.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 5 estate files (import 4, script-call 1); used by 4; mentioned by 0 ### GlobalGrid2050 — Layouts Page - File: globalgrid2050/_layouts/default.html (HTML, 23 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/_layouts/default.html#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1881.html#f3 - Published at: https://globalgrid2050.com/_layouts/default.html - Synopsis: A web page that uses SHA-256. Published at https://globalgrid2050.com/_layouts/default.html. - What it does: It draws its content. Uses libraries {{ . Side effects: changes the web page (DOM). - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/_layouts/default.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Progress - File: globalgrid2050/cartridges/202609052136-terminal-progress/progress.css (CSS, 20 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052136-terminal-progress/progress.css#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1881.html#f4 - Synopsis: A style sheet in the cartridges folder of GlobalGrid2050. - What it achieves (comment): Terminal presentation adapted from wolph/python-progressbar, BSD-3-Clause. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 36 files: Homepage V058 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v058.html); Homepage V059 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v059.html); Homepage V060 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v060.html); Homepage V061 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v061.html); and 32 more. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 36; mentioned by 0 ### Progress - File: globalgrid2050/cartridges/202609052136-terminal-progress/progress.js (JavaScript, 28 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052136-terminal-progress/progress.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1881.html#f5 - Synopsis: A JavaScript file in the cartridges folder of GlobalGrid2050 that updates bar (`updateBar`). It updates bar (`updateBar`) and is built from the parts step (`parts`) and the midnight step (`midnight`). - What it achieves (comment): Terminal presentation adapted from wolph/python-progressbar, BSD-3-Clause. - What it does: It lists and searches its content. Defines parts, midnight, updateBar, calendar, minute. Side effects: changes the web page (DOM). - Downstream impact: Used directly by 36 files: Homepage V058 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v058.html); Homepage V059 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v059.html); Homepage V060 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v060.html); Homepage V061 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v061.html); and 32 more. - Signatures: `parts(t)`; `midnight(year,month,day)`; `updateBar(id,fraction,label)`; `calendar()`; `fraction(now-start)`; `minute(t)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 36; mentioned by 0 ### Ice - File: globalgrid2050/cartridges/202609052150-nasa-ice/ice.mjs (JavaScript, 11 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052150-nasa-ice/ice.mjs#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/1881.html#f6 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050. - What it achieves (name): Defines `boot`, `status` and `draw`. - What it does: It fetches data. Defines boot, status, draw. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: JSON file source.json. - Downstream impact: Used directly by 1 file: Homepage V060 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v060.html). - Signatures: `boot()`; `status()`; `draw()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file source.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Model - File: globalgrid2050/cartridges/202609052150-nasa-ice/model.mjs (JavaScript, 5 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052150-nasa-ice/model.mjs#L1-L5 - Page: https://code.globalgrid2050.com/explore-code/s/1881.html#f7 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050 that works with ice rows (`iceRows`). It is built from the ice rows helper (`iceRows`). - What it achieves (name): Defines `iceRows`. - What it does: It calculates its inputs. Defines iceRows. - Downstream impact: Used directly by 2 files: Ice (globalgrid2050); Fast Existing (globalgrid2050). Reached from 34 other entry points, including Homepage V060 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v060.html); Homepage V061 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v061.html); Homepage V062 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v062.html). - Signatures: `export iceRows(s,now)`; `fraction((now%86400000)+86400000)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Fast Existing - File: globalgrid2050/cartridges/202609052154-minute-runtime/fast-existing.mjs (JavaScript, 10 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052154-minute-runtime/fast-existing.mjs#L1-L10 - Page: https://code.globalgrid2050.com/explore-code/s/1881.html#f8 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050. - What it achieves (name): Defines `start`. - What it does: It fetches data. Defines start. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: JSON file source.json. - Downstream impact: Used directly by 33 files: Homepage V061 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v061.html); Homepage V062 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v062.html); Homepage V063 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v063.html); Homepage V064 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v064.html); and 29 more. - Signatures: `start(id,path,model,selector,unit)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file source.json]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 33; mentioned by 0 ### Runtime - File: globalgrid2050/cartridges/202609052154-minute-runtime/runtime.mjs (JavaScript, 7 lines) · role interaction · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052154-minute-runtime/runtime.mjs#L1-L7 - Page: https://code.globalgrid2050.com/explore-code/s/1881.html#f9 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050. It is built from the row step (`row`). - What it achieves (name): Defines `minute`, `animate`, `frame` and 1 more. - What it does: Defines minute, animate, frame, row. Side effects: changes the web page (DOM). - Downstream impact: Used directly by 6 files: Solar (globalgrid2050); Scenario (globalgrid2050); Solar (globalgrid2050); Fast Existing (globalgrid2050); and 2 more. Reached from 33 other entry points, including Homepage V061 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v061.html); Homepage V062 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v062.html); Homepage V063 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v063.html). - Signatures: `export minute(now)`; `export animate(root,draw)`; `export row(root,key,text,fraction)`; `frame(t)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### Terminal - File: globalgrid2050/cartridges/202609052154-minute-runtime/terminal.css (CSS, 5 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052154-minute-runtime/terminal.css#L1-L5 - Page: https://code.globalgrid2050.com/explore-code/s/1881.html#f10 - Synopsis: A style sheet in the cartridges folder of GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 33 files: Homepage V061 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v061.html); Homepage V062 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v062.html); Homepage V063 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v063.html); Homepage V064 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v064.html); and 29 more. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 33; mentioned by 0 ### Circuits - File: globalgrid2050/cartridges/202609052156-rc-rl/circuits.mjs (JavaScript, 3 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052156-rc-rl/circuits.mjs#L1-L3 - Page: https://code.globalgrid2050.com/explore-code/s/1881.html#f11 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050. - What it achieves (name): It responds to input events. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 33 files: Homepage V061 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v061.html); Homepage V062 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v062.html); Homepage V063 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v063.html); Homepage V064 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v064.html); and 29 more. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 33; mentioned by 0 ### Model - File: globalgrid2050/cartridges/202609052156-rc-rl/model.mjs (JavaScript, 1 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052156-rc-rl/model.mjs#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/1881.html#f12 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050. - What it achieves (name): Defines `response`. - What it does: It calculates its inputs. Defines response. - Signatures: `export response({R,C,L,V},t)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Pipes - File: globalgrid2050/cartridges/202609052158-terminal-pipes/pipes.mjs (JavaScript, 5 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052158-terminal-pipes/pipes.mjs#L1-L5 - Page: https://code.globalgrid2050.com/explore-code/s/1881.html#f13 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050. - What it achieves (comment): Direction glyph table adapted from `pipeseroni/pipes.sh` (MIT); see LICENSE.pipes.txt. - What it does: It draws its content. Side effects: changes the web page (DOM). - Downstream impact: Used directly by 33 files: Homepage V061 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v061.html); Homepage V062 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v062.html); Homepage V063 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v063.html); Homepage V064 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v064.html); and 29 more. - Signatures: `frame(t)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 33; mentioned by 0 ### Clock - File: globalgrid2050/cartridges/202609052159-nanosecond-clock/clock.mjs (JavaScript, 1 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/cartridges/202609052159-nanosecond-clock/clock.mjs#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/1881.html#f14 - Synopsis: A JavaScript module in the cartridges folder of GlobalGrid2050. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 33 files: Homepage V061 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v061.html); Homepage V062 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v062.html); Homepage V063 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v063.html); Homepage V064 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v064.html); and 29 more. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 33; mentioned by 0 ### Sweep Hot Cold - File: globalgrid2050/compute/enumeration/sweep_hot_cold.py (Python, 628 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/compute/enumeration/sweep_hot_cold.py#L1-L628 - Page: https://code.globalgrid2050.com/explore-code/s/1882.html#f1 - Synopsis: A Python command-line tool in the enumeration folder of GlobalGrid2050 that reads sweep results. It is built from the bifacial band helper (`bifacial_band`) and the series envelope helper (`series_envelope`). - What it achieves (name): Defines `need`, `load_classes`, `printed_rear_gains` and 2 more. It accepts `--feed`, `--out` and `--tc-lo`. - What it does: It loads sweep results. Defines 6 functions or classes, including need, load_classes, printed_rear_gains, bifacial_band, series_envelope. Uses libraries argparse, io, json, math, os. Side effects: changes the web page (DOM); reads or writes files; starts processes. - Inputs & outputs: In: JSON file sweep_results.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `need(d, *path)`; `load_classes(path)`; `printed_rear_gains(note)`; `bifacial_band(cls, th)`; `series_envelope(cls, tc)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file sweep_results.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 — Compute Page - File: globalgrid2050/compute/index.html (HTML, 222 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/compute/index.html#L1-L222 - Page: https://code.globalgrid2050.com/explore-code/s/1883.html#f1 - Published at: https://globalgrid2050.com/compute/ - Synopsis: A web page. Published at https://globalgrid2050.com/compute/. - What it achieves (comment): Independent compute and solar block modelling. Its code works with 19.80 kW, 352 MVA and 352 kVA. - What it does: It draws its content. Side effects: changes the web page (DOM). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 24 files: Kuiper Grid — I0073 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/); Kuiper Grid — I0083 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0083/); Kuiper Grid — I0084 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0084/); Kuiper Grid — I0085 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0085/); and 20 more. Reached from 85 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 — Plant Page (globalgrid2050, https://globalgrid2050.com/plant/); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/compute/. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 24; mentioned by 0 ### GB Electricity Year Selector - File: globalgrid2050/data/grid_studies_public/gb_electricity_year_selector.js (JavaScript, 27 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/data/grid_studies_public/gb_electricity_year_selector.js#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1883.html#f2 - Published at: https://globalgrid2050.com/data/grid_studies_public/ - Synopsis: A JavaScript file in the grid studies public folder of GlobalGrid2050 that restores half hourly tracker (`restoreHalfHourlyTracker`). Served with the page at https://globalgrid2050.com/data/grid_studies_public/. - What it achieves (name): It restores half hourly tracker (`restoreHalfHourlyTracker`) and is built from the latest start helper (`latestStart`). Defines `latestStart` and `restoreHalfHourlyTracker`. It responds to DOMContentLoaded events. - What it does: Defines latestStart, restoreHalfHourlyTracker. Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Great Britain Electricity Price Grid Constraint Trends 2016 2026 (globalgrid2050, https://globalgrid2050.com/data/grid_studies_public/great_britain_electricity_price_grid_constraint_trends_2016_2026.html). Reached from 66 other entry points, including Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); Data — Grid Studies Public Page (globalgrid2050, https://globalgrid2050.com/data/grid_studies_public/); GB Electricity Price Grid Constraint Evidence Charts (globalgrid2050, https://globalgrid2050.com/data/grid_studies_public/gb_electricity_price_grid_constraint_evidence_charts.html). It is itself an entry point, published at https://globalgrid2050.com/data/grid_studies_public/. - Signatures: `latestStart(period)`; `restoreHalfHourlyTracker()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Data — Grid Studies Public Page - File: globalgrid2050/data/grid_studies_public/index.html (HTML, 205 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/data/grid_studies_public/index.html#L1-L205 - Page: https://code.globalgrid2050.com/explore-code/s/1883.html#f3 - Published at: https://globalgrid2050.com/data/grid_studies_public/ - Synopsis: A web page in GlobalGrid2050 covering transformers, wind and battery storage (BESS). Published at https://globalgrid2050.com/data/grid_studies_public/. - What it does: It draws transformers, wind and battery storage (BESS). Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: transformers, wind, battery storage (BESS). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 12 files: Menu Bar (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/Si/); Substation Intelligence (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/Si/); Substation Intelligence V9 63 (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/Si/); Substation Intelligence (globalgrid2050); and 8 more. Reached from 64 other entry points, including Code Generator — Substation Finder Page (code-generator, https://ventusltd.github.io/code-generator/apps/substation-finder/); GlobalGrid2050 — PipelineNews Intelligence Page (globalgrid2050, https://globalgrid2050.com/pipelinenews_intelligence/202609050309/); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html). It is itself an entry point, published at https://globalgrid2050.com/data/grid_studies_public/. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 12; mentioned by 0 ### GlobalGrid2050 — Employers Competence Page - File: globalgrid2050/employers_competence/index.html (HTML, 284 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/employers_competence/index.html#L1-L284 - Page: https://code.globalgrid2050.com/explore-code/s/1884.html#f1 - Published at: https://globalgrid2050.com/employers_competence/ - Synopsis: A web page covering cables, solar, transformers and battery storage (BESS). Published at https://globalgrid2050.com/employers_competence/. - What it achieves (comment): A living checklist of electrical engineering evidence that competent employers should require for solar PV, BESS, EV charging and associated HV infrastructure. - What it does: It draws cables, solar, transformers and battery storage (BESS). Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: cables, solar, transformers, battery storage (BESS). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Employers Competence — Quality Assurance Page (globalgrid2050, https://globalgrid2050.com/employers_competence/quality_assurance/). It is itself an entry point, published at https://globalgrid2050.com/employers_competence/. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 1; mentioned by 0 ### Employers Competence — Quality Assurance Page - File: globalgrid2050/employers_competence/quality_assurance/index.html (HTML, 164 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/employers_competence/quality_assurance/index.html#L1-L164 - Page: https://code.globalgrid2050.com/explore-code/s/1884.html#f2 - Published at: https://globalgrid2050.com/employers_competence/quality_assurance/ - Synopsis: A web page in GlobalGrid2050. Published at https://globalgrid2050.com/employers_competence/quality_assurance/. - What it achieves (comment): Employer-side engineering quality assurance and independent supervision requirements for electrical infrastructure. - What it does: It draws its content. Side effects: changes the web page (DOM). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: GlobalGrid2050 — Employers Competence Page (globalgrid2050, https://globalgrid2050.com/employers_competence/). It is itself an entry point, published at https://globalgrid2050.com/employers_competence/quality_assurance/. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 1; mentioned by 0 ### GlobalGrid2050 — Estate Scan Page - File: globalgrid2050/estate_scan/202609021952/index.html (HTML, 255 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/estate_scan/202609021952/index.html#L1-L255 - Page: https://code.globalgrid2050.com/explore-code/s/1885.html#f1 - Published at: https://globalgrid2050.com/estate_scan/202609021952/ - Synopsis: A map page that uses SHA-256. Published at https://globalgrid2050.com/estate_scan/202609021952/. It is built from the esc step (`esc`), the pad step (`pad`) and the rpad step (`rpad`). - What it achieves (comment): Estate log: measured git, code, CI and HTTP statistics across fifteen repositories. It responds to keydown and click events. - What it does: It maps its content. Defines 15 functions or classes, including esc, pad, rpad, num, bars. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: Out: web page; interactive map. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/estate_scan/202609021952/. - Signatures: `esc(s)`; `pad(s,n)`; `rpad(s,n)`; `num(n)`; `bars(arr)`; `secs(s)`; `ageD(iso)`; `line(h='', pause=0)`; `kv(k, v, cls='v')`; `T(k)`; `CT(k)`; `LT(k)`; `ORD(r)`; `all()`; `step()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; interactive map]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/000_v2_identity/manifest.yml (YAML, 7 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/000_v2_identity/manifest.yml#L1-L7 - Page: https://code.globalgrid2050.com/explore-code/s/1885.html#f2 - Synopsis: A configuration file in the feature requests folder of GlobalGrid2050. - What it achieves (comment): Confirms the V2 heading is already present. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/001_extract_v2_css/manifest.yml (YAML, 17 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/001_extract_v2_css/manifest.yml#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/1885.html#f3 - Synopsis: A configuration file in the feature requests folder of GlobalGrid2050 covering solar and battery storage (BESS). - What it achieves (comment): Move inline CSS from the V2 GIS single-line diagram (SLD) Financial Sandbox into an external CSS file and connect it from the HTML head. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/002_extract_v2_config/manifest.yml (YAML, 39 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/002_extract_v2_config/manifest.yml#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/1885.html#f4 - Synopsis: A configuration file in the feature requests folder of GlobalGrid2050 covering grid substations, solar and battery storage (BESS). - What it achieves (comment): Moves `SUBSTATIONS_URL` and CONSTANTS into `gis-sld-v2-config.js` and loads it before the inline application script. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/002a_fix_config_load_order/manifest.yml (YAML, 21 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/002a_fix_config_load_order/manifest.yml#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1885.html#f5 - Synopsis: A configuration file in the feature requests folder of GlobalGrid2050 covering solar and battery storage (BESS). - What it achieves (comment): Removes defer from `gis-sld-v2-config.js` so CONSTANTS is available before the inline application script runs. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/003_extract_v2_helpers/manifest.yml (YAML, 39 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/003_extract_v2_helpers/manifest.yml#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/1885.html#f6 - Synopsis: A configuration file in the feature requests folder of GlobalGrid2050 covering solar and battery storage (BESS). - What it achieves (comment): Moves small DOM, formatting, validation and status helpers into `gis-sld-v2-helpers.js`. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/003a_hide_number_arrows/manifest.yml (YAML, 33 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/003a_hide_number_arrows/manifest.yml#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1885.html#f7 - Synopsis: A configuration file in the feature requests folder of GlobalGrid2050 covering solar and battery storage (BESS). - What it achieves (comment): Hides native browser number input spinner arrows in the V2 modular app while preserving typed numeric input. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/004_extract_v2_state/manifest.yml (YAML, 46 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/004_extract_v2_state/manifest.yml#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/1885.html#f8 - Synopsis: A configuration file in the feature requests folder of GlobalGrid2050 covering solar and battery storage (BESS). - What it achieves (comment): Moves the small shared V2 state object into `gis-sld-v2-state.js` without changing app logic. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/006_add_v2_development_financials/manifest.yml (YAML, 167 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/006_add_v2_development_financials/manifest.yml#L1-L167 - Page: https://code.globalgrid2050.com/explore-code/s/1885.html#f9 - Synopsis: A configuration file in the feature requests folder of GlobalGrid2050 covering solar and battery storage (BESS). - What it achieves (comment): Removes duplicated CAPEX fields, renames the Gate 2 stage, updates the main header to clarify tool purpose, and introduces user-modifiable Operating Asset Net Present Value (NPV) £ per Megawatt peak (MWp) inputs, outputs, and export fields. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/006b_clean_development_financials/manifest.yml (YAML, 197 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/006b_clean_development_financials/manifest.yml#L1-L197 - Page: https://code.globalgrid2050.com/explore-code/s/1886.html#f1 - Synopsis: A configuration file in the feature requests folder of GlobalGrid2050 covering solar and battery storage (BESS). - What it achieves (comment): Removes duplicated CAPEX fields, renames the Gate 2 stage, updates the main header to clarify tool purpose, introduces user-modifiable Operating Asset Net Present Value (NPV) £ per Megawatt peak (MWp) inputs/outputs. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/007_implement_financial_calibration_patch/manifest.yml (YAML, 375 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/007_implement_financial_calibration_patch/manifest.yml#L1-L375 - Page: https://code.globalgrid2050.com/explore-code/s/1886.html#f2 - Synopsis: A configuration file in the feature requests folder of GlobalGrid2050 covering solar and battery storage (BESS). - What it achieves (comment): Single canonical manifest combining all outstanding financial model updates, development phase terminology, NPV/Grid Cost logic, dynamic success probability, and NSIP/DCO planning warnings. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/008_polish_financial_defaults_and_layout/manifest.yml (YAML, 87 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/008_polish_financial_defaults_and_layout/manifest.yml#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/1886.html#f3 - Synopsis: A configuration file in the feature requests folder of GlobalGrid2050 covering solar and battery storage (BESS). - What it achieves (comment): Moderates default EPC, Owner, and Grid Connection costs to realistic mid-market figures and fixes the Development Stage dropdown layout. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'layout'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS). - Inputs & outputs: In: form fields (user input). - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/009_clean_v3_identity/manifest.yml (YAML, 52 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/009_clean_v3_identity/manifest.yml#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1887.html#f1 - Synopsis: A configuration file in the feature requests folder of GlobalGrid2050 covering solar, battery storage (BESS) and substations. - What it achieves (comment): Rename the V3 clone identity so the V3 entry file loads V3 local support files and displays V3 in the browser title. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), substations. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/010_v3_modularisation_plan/manifest.yml (YAML, 8 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/010_v3_modularisation_plan/manifest.yml#L1-L8 - Page: https://code.globalgrid2050.com/explore-code/s/1887.html#f2 - Synopsis: A configuration file in the feature requests folder of GlobalGrid2050. - What it achieves (comment): Add an auditable modularisation plan for breaking the V3 GIS single-line diagram (SLD) Financial Sandbox into small feature files without modifying V2. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Manifest - File: globalgrid2050/feature_requests/add_operator_manual_v1/manifest.yml (YAML, 11 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/feature_requests/add_operator_manual_v1/manifest.yml#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/1887.html#f3 - Synopsis: A configuration file in the feature requests folder of GlobalGrid2050. - What it achieves (comment): Install the root level Operator Manual V1 as reviewable operating doctrine for GlobalGrid2050 and Ventus Core. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Grid Engine — Electrification Workbench Page - File: globalgrid2050/grid_engine/202609060148-electrification-workbench/index.html (HTML, 313 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060148-electrification-workbench/index.html#L1-L313 - Page: https://code.globalgrid2050.com/explore-code/s/1887.html#f4 - Published at: https://globalgrid2050.com/grid_engine/202609060148-electrification-workbench/ - Synopsis: A web page in GlobalGrid2050 using data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060148-electrification-workbench/. It renders pathways (`renderPathways`) and renders refusals (`renderRefusals`). - What it achieves (name): Defines `fig`, `fail`, `render` and 2 more. It responds to input events. - What it does: It draws its content. Defines fig, fail, render, renderPathways, renderRefusals. Side effects: changes the web page (DOM). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060148-electrification-workbench/. - Signatures: `fig(target, r, decimals = 1)`; `fail(message)`; `render()`; `renderPathways()`; `renderRefusals()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 3; mentioned by 0 ### Grid Engine — Firm Capacity Page - File: globalgrid2050/grid_engine/202609060205-firm-capacity/index.html (HTML, 245 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060205-firm-capacity/index.html#L1-L245 - Page: https://code.globalgrid2050.com/explore-code/s/1887.html#f5 - Published at: https://globalgrid2050.com/grid_engine/202609060205-firm-capacity/ - Synopsis: A web page in GlobalGrid2050 covering transformers and substations, and uses data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060205-firm-capacity/. - What it achieves (comment): It parses units (`parseUnits`) and is built from the num step (`num`) and the fig step (`fig`). Firm Capacity Workbench — Ventus Grid Engine. Its code works with 100 MW, 105.3 MVA and 30 MVA. It responds to input events. - What it does: It draws transformers and substations. Defines 7 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: transformers, substations. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060205-firm-capacity/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `parseUnits(raw)`; `render()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 3; mentioned by 1 ### Grid Engine — Diversity Page - File: globalgrid2050/grid_engine/202609060211-diversity/index.html (HTML, 243 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060211-diversity/index.html#L1-L243 - Page: https://code.globalgrid2050.com/explore-code/s/1888.html#f1 - Published at: https://globalgrid2050.com/grid_engine/202609060211-diversity/ - Synopsis: A web page in GlobalGrid2050 covering transformers and uses data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060211-diversity/. - What it achieves (comment): It is built from the num step (`num`), the fig step (`fig`) and the refuse step (`refuse`). Diversity Workbench — Ventus Grid Engine. Its code works with 14 GW, 2.85 GW and 7 kW. It responds to input events. - What it does: It draws transformers. Defines 6 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: transformers. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060211-diversity/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `render()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 3; mentioned by 0 ### Grid Engine — Connection Cap Page - File: globalgrid2050/grid_engine/202609060212-connection-cap/index.html (HTML, 232 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060212-connection-cap/index.html#L1-L232 - Page: https://code.globalgrid2050.com/explore-code/s/1888.html#f2 - Published at: https://globalgrid2050.com/grid_engine/202609060212-connection-cap/ - Synopsis: A web page in GlobalGrid2050 using data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060212-connection-cap/. - What it achieves (comment): It parses profile (`parseProfile`) and is built from the num step (`num`) and the fig step (`fig`). Connection Cap Workbench — Ventus Grid Engine. Its code works with 12 kW. It responds to input events. - What it does: It draws its content. Defines 7 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060212-connection-cap/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `parseProfile(raw)`; `render()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 3; mentioned by 0 ### Grid Engine — Published Fault Level Page - File: globalgrid2050/grid_engine/202609060236-published-fault-level/index.html (HTML, 290 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060236-published-fault-level/index.html#L1-L290 - Page: https://code.globalgrid2050.com/explore-code/s/1889.html#f1 - Published at: https://globalgrid2050.com/grid_engine/202609060236-published-fault-level/ - Synopsis: A web page in GlobalGrid2050 that uses SHA-256 using data from National Energy System Operator (NESO) data portal and the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060236-published-fault-level/. - What it achieves (comment): It is built from the num step (`num`), the fig step (`fig`) and the refuse step (`refuse`). Published Fault Level Workbench — Ventus Grid Engine. Its code works with 400 kV. It responds to input events. - What it does: It draws its content. Defines 6 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060236-published-fault-level/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `render()` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV] - Edges: uses 3 estate files (link 3); used by 3; mentioned by 0 ### Grid Engine — Corridor Estimate Page - File: globalgrid2050/grid_engine/202609060237-corridor-estimate/index.html (HTML, 244 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060237-corridor-estimate/index.html#L1-L244 - Page: https://code.globalgrid2050.com/explore-code/s/1889.html#f2 - Published at: https://globalgrid2050.com/grid_engine/202609060237-corridor-estimate/ - Synopsis: A web page in GlobalGrid2050 covering cables and uses data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060237-corridor-estimate/. - What it achieves (comment): It is built from the num step (`num`), the fig step (`fig`) and the refuse step (`refuse`). Corridor Estimate Workbench — Ventus Grid Engine. It responds to input events. - What it does: It draws cables. Defines 6 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'estimate'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060237-corridor-estimate/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `render()` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 3; mentioned by 0 ### Grid Engine — Site Geometry Page - File: globalgrid2050/grid_engine/202609060238-site-geometry/index.html (HTML, 283 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060238-site-geometry/index.html#L1-L283 - Page: https://code.globalgrid2050.com/explore-code/s/1890.html#f1 - Published at: https://globalgrid2050.com/grid_engine/202609060238-site-geometry/ - Synopsis: A web page in GlobalGrid2050 using data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060238-site-geometry/. - What it achieves (comment): It parses poly (`parsePoly`) and is built from the num step (`num`) and the fig step (`fig`). Site Geometry Workbench — Ventus Grid Engine. It responds to input events. - What it does: It draws its content. Defines 7 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060238-site-geometry/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `parsePoly(raw)`; `render()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 3; mentioned by 1 ### Grid Engine — Power Factor Page - File: globalgrid2050/grid_engine/202609060309-power-factor/index.html (HTML, 285 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060309-power-factor/index.html#L1-L285 - Page: https://code.globalgrid2050.com/explore-code/s/1890.html#f2 - Published at: https://globalgrid2050.com/grid_engine/202609060309-power-factor/ - Synopsis: A web page in GlobalGrid2050 covering transformers and uses data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060309-power-factor/. - What it achieves (comment): It is built from the num step (`num`), the fig step (`fig`) and the refuse step (`refuse`). Power Factor Workbench — Ventus Grid Engine. It responds to input events. - What it does: It draws transformers. Defines 6 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: transformers. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060309-power-factor/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `render()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 3; mentioned by 0 ### Grid Engine — Data Centre Connection Page - File: globalgrid2050/grid_engine/202609060316-data-centre-connection/index.html (HTML, 322 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060316-data-centre-connection/index.html#L1-L322 - Page: https://code.globalgrid2050.com/explore-code/s/1891.html#f1 - Published at: https://globalgrid2050.com/grid_engine/202609060316-data-centre-connection/ - Synopsis: A web page in GlobalGrid2050 covering substations and transformers, and uses data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060316-data-centre-connection/. - What it achieves (comment): It parses units (`parseUnits`) and is built from the num step (`num`) and the fig step (`fig`). Data Centre Connection Workbench — Ventus Grid Engine. Its code works with 1.6 GW, 125 GW and 125 MW. It responds to input events. - What it does: It draws substations and transformers. Defines 7 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: substations, transformers. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060316-data-centre-connection/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `parseUnits(raw)`; `render()`; `annualTwh(diversifiedMw * 8760 * num('lf'))` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (link 5); used by 3; mentioned by 0 ### Grid Engine — EV Depot Page - File: globalgrid2050/grid_engine/202609060321-ev-depot/index.html (HTML, 332 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060321-ev-depot/index.html#L1-L332 - Page: https://code.globalgrid2050.com/explore-code/s/1891.html#f2 - Published at: https://globalgrid2050.com/grid_engine/202609060321-ev-depot/ - Synopsis: A web page in GlobalGrid2050 using data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060321-ev-depot/. - What it achieves (comment): It is built from the num step (`num`), the fig step (`fig`) and the refuse step (`refuse`). EV Depot Workbench — Ventus Grid Engine. It responds to input events. - What it does: It draws its content. Defines 6 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060321-ev-depot/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `render()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (link 5); used by 3; mentioned by 0 ### Grid Engine — Compute Against Charging Page - File: globalgrid2050/grid_engine/202609060324-compute-against-charging/index.html (HTML, 330 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060324-compute-against-charging/index.html#L1-L330 - Page: https://code.globalgrid2050.com/explore-code/s/1892.html#f1 - Published at: https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/ - Synopsis: A web page in GlobalGrid2050 covering substations and transformers, and uses data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/. - What it achieves (name): It parses units (`parseUnits`) and is built from the bind step (`bind`) and the render step (`render`). Its name says it computes against charging page. Defines `num`, `fig`, `refuse` and 4 more. Its code works with 100 kW, 144 GW and 150 kW. It responds to input events. - What it does: It draws substations and transformers. Defines 9 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: substations, transformers. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `parseUnits(raw)`; `render()`; `dcTwh(dcMw * 8760 * dcLf)`; `chTwh(chPeakMw * 8760 * num('chlf'))`; `unrestrictedMw(nCh * chKw)`; `mvaOf(mw)`; `mk(label, mva)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (link 5); used by 3; mentioned by 0 ### Grid Engine — Every Home a Charger Page - File: globalgrid2050/grid_engine/202609060325-every-home-a-charger/index.html (HTML, 403 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/202609060325-every-home-a-charger/index.html#L1-L403 - Page: https://code.globalgrid2050.com/explore-code/s/1892.html#f2 - Published at: https://globalgrid2050.com/grid_engine/202609060325-every-home-a-charger/ - Synopsis: A web page in GlobalGrid2050 covering transformers, substations and 11kV, and uses data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/202609060325-every-home-a-charger/. - What it achieves (name): It parses units (`parseUnits`) and is built from the bind step (`bind`) and the demand kW helper (`demandKw`). Defines `num`, `fig`, `refuse` and 7 more. Its code works with 11 kV, 62.5 GW and 7 kW. It responds to input events. - What it does: It draws transformers, substations and 11kV. Defines 11 functions or classes, including el, num, fig, refuse, bind. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 11kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: transformers, substations, 11kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 11kV. - Downstream impact: Used directly by 3 files: Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/202609060325-every-home-a-charger/. - Signatures: `el(id)`; `num(id)`; `fig(target, r, decimals = 1, over = false)`; `refuse(target, message)`; `bind()`; `parseUnits(raw)`; `demandKw(homes)`; `render()`; `kva(n)`; `mvaOf(kw)`; `unrestrictedGw(cars * num('chkw'))`; `pct(g)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [11kV] - Edges: uses 4 estate files (link 4); used by 3; mentioned by 0 ### GlobalGrid2050 — Grid Engine Page - File: globalgrid2050/grid_engine/index.html (HTML, 85 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/index.html#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/1893.html#f2 - Published at: https://globalgrid2050.com/grid_engine/ - Synopsis: A web page that draws iterations and uses data from the ventus-grid-engine repository. Published at https://globalgrid2050.com/grid_engine/. - What it does: It draws iterations. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: data source: ventus-grid-engine data; JSON file iterations.json. Out: web page. - Downstream impact: Used directly by 44 files: Grid Engine — Solar Battery Energy Storage System (BESS) Export Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060217-solar-bess-export/); Grid Engine — Solar Farm Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060318-solar-farm/); Grid Engine — Substation Growth Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060218-substation-growth/); Grid Engine — Interconnectors Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060305-interconnectors/); and 40 more. Reached from 2 other entry points, including Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/grid_engine/. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; JSON file iterations.json]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 44; mentioned by 0 ### Specs - File: globalgrid2050/grid_engine/specs.mjs (JavaScript, 1930 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/grid_engine/specs.mjs#L1-L1930 - Page: https://code.globalgrid2050.com/explore-code/s/1893.html#f3 - Published at: https://globalgrid2050.com/grid_engine/ - Synopsis: A JavaScript module in the grid engine folder of GlobalGrid2050 that tests substations and uses data from National Energy System Operator (NESO) data portal. Served with the page at https://globalgrid2050.com/grid_engine/. - What it achieves (comment): It parses units (`parseUnits`), parses profile (`parseProfile`) and parses crossings (`parseCrossings`). One entry per workbench iteration. Its code works with 11 kV, 62.5 GW and 7 kW. It responds to input events. - What it does: It tests substations, transformers, cables and solar. Defines 50 functions or classes, including bind, parseUnits, render, bind, render. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: substations, transformers, cables, solar, 400kV, 11kV. - Inputs & outputs: Voltage levels named: 400kV, 11kV. - Downstream impact: Used directly by 1 file: Build (globalgrid2050, https://globalgrid2050.com/grid_engine/). - Signatures: `bind()`; `parseUnits(raw)`; `render()`; `parseProfile(raw)`; `parseCrossings(raw, widthM, setbackM, depthM)`; `parse(raw)`; `parsePoly(raw)`; `annualTwh(diversifiedMw * 8760 * num('lf'))`; `dcTwh(dcMw * 8760 * dcLf)`; `chTwh(chPeakMw * 8760 * num('chlf'))`; `unrestrictedMw(nCh * chKw)`; `mvaOf(mw)`; `mk(label, mva)`; `demandKw(homes)`; `kva(n)`; `unrestrictedGw(cars * num('chkw'))`; `pct(g)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 11kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 Homepage Before Four Nests - File: globalgrid2050/homepage-before-four-nests-20260925.html (HTML, 286 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage-before-four-nests-20260925.html#L1-L286 - Page: https://code.globalgrid2050.com/explore-code/s/1896.html#f1 - Published at: https://globalgrid2050.com/homepage-before-four-nests-20260925.html - Synopsis: A web page that draws homepage catalogue, cables, solar and substations, using IEC 60909 and IEC 60228, and uses data from the GridAtlas, ventus-grid-engine and stars repositories. Published at https://globalgrid2050.com/homepage-before-four-nests-20260925.html. - What it achieves (comment): It sorts rows (`sortRows`) and is built from the esc step (`esc`) and the rows for helper (`rowsFor`). Open-source knowledge and tools for electrical energy systems. Its code works with 132 kV, 400 kV and 33 kV. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue, cables, solar and substations. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables, solar, substations, 400kV, 132kV, 33kV. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: galaxies-wafers data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). Reached from 86 other entry points, including Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html); Homepage V039 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v039.html). It is itself an entry point, published at https://globalgrid2050.com/homepage-before-four-nests-20260925.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: galaxies-wafers data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV] - Edges: uses 49 estate files (link 49); used by 1; mentioned by 0 ### Versioned Homepage - File: globalgrid2050/homepage-shell/assets/versioned-homepage.js (JavaScript, 297 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage-shell/assets/versioned-homepage.js#L1-L297 - Page: https://code.globalgrid2050.com/explore-code/s/1896.html#f2 - Synopsis: A JavaScript file in the assets folder of GlobalGrid2050 that draws active pages. It fetches JSON (`fetchJson`), validates presentation (`validatePresentation`) and validates types (`validateTypes`). - What it achieves (name): Defines `matchesQuery`, `fetchJson`, `onDemand` and 14 more. It responds to click, toggle and pointerdown events. - What it does: It draws active pages. Defines 17 functions or classes, including matchesQuery, fetchJson, onDemand, hydrate, node. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: JSON file homepage.json; JSON file active-pages.json; JSON file presentation.json; JSON file entity-types.json. - Downstream impact: Used directly by 2 files: Homepage V128 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v128.html); Homepage V130 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v130.html). - Signatures: `matchesQuery(entity, query)`; `fetchJson(url)`; `onDemand(details, populate)`; `hydrate()`; `node(tag, text, className)`; `safeUrl(value)`; `appUrl(value)`; `link(label, url, className)`; `validate(data)`; `releaseRow(release, operative)`; `validatePresentation(config, byId)`; `developmentStrip(items)`; `validateTypes(metadata, byId)`; `bounded(value, limit)`; `render(data, presentation, metadata)`; `entityNode(entity, position, open)`; `renderTable()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage.json; JSON file active-pages.json; JSON file presentation.json; JSON file entity-types.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Homepage Versions — GlobalGrid2050 Page - File: globalgrid2050/homepage_versions/202608291526-globalgrid2050/index.html (HTML, 171 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/202608291526-globalgrid2050/index.html#L1-L171 - Page: https://code.globalgrid2050.com/explore-code/s/1897.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/202608291526-globalgrid2050/ - Synopsis: A web page covering solar, battery storage (BESS), the Renewable Energy Planning Database (REPD) register and cables, and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/202608291526-globalgrid2050/. - What it achieves (readme): It is built from the esc step (`esc`), the row HTML helper (`rowHtml`) and the build step (`build`). The README says: Every other `name:` and `note:` string in the file is byte-identical, verified by comparison against `HEAD:index.html`: 185 strings before, 187 after, one removed and three added, and none of the removals is a name. Its code works with 100 MW, 1 MW and 30 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and cables. Defines esc, rowHtml, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), the REPD register, cables, 33kV. README: "Every other `name:` and `note:` string in the file is byte-identical, verified by comparison against `HEAD:index.html`: 185 strings before, 187 after, one removed and three added, and none of the removals is a name." - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 33kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/202608291526-globalgrid2050/. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [33kV] - Edges: uses 13 estate files (estate-url 8, link 5); used by 0; mentioned by 0 ### Homepage Versions — Before Refresh Page - File: globalgrid2050/homepage_versions/20260922-before-refresh/index.html (HTML, 274 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/20260922-before-refresh/index.html#L1-L274 - Page: https://code.globalgrid2050.com/explore-code/s/1897.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/20260922-before-refresh/ - Synopsis: A web page in GlobalGrid2050 that draws homepage catalogue and cables, using IEC 60909 and IEC 60228, and uses data from the GridAtlas, ventus-grid-engine and stars repositories. Published at https://globalgrid2050.com/homepage_versions/20260922-before-refresh/. - What it achieves (readme): It sorts rows (`sortRows`) and is built from the esc step (`esc`) and the rows for helper (`rowsFor`). The README says: Every other `name:` and `note:` string in the file is byte-identical, verified by comparison against `HEAD:index.html`: 185 strings before, 187 after, one removed and three added, and none of the removals is a name. Its code works with 132 kV, 400 kV and 33 kV. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue, cables, solar and substations. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables, solar, substations, 400kV, 132kV, 33kV. README: "Every other `name:` and `note:` string in the file is byte-identical, verified by comparison against `HEAD:index.html`: 185 strings before, 187 after, one removed and three added, and none of the removals is a name." - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: galaxies-wafers data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html). Reached from 86 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/20260922-before-refresh/. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: galaxies-wafers data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV] - Edges: uses 47 estate files (link 47); used by 1; mentioned by 0 ### Homepage V001 - File: globalgrid2050/homepage_versions/homepage_v001.html (HTML, 318 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v001.html#L1-L318 - Page: https://code.globalgrid2050.com/explore-code/s/1898.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v001.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, battery storage (BESS) and cables, and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, registry_of_all_content_in_repos_and_dependencies and reports repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v001.html. - What it achieves (name): It applies search (`applySearch`) and is built from the row HTML helper (`rowHtml`). Defines `esc`, `rowHtml`, `build` and 1 more. Its code works with 33 kV. It responds to input events. - What it does: It draws solar, battery storage (BESS) and cables. Defines esc, rowHtml, build, applySearch. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), cables, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 33kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v001.html. - Signatures: `esc(s)`; `rowHtml(r)`; `key(r.name + " " + (r.note || ""))`; `build()`; `applySearch(raw)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [33kV] - Edges: uses 5 estate files (link 4, estate-url 1); used by 0; mentioned by 0 ### Homepage V002 - File: globalgrid2050/homepage_versions/homepage_v002.html (HTML, 187 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v002.html#L1-L187 - Page: https://code.globalgrid2050.com/explore-code/s/1898.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v002.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v002.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 100 MW, 33 kV and 1 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and cables. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV, 11kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), the REPD register, cables, 33kV, 11kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v002.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V003 - File: globalgrid2050/homepage_versions/homepage_v003.html (HTML, 188 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v003.html#L1-L188 - Page: https://code.globalgrid2050.com/explore-code/s/1898.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v003.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v003.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 100 MW, 33 kV and 1 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and cables. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV, 11kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), the REPD register, cables, 33kV, 11kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v003.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V004 - File: globalgrid2050/homepage_versions/homepage_v004.html (HTML, 189 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v004.html#L1-L189 - Page: https://code.globalgrid2050.com/explore-code/s/1899.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v004.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v004.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 100 MW, 33 kV and 1 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and cables. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV, 11kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), the REPD register, cables, 33kV, 11kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v004.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V005 - File: globalgrid2050/homepage_versions/homepage_v005.html (HTML, 190 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v005.html#L1-L190 - Page: https://code.globalgrid2050.com/explore-code/s/1899.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v005.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v005.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 100 MW, 33 kV and 1 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and cables. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV, 11kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), the REPD register, cables, 33kV, 11kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v005.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V006 - File: globalgrid2050/homepage_versions/homepage_v006.html (HTML, 191 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v006.html#L1-L191 - Page: https://code.globalgrid2050.com/explore-code/s/1899.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v006.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v006.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 100 MW, 33 kV and 1 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and cables. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV, 11kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), the REPD register, cables, 33kV, 11kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v006.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V007 - File: globalgrid2050/homepage_versions/homepage_v007.html (HTML, 192 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v007.html#L1-L192 - Page: https://code.globalgrid2050.com/explore-code/s/1900.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v007.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v007.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and cables. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV, 11kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), the REPD register, cables, 33kV, 11kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v007.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V008 - File: globalgrid2050/homepage_versions/homepage_v008.html (HTML, 193 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v008.html#L1-L193 - Page: https://code.globalgrid2050.com/explore-code/s/1900.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v008.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v008.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and cables. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV, 11kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), the REPD register, cables, 33kV, 11kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v008.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V009 - File: globalgrid2050/homepage_versions/homepage_v009.html (HTML, 194 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v009.html#L1-L194 - Page: https://code.globalgrid2050.com/explore-code/s/1900.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v009.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v009.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and cables. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV, 11kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), the REPD register, cables, 33kV, 11kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v009.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V010 - File: globalgrid2050/homepage_versions/homepage_v010.html (HTML, 199 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v010.html#L1-L199 - Page: https://code.globalgrid2050.com/explore-code/s/1901.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v010.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v010.html. - What it achieves (readme): It is built from the esc step (`esc`) and the build step (`build`). The README says: `homepage_v010.html` and `homepage_v011.html` exist in this folder with no entry above. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and cables. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV, 11kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), the REPD register, cables, 33kV, 11kV. README: "`homepage_v010.html` and `homepage_v011.html` exist in this folder with no entry above." - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v010.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V011 - File: globalgrid2050/homepage_versions/homepage_v011.html (HTML, 196 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v011.html#L1-L196 - Page: https://code.globalgrid2050.com/explore-code/s/1901.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v011.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v011.html. - What it achieves (readme): It is built from the esc step (`esc`) and the build step (`build`). The README says: `homepage_v010.html` and `homepage_v011.html` exist in this folder with no entry above. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and cables. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV, 11kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), the REPD register, cables, 33kV, 11kV. README: "`homepage_v010.html` and `homepage_v011.html` exist in this folder with no entry above." - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v011.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V012 - File: globalgrid2050/homepage_versions/homepage_v012.html (HTML, 200 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v012.html#L1-L200 - Page: https://code.globalgrid2050.com/explore-code/s/1901.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v012.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v012.html. - What it achieves (readme): It is built from the esc step (`esc`) and the build step (`build`). The README says: It was verified to fire on the unfixed page before being trusted: against `homepage_v012.html` it reports all three findings and exits 1. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and cables. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV, 11kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), the REPD register, cables, 33kV, 11kV. README: "It was verified to fire on the unfixed page before being trusted: against `homepage_v012.html` it reports all three findings and exits 1." - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v012.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V013 - File: globalgrid2050/homepage_versions/homepage_v013.html (HTML, 203 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v013.html#L1-L203 - Page: https://code.globalgrid2050.com/explore-code/s/1902.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v013.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws connection points, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v013.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws connection points, solar, battery storage (BESS) and the REPD register. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), the REPD register, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file connection-points.v3.json; form fields (user input). Out: web page. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v013.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file connection-points.v3.json; form fields (user input)]; out [web page]; crs []; voltages [132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V014 - File: globalgrid2050/homepage_versions/homepage_v014.html (HTML, 204 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v014.html#L1-L204 - Page: https://code.globalgrid2050.com/explore-code/s/1902.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v014.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v014.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and substations. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), the REPD register, substations, 132kV, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v014.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V015 - File: globalgrid2050/homepage_versions/homepage_v015.html (HTML, 205 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v015.html#L1-L205 - Page: https://code.globalgrid2050.com/explore-code/s/1902.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v015.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v015.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and substations. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), the REPD register, substations, 132kV, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v015.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V016 - File: globalgrid2050/homepage_versions/homepage_v016.html (HTML, 206 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v016.html#L1-L206 - Page: https://code.globalgrid2050.com/explore-code/s/1903.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v016.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v016.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and substations. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), the REPD register, substations, 132kV, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v016.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V017 - File: globalgrid2050/homepage_versions/homepage_v017.html (HTML, 206 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v017.html#L1-L206 - Page: https://code.globalgrid2050.com/explore-code/s/1903.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v017.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v017.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and substations. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), the REPD register, substations, 132kV, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v017.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V018 - File: globalgrid2050/homepage_versions/homepage_v018.html (HTML, 206 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v018.html#L1-L206 - Page: https://code.globalgrid2050.com/explore-code/s/1903.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v018.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v018.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and substations. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), the REPD register, substations, 132kV, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v018.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V019 - File: globalgrid2050/homepage_versions/homepage_v019.html (HTML, 206 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v019.html#L1-L206 - Page: https://code.globalgrid2050.com/explore-code/s/1904.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v019.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v019.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and substations. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), the REPD register, substations, 132kV, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v019.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V020 - File: globalgrid2050/homepage_versions/homepage_v020.html (HTML, 206 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v020.html#L1-L206 - Page: https://code.globalgrid2050.com/explore-code/s/1904.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v020.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v020.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and substations. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), the REPD register, substations, 132kV, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v020.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V021 - File: globalgrid2050/homepage_versions/homepage_v021.html (HTML, 210 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v021.html#L1-L210 - Page: https://code.globalgrid2050.com/explore-code/s/1904.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v021.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v021.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and substations. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), the REPD register, substations, 132kV, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v021.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V022 - File: globalgrid2050/homepage_versions/homepage_v022.html (HTML, 210 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v022.html#L1-L210 - Page: https://code.globalgrid2050.com/explore-code/s/1905.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v022.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v022.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and substations. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), the REPD register, substations, 132kV, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v022.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V023 - File: globalgrid2050/homepage_versions/homepage_v023.html (HTML, 210 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v023.html#L1-L210 - Page: https://code.globalgrid2050.com/explore-code/s/1905.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v023.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v023.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, battery storage (BESS), the REPD register and substations. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), the REPD register, substations, 132kV, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v023.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V024 - File: globalgrid2050/homepage_versions/homepage_v024.html (HTML, 211 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v024.html#L1-L211 - Page: https://code.globalgrid2050.com/explore-code/s/1905.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v024.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v024.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, the REPD register, battery storage (BESS) and substations. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, battery storage (BESS), substations, 132kV, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v024.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V025 - File: globalgrid2050/homepage_versions/homepage_v025.html (HTML, 212 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v025.html#L1-L212 - Page: https://code.globalgrid2050.com/explore-code/s/1906.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v025.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v025.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, the REPD register, battery storage (BESS) and substations. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, battery storage (BESS), substations, 132kV, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v025.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V026 - File: globalgrid2050/homepage_versions/homepage_v026.html (HTML, 213 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v026.html#L1-L213 - Page: https://code.globalgrid2050.com/explore-code/s/1906.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v026.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v026.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, the REPD register, battery storage (BESS) and substations. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, battery storage (BESS), substations, 132kV, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v026.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V027 - File: globalgrid2050/homepage_versions/homepage_v027.html (HTML, 213 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v027.html#L1-L213 - Page: https://code.globalgrid2050.com/explore-code/s/1906.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v027.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v027.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, the REPD register, battery storage (BESS) and substations. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, battery storage (BESS), substations, 132kV, 33kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v027.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V028 - File: globalgrid2050/homepage_versions/homepage_v028.html (HTML, 214 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v028.html#L1-L214 - Page: https://code.globalgrid2050.com/explore-code/s/1907.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v028.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v028.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, the REPD register, battery storage (BESS) and substations. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, battery storage (BESS), substations, 400kV, 132kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v028.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V029 - File: globalgrid2050/homepage_versions/homepage_v029.html (HTML, 214 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v029.html#L1-L214 - Page: https://code.globalgrid2050.com/explore-code/s/1907.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v029.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v029.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It draws solar, the REPD register, battery storage (BESS) and substations. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, battery storage (BESS), substations, 400kV, 132kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v029.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 14 estate files (estate-url 8, link 6); used by 0; mentioned by 0 ### Homepage V030 - File: globalgrid2050/homepage_versions/homepage_v030.html (HTML, 344 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v030.html#L1-L344 - Page: https://code.globalgrid2050.com/explore-code/s/1908.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v030.html - Synopsis: A map page in the homepage versions folder of GlobalGrid2050 that maps composition, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v030.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It maps composition, solar, the REPD register and battery storage (BESS). Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, battery storage (BESS), 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file 202608301624-composition.json; JSON file 202608301825-composition.json; JSON file 202608311910-composition.json; JSON file 202608311940-composition.json; JSON file 202608311949-composition.json; JSON file 202608311952-composition.json; JSON file 202608312003-composition.json; JSON file 202608312008-composition.json. Out: web page; interactive map. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v030.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608301624-composition.json; JSON file 202608301825-composition.json; JSON file 202608311910-composition.json; JSON file 202608311940-composition.json; JSON file 202608311949-composition.json; JSON file 202608311952-composition.json; JSON file 202608312003-composition.json; JSON file 202608312008-composition.json]; out [web page; interactive map]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 20 estate files (estate-url 14, link 6); used by 0; mentioned by 0 ### Homepage V031 - File: globalgrid2050/homepage_versions/homepage_v031.html (HTML, 348 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v031.html#L1-L348 - Page: https://code.globalgrid2050.com/explore-code/s/1908.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v031.html - Synopsis: A map page in the homepage versions folder of GlobalGrid2050 that maps composition, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v031.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It maps composition, solar, battery storage (BESS) and the REPD register. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), the REPD register, 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file 202608301624-composition.json; JSON file 202608301825-composition.json; JSON file 202608311910-composition.json; JSON file 202608311940-composition.json; JSON file 202608311949-composition.json; JSON file 202608311952-composition.json; JSON file 202608312003-composition.json; JSON file 202608312008-composition.json. Out: web page; interactive map. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v031.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608301624-composition.json; JSON file 202608301825-composition.json; JSON file 202608311910-composition.json; JSON file 202608311940-composition.json; JSON file 202608311949-composition.json; JSON file 202608311952-composition.json; JSON file 202608312003-composition.json; JSON file 202608312008-composition.json]; out [web page; interactive map]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 20 estate files (estate-url 14, link 6); used by 0; mentioned by 0 ### Homepage V032 - File: globalgrid2050/homepage_versions/homepage_v032.html (HTML, 350 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v032.html#L1-L350 - Page: https://code.globalgrid2050.com/explore-code/s/1909.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v032.html - Synopsis: A map page in the homepage versions folder of GlobalGrid2050 that maps composition, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v032.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It maps composition, solar, battery storage (BESS) and the REPD register. Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), the REPD register, 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file 202608301624-composition.json; JSON file 202608301825-composition.json; JSON file 202608311910-composition.json; JSON file 202608311940-composition.json; JSON file 202608311949-composition.json; JSON file 202608311952-composition.json; JSON file 202608312003-composition.json; JSON file 202608312008-composition.json. Out: web page; interactive map. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v032.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608301624-composition.json; JSON file 202608301825-composition.json; JSON file 202608311910-composition.json; JSON file 202608311940-composition.json; JSON file 202608311949-composition.json; JSON file 202608311952-composition.json; JSON file 202608312003-composition.json; JSON file 202608312008-composition.json]; out [web page; interactive map]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 20 estate files (estate-url 14, link 6); used by 0; mentioned by 0 ### Homepage V033 - File: globalgrid2050/homepage_versions/homepage_v033.html (HTML, 351 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v033.html#L1-L351 - Page: https://code.globalgrid2050.com/explore-code/s/1910.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v033.html - Synopsis: A map page in the homepage versions folder of GlobalGrid2050 that maps composition, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v033.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It maps composition, solar, the REPD register and battery storage (BESS). Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, battery storage (BESS), 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file 202608301624-composition.json; JSON file 202608301825-composition.json; JSON file 202608311910-composition.json; JSON file 202608311940-composition.json; JSON file 202608311949-composition.json; JSON file 202608311952-composition.json; JSON file 202608312003-composition.json; JSON file 202608312008-composition.json. Out: web page; interactive map. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v033.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608301624-composition.json; JSON file 202608301825-composition.json; JSON file 202608311910-composition.json; JSON file 202608311940-composition.json; JSON file 202608311949-composition.json; JSON file 202608311952-composition.json; JSON file 202608312003-composition.json; JSON file 202608312008-composition.json]; out [web page; interactive map]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 20 estate files (estate-url 14, link 6); used by 0; mentioned by 0 ### Homepage V034 - File: globalgrid2050/homepage_versions/homepage_v034.html (HTML, 351 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v034.html#L1-L351 - Page: https://code.globalgrid2050.com/explore-code/s/1911.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v034.html - Synopsis: A map page in the homepage versions folder of GlobalGrid2050 that maps composition, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v034.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It maps composition, solar, the REPD register and battery storage (BESS). Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, battery storage (BESS), 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file 202608301624-composition.json; JSON file 202608301825-composition.json; JSON file 202608311910-composition.json; JSON file 202608311940-composition.json; JSON file 202608311949-composition.json; JSON file 202608311952-composition.json; JSON file 202608312003-composition.json; JSON file 202608312008-composition.json. Out: web page; interactive map. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v034.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608301624-composition.json; JSON file 202608301825-composition.json; JSON file 202608311910-composition.json; JSON file 202608311940-composition.json; JSON file 202608311949-composition.json; JSON file 202608311952-composition.json; JSON file 202608312003-composition.json; JSON file 202608312008-composition.json]; out [web page; interactive map]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 20 estate files (estate-url 14, link 6); used by 0; mentioned by 0 ### Homepage V035 - File: globalgrid2050/homepage_versions/homepage_v035.html (HTML, 352 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v035.html#L1-L352 - Page: https://code.globalgrid2050.com/explore-code/s/1912.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v035.html - Synopsis: A map page in the homepage versions folder of GlobalGrid2050 that maps composition, using SHA-256 and haversine and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v035.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It maps composition, solar, the REPD register and battery storage (BESS). Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, battery storage (BESS), 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file 202608301624-composition.json; JSON file 202608301825-composition.json; JSON file 202608311910-composition.json; JSON file 202608311940-composition.json; JSON file 202608311949-composition.json; JSON file 202608311952-composition.json; JSON file 202608312003-composition.json; JSON file 202608312008-composition.json. Out: web page; interactive map. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v035.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608301624-composition.json; JSON file 202608301825-composition.json; JSON file 202608311910-composition.json; JSON file 202608311940-composition.json; JSON file 202608311949-composition.json; JSON file 202608311952-composition.json; JSON file 202608312003-composition.json; JSON file 202608312008-composition.json]; out [web page; interactive map]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 20 estate files (estate-url 14, link 6); used by 0; mentioned by 0 ### Homepage V036 - File: globalgrid2050/homepage_versions/homepage_v036.html (HTML, 353 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v036.html#L1-L353 - Page: https://code.globalgrid2050.com/explore-code/s/1913.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v036.html - Synopsis: A map page in the homepage versions folder of GlobalGrid2050 that maps composition, using SHA-256 and haversine and uses data from the GlobalGrid2050-homepage, data-federation-map-for-GlobalGrid2050-all-repos and data-centres-GB repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v036.html. - What it achieves (name): Defines `esc` and `build`. Its code works with 33 kV, 100 MW and 40 MW. It responds to input events. - What it does: It maps composition, solar, the REPD register and battery storage (BESS). Defines esc, build. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, battery storage (BESS), 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file 202608301624-composition.json; JSON file 202608301825-composition.json; JSON file 202608311910-composition.json; JSON file 202608311940-composition.json; JSON file 202608311949-composition.json; JSON file 202608311952-composition.json; JSON file 202608312003-composition.json; JSON file 202608312008-composition.json. Out: web page; interactive map. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v036.html. - Signatures: `esc(s)`; `rowHtml(r)`; `build()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202608301624-composition.json; JSON file 202608301825-composition.json; JSON file 202608311910-composition.json; JSON file 202608311940-composition.json; JSON file 202608311949-composition.json; JSON file 202608311952-composition.json; JSON file 202608312003-composition.json; JSON file 202608312008-composition.json]; out [web page; interactive map]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 20 estate files (estate-url 14, link 6); used by 0; mentioned by 0 ### Homepage V037 - File: globalgrid2050/homepage_versions/homepage_v037.html (HTML, 293 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v037.html#L1-L293 - Page: https://code.globalgrid2050.com/explore-code/s/1913.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v037.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v037.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws the REPD register, solar, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 33kV, 400kV, 132kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v037.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V038 - File: globalgrid2050/homepage_versions/homepage_v038.html (HTML, 299 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v038.html#L1-L299 - Page: https://code.globalgrid2050.com/explore-code/s/1914.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v038.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v038.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws the REPD register, solar, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 33kV, 400kV, 132kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v038.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V039 - File: globalgrid2050/homepage_versions/homepage_v039.html (HTML, 300 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v039.html#L1-L300 - Page: https://code.globalgrid2050.com/explore-code/s/1914.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v039.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v039.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws the REPD register, solar, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 33kV, 400kV, 132kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v039.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V040 - File: globalgrid2050/homepage_versions/homepage_v040.html (HTML, 304 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v040.html#L1-L304 - Page: https://code.globalgrid2050.com/explore-code/s/1915.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v040.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v040.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws the REPD register, solar, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 33kV, 400kV, 132kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v040.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V041 - File: globalgrid2050/homepage_versions/homepage_v041.html (HTML, 304 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v041.html#L1-L304 - Page: https://code.globalgrid2050.com/explore-code/s/1915.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v041.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v041.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws the REPD register, solar, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 33kV, 400kV, 132kV. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v041.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V043 - File: globalgrid2050/homepage_versions/homepage_v043.html (HTML, 305 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v043.html#L1-L305 - Page: https://code.globalgrid2050.com/explore-code/s/1916.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v043.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v043.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws the REPD register, solar, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 33kV, 400kV, 132kV. - Inputs & outputs: In: JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v043.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V044 - File: globalgrid2050/homepage_versions/homepage_v044.html (HTML, 306 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v044.html#L1-L306 - Page: https://code.globalgrid2050.com/explore-code/s/1916.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v044.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v044.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws the REPD register, solar, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 33kV, 400kV, 132kV. - Inputs & outputs: In: JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v044.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V045 - File: globalgrid2050/homepage_versions/homepage_v045.html (HTML, 307 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v045.html#L1-L307 - Page: https://code.globalgrid2050.com/explore-code/s/1917.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v045.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v045.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws the REPD register, solar, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 33kV, 400kV, 132kV. - Inputs & outputs: In: JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v045.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V046 - File: globalgrid2050/homepage_versions/homepage_v046.html (HTML, 308 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v046.html#L1-L308 - Page: https://code.globalgrid2050.com/explore-code/s/1917.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v046.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v046.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws the REPD register, solar, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 33kV, 400kV, 132kV. - Inputs & outputs: In: JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v046.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V047 - File: globalgrid2050/homepage_versions/homepage_v047.html (HTML, 309 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v047.html#L1-L309 - Page: https://code.globalgrid2050.com/explore-code/s/1918.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v047.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v047.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws the REPD register, solar, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 33kV, 400kV, 132kV. - Inputs & outputs: In: JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v047.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V048 - File: globalgrid2050/homepage_versions/homepage_v048.html (HTML, 309 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v048.html#L1-L309 - Page: https://code.globalgrid2050.com/explore-code/s/1918.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v048.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v048.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws the REPD register, solar, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 33kV, 400kV, 132kV. - Inputs & outputs: In: JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v048.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V049 - File: globalgrid2050/homepage_versions/homepage_v049.html (HTML, 309 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v049.html#L1-L309 - Page: https://code.globalgrid2050.com/explore-code/s/1919.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v049.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v049.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws the REPD register, solar, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 33kV, 400kV, 132kV. - Inputs & outputs: In: JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v049.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V050 - File: globalgrid2050/homepage_versions/homepage_v050.html (HTML, 310 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v050.html#L1-L310 - Page: https://code.globalgrid2050.com/explore-code/s/1919.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v050.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v050.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws the REPD register, solar, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 33kV, 400kV, 132kV. - Inputs & outputs: In: JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v050.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V051 - File: globalgrid2050/homepage_versions/homepage_v051.html (HTML, 310 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v051.html#L1-L310 - Page: https://code.globalgrid2050.com/explore-code/s/1920.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v051.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v051.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws the REPD register, solar, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 33kV, 400kV, 132kV. - Inputs & outputs: In: JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v051.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V052 - File: globalgrid2050/homepage_versions/homepage_v052.html (HTML, 311 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v052.html#L1-L311 - Page: https://code.globalgrid2050.com/explore-code/s/1920.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v052.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering the Renewable Energy Planning Database (REPD) register and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v052.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws the REPD register, solar, substations and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 33kV, 400kV, 132kV. - Inputs & outputs: In: JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v052.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V053 - File: globalgrid2050/homepage_versions/homepage_v053.html (HTML, 325 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v053.html#L1-L325 - Page: https://code.globalgrid2050.com/explore-code/s/1921.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v053.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v053.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, the REPD register, solar and substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v053.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V055 - File: globalgrid2050/homepage_versions/homepage_v055.html (HTML, 326 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v055.html#L1-L326 - Page: https://code.globalgrid2050.com/explore-code/s/1921.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v055.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v055.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, the REPD register, solar and substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v055.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V056 - File: globalgrid2050/homepage_versions/homepage_v056.html (HTML, 364 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v056.html#L1-L364 - Page: https://code.globalgrid2050.com/explore-code/s/1922.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v056.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v056.html. - What it achieves (name): It is built from the update step (`update`). Defines `parts`, `midnight`, `bar` and 1 more. Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, the REPD register, solar and substations. Defines parts, midnight, bar, update. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v056.html. - Signatures: `parts(t)`; `midnight(year,month,day)`; `bar(f)`; `update()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V057 - File: globalgrid2050/homepage_versions/homepage_v057.html (HTML, 367 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v057.html#L1-L367 - Page: https://code.globalgrid2050.com/explore-code/s/1923.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v057.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v057.html. - What it achieves (name): It is built from the update step (`update`) and the minute clock helper (`minuteClock`). Defines `parts`, `midnight`, `bar` and 2 more. Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, the REPD register, solar and substations. Defines parts, midnight, bar, update, minuteClock. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v057.html. - Signatures: `parts(t)`; `midnight(year,month,day)`; `bar(f)`; `update()`; `minuteClock(t)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 22 estate files (link 20, stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Homepage V058 - File: globalgrid2050/homepage_versions/homepage_v058.html (HTML, 352 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v058.html#L1-L352 - Page: https://code.globalgrid2050.com/explore-code/s/1924.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v058.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v058.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, the REPD register, solar and substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v058.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 24 estate files (link 20, stylesheet 2, script-src 2); used by 0; mentioned by 0 ### Homepage V059 - File: globalgrid2050/homepage_versions/homepage_v059.html (HTML, 367 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v059.html#L1-L367 - Page: https://code.globalgrid2050.com/explore-code/s/1925.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v059.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v059.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, the REPD register, solar and substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file source.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v059.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file source.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 26 estate files (link 20, stylesheet 3, script-src 3); used by 0; mentioned by 0 ### Homepage V060 - File: globalgrid2050/homepage_versions/homepage_v060.html (HTML, 378 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v060.html#L1-L378 - Page: https://code.globalgrid2050.com/explore-code/s/1926.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v060.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v060.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, the REPD register, solar and substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, substations, 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file source.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v060.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file source.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 27 estate files (link 20, script-src 4, stylesheet 3); used by 0; mentioned by 0 ### Homepage V061 - File: globalgrid2050/homepage_versions/homepage_v061.html (HTML, 404 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v061.html#L1-L404 - Page: https://code.globalgrid2050.com/explore-code/s/1927.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v061.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v061.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar, the REPD register and substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, substations, 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file source.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v061.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file source.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 32 estate files (link 20, script-src 8, stylesheet 4); used by 0; mentioned by 0 ### Homepage V062 - File: globalgrid2050/homepage_versions/homepage_v062.html (HTML, 408 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v062.html#L1-L408 - Page: https://code.globalgrid2050.com/explore-code/s/1928.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v062.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v062.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar, the REPD register and substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, substations, 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file source.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v062.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file source.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 34 estate files (link 21, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V063 - File: globalgrid2050/homepage_versions/homepage_v063.html (HTML, 420 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v063.html#L1-L420 - Page: https://code.globalgrid2050.com/explore-code/s/1929.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v063.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v063.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar, the REPD register and substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, substations, 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; JSON file source.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v063.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; JSON file source.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 35 estate files (link 22, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V064 - File: globalgrid2050/homepage_versions/homepage_v064.html (HTML, 427 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v064.html#L1-L427 - Page: https://code.globalgrid2050.com/explore-code/s/1930.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v064.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v064.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060232-test-record.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; JSON file source.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v064.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060232-test-record.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; JSON file source.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 35 estate files (link 22, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V065 - File: globalgrid2050/homepage_versions/homepage_v065.html (HTML, 416 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v065.html#L1-L416 - Page: https://code.globalgrid2050.com/explore-code/s/1931.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v065.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v065.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060232-test-record.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; JSON file source.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v065.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060232-test-record.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; JSON file source.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 35 estate files (link 22, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V066 - File: globalgrid2050/homepage_versions/homepage_v066.html (HTML, 423 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v066.html#L1-L423 - Page: https://code.globalgrid2050.com/explore-code/s/1932.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v066.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v066.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060300-test-record.json; JSON file 202609060232-test-record.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; JSON file source.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v066.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060300-test-record.json; JSON file 202609060232-test-record.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; JSON file source.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 35 estate files (link 22, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V067 - File: globalgrid2050/homepage_versions/homepage_v067.html (HTML, 431 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v067.html#L1-L431 - Page: https://code.globalgrid2050.com/explore-code/s/1933.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v067.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v067.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060309-test-record.json; JSON file 202609060308-test-record.json; JSON file 202609060300-test-record.json; JSON file 202609060232-test-record.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; JSON file source.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v067.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060309-test-record.json; JSON file 202609060308-test-record.json; JSON file 202609060300-test-record.json; JSON file 202609060232-test-record.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json; JSON file source.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 35 estate files (link 22, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V068 - File: globalgrid2050/homepage_versions/homepage_v068.html (HTML, 439 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v068.html#L1-L439 - Page: https://code.globalgrid2050.com/explore-code/s/1934.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v068.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v068.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060318-test-record.json; JSON file 202609060309-test-record.json; JSON file 202609060308-test-record.json; JSON file 202609060300-test-record.json; JSON file 202609060232-test-record.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v068.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060318-test-record.json; JSON file 202609060309-test-record.json; JSON file 202609060308-test-record.json; JSON file 202609060300-test-record.json; JSON file 202609060232-test-record.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json; JSON file results.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 35 estate files (link 22, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V069 - File: globalgrid2050/homepage_versions/homepage_v069.html (HTML, 448 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v069.html#L1-L448 - Page: https://code.globalgrid2050.com/explore-code/s/1935.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v069.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v069.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060324-test-record.json; JSON file 202609060318-test-record.json; JSON file 202609060309-test-record.json; JSON file 202609060308-test-record.json; JSON file 202609060300-test-record.json; JSON file 202609060232-test-record.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v069.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060324-test-record.json; JSON file 202609060318-test-record.json; JSON file 202609060309-test-record.json; JSON file 202609060308-test-record.json; JSON file 202609060300-test-record.json; JSON file 202609060232-test-record.json; JSON file 202609051927-tested-layers.json; JSON file 202609051650-final.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 35 estate files (link 22, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V070 - File: globalgrid2050/homepage_versions/homepage_v070.html (HTML, 456 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v070.html#L1-L456 - Page: https://code.globalgrid2050.com/explore-code/s/1936.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v070.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v070.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060327-test-record.json; JSON file 202609060324-test-record.json; JSON file 202609060318-test-record.json; JSON file 202609060309-test-record.json; JSON file 202609060308-test-record.json; JSON file 202609060300-test-record.json; JSON file 202609060232-test-record.json; JSON file 202609051927-tested-layers.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v070.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060327-test-record.json; JSON file 202609060324-test-record.json; JSON file 202609060318-test-record.json; JSON file 202609060309-test-record.json; JSON file 202609060308-test-record.json; JSON file 202609060300-test-record.json; JSON file 202609060232-test-record.json; JSON file 202609051927-tested-layers.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 35 estate files (link 22, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V071 - File: globalgrid2050/homepage_versions/homepage_v071.html (HTML, 464 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v071.html#L1-L464 - Page: https://code.globalgrid2050.com/explore-code/s/1937.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v071.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v071.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060334-test-record.json; JSON file 202609060327-test-record.json; JSON file 202609060324-test-record.json; JSON file 202609060318-test-record.json; JSON file 202609060309-test-record.json; JSON file 202609060308-test-record.json; JSON file 202609060300-test-record.json; JSON file 202609060232-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v071.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060334-test-record.json; JSON file 202609060327-test-record.json; JSON file 202609060324-test-record.json; JSON file 202609060318-test-record.json; JSON file 202609060309-test-record.json; JSON file 202609060308-test-record.json; JSON file 202609060300-test-record.json; JSON file 202609060232-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 35 estate files (link 22, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V072 - File: globalgrid2050/homepage_versions/homepage_v072.html (HTML, 472 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v072.html#L1-L472 - Page: https://code.globalgrid2050.com/explore-code/s/1938.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v072.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v072.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060342-test-record.json; JSON file 202609060334-test-record.json; JSON file 202609060327-test-record.json; JSON file 202609060324-test-record.json; JSON file 202609060318-test-record.json; JSON file 202609060309-test-record.json; JSON file 202609060308-test-record.json; JSON file 202609060300-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v072.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060342-test-record.json; JSON file 202609060334-test-record.json; JSON file 202609060327-test-record.json; JSON file 202609060324-test-record.json; JSON file 202609060318-test-record.json; JSON file 202609060309-test-record.json; JSON file 202609060308-test-record.json; JSON file 202609060300-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 35 estate files (link 22, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V073 - File: globalgrid2050/homepage_versions/homepage_v073.html (HTML, 480 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v073.html#L1-L480 - Page: https://code.globalgrid2050.com/explore-code/s/1939.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v073.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v073.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060349-test-record.json; JSON file 202609060342-test-record.json; JSON file 202609060334-test-record.json; JSON file 202609060327-test-record.json; JSON file 202609060324-test-record.json; JSON file 202609060318-test-record.json; JSON file 202609060309-test-record.json; JSON file 202609060308-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v073.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060349-test-record.json; JSON file 202609060342-test-record.json; JSON file 202609060334-test-record.json; JSON file 202609060327-test-record.json; JSON file 202609060324-test-record.json; JSON file 202609060318-test-record.json; JSON file 202609060309-test-record.json; JSON file 202609060308-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 36 estate files (link 23, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V074 - File: globalgrid2050/homepage_versions/homepage_v074.html (HTML, 488 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v074.html#L1-L488 - Page: https://code.globalgrid2050.com/explore-code/s/1940.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v074.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v074.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060401-test-record.json; JSON file 202609060349-test-record.json; JSON file 202609060342-test-record.json; JSON file 202609060334-test-record.json; JSON file 202609060327-test-record.json; JSON file 202609060324-test-record.json; JSON file 202609060318-test-record.json; JSON file 202609060309-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v074.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060401-test-record.json; JSON file 202609060349-test-record.json; JSON file 202609060342-test-record.json; JSON file 202609060334-test-record.json; JSON file 202609060327-test-record.json; JSON file 202609060324-test-record.json; JSON file 202609060318-test-record.json; JSON file 202609060309-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 36 estate files (link 23, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V075 - File: globalgrid2050/homepage_versions/homepage_v075.html (HTML, 496 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v075.html#L1-L496 - Page: https://code.globalgrid2050.com/explore-code/s/1941.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v075.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v075.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060401-test-record.json; JSON file 202609060349-test-record.json; JSON file 202609060342-test-record.json; JSON file 202609060334-test-record.json; JSON file 202609060327-test-record.json; JSON file 202609060324-test-record.json; JSON file 202609060318-test-record.json; JSON file 202609060309-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v075.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060401-test-record.json; JSON file 202609060349-test-record.json; JSON file 202609060342-test-record.json; JSON file 202609060334-test-record.json; JSON file 202609060327-test-record.json; JSON file 202609060324-test-record.json; JSON file 202609060318-test-record.json; JSON file 202609060309-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 36 estate files (link 23, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V076 - File: globalgrid2050/homepage_versions/homepage_v076.html (HTML, 504 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v076.html#L1-L504 - Page: https://code.globalgrid2050.com/explore-code/s/1942.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v076.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v076.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060418-test-record.json; JSON file 202609060401-test-record.json; JSON file 202609060349-test-record.json; JSON file 202609060342-test-record.json; JSON file 202609060334-test-record.json; JSON file 202609060327-test-record.json; JSON file 202609060324-test-record.json; JSON file 202609060318-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v076.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060418-test-record.json; JSON file 202609060401-test-record.json; JSON file 202609060349-test-record.json; JSON file 202609060342-test-record.json; JSON file 202609060334-test-record.json; JSON file 202609060327-test-record.json; JSON file 202609060324-test-record.json; JSON file 202609060318-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 36 estate files (link 23, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V077 - File: globalgrid2050/homepage_versions/homepage_v077.html (HTML, 511 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v077.html#L1-L511 - Page: https://code.globalgrid2050.com/explore-code/s/1943.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v077.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v077.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060432-test-record.json; JSON file 202609060418-test-record.json; JSON file 202609060401-test-record.json; JSON file 202609060349-test-record.json; JSON file 202609060342-test-record.json; JSON file 202609060334-test-record.json; JSON file 202609060327-test-record.json; JSON file 202609060324-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v077.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060432-test-record.json; JSON file 202609060418-test-record.json; JSON file 202609060401-test-record.json; JSON file 202609060349-test-record.json; JSON file 202609060342-test-record.json; JSON file 202609060334-test-record.json; JSON file 202609060327-test-record.json; JSON file 202609060324-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 37 estate files (link 24, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V078 - File: globalgrid2050/homepage_versions/homepage_v078.html (HTML, 519 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v078.html#L1-L519 - Page: https://code.globalgrid2050.com/explore-code/s/1944.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v078.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v078.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060435-test-record.json; JSON file 202609060432-test-record.json; JSON file 202609060418-test-record.json; JSON file 202609060401-test-record.json; JSON file 202609060349-test-record.json; JSON file 202609060342-test-record.json; JSON file 202609060334-test-record.json; JSON file 202609060327-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v078.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060435-test-record.json; JSON file 202609060432-test-record.json; JSON file 202609060418-test-record.json; JSON file 202609060401-test-record.json; JSON file 202609060349-test-record.json; JSON file 202609060342-test-record.json; JSON file 202609060334-test-record.json; JSON file 202609060327-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 37 estate files (link 24, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V079 - File: globalgrid2050/homepage_versions/homepage_v079.html (HTML, 527 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v079.html#L1-L527 - Page: https://code.globalgrid2050.com/explore-code/s/1945.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v079.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v079.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060441-test-record.json; JSON file 202609060435-test-record.json; JSON file 202609060432-test-record.json; JSON file 202609060418-test-record.json; JSON file 202609060401-test-record.json; JSON file 202609060349-test-record.json; JSON file 202609060342-test-record.json; JSON file 202609060334-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v079.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060441-test-record.json; JSON file 202609060435-test-record.json; JSON file 202609060432-test-record.json; JSON file 202609060418-test-record.json; JSON file 202609060401-test-record.json; JSON file 202609060349-test-record.json; JSON file 202609060342-test-record.json; JSON file 202609060334-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 37 estate files (link 24, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V080 - File: globalgrid2050/homepage_versions/homepage_v080.html (HTML, 535 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v080.html#L1-L535 - Page: https://code.globalgrid2050.com/explore-code/s/1946.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v080.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v080.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060447-test-record.json; JSON file 202609060441-test-record.json; JSON file 202609060435-test-record.json; JSON file 202609060432-test-record.json; JSON file 202609060418-test-record.json; JSON file 202609060401-test-record.json; JSON file 202609060349-test-record.json; JSON file 202609060342-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v080.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060447-test-record.json; JSON file 202609060441-test-record.json; JSON file 202609060435-test-record.json; JSON file 202609060432-test-record.json; JSON file 202609060418-test-record.json; JSON file 202609060401-test-record.json; JSON file 202609060349-test-record.json; JSON file 202609060342-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 37 estate files (link 24, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V082 - File: globalgrid2050/homepage_versions/homepage_v082.html (HTML, 543 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v082.html#L1-L543 - Page: https://code.globalgrid2050.com/explore-code/s/1947.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v082.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v082.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, 400kV, 132kV, 33kV, 11kV. - Inputs & outputs: In: JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json; JSON file 202609060441-test-record.json; JSON file 202609060435-test-record.json; JSON file 202609060432-test-record.json; JSON file 202609060418-test-record.json; JSON file 202609060401-test-record.json; JSON file 202609060349-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v082.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json; JSON file 202609060441-test-record.json; JSON file 202609060435-test-record.json; JSON file 202609060432-test-record.json; JSON file 202609060418-test-record.json; JSON file 202609060401-test-record.json; JSON file 202609060349-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 37 estate files (link 24, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V083 - File: globalgrid2050/homepage_versions/homepage_v083.html (HTML, 551 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v083.html#L1-L551 - Page: https://code.globalgrid2050.com/explore-code/s/1948.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v083.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v083.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar, the REPD register and substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, substations, 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json; JSON file 202609060441-test-record.json; JSON file 202609060435-test-record.json; JSON file 202609060432-test-record.json; JSON file 202609060418-test-record.json; JSON file 202609060401-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v083.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json; JSON file 202609060441-test-record.json; JSON file 202609060435-test-record.json; JSON file 202609060432-test-record.json; JSON file 202609060418-test-record.json; JSON file 202609060401-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 37 estate files (link 24, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V084 - File: globalgrid2050/homepage_versions/homepage_v084.html (HTML, 559 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v084.html#L1-L559 - Page: https://code.globalgrid2050.com/explore-code/s/1949.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v084.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws tested layers, using SHA-256 and haversine and uses data from the spiders repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v084.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws tested layers, solar, the REPD register and substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, substations, 400kV, 132kV, 33kV. - Inputs & outputs: In: JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json; JSON file 202609060441-test-record.json; JSON file 202609060435-test-record.json; JSON file 202609060432-test-record.json; JSON file 202609060418-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v084.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json; JSON file 202609060441-test-record.json; JSON file 202609060435-test-record.json; JSON file 202609060432-test-record.json; JSON file 202609060418-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 37 estate files (link 24, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V085 - File: globalgrid2050/homepage_versions/homepage_v085.html (HTML, 567 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v085.html#L1-L567 - Page: https://code.globalgrid2050.com/explore-code/s/1950.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v085.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the spiders, GridAtlas and ventus-grid-engine repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v085.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws solar, the REPD register, substations and cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, substations, cables, 400kV, 132kV. - Inputs & outputs: In: JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json; JSON file 202609060441-test-record.json; JSON file 202609060435-test-record.json; JSON file 202609060432-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v085.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json; JSON file 202609060441-test-record.json; JSON file 202609060435-test-record.json; JSON file 202609060432-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 37 estate files (link 24, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V086 - File: globalgrid2050/homepage_versions/homepage_v086.html (HTML, 575 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v086.html#L1-L575 - Page: https://code.globalgrid2050.com/explore-code/s/1951.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v086.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the spiders, GridAtlas and ventus-grid-engine repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v086.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws solar, the REPD register, substations and cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, substations, cables, 400kV, 132kV. - Inputs & outputs: In: JSON file 202609060521-test-record.json; JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json; JSON file 202609060441-test-record.json; JSON file 202609060435-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v086.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060521-test-record.json; JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json; JSON file 202609060441-test-record.json; JSON file 202609060435-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 37 estate files (link 24, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V087 - File: globalgrid2050/homepage_versions/homepage_v087.html (HTML, 583 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v087.html#L1-L583 - Page: https://code.globalgrid2050.com/explore-code/s/1952.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v087.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the spiders, GridAtlas and ventus-grid-engine repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v087.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws solar, the REPD register, substations and cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, substations, cables, 400kV, 132kV. - Inputs & outputs: In: JSON file 202609060528-test-record.json; JSON file 202609060521-test-record.json; JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json; JSON file 202609060441-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v087.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060528-test-record.json; JSON file 202609060521-test-record.json; JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json; JSON file 202609060441-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 37 estate files (link 24, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V088 - File: globalgrid2050/homepage_versions/homepage_v088.html (HTML, 591 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v088.html#L1-L591 - Page: https://code.globalgrid2050.com/explore-code/s/1953.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v088.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the spiders, GridAtlas and ventus-grid-engine repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v088.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws solar, the REPD register, substations and cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, substations, cables, 400kV, 132kV. - Inputs & outputs: In: JSON file 202609060537-test-record.json; JSON file 202609060528-test-record.json; JSON file 202609060521-test-record.json; JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v088.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060537-test-record.json; JSON file 202609060528-test-record.json; JSON file 202609060521-test-record.json; JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 38 estate files (link 25, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V089 - File: globalgrid2050/homepage_versions/homepage_v089.html (HTML, 591 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v089.html#L1-L591 - Page: https://code.globalgrid2050.com/explore-code/s/1954.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v089.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the spiders, GridAtlas and ventus-grid-engine repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v089.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws solar, the REPD register, substations and cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, substations, cables, 400kV, 132kV. - Inputs & outputs: In: JSON file 202609060537-test-record.json; JSON file 202609060528-test-record.json; JSON file 202609060521-test-record.json; JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v089.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060537-test-record.json; JSON file 202609060528-test-record.json; JSON file 202609060521-test-record.json; JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 38 estate files (link 25, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V090 - File: globalgrid2050/homepage_versions/homepage_v090.html (HTML, 629 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v090.html#L1-L629 - Page: https://code.globalgrid2050.com/explore-code/s/1955.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v090.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, using SHA-256 and haversine and uses data from the spiders, GridAtlas and ventus-grid-engine repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v090.html. - What it achieves (name): Its code works with 33 kV, 100 MW and 40 MW. - What it does: It draws solar, the REPD register, substations and cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, the REPD register, substations, cables, 400kV, 132kV. - Inputs & outputs: In: JSON file 202609060537-test-record.json; JSON file 202609060528-test-record.json; JSON file 202609060521-test-record.json; JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json. Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v090.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060537-test-record.json; JSON file 202609060528-test-record.json; JSON file 202609060521-test-record.json; JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV] - Edges: uses 57 estate files (link 44, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V091 - File: globalgrid2050/homepage_versions/homepage_v091.html (HTML, 557 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v091.html#L1-L557 - Page: https://code.globalgrid2050.com/explore-code/s/1956.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v091.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar and cables, and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v091.html. - What it does: It draws solar, cables, the REPD register and interconnectors. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, cables, the REPD register, interconnectors. - Inputs & outputs: In: JSON file 202609060537-test-record.json; JSON file 202609060528-test-record.json; JSON file 202609060521-test-record.json; JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json. Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v091.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060537-test-record.json; JSON file 202609060528-test-record.json; JSON file 202609060521-test-record.json; JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json]; out [web page]; crs []; voltages [] - Edges: uses 46 estate files (link 33, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V093 - File: globalgrid2050/homepage_versions/homepage_v093.html (HTML, 559 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v093.html#L1-L559 - Page: https://code.globalgrid2050.com/explore-code/s/1957.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v093.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar and cables, and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v093.html. - What it does: It draws solar, cables, the REPD register and interconnectors. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar, cables, the REPD register, interconnectors. - Inputs & outputs: In: JSON file 202609060537-test-record.json; JSON file 202609060528-test-record.json; JSON file 202609060521-test-record.json; JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json. Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v093.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060537-test-record.json; JSON file 202609060528-test-record.json; JSON file 202609060521-test-record.json; JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json]; out [web page]; crs []; voltages [] - Edges: uses 46 estate files (link 33, script-src 8, stylesheet 5); used by 0; mentioned by 0 ### Homepage V095 - File: globalgrid2050/homepage_versions/homepage_v095.html (HTML, 498 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v095.html#L1-L498 - Page: https://code.globalgrid2050.com/explore-code/s/1958.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v095.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, battery storage (BESS) and cables, and uses data from the solar-electrical-topology-analysis-engine-text-based, GridAtlas and PipelineNews repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v095.html. - What it achieves (name): It builds areas (`buildAreas`) and filters areas (`filterAreas`). Defines `escA`, `flatten`, `stamp` and 3 more. Its code works with 33 kV. It responds to input events. - What it does: It draws solar, battery storage (BESS), cables and interconnectors. Defines 6 functions or classes, including escA, flatten, stamp, rowHtml, buildAreas. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), cables, interconnectors, 33kV. - Inputs & outputs: In: JSON file source.json; form fields (user input). Out: web page. Voltage levels named: 33kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v095.html. - Signatures: `escA(s)`; `flatten(children)`; `stamp(r)`; `rowHtml(r)`; `buildAreas()`; `filterAreas(raw)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file source.json; form fields (user input)]; out [web page]; crs []; voltages [33kV] - Edges: uses 23 estate files (estate-url 9, script-src 8, stylesheet 5, link 1); used by 0; mentioned by 1 ### Homepage V096 - File: globalgrid2050/homepage_versions/homepage_v096.html (HTML, 538 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v096.html#L1-L538 - Page: https://code.globalgrid2050.com/explore-code/s/1959.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v096.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar, battery storage (BESS) and cables, and uses data from the solar-electrical-topology-analysis-engine-text-based, GridAtlas and PipelineNews repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v096.html. - What it achieves (name): It builds areas (`buildAreas`) and filters areas (`filterAreas`). Defines `escA`, `flatten`, `stamp` and 3 more. Its code works with 33 kV. It responds to input events. - What it does: It draws solar, battery storage (BESS), cables and interconnectors. Defines 6 functions or classes, including escA, flatten, stamp, rowHtml, buildAreas. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), cables, interconnectors, 33kV. - Inputs & outputs: In: JSON file 202609060537-test-record.json; JSON file 202609060528-test-record.json; JSON file 202609060521-test-record.json; JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json. Out: web page. Voltage levels named: 33kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v096.html. - Signatures: `escA(s)`; `flatten(children)`; `stamp(r)`; `rowHtml(r)`; `buildAreas()`; `filterAreas(raw)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file 202609060537-test-record.json; JSON file 202609060528-test-record.json; JSON file 202609060521-test-record.json; JSON file 202609060517-test-record.json; JSON file 202609060509-test-record.json; JSON file 202609060504-test-record.json; JSON file 202609060503-test-record.json; JSON file 202609060447-test-record.json]; out [web page]; crs []; voltages [33kV] - Edges: uses 26 estate files (estate-url 9, script-src 8, stylesheet 5, link 4); used by 0; mentioned by 0 ### Homepage V098 - File: globalgrid2050/homepage_versions/homepage_v098.html (HTML, 168 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v098.html#L1-L168 - Page: https://code.globalgrid2050.com/explore-code/s/1960.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v098.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue. Published at https://globalgrid2050.com/homepage_versions/homepage_v098.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the agent cell helper (`agentCell`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, agentCell. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v098.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `agentCell(e)`; `row(e)`; `th(label, key)`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 0; mentioned by 0 ### Homepage V099 - File: globalgrid2050/homepage_versions/homepage_v099.html (HTML, 197 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v099.html#L1-L197 - Page: https://code.globalgrid2050.com/explore-code/s/1960.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v099.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue. Published at https://globalgrid2050.com/homepage_versions/homepage_v099.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the agent cell helper (`agentCell`). Defines `esc`, `rowsFor`, `passes` and 5 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue. Defines 9 functions or classes, including esc, rowsFor, passes, sortRows, agentCell. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v099.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `agentCell(e)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 0; mentioned by 0 ### Homepage V100 - File: globalgrid2050/homepage_versions/homepage_v100.html (HTML, 209 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v100.html#L1-L209 - Page: https://code.globalgrid2050.com/explore-code/s/1960.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v100.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables. Published at https://globalgrid2050.com/homepage_versions/homepage_v100.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the agent cell helper (`agentCell`). Defines `esc`, `rowsFor`, `passes` and 5 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 9 functions or classes, including esc, rowsFor, passes, sortRows, agentCell. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v100.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `agentCell(e)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 0; mentioned by 0 ### Homepage V101 - File: globalgrid2050/homepage_versions/homepage_v101.html (HTML, 200 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v101.html#L1-L200 - Page: https://code.globalgrid2050.com/explore-code/s/1961.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v101.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables. Published at https://globalgrid2050.com/homepage_versions/homepage_v101.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v101.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 0; mentioned by 0 ### Homepage V102 - File: globalgrid2050/homepage_versions/homepage_v102.html (HTML, 201 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v102.html#L1-L201 - Page: https://code.globalgrid2050.com/explore-code/s/1961.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v102.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v102.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v102.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 0; mentioned by 0 ### Homepage V103 - File: globalgrid2050/homepage_versions/homepage_v103.html (HTML, 202 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v103.html#L1-L202 - Page: https://code.globalgrid2050.com/explore-code/s/1961.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v103.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas and ventus-grid-engine repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v103.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v103.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 0; mentioned by 0 ### Homepage V104 - File: globalgrid2050/homepage_versions/homepage_v104.html (HTML, 202 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v104.html#L1-L202 - Page: https://code.globalgrid2050.com/explore-code/s/1962.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v104.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas and ventus-grid-engine repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v104.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v104.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 0; mentioned by 0 ### Homepage V105 - File: globalgrid2050/homepage_versions/homepage_v105.html (HTML, 203 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v105.html#L1-L203 - Page: https://code.globalgrid2050.com/explore-code/s/1962.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v105.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas and ventus-grid-engine repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v105.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v105.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 0; mentioned by 0 ### Homepage V106 - File: globalgrid2050/homepage_versions/homepage_v106.html (HTML, 195 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v106.html#L1-L195 - Page: https://code.globalgrid2050.com/explore-code/s/1962.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v106.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas and ventus-grid-engine repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v106.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v106.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 0; mentioned by 0 ### Homepage V107 - File: globalgrid2050/homepage_versions/homepage_v107.html (HTML, 196 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v107.html#L1-L196 - Page: https://code.globalgrid2050.com/explore-code/s/1963.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v107.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas and ventus-grid-engine repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v107.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v107.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 0; mentioned by 0 ### Homepage V108 - File: globalgrid2050/homepage_versions/homepage_v108.html (HTML, 196 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v108.html#L1-L196 - Page: https://code.globalgrid2050.com/explore-code/s/1963.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v108.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas and ventus-grid-engine repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v108.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v108.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 0; mentioned by 0 ### Homepage V109 - File: globalgrid2050/homepage_versions/homepage_v109.html (HTML, 196 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v109.html#L1-L196 - Page: https://code.globalgrid2050.com/explore-code/s/1963.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v109.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas and ventus-grid-engine repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v109.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v109.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 0; mentioned by 0 ### Homepage V110 - File: globalgrid2050/homepage_versions/homepage_v110.html (HTML, 196 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v110.html#L1-L196 - Page: https://code.globalgrid2050.com/explore-code/s/1964.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v110.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas and ventus-grid-engine repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v110.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v110.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (link 2); used by 0; mentioned by 0 ### Homepage V111 - File: globalgrid2050/homepage_versions/homepage_v111.html (HTML, 197 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v111.html#L1-L197 - Page: https://code.globalgrid2050.com/explore-code/s/1964.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v111.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas, ventus-grid-engine and stars repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v111.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v111.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 0; mentioned by 0 ### Homepage V112 - File: globalgrid2050/homepage_versions/homepage_v112.html (HTML, 196 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v112.html#L1-L196 - Page: https://code.globalgrid2050.com/explore-code/s/1964.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v112.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas, ventus-grid-engine and stars repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v112.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v112.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 0; mentioned by 0 ### Homepage V113 - File: globalgrid2050/homepage_versions/homepage_v113.html (HTML, 197 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v113.html#L1-L197 - Page: https://code.globalgrid2050.com/explore-code/s/1965.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v113.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas, ventus-grid-engine and stars repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v113.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v113.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 0; mentioned by 0 ### Homepage V114 - File: globalgrid2050/homepage_versions/homepage_v114.html (HTML, 197 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v114.html#L1-L197 - Page: https://code.globalgrid2050.com/explore-code/s/1965.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v114.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas, ventus-grid-engine and stars repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v114.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v114.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 0; mentioned by 0 ### Homepage V115 - File: globalgrid2050/homepage_versions/homepage_v115.html (HTML, 197 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v115.html#L1-L197 - Page: https://code.globalgrid2050.com/explore-code/s/1965.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v115.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas, ventus-grid-engine and stars repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v115.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v115.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 0; mentioned by 0 ### Homepage V116 - File: globalgrid2050/homepage_versions/homepage_v116.html (HTML, 198 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v116.html#L1-L198 - Page: https://code.globalgrid2050.com/explore-code/s/1966.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v116.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue, solar and cables, and uses data from the GridAtlas, ventus-grid-engine and stars repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v116.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue, solar and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: solar, cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: star-sector-star data; data source: star-solar-star data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v116.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: star-sector-star data; data source: star-solar-star data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 0; mentioned by 0 ### Homepage V118 - File: globalgrid2050/homepage_versions/homepage_v118.html (HTML, 197 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v118.html#L1-L197 - Page: https://code.globalgrid2050.com/explore-code/s/1966.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v118.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas, ventus-grid-engine and stars repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v118.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v118.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 0; mentioned by 0 ### Homepage V119 - File: globalgrid2050/homepage_versions/homepage_v119.html (HTML, 197 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v119.html#L1-L197 - Page: https://code.globalgrid2050.com/explore-code/s/1966.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v119.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas, ventus-grid-engine and stars repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v119.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v119.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 0; mentioned by 0 ### Homepage V120 - File: globalgrid2050/homepage_versions/homepage_v120.html (HTML, 197 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v120.html#L1-L197 - Page: https://code.globalgrid2050.com/explore-code/s/1967.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v120.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas, ventus-grid-engine and stars repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v120.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v120.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 3 estate files (link 3); used by 0; mentioned by 0 ### Homepage V121 - File: globalgrid2050/homepage_versions/homepage_v121.html (HTML, 197 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v121.html#L1-L197 - Page: https://code.globalgrid2050.com/explore-code/s/1967.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v121.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas, ventus-grid-engine and stars repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v121.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: galaxies-wafers data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v121.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: galaxies-wafers data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 0; mentioned by 0 ### Homepage V122 - File: globalgrid2050/homepage_versions/homepage_v122.html (HTML, 197 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v122.html#L1-L197 - Page: https://code.globalgrid2050.com/explore-code/s/1967.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v122.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue and cables, and uses data from the GridAtlas, ventus-grid-engine and stars repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v122.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue and cables. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: galaxies-wafers data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v122.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: galaxies-wafers data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (link 5); used by 0; mentioned by 0 ### Homepage V123 - File: globalgrid2050/homepage_versions/homepage_v123.html (HTML, 260 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v123.html#L1-L260 - Page: https://code.globalgrid2050.com/explore-code/s/1968.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v123.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue, using IEC 60909 and IEC 60228 and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v123.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. Its code works with 132 kV, 400 kV and 33 kV. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue, cables, substations and solar. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables, substations, solar, 400kV, 132kV, 33kV. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: galaxies-wafers data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 1500V. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v123.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: galaxies-wafers data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 1500V] - Edges: uses 46 estate files (link 46); used by 0; mentioned by 0 ### Homepage V124 - File: globalgrid2050/homepage_versions/homepage_v124.html (HTML, 260 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v124.html#L1-L260 - Page: https://code.globalgrid2050.com/explore-code/s/1968.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v124.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue, using IEC 60909 and IEC 60228 and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v124.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. Its code works with 132 kV, 400 kV and 33 kV. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue, cables, substations and solar. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables, substations, solar, 400kV, 132kV, 33kV. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: galaxies-wafers data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v124.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: galaxies-wafers data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV] - Edges: uses 47 estate files (link 47); used by 0; mentioned by 0 ### Homepage V125 - File: globalgrid2050/homepage_versions/homepage_v125.html (HTML, 273 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v125.html#L1-L273 - Page: https://code.globalgrid2050.com/explore-code/s/1969.html#f1 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v125.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 that draws homepage catalogue, using IEC 60909 and IEC 60228 and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v125.html. - What it achieves (name): It sorts rows (`sortRows`) and is built from the rows for helper (`rowsFor`) and the row step (`row`). Defines `esc`, `rowsFor`, `passes` and 4 more. Its code works with 132 kV, 400 kV and 33 kV. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events. - What it does: It draws homepage catalogue, cables, solar and substations. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables, solar, substations, 400kV, 132kV, 33kV. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: galaxies-wafers data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v125.html. - Signatures: `esc(s)`; `rowsFor(nest)`; `passes(e)`; `sortRows(rows)`; `row(e)`; `th(label, key)`; `browsing()`; `build()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: galaxies-wafers data; JSON file homepage-catalogue.json; form fields (user input)]; out [web page]; crs []; voltages [400kV, 132kV, 33kV] - Edges: uses 47 estate files (link 47); used by 0; mentioned by 0 ### Homepage V127 - File: globalgrid2050/homepage_versions/homepage_v127.html (HTML, 26 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v127.html#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/1969.html#f2 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v127.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v127.html. - What it achieves (comment): Explore the original Kuiper, GridAtlas, Pipeline News and Solar Design Studio. - What it does: It draws solar. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v127.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 0; mentioned by 0 ### Homepage V128 - File: globalgrid2050/homepage_versions/homepage_v128.html (HTML, 25 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v128.html#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1969.html#f3 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v128.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar and uses data from the GridAtlas repository. Published at https://globalgrid2050.com/homepage_versions/homepage_v128.html. - What it achieves (comment): Explore Kuiper, GridAtlas, Pipeline News and Solar Design Studio. - What it does: It draws solar. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v128.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 5 estate files (link 4, script-src 1); used by 0; mentioned by 0 ### Homepage V130 - File: globalgrid2050/homepage_versions/homepage_v130.html (HTML, 26 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/homepage_versions/homepage_v130.html#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/1969.html#f4 - Published at: https://globalgrid2050.com/homepage_versions/homepage_v130.html - Synopsis: A web page in the homepage versions folder of GlobalGrid2050 covering solar and uses data from the GridAtlas and GlobalGrid2050-ip-and-mac-addresses repositories. Published at https://globalgrid2050.com/homepage_versions/homepage_v130.html. - What it achieves (comment): Explore Kuiper, GridAtlas, Pipeline News and Solar Design Studio. - What it does: It draws solar. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: solar. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/homepage_v130.html. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 6 estate files (link 5, script-src 1); used by 0; mentioned by 0 ### GlobalGrid2050 — How to Work with GlobalGrid2050 Page - File: globalgrid2050/how_to_work_with_globalgrid2050/index.html (HTML, 77 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/how_to_work_with_globalgrid2050/index.html#L1-L77 - Page: https://code.globalgrid2050.com/explore-code/s/1969.html#f5 - Published at: https://globalgrid2050.com/how_to_work_with_globalgrid2050/ - Synopsis: A web page covering cables. Published at https://globalgrid2050.com/how_to_work_with_globalgrid2050/. - What it does: It draws cables. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 39 files: GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage Versions — GlobalGrid2050 Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/202608291526-globalgrid2050/); Homepage V001 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v001.html); and 35 more. Reached from 86 other entry points, including Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html); Homepage V039 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v039.html). It is itself an entry point, published at https://globalgrid2050.com/how_to_work_with_globalgrid2050/. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 39; mentioned by 0 ### Papers — Published Fault Level Page - File: globalgrid2050/papers/202609060045-published-fault-level/index.html (HTML, 190 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/papers/202609060045-published-fault-level/index.html#L1-L190 - Page: https://code.globalgrid2050.com/explore-code/s/1969.html#f6 - Published at: https://globalgrid2050.com/papers/202609060045-published-fault-level/ - Synopsis: A web page in GlobalGrid2050 covering 132kV, using IEC 60909 and IEC 60909-0 and uses data from the spiders repository. Published at https://globalgrid2050.com/papers/202609060045-published-fault-level/. - What it achieves (comment): How an open grid map may carry a fault-level figure: by exact metric name, from a named publisher, on a stated date, under a stated study basis, and never by calculation. Its code works with 132 kV, 100 MVA and 11 kV. - What it does: It draws 132kV, substations, 11kV and solar. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: 132kV, substations, 11kV, solar, 400kV, 33kV. - Inputs & outputs: Out: web page. Voltage levels named: 400kV, 132kV, 33kV, 11kV, 6.6kV. - Downstream impact: Used directly by 46 files: Grid Engine — Solar Battery Energy Storage System (BESS) Export Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060217-solar-bess-export/); Grid Engine — Solar Farm Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060318-solar-farm/); Grid Engine — Substation Growth Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060218-substation-growth/); Grid Engine — Interconnectors Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060305-interconnectors/); and 42 more. Reached from 2 other entry points, including Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). It is itself an entry point, published at https://globalgrid2050.com/papers/202609060045-published-fault-level/. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [400kV, 132kV, 33kV, 11kV, 6.6kV] - Edges: uses 3 estate files (link 2, script-src 1); used by 46; mentioned by 0 ### GlobalGrid2050 — Plant Page - File: globalgrid2050/plant/index.html (HTML, 136 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/plant/index.html#L1-L136 - Page: https://code.globalgrid2050.com/explore-code/s/1970.html#f1 - Published at: https://globalgrid2050.com/plant/ - Synopsis: A web page. Published at https://globalgrid2050.com/plant/. - What it achieves (comment): Will this string go over 1500 V on the coldest morning? - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 1500V (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 1500V. - Inputs & outputs: In: form fields (user input). Out: web page. Voltage levels named: 1500V. - Downstream impact: Used directly by 25 files: Kuiper Grid — I0073 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0073/); Kuiper Grid — I0083 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0083/); Kuiper Grid — I0084 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0084/); Kuiper Grid — I0085 Page (globalgrid2050, https://globalgrid2050.com/kuiper-grid/i0085/); and 21 more. Reached from 84 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/plant/. - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [1500V] - Edges: uses 3 estate files (link 3); used by 25; mentioned by 0 ### GlobalGrid2050 Status - File: globalgrid2050/status.html (HTML, 56 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/status.html#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1970.html#f2 - Published at: https://globalgrid2050.com/status.html - Synopsis: A web page covering the Renewable Energy Planning Database (REPD) register and substations, using SHA-256. Published at https://globalgrid2050.com/status.html. - What it achieves (name): Its code works with 132 kV. - What it does: It draws the REPD register and substations. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, substations, 132kV. - Inputs & outputs: Out: web page. Voltage levels named: 132kV. - Downstream impact: Used directly by 52 files: Live Log (claude); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html); Homepage V039 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v039.html); and 48 more. It is itself an entry point, published at https://globalgrid2050.com/status.html. - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [132kV] - Edges: uses 0 estate files; used by 52; mentioned by 0 ### Capsule Launch - File: globalgrid2050/testcode/202609051344/capsule-launch.js (JavaScript, 13 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051344/capsule-launch.js#L1-L13 - Page: https://code.globalgrid2050.com/explore-code/s/1970.html#f3 - Synopsis: A JavaScript file in the testcode folder of GlobalGrid2050 that fetches cases. - What it achieves (name): It reads `./cases.json`. It responds to click events. - What it does: It fetches cases. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file cases.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file cases.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Dismissal - File: globalgrid2050/testcode/202609051932/tool-layers/dismissal.js (JavaScript, 16 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051932/tool-layers/dismissal.js#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/1970.html#f4 - Synopsis: A JavaScript module in the tool layers folder of GlobalGrid2050 that works with detach child (`detachChild`). - What it achieves (comment): It binds layer dismissal (`bindLayerDismissal`) and is built from the handle step (`handle`) and the detach child helper (`detachChild`). Close a visible tool with Escape, including when focus is inside its same-origin app. It responds to keydown and load events. - What it does: Defines bindLayerDismissal, handle, detachChild, loaded. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Dismissal Test (testcode); Host (globalgrid2050). Reached from 3 other entry points, including Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `export bindLayerDismissal(layer, frame, close)`; `handle(event)`; `detachChild()`; `loaded()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Viewport - File: globalgrid2050/testcode/202609051945/tool-layers/viewport.js (JavaScript, 16 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051945/tool-layers/viewport.js#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/1970.html#f5 - Synopsis: A JavaScript module in the tool layers folder of GlobalGrid2050. It applies tool viewport (`applyToolViewport`). - What it achieves (comment): Size only the integration frame; the original application's layout remains its own. - What it does: Defines applyToolViewport. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Host (globalgrid2050). - Signatures: `export applyToolViewport(layer, bar, frame)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Focus Boundary - File: globalgrid2050/testcode/202609051948/tool-layers/focus-boundary.js (JavaScript, 24 lines) · role interaction · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051948/tool-layers/focus-boundary.js#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1970.html#f6 - Synopsis: A JavaScript module in the tool layers folder of GlobalGrid2050 that keeps keyboard traversal within a same-origin tool without changing its internal tab order. - What it achieves (name): It is built from the loaded step (`loaded`). Defines `bindFocusBoundary`, `items`, `handle` and 1 more. It responds to keydown and load events. - What it does: It lists and searches its content. Defines bindFocusBoundary, items, handle, loaded. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Focus Boundary Test (testcode); Host (globalgrid2050). Reached from 3 other entry points, including Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `export bindFocusBoundary(layer, frame, close)`; `items()`; `handle(event)`; `loaded()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Recovery - File: globalgrid2050/testcode/202609051953/tool-layers/recovery.js (JavaScript, 12 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609051953/tool-layers/recovery.js#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1970.html#f7 - Synopsis: A JavaScript module in the tool layers folder of GlobalGrid2050. It is built from the should offer recovery helper (`shouldOfferRecovery`) and the mount tool recovery helper (`mountToolRecovery`). - What it achieves (name): Defines `shouldOfferRecovery`, `mountToolRecovery` and `reflect`. It responds to click events. - What it does: It draws its content. Defines shouldOfferRecovery, mountToolRecovery, reflect. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Recovery Test (testcode); Host (globalgrid2050). Reached from 3 other entry points, including Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `export shouldOfferRecovery(state)`; `export mountToolRecovery(bar, status, requestConfirmation)`; `reflect()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Navigation - File: globalgrid2050/testcode/202609052015/tool-layers/navigation.js (JavaScript, 28 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609052015/tool-layers/navigation.js#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1970.html#f8 - Synopsis: A JavaScript module in the tool layers folder of GlobalGrid2050 that resolves tool destination (`resolveToolDestination`). It resolves tool destination (`resolveToolDestination`) and binds tool navigation (`bindToolNavigation`). - What it achieves (comment): Bind the visible shell to the current document, keeping original links intact. It responds to load events. - What it does: Defines resolveToolDestination, bindToolNavigation, loaded. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Navigation Test (testcode); Host (globalgrid2050). Reached from 3 other entry points, including Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `export resolveToolDestination(href, registry, base)`; `export bindToolNavigation(layer,frame,title,status,registry,base,initial)`; `loaded()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 1 ### Readiness - File: globalgrid2050/testcode/202609052015/tool-layers/readiness.js (JavaScript, 52 lines) · role interaction · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609052015/tool-layers/readiness.js#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1970.html#f9 - Synopsis: A JavaScript module in the tool layers folder of GlobalGrid2050 that draws on a canvas, covering cables. - What it achieves (comment): It is built from the inspect tool readiness helper (`inspectToolReadiness`), the observe tool readiness helper (`observeToolReadiness`) and the timed out helper (`timedOut`). Interface and drawing readiness are separate: DOM presence is not map completion. It responds to load and tool events. - What it does: It draws cables. Defines 6 functions or classes, including inspectToolReadiness, observeToolReadiness, timedOut, started, check. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: Out: canvas drawing. - Downstream impact: Used directly by 2 files: Readiness Test (testcode); Navigation (globalgrid2050). Reached from 4 other entry points, including Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `export inspectToolReadiness(id, doc)`; `export observeToolReadiness(tool, frame, status, {timeout=30000,interval=200,startLoaded=false}={})`; `timedOut()`; `started()`; `check()`; `navigating()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Source Browser - File: globalgrid2050/testcode/202609052023/source-browser/source-browser.mjs (JavaScript, 65 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609052023/source-browser/source-browser.mjs#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/1970.html#f10 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that draws scopes, using SHA-256. It selects tool (`selectTool`). - What it achieves (name): Defines `option` and `selectTool`. It reads `../layer-source-scopes.json`. It responds to click and change events. - What it does: It draws scopes. Defines option, selectTool. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file layer-source-scopes.json. - Signatures: `option(value,text)`; `selectTool()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file layer-source-scopes.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Host - File: globalgrid2050/testcode/202609052023/tool-layers/host.js (JavaScript, 59 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609052023/tool-layers/host.js#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/1970.html#f11 - Synopsis: A JavaScript module in the tool layers folder of GlobalGrid2050 that mounts tool layers (`mountToolLayers`). - What it achieves (comment): It is built from the mount tool layers helper (`mountToolLayers`), the dismiss step (`dismiss`) and the source ready helper (`sourceReady`). Isolated, persistent app layers. Each iframe owns its UI and calculation state. It responds to click and load events. - What it does: It draws its content. Defines mountToolLayers, dismiss, sourceReady. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Teleprinter Bootstrap (globalgrid2050). - Signatures: `export mountToolLayers(tools, base = import.meta.url, registry = tools)`; `dismiss()`; `sourceReady()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 6 estate files (import 6); used by 1; mentioned by 0 ### Reported Project - File: globalgrid2050/testcode/202609060208/reported-project.mjs (JavaScript, 24 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609060208/reported-project.mjs#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/1970.html#f12 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050. It is built from the validate step (`validate`). - What it achieves (comment): A named, attributed report is useful even when it has no validated Renewable Energy Planning Database (REPD) join. - What it does: It calculates its inputs. Defines validateReportedProject, validate. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 6 files: Reported Project Panel (globalgrid2050); BBC RSS Pipeline Model (globalgrid2050); BBC RSS Pipeline Model (pipelinenews); Reported Project Test (pipelinenews); and 2 more. Reached from 2 other entry points, including PipelineNews Coverage Contract Workflow (pipelinenews); BBC RSS Pipeline Model Test (pipelinenews). - Signatures: `export validateReportedProject(project)`; `validate(claims, subject)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 1 ### Journey - File: globalgrid2050/testcode/202609141423/journey.js (JavaScript, 115 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141423/journey.js#L1-L115 - Page: https://code.globalgrid2050.com/explore-code/s/1970.html#f13 - Synopsis: A JavaScript file in the testcode folder of GlobalGrid2050 that draws blocks (`drawBlocks`) and renders route (`renderRoute`). It draws blocks (`drawBlocks`) and renders route (`renderRoute`). - What it achieves (comment): Reuses the published universe reader. This view changes navigation, not permanent identities. It responds to click, popstate and hashchange events. - What it does: It lists and searches its content. Defines 12 functions or classes, including row, paged, draw, box, link. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `row(title, detail, act)`; `paged(host, list, render, size = 24)`; `draw()`; `box(title)`; `link(label, url)`; `navigate(kind, id)`; `route()`; `groupsFor(n)`; `drawBlocks()`; `relationList(title, items, type, go)`; `renderRoute()`; `start()` - domain_stage: experimental · commercial_user: none · canonical_status: duplicate_candidate (duplicate of globalgrid2050/testcode/202609141754/code-navigation/navigation.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Testcode — V02 Radial Sunburst Page - File: globalgrid2050/testcode/202609141522/v02-radial-sunburst/index.html (HTML, 74 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141522/v02-radial-sunburst/index.html#L1-L74 - Page: https://code.globalgrid2050.com/explore-code/s/1970.html#f14 - Published at: https://globalgrid2050.com/testcode/202609141522/v02-radial-sunburst/ - Synopsis: A web page in GlobalGrid2050 that shows cat (`showCat`) and block (`showBlock`), opens family (`openFamily`) and draws SVG graphics. Published at https://globalgrid2050.com/testcode/202609141522/v02-radial-sunburst/. - What it achieves (name): It shows cat (`showCat`), shows block (`showBlock`) and opens family (`openFamily`). Defines `arc`, `ring`, `centre` and 3 more. It responds to click events. - What it does: It draws its content. Defines 8 functions or classes, including sv, arc, p, ring, centre. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page; SVG drawing. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141522/v02-radial-sunburst/. - Signatures: `sv(t, a)`; `arc(r0, r1, a0, a1)`; `p(r, a)`; `ring(items, r0, r1, onClick)`; `centre(title, sub, onClick)`; `showCat(id)`; `showBlock(sym)`; `openFamily(n)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 0; mentioned by 1 ### Testcode — V05 Chord Dependencies Page - File: globalgrid2050/testcode/202609141522/v05-chord-dependencies/index.html (HTML, 52 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141522/v05-chord-dependencies/index.html#L1-L52 - Page: https://code.globalgrid2050.com/explore-code/s/1971.html#f1 - Published at: https://globalgrid2050.com/testcode/202609141522/v05-chord-dependencies/ - Synopsis: A web page in GlobalGrid2050 that opens family (`openFamily`) and draws SVG graphics. Published at https://globalgrid2050.com/testcode/202609141522/v05-chord-dependencies/. It opens family (`openFamily`). - What it achieves (name): Defines `draw`, `pick` and `openFamily`. It responds to click events. - What it does: It draws its content. Defines 6 functions or classes, including sv, draw, p, xy, pick. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page; SVG drawing. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141522/v05-chord-dependencies/. - Signatures: `sv(t, a)`; `draw()`; `p(r, a)`; `xy(a)`; `pick(sym)`; `openFamily(n)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 0; mentioned by 0 ### Testcode — V06 Treemap Lines Page - File: globalgrid2050/testcode/202609141522/v06-treemap-lines/index.html (HTML, 59 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141522/v06-treemap-lines/index.html#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/1971.html#f2 - Published at: https://globalgrid2050.com/testcode/202609141522/v06-treemap-lines/ - Synopsis: A web page in GlobalGrid2050 that shows cat (`showCat`) and block (`showBlock`) and opens family (`openFamily`). Published at https://globalgrid2050.com/testcode/202609141522/v06-treemap-lines/. It shows cat (`showCat`), shows block (`showBlock`) and opens family (`openFamily`). - What it achieves (name): Defines `squarify`, `render`, `showCat` and 2 more. It responds to resize events. - What it does: It draws its content. Defines squarify, render, showCat, showBlock, openFamily. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141522/v06-treemap-lines/. - Signatures: `squarify(items, x, y, w, h)`; `render(items, onClick)`; `showCat(id)`; `showBlock(sym)`; `openFamily(n)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 0; mentioned by 1 ### Testcode — V07 Flow Repos Page - File: globalgrid2050/testcode/202609141522/v07-flow-repos/index.html (HTML, 59 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141522/v07-flow-repos/index.html#L1-L59 - Page: https://code.globalgrid2050.com/explore-code/s/1971.html#f3 - Published at: https://globalgrid2050.com/testcode/202609141522/v07-flow-repos/ - Synopsis: A web page in GlobalGrid2050 that shows block (`showBlock`), opens family (`openFamily`) and draws SVG graphics. Published at https://globalgrid2050.com/testcode/202609141522/v07-flow-repos/. It shows block (`showBlock`) and opens family (`openFamily`). - What it achieves (name): Defines `draw`, `repoOf`, `place` and 4 more. It responds to click events. - What it does: It draws its content. Defines 8 functions or classes, including sv, draw, repoOf, place, band. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page; SVG drawing. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141522/v07-flow-repos/. - Signatures: `sv(t, a)`; `draw()`; `repoOf(b)`; `place(list, x, key)`; `band(a, b, w, col, tag)`; `label(m, anchor, dx, text, onClick, colour)`; `hot(tag)`; `showBlock(sym)`; `openFamily(n)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 0; mentioned by 0 ### Testcode — V08 Ring Journey Page - File: globalgrid2050/testcode/202609141522/v08-ring-journey/index.html (HTML, 84 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141522/v08-ring-journey/index.html#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/1971.html#f4 - Published at: https://globalgrid2050.com/testcode/202609141522/v08-ring-journey/ - Synopsis: A web page in GlobalGrid2050 that opens block (`openBlock`) and fam (`openFam`) and draws SVG graphics. Published at https://globalgrid2050.com/testcode/202609141522/v08-ring-journey/. It opens block (`openBlock`) and opens fam (`openFam`). - What it achieves (name): Defines `blockAt`, `draw`, `openBlock` and 1 more. It responds to click events. - What it does: It draws its content. Defines 6 functions or classes, including sv, pt, blockAt, draw, openBlock. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page; SVG drawing. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141522/v08-ring-journey/. - Signatures: `sv(t, a)`; `pt(r, a)`; `blockAt(sym)`; `draw()`; `step(Math.PI * 2)`; `openBlock(sym)`; `openFam(n)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 0; mentioned by 0 ### Testcode — V09 Line River Page - File: globalgrid2050/testcode/202609141522/v09-line-river/index.html (HTML, 60 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141522/v09-line-river/index.html#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/1971.html#f5 - Published at: https://globalgrid2050.com/testcode/202609141522/v09-line-river/ - Synopsis: A web page in GlobalGrid2050 that shows block (`showBlock`) and opens family (`openFamily`). Published at https://globalgrid2050.com/testcode/202609141522/v09-line-river/. It shows block (`showBlock`) and opens family (`openFamily`). - What it achieves (name): Defines `showBlock`, `openFamily` and `list`. - What it does: It draws its content. Defines showBlock, openFamily, list. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141522/v09-line-river/. - Signatures: `showBlock(sym)`; `openFamily(n)`; `list(title, items, colour)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 0; mentioned by 0 ### Testcode — V10 Ide Search Page - File: globalgrid2050/testcode/202609141522/v10-ide-search/index.html (HTML, 70 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141522/v10-ide-search/index.html#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/1971.html#f6 - Published at: https://globalgrid2050.com/testcode/202609141522/v10-ide-search/ - Synopsis: A web page in GlobalGrid2050 that opens family (`openFamily`). Published at https://globalgrid2050.com/testcode/202609141522/v10-ide-search/. It opens family (`openFamily`) and is built from the nav build helper (`navBuild`) and the SLD step (`sld`). - What it achieves (comment): V10 read-only IDE. It responds to toggle and click events. - What it does: It draws its content. Defines sv, navBuild, sld, openFamily. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141522/v10-ide-search/. - Signatures: `sv(t, a)`; `navBuild()`; `sld(sym, rec, n)`; `openFamily(n)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (script-src 1); used by 0; mentioned by 0 ### View - File: globalgrid2050/testcode/202609141531/view.js (JavaScript, 12 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141531/view.js#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1971.html#f7 - Synopsis: A JavaScript file in the testcode folder of GlobalGrid2050. - What it achieves (name): Defines `render`. It reads `data.json`. It responds to input and click events. - What it does: It draws its content. Defines render. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file data.json. - Signatures: `render()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file data.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Testcode — Block Register Page - File: globalgrid2050/testcode/202609141754/block-register/index.html (HTML, 126 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/block-register/index.html#L1-L126 - Page: https://code.globalgrid2050.com/explore-code/s/1971.html#f8 - Published at: https://globalgrid2050.com/testcode/202609141754/block-register/ - Synopsis: A web page in GlobalGrid2050 that draws blocks and uses data from the ventus-grid-engine, stars and code-generator repositories. Published at https://globalgrid2050.com/testcode/202609141754/block-register/. It closes panel (`closePanel`) and shows category (`showCategory`). - What it achieves (name): Defines `esc`, `repoName`, `byName` and 5 more. - What it does: It draws blocks. Defines 11 functions or classes, including $, esc, T, L, repoName. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: stars data; data source: code-generator data; JSON file blocks.json. Out: web page. - Downstream impact: Used directly by 1 file: Testcode — Code Record Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-record/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/block-register/. - Signatures: `$(s)`; `esc(s)`; `T(s)`; `L(u)`; `repoName(r)`; `byName(a, b)`; `closePanel()`; `show(sym)`; `deps(b.depends_on || [])`; `usedBy(b.used_by || [])`; `inside(b.inside || [])`; `need(n)`; `showCategory(id)`; `tile(b, c)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: stars data; data source: code-generator data; JSON file blocks.json]; out [web page]; crs []; voltages [] - Edges: uses 6 estate files (link 3, estate-url 2, script-src 1); used by 1; mentioned by 0 ### Testcode — Code Navigation - File: globalgrid2050/testcode/202609141754/code-navigation/core.js (JavaScript, 182 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/code-navigation/core.js#L1-L182 - Page: https://code.globalgrid2050.com/explore-code/s/1972.html#f1 - Published at: https://globalgrid2050.com/testcode/202609141754/code-navigation/ - Synopsis: A JavaScript file in GlobalGrid2050 that draws blocks, families and names, and uses data from raw.githubusercontent.com and the stars repository. Served with the page at https://globalgrid2050.com/testcode/202609141754/code-navigation/. - What it achieves (comment): It gets JSON (`getJSON`), loads universe (`loadUniverse`) and renders trail (`renderTrail`). GlobalGrid2050 code reader core (public copy of `testcode/202609141423/core.js`). It responds to input events. - What it does: It draws blocks, families and names. Defines 33 functions or classes, including CORP_BASE, say, sayType, pageLink, $. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "Wording: every data-derived string passes through `../corporate.js` (via `say()`, `sayType()` and `pageLink()` in `core.js`)." - Inputs & outputs: In: data source: raw.githubusercontent.com; data source: stars data; JSON file blocks.json; JSON file families.json; JSON file index.json; JSON file names.json. - Downstream impact: Used directly by 1 file: Testcode — Code Navigation Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-navigation/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/code-navigation/. - Signatures: `CORP(typeof window !== 'undefined' && window.Corporate)`; `CORP_BASE(() => { const s = [...document.scripts].find(x => /(^|\/)corporate\.js([?)`; `say(s, type)`; `sayType(t)`; `pageLink(url)`; `$(s, r = document)`; `esc(s)`; `el(tag, attrs = {}, ...kids)`; `getJSON(url)`; `fail(where, err)`; `loadUniverse()`; `catColour(id)`; `catTitle(id)`; `catName(c)`; `blockTitle(b)`; `blockDesc(b)`; `blockLabel(sym)`; `blockFamilies(sym)`; `blockDeps(sym)`; `blockUsers(sym)`; `blockPage(sym)`; `countsLine()`; `family(n)`; `familyLines(rec)`; `p(rec.places || [])` (and 10 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: raw.githubusercontent.com; data source: stars data; JSON file blocks.json; JSON file families.json; JSON file index.json; JSON file names.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 1; mentioned by 0 ### Testcode — Code Navigation Page - File: globalgrid2050/testcode/202609141754/code-navigation/index.html (HTML, 17 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/code-navigation/index.html#L1-L17 - Page: https://code.globalgrid2050.com/explore-code/s/1972.html#f2 - Published at: https://globalgrid2050.com/testcode/202609141754/code-navigation/ - Synopsis: A web page in GlobalGrid2050 that reads inputs for block filter and category. Published at https://globalgrid2050.com/testcode/202609141754/code-navigation/. - What it does: It draws its content. Uses libraries navigation.css. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/code-navigation/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (script-src 3, link 1); used by 0; mentioned by 0 ### Navigation - File: globalgrid2050/testcode/202609141754/code-navigation/navigation.js (JavaScript, 115 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/code-navigation/navigation.js#L1-L115 - Page: https://code.globalgrid2050.com/explore-code/s/1972.html#f3 - Published at: https://globalgrid2050.com/testcode/202609141754/code-navigation/ - Synopsis: A JavaScript file in the code navigation folder of GlobalGrid2050 that draws blocks (`drawBlocks`) and renders route (`renderRoute`). Served with the page at https://globalgrid2050.com/testcode/202609141754/code-navigation/. - What it achieves (comment): It draws blocks (`drawBlocks`) and renders route (`renderRoute`). Reuses the published code reader (`core.js`). It responds to click, popstate and hashchange events. - What it does: It lists and searches its content. Defines 12 functions or classes, including row, paged, draw, box, link. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`journey.css` and `journey.js` are published here as `navigation.css` and `navigation.js`, and the on-screen wording was rewritten in plain engineering language." - Downstream impact: Used directly by 1 file: Testcode — Code Navigation Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-navigation/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/code-navigation/. - Signatures: `row(title, detail, act)`; `paged(host, list, render, size = 24)`; `draw()`; `box(title)`; `link(label, url)`; `navigate(kind, id)`; `route()`; `groupsFor(n)`; `drawBlocks()`; `relationList(title, items, type, go)`; `renderRoute()`; `start()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Testcode — Code Record Page - File: globalgrid2050/testcode/202609141754/code-record/index.html (HTML, 144 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/code-record/index.html#L1-L144 - Page: https://code.globalgrid2050.com/explore-code/s/1972.html#f4 - Published at: https://globalgrid2050.com/testcode/202609141754/code-record/ - Synopsis: A web page in GlobalGrid2050 that draws blocks, families and names, using haversine, and uses data from the ventus-grid-engine and stars repositories. Published at https://globalgrid2050.com/testcode/202609141754/code-record/. - What it achieves (name): It loads family (`loadFamily`) and fetches source (`fetchSource`). Defines `esc`, `repoName`, `byName` and 5 more. - What it does: It draws blocks, families and names. Defines 12 functions or classes, including $, esc, T, L, repoName. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: stars data; JSON file blocks.json; JSON file families.json; JSON file index.json; JSON file names.json; form fields (user input). Out: web page. - Downstream impact: Used directly by 1 file: Testcode — Block Register Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/block-register/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/code-record/. - Signatures: `$(s)`; `esc(s)`; `T(s)`; `L(u)`; `repoName(r)`; `byName(a, b)`; `purposeOf(n)`; `loadFamily(n)`; `search(q)`; `fetchSource(p)`; `show(n)`; `gh(p)`; `uses(f.uses || [])`; `usedBy(f.used_by || [])` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: stars data; JSON file blocks.json; JSON file families.json; JSON file index.json; JSON file names.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 6 estate files (estate-url 3, link 2, script-src 1); used by 1; mentioned by 0 ### Corporate - File: globalgrid2050/testcode/202609141754/corporate.js (JavaScript, 183 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/corporate.js#L1-L183 - Page: https://code.globalgrid2050.com/explore-code/s/1972.html#f5 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that works with graph title (`graphTitle`) and graph description (`graphDescription`). - What it achieves (comment): It is built from the words step (`words`), the text step (`text`) and the label step (`label`). GlobalGrid2050 public wording layer (testcode ). - What it does: It calculates its inputs. Defines 8 functions or classes, including words, text, label, type, graphTitle. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 14 files: Code Map — V01 Dependency Drill Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/v01-dependency-drill/); Code Map — V02 Radial Hierarchy Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/v02-radial-hierarchy/); Code Map — V03 Block Map Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/v03-block-map/); Code Map — V04 Block Register Links Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/v04-block-register-links/); and 10 more. Reached from 1 other entry point, including Testcode — Code Map Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-map/). - Signatures: `words(s)`; `text(s)`; `label(s, type)`; `type(t)`; `graphTitle(id, fallback)`; `graphDescription(id, fallback)`; `link(url)`; `graphId(id)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 14; mentioned by 0 ### Testcode — Grid Engine Page - File: globalgrid2050/testcode/202609141754/grid-engine/index.html (HTML, 254 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609141754/grid-engine/index.html#L1-L254 - Page: https://code.globalgrid2050.com/explore-code/s/1973.html#f1 - Published at: https://globalgrid2050.com/testcode/202609141754/grid-engine/ - Synopsis: A web page in GlobalGrid2050 that draws engine graph and uses data from Elexon Balancing Mechanism Reporting Service (BMRS) and the ventus-grid-engine and data-federation-map-for-GlobalGrid2050-all-repos repositories. Published at https://globalgrid2050.com/testcode/202609141754/grid-engine/. - What it achieves (comment): It applies root links (`applyRootLinks`), rebuilds select (`rebuildSelect`) and opens URL (`openUrl`). Public copy of ventusltd.github.io (testcode ): same live data, plain public wording via `../corporate.js`. It responds to change and click events. - What it does: It draws engine graph, genome spider and solar. Defines 20 functions or classes, including applyRootLinks, S, rebuildSelect, actionable, openUrl. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar. - Inputs & outputs: In: data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: Elexon BMRS; JSON file nodes.json; JSON file edges.json; JSON file engine-graph.json; JSON file genome-spider.json; DuckDB queries. Out: web page; SVG drawing. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/202609141754/grid-engine/. - Signatures: `applyRootLinks(nodes)`; `S()`; `rebuildSelect()`; `actionable(n)`; `openUrl(u)`; `handleTap(i)`; `drillInto(childKey)`; `popTo(idx)`; `neighbours(idx)`; `cardInner(node,opts={})`; `goLabel(n)`; `setHint()`; `setCrumbs()`; `draw()`; `drawColumn(focus,out,inc)`; `marker(defs,type)`; `distribute(items,side,cx,cy,gap,xGap)`; `drawSpider(focus,out,inc)`; `enableDragPan(el)`; `reshapeNodes(fc)`; `loadJSON(path)`; `loadRoot()`; `loadContents()`; `placeholderScope(title,path)`; `resolveRef(ids,r)` (and 4 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: data-federation-map-for-globalgrid2050-all-repos data; data source: Elexon BMRS; JSON file nodes.json; JSON file edges.json; JSON file engine-graph.json; JSON file genome-spider.json; DuckDB queries]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 3 estate files (stylesheet 1, script-src 1, estate-url 1); used by 0; mentioned by 0 ### Amend Pack - File: globalgrid2050/testcode/202609142202/amend_pack.mjs (JavaScript, 64 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142202/amend_pack.mjs#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/1973.html#f2 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that fetches provenance and electron, using SHA-256. It fetches verified (`fetchVerified`) and is built from the sha256 step (`sha256`). - What it achieves (comment): Repair round 1: add to the pack three facts the page used to carry as code literals. - What it does: It fetches provenance and electron. Defines sha256, fetchVerified. Uses libraries node:crypto, node:fs/promises, node:path, node:url. Side effects: reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "amended 2026-09-14T22:57:08Z by `amend_pack.mjs` (focus_default, conduction band, bucket size — see generation 1)." - Inputs & outputs: In: JSON file provenance.json; JSON file electron.json; JSON file index.json; JSON file graph.json. Out: JSON file electron.json; JSON file provenance.json. - Signatures: `sha256(buf)`; `fetchVerified(urlEnd)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file provenance.json; JSON file electron.json; JSON file index.json; JSON file graph.json]; out [JSON file electron.json; JSON file provenance.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### GlobalGrid2050 — Testcode - File: globalgrid2050/testcode/202609142225/core.js (JavaScript, 382 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/core.js#L1-L382 - Page: https://code.globalgrid2050.com/explore-code/s/1973.html#f3 - Synopsis: A JavaScript module that draws blocks, families, names and entangled, using SHA-256, and uses data from raw.githubusercontent.com and the stars repository. - What it achieves (comment): It gets JSON (`getJSON`), loads universe (`loadUniverse`) and loads names (`loadNames`). GlobalGrid2050 Star Generator — `core.js` (GRAMMAR §0, §1, §5). It responds to click events. - What it does: It draws blocks, families, names and entangled. Defines 39 functions or classes, including $, esc, el, getJSON, fail. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "A read-only lab page: `index.html` + `style.css` + `core.js` + `gl.js` + `ui.js` + `lenses/*.js` (ES modules, WebGL2, no CDN, no framework, no build step)." - Inputs & outputs: In: data source: raw.githubusercontent.com; data source: stars data; JSON file blocks.json; JSON file families.json; JSON file index.json; JSON file names.json; JSON file random.json; JSON file entangled.json. - Downstream impact: Used directly by 12 files: Testcode — V01 Spider Drill Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141522/v01-spider-drill/); Testcode — V03 Particle Universe Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141522/v03-particle-universe/); Testcode — V04 Periodic Arrows Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141522/v04-periodic-arrows/); Testcode — V02 Radial Sunburst Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141522/v02-radial-sunburst/); and 8 more. - Signatures: `export $(s, r = document)`; `export esc(s)`; `export el(tag, attrs = {}, ...kids)`; `export getJSON(url)`; `export fail(where, err)`; `export fmt(n)`; `export stamp(iso)`; `export shortUtc(iso)`; `export loadUniverse()`; `export loadNames()`; `export catColour(id)`; `export catTitle(id)`; `export blockLabel(sym)`; `export blockFamilies(sym)`; `export blockDeps(sym)`; `export blockUsers(sym)`; `export addEdge(a, b, kind, w = 1, via = null)`; `export family(n)`; `export familyLines(rec)`; `export familyLinks(rec, n)`; `export famName(rec)`; `export loadPack()`; `export countsLine()`; `export pageList(host, items, render, step = 40, label = 'more')`; `export trailPush(idx)` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: raw.githubusercontent.com; data source: stars data; JSON file blocks.json; JSON file families.json; JSON file index.json; JSON file names.json; JSON file random.json; JSON file entangled.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 12; mentioned by 0 ### Gl - File: globalgrid2050/testcode/202609142225/gl.js (JavaScript, 227 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/gl.js#L1-L227 - Page: https://code.globalgrid2050.com/explore-code/s/1974.html#f1 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that syncs pos tex (`syncPosTex`) and meta tex (`syncMetaTex`) and draws on a canvas. - What it achieves (comment): It syncs pos tex (`syncPosTex`) and syncs meta tex (`syncMetaTex`). Star Generator — `gl.js` (GRAMMAR §1.5). - What it does: It draws its content. Defines 11 functions or classes, including hex, ease, compile, mk, createGL. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "A read-only lab page: `index.html` + `style.css` + `core.js` + `gl.js` + `ui.js` + `lenses/*.js` (ES modules, WebGL2, no CDN, no framework, no build step)." - Inputs & outputs: Out: WebGL/WebGPU drawing. - Downstream impact: Used directly by 1 file: UI (globalgrid2050). - Signatures: `export createGL(canvas, core)`; `export draw2D(G, core, edges, edgeN)`; `hex(h)`; `ease(t)`; `compile(gl, vs, fs)`; `mk(t, s)`; `buf(data, usage = gl.STATIC_DRAW)`; `inst(loc, b, size, type, isInt)`; `mkSeg()`; `tex(internal, fmt, type, data)`; `syncPosTex()`; `syncMetaTex()`; `upload(seg, data, count)`; `time(now - G.time0)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Chord - File: globalgrid2050/testcode/202609142225/lenses/chord.js (JavaScript, 60 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/lenses/chord.js#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/1974.html#f2 - Synopsis: A JavaScript module in the lenses folder of GlobalGrid2050 that calculates planar distances. It is built from the put step (`put`). - What it achieves (comment): Lens chord — from v05-chord-dependencies (GRAMMAR §7 chord). It responds to click events. - What it does: It draws its content. Defines pt, put. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: UI (globalgrid2050). - Signatures: `pt(cx, cy, r, a)`; `hint(core, view)`; `simplify(width)`; `camera()`; `layout(core, view, out)`; `put(i, p)`; `edges(core, view)`; `geometry(core, view)`; `hit(core, view, x, y)`; `labels(core, view, max)`; `overlay(core, view, host, shell)`; `leave()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Column - File: globalgrid2050/testcode/202609142225/lenses/column.js (JavaScript, 75 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/lenses/column.js#L1-L75 - Page: https://code.globalgrid2050.com/explore-code/s/1974.html#f3 - Synopsis: A JavaScript module in the lenses folder of GlobalGrid2050. It is built from the card step (`card`) and the fan step (`fan`). - What it achieves (comment): Lens column — from ventus-grid-engine column view + v10 single-line diagram (GRAMMAR §7 column). It responds to click events. - What it does: It draws its content. Defines card, H, fan. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: UI (globalgrid2050). - Signatures: `card(core, i, view, shell, kindWord, focus)`; `hint(core, view)`; `simplify(width)`; `camera()`; `overlay(core, view, h, shell)`; `H(t)`; `layout(core, view, out)`; `fan(list, x, y0, y1)`; `edges(core, view)`; `geometry(core, view)`; `labels(core, view, max)`; `scrollTo(idx, visibleH)`; `leave()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Ring - File: globalgrid2050/testcode/202609142225/lenses/ring.js (JavaScript, 62 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/lenses/ring.js#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/1974.html#f4 - Synopsis: A JavaScript module in the lenses folder of GlobalGrid2050. It is built from the put step (`put`). - What it achieves (comment): Lens ring — from v08-ring-journey (GRAMMAR §7 ring). - What it does: It calculates its inputs. Defines pt, put. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: UI (globalgrid2050). - Signatures: `pt(cx, cy, r, a)`; `hint(core, view)`; `simplify(width)`; `camera()`; `layout(core, view, out)`; `put(i, p)`; `edges(core, view)`; `geometry(core, view)`; `labels(core, view, max)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### River - File: globalgrid2050/testcode/202609142225/lenses/river.js (JavaScript, 60 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/lenses/river.js#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/1974.html#f5 - Synopsis: A JavaScript module in the lenses folder of GlobalGrid2050. It is built from the spread step (`spread`) and the touched step (`touched`). - What it achieves (comment): Lens river — from v07-flow-repos with the ribbon idea of v09-line-river (GRAMMAR §7 river). - What it does: It calculates its inputs. Defines spread, S, touched. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: UI (globalgrid2050). - Signatures: `spread(out, list, fixed, lo, hi, vertical)`; `hint(core, view)`; `simplify(width)`; `camera(view)`; `layout(core, view, out)`; `edges(core, view)`; `geometry(core, view)`; `S(x0, y0, x1, y1, width, cat, cls)`; `touched(i)`; `labels(core, view, max)`; `leave()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Table - File: globalgrid2050/testcode/202609142225/lenses/table.js (JavaScript, 82 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/lenses/table.js#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/1974.html#f6 - Synopsis: A JavaScript module in the lenses folder of GlobalGrid2050. It is built from the parent of helper (`parentOf`), the tile step (`tile`) and the swipeable step (`swipeable`). - What it achieves (comment): Lens table — from `stars/table.html` + v04-periodic-arrows (GRAMMAR §7 table). It responds to pointerdown, pointermove and pointerup events. - What it does: It draws its content. Defines parentOf, tile, swipeable. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Column (globalgrid2050); UI (globalgrid2050). - Signatures: `export swipeable(node, i, shell, onTap)`; `parentOf(idx)`; `tile(core, i, view, shell)`; `hint(core, view)`; `simplify(width)`; `camera()`; `overlay(core, view, h, shell)`; `layout(core, view, out)`; `edges(core, view)`; `labels()`; `scrollTo(idx, visibleH)`; `leave()` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### UI - File: globalgrid2050/testcode/202609142225/ui.js (JavaScript, 500 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609142225/ui.js#L1-L500 - Page: https://code.globalgrid2050.com/explore-code/s/1975.html#f1 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that uses SHA-256 using data from the code-generator repository. It renders footer (`renderFooter`), opens block (`openBlockOf`) and computes lit (`computeLit`). - What it achieves (comment): Star Generator — `ui.js`: the shell (GRAMMAR §3 parts, §4 actions, §5 URL, §6 compose, §8 mobile). It responds to popstate, resize and input events. - What it does: It draws its content. Defines 69 functions or classes, including failBox, onPack, renderFooter, isMobile, openBlockOf. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "A read-only lab page: `index.html` + `style.css` + `core.js` + `gl.js` + `ui.js` + `lenses/*.js` (ES modules, WebGL2, no CDN, no framework, no build step)." - Inputs & outputs: In: data source: code-generator data; browser storage (getItem). Out: browser storage (setItem). - Signatures: `failBox(e)`; `onPack(ps)`; `renderFooter()`; `isMobile()`; `openBlockOf(idx)`; `computeLit()`; `makeView()`; `relayout(reason)`; `ctrl(mode, bow, ax, ay, bx, by, cx, cy)`; `gatherEdges()`; `flags(kind === 1 || kind === 2 || kind === 3)`; `gatherGeometry()`; `gatherJourney()`; `frame()`; `refreshLabels()`; `placeLabels()`; `navigate(idx, opts = {})`; `goHome(push = true)`; `measure(idx, key = null)`; `recipeEntity(key)`; `compose(key)`; `uncompose(key)`; `afterRecipe()`; `switchLens(id, push = true, opts = {})`; `refresh(home = false)` (and 15 more) - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: code-generator data; browser storage (getItem)]; out [browser storage (setItem)]; crs []; voltages [] - Edges: uses 9 estate files (import 8, estate-url 1); used by 0; mentioned by 0 ### Concept Compute - File: globalgrid2050/testcode/202609150010/concept_compute.py (Python, 203 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609150010/concept_compute.py#L1-L203 - Page: https://code.globalgrid2050.com/explore-code/s/1976.html#f1 - Synopsis: A Python command-line tool in the testcode folder of GlobalGrid2050 that reads task and solar, using SHA-256. It scans markdown (`scan_markdown`) and builds payload (`build_payload`). - What it achieves (comment): Compile the Sun Star concept into deterministic evidence and checks. It accepts `--repo`, `--lane` and `--output`. - What it does: It loads task and solar. Defines 11 functions or classes, including canonical, digest, file_record, scan_markdown, decode. Uses libraries __future__, argparse, ast, datetime, hashlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar. - Inputs & outputs: In: JSON file task.json; command-line arguments. - Downstream impact: Used directly by 2 files: GlobalGrid2050 Testcode Dual Compute Workflow (globalgrid2050); Test Dual Compute (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050). - Signatures: `canonical(value: Any)`; `digest(data: bytes)`; `file_record(repo: Path, relative: str)`; `scan_markdown(repo: Path, relative: str)`; `decode(dictionary: Any, value: Any)`; `pipeline_summary(repo: Path)`; `geometry_summary(repo: Path)`; `podcast_summary(repo: Path)`; `git_commit(repo: Path)`; `build_payload(repo: Path)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file task.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 2; mentioned by 0 ### Merge Results - File: globalgrid2050/testcode/202609150010/merge_results.py (Python, 56 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609150010/merge_results.py#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/1976.html#f2 - Synopsis: A Python command-line tool in the testcode folder of GlobalGrid2050 that uses SHA-256. It is built from the canonical step (`canonical`) and the merge step (`merge`). - What it achieves (comment): Fail-closed merger for independently computed local and CI results. It accepts `--local`, `--ci` and `--output`. - What it does: It loads data. Defines canonical, merge, main. Uses libraries __future__, argparse, datetime, hashlib, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Test Dual Compute (globalgrid2050). Reached from 2 other entry points, including GlobalGrid2050 Project Signals Acid Workflow (globalgrid2050); GlobalGrid2050 Testcode Dual Compute Workflow (globalgrid2050). - Signatures: `canonical(value: Any)`; `merge(local: dict[str, Any], ci: dict[str, Any])`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Publication - File: globalgrid2050/testcode/202609150010/publication.py (Python, 32 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609150010/publication.py#L1-L32 - Page: https://code.globalgrid2050.com/explore-code/s/1976.html#f3 - Synopsis: A Python module in the testcode folder of GlobalGrid2050 that writes the candidate's non-self-referential byte and SHA-256 manifest. - What it does: Uses libraries hashlib, json, subprocess, pathlib. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file publication.json. Out: JSON file publication.json. - Downstream impact: It is itself an entry point (Python module); no other file was found loading it. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file publication.json]; out [JSON file publication.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Ring - File: globalgrid2050/testcode/202609150502/ring.mjs (JavaScript, 18 lines) · role other · stage unknown - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609150502/ring.mjs#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1976.html#f4 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Self Test (globalgrid2050); Table (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 UK Solar Lens Workflow (globalgrid2050). - Signatures: `hint()`; `layout(core,view,out)`; `edges()`; `geometry()`; `hit()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Table - File: globalgrid2050/testcode/202609150502/table.mjs (JavaScript, 23 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609150502/table.mjs#L1-L23 - Page: https://code.globalgrid2050.com/explore-code/s/1976.html#f5 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050. - What it achieves (name): It responds to click events. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Self Test (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 UK Solar Lens Workflow (globalgrid2050). - Signatures: `hint()`; `layout(core,view,out)`; `overlay(core,view,host,shell)`; `leave()` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Assess Bench - File: globalgrid2050/testcode/20260915050706/assess-bench.mjs (JavaScript, 27 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/20260915050706/assess-bench.mjs#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1976.html#f6 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that uses SHA-256. - What it does: It loads data. Uses libraries node:fs, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Portable Bench - File: globalgrid2050/testcode/20260915050706/portable-bench.mjs (JavaScript, 45 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/20260915050706/portable-bench.mjs#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/1976.html#f7 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that runs the committed Generator measurement harness without changing its owner files, using SHA-256. It replaces once (`replaceOnce`). - What it achieves (readme): The README says: Runs the committed owner script with explicit `PUPPETEER_MODULE`, `CHROME_PATH`, `BENCH_BASE` and a new `BENCH_OUT`. - What it does: It loads data. Defines replaceOnce. Uses libraries node:fs, node:path, node:url, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`portable-bench.mjs`: runs the committed owner script with explicit `PUPPETEER_MODULE`, `CHROME_PATH`, `BENCH_BASE` and a new `BENCH_OUT`" - Signatures: `replaceOnce(pattern, replacement)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Reproduce Night - File: globalgrid2050/testcode/20260915050706/reproduce-night.mjs (JavaScript, 28 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/20260915050706/reproduce-night.mjs#L1-L28 - Page: https://code.globalgrid2050.com/explore-code/s/1976.html#f8 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050. - What it achieves (readme): The README says: Requires `PUPPETEER_MODULE`, `CHROME_PATH`, and a new `REPRO_OUT`, with the repository already served at port 8891 for the forced fallback check. - What it does: Uses libraries node:module, node:fs. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`reproduce-night.mjs`: requires `PUPPETEER_MODULE`, `CHROME_PATH`, and a new `REPRO_OUT`, with the repository already served at port 8891 for the forced fallback check." - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Evidence - File: globalgrid2050/testcode/20260915050706/verify-evidence.mjs (JavaScript, 18 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/20260915050706/verify-evidence.mjs#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/1976.html#f9 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that reads publication, assessment, bench and supplemental, using SHA-256. - What it achieves (comment): It is built from the JSON step (`json`) and the sha step (`sha`). Verify publication/evidence integrity. A successful run does not pass the unmet device gates. It reads `proof/bench.json`. - What it does: It loads publication, assessment, bench and supplemental. Defines json, sha. Uses libraries node:fs, node:assert/strict, node:crypto. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file publication.json; JSON file assessment.json; JSON file bench.json; JSON file supplemental.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 Generator Device Review Workflow (globalgrid2050). - Signatures: `json(p)`; `sha(b)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file publication.json; JSON file assessment.json; JSON file bench.json; JSON file supplemental.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Model - File: globalgrid2050/testcode/202609151230/model.mjs (JavaScript, 64 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609151230/model.mjs#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/1976.html#f10 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that wraps time (`wrapTime`). It wraps time (`wrapTime`) and is built from the clamp step (`clamp`) and the point step (`point`). - What it achieves (comment): Harmonic paths illustrate concepts; their positions and phase are not engineering results. - What it does: It calculates its inputs. Defines clamp, wrapTime, point, focusPoint, nearestConcept. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Self Test (globalgrid2050); Ring (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 UK Solar Lens Workflow (globalgrid2050). - Signatures: `export clamp(n,a,b)`; `export wrapTime(n)`; `export point(view,group,index,time,twin=false)`; `export focusPoint(view,group,time)`; `export nearestConcept(view,x,y,time)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Physics - File: globalgrid2050/testcode/202609151413/physics.mjs (JavaScript, 260 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609151413/physics.mjs#L1-L260 - Page: https://code.globalgrid2050.com/explore-code/s/1977.html#f1 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050. It is built from the phase step (`phase`). - What it achieves (comment): Ten placement laws for one estate. - What it does: It calculates its inputs. Defines phase. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 3 files: Engines (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/); Questions (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/); Laws (globalgrid2050). Reached from 3 other entry points, including Iterations — 06 Stars As Engines (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/); Iterations — 06 Stars As Engines Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/); Layers Panel (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/06-stars-as-engines/). - Signatures: `export phase(key)`; `t(i / seats)`; `x((c + 0.5) / n - 0.5)`; `y(Math.log1p(L) / Math.log1p(400) - 0.5)`; `jitter(phase(e.key) / TAU - 0.5)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Layers - File: globalgrid2050/testcode/202609151500/layers.mjs (JavaScript, 279 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609151500/layers.mjs#L1-L279 - Page: https://code.globalgrid2050.com/explore-code/s/1977.html#f2 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that fetches families and blocks from the stars repository. - What it achieves (comment): It is built from the JSON step (`json`), the bin step (`bin`) and the family index helper (`familyIndex`). The layer registry for the wafer, in Grid Atlas's own grammar. - What it does: It fetches families and blocks. Defines 7 functions or classes, including json, bin, familyIndex, rowOf, anchor. Side effects: makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: stars data; JSON file families.json; JSON file blocks.json. - Signatures: `export familyIndex(U)`; `json(url)`; `bin(url, K)`; `rowOf(U)`; `build(U)`; `anchor(b)`; `find(word)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: stars data; JSON file families.json; JSON file blocks.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Pick - File: globalgrid2050/testcode/202609160151/pick.mjs (JavaScript, 141 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160151/pick.mjs#L1-L141 - Page: https://code.globalgrid2050.com/explore-code/s/1977.html#f3 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050. It builds pick index (`buildPickIndex`) and is built from the cell of helper (`cellOf`) and the nearest at helper (`nearestAt`). - What it achieves (comment): Which line is under the finger. - What it does: It calculates its inputs. Defines buildPickIndex, cellOf, nearestAt. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 6 files: Wafer Development Environment — Cable Cross Sections (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/); Testcode — Quantum Twin Flights (globalgrid2050); Wafer Development Environment — Estate (globalgrid2050); Wafer Development Environment — Underground (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/); and 2 more. Reached from 190 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). - Signatures: `export buildPickIndex(pos, n, spacing = 1)`; `export nearestAt(ix, wx, wy, reach)`; `cellOf(i)`; `edge(gy === y0 || gy === y1)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 1 ### Read - File: globalgrid2050/testcode/202609160151/read.mjs (JavaScript, 187 lines) · role render · stage output - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160151/read.mjs#L1-L187 - Page: https://code.globalgrid2050.com/explore-code/s/1978.html#f1 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that opens line store (`openLineStore`). - What it achieves (comment): It opens line store (`openLineStore`) and is built from the anchor for helper (`anchorFor`) and the rows in helper (`rowsIn`). Reading one numbered line, without holding the estate. - What it does: Defines 7 functions or classes, including anchorFor, rowsIn, openLineStore, range, fromBlock. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 6 files: Wafer Development Environment — Cable Cross Sections (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/); Testcode — Quantum Twin Flights (globalgrid2050); Wafer Development Environment — Estate (globalgrid2050); Wafer Development Environment — Underground (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/); and 2 more. Reached from 190 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). - Signatures: `export openLineStore({ indexUrl, fetchImpl = fetch, onStatus = () => {} } = {})`; `anchorFor(keys, key)`; `mid(lo + hi)`; `rowsIn(bytes, fromRowStart, endsAtRowEnd)`; `range(from, to)`; `fromBlock(key)`; `windowAt(at, hi)`; `bySearch(key)`; `get(key)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 1 ### Select - File: globalgrid2050/testcode/202609160151/select.mjs (JavaScript, 271 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160151/select.mjs#L1-L271 - Page: https://code.globalgrid2050.com/explore-code/s/1978.html#f2 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050 that reads URL (`readURL`), writes URL (`writeURL`), draws set (`drawSet`) and reads inputs for setname, using SHA-256. - What it achieves (comment): It reads URL (`readURL`), writes URL (`writeURL`) and sets id (`setId`). Until now the wafer could be looked at and, since, read. It responds to input and click events. - What it does: It draws its content. Defines 15 functions or classes, including $, readURL, writeURL, shareURL, canonical. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: form fields (user input). - Signatures: `export readURL()`; `export writeURL()`; `export shareURL()`; `export canonical(keys)`; `export setId(keys)`; `export has(key)`; `export toggle(key)`; `export clear()`; `export drawSet(ctx, view)`; `export mountCard()`; `export render(getText)`; `$(id)`; `paintNote()`; `paintId()`; `setText(el, t)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### GlobalGrid2050 — Testcode - File: globalgrid2050/testcode/202609160207/app.mjs (JavaScript, 659 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160207/app.mjs#L1-L659 - Page: https://code.globalgrid2050.com/explore-code/s/1979.html#f1 - Synopsis: A JavaScript module that draws lines meta and families, using SHA-256. It indexes key (`indexOfKey`), builds gl (`buildGL`) and draws marks (`drawMarks`). - What it achieves (comment): The Line Wafer. It responds to click, pointerdown and pointermove events. - What it does: It draws lines meta and families. Defines 35 functions or classes, including $, indexOfKey, bin, tier1, tier2. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file all-lines.meta.json; JSON file families.json; JSON file line-index.json. Out: WebGL/WebGPU drawing. - Signatures: `$(id)`; `indexOfKey(key)`; `bin(name, Kind)`; `tier1()`; `tier2()`; `compile(g, type, src)`; `initGL()`; `fallback2d()`; `buildGL()`; `put(data, name, size, Kind, norm)`; `resize()`; `ensureOverlay()`; `drawMarks()`; `toScreen([x, y])`; `render()`; `x(U.pos[i * 2] - view.x)`; `draw()`; `home()`; `flyTo(key, zoom)`; `nearestKeyAt(cx, cy)`; `wx(cx - view.w / 2)`; `wy(view.h / 2 - cy)`; `reader()`; `fillCode(el, key)`; `setStoreLine(text)` (and 10 more) - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file all-lines.meta.json; JSON file families.json; JSON file line-index.json]; out [WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Derive - File: globalgrid2050/testcode/202609160224/derive.mjs (JavaScript, 124 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160224/derive.mjs#L1-L124 - Page: https://code.globalgrid2050.com/explore-code/s/1980.html#f1 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050. It is built from the nature step (`nature`), the radiation step (`radiation`) and the field step (`field`). - What it achieves (comment): The state generator. Nothing about a line is stored; it is derived. - What it does: It calculates its inputs. Defines nature, radiation, field, derive, census. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Particles Check (globalgrid2050, https://globalgrid2050.com/testcode/202609160224/proof/). - Signatures: `export nature(len, inFamily)`; `export radiation(len, inFamily, places)`; `export field(key, len, inFamily)`; `export derive(key, len, inFamily, places)`; `export census(keys, lens, fams)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Laws - File: globalgrid2050/testcode/202609160224/laws.mjs (JavaScript, 118 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160224/laws.mjs#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/1980.html#f2 - Synopsis: A JavaScript module in the testcode folder of GlobalGrid2050. It is built from the requirements of helper (`requirementsOf`), the classify step (`classify`) and the catalogue step (`catalogue`). - What it achieves (comment): Which placement laws the Wafer Galaxy can honestly run, and why not the rest. - What it does: It calculates its inputs. Defines requirementsOf, classify, catalogue. - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 1 file: Laws Check (globalgrid2050, https://globalgrid2050.com/testcode/202609160224/proof/). - Signatures: `export requirementsOf(source)`; `export classify(needs)`; `export catalogue(requirements)`; `shell(((e.key * 2654435761) >>> 0) % 1000)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GlobalGrid2050 — Testcode Style Sheet - File: globalgrid2050/testcode/202609160258/style.css (CSS, 21 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160258/style.css#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/1980.html#f3 - Synopsis: A style sheet. - What it does: Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 14 files: Wafer Development Environment — Voltage Drop Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170042-voltage-drop/); Wafer Development Environment — GridAtlas Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170041-gridatlas/); Wafer Development Environment — Land GridAtlas Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170045-land-gridatlas/); Testcode — Quantum Twin Flights Page (globalgrid2050, https://globalgrid2050.com/testcode/202609162200-quantum-twin-flights/); and 10 more. Reached from 155 other entry points, including Iterations — 42 Counts That Say Themselves (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/); Iterations — 42 Counts That Say Themselves Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 14; mentioned by 0 ### GlobalGrid2050 — Testcode Page - File: globalgrid2050/testcode/202609160319/index.html (HTML, 12 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/202609160319/index.html#L1-L12 - Page: https://code.globalgrid2050.com/explore-code/s/1980.html#f4 - Published at: https://globalgrid2050.com/testcode/202609160319/ - Synopsis: A web page. Published at https://globalgrid2050.com/testcode/202609160319/. - What it achieves (comment): CPU Wafer Galaxy - Usage bands. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 4 files: Testcode — Proof Page (globalgrid2050, https://globalgrid2050.com/testcode/202609160224/proof/); Testcode — Block Register Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/block-register/); Testcode — Code Record Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-record/); GlobalGrid2050 — Testcode Page (globalgrid2050, https://globalgrid2050.com/testcode/). Reached from 2 other entry points, including Iterations — 42 Counts That Say Themselves (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/); Iterations — 42 Counts That Say Themselves Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609160319/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 4; mentioned by 0 ### GlobalGrid2050 — Testcode Page - File: globalgrid2050/testcode/index.html (HTML, 27 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/index.html#L1-L27 - Page: https://code.globalgrid2050.com/explore-code/s/1980.html#f5 - Published at: https://globalgrid2050.com/testcode/ - Synopsis: A web page. Published at https://globalgrid2050.com/testcode/. - What it achieves (comment): Two versions of this file were typed, and both went stale. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Iterations — 42 Counts That Say Themselves (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/). Reached from 1 other entry point, including Iterations — 42 Counts That Say Themselves Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/). It is itself an entry point, published at https://globalgrid2050.com/testcode/. - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 1; mentioned by 0 ### Testcode — Red Beach Blind 6f8a2c Page - File: globalgrid2050/testcode/red-beach-blind-20261003-6f8a2c/index.html (HTML, 275 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/red-beach-blind-20261003-6f8a2c/index.html#L1-L275 - Page: https://code.globalgrid2050.com/explore-code/s/1980.html#f6 - Published at: https://globalgrid2050.com/testcode/red-beach-blind-20261003-6f8a2c/ - Synopsis: A web page in GlobalGrid2050 that draws SVG graphics (units: MVA), covering 11kV and 33kV. Published at https://globalgrid2050.com/testcode/red-beach-blind-20261003-6f8a2c/. - What it achieves (comment): It is built from the apply step (`apply`), the fit step (`fit`) and the zoom step (`zoom`). Red Beach — Blind single-line diagram (SLD) Local Test. Its code works with 11 kV, 20 MVA and 25 kA. It responds to pointerdown, pointermove and pointerup events. - What it does: It draws 11kV and 33kV. Defines apply, fit, zoom. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 11kV, 33kV. - Inputs & outputs: Out: web page; SVG drawing. Voltage levels named: 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/red-beach-blind-20261003-6f8a2c/. - Signatures: `apply()`; `fit()`; `zoom(f,cx=.5,cy=.5)` - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [33kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Testcode — Red Beach Blind Full A4c91e Page - File: globalgrid2050/testcode/red-beach-blind-full-20261003-a4c91e/index.html (HTML, 584 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/testcode/red-beach-blind-full-20261003-a4c91e/index.html#L1-L584 - Page: https://code.globalgrid2050.com/explore-code/s/1981.html#f1 - Published at: https://globalgrid2050.com/testcode/red-beach-blind-full-20261003-a4c91e/ - Synopsis: A web page in GlobalGrid2050 that builds index (`buildIndex`), sets meta (`setMeta`) and draws equipment (`drawEquipment`) (units: kV, MVA), covering transformers, 11kV, 33kV and cables. Published at https://globalgrid2050.com/testcode/red-beach-blind-full-20261003-a4c91e/. - What it achieves (comment): It builds index (`buildIndex`), sets meta (`setMeta`) and draws equipment (`drawEquipment`). Red Beach — Procedural Single Line Diagram. Its code works with 11 kV, 33 kV and 25 kA. It responds to click, wheel and pointerdown events. - What it does: It draws transformers, 11kV, 33kV and cables. Defines 25 functions or classes, including $, fmt, esc, S, add. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: transformers, 11kV, 33kV, cables. - Inputs & outputs: In: user-supplied file (file picker); form fields (user input). Out: web page; SVG drawing. Voltage levels named: 33kV, 11kV. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/testcode/red-beach-blind-full-20261003-a4c91e/. - Signatures: `$(s)`; `fmt(v)`; `esc(s)`; `S(tag,attrs={},text=null)`; `add(parent,tag,attrs,text)`; `lineClass(kv,style,extra='')`; `isFutureEquipment(eq,placement)`; `s(eq?.provision_status||'')`; `kvOfEquipment(eq)`; `buildIndex()`; `setMeta()`; `render()`; `fut(r.line_style==='dashed'||isFutureEquipment(eq,index.placements.get(eq?.id)))`; `drawEquipment(g,gLabels,eq,p)`; `renderInspector(title,rows,extra='')`; `inspectorHome()`; `clearSelection()`; `selectItem(kind,id)`; `structuralReach(startEq)`; `traceSelected()`; `applyVisibility()`; `fit()`; `zoomAt(clientX,clientY,factor)`; `px(clientX-rect.left)`; `dx(e.clientX-drag.x)` (and 4 more) - domain_stage: experimental · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [user-supplied file (file picker); form fields (user input)]; out [web page; SVG drawing]; crs []; voltages [33kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 — Time to 2050 Page - File: globalgrid2050/time_to_2050/index.html (HTML, 223 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/time_to_2050/index.html#L1-L223 - Page: https://code.globalgrid2050.com/explore-code/s/1982.html#f1 - Published at: https://globalgrid2050.com/time_to_2050/ - Synopsis: A web page that draws SVG graphics. Published at https://globalgrid2050.com/time_to_2050/. - What it achieves (name): Defines `update`. - What it does: It draws its content. Defines update. Side effects: changes the web page (DOM). - Inputs & outputs: Out: web page; SVG drawing. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/time_to_2050/. - Signatures: `update()`; `msToday((now.getHours() * 60 + now.getMinutes()) * 60 + now.getSeconds())` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### GlobalGrid2050 — V11 Page - File: globalgrid2050/v11/index.html (HTML, 58 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/v11/index.html#L1-L58 - Page: https://code.globalgrid2050.com/explore-code/s/1982.html#f2 - Published at: https://globalgrid2050.com/v11/ - Synopsis: A web page that loads pinned (`loadPinned`). Published at https://globalgrid2050.com/v11/. It loads pinned (`loadPinned`). - What it achieves (comment): V11 Solar DC Topology Engine — Validated Full-Array Build. It responds to click and load events. - What it does: It draws its content. Defines loadPinned. Side effects: changes the web page (DOM). - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/v11/. - Signatures: `loadPinned()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Ventus Card - File: globalgrid2050/ventus/wiring/VENTUS-card.js (JavaScript, 277 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/ventus/wiring/VENTUS-card.js#L1-L277 - Page: https://code.globalgrid2050.com/explore-code/s/1982.html#f3 - Published at: https://globalgrid2050.com/ventus/wiring/ - Synopsis: A JavaScript file in the wiring folder of GlobalGrid2050 that converts to world (`toWorld`) and steps anim (`stepAnim`). Served with the page at https://globalgrid2050.com/ventus/wiring/. - What it achieves (comment): It shows new (`showNew`) and is built from the to world helper (`toWorld`) and the card for helper (`cardFor`). A cartridge of the VENTUS shell. It responds to toggle and click events. - What it does: It draws its content. Defines 19 functions or classes, including toWorld, cardFor, esc, gh, ghLink. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Downstream impact: Used directly by 1 file: Renderer (globalgrid2050, https://globalgrid2050.com/ventus/wiring/renderer.html). It is itself an entry point, published at https://globalgrid2050.com/ventus/wiring/. - Signatures: `toWorld(px, py)`; `cardFor(k)`; `esc(t)`; `gh(o)`; `ghLink(c, line)`; `el(tag, cls, text)`; `drow(dl, k, v)`; `linkTo(href, text)`; `workTable()`; `rawFile()`; `workCode(a, r, s)`; `open(i)`; `revealUnderHead()`; `show(a)`; `door(r.pub && frontOfWork[a.c.sha])`; `put(data)`; `goKey(k)`; `arriveAt(k)`; `showNew(hours)`; `stepAnim()`; `t(performance.now() - anim.t0)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Ventus Chrome - File: globalgrid2050/ventus/wiring/VENTUS-chrome.js (JavaScript, 529 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/ventus/wiring/VENTUS-chrome.js#L1-L529 - Page: https://code.globalgrid2050.com/explore-code/s/1983.html#f1 - Published at: https://globalgrid2050.com/ventus/wiring/ - Synopsis: A JavaScript file in the wiring folder of GlobalGrid2050 that opens sheet (`openSheet`), shows systems (`showSystems`) and groups boxes (`groupBoxes`), covering cables and substations. Served with the page at https://globalgrid2050.com/ventus/wiring/. - What it achieves (comment): It opens sheet (`openSheet`), shows systems (`showSystems`) and marks state (`markState`). A cartridge of the VENTUS shell: HOW THE PAGE IS DRESSED. It responds to click, focus and keydown events. - What it does: It draws cables and substations. Defines 26 functions or classes, including PHONE, $, el, kick, relayout. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: cables, substations. - Downstream impact: Used directly by 1 file: Renderer (globalgrid2050, https://globalgrid2050.com/ventus/wiring/renderer.html). It is itself an entry point, published at https://globalgrid2050.com/ventus/wiring/. - Signatures: `PHONE()`; `$(id)`; `el(tag, cls, t)`; `kick()`; `relayout()`; `judge()`; `boot()`; `isOpen()`; `shut()`; `loosen()`; `openSheet(title)`; `refire(extra)`; `camera(fn)`; `typed(text)`; `showSystems()`; `markState()`; `on(n === 'numbers on' && numbersOn)`; `fixChips()`; `devWatch()`; `groupBoxes()`; `keyOfRow(r)`; `readKey()`; `applyKey()`; `keepMark(m)`; `filterDrawing(d)` (and 2 more) - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Ventus Controls - File: globalgrid2050/ventus/wiring/VENTUS-controls.js (JavaScript, 104 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/ventus/wiring/VENTUS-controls.js#L1-L104 - Page: https://code.globalgrid2050.com/explore-code/s/1983.html#f2 - Published at: https://globalgrid2050.com/ventus/wiring/ - Synopsis: A JavaScript file in the wiring folder of GlobalGrid2050 that loads tracked (`loadTracked`) and calculates planar distances. Served with the page at https://globalgrid2050.com/ventus/wiring/. - What it achieves (comment): It loads tracked (`loadTracked`) and is built from the raise flags helper (`raiseFlags`) and the light path helper (`lightPath`). A cartridge of the VENTUS shell. It responds to pointerup, pointercancel and wheel events. - What it does: It draws its content. Defines loadTracked, raiseFlags, lightPath, goToKey. Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Renderer (globalgrid2050, https://globalgrid2050.com/ventus/wiring/renderer.html). It is itself an entry point, published at https://globalgrid2050.com/ventus/wiring/. - Signatures: `loadTracked()`; `raiseFlags(idx)`; `lightPath(name, quiet)`; `goToKey(k)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Ventus Pointer - File: globalgrid2050/ventus/wiring/VENTUS-pointer.js (JavaScript, 25 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/ventus/wiring/VENTUS-pointer.js#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/1983.html#f3 - Published at: https://globalgrid2050.com/ventus/wiring/ - Synopsis: A JavaScript file in the wiring folder of GlobalGrid2050 that works with pointer gone (`pointerGone`) and calculates planar distances. Served with the page at https://globalgrid2050.com/ventus/wiring/. - What it achieves (comment): It is built from the pinch now helper (`pinchNow`) and the pointer gone helper (`pointerGone`). Native VENTUS pointer runtime, extracted from the public tests cartridge. It responds to pointerdown and pointermove events. - What it does: It calculates its inputs. Defines pinchNow, pointerGone. - Downstream impact: Used directly by 1 file: Renderer (globalgrid2050, https://globalgrid2050.com/ventus/wiring/renderer.html). It is itself an entry point, published at https://globalgrid2050.com/ventus/wiring/. - Signatures: `pinchNow()`; `pointerGone(e)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Ventus Programs - File: globalgrid2050/ventus/wiring/VENTUS-programs.js (JavaScript, 4071 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/ventus/wiring/VENTUS-programs.js#L1-L4071 - Page: https://code.globalgrid2050.com/explore-code/s/1984.html#f1 - Published at: https://globalgrid2050.com/ventus/wiring/ - Synopsis: A JavaScript module in the wiring folder of GlobalGrid2050 covering cables, using IEC 62446-1 and SHA-256 and uses data from the faraday repository. Served with the page at https://globalgrid2050.com/ventus/wiring/. - What it achieves (comment): It makes body (`makeBody`), sets tag (`setTag`) and merges menu (`mergeMenu`). A cartridge of the VENTUS shell. Its code works with 352 kVA, 295 kVA and 320 kVA. It responds to click, keydown and pointerdown events. - What it does: It draws cables, solar, substations and transformers. Defines 208 functions or classes, including reFire, closestPair, blackSky, nameInLines, makeBody. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain terms in the code: cables, solar, substations, transformers, 400kV, 1500V. - Inputs & outputs: In: data source: faraday data; JSON file current.json. Out: canvas drawing. Voltage levels named: 400kV, 1500V. - Downstream impact: Used directly by 1 file: Renderer (globalgrid2050, https://globalgrid2050.com/ventus/wiring/renderer.html). It is itself an entry point, published at https://globalgrid2050.com/ventus/wiring/. - Signatures: `reFire(extra)`; `closestPair(pos)`; `blackSky(pos, dotRadius)`; `nameInLines(words)`; `makeBody(st)`; `seq(st.prog.on.sequence && st.prog.on.sequence.length)`; `bodyTo(arr)`; `labels(show)`; `bodyJump(k)`; `bodyMove(k)`; `bodyDrawnDiameter()`; `bodyDotPx()`; `cap(body.sld && body.fineDots)`; `sheet(title, sub)`; `setTag(st, text)`; `revealCode()`; `sparksTo(arr)`; `ensureGlow()`; `mergeMenu()`; `makeAppButtons()`; `isolateNow(name, front)`; `isolate(name)`; `raiseTile()`; `endIsolate()`; `unisolate(quiet)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: faraday data; JSON file current.json]; out [canvas drawing]; crs []; voltages [400kV, 1500V] - Edges: uses 2 estate files (estate-url 2); used by 1; mentioned by 0 ### Ventus — Wiring Page - File: globalgrid2050/ventus/wiring/index.html (HTML, 1 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/ventus/wiring/index.html#L1-L1 - Page: https://code.globalgrid2050.com/explore-code/s/1989.html#f2 - Published at: https://globalgrid2050.com/ventus/wiring/ - Synopsis: A web page in GlobalGrid2050. Published at https://globalgrid2050.com/ventus/wiring/. - What it does: It draws its content. Side effects: changes the web page (DOM). - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 2 files: Existing Wiring (graphics-engines-open-source); GlobalGrid2050 Deploy Pages Workflow (globalgrid2050). Reached from 1 other entry point, including Existing Wiring Workflow (graphics-engines-open-source). It is itself an entry point, published at https://globalgrid2050.com/ventus/wiring/. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Public Start - File: globalgrid2050/ventus/wiring/public-start.js (JavaScript, 20 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/ventus/wiring/public-start.js#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/1989.html#f3 - Published at: https://globalgrid2050.com/ventus/wiring/ - Synopsis: A JavaScript file in the wiring folder of GlobalGrid2050 that works with finite tree (`finiteTree`). Served with the page at https://globalgrid2050.com/ventus/wiring/. It is built from the finite tree helper (`finiteTree`). - What it achieves (comment): Generic release bootstrap. Native canvas, camera and string engine remain inherited. - What it does: Defines finiteTree. Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Renderer (globalgrid2050, https://globalgrid2050.com/ventus/wiring/renderer.html). It is itself an entry point, published at https://globalgrid2050.com/ventus/wiring/. - Signatures: `finiteTree(value)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Renderer - File: globalgrid2050/ventus/wiring/renderer.html (HTML, 829 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050/blob/0aca5121f0795e469b6cf4fc3d3b628edba8d883/ventus/wiring/renderer.html#L1-L829 - Page: https://code.globalgrid2050.com/explore-code/s/1990.html#f1 - Published at: https://globalgrid2050.com/ventus/wiring/renderer.html - Synopsis: A web page in the wiring folder of GlobalGrid2050 that draws programs. Published at https://globalgrid2050.com/ventus/wiring/renderer.html. It builds link (`buildLink`) and parses link (`parseLink`). - What it achieves (name): Defines `buildLink`, `complaints`, `parseLink` and 30 more. It reads `cosmos/programs.json`. It responds to error, webglcontextlost and resize events. - What it does: It draws programs. Defines 34 functions or classes, including buildLink, complaints, parseLink, fmt, day. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: JSON file programs.json; form fields (user input). Out: web page; WebGL/WebGPU drawing. - Downstream impact: It is itself an entry point, published at https://globalgrid2050.com/ventus/wiring/renderer.html. - Signatures: `buildLink(o, base)`; `v(o || {})`; `complaints(href)`; `parseLink(href)`; `fmt(n)`; `day(unix)`; `words(n)`; `prog(vs, fs)`; `U(p, n)`; `tsv(url)`; `boot()`; `appFor(owner, name, path)`; `full((owner || '') + '/' + (name || ''))`; `narrow()`; `resize()`; `flyTo(x, y, z)`; `layout()`; `safeBox()`; `homeCamera()`; `home()`; `keyPlace(k)`; `findBy(field, v)`; `address(k)`; `describe(a)`; `issuedBelow(k)` (and 14 more) - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file programs.json; form fields (user input)]; out [web page; WebGL/WebGPU drawing]; crs []; voltages [] - Edges: uses 6 estate files (script-src 6); used by 0; mentioned by 0 ### Active Pages - File: globalgrid2050-homepage/config/active-pages.yaml (YAML, 83 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/globalgrid2050-homepage/blob/551a7625b02ddb7b3e6e0181cc643b8114c7fc06/config/active-pages.yaml#L1-L83 - Page: https://code.globalgrid2050.com/explore-code/s/1991.html#f2 - Synopsis: A configuration file in the config folder of GlobalGrid2050 Homepage covering cables and uses data from the GridAtlas, GlobalGrid2050-ip-and-mac-addresses and SLD repositories. - Why it exists in the grid workflow: Domain terms in the code: cables. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 4 estate files (estate-url 4); used by 0; mentioned by 0 ### GlobalGrid2050 IP and MAC Addresses — App - File: globalgrid2050-ip-and-mac-addresses/assets/app.js (JavaScript, 177 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050-ip-and-mac-addresses/blob/2ba77a48351e70648ab8d122c187a87c47d0f6fc/assets/app.js#L1-L177 - Page: https://code.globalgrid2050.com/explore-code/s/1991.html#f3 - Synopsis: A JavaScript file in the assets folder that validates config (`validateConfig`) and shows record (`showRecord`). It validates config (`validateConfig`), renders list (`renderList`) and shows record (`showRecord`). - What it achieves (name): Defines `element`, `safeUrl`, `validateConfig` and 6 more. It responds to error, click and input events. - What it does: It draws its content. Defines 9 functions or classes, including element, safeUrl, validateConfig, validate, renderList. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: JSON file registry.json; JSON file config.json. - Downstream impact: Used directly by 1 file: GlobalGrid2050 IP and MAC Addresses — Index Page (globalgrid2050-ip-and-mac-addresses, https://ventusltd.github.io/globalgrid2050-ip-and-mac-addresses/). Reached from 4 other entry points, including Homepage V130 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v130.html); PR Checks Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage). - Signatures: `element(tag, text, className)`; `safeUrl(value)`; `validateConfig(config)`; `validate(data)`; `renderList()`; `panelMessage(title, message)`; `showRecord(record)`; `resolve()`; `loadJson(path)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file registry.json; JSON file config.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 IP and MAC Addresses — Style Sheet - File: globalgrid2050-ip-and-mac-addresses/assets/style.css (CSS, 53 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050-ip-and-mac-addresses/blob/2ba77a48351e70648ab8d122c187a87c47d0f6fc/assets/style.css#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/1991.html#f4 - Synopsis: A style sheet in the assets folder. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: GlobalGrid2050 IP and MAC Addresses — Index Page (globalgrid2050-ip-and-mac-addresses, https://ventusltd.github.io/globalgrid2050-ip-and-mac-addresses/). Reached from 4 other entry points, including Homepage V130 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v130.html); PR Checks Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### GlobalGrid2050 IP and MAC Addresses — Index Page - File: globalgrid2050-ip-and-mac-addresses/index.html (HTML, 41 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/globalgrid2050-ip-and-mac-addresses/blob/2ba77a48351e70648ab8d122c187a87c47d0f6fc/index.html#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/1991.html#f5 - Published at: https://ventusltd.github.io/globalgrid2050-ip-and-mac-addresses/ - Synopsis: A web page that reads inputs for registry. Published at https://ventusltd.github.io/globalgrid2050-ip-and-mac-addresses/. - What it achieves (comment): Find a GlobalGrid asset by its permanent identity and open its linked record. - What it does: It draws its content. Side effects: changes the web page (DOM). - Inputs & outputs: In: JSON file registry.json; form fields (user input). Out: web page. - Downstream impact: Used directly by 3 files: Homepage Browser (globalgrid2050-homepage); Homepage V130 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v130.html); Active Pages (globalgrid2050-homepage). Reached from 2 other entry points, including PR Checks Workflow (globalgrid2050-homepage); Pages Workflow (globalgrid2050-homepage). It is itself an entry point, published at https://ventusltd.github.io/globalgrid2050-ip-and-mac-addresses/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file registry.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 3; mentioned by 0 ### Bench - File: gpu-drivers-for-global-grid/cuda-maths/layout-bench/bench.py (Python, 123 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/cuda-maths/layout-bench/bench.py#L1-L123 - Page: https://code.globalgrid2050.com/explore-code/s/1991.html#f6 - Synopsis: A Python command-line tool in the layout bench folder of GPU Drivers for Global Grid that reads cages. - What it achieves (comment): It is built from the sampler step (`sampler`) and the cpu total helper (`cpu_total`). Driver: verify the batched scorer against the CPU scorer, then measure it. - What it does: It loads cages. Defines sampler, cpu_total, main. Uses libraries json, os, subprocess, sys, threading. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'layout'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Inputs & outputs: In: JSON file graph.json; JSON file cages.json. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sampler()`; `cpu_total(windows, idx)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file graph.json; JSON file cages.json]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### GPU Score - File: gpu-drivers-for-global-grid/cuda-maths/layout-bench/gpu_score.py (Python, 232 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/cuda-maths/layout-bench/gpu_score.py#L1-L232 - Page: https://code.globalgrid2050.com/explore-code/s/1992.html#f1 - Synopsis: A Python module in the layout bench folder of GPU Drivers for Global Grid that scores batch (`score_batch`). It is built from the pack windows helper (`pack_windows`). - What it achieves (comment): Batched layout scorer: the exact integer score of `layout_search`.score_window, for all 40 windows, as tensor ops. - What it does: It calculates its inputs. Defines pack_windows, _occupied, score_batch. Uses libraries itertools, math, os, numpy, cupy. - Why it exists in the grid workflow: Domain stage sub33kv_design (path word 'layout'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. - Downstream impact: Used directly by 1 file: Bench (gpu-drivers-for-global-grid). - Signatures: `pack_windows(windows)`; `_occupied(occ, upto, key)`; `score_batch(idxs, groups)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Control - File: gpu-drivers-for-global-grid/cuda-maths/precision-sense/control.py (Python, 26 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/cuda-maths/precision-sense/control.py#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/1992.html#f2 - Synopsis: A Python module in the precision sense folder of GPU Drivers for Global Grid. - What it does: Uses libraries sys, json, numpy, cupy, solar_core. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Control2 - File: gpu-drivers-for-global-grid/cuda-maths/precision-sense/control2.py (Python, 33 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/cuda-maths/precision-sense/control2.py#L1-L33 - Page: https://code.globalgrid2050.com/explore-code/s/1992.html#f3 - Synopsis: A Python module in the precision sense folder of GPU Drivers for Global Grid. - What it does: Uses libraries sys, json, numpy, cupy, solar_core. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Cpu100m - File: gpu-drivers-for-global-grid/cuda-maths/precision-sense/cpu100m.py (Python, 11 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/cuda-maths/precision-sense/cpu100m.py#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/1992.html#f4 - Synopsis: A Python command-line tool in the precision sense folder of GPU Drivers for Global Grid. - What it achieves (comment): The CPU vectorised path, 12 workers below normal, own process so the pool's re-import of __main__ cannot touch the GPU script. - What it does: Uses libraries sys, json, time, cpu_vec. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Sense (gpu-drivers-for-global-grid). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Sense - File: gpu-drivers-for-global-grid/cuda-maths/precision-sense/sense.py (Python, 266 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/cuda-maths/precision-sense/sense.py#L1-L266 - Page: https://code.globalgrid2050.com/explore-code/s/1992.html#f5 - Synopsis: A Python module in the precision sense folder of GPU Drivers for Global Grid that works with free batch (`free_batch`). It is built from the watts class (`Watts`). - What it achieves (comment): GPU sense checks that could EMBARRASS the solar-billion result. - What it does: It loads data. Defines 10 functions or classes, including XP32, __init__, __getattr__, Watts, __init__. Uses libraries sys, os, json, time, threading. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file SENSE.json. Out: JSON file. - Signatures: `class XP32`; `__init__(self, xp)`; `__getattr__(self, k)`; `class Watts`; `_loop(self)`; `__enter__(self)`; `__exit__(self, *a)`; `free_batch(div=2.0, cap=1 << 21)`; `_dump()` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file SENSE.json]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### East West Block - File: gpu-drivers-for-global-grid/engine/east_west_block.py (Python, 111 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/engine/east_west_block.py#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/1992.html#f6 - Synopsis: A Python command-line tool in the engine folder of GPU Drivers for Global Grid that works with closed forms (`closed_forms`) (units: kVA). It is built from the kernel step (`kernel`). - What it achieves (comment): The east-west reference block, swept on the engine. Its code works with 19.80 kW and 475.20 kW. - What it does: Defines kernel, closed_forms, main. Uses libraries sys. Side effects: starts processes. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `kernel(xp, axes)`; `closed_forms(np, space, kern)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of gpu-drivers-for-global-grid/engine/selftest.py) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Farm - File: gpu-drivers-for-global-grid/engine/farm.py (Python, 153 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/engine/farm.py#L1-L153 - Page: https://code.globalgrid2050.com/explore-code/s/1993.html#f1 - Synopsis: A Python command-line tool in the engine folder of GPU Drivers for Global Grid that solves strings (`solve_strings`) (units: kW, kVA, MVA). It is built from the farm step (`farm`). - What it achieves (comment): Farm-scale model: many string inverters, array size in the client's hands. Its code works with 352 kVA, 465 kW and 500 kVA. It accepts `--class`, `--inverters` and `--series`. - What it does: Defines farm, solve_strings, main. Uses libraries argparse, json, sys. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'farm'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: 1500V. - Inputs & outputs: In: command-line arguments. Voltage levels named: 1500V. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `farm(cls, inverters, series, strings, wp=MODULE_WP)`; `solve_strings(cls, series, target, wp=MODULE_WP)`; `main()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [1500V] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Feeding - File: gpu-drivers-for-global-grid/engine/feeding.py (Python, 94 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/engine/feeding.py#L1-L94 - Page: https://code.globalgrid2050.com/explore-code/s/1993.html#f2 - Synopsis: A Python command-line tool in the engine folder of GPU Drivers for Global Grid. It is built from the timed step (`timed`). - What it achieves (comment): Is the card the bottleneck, or is feeding it? - What it does: Defines timed, main. Uses libraries sys, time, cupy. Side effects: starts processes. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `timed(fn, reps=5)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Fused - File: gpu-drivers-for-global-grid/engine/fused.py (Python, 194 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/engine/fused.py#L1-L194 - Page: https://code.globalgrid2050.com/explore-code/s/1993.html#f3 - Synopsis: A Python command-line tool in the engine folder of GPU Drivers for Global Grid. - What it achieves (comment): It is built from the chain step (`chain`), the tables step (`tables`) and the run step (`run`). One fused kernel instead of a chain of elementwise ones. - What it does: Defines chain, tables, run, main. Uses libraries sys, time, numpy, cupy. Side effects: starts processes. - Downstream impact: Used directly by 1 file: Feeding (gpu-drivers-for-global-grid). - Signatures: `chain(xp, idx, voc_t, beta_t, wp_t, tmin_t, ser_t, str_t)`; `tables(xp)`; `run(kind, batch)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Selftest - File: gpu-drivers-for-global-grid/engine/selftest.py (Python, 124 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/engine/selftest.py#L1-L124 - Page: https://code.globalgrid2050.com/explore-code/s/1993.html#f4 - Synopsis: A Python command-line tool in the engine folder of GPU Drivers for Global Grid that works with closed forms (`closed_forms`), covering solar. It is built from the kernel step (`kernel`). - What it achieves (comment): Self-test for the Ventus engine: our arithmetic, both backends, verified. - What it does: Defines kernel, closed_forms, main. Uses libraries sys. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: solar. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `kernel(xp, axes)`; `closed_forms(np, space, kern)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Ventus Engine - File: gpu-drivers-for-global-grid/engine/ventus_engine.py (Python, 272 lines) · role ingest · stage transform - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/engine/ventus_engine.py#L1-L272 - Page: https://code.globalgrid2050.com/explore-code/s/1994.html#f1 - Synopsis: A Python module in GPU Drivers for Global Grid that converts to host (`to_host`). - What it achieves (comment): It is built from the engine error class (`EngineError`), the backend class (`Backend`) and the is gpu helper (`is_gpu`). Our own GPU arithmetic engine. No model, no vendor, no LLM. - What it does: Defines 29 functions or classes, including EngineError, Backend, __init__, is_gpu, mem. Uses libraries __future__, math, time, numpy, cupy. - Downstream impact: Used directly by 2 files: East West Block (gpu-drivers-for-global-grid); Selftest (gpu-drivers-for-global-grid). - Signatures: `class EngineError`; `class Backend`; `__init__(self, prefer="auto")`; `is_gpu(self)`; `mem(self)`; `free_batch(self, bytes_per_case, share=0.25, cap=1 << 23, floor=1 << 12)`; `to_host(self, a)`; `conditions(self)`; `class Space`; `decode(self, xp, idx)`; `coprime_stride(self)`; `__repr__(self)`; `class Verification`; `passed(self)`; `class Run`; `rate(self)`; `class Engine`; `assert_closed_forms(self, checks)`; `_codes(self, xp, idx)`; `_reduce(self, xp, codes, nbins)`; `run(self, nbins=16, limit=None, batch=None)`; `verify(self, n=100_000, against="cpu")`; `_codes_with(self, backend, idx)`; `report(self, run, verification, label="run")` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Worlds - File: gpu-drivers-for-global-grid/engine/worlds.py (Python, 215 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/gpu-drivers-for-global-grid/blob/6c47912a8dde251ffebd92ff129e6a0c11c4ebfe/engine/worlds.py#L1-L215 - Page: https://code.globalgrid2050.com/explore-code/s/1994.html#f2 - Synopsis: A Python command-line tool in the engine folder of GPU Drivers for Global Grid covering cables. It is built from the reference step (`reference`) and the SVG step (`svg`). - What it achieves (comment): Kuiper worlds: the card draws, not just decides. - What it does: It draws cables. Defines reference, svg, P, main. Uses libraries io, os, sys, time, numpy. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: Out: SVG drawing. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `reference(idx)`; `svg(cases, geo, npts, path)`; `P(x, y)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Grid Dictionary — Index Page - File: grid-dictionary/index.html (HTML, 62 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/grid-dictionary/blob/21b73d7cd5a6171245e0b3d1b69b0ce4d6322a63/index.html#L1-L62 - Page: https://code.globalgrid2050.com/explore-code/s/1994.html#f3 - Synopsis: A web page using data from the ventus-grid-engine and stars repositories. It is built from the esc step (`esc`) and the render step (`render`). - What it achieves (readme): The README says: Live page: `index.html` (reads `data/dictionary.json`). It reads `./data/dictionary.json`. - What it does: It draws its content. Defines esc, render. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: README: "Live page: `index.html` (reads `data/dictionary.json`)." - Inputs & outputs: In: data source: ventus-grid-engine data; data source: stars data; JSON file dictionary.json; form fields (user input). Out: web page. - Downstream impact: Used directly by 6 files: Pilot (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/); Pilot (globalgrid2050); Pilot (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170036-estate/); Pilot (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609180205-underground/); and 2 more. Reached from 190 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); GlobalGrid2050 — Compute Page (globalgrid2050, https://globalgrid2050.com/compute/). - Signatures: `esc(s)`; `render()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: ventus-grid-engine data; data source: stars data; JSON file dictionary.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 1 estate file (link 1); used by 6; mentioned by 0 ### Definitions - File: grid-dictionary/seed/definitions.yaml (YAML, 614 lines) · role docs-config · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/grid-dictionary/blob/21b73d7cd5a6171245e0b3d1b69b0ce4d6322a63/seed/definitions.yaml#L1-L614 - Page: https://code.globalgrid2050.com/explore-code/s/1995.html#f1 - Synopsis: A configuration file in the seed folder of Grid Dictionary covering substations, the Renewable Energy Planning Database (REPD) register, cables and interconnectors. - What it achieves (comment): Authoritative grid terms for GlobalGrid2050, curated by the Ventus lab. - Why it exists in the grid workflow: Domain terms in the code: substations, the REPD register, cables, interconnectors, 400kV, 275kV. README: "`tools/build_dictionary.py` reads `seed/definitions.yaml` (the curated authoritative terms), the wandering-star code index (`stars/code/index.json` + `code/f/*.json`), `stars/blocks/blocks.json`, and the Maya cards, then writes:" - Inputs & outputs: Voltage levels named: 400kV, 275kV, 132kV, 33kV, 11kV. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 275kV, 132kV, 33kV, 11kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Placement - File: grid-distance-maths/src/placement.mjs (JavaScript, 65 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/grid-distance-maths/blob/8e91b07d8312acca5bcaef43e839f06a3b1d642a/src/placement.mjs#L1-L65 - Page: https://code.globalgrid2050.com/explore-code/s/1995.html#f2 - Synopsis: A JavaScript module in Grid Distance Maths that works with hilbert order (`hilbertOrder`). - What it achieves (comment): It is built from the golden step (`golden`), the hilbert order helper (`hilbertOrder`) and the hilbert step (`hilbert`). Where a thing goes on a plane, and what "near" means there. - What it does: It calculates its inputs. Defines golden, hilbertOrder, hilbert, lattice, morph. - Downstream impact: Used directly by 1 file: Verify Placement (grid-distance-maths). - Signatures: `export golden(key, spacing = 1)`; `export hilbertOrder(n)`; `export hilbert(d, order)`; `export lattice(index, radices)`; `export morph(a, b, t, ease = true)`; `ry(t ^ rx)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Placement - File: grid-distance-maths/src/placement.py (Python, 108 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/grid-distance-maths/blob/8e91b07d8312acca5bcaef43e839f06a3b1d642a/src/placement.py#L1-L108 - Page: https://code.globalgrid2050.com/explore-code/s/1996.html#f1 - Synopsis: A Python module in Grid Distance Maths that works with hilbert order (`hilbert_order`). It is built from the golden step (`golden`), the hilbert step (`hilbert`) and the lattice step (`lattice`). - What it achieves (comment): Where a thing goes on a plane, and what "near" means there. - What it does: It calculates its inputs. Defines golden, hilbert_order, hilbert, lattice, morph. Uses libraries math. - Signatures: `golden(key, spacing=1.0)`; `hilbert_order(n)`; `hilbert(d, order)`; `lattice(index, radices)`; `morph(a, b, t, ease=True)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### CD Trace - File: gridmachine1/202609071322-linux-handover/probes/cd-trace.mjs (JavaScript, 70 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridmachine1/blob/16cd3db49d03e6faa0e4e24f06f08184422049be/202609071322-linux-handover/probes/cd-trace.mjs#L1-L70 - Page: https://code.globalgrid2050.com/explore-code/s/1996.html#f2 - Synopsis: A JavaScript module in the probes folder of Gridmachine1 that fetches composition, interconnectors, interconnector endpoints and homepage catalogue, using SHA-256 from the GridAtlas and ventus-grid-engine repositories. - What it achieves (comment): It is built from the sha step (`sha`), the blob step (`blob`) and the head step (`head`). For each artefact a commit produced, is the live origin serving exactly the bytes git holds? - What it does: It fetches composition, interconnectors, interconnector endpoints and homepage catalogue. Defines sha, blob, head, n. Uses libraries node:child_process, node:crypto. Side effects: makes network requests; starts processes. - Why it exists in the grid workflow: Domain terms in the code: interconnectors. - Inputs & outputs: In: data source: gridatlas data; data source: ventus-grid-engine data; JSON file current.json; JSON file 202609071232-composition.json; GeoJSON file interconnectors.geojson; JSON file interconnector-endpoints.json; JSON file interconnectors.config.json; JSON file interconnectors.json. - Signatures: `sha(b)`; `blob(repo, rev, path)`; `head(repo)`; `n(v)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; data source: ventus-grid-engine data; JSON file current.json; JSON file 202609071232-composition.json; GeoJSON file interconnectors.geojson; JSON file interconnector-endpoints.json; JSON file interconnectors.config.json; JSON file interconnectors.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Range - File: gridmachine1/202609071322-linux-handover/rig-kit/range.mjs (JavaScript, 82 lines) · role storage · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridmachine1/blob/16cd3db49d03e6faa0e4e24f06f08184422049be/202609071322-linux-handover/rig-kit/range.mjs#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/1996.html#f3 - Synopsis: A JavaScript module in the rig kit folder of Gridmachine1 that reads vnd apache. It serves options (`serveOptions`) and is built from the mime for helper (`mimeFor`). - What it achieves (comment): Serve `target` honouring a Range header if present. - What it does: It loads vnd apache. Defines serveWithRange, mimeFor, serveOptions. Uses libraries node:fs. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: Parquet file vnd.apache.parquet; DuckDB queries. - Downstream impact: Used directly by 2 files: Verify Interconnector Arrival (gridmachine1); Verify Derived (gridmachine1). - Signatures: `export serveWithRange(req, res, target, contentType)`; `export mimeFor(file)`; `export serveOptions(res)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [Parquet file vnd.apache.parquet; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Validity - File: gridmachine1/202609071322-linux-handover/rig-kit/validity.mjs (JavaScript, 88 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridmachine1/blob/16cd3db49d03e6faa0e4e24f06f08184422049be/202609071322-linux-handover/rig-kit/validity.mjs#L1-L88 - Page: https://code.globalgrid2050.com/explore-code/s/1996.html#f4 - Synopsis: A JavaScript module in the rig kit folder of Gridmachine1 that classifies run (`classifyRun`), using SHA-256. - What it achieves (comment): It classifies run (`classifyRun`) and is built from the preflight step (`preflight`) and the steer step (`steer`). Pre-flight: everything a version needs, checked for presence before a browser is launched. - What it does: It loads data. Defines preflight, classifyRun, steer. Uses libraries node:fs, node:path. Side effects: reads or writes files. - Inputs & outputs: In: JSON file current.json. - Signatures: `export preflight(mirrorRoot, versionDir)`; `export classifyRun(controlResult, results)`; `export steer(classification, preflightResult)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file current.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Derived - File: gridmachine1/202609071322-linux-handover/rig-kit/verify-derived.mjs (JavaScript, 128 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/gridmachine1/blob/16cd3db49d03e6faa0e4e24f06f08184422049be/202609071322-linux-handover/rig-kit/verify-derived.mjs#L1-L128 - Page: https://code.globalgrid2050.com/explore-code/s/1996.html#f5 - Synopsis: A JavaScript module in the rig kit folder of Gridmachine1 that fetches vnd apache. - What it achieves (comment): Does v9.144 rescue the refs that were showing a failure card? - What it does: It fetches vnd apache. Uses libraries node:fs, node:path, node:http, file:///C:/Users/vikra/LocalCI/PipelineNews-GridAtlas/v004/node_modules/playwright/index.mjs. Side effects: changes the web page (DOM); reads or writes files; makes network requests; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: data source: 127.0.0.1:${PORT}; Parquet file vnd.apache.parquet; DuckDB queries; command-line arguments. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: 127.0.0.1:${PORT}; Parquet file vnd.apache.parquet; DuckDB queries; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Law — Index Page - File: law/index.html (HTML, 824 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/law/blob/53c6c3218e7c56bce3fe6ca7727f82f2fb505dc4/index.html#L1-L824 - Page: https://code.globalgrid2050.com/explore-code/s/1997.html#f1 - Synopsis: A web page that draws laws, cables, solar and 33kV, using IEC 60904-3 and BS 7870-4. - What it achieves (readme): The README says: L14 to L25 are on the page (`index.html`) and in `laws.json`. Its code works with 33 kV, 50 Hz and 1.5 kV. - What it does: It draws laws, cables, solar and 33kV. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: cables, solar, 33kV, 132kV, 19kV, 5kV. README: "L14 to L25 are on the page (`index.html`) and in `laws.json`." - Inputs & outputs: In: JSON file laws.json. Out: web page. Voltage levels named: 132kV, 33kV, 19kV, 5kV, 2.9kV, 1.5kV, 1500V. - Downstream impact: Used directly by 1 file: Watch (time-stone). Reached from 1 other entry point, including Watch Workflow (time-stone). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: auto - data_contracts: in [JSON file laws.json]; out [web page]; crs []; voltages [132kV, 33kV, 19kV, 5kV, 2.9kV, 1.5kV, 1500V] - Edges: uses 1 estate file (link 1); used by 1; mentioned by 0 ### Replay - File: legislation/case/replay/replay.py (Python, 154 lines) · role storage · stage ingest · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/case/replay/replay.py#L1-L154 - Page: https://code.globalgrid2050.com/explore-code/s/1998.html#f2 - Synopsis: A Python command-line tool in the case folder of Legislation that reads ia6 and legal evidence, using SHA-256. - What it achieves (comment): It is built from the verify step (`verify`), the full scan helper (`full_scan`) and the start step (`start`). Bounded replay of a fictional evidence gap against one dated XML manifestation. It accepts `--rounds`. - What it does: It loads ia6 and legal evidence. Defines 13 functions or classes, including verify, full_scan, start, end, fixtures. Uses libraries argparse, hashlib, json, pathlib, re. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file ia6.json; JSON file legal-evidence.json; SQLite database; command-line arguments. - Downstream impact: Used directly by 1 file: Test Replay (legislation). - Signatures: `verify(data, expected)`; `full_scan(xml, target_uri)`; `start(_, attrs)`; `end(_)`; `fixtures()`; `unresolved(case, question, missing)`; `full_evidence(case, question)`; `selective_evidence(case, question)`; `measured(call)`; `replay(path, rounds)`; `setup()`; `scan()`; `select()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file ia6.json; JSON file legal-evidence.json; SQLite database; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (sys-path 1); used by 1; mentioned by 0 ### Verify Ia6 - File: legislation/case/verify_ia6.py (Python, 47 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/case/verify_ia6.py#L1-L47 - Page: https://code.globalgrid2050.com/explore-code/s/1998.html#f3 - Synopsis: A Python command-line tool in the case folder of Legislation that verifies the original repository PDF and optionally compare Parliament's bytes, using SHA-256. - What it achieves (name): Defines `identity` and `verify`. It accepts `--repository` and `--online`. - What it does: It fetches data. Defines identity, verify, main. Uses libraries argparse, hashlib, json, pathlib, urllib.request. Side effects: reads or writes files; makes network requests. - Inputs & outputs: In: JSON file ia6.json; command-line arguments. - Downstream impact: Used directly by 1 file: Verify (legislation). Reached from 1 other entry point, including Verify Workflow (legislation). - Signatures: `identity(data)`; `verify(data, expected)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file ia6.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Screen - File: legislation/contracts/screen.py (Python, 85 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/contracts/screen.py#L1-L85 - Page: https://code.globalgrid2050.com/explore-code/s/1998.html#f4 - Synopsis: A Python command-line tool in the contracts folder of Legislation that replays one fictional civilian screening question, using SHA-256. - What it achieves (name): Defines `appraisal` and `evaluate`. - What it does: Defines appraisal, evaluate. Uses libraries argparse, datetime, decimal, hashlib, json. Side effects: reads or writes files. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Test Screen (legislation). - Signatures: `appraisal(rows, annual_real_discount_rate)`; `evaluate(case)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Verify Catalogue - File: legislation/data/verify_catalogue.py (Python, 36 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/data/verify_catalogue.py#L1-L36 - Page: https://code.globalgrid2050.com/explore-code/s/1998.html#f5 - Synopsis: A Python command-line tool in the data folder of Legislation that verifies every preserved introduction against its record without network access, using SHA-256. - What it achieves (name): Its name says it verifies catalogue. Defines `verify`. - What it does: It loads data. Defines verify. Uses libraries hashlib, json, pathlib, xml.etree.ElementTree, zipfile. Side effects: reads or writes files. - Inputs & outputs: In: JSON file catalogue.json. - Downstream impact: Used directly by 1 file: Verify Workflow (legislation). - Signatures: `verify()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file catalogue.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Compare - File: legislation/editions/compare.py (Python, 73 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/editions/compare.py#L1-L73 - Page: https://code.globalgrid2050.com/explore-code/s/1998.html#f6 - Synopsis: A Python command-line tool in the editions folder of Legislation that reads edition (`read_edition`), using SHA-256. - What it achieves (comment): It is built from the digest step (`digest`), the compare step (`compare`) and the replay step (`replay`). Compare exact publisher editions of one addressed CLML provision. It accepts `--source-directory`. - What it does: It loads data. Defines digest, read_edition, compare, replay. Uses libraries datetime, hashlib, json, pathlib, urllib.parse. Side effects: reads or writes files. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Test Compare (legislation). - Signatures: `digest(body)`; `read_edition(path, expected)`; `compare(before, after)`; `replay(source_directory=None)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Benchmark - File: legislation/engine/benchmark.py (Python, 81 lines) · role storage · stage ingest · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/engine/benchmark.py#L1-L81 - Page: https://code.globalgrid2050.com/explore-code/s/1998.html#f7 - Synopsis: A Python command-line tool in the engine folder of Legislation that replays the Electricity Act 1989 whole-source vs selective retrieval experiment. It is built from the end step (`end`). - What it achieves (name): Defines `measure`, `scan`, `start` and 1 more. - What it does: It loads data. Defines measure, scan, start, end, main. Uses libraries argparse, json, pathlib, sqlite3, tempfile. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: SQLite database; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `measure(fn)`; `scan(path)`; `start(_name, attrs)`; `end(_name)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [SQLite database; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Legal - File: legislation/engine/legal.py (Python, 254 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/engine/legal.py#L1-L254 - Page: https://code.globalgrid2050.com/explore-code/s/1999.html#f1 - Synopsis: A Python command-line tool in the engine folder of Legislation that reads catalogue and benchmark receipt, using SHA-256. - What it achieves (comment): It starts element (`start_element`) and is built from the sha step (`sha`) and the official path helper (`official_path`). Exact byte-range retrieval for publisher-identified CLML provisions. It accepts `--catalogue` and `--xml`. - What it does: It loads catalogue and benchmark receipt. Defines 12 functions or classes, including sha, official_path, tag_end, locate, start_element. Uses libraries argparse, datetime, gzip, hashlib, json. Side effects: changes the web page (DOM); reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: JSON file catalogue.json; JSON file benchmark-receipt.json; SQLite database; command-line arguments. - Downstream impact: Used directly by 4 files: Verify Workflow (legislation); Test Legal (legislation); Replay (legislation); Benchmark (legislation). Reached from 1 other entry point, including Test Replay (legislation). - Signatures: `sha(data)`; `official_path(url)`; `tag_end(data, start)`; `locate(data, source_url)`; `start_element(name, attrs)`; `end_element(name)`; `reject_doctype(*_args)`; `characters(value)`; `ingest(db, data, url, retrieved)`; `get(db, digest, locator)`; `search(records, query, jurisdiction=None, status=None, dated=None)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file catalogue.json; JSON file benchmark-receipt.json; SQLite database; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Browser Acceptance - File: legislation/legal-evidence/browser_acceptance.py (Python, 89 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/legal-evidence/browser_acceptance.py#L1-L89 - Page: https://code.globalgrid2050.com/explore-code/s/1999.html#f2 - Published at: https://ventusltd.github.io/legislation/legal-evidence/ - Synopsis: A Python command-line tool in the legal evidence folder of Legislation that draws catalogue, regulatory references and project review, and uses data from the GridAtlas repository. - What it achieves (comment): It is built from the quiet class (`Quiet`) and the log message helper (`log_message`). Browser acceptance for the static legal evidence reader (requires Playwright + Chromium). - What it does: It draws catalogue, regulatory references, project review and the REPD register. Defines Quiet, log_message, main. Uses libraries functools, http.server, pathlib, json, os. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: data source: gridatlas data; JSON file catalogue.json; JSON file regulatory-references.json; JSON file homepage.json; CSV file project-review.csv. - Downstream impact: Used directly by 1 file: Verify Workflow (legislation). It is itself an entry point, published at https://ventusltd.github.io/legislation/legal-evidence/. - Signatures: `class Quiet`; `log_message(self, *args)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file catalogue.json; JSON file regulatory-references.json; JSON file homepage.json; CSV file project-review.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Legislation — Legal Evidence Page - File: legislation/legal-evidence/index.html (HTML, 50 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/legal-evidence/index.html#L1-L50 - Page: https://code.globalgrid2050.com/explore-code/s/1999.html#f3 - Published at: https://ventusltd.github.io/legislation/legal-evidence/ - Synopsis: A web page that draws project review, catalogue, ia6 and the Renewable Energy Planning Database (REPD) register, and uses data from the GridAtlas repository. Published at https://ventusltd.github.io/legislation/legal-evidence/. - What it does: It draws project review, catalogue, ia6 and the REPD register. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register. - Inputs & outputs: In: CSV file project-review.csv; JSON file catalogue.json; JSON file ia6.json; form fields (user input). Out: web page. - Downstream impact: Used directly by 5 files: Vicinity Legal Evidence (gridatlas); Vicinity Legal Evidence Proof (gridatlas); GridAtlas Test (legislation); Link (globalgrid2050); and 1 more. Reached from 19 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); Report A4 (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); Report Model (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). It is itself an entry point, published at https://ventusltd.github.io/legislation/legal-evidence/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [CSV file project-review.csv; JSON file catalogue.json; JSON file ia6.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 2, stylesheet 1, script-src 1); used by 5; mentioned by 0 ### Reader - File: legislation/legal-evidence/reader.css (CSS, 34 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/legal-evidence/reader.css#L1-L34 - Page: https://code.globalgrid2050.com/explore-code/s/1999.html#f4 - Published at: https://ventusltd.github.io/legislation/legal-evidence/ - Synopsis: A style sheet in the legal evidence folder of Legislation. Served with the page at https://ventusltd.github.io/legislation/legal-evidence/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Legislation — Legal Evidence Page (legislation, https://ventusltd.github.io/legislation/legal-evidence/). Reached from 20 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); Report A4 (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); Report Model (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). It is itself an entry point, published at https://ventusltd.github.io/legislation/legal-evidence/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Reader - File: legislation/legal-evidence/reader.js (JavaScript, 198 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/legal-evidence/reader.js#L1-L198 - Page: https://code.globalgrid2050.com/explore-code/s/1999.html#f5 - Published at: https://ventusltd.github.io/legislation/legal-evidence/ - Synopsis: A JavaScript file in the legal evidence folder of Legislation that draws catalogue, regulatory references and ia6, and uses data from the GridAtlas repository. Served with the page at https://ventusltd.github.io/legislation/legal-evidence/. - What it achieves (name): It gets JSON (`getJson`), shows source edition (`showSourceEdition`) and loads catalogue (`loadCatalogue`). Defines `byId`, `element`, `officialLink` and 10 more. It responds to click and input events. - What it does: It draws catalogue, regulatory references, ia6 and wind. Defines 13 functions or classes, including byId, element, officialLink, getJson, pipelineLocation. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: wind. - Inputs & outputs: In: data source: gridatlas data; JSON file homepage.json; JSON file catalogue.json; JSON file regulatory-references.json; JSON file ia6.json. - Downstream impact: Used directly by 1 file: Legislation — Legal Evidence Page (legislation, https://ventusltd.github.io/legislation/legal-evidence/). Reached from 20 other entry points, including GlobalGrid2050 — UK Renewables Pipeline Page (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); Report A4 (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/); Report Model (globalgrid2050, https://globalgrid2050.com/uk_renewables_pipeline/202611280922/). It is itself an entry point, published at https://ventusltd.github.io/legislation/legal-evidence/. - Signatures: `byId(id)`; `element(name, text)`; `officialLink(label, address)`; `getJson(path)`; `pipelineLocation(release)`; `showSourceEdition(knownReleases)`; `source(query.get('source_app') || '')`; `releaseLinks()`; `context()`; `subjectChoice(subjects)`; `sourceCard(record)`; `render()`; `loadCatalogue()`; `loadCase()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file homepage.json; JSON file catalogue.json; JSON file regulatory-references.json; JSON file ia6.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Legal Evidence - File: legislation/protections/legal-evidence.mjs (JavaScript, 35 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/protections/legal-evidence.mjs#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/1999.html#f6 - Synopsis: A JavaScript module in the protections folder of Legislation that uses SHA-256. It is built from the has text helper (`hasText`), the date step (`date`) and the within step (`within`). - What it achieves (comment): A receipt checks the support recorded for a screening result. - What it does: It calculates its inputs. Defines hasText, date, within. - Why it exists in the grid workflow: README: "CVAA's data-only antibody applies the same declaration checks to `.cvaa/contracts/legal-evidence.json` when present." - Inputs & outputs: In: JSON file legal-evidence.json. - Downstream impact: Used directly by 1 file: Screen (legislation). Reached from 2 other entry points, including Verify Workflow (legislation); Verify (legislation). - Signatures: `hasText(value)`; `date(value)`; `within(from, until, when)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file legal-evidence.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Screen - File: legislation/protections/screen.mjs (JavaScript, 29 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/legislation/blob/960afbd0f5393e818b400a7f1a523acd6814e217/protections/screen.mjs#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/1999.html#f7 - Synopsis: A JavaScript module in the protections folder of Legislation that reads legal evidence, using SHA-256. - What it achieves (name): Defines `check` and `load`. - What it does: It loads legal evidence. Defines check, load. Uses libraries node:fs, node:path, node:crypto, node:url. Side effects: reads or writes files. - Inputs & outputs: In: JSON file legal-evidence.json; command-line arguments. - Downstream impact: Used directly by 2 files: Verify Workflow (legislation); Test (legislation). Reached from 1 other entry point, including Verify (legislation). - Signatures: `export check(receipt, directory, prior)`; `load(name)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file legal-evidence.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Backfill Parallel - File: lightning/backfill_parallel.py (Python, 449 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/backfill_parallel.py#L1-L449 - Page: https://code.globalgrid2050.com/explore-code/s/2000.html#f1 - Synopsis: A Python command-line tool in Lightning that reads shard k and rb d, using SHA-256. It writes JSON atomic (`write_json_atomic`), reads lines (`read_lines`) and splits shards (`split_shards`). - What it achieves (comment): Parallel backfill of never-searched UTC dates (`.github/workflows/backfill-parallel-lightning.yml`). It accepts `--archive-dir`, `--end-date` and `--days`. - What it does: It loads shard k and rb d. Defines 18 functions or classes, including utc_now, iso, sha256_file, write_json_atomic, read_lines. Uses libraries __future__, argparse, hashlib, json, os. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file shard-K.json; JSON file rb-D.json; JSON file index.json; JSON file status.json; command-line arguments. - Downstream impact: Used directly by 8 files: Backfill Parallel Lightning Workflow (lightning); Test Backfill Parallel (lightning); Test Download Retries (lightning); Test Shard Budget (lightning); and 4 more. Reached from 3 other entry points, including Backfill Lightning Workflow (lightning); Test Lightning Workflow (lightning); Update Lightning Workflow (lightning). - Signatures: `utc_now()`; `iso(value: datetime)`; `sha256_file(path: Path)`; `write_json_atomic(path: Path, obj)`; `read_lines(path: Path)`; `worst(stops)`; `split_shards(dates: list[str], shards: int)`; `plan(archive_dir: Path, *, end_date: str, days: int, shards: int, now: datetime)`; `class Cancelled`; `_on_term(signum, frame)`; `collect_command(day: str, record: Path)`; `collect_subprocess(day: str, record: Path, log: Path, timeout: float | None = None)`; `run_shard(shard: int, dates: list[str], out_dir: Path, *, budget_minutes: float, stagger_seconds: float = 0, collector=None, cl...)`; `finalize(*, plan_dates: list[str], shards: int, records_dir: Path, archive_dir: Path, status_path: Path, now: datetime)`; `hourly_active(gh: str, repo: str, workflow: str)`; `wait_for_hourly(gh: str, repo: str, workflow: str, *, max_minutes: float, poll_seconds: float = 30, clock=time.monotonic, sleep=time....)`; `_github_output(pairs: dict)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file shard-K.json; JSON file rb-D.json; JSON file index.json; JSON file status.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 2, script-call 1); used by 8; mentioned by 0 ### Collect - File: lightning/collect.py (Python, 1079 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/collect.py#L1-L1079 - Page: https://code.globalgrid2050.com/explore-code/s/2001.html#f1 - Synopsis: A Python command-line tool in Lightning that fetches UK lightning. It downloads outage (`DownloadOutage`), classifies download error (`classify_download_error`) and refreshes access token (`refresh_access_token`). - What it achieves (comment): UK lightning flash GeoJSON from EUMETSAT Meteosat LI L2-LFL. It accepts `--hours`, `--auto-window` and `--rebuild-day`. - What it does: It fetches UK lightning. Defines 47 functions or classes, including TooManyUnparsed, __init__, DownloadOutage, __init__, _sleep. Uses libraries __future__, argparse, io, json, math. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: README: "`collect.py`: downloads genuine LFL products with `eumdac`, reads NetCDF BODY data, filters UK coordinates and exports GeoJSON." - Inputs & outputs: In: JSON file index.json; GeoJSON file uk_lightning.geojson; JSON file status.json; command-line arguments. - Downstream impact: Used directly by 25 files: Backfill Lightning Workflow (lightning); Update Lightning Workflow (lightning); Test Backfill (lightning); Test Backfill Parallel (lightning); and 21 more. Reached from 9 other entry points, including Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Verify Lightning Data Workflow (lightning). - Signatures: `class TooManyUnparsed`; `__init__(self, message: str, unparsed=(), retries=None)`; `class DownloadOutage`; `_sleep(seconds: float)`; `_error_chain(error: BaseException)`; `http_status(error: BaseException)`; `retry_after_seconds(error: BaseException, *, now: datetime | None = None)`; `classify_download_error(error: BaseException)`; `backoff_seconds(retry: int, rng)`; `refresh_access_token(product)`; `new_retry_stats()`; `fetch_product(product, name: str, stats: dict, *, sleep, rng, token_refresher)`; `parse_utc(value: str)`; `iso_utc(value)`; `inside_uk_view(longitude: float, latitude: float)`; `build_feature(lon, lat, timestamp, product_name: str, index: int)`; `decode_body(content: bytes, product_name: str, start: datetime, end: datetime)`; `decode_product(blob: bytes, product_name: str, start: datetime, end: datetime, *, body_decoder=None)`; `install_http_timeouts(timeout=None, *, requests_module=None)`; `request(self, method, url, *args, **kwargs)`; `search_products(start: datetime, end: datetime)`; `run_search()`; `search_with_retries(run_search, *, sleep=None, rng=None)`; `unparsed_entry(product_name: str, error: BaseException, *, kind: str = "content", reason: str | None = None, attempts: int | None = ...)`; `download_products(products, start: datetime, end: datetime, *, body_decoder=None, sleep=None, rng=None, token_refresher=None)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; GeoJSON file uk_lightning.geojson; JSON file status.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 25; mentioned by 0 ### Grid - File: lightning/grid.py (Python, 266 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/grid.py#L1-L266 - Page: https://code.globalgrid2050.com/explore-code/s/2002.html#f2 - Synopsis: A Python command-line tool in Lightning that reads yyyy mm, using SHA-256. It refreshes grids (`refresh_grids`) and verifies grids (`verify_grids`). - What it achieves (comment): Per-month density grid derived from the one-year archive's day shards. It accepts `--archive-dir` and `--deep`. - What it does: It loads yyyy mm. Defines 11 functions or classes, including cell_of, row_digests, day_entry, day_cells, month_content. Uses libraries __future__, argparse, json, math, re. Side effects: reads or writes files. - Why it exists in the grid workflow: README: "`grid.py` and `data/history/grid/YYYY-MM.json` (`uk-lightning-history-grid.v1`): per-month counts of archived optical flashes per 0.1° cell per UTC day, regenerated with the archive, so a whole-year density view sums from at most 13 small files" - Inputs & outputs: In: JSON file YYYY-MM.json; JSON file index.json; command-line arguments. - Downstream impact: Used directly by 10 files: Verify Lightning Data Workflow (lightning); CI Verify Data (lightning); Test Backfill Parallel (lightning); Test Backfill Workflow (lightning); and 6 more. Reached from 17 other entry points, including Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning). - Signatures: `cell_of(lon: float, lat: float)`; `row_digests(row: dict)`; `day_entry(row: dict)`; `day_cells(archive_dir: Path, row: dict)`; `month_content(month: str, entries: list[dict], cells_by_day: dict[str, dict[int, int]])`; `parse_grid(text: str, month: str)`; `grid_path(month: str)`; `_month_rows(index: dict)`; `refresh_grids(archive_dir: Path, index: dict)`; `verify_grids(archive_dir: Path, index: dict | None = None, *, deep: bool = False)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file YYYY-MM.json; JSON file index.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 10; mentioned by 0 ### History Window - File: lightning/history-window.mjs (JavaScript, 647 lines) · role render · stage output - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/history-window.mjs#L1-L647 - Page: https://code.globalgrid2050.com/explore-code/s/2003.html#f1 - Synopsis: A JavaScript module in Lightning that selects utc window (`selectUtcWindow`) and utc dates (`selectUtcDates`) and validates v1 row (`validateV1Row`), covering UK lightning, using SHA-256. - What it achieves (comment): It selects utc window (`selectUtcWindow`), selects utc dates (`selectUtcDates`) and clamps window (`clampWindow`). Standalone UTC date-window client for the UK lightning archive (index v1 or v2 + UTC day shards) and the live 7-day feed. - What it does: It lists and searches UK lightning. Defines 45 functions or classes, including utc, minusMonths, ymd, dayStart, selectUtcWindow. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "`history-window.mjs`: DOM-free UTC date-window client (periods, navigation, budgeted tiered loading, coverage, UI states) for a GridAtlas implant to consume." - Inputs & outputs: In: JSON file index.json; GeoJSON file uk_lightning.geojson. - Downstream impact: Used directly by 1 file: Test History Window (lightning). Reached from 1 other entry point, including Test Lightning Workflow (lightning). - Signatures: `export selectUtcWindow({ period = '24h', end = new Date(), start = null, now = null } = {})`; `export selectUtcDates(fromYmd, toYmd, { now = null } = {})`; `export previousUtcWindow(w)`; `export nextUtcWindow(w, now = new Date())`; `export clampWindow(w, { cutoffMs = -Infinity, nowMs = Infinity } = {})`; `export canGoPrevious(w, index)`; `export canGoNext(w, now = Date.now())`; `export normaliseIndex(raw, { lookbackMaxHours = DEFAULTS.lookbackMaxHours } = {})`; `export isStale(index, nowMs = Date.now(), staleAfterMs = DEFAULTS.staleAfterMs)`; `export chosenDays(index, w)`; `export dayCoverage(index, date)`; `export windowCoverage(index, w)`; `export classifyState(result, { nowMs = Date.now(), staleAfterMs = DEFAULTS.staleAfterMs } = {})`; `export T(iso)`; `export Ts(iso)`; `export N(n)`; `export AGO(ms)`; `export captionLines(result, { nowMs = Date.now() } = {})`; `export formatHistoryLabel(result, opts = {})`; `export shardTargets(row, w)`; `export windowBudget(rows, w, { byteBudget = DEFAULTS.byteBudget, countBudget = DEFAULTS.countBudget, bytesPerFeatureEstimate = DEFAULTS.b...)`; `export createLightningHistoryClient(options = {})`; `utc(v, name)`; `minusMonths(d, count)`; `ymd(ms)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file index.json; GeoJSON file uk_lightning.geojson]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### History - File: lightning/history.py (Python, 1393 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/history.py#L1-L1393 - Page: https://code.globalgrid2050.com/explore-code/s/2004.html#f1 - Synopsis: A Python command-line tool in Lightning that reads seed scan windows, using SHA-256. It formats utc (`format_utc`), validates feature (`validate_feature`) and loads seed windows (`load_seed_windows`). - What it achieves (comment): Append genuine EUMETSAT lightning observations to a one-year, UTC-day archive. It writes `index.json`. It accepts `--archive-dir`, `--day` and `--rebuild-record`. - What it does: It loads seed scan windows. Defines 42 functions or classes, including format_utc, year_ago, day_path, part_path, validate_feature. Uses libraries __future__, argparse, hashlib, json, math. Side effects: reads or writes files. - Why it exists in the grid workflow: README: "`history.py` and `data/history/`: one-year UTC archive — `index.json` (`uk-lightning-history-index.v2`, one row per UTC date with coverage none/partial/full, count null when never searched) and day shards `days/YYYY/MM/DD.json` (hourly parts above 8 MiB)." - Inputs & outputs: In: JSON file HH.json; JSON file index.json; JSON file seed_scan_windows.json; command-line arguments. - Downstream impact: Used directly by 23 files: Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Update Lightning Workflow (lightning); Verify Lightning Data Workflow (lightning); and 19 more. Reached from 4 other entry points, including Test Lightning Workflow (lightning); CI Push with Replay (lightning); Test Download Retries (lightning). - Signatures: `format_utc(value: datetime)`; `year_ago(current: date)`; `day_path(day: date)`; `part_path(day: date, hour: int)`; `validate_feature(feature: object, now: datetime, cutoff: date)`; `_serialise(obj: object)`; `_sha256(content: str)`; `_write_if_changed(destination: Path, content: str)`; `_read_features(file: Path, expected_day: str)`; `_features_from_text(text: str, label: str, expected_day: str)`; `quarantine_path(day: str)`; `_read_quarantine(file: Path, day: str, now: datetime, cutoff: date)`; `_quarantine_content(day: str, held: dict[str, dict])`; `_evidence(row: dict, index_generated_utc: str | None)`; `integrity_alert(lost_dates: list[str])`; `_normalise_windows(prior: list, extra: list, cutoff: datetime, now: datetime)`; `scanned_seconds_for_day(windows: list[dict], day: date)`; `slots_proved_by_flashes(records: list[dict])`; `_phase_slot_start(moment: datetime)`; `_drop_cross_product_duplicates(found: dict[str, dict], kinds: dict[str, str])`; `coverage_for(scanned: int)`; `is_sealed(day: date, coverage: str, now: datetime, lookback_max_hours: float = LOOKBACK_MAX_HOURS)`; `_day_collection(day: str, records: list[dict], *, hour: int | None = None)`; `class ShardTooLarge`; `_plan_shards(day: str, records: list[dict], *, max_bytes: int, target_bytes: int)` (and 15 more) - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file HH.json; JSON file index.json; JSON file seed_scan_windows.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 23; mentioned by 0 ### Reproduce - File: lightning/reproduce.py (Python, 706 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/reproduce.py#L1-L706 - Page: https://code.globalgrid2050.com/explore-code/s/2006.html#f1 - Synopsis: A Python command-line tool in Lightning that parses utc (`parse_utc`), reads shard (`read_shard`) and compares day (`compare_day`), using SHA-256. - What it achieves (comment): It is built from the sha256 bytes helper (`sha256_bytes`), the canonical step (`canonical`) and the summary digest helper (`summary_digest`). Recompute the lightning archive's published numbers from the committed files alone. It accepts `--data-dir`, `--json` and `--expect`. - What it does: It loads data. Defines 23 functions or classes, including sha256_bytes, canonical, summary_digest, parse_utc, fmt_utc. Uses libraries __future__, argparse, hashlib, json, math. Side effects: reads or writes files. - Why it exists in the grid workflow: README: "`reproduce.py`: standard-library-only recomputation of every index row, total, grid and the 12-month headline from the committed files, with a `summary_sha256`" - Inputs & outputs: In: JSON file index.json; command-line arguments. - Downstream impact: Used directly by 2 files: Verify Lightning Data Workflow (lightning); Test Reproduce (lightning). Reached from 4 other entry points, including Backfill Lightning Workflow (lightning); Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning). - Signatures: `sha256_bytes(data: bytes)`; `canonical(obj)`; `summary_digest(summary: dict)`; `parse_utc(value: str)`; `fmt_utc(moment: datetime)`; `day_start(day: date)`; `year_ago(current: date)`; `inside_view(lon: float, lat: float)`; `cell_of(lon: float, lat: float)`; `product_start(feature_id: str)`; `merged_seconds_in(windows: list[tuple[datetime, datetime]], lo: datetime, hi: datetime)`; `class Report`; `__init__(self)`; `bad(self, message: str)`; `expect(self, label: str, recomputed, committed)`; `inventory(history_dir: Path)`; `read_shard(rel: str, data: bytes, expected_day: str, report: Report, *, hour: str | None)`; `flash_proof_seconds(features: list[dict])`; `check(data_dir: Path)`; `_flash_key(feature: dict)`; `compare_day(data_dir: Path, day: str, record_path: Path)`; `print_human(summary: dict, out=None)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file index.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 2; mentioned by 0 ### Status - File: lightning/status.py (Python, 529 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/lightning/blob/2882145e28a0412de3a5bcfa40a12d7cd894ba90/status.py#L1-L529 - Page: https://code.globalgrid2050.com/explore-code/s/2007.html#f2 - Synopsis: A Python command-line tool in Lightning that works with next cron slot (`next_cron_slot`) and heartbeat block (`heartbeat_block`). - What it achieves (comment): It is built from the health step (`health`), the is due helper (`is_due`) and the integrity status helper (`integrity_status`). Write `data/status.json` after every collector run, successful or not. It accepts `--status`, `--run-record` and `--archive-result`. - What it does: It loads data. Defines 19 functions or classes, including _load, health, _minutes, _maybe_utc, next_cron_slot. Uses libraries __future__, argparse, json, sys, datetime. Side effects: reads or writes files. - Why it exists in the grid workflow: README: "`status.py` and `data/status.json`: written after every run, successful or not (last error, consecutive failures, last successful scan end)." - Inputs & outputs: In: JSON file status.json; JSON file index.json; command-line arguments. - Downstream impact: Used directly by 15 files: Backfill Lightning Workflow (lightning); Update Lightning Workflow (lightning); CI Replay Backfill (lightning); CI Replay Hourly Archive (lightning); and 11 more. Reached from 6 other entry points, including Backfill Parallel Lightning Workflow (lightning); Test Lightning Workflow (lightning); Test Grid (lightning). - Signatures: `_load(path: Path | None)`; `health(now: datetime, last_success_end: datetime | None)`; `_minutes(a: datetime | None, b: datetime | None)`; `_maybe_utc(value)`; `next_cron_slot(now: datetime)`; `_fmt_minutes(minutes: float)`; `heartbeat_block(*, now: datetime, previous: dict, attempt_utc: str, outcome: str, trigger: str | None, run_id: str | None, run_create...)`; `_hhmm(value: datetime)`; `_slots_between(start: datetime, end: datetime)`; `_hourly_slots(start: datetime, end: datetime)`; `_explain(attempt: datetime, outcome: str, this_run: dict, gap: dict | None)`; `is_due(previous: dict | None, *, now: datetime, event: str, min_gap_minutes: int = DUE_MIN_GAP_MINUTES)`; `integrity_status(previous: dict, archive_result: dict | None, archive_outcome: str)`; `retry_counts(stats: dict | None)`; `backfill_status(previous: dict | None, *, now: datetime, planned: list[str], filled: list[str], stopped: str, error: str | None, inde...)`; `_lines(path: Path | None)`; `write_status(path: Path, status: dict)`; `main(argv=None)` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file status.json; JSON file index.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 15; mentioned by 0 ### Reports — Studio Page - File: reports/studio/index.html (HTML, 231 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/reports/blob/08aad9448481aabd2d8fd7373059bf829b29528f/studio/index.html#L1-L231 - Page: https://code.globalgrid2050.com/explore-code/s/2008.html#f1 - Synopsis: A web page using data from the registry_of_all_content_in_repos_and_dependencies and data-federation-map-for-GlobalGrid2050-all-repos repositories. It builds menu (`buildMenu`) and applies search (`applySearch`). - What it achieves (comment): GlobalGrid2050 Reports Dashboard. It responds to input events. - What it does: It draws its content. Defines esc, rowHtml, buildMenu, applySearch. Side effects: changes the web page (DOM). - Inputs & outputs: In: DuckDB queries; form fields (user input). Out: web page; SVG drawing. - Downstream impact: Used directly by 38 files: GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage Versions — GlobalGrid2050 Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/202608291526-globalgrid2050/); Homepage V001 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v001.html); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html); and 34 more. Reached from 87 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). - Signatures: `esc(s)`; `rowHtml(r)`; `key(r.name + ' ' + (r.note || ''))`; `buildMenu()`; `applySearch(raw)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [DuckDB queries; form fields (user input)]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 6 estate files (link 3, script-src 2, stylesheet 1); used by 38; mentioned by 0 ### Report Evidence - File: reports/studio/report-evidence.js (JavaScript, 90 lines) · role interaction · stage output · entry point - Source: https://github.com/Ventusltd/reports/blob/08aad9448481aabd2d8fd7373059bf829b29528f/studio/report-evidence.js#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/2008.html#f2 - Synopsis: A JavaScript file in the studio folder of Reports that builds output (`buildOutput`), covering evidence pack, using SHA-256. - What it achieves (name): It builds output (`buildOutput`) and is built from the CSV cell helper (`csvCell`) and the escape HTML helper (`escapeHtml`). Defines `buildOutput`, `csvCell` and `escapeHtml`. It responds to click events. - What it does: Defines buildOutput, csvCell, escapeHtml. Side effects: changes the web page (DOM). - Inputs & outputs: In: JSON file evidence-pack.json; CSV file evidence.csv. - Downstream impact: Used directly by 2 files: Build Browser Report Studio Workflow (reports); Reports — Studio Page (reports). Reached from 125 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V001 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v001.html). - Signatures: `buildOutput(format)`; `csvCell(value)`; `escapeHtml(value)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file evidence-pack.json; CSV file evidence.csv]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 1 ### Report Save - File: reports/studio/report-save.js (JavaScript, 25 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/reports/blob/08aad9448481aabd2d8fd7373059bf829b29528f/studio/report-save.js#L1-L25 - Page: https://code.globalgrid2050.com/explore-code/s/2008.html#f3 - Synopsis: A JavaScript file in the studio folder of Reports that saves report blob (`saveReportBlob`). It saves report blob (`saveReportBlob`) and is built from the text blob helper (`textBlob`). - What it achieves (name): Defines `saveReportBlob` and `textBlob`. - What it does: It draws its content. Defines saveReportBlob, textBlob. Side effects: changes the web page (DOM). - Downstream impact: Used directly by 2 files: Build Browser Report Studio Workflow (reports); Reports — Studio Page (reports). Reached from 125 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V001 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v001.html). - Signatures: `saveReportBlob(blob, suggestedName)`; `textBlob(text, type)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Reports — Studio Style Sheet - File: reports/studio/style.css (CSS, 133 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/reports/blob/08aad9448481aabd2d8fd7373059bf829b29528f/studio/style.css#L1-L133 - Page: https://code.globalgrid2050.com/explore-code/s/2008.html#f4 - Synopsis: A style sheet. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Reports — Studio Page (reports). Reached from 125 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V001 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v001.html). - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### B Baseline - File: seed-data/experiments/economical-seeds/economy/b_baseline.py (Python, 111 lines) · role storage · stage ingest - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/economy/b_baseline.py#L1-L111 - Page: https://code.globalgrid2050.com/explore-code/s/2008.html#f5 - Synopsis: A Python module in the economy folder of Seed Data that gets source (`get_source`) and counts query (`count_query`), using SHA-256. It is built from the source audit helper (`source_audit`). - What it achieves (comment): Standalone counterfactual for the Experiment B provenance contract. - What it does: It loads data. Defines get_source, source_audit, count_query. Uses libraries array, hashlib, json, mmap, re. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: SQLite database. - Downstream impact: Used directly by 1 file: Experiment B (seed-data). Reached from 3 other entry points, including Bench State Compare (seed-data); State Compare (seed-data); Test State Compare (seed-data). - Signatures: `get_source(capture, url, index_path)`; `source_audit(capture, url, database, index_path=None)`; `count_query(_)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [SQLite database]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Experiment A - File: seed-data/experiments/economical-seeds/experiment_a.py (Python, 305 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/experiment_a.py#L1-L305 - Page: https://code.globalgrid2050.com/explore-code/s/2009.html#f1 - Synopsis: A Python command-line tool in the economical seeds folder of Seed Data that runs worker (`run_worker`), covering larger, railways and a results, using SHA-256. - What it achieves (comment): It is built from the process counters helper (`process_counters`), the memory class (`Memory`) and the enumerate headers helper (`enumerate_headers`). Benchmark Experiment A on an existing GridAtlas teleprint and read-only STARS. It accepts `--oracle`, `--capture` and `--suffix`. - What it does: It lists and searches larger, railways and a results. Defines 14 functions or classes, including process_counters, Memory, IO, enumerate_headers, full_find. Uses libraries __future__, argparse, ctypes, hashlib, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiment'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file larger-index.json; GeoJSON file railways.geojson; JSON file a-results.json; command-line arguments. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `process_counters()`; `class Memory`; `class IO`; `enumerate_headers(raw, url)`; `full_find(raw, url)`; `section_record(index_value, suffix)`; `checked_identity(payload, record)`; `run_worker(mode, capture, oracle, suffix)`; `sample(mode, capture, oracle, suffix)`; `controls(capture, pin, suffix, output)`; `medians(samples)`; `stat(key)`; `break_even(cost, baseline, indexed)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file larger-index.json; GeoJSON file railways.geojson; JSON file a-results.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Experiment B - File: seed-data/experiments/economical-seeds/experiment_b.py (Python, 255 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/experiment_b.py#L1-L255 - Page: https://code.globalgrid2050.com/explore-code/s/2009.html#f2 - Synopsis: A Python command-line tool in the economical seeds folder of Seed Data that restores bytes (`restore_bytes`), covering larger, railways, duplicate and wrong identity, using SHA-256. - What it achieves (comment): It is built from the choose step (`choose`), the composed step (`composed`) and the process peak helper (`process_peak`). Compose selective capture retrieval with verified historical byte reconstruction. It accepts `--capture`, `--database` and `--index`. - What it does: Defines 10 functions or classes, including choose, restore_bytes, composed, process_peak, Counters. Uses libraries argparse, ctypes, ctypes.wintypes, hashlib, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiment'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file larger-index.json; GeoJSON file railways.geojson; JSON file duplicate-index.json; JSON file wrong-identity.json; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 1 file: State Compare (seed-data). Reached from 2 other entry points, including Bench State Compare (seed-data); Test State Compare (seed-data). - Signatures: `choose(catalog, suffix)`; `restore_bytes(db, packed, sql_count)`; `composed(capture, url, database, index_path)`; `process_peak()`; `class Counters`; `sample(mode, capture, url, database, index_path)`; `digest_check(path, expected)`; `negative_cases(capture, database, index_path, selected, catalog)`; `benchmark(capture, database, index_path, repetitions)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file larger-index.json; GeoJSON file railways.geojson; JSON file duplicate-index.json; JSON file wrong-identity.json; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 4 estate files (import 4); used by 1; mentioned by 0 ### History - File: seed-data/experiments/economical-seeds/history.py (Python, 90 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/history.py#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/2009.html#f3 - Synopsis: A Python command-line tool in the economical seeds folder of Seed Data that works with git blob (`git_blob`) and proof provenance (`proof_provenance`). It is built from the inspect step (`inspect`). - What it achieves (comment): Verify tablet reconstruction and find exact cross-repository and historical bridges. It accepts `--db` and `--output`. - What it does: Defines git_blob, inspect, proof_provenance. Uses libraries argparse, hashlib, json, re, collections. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. Out: JSON file. - Downstream impact: Used directly by 3 files: Experiment B (seed-data); State Compare (seed-data); Teleprint Index (seed-data). Reached from 3 other entry points, including Bench State Compare (seed-data); Experiment A (seed-data); Test State Compare (seed-data). - Signatures: `git_blob(raw)`; `inspect(db)`; `proof_provenance(db)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Magnets - File: seed-data/experiments/economical-seeds/magnets.py (Python, 151 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/magnets.py#L1-L151 - Page: https://code.globalgrid2050.com/explore-code/s/2010.html#f1 - Synopsis: A Python command-line tool in the economical seeds folder of Seed Data that reads objectives, using SHA-256. - What it achieves (comment): It reads JSON (`read_json`) and is built from the connect step (`connect`) and the file sha helper (`file_sha`). Search observable-effect cues across the complete pinned corpus. It accepts `--db`, `--objectives` and `--feedback`. - What it does: It loads objectives. Defines 8 functions or classes, including read_json, connect, file_sha, line_ids, field. Uses libraries argparse, os, hashlib, json, math. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file objectives.json; SQLite database; command-line arguments. Out: JSON file. - Downstream impact: Used directly by 7 files: Experiment A (seed-data); Experiment B (seed-data); History (seed-data); State Compare (seed-data); and 3 more. Reached from 5 other entry points, including Seed Regressions Workflow (seed-data); Bench State Compare (seed-data); Test State Compare (seed-data). - Signatures: `read_json(path)`; `connect(path)`; `file_sha(path)`; `line_ids(blob)`; `field(connection, objectives)`; `mask(value)`; `rank(candidates, labels, limit)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file objectives.json; SQLite database; command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### Bench State Compare - File: seed-data/experiments/economical-seeds/next-compose/bench_state_compare.py (Python, 109 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-compose/bench_state_compare.py#L1-L109 - Page: https://code.globalgrid2050.com/explore-code/s/2010.html#f2 - Synopsis: A Python command-line tool in the next compose folder of Seed Data that runs equivalent captured-state comparison arms in interleaved fresh workers. - What it achieves (name): Defines `sample`, `preflight` and `run`. It accepts `--scope`, `--mechanism` and `--limit`. - What it does: Defines sample, preflight, run, main. Uses libraries argparse, json, statistics, subprocess, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `sample(mode, inputs, scope, mechanism, limit, budget)`; `preflight(inputs)`; `run(inputs, scope, mechanism, limit, budget, repeat)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 0; mentioned by 0 ### Fixture - File: seed-data/experiments/economical-seeds/next-compose/fixture.py (Python, 71 lines) · role storage · stage output - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-compose/fixture.py#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/2010.html#f3 - Synopsis: A Python module in the next compose folder of Seed Data that reads unread, before, after and stable. It creates capture (`create_capture`). - What it achieves (comment): Generate a small synthetic capture pair and read-only STARS witness inputs. - What it does: It loads unread, before, after and stable. Defines create_capture, make_fixture. Uses libraries gc, json, sqlite3, struct, contextlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file unread.json; JSON file before.json; JSON file after.json; JSON file stable.json; JSON file same-url.json; SQLite database. - Downstream impact: Used directly by 2 files: Test State Compare (seed-data); Bench State Compare (seed-data). - Signatures: `create_capture(path, resources, generation, unread=())`; `make_fixture(directory: Path, alternate_mechanism=False)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file unread.json; JSON file before.json; JSON file after.json; JSON file stable.json; JSON file same-url.json; SQLite database]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### State Compare - File: seed-data/experiments/economical-seeds/next-compose/state_compare.py (Python, 191 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-compose/state_compare.py#L1-L191 - Page: https://code.globalgrid2050.com/explore-code/s/2010.html#f4 - Synopsis: A Python command-line tool in the next compose folder of Seed Data that opens capture (`open_capture`). - What it achieves (comment): It is built from the capture class (`Capture`), the classify step (`classify`) and the selected source helper (`selected_source`). Compare captured resource states, then inspect selected evidence by exact identity. It accepts `--scope`, `--mechanism` and `--limit`. - What it does: Defines 8 functions or classes, including Capture, open_capture, classify, selected_source, from_captures. Uses libraries __future__, argparse, json, re, sys. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 4 files: Test State Compare (seed-data); Bench State Compare (seed-data); Fixture (seed-data); State Compare Baseline (seed-data). - Signatures: `class Capture`; `open_capture(path, index_path)`; `classify(before, after, scope_prefix)`; `selected_source(capture, url, database)`; `from_captures(before, after, database, scope_prefix, mechanism_url, limit, byte_budget, compare_metadata=classify, audit_source=sel...)`; `payload(capture, url)`; `compare(before_capture: Path, before_index: Path, after_capture: Path, after_index: Path, database: Path, scope_prefix: str, ...)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 4 estate files (sys-path 4); used by 4; mentioned by 0 ### State Compare Baseline - File: seed-data/experiments/economical-seeds/next-compose/state_compare_baseline.py (Python, 54 lines) · role storage · stage ingest - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-compose/state_compare_baseline.py#L1-L54 - Page: https://code.globalgrid2050.com/explore-code/s/2010.html#f5 - Synopsis: A Python module in the next compose folder of Seed Data that classifies SQL (`classify_sql`). - What it achieves (name): Defines `classify_sql`, `standalone` and `compare`. - What it does: It loads data. Defines classify_sql, standalone, compare. Uses libraries contextlib, sqlite3, economy.b_baseline. Side effects: uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: SQLite database. - Downstream impact: Used directly by 2 files: Test State Compare (seed-data); Bench State Compare (seed-data). - Signatures: `classify_sql(before, after, scope)`; `standalone(capture, url, db)`; `compare(before_capture, before_index, after_capture, after_index, database, scope_prefix, mechanism_url=None, limit=2, byte_b...)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [SQLite database]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 2; mentioned by 0 ### Rare Limb - File: seed-data/experiments/economical-seeds/next-invention/rare/rare-limb.mjs (JavaScript, 87 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-invention/rare/rare-limb.mjs#L1-L87 - Page: https://code.globalgrid2050.com/explore-code/s/2010.html#f6 - Synopsis: A JavaScript module in the next invention folder of Seed Data that works with require uint32 (`requireUint32`) and checked top (`checkedTop`), using SHA-256. - What it achieves (readme): It is built from the identity step (`identity`), the extract step (`extract`) and the require uint32 helper (`requireUint32`). The README says: The application and rare probe can be indexed using `seed_discover.py build` with the existing two next-stage `--record` flags and additional records `next-invention/cable-screen/instrument.json` and `next-invention/rare/rare-limb.record.json`. - What it does: Defines 6 functions or classes, including identity, extract, requireUint32, checkedTop, reference. Uses libraries node:assert/strict, node:child_process, node:crypto, node:vm. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "The application and rare probe can be indexed using `seed_discover.py build` with the existing two next-stage `--record` flags and additional records `next-invention/cable-screen/instrument.json` and `next-invention/rare/rare-limb.record.json`." - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 1 file: Seed Regressions Workflow (seed-data). - Signatures: `identity(algorithm, bytes)`; `extract(checkout)`; `requireUint32(value)`; `checkedTop(seed, slot)`; `reference(slot)`; `changedCarry(slot)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Invoke - File: seed-data/experiments/economical-seeds/next-invention/reduction/invoke.mjs (JavaScript, 20 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-invention/reduction/invoke.mjs#L1-L20 - Page: https://code.globalgrid2050.com/explore-code/s/2010.html#f7 - Synopsis: A JavaScript module in the reduction folder of Seed Data. - What it does: It loads data. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Measure - File: seed-data/experiments/economical-seeds/next-invention/reduction/measure.mjs (JavaScript, 53 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-invention/reduction/measure.mjs#L1-L53 - Page: https://code.globalgrid2050.com/explore-code/s/2011.html#f1 - Synopsis: A JavaScript module in the reduction folder of Seed Data that reads fixture and cables. - What it achieves (name): It reads `../cable-screen/fixture.json`. - What it does: It loads fixture and cables. Uses libraries node:child_process, node:fs, node:url, node:perf_hooks. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: In: JSON file fixture.json; command-line arguments. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file fixture.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (script-call 2); used by 0; mentioned by 0 ### Transfer - File: seed-data/experiments/economical-seeds/next-invention/reduction/ordinal/transfer.mjs (JavaScript, 243 lines) · role other · stage unknown · not reached (candidate for review) - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-invention/reduction/ordinal/transfer.mjs#L1-L243 - Page: https://code.globalgrid2050.com/explore-code/s/2011.html#f2 - Synopsis: A JavaScript module in the ordinal folder of Seed Data that finds chronology alias (`findChronologyAlias`), covering Kuiper and wafer meta, using SHA-256. - What it achieves (name): It finds chronology alias (`findChronologyAlias`) and is built from the prefix step (`prefix`) and the locate step (`locate`). Defines `blob`, `sha256`, `table` and 9 more. - What it does: It lists and searches Kuiper and wafer meta. Defines 12 functions or classes, including blob, sha256, table, prefix, locate. Uses libraries node:assert/strict, node:child_process, node:crypto, node:vm. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file universe.json; JSON file kuiper.json; JSON file wafer.json; JSON file wafer-meta.json; command-line arguments. - Signatures: `blob(project, path)`; `sha256(bytes)`; `table(source)`; `prefix(values, gaps = values.map(() => 0n))`; `locate(records, k)`; `mid(lo + hi)`; `widths(counts)`; `addressWidth(count)`; `MASK64(1n << 64n)`; `phase32(k)`; `phase64(k)`; `oracle(k)`; `legacyWord(k)`; `findChronologyAlias(status)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file universe.json; JSON file kuiper.json; JSON file wafer.json; JSON file wafer-meta.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Parity - File: seed-data/experiments/economical-seeds/next-invention/reduction/parity.mjs (JavaScript, 71 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-invention/reduction/parity.mjs#L1-L71 - Page: https://code.globalgrid2050.com/explore-code/s/2011.html#f3 - Synopsis: A JavaScript module in the reduction folder of Seed Data that reads fixture and cables. - What it achieves (name): Defines `verify` and `compare`. It reads `../cable-screen/fixture.json`. - What it does: It loads fixture and cables. Defines verify, compare. Uses libraries node:assert/strict, node:fs. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: cables. - Inputs & outputs: In: JSON file fixture.json; command-line arguments. - Downstream impact: Used directly by 1 file: Seed Regressions Workflow (seed-data). - Signatures: `export verify(runtime)`; `compare(input)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file fixture.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 3 estate files (import 3); used by 1; mentioned by 0 ### Projected - File: seed-data/experiments/economical-seeds/next-invention/reduction/projected.mjs (JavaScript, 56 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-invention/reduction/projected.mjs#L1-L56 - Page: https://code.globalgrid2050.com/explore-code/s/2011.html#f4 - Synopsis: A JavaScript module in the reduction folder of Seed Data that works with crossing schedule (`crossingSchedule`) and voltage drop volts (`voltageDropVolts`) and calculates planar distances (units: Ω). - What it achieves (code): It prepares projected screen (`prepareProjectedScreen`) and is built from the project step (`project`) and the crossing schedule helper (`crossingSchedule`). Its `voltageDropVolts` function gives voltage drop record from current a, length m and resistance ohm per km (VEDIC: drop). - What it does: It calculates its inputs. Defines 6 functions or classes, including project, crossingSchedule, voltageDropVolts, dropPercent, lossesWatts. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 3 files: Invoke (seed-data); Measure (seed-data); Parity (seed-data). Reached from 1 other entry point, including Seed Regressions Workflow (seed-data). - Signatures: `export project(runtime)`; `export prepareProjectedScreen(checkout)`; `crossingSchedule({ crossings })`; `length(depth > 0 ? Math.hypot(span / 2, depth) * 2 : span)`; `voltageDropVolts({ currentA, lengthM, resistanceOhmPerKm, reactanceOhmPerKm, powerFactor, phases })`; `dropPercent({ dropVolts, nominalVolts })`; `lossesWatts({ currentA, lengthM, resistanceOhmPerKm, phases })` - VEDIC: DROP (GG2050-VEDIC-000024): Ventus Grid Engine / voltage-drop · Electrical engineering / Applied mathematics. current_a, length_m, resistance_ohm_per_km, reactance_ohm_per_km, power_factor, phases -> voltage_drop_record - VEDIC: PERCENT (GG2050-VEDIC-000025): Ventus Grid Engine / voltage-drop · Electrical engineering / Applied mathematics. drop_volts, nominal_volts -> drop_percent - VEDIC: LOSS (GG2050-VEDIC-000026): Ventus Grid Engine / voltage-drop · Electrical engineering / Applied mathematics. current_a, length_m, resistance_ohm_per_km, phases -> losses_watts - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Identify Missing Evidence - File: seed-data/experiments/economical-seeds/next-invention/reduction/sufficiency/identify_missing_evidence.py (Python, 246 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-invention/reduction/sufficiency/identify_missing_evidence.py#L1-L246 - Page: https://code.globalgrid2050.com/explore-code/s/2011.html#f5 - Synopsis: A Python command-line tool in the sufficiency folder of Seed Data that works with valid digest (`valid_digest`) and indexed observations (`indexed_observations`), using SHA-256. - What it achieves (comment): It is built from the sha256 step (`sha256`), the unique keys helper (`unique_keys`) and the decode step (`decode`). Bounded evidence sufficiency for a fictional engineering bench question. It accepts `--request`, `--manifest` and `--bundle`. - What it does: Defines 16 functions or classes, including sha256, unique_keys, decode, fields, time. Uses libraries argparse, collections, datetime, hashlib, json. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. - Downstream impact: Used directly by 2 files: Session (seed-data); Test Identify Missing Evidence (seed-data). Reached from 1 other entry point, including Seed Regressions Workflow (seed-data). - Signatures: `sha256(data)`; `unique_keys(pairs)`; `decode(data)`; `fields(value, expected)`; `time(value)`; `uint(value)`; `valid_digest(value)`; `require_text(*values)`; `indexed_observations(manifest, request, as_of)`; `class Budget`; `__init__(self, bundle, maximum)`; `inspect(self, row, request, rule)`; `witness(row, state, value=None)`; `metric_result(metric, rows, budget, request)`; `assess(request, index_raw, bundle)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Rail Browser - File: seed-data/experiments/economical-seeds/next-rail/rail-browser.mjs (JavaScript, 183 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-rail/rail-browser.mjs#L1-L183 - Page: https://code.globalgrid2050.com/explore-code/s/2012.html#f1 - Synopsis: A JavaScript module in the next rail folder of Seed Data that fetches UK mainline railways, using SHA-256 from the GridAtlas repository. It is built from the query step (`query`). - What it achieves (name): Defines `until`, `call`, `run` and 1 more. It responds to message, open and error events. - What it does: It fetches UK mainline railways. Defines until, call, run, query. Uses libraries node:assert/strict, node:child_process, node:fs/promises, node:os, node:path. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: gridatlas data; JSON file rail-browser.json; Parquet file uk_mainline_railways.parquet; GeoJSON file uk_mainline_railways.geojson; command-line arguments. - Signatures: `until(fn, timeout, description)`; `call(method, params = {}, scoped = true)`; `run(expression)`; `query(expression, timeout = 30_000)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file rail-browser.json; Parquet file uk_mainline_railways.parquet; GeoJSON file uk_mainline_railways.geojson; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Rail Source - File: seed-data/experiments/economical-seeds/next-rail/rail-source.mjs (JavaScript, 148 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/next-rail/rail-source.mjs#L1-L148 - Page: https://code.globalgrid2050.com/explore-code/s/2012.html#f2 - Synopsis: A JavaScript module in the next rail folder of Seed Data that fetches rail receipt and UK mainline railways, using SHA-256 from the data-GridAtlas and GridAtlas repositories. - What it achieves (name): It is built from the git blob helper (`gitBlob`), the grid step (`grid`) and the layer step (`layer`). Defines `sha256`, `gitBlob`, `request` and 2 more. - What it does: It fetches rail receipt and UK mainline railways. Defines sha256, gitBlob, request, grid, layer. Uses libraries node:crypto, node:child_process, node:fs/promises, node:vm. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: data source: data-gridatlas data; data source: gridatlas data; JSON file rail-source-receipt.json; Parquet file uk_mainline_railways.parquet; Parquet file railways.parquet; GeoJSON file uk_mainline_railways.geojson; GeoJSON file railways.geojson; DuckDB queries. - Signatures: `sha256(bytes)`; `gitBlob(bytes)`; `request(url)`; `grid(path, pin)`; `layer(id)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [data source: data-gridatlas data; data source: gridatlas data; JSON file rail-source-receipt.json; Parquet file uk_mainline_railways.parquet; Parquet file railways.parquet; GeoJSON file uk_mainline_railways.geojson; GeoJSON file railways.geojson; DuckDB queries]; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Seed Discover - File: seed-data/experiments/economical-seeds/seed_discover.py (Python, 192 lines) · role storage · stage ingest · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/seed_discover.py#L1-L192 - Page: https://code.globalgrid2050.com/explore-code/s/2012.html#f3 - Synopsis: A Python command-line tool in the economical seeds folder of Seed Data that reads catalogue, using SHA-256. - What it achieves (comment): It validates record (`validate_record`) and is built from the canonical step (`canonical`) and the available record helper (`available_record`). Index demonstrated instrument contracts and retrieve evidence only on request. It reads `catalogue.json`. It accepts `--catalogue`, `--record` and `--top`. - What it does: It loads catalogue. Defines 10 functions or classes, including canonical, available_record, base_catalogue, validate_record, install. Uses libraries argparse, hashlib, json, re, sqlite3. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file catalogue.json; SQLite database; command-line arguments. - Downstream impact: Used directly by 3 files: Test VEDIC Candidate (seed-data); VEDIC Candidate (seed-data); Seed Plan (seed-data). Reached from 1 other entry point, including Seed Regressions Workflow (seed-data). - Signatures: `canonical(value)`; `available_record(key, title, status, observable, locator, terms="", components=(), **details)`; `base_catalogue()`; `validate_record(record, workspace)`; `install(db, records, workspace=ROOT)`; `initialize(path, inputs)`; `obj_terms(objective)`; `expand(db, roots, depth, cap)`; `discover(path, objective, top, depth=None, cap=10, verified_only=False)`; `main()` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file catalogue.json; SQLite database; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Seed Plan - File: seed-data/experiments/economical-seeds/seed_plan.py (Python, 95 lines) · role storage · stage ingest · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/seed_plan.py#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/2012.html#f4 - Synopsis: A Python command-line tool in the economical seeds folder of Seed Data that reads wafer and routes. - What it achieves (readme): It is built from the safe URL helper (`safe_url`), the supplied values helper (`supplied_values`) and the valid input helper (`valid_input`). The README says: `seed_plan.py` uses narrow declared contracts to identify a bounded invocation, list missing inputs or mark an objective for investigation. It accepts `--instrument`, `--catalogue` and `--routes`. - What it does: It loads wafer and routes. Defines safe_url, supplied_values, valid_input, plan. Uses libraries argparse, json, re, sqlite3, contextlib. Side effects: reads or writes files; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`seed_plan.py` uses narrow declared contracts to identify a bounded invocation, list missing inputs or mark an objective for investigation." - Inputs & outputs: In: JSON file universe.json; JSON file wafer.json; JSON file routes.json; SQLite database; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `safe_url(value)`; `supplied_values(values)`; `valid_input(kind, value)`; `plan(catalogue, routes, objective, supplied, explicit=None)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file universe.json; JSON file wafer.json; JSON file routes.json; SQLite database; command-line arguments]; out []; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 0; mentioned by 0 ### Teleprint Index - File: seed-data/experiments/economical-seeds/teleprint_index.py (Python, 118 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/seed-data/blob/e4af7ee340a38d94f21ddbba147395b569ccce11/experiments/economical-seeds/teleprint_index.py#L1-L118 - Page: https://code.globalgrid2050.com/explore-code/s/2013.html#f1 - Synopsis: A Python command-line tool in the economical seeds folder of Seed Data that indexes a local GridAtlas teleprint and join exact text sections to Modular Star, using SHA-256. - What it achieves (name): Defines `index` and `retrieve`. It accepts `--index`, `--from-index` and `--extract`. - What it does: It lists and searches its content. Defines index, retrieve. Uses libraries argparse, hashlib, json, re, contextlib. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'experiments'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: command-line arguments. Out: JSON file. - Downstream impact: Used directly by 3 files: Experiment A (seed-data); Experiment B (seed-data); State Compare (seed-data). Reached from 2 other entry points, including Bench State Compare (seed-data); Test State Compare (seed-data). - Signatures: `index(path, database)`; `retrieve(path, record)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [command-line arguments]; out [JSON file]; crs []; voltages [] - Edges: uses 2 estate files (import 2); used by 3; mentioned by 0 ### Link Targets - File: testcode/drivers/link-targets.mjs (JavaScript, 431 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/drivers/link-targets.mjs#L1-L431 - Page: https://code.globalgrid2050.com/explore-code/s/2013.html#f2 - Synopsis: A JavaScript module in the drivers folder of Testcode that reads receivers. It is built from the check step (`check`), the note step (`note`) and the strip step (`strip`). - What it achieves (comment): Every deep link this estate builds, and where it lands. - What it does: It loads receivers. Defines 7 functions or classes, including check, note, strip, walk, posix. Uses libraries node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "Every run saves all six immutable checkout SHAs in `estate-inputs.json` alongside `testcode-run.json`, `link-targets.json` and `repd-rows.json`." - Inputs & outputs: In: JSON file receivers.json; command-line arguments. Out: JSON file link-targets.json. - Signatures: `check(name, ok, detail = '')`; `note(name, detail)`; `retired(contract.retired || [])`; `strip(value)`; `walk(dir, exts, skip, out, depth = 0)`; `posix(p)`; `compiledBlock(source.match(/const COMPILED_CONTRACT[\s\S]*?\n\}\)`; `isAssertion(line)`; `classify(file)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file receivers.json; command-line arguments]; out [JSON file link-targets.json]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Power State Counterexample - File: testcode/examples/power_state_counterexample.py (Python, 46 lines) · role electrical · stage transform · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/examples/power_state_counterexample.py#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/2013.html#f3 - Synopsis: A Python command-line tool in the examples folder of Testcode that works with feeder observation (`FeederObservation`) and upstream voltage only (`upstream_voltage_only`). - What it achieves (comment): It is built from the feeder observation class (`FeederObservation`), the continuity evidence helper (`continuity_evidence`) and the mismatch step (`mismatch`). Illustrative feeder-state counterexample, not operational control logic. - What it does: It calculates its inputs. Defines FeederObservation, upstream_voltage_only, continuity_evidence, mismatch. Uses libraries dataclasses. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "examples/power_state_counterexample.py and its offline tests demonstrate one narrow but falsifiable principle: a live upstream feeder voltage can coexist with an open breaker and no verified power at the load." - Downstream impact: Used directly by 1 file: Test Power State Counterexample (testcode). - Signatures: `class FeederObservation`; `upstream_voltage_only(a: FeederObservation, b: FeederObservation)`; `continuity_evidence(feeder: FeederObservation)`; `mismatch(a: FeederObservation, b: FeederObservation)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Published Surfaces - File: testcode/lib/published-surfaces.mjs (JavaScript, 97 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/lib/published-surfaces.mjs#L1-L97 - Page: https://code.globalgrid2050.com/explore-code/s/2013.html#f4 - Synopsis: A JavaScript module in Testcode that converts to repo path (`toRepoPath`). - What it achieves (comment): It is built from the clean step (`clean`), the to repo path helper (`toRepoPath`) and the homepage surfaces helper (`homepageSurfaces`). What the estate publishes, read from the page that publishes it. - What it does: It loads data. Defines clean, toRepoPath, homepageSurfaces, publishes. Uses libraries node:fs, node:path. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Renewable Energy Planning Database (REPD) Rows (testcode); Link Targets (testcode). - Signatures: `export homepageSurfaces(parent, repo = 'globalgrid2050')`; `clean(href)`; `toRepoPath(href)`; `publishes(repoRelPath)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Testcode — Run - File: testcode/run.mjs (JavaScript, 221 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/run.mjs#L1-L221 - Page: https://code.globalgrid2050.com/explore-code/s/2014.html#f1 - Synopsis: A JavaScript module that reads engines and testcode run. It is built from the is required helper (`isRequired`), the checkout for helper (`checkoutFor`) and the run step (`run`). - What it achieves (comment): The estate's test engine. Offline first, always. - What it does: It loads engines and testcode run. Defines isRequired, checkoutFor, run, line, blocks. Uses libraries node:child_process, node:fs, node:path, node:url. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "It is enforced by `run.mjs` rather than described by it: the network phase does not execute while an offline gate is red, and the runner says so in words rather than skipping quietly." - Inputs & outputs: In: JSON file engines.json; command-line arguments. Out: JSON file testcode-run.json. - Downstream impact: Used directly by 1 file: Testcode Workflow (testcode). - Signatures: `isRequired(engine)`; `checkoutFor(engine)`; `run(engine)`; `line(o)`; `blocks(r)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file engines.json; command-line arguments]; out [JSON file testcode-run.json]; crs []; voltages [] - Edges: uses 1 estate file (script-call 1); used by 1; mentioned by 0 ### Browser Adapter - File: testcode/sandbox/capsules/grid-compute/browser-adapter.js (JavaScript, 19 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/grid-compute/browser-adapter.js#L1-L19 - Page: https://code.globalgrid2050.com/explore-code/s/2014.html#f2 - Synopsis: A JavaScript file in the grid compute folder of Testcode that draws grid substations. It is built from the show step (`show`). - What it achieves (comment): Embedded after the unmodified engine observer and geodesy functions. - What it does: It draws grid substations. Defines show. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Signatures: `show(record)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Detector - File: testcode/sandbox/capsules/grid-compute/detector.mjs (JavaScript, 45 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/grid-compute/detector.mjs#L1-L45 - Page: https://code.globalgrid2050.com/explore-code/s/2014.html#f3 - Synopsis: A JavaScript module in the grid compute folder of Testcode. It is built from the backend for helper (`backendFor`). - What it achieves (name): Defines `backendFor` and `assess`. - What it does: It calculates its inputs. Defines backendFor, assess. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Detector Proof (testcode); Capsules — Grid Compute (testcode). - Signatures: `export backendFor(collection)`; `export assess(c,records,presentation,backend)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Industrial Candidate - File: testcode/sandbox/capsules/grid-compute/industrial-candidate.py (Python, 44 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/grid-compute/industrial-candidate.py#L1-L44 - Page: https://code.globalgrid2050.com/explore-code/s/2014.html#f4 - Synopsis: A Python module in the grid compute folder of Testcode that reads cases, grid substations and offshore provenance, using SHA-256. - What it achieves (comment): It is built from the read step (`read`), the write step (`write`) and the dump step (`dump`). Join CO2 map clicks to actual grid computation, preserving industrial units. It reads `atlas/current.json`. - What it does: It loads cases, grid substations and offshore provenance. Defines read, write, dump. Uses libraries pathlib, json, shutil, datetime, hashlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file candidate.json; JSON file current.json; JSON file cases.json; GeoJSON file grid_substations.geojson; JSON file offshore-provenance.json; GeoJSON file wind-sites.geojson; JSON file final-candidate.json; JSON file run.json. Coordinate systems named: WGS84 / EPSG:4326. - Signatures: `read(p)`; `write(p,s)`; `dump(p,x)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file candidate.json; JSON file current.json; JSON file cases.json; GeoJSON file grid_substations.geojson; JSON file offshore-provenance.json; GeoJSON file wind-sites.geojson; JSON file final-candidate.json; JSON file run.json]; out []; crs [WGS84 / EPSG:4326]; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Industrial Diagnostic - File: testcode/sandbox/capsules/grid-compute/industrial-diagnostic.cjs (JavaScript, 5 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/grid-compute/industrial-diagnostic.cjs#L1-L5 - Page: https://code.globalgrid2050.com/explore-code/s/2014.html#f5 - Synopsis: A JavaScript module in the grid compute folder of Testcode. - What it does: It lists and searches its content. Uses libraries C:/Users/vikra/OneDrive/Documents/GitHub/gridatlas-main-202609050200/node_modules/playwright. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Offshore Candidate - File: testcode/sandbox/capsules/grid-compute/offshore-candidate.py (Python, 68 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/grid-compute/offshore-candidate.py#L1-L68 - Page: https://code.globalgrid2050.com/explore-code/s/2014.html#f6 - Synopsis: A Python module in the grid compute folder of Testcode that reads crown estate scotland wind sites, crown estate wind sites, offshore provenance and cases, using SHA-256. - What it achieves (comment): It is built from the read step (`read`), the write step (`write`) and the dump step (`dump`). Preserve the failing baseline; add attributed offshore areas and missing drawn results. Its code works with 1000 MW, 400 kV and 960 MW. It reads `atlas/current.json`. - What it does: It loads crown estate scotland wind sites, crown estate wind sites, offshore provenance and cases. Defines read, write, dump, sha. Uses libraries pathlib, json, hashlib, datetime, shutil. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV. - Inputs & outputs: In: JSON file latest.json; GeoJSON file crown-estate-scotland-wind-sites.geojson; GeoJSON file crown-estate-wind-sites.geojson; JSON file -provenance.json; JSON file current.json; JSON file cases.json; JSON file offshore-provenance.json; GeoJSON file grid_substations.geojson. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 400kV. - Signatures: `read(p)`; `write(p,s)`; `dump(p,x)`; `sha(p)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file latest.json; GeoJSON file crown-estate-scotland-wind-sites.geojson; GeoJSON file crown-estate-wind-sites.geojson; JSON file -provenance.json; JSON file current.json; JSON file cases.json; JSON file offshore-provenance.json; GeoJSON file grid_substations.geojson]; out []; crs [WGS84 / EPSG:4326]; voltages [400kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Package Results - File: testcode/sandbox/capsules/grid-compute/package-results.py (Python, 51 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/grid-compute/package-results.py#L1-L51 - Page: https://code.globalgrid2050.com/explore-code/s/2014.html#f7 - Synopsis: A Python module in the grid compute folder of Testcode that reads publish candidate, backend browser report, cross browser report and baseline summary, using SHA-256. - What it achieves (comment): It is built from the read step (`read`), the dump step (`dump`) and the digest step (`digest`). Publish compact observations and code; never include screenshots. Its code works with 400 kV. It reads `backend-browser-report.json`. - What it does: It loads publish candidate, backend browser report, cross browser report and baseline summary. Defines read, dump, digest, compact. Uses libraries pathlib, json, hashlib, datetime, shutil. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 400kV. - Inputs & outputs: In: JSON file publish-candidate.json; JSON file backend-browser-report.json; JSON file cross-browser-report.json; JSON file results.json; JSON file baseline-summary.json; JSON file codex-chrome-visits.json; JSON file extension-visits.json; JSON file code-sha256.json. Voltage levels named: 400kV. - Signatures: `read(p)`; `dump(p,x)`; `digest(p)`; `compact(r)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file publish-candidate.json; JSON file backend-browser-report.json; JSON file cross-browser-report.json; JSON file results.json; JSON file baseline-summary.json; JSON file codex-chrome-visits.json; JSON file extension-visits.json; JSON file code-sha256.json]; out []; crs []; voltages [400kV] - Edges: uses 1 estate file (script-call 1); used by 0; mentioned by 0 ### Prepare - File: testcode/sandbox/capsules/grid-compute/prepare.py (Python, 101 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/grid-compute/prepare.py#L1-L101 - Page: https://code.globalgrid2050.com/explore-code/s/2014.html#f8 - Synopsis: A Python module in the grid compute folder of Testcode that reads published, Renewable Energy Planning Database (REPD) browser registry, heavy emitters UK and grid substations, using SHA-256. - What it achieves (comment): It is built from the read step (`read`), the write step (`write`) and the dump step (`dump`). Freeze the sample, source bytes and an instrumented comparison build. It reads `cases.json` and writes `index.html`. - What it does: It loads published, REPD browser registry, heavy emitters UK and grid substations. Defines 6 functions or classes, including read, write, dump, digest, located. Uses libraries pathlib, json, hashlib, datetime, shutil. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file PUBLISHED.json; JSON file repd_browser_registry_202608290716.json; JSON file heavy_emitters_uk.json; GeoJSON file grid_substations.geojson; JSON file cases.json; JSON file current.json; JSON file detector-build.json; JSON file latest.json. - Signatures: `read(p)`; `write(p,s)`; `dump(p,x)`; `digest(p)`; `located(r)`; `rank(r)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file PUBLISHED.json; JSON file repd_browser_registry_202608290716.json; JSON file heavy_emitters_uk.json; GeoJSON file grid_substations.geojson; JSON file cases.json; JSON file current.json; JSON file detector-build.json; JSON file latest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Publication Candidate - File: testcode/sandbox/capsules/grid-compute/publication-candidate.py (Python, 41 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/grid-compute/publication-candidate.py#L1-L41 - Page: https://code.globalgrid2050.com/explore-code/s/2014.html#f9 - Synopsis: A Python module in the grid compute folder of Testcode that fetches publish candidate, heavy emitters UK, cases and grid substations, using SHA-256. - What it achieves (comment): It is built from the read step (`read`), the write step (`write`) and the dump step (`dump`). Freeze browser-neutral industrial data delivery and public-safe local logging. It reads `atlas/current.json`. - What it does: It fetches publish candidate, heavy emitters UK, cases and grid substations. Defines read, write, dump. Uses libraries pathlib, json, shutil, datetime, hashlib. Side effects: changes the web page (DOM); reads or writes files; makes network requests. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file final-candidate.json; JSON file heavy_emitters_uk.json; JSON file current.json; JSON file cases.json; GeoJSON file grid_substations.geojson; JSON file offshore-provenance.json; GeoJSON file wind-sites.geojson; JSON file detector-build.json. - Signatures: `read(p)`; `write(p,s)`; `dump(p,x)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file final-candidate.json; JSON file heavy_emitters_uk.json; JSON file current.json; JSON file cases.json; GeoJSON file grid_substations.geojson; JSON file offshore-provenance.json; GeoJSON file wind-sites.geojson; JSON file detector-build.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Release Metadata - File: testcode/sandbox/capsules/grid-compute/release-metadata.py (Python, 11 lines) · role automation · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/grid-compute/release-metadata.py#L1-L11 - Page: https://code.globalgrid2050.com/explore-code/s/2014.html#f10 - Synopsis: A Python module in the grid compute folder of Testcode that reads publish candidate, detector build and the Renewable Energy Planning Database (REPD) register. - What it achieves (comment): Replace inherited release claims with this candidate's measured outcomes. - What it does: It loads publish candidate, detector build and the REPD register. Uses libraries pathlib, json, html, datetime, shutil. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. - Inputs & outputs: In: JSON file publish-candidate.json; JSON file results.json; JSON file detector-build.json. Out: JSON file release.json. - Downstream impact: Used directly by 1 file: Package Results (testcode). - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file publish-candidate.json; JSON file results.json; JSON file detector-build.json]; out [JSON file release.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Capsules — Grid Compute - File: testcode/sandbox/capsules/grid-compute/run.mjs (JavaScript, 60 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/grid-compute/run.mjs#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/2014.html#f11 - Synopsis: A JavaScript module in the sandbox folder of Testcode that reads grid substations and the Renewable Energy Planning Database (REPD) register, using SHA-256. - What it achieves (readme): It is built from the save step (`save`). The README says: It is enforced by `run.mjs` rather than described by it: the network phase does not execute while an offline gate is red, and the runner says so in words rather than skipping quietly. - What it does: It loads grid substations and the REPD register. Defines save. Uses libraries node:fs, playwright, C:/Users/vikra/OneDrive/Documents/GitHub/gridatlas-main-202609050200/node_modules/playwright. Side effects: changes the web page (DOM); reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register. README: "It is enforced by `run.mjs` rather than described by it: the network phase does not execute while an offline gate is red, and the runner says so in words rather than skipping quietly." - Inputs & outputs: In: JSON file latest.json; GeoJSON file grid_substations.geojson. - Signatures: `save()`; `urlFor(c,visit)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file latest.json; GeoJSON file grid_substations.geojson]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Screenshot Policy - File: testcode/sandbox/capsules/grid-compute/screenshot-policy.py (Python, 21 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/grid-compute/screenshot-policy.py#L1-L21 - Page: https://code.globalgrid2050.com/explore-code/s/2014.html#f12 - Synopsis: A Python module in the grid compute folder of Testcode that reads screenshot git policy. - What it achieves (comment): Stop tracking generated test screenshots; do not rewrite history or delete user images. - What it does: It loads screenshot git policy. Uses libraries pathlib, subprocess, json, datetime. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file SCREENSHOT-GIT-POLICY.json. - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file SCREENSHOT-GIT-POLICY.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Server - File: testcode/sandbox/capsules/grid-compute/server.py (Python, 24 lines) · role ingest · stage ingest · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/grid-compute/server.py#L1-L24 - Page: https://code.globalgrid2050.com/explore-code/s/2015.html#f1 - Synopsis: A Python module in the grid compute folder of Testcode that works with do post (`do_POST`). - What it achieves (comment): It is built from the handler class (`Handler`), the log message helper (`log_message`) and the do post helper (`do_POST`). Local artifact server + append-only computation receipt collector. - What it does: It loads data. Defines Handler, __init__, log_message, do_POST. Uses libraries json, re, threading, datetime, pathlib. Side effects: reads or writes files. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file latest.json. - Signatures: `class Handler`; `__init__(self,*args,**kwargs)`; `log_message(self,*args)`; `do_POST(self)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file latest.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Verify Live - File: testcode/sandbox/capsules/grid-compute/verify-live.py (Python, 26 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/grid-compute/verify-live.py#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/2015.html#f2 - Synopsis: A Python module in the grid compute folder of Testcode that fetches publish candidate and live byte verification, using SHA-256. It is built from the check step (`check`). - What it achieves (comment): Compare every deployed candidate byte with its committed source; no screenshots. - What it does: It fetches publish candidate and live byte verification. Defines check. Uses libraries urllib.request, urllib.error, hashlib, subprocess, time. Side effects: reads or writes files; makes network requests; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Inputs & outputs: In: JSON file publish-candidate.json. Out: JSON file live-byte-verification.json. - Signatures: `check(p)` - domain_stage: experimental · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [JSON file publish-candidate.json]; out [JSON file live-byte-verification.json]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Compose - File: testcode/sandbox/capsules/tool-layers/compose.mjs (JavaScript, 26 lines) · role storage · stage output - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/tool-layers/compose.mjs#L1-L26 - Page: https://code.globalgrid2050.com/explore-code/s/2015.html#f3 - Synopsis: A JavaScript module in the tool layers folder of Testcode that uses SHA-256. It is built from the compose tool owner helper (`composeToolOwner`). - What it achieves (name): Defines `hash`, `composeToolOwner` and `git`. - What it does: Defines hash, composeToolOwner, git. Uses libraries node:child_process, node:crypto, node:fs/promises, node:path. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Build (testcode); Compose Test (testcode). Reached from 3 other entry points, including Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `export composeToolOwner(root, owner, revision, release)`; `hash(b)`; `git(...args)` - domain_stage: experimental · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Ownership - File: testcode/sandbox/capsules/tool-layers/ownership.mjs (JavaScript, 16 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/tool-layers/ownership.mjs#L1-L16 - Page: https://code.globalgrid2050.com/explore-code/s/2015.html#f4 - Synopsis: A JavaScript module in the tool layers folder of Testcode that resolves one explicit producer per tool while retaining historical bundle manifests. It merges tool ownership (`mergeToolOwnership`). - What it achieves (name): Defines `mergeToolOwnership`, `pin` and `identity`. - What it does: It calculates its inputs. Defines mergeToolOwnership, pin, identity. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. - Downstream impact: Used directly by 2 files: Build (testcode); Ownership Test (testcode). Reached from 3 other entry points, including Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `export mergeToolOwnership(previous, owner, applications, names = {})`; `pin({repository,commit,release,manifestSha256})`; `identity(item)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Source Scopes - File: testcode/sandbox/capsules/tool-layers/source-scopes.mjs (JavaScript, 46 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/sandbox/capsules/tool-layers/source-scopes.mjs#L1-L46 - Page: https://code.globalgrid2050.com/explore-code/s/2015.html#f5 - Synopsis: A JavaScript module in the tool layers folder of Testcode that uses SHA-256. - What it achieves (readme): It builds tool source scopes (`buildToolSourceScopes`) and is built from the sha step (`sha`) and the safe step (`safe`). The README says: `source-scopes.mjs` builds `layer-source-scopes.json` as a separate per-tool inventory. - What it does: It calculates its inputs. Defines sha, buildToolSourceScopes, safe. Uses libraries node:path, node:crypto. - Why it exists in the grid workflow: Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. README: "`source-scopes.mjs` builds `layer-source-scopes.json` as a separate per-tool inventory." - Downstream impact: Used directly by 2 files: Build (testcode); Source Scopes Test (testcode). Reached from 3 other entry points, including Codex Cartridges Workflow (testcode); Controls Layout Workflow (testcode); Offshore Route Workflow (testcode). - Signatures: `export buildToolSourceScopes(registry, readManifest, readCandidate)`; `sha(bytes)`; `safe(value)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Table — Block Page Rnd Page - File: testcode/table/20260914T144622Z-block-page-rnd/index.html (HTML, 173 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/testcode/blob/a8a215982b13d6e2f6019b40bf0bef5755719773/table/20260914T144622Z-block-page-rnd/index.html#L1-L173 - Page: https://code.globalgrid2050.com/explore-code/s/2015.html#f6 - Synopsis: A web page in Testcode that draws blocks, reactions, substations and solar, and uses data from the stars, ventus-grid-engine and code-generator repositories. - What it achieves (comment): It builds search index (`buildSearchIndex`), wires search (`wireSearch`) and closes panel (`closePanel`). Periodic table of GlobalGrid2050 architecture development. - What it does: It draws blocks, reactions, substations and solar. Defines 13 functions or classes, including $, esc, byName, reactionsFor, healthOf. Side effects: changes the web page (DOM); makes network requests; uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: substations, solar. README: "The publication checkout is sparse: `index.html` and the complete `uk_renewables_pipeline/` tree." - Inputs & outputs: In: data source: stars data; data source: ventus-grid-engine data; data source: code-generator data; JSON file blocks.json; JSON file reactions.json; form fields (user input). Out: web page. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - Signatures: `$(s)`; `esc(s)`; `byName(a, b)`; `reactionsFor(sym)`; `healthOf(sym)`; `compatHTML(sym)`; `cls(v)`; `buildSearchIndex()`; `wireSearch()`; `closePanel()`; `show(sym)`; `deps(b.depends_on || [])`; `usedBy(b.used_by || [])`; `inside(b.inside || [])`; `showCategory(id)`; `tile(b, c)` - domain_stage: experimental · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [data source: stars data; data source: ventus-grid-engine data; data source: code-generator data; JSON file blocks.json; JSON file reactions.json; form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 4 estate files (link 4); used by 0; mentioned by 0 ### V11 — Index Page - File: v11/index.html (HTML, 39 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/v11/blob/debb30e092a1983e775d2ab4126995ab7bb72fe3/index.html#L1-L39 - Page: https://code.globalgrid2050.com/explore-code/s/2015.html#f7 - Synopsis: A web page. - What it achieves (readme): The README says: `index.html` and this README are rendered from… - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "`index.html` and this README are rendered from:" - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point (page); no other file was found loading it. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Contract - File: ventus-grid-engine/deeplink/contract.js (JavaScript, 249 lines) · role ingest · stage transform · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/deeplink/contract.js#L1-L249 - Page: https://code.globalgrid2050.com/explore-code/s/2015.html#f8 - Synopsis: A JavaScript module in the deeplink folder of Ventus Grid Engine covering the Renewable Energy Planning Database (REPD) register, wind and solar, and uses data from the GridAtlas repository. - What it achieves (comment): It audits project rows (`auditProjectRows`), builds deep link (`buildDeepLink`) and parses deep link (`parseDeepLink`). The MAP-button deep link, as one testable thing. - What it does: It lists and searches the REPD register, wind, solar and battery storage (BESS). Defines 9 functions or classes, including layerIdForBucket, bucketHasLayer, isRetiredReceiver, strip, auditProjectRows. - Why it exists in the grid workflow: Domain terms in the code: the REPD register, wind, solar, battery storage (BESS). - Downstream impact: Used directly by 5 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Deeplink Receiver Proof (ventus-grid-engine); Deeplink Proof (ventus-grid-engine); Audit Receivers (ventus-grid-engine); and 1 more. Reached from 2 other entry points, including Deeplink Receiver Audit Workflow (ventus-grid-engine); Genome Workflow (ventus-grid-engine). - Signatures: `export layerIdForBucket(tech)`; `export bucketHasLayer(tech)`; `export isRetiredReceiver(base)`; `export auditProjectRows(rows, options)`; `export buildDeepLink(base, project)`; `export parseDeepLink(href)`; `strip(value)`; `get(k)`; `num(k)` - VEDIC: AUDIT PROJECT MAP LINKS (GG2050-VEDIC-000088): Ventus Grid Engine · Map integration. rows, options -> Per-row link evidence and aggregate counts. - VEDIC: BUILD PROJECT MAP LINK (GG2050-VEDIC-000086): Ventus Grid Engine · Map integration. base, project -> URL string with supported project query parameters. - VEDIC: PARSE PROJECT MAP LINK (GG2050-VEDIC-000087): Ventus Grid Engine · Map integration. href -> Parsed project and layer fields. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 2 estate files (estate-url 2); used by 5; mentioned by 0 ### Compute Observer - File: ventus-grid-engine/engine/compute-observer.js (JavaScript, 103 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/compute-observer.js#L1-L103 - Page: https://code.globalgrid2050.com/explore-code/s/2016.html#f1 - Synopsis: A JavaScript module in Ventus Grid Engine that works with same location (`sameLocation`) and same entity (`sameEntity`). - What it achieves (comment): It is built from the copy step (`copy`), the finite step (`finite`) and the located step (`located`). Actual-computation receipts, shared by Node and browsers. - What it does: It calculates its inputs. Defines 8 functions or classes, including copy, finite, located, sameLocation, sameEntity. - Why it exists in the grid workflow: README: "`engine/compute-observer.js` provides browser-neutral computation receipts for the Test Code detector." - Downstream impact: Used directly by 1 file: Compute Observer Proof (ventus-grid-engine). - Signatures: `export createComputeObserver({ onEvent = () => {}, now = () => Date.now() } = {})`; `copy(value)`; `finite(value)`; `located(point)`; `sameLocation(a, b)`; `sameEntity(a, b)`; `publish(attempt, status, extra = {})`; `get(id)`; `request({ entity, location = null, operation = 'nearest-grid', dataset = null })`; `unsupported(id, reason)`; `run(id, compute)`; `snapshot(id = latest)`; `assess(id, expected)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Compute Presentation - File: ventus-grid-engine/engine/compute-presentation.js (JavaScript, 18 lines) · role transform · stage transform · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/compute-presentation.js#L1-L18 - Page: https://code.globalgrid2050.com/explore-code/s/2016.html#f2 - Synopsis: A JavaScript module in Ventus Grid Engine that works with substations. It describes compute receipt (`describeComputeReceipt`). - What it achieves (comment): Honest UI projection of computation receipts. - What it does: It calculates substations. Defines describeComputeReceipt. - Why it exists in the grid workflow: Domain terms in the code: substations. - Downstream impact: Used directly by 1 file: Browser Observer Proof (ventus-grid-engine). - Signatures: `export describeComputeReceipt(receipt)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Connection Capacity - File: ventus-grid-engine/engine/connection-capacity.js (JavaScript, 278 lines) · role energy-data · stage transform - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/connection-capacity.js#L1-L278 - Page: https://code.globalgrid2050.com/explore-code/s/2016.html#f3 - Synopsis: A JavaScript module in Ventus Grid Engine that works with clipped energy (`clippedEnergy`) (units: kW, kWh, MW). - What it achieves (comment): It is built from the positive step (`positive`), the ratio step (`ratio`) and the profile of helper (`profileOf`). APPLIED ENGINEERING for the people who actually have to build something: a developer, an EPC, or a heavy energy user with an agreed capacity at a connection and a load or generation profile that does not fit inside it. Its code works with 12 MW and 30 MVA. - What it does: It calculates its inputs. Defines 7 functions or classes, including positive, ratio, profileOf, exceedance, batteryForPeakShaving. - Downstream impact: Used directly by 6 files: Grid Engine — Solar Battery Energy Storage System (BESS) Export Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060217-solar-bess-export/); Grid Engine — Solar Farm Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060318-solar-farm/); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Connection Capacity Proof (ventus-grid-engine); and 2 more. Reached from 4 other entry points, including Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). - Signatures: `export exceedance({ profileKw, capKw, intervalHours })`; `export batteryForPeakShaving({ profileKw, capKw, intervalHours, roundTripEfficiency, depthOfDischarge })`; `export clippedEnergy({ generationKw, exportCapKw, intervalHours })`; `export netAtConnection({ loadKw, generationKw, importCapKw, exportCapKw, intervalHours })`; `positive(name, v)`; `ratio(name, v)`; `profileOf(name, p)` - VEDIC: SIZE PEAK SHAVING BATTERY (GG2050-VEDIC-000071): Ventus Grid Engine · Energy and power calculation. profileKw, capKw, intervalHours, roundTripEfficiency, depthOfDischarge -> Power, usable and installed energy, duration and charge energy. - VEDIC: MEASURE EXPORT CLIPPING (GG2050-VEDIC-000052): Ventus Grid Engine · Energy and power calculation. generation_samples_kw, export_cap_kw, hours_per_sample -> potential_delivered_and_clipped_energy_kwh_summary - VEDIC: BALANCE GRID EXCHANGE (GG2050-VEDIC-000053): Ventus Grid Engine · Energy and power calculation. load_samples_kw, generation_samples_kw, import_cap_kw, export_cap_kw, hours_per_sample -> import_export_peak_kw_energy_kwh_and_breach_summary - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 1 ### Corridor Estimate - File: ventus-grid-engine/engine/corridor-estimate.js (JavaScript, 84 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/corridor-estimate.js#L1-L84 - Page: https://code.globalgrid2050.com/explore-code/s/2016.html#f4 - Synopsis: A JavaScript module in Ventus Grid Engine covering cables and overhead lines (OHL), using haversine. It is built from the for cable helper (`forCable`). - What it achieves (comment): PROMOTED from `sources/v9-extracts/corridor-estimate.mjs` (itself extracted verbatim from `gridatlas/atlas/modules/202609030205-corridor-estimate.js`). - What it does: Defines forCable. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'estimate'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, overhead lines (OHL). - Downstream impact: Used directly by 5 files: Route Obstacles Proof (ventus-grid-engine); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Corridor Estimate Proof (ventus-grid-engine); Grid Engine — Corridor Estimate Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060237-corridor-estimate/); and 1 more. Reached from 4 other entry points, including Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). - Signatures: `export forCable(km)` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Current from Power - File: ventus-grid-engine/engine/current-from-power.js (JavaScript, 144 lines) · role electrical · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/current-from-power.js#L1-L144 - Page: https://code.globalgrid2050.com/explore-code/s/2016.html#f5 - Synopsis: A JavaScript module in Ventus Grid Engine that works with cables. It is built from the positive step (`positive`), the phases of helper (`phasesOf`) and the current a helper (`currentA`). - What it achieves (comment): The amps implied by a power and a voltage. Its code works with 132 kV and 400 kV. - What it does: It calculates cables. Defines positive, phasesOf, currentA, currentFromMvaAtKv. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV, 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables, 400kV, 132kV. - Inputs & outputs: Voltage levels named: 400kV, 132kV. - Downstream impact: Used directly by 1 file: Current from Power Proof (ventus-grid-engine). - Signatures: `export currentA({ apparentPowerVa, voltageV, phases = 'three' })`; `export currentFromMvaAtKv({ mva, kv, phases = 'three' })`; `positive(name, v)`; `phasesOf(phases)` - VEDIC: CONVERT APPARENT POWER TO CURRENT (GG2050-VEDIC-000069): Ventus Grid Engine · Energy and power calculation. apparent_power_va, voltage_v, single_or_three_phase_optional -> current_in_amperes_result - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 132kV] - Edges: uses 0 estate files; used by 1; mentioned by 1 ### Diversified Demand - File: ventus-grid-engine/engine/diversified-demand.js (JavaScript, 187 lines) · role energy-data · stage output - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/diversified-demand.js#L1-L187 - Page: https://code.globalgrid2050.com/explore-code/s/2017.html#f1 - Synopsis: A JavaScript module in Ventus Grid Engine that averages over window GW (`averageOverWindowGw`) (units: kW, kWh), covering transformers. - What it achieves (comment): It is built from the positive step (`positive`), the ratio step (`ratio`) and the count step (`count`). What a group of loads actually draws together, which is never the sum of what each could draw alone. Its code works with 2.85 GW, 7 kW and 700 kW. - What it does: Defines 7 functions or classes, including positive, ratio, count, diversifiedDemandKw, impliedCoincidence. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: transformers. - Downstream impact: Used directly by 7 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Diversified Demand Proof (ventus-grid-engine); Grid Engine — Diversity Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060211-diversity/); Grid Engine — Data Centre Connection Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060316-data-centre-connection/); and 3 more. Reached from 4 other entry points, including Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). - Signatures: `export diversifiedDemandKw({ unitCount, perUnitKw, coincidenceFactor })`; `export impliedCoincidence({ unitCount, perUnitKw, measuredGroupPeakKw })`; `export averageOverWindowGw({ annualTwh, windowHoursPerDay })`; `export populationEnergyTwh({ unitCount, perUnitKwhPerYear })`; `positive(name, v)`; `ratio(name, v)`; `count(name, v)` - VEDIC: DIVERSIFY (GG2050-VEDIC-000028): Ventus Grid Engine / diversified-demand · Electrical engineering / Applied mathematics. unit_count, per_unit_kw, coincidence_factor -> diversified_demand_kw - VEDIC: COINCIDE (GG2050-VEDIC-000029): Ventus Grid Engine / diversified-demand · Electrical engineering / Applied mathematics. unit_count, per_unit_kw, measured_group_peak_kw -> coincidence_factor - VEDIC: TOTAL ANNUAL ENERGY (GG2050-VEDIC-000058): Ventus Grid Engine · Energy and power calculation. unit_count, annual_energy_per_unit_kwh -> annual_population_energy_twh_result - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 7; mentioned by 0 ### Electrical Distance - File: ventus-grid-engine/engine/electrical-distance.js (JavaScript, 315 lines) · role geodesy · stage output · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/electrical-distance.js#L1-L315 - Page: https://code.globalgrid2050.com/explore-code/s/2017.html#f2 - Synopsis: A JavaScript module in Ventus Grid Engine that starts nodes (`startNodes`) (units: kV, MVA), covering transformers. - What it achieves (comment): It starts nodes (`startNodes`) and is built from the crossing step (`crossing`) and the describe step (`describe`). PROMOTED from `sources/v9-extracts/electrical-distance.mjs` (itself extracted verbatim from `gridatlas/atlas/modules/202609012245-electrical-distance.js`). Its code works with 100 MVA. - What it does: It lists and searches transformers. Defines 6 functions or classes, including crossing, describe, legality, startNodes, between. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: transformers. - Downstream impact: Used directly by 3 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Electrical Distance Proof (ventus-grid-engine); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `export between(index, fromKey, toKey, options)`; `export within(index, key, options)`; `crossing(graph, nearNode, farNode)`; `describe(graph, entry, nearNode)`; `legality(kind, cross)`; `startNodes(graph, site, voltageKv)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Electrification Demand - File: ventus-grid-engine/engine/electrification-demand.js (JavaScript, 247 lines) · role energy-data · stage transform - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/electrification-demand.js#L1-L247 - Page: https://code.globalgrid2050.com/explore-code/s/2018.html#f1 - Synopsis: A JavaScript module in Ventus Grid Engine that averages power GW (`averagePowerGw`) and loads factor peak (`loadFactorFromPeak`). - What it achieves (comment): It loads factor peak (`loadFactorFromPeak`) and is built from the require ratio helper (`requireRatio`) and the require positive helper (`requirePositive`). Every function here is arithmetic a grid engineer would do on paper, made exact, named, and given a unit. - What it does: It calculates its inputs. Defines 8 functions or classes, including requireRatio, requirePositive, describe, averagePowerGw, peakFromLoadFactorGw. - Downstream impact: Used directly by 6 files: Grid Engine — Substation Growth Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060218-substation-growth/); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Electrification Demand Proof (ventus-grid-engine); Grid Engine — Electrification Workbench Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060148-electrification-workbench/); and 2 more. Reached from 4 other entry points, including Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). - Signatures: `export averagePowerGw({ annualTwh })`; `export peakFromLoadFactorGw({ averageGw, loadFactor })`; `export loadFactorFromPeak({ averageGw, peakGw })`; `export nameplateFromCapacityFactorGw({ annualTwh, capacityFactor })`; `export electricityForDisplacedFuelTwh({ fuelTwh, oldEfficiency, newPerformance })`; `requireRatio(name, value, { allowAboveOne = false } = {})`; `requirePositive(name, value)`; `describe(value)` - VEDIC: CALCULATE AVERAGE POWER (GG2050-VEDIC-000054): Ventus Grid Engine · Energy and power calculation. annual_energy_twh -> average_power_gw_result - VEDIC: ESTIMATE PEAK DEMAND (GG2050-VEDIC-000055): Ventus Grid Engine · Energy and power calculation. average_demand_gw, load_factor_fraction -> estimated_peak_demand_gw_result - VEDIC: CALCULATE LOAD FACTOR (GG2050-VEDIC-000056): Ventus Grid Engine · Energy and power calculation. average_demand_gw, peak_demand_gw -> dimensionless_load_factor_result - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 6; mentioned by 0 ### Electrification Model - File: ventus-grid-engine/engine/electrification-model.js (JavaScript, 345 lines) · role energy-data · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/electrification-model.js#L1-L345 - Page: https://code.globalgrid2050.com/explore-code/s/2018.html#f2 - Synopsis: A JavaScript module in Ventus Grid Engine that works with non negative count (`nonNegativeCount`) and fleet demand (`fleetDemand`). - What it achieves (comment): It is built from the positive step (`positive`), the non negative count helper (`nonNegativeCount`) and the meaning of helper (`meaningOf`). What electrifying a fleet of end uses does to energy demand, and what it does to peak load. Its code works with 3.5 kW, 98 GW and 1.7 kW. - What it does: It calculates its inputs. Defines 9 functions or classes, including positive, nonNegativeCount, meaningOf, quantity, electricalInputFromHeat. - Downstream impact: Used directly by 1 file: Electrification Model Proof (ventus-grid-engine). - Signatures: `export quantity(value, unit, meaning)`; `export electricalInputFromHeat({ thermal, scop })`; `export heatFromElectricalInput({ electrical, scop })`; `export fleetDemand({ units, perUnitNameplate, perUnitAfterDiversity = null })`; `export combinedPeak({ fleets })`; `export primaryEnergyForWork({ usefulWork, incumbentEfficiency, electrifiedEfficiency })`; `positive(name, v)`; `nonNegativeCount(name, v)`; `meaningOf(name, m, allowed)` - VEDIC: ESTIMATE HEATING ELECTRICITY (GG2050-VEDIC-000067): Ventus Grid Engine · Energy and power calculation. typed_delivered_heat, seasonal_performance_factor -> typed_electrical_input_in_same_unit - VEDIC: ESTIMATE DELIVERED HEAT (GG2050-VEDIC-000068): Ventus Grid Engine · Energy and power calculation. typed_electrical_input, seasonal_performance_factor -> typed_delivered_heat_in_same_unit - VEDIC: ESTIMATE FLEET DEMAND (GG2050-VEDIC-000072): Ventus Grid Engine · Energy and power calculation. units, perUnitNameplate, perUnitAfterDiversity -> Labelled simultaneous and diversified quantities. - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Firm Capacity - File: ventus-grid-engine/engine/firm-capacity.js (JavaScript, 209 lines) · role energy-data · stage transform - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/firm-capacity.js#L1-L209 - Page: https://code.globalgrid2050.com/explore-code/s/2019.html#f1 - Synopsis: A JavaScript module in Ventus Grid Engine that works with transformers and substations, using IEC 60076-7. - What it achieves (comment): It is built from the require positive helper (`requirePositive`), the require ratio helper (`requireRatio`) and the require units helper (`requireUnits`). What a substation can carry when one unit is out. Its code works with 30 MVA, 100 MW and 105.3 MVA. - What it does: It calculates transformers and substations. Defines 7 functions or classes, including requirePositive, requireRatio, requireUnits, apparentPowerMva, firmCapacityMva. - Why it exists in the grid workflow: Domain terms in the code: transformers, substations. - Downstream impact: Used directly by 8 files: Grid Engine — Substation Growth Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060218-substation-growth/); Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Firm Capacity Proof (ventus-grid-engine); Grid Engine — Firm Capacity Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060205-firm-capacity/); and 4 more. Reached from 4 other entry points, including Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). - Signatures: `export apparentPowerMva({ mw, powerFactor })`; `export firmCapacityMva({ units })`; `export utilisationAgainstRating({ demandMva, ratingMva })`; `export assessAgainstFirm({ units, demandMva })`; `requirePositive(name, value)`; `requireRatio(name, value)`; `requireUnits(units)` - VEDIC: CHECK FIRM CAPACITY (GG2050-VEDIC-000070): Ventus Grid Engine · Energy and power calculation. transformer_ratings_mva, stated_demand_mva -> Firm and installed MVA, demand shortfall in MVA, and whether demand fits each capacity. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 8; mentioned by 0 ### Power Factor - File: ventus-grid-engine/engine/power-factor.js (JavaScript, 191 lines) · role electrical · stage transform - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/power-factor.js#L1-L191 - Page: https://code.globalgrid2050.com/explore-code/s/2019.html#f2 - Synopsis: A JavaScript module in Ventus Grid Engine that works with transformers and cables. - What it achieves (comment): It is built from the positive step (`positive`), the power factor helper (`powerFactor`) and the tan phi helper (`tanPhi`). How much reactive power a load draws, what it costs in capacity, and how much of that capacity correction gives back. Its code works with 156 kVA. - What it does: It calculates transformers and cables. Defines 7 functions or classes, including positive, powerFactor, tanPhi, reactivePowerKvar, apparentPowerKva. - Why it exists in the grid workflow: Domain terms in the code: transformers, cables. - Downstream impact: Used directly by 3 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Power Factor Proof (ventus-grid-engine); Grid Engine — Power Factor Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060309-power-factor/). Reached from 4 other entry points, including Homepage V090 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v090.html); Homepage V091 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v091.html); Homepage V093 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v093.html). - Signatures: `export reactivePowerKvar({ kw, powerFactor: pf })`; `export apparentPowerKva({ kw, powerFactor: pf })`; `export correctionKvar({ kw, fromPowerFactor, toPowerFactor })`; `export againstAgreedCapacity({ kw, powerFactor: pf, agreedKva })`; `positive(name, v)`; `powerFactor(name, v)`; `tanPhi(pf)` - VEDIC: REACTIVE (GG2050-VEDIC-000020): Ventus Grid Engine / power-factor · Electrical engineering / Applied mathematics. real_power_kw, power_factor -> reactive_power_kvar - VEDIC: APPARENT (GG2050-VEDIC-000021): Ventus Grid Engine / power-factor · Electrical engineering / Applied mathematics. real_power_kw, power_factor -> apparent_power_kva - VEDIC: CORRECT (GG2050-VEDIC-000022): Ventus Grid Engine / power-factor · Electrical engineering / Applied mathematics. real_power_kw, initial_pf, target_pf -> correction_and_capacity_record - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Published Fault Level - File: ventus-grid-engine/engine/published-fault-level.js (JavaScript, 250 lines) · role electrical · stage transform · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/published-fault-level.js#L1-L250 - Page: https://code.globalgrid2050.com/explore-code/s/2019.html#f3 - Synopsis: A JavaScript module in Ventus Grid Engine that works with substations, using SHA-256. It formats number (`formatNumber`) and is built from the refuse step (`refuse`) and the record step (`record`). - What it achieves (comment): This module is the estate's contract for carrying a fault-level figure on an open map. - What it does: It calculates substations. Defines refuse, record, quote, formatNumber. - Why it exists in the grid workflow: Domain terms in the code: substations. - Downstream impact: Used directly by 4 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Published Fault Level Proof (ventus-grid-engine); Grid Engine — Published Fault Level Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060236-published-fault-level/); Papers — Published Fault Level Page (globalgrid2050, https://globalgrid2050.com/papers/202609060045-published-fault-level/). Reached from 48 other entry points, including Grid Engine — Compute Against Charging Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060324-compute-against-charging/); Grid Engine — Connection Cap Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060212-connection-cap/); Grid Engine — Corridor Estimate Page (globalgrid2050, https://globalgrid2050.com/grid_engine/202609060237-corridor-estimate/). - Signatures: `export record(input)`; `export quote(rec, metricName)`; `refuse(reason)`; `formatNumber(n)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 4; mentioned by 0 ### Rating Envelope - File: ventus-grid-engine/engine/rating-envelope.js (JavaScript, 175 lines) · role electrical · stage output · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/rating-envelope.js#L1-L175 - Page: https://code.globalgrid2050.com/explore-code/s/2020.html#f1 - Synopsis: A JavaScript module in Ventus Grid Engine. It is built from the seasons of helper (`seasonsOf`) and the flags for helper (`flagsFor`). - What it achieves (comment): PROMOTED from `sources/v9-extracts/rating-envelope.mjs` (itself extracted verbatim from `gridatlas/atlas/modules/202609012250-rating-envelope.js`). - What it does: It lists and searches its content. Defines seasonsOf, flagsFor, at. Side effects: changes the web page (DOM). - Downstream impact: Used directly by 3 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Rating Envelope Proof (ventus-grid-engine); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `export at(index, key, options)`; `seasonsOf(row)`; `flagsFor(published)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Site Tile - File: ventus-grid-engine/engine/site-tile.js (JavaScript, 166 lines) · role geodesy · stage transform · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/engine/site-tile.js#L1-L166 - Page: https://code.globalgrid2050.com/explore-code/s/2020.html#f2 - Synopsis: A JavaScript module in Ventus Grid Engine that works with floor to (`floorTo`) and cell centre (`cellCentre`) and calculates planar distances, using EPSG:27700 and SHA-256. - What it achieves (comment): It is built from the floor to helper (`floorTo`), the tile of helper (`tileOf`) and the tiles for box helper (`tilesForBox`). NEW, not extracted. The code form of wireframe rule R5, "the site tile": stream the measured ground where you arrive; never download in bulk. - What it does: It calculates its inputs. Defines 12 functions or classes, including floorTo, tileOf, tilesForBox, tilesForRoute, add. - Inputs & outputs: Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid). - Downstream impact: Used directly by 1 file: Site Tile Proof (ventus-grid-engine). - Signatures: `export tileOf(e, n)`; `export tilesForBox(e0, n0, e1, n1)`; `export tilesForRoute(points, halfWidth = 0)`; `export cellCentre(tile, col, row)`; `export tileKey(product, tile)`; `export missingReceiptFields(receipt)`; `export schedule(tiles, { products = PRODUCTS, have = new Set(), usedToday = 0, startS = 0 } = {})`; `export backoff(refusals)`; `export groundUse({ surveyYear = null, buildYear = null } = {})`; `export noMeasuredGround({ http = 200, outsideEnvelope = false, allZeroUntagged = false, zeroRun = false } = {})`; `floorTo(x, m)`; `add(e, n)` - VEDIC: ENUMERATE BOX TILES (GG2050-VEDIC-000077): Ventus Grid Engine · Geospatial and terrain intelligence. e0, n0, e1, n1 -> Array of tile corners and sizes. - VEDIC: ENUMERATE ROUTE TILES (GG2050-VEDIC-000078): Ventus Grid Engine · Geospatial and terrain intelligence. points, halfWidth -> Sorted unique terrain tiles. - VEDIC: LOCATE CELL CENTRE (GG2050-VEDIC-000079): Ventus Grid Engine · Geospatial and terrain intelligence. tile, col, row -> Projected easting and northing pair. - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs [OSGB36 / EPSG:27700 (British National Grid)]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Ventus Grid Engine — Genome Page - File: ventus-grid-engine/genome/index.html (HTML, 412 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/genome/index.html#L1-L412 - Page: https://code.globalgrid2050.com/explore-code/s/2020.html#f3 - Published at: https://ventusltd.github.io/ventus-grid-engine/genome/ - Synopsis: A web page that draws maths provenance, engine graph, battery storage (BESS) and solar, using haversine and SHA-256. Published at https://ventusltd.github.io/ventus-grid-engine/genome/. - What it achieves (name): It rebuilds select (`rebuildSelect`), opens URL (`openUrl`) and sets hint (`setHint`). Defines `rebuildSelect`, `actionable`, `openUrl` and 17 more. Its code works with 211.2 MW and 52.8 MW. It reads `./engine-graph.json`. It responds to change and click events. - What it does: It draws maths provenance, engine graph, battery storage (BESS) and solar. Defines 20 functions or classes, including rebuildSelect, actionable, openUrl, handleTap, neighbours. Side effects: changes the web page (DOM); makes network requests. - Why it exists in the grid workflow: Domain terms in the code: battery storage (BESS), solar. - Inputs & outputs: In: JSON file engine-graph.json; form fields (user input). Out: web page; SVG drawing. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/ventus-grid-engine/genome/. - Signatures: `rebuildSelect()`; `actionable(n)`; `openUrl(u)`; `handleTap(i)`; `neighbours(idx)`; `evidenceHTML(evidence)`; `cardInner(node, opts)`; `goLabel(n)`; `setHint()`; `setCrumbs()`; `draw()`; `drawColumn(focus, out, inc)`; `section(title, items, dir)`; `marker(defs, type)`; `distribute(items, side, cx, cy, gap, xGap)`; `stagger(n > 5 && k % 2 ? 90 : 0)`; `drawSpider(focus, out, inc)`; `enableDragPan(el)`; `buildFixedLegend()`; `loadEmbedded()`; `loadLive()` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [JSON file engine-graph.json; form fields (user input)]; out [web page; SVG drawing]; crs []; voltages [] - Edges: uses 31 estate files (estate-url 31); used by 0; mentioned by 0 ### App Technology Vocabulary Excerpt - File: ventus-grid-engine/sources/deeplink-extracts/emitter/app-technology-vocabulary.excerpt.mjs (JavaScript, 61 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/sources/deeplink-extracts/emitter/app-technology-vocabulary.excerpt.mjs#L1-L61 - Page: https://code.globalgrid2050.com/explore-code/s/2021.html#f2 - Synopsis: A JavaScript module in the emitter folder of Ventus Grid Engine that works with solar, battery storage (BESS) and wind. - What it achieves (comment): It is built from the dictionary step (`dictionary`), the project step (`project`) and the atlas URL helper (`atlasUrl`). PROVENANCE (excerpt, not the whole file) `head_sha` (PipelineNews): . - What it does: It calculates solar, battery storage (BESS) and wind. Defines dictionary, project, atlasUrl. - Why it exists in the grid workflow: Domain terms in the code: solar, battery storage (BESS), wind. - Signatures: `dictionary(name, index)`; `project(index)`; `atlasUrl(item)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Wider Fleet Deep Link Excerpt - File: ventus-grid-engine/sources/deeplink-extracts/emitter/wider-fleet-deep-link.excerpt.mjs (JavaScript, 95 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/sources/deeplink-extracts/emitter/wider-fleet-deep-link.excerpt.mjs#L1-L95 - Page: https://code.globalgrid2050.com/explore-code/s/2021.html#f3 - Synopsis: A JavaScript module in the emitter folder of Ventus Grid Engine covering the Renewable Energy Planning Database (REPD) register, solar and wind, and uses data from the GridAtlas repository. - What it achieves (comment): It is built from the esc step (`esc`), the atlas link helper (`atlasLink`) and the num step (`num`). `head_sha` (PipelineNews): lines: 1-80 of the file (`atlasLink` and its immediate context); full file is ~300 lines of DOM mounting code not part of the deep-link contract. - What it does: Defines esc, atlasLink, num, mountWiderFleet. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, solar, wind, battery storage (BESS). - Signatures: `export mountWiderFleet({ host, payloadAsset })`; `esc(value)`; `atlasLink(row)`; `num(value)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 1 estate file (estate-url 1); used by 0; mentioned by 0 ### Index Composer - File: ventus-grid-engine/sources/deeplink-extracts/receiver/index-composer.html (HTML, 119 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/sources/deeplink-extracts/receiver/index-composer.html#L1-L119 - Page: https://code.globalgrid2050.com/explore-code/s/2021.html#f4 - Published at: https://ventusltd.github.io/ventus-grid-engine/sources/deeplink-extracts/receiver/index-composer.html - Synopsis: A web page in the receiver folder of Ventus Grid Engine that uses SHA-256 using data from the GridAtlas repository. Published at https://ventusltd.github.io/ventus-grid-engine/sources/deeplink-extracts/receiver/index-composer.html. - What it achieves (comment): It is built from the invariant step (`invariant`), the escape attribute helper (`escapeAttribute`) and the sha256 hex helper (`sha256Hex`). `head_sha` (GridAtlas): lines: 1-104 (whole file). It reads `./current.json`. - What it does: It draws its content. Defines invariant, escapeAttribute, sha256Hex, fail. Uses libraries ${escapeAttribute(blobUrl)}. Side effects: changes the web page (DOM); makes network requests. - Inputs & outputs: In: data source: gridatlas data; JSON file current.json. Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/ventus-grid-engine/sources/deeplink-extracts/receiver/index-composer.html. - Signatures: `invariant(condition, message)`; `escapeAttribute(value)`; `sha256Hex(bytes)`; `fail(error)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in [data source: gridatlas data; JSON file current.json]; out [web page]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Place Global Search Arrival Identity Excerpt - File: ventus-grid-engine/sources/deeplink-extracts/receiver/place-global-search-arrival-identity.excerpt.js (JavaScript, 207 lines) · role interaction · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/sources/deeplink-extracts/receiver/place-global-search-arrival-identity.excerpt.js#L1-L207 - Page: https://code.globalgrid2050.com/explore-code/s/2021.html#f5 - Synopsis: A JavaScript file in the receiver folder of Ventus Grid Engine that works with supplied arrival fields and still owned, covering the Renewable Energy Planning Database (REPD) register and postcodes. - What it achieves (comment): It binds search (`bindSearch`) and is built from the supplied arrival fields helper (`suppliedArrivalFields`) and the number or null helper (`numberOrNull`). `head_sha` (GridAtlas): (this file's last commit; repo HEAD is, file unchanged since). It responds to input, keydown and click events. - What it does: Defines 7 functions or classes, including suppliedArrivalFields, numberOrNull, textOrNull, receiveExactRepdDeepLink, stillOwned. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: the REPD register, postcodes. - Signatures: `suppliedArrivalFields(params, repdRef)`; `numberOrNull(name)`; `textOrNull(name)`; `receiveExactRepdDeepLink(input, resultsEl, expectedOwnerEpoch = null)`; `stillOwned()`; `retryExactRepdDeepLink(input, resultsEl, ownerEpoch)`; `bindSearch()` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Corridor Estimate - File: ventus-grid-engine/sources/v9-extracts/corridor-estimate.mjs (JavaScript, 82 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/sources/v9-extracts/corridor-estimate.mjs#L1-L82 - Page: https://code.globalgrid2050.com/explore-code/s/2021.html#f6 - Synopsis: A JavaScript module in the sources folder of Ventus Grid Engine covering cables and overhead lines (OHL). It is built from the for cable helper (`forCable`). - What it achieves (comment): Extracted verbatim from `gridatlas/atlas/modules/202609030205-corridor-estimate.js`. - What it does: Defines forCable. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain stage hv_procurement (path word 'estimate'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, overhead lines (OHL). - Signatures: `export forCable(km)` - domain_stage: hv_procurement · commercial_user: EPC_contractor, procurement_buyer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Electrical Distance - File: ventus-grid-engine/sources/v9-extracts/electrical-distance.mjs (JavaScript, 313 lines) · role geodesy · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/sources/v9-extracts/electrical-distance.mjs#L1-L313 - Page: https://code.globalgrid2050.com/explore-code/s/2022.html#f1 - Synopsis: A JavaScript module in the sources folder of Ventus Grid Engine that starts nodes (`startNodes`) (units: kV, MVA), covering transformers. - What it achieves (comment): It starts nodes (`startNodes`) and is built from the crossing step (`crossing`) and the describe step (`describe`). Extracted verbatim from `gridatlas/atlas/modules/202609012245-electrical-distance.js`. Its code works with 100 MVA. - What it does: It lists and searches transformers. Defines 6 functions or classes, including crossing, describe, legality, startNodes, between. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: transformers. - Signatures: `export between(index, fromKey, toKey, options)`; `export within(index, key, options)`; `crossing(graph, nearNode, farNode)`; `describe(graph, entry, nearNode)`; `legality(kind, cross)`; `startNodes(graph, site, voltageKv)` - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of ventus-grid-engine/engine/electrical-distance.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Rating Envelope - File: ventus-grid-engine/sources/v9-extracts/rating-envelope.mjs (JavaScript, 173 lines) · role electrical · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/sources/v9-extracts/rating-envelope.mjs#L1-L173 - Page: https://code.globalgrid2050.com/explore-code/s/2022.html#f2 - Synopsis: A JavaScript module in the sources folder of Ventus Grid Engine. It is built from the seasons of helper (`seasonsOf`) and the flags for helper (`flagsFor`). - What it achieves (comment): Extracted verbatim from `gridatlas/atlas/modules/202609012250-rating-envelope.js`. - What it does: It lists and searches its content. Defines seasonsOf, flagsFor, at. Side effects: changes the web page (DOM). - Signatures: `export at(index, key, options)`; `seasonsOf(row)`; `flagsFor(published)` - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of ventus-grid-engine/engine/rating-envelope.js) · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Sizing Arithmetic - File: ventus-grid-engine/sources/v9-extracts/sizing-arithmetic.mjs (JavaScript, 435 lines) · role render · stage output - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/sources/v9-extracts/sizing-arithmetic.mjs#L1-L435 - Page: https://code.globalgrid2050.com/explore-code/s/2023.html#f1 - Synopsis: A JavaScript module in the sources folder of Ventus Grid Engine that builds stats (`buildStats`) and applies development stage defaults (`applyDevelopmentStageDefaults`) and mounting bifacial (`applyMountingBifacial`) (units: MW, MVA, MWh). - What it achieves (comment): It builds stats (`buildStats`), applies development stage defaults (`applyDevelopmentStageDefaults`) and applies mounting bifacial (`applyMountingBifacial`). Extracted verbatim from `gridatlas/atlas/modules/202609012205-sizing-arithmetic.js`. Its code works with 211.2 MW, 44.8 MW and 50 MW. - What it does: Defines 12 functions or classes, including physicalInputs, buildStats, consistency, stringStats, centralStats. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: Domain terms in the code: transformers, cables. - Downstream impact: Used directly by 2 files: Build Graph (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/); Ventus Grid Engine — Genome Page (ventus-grid-engine, https://ventusltd.github.io/ventus-grid-engine/genome/). Reached from 1 other entry point, including Genome Workflow (ventus-grid-engine). - Signatures: `export physicalInputs(inputs)`; `export buildStats(inputs, o)`; `export consistency(inputs, stats)`; `export stringStats(inputs)`; `export centralStats(inputs)`; `export financeNumber(value)`; `export applyDevelopmentStageDefaults(financeInputs, stageValue)`; `export applyMountingBifacial(financeByMode, mode, gcrValue)`; `export screeningFinance(financeInputs, stats, context)`; `export computeStats(inputs, financeByMode, defaults)`; `export fitToStatedCapacity(sld, computeSldStats)`; `dcMwp(o.module_count * p.mod_wp)`; `inverterAcMaxMva(i.y_invs * i.string_inv_kva)`; `strDcKwp(i.x_mods_c * i.mod_wp_c)`; `values(financeByMode || {})`; `centralInverterAc(stats?.mode || (context && context.fallbackMode))`; `oneMore(() => { sld.inputs[outerKey] = best.outer + 1; const s = computeSldStats(); sld.inputs[outerKey] = best.outer; const ...)` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Verify - File: ventus-grid-engine/verify.mjs (JavaScript, 64 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/ventus-grid-engine/blob/ad566356a44e006682e956483d569f31ddbb9630/verify.mjs#L1-L64 - Page: https://code.globalgrid2050.com/explore-code/s/2023.html#f2 - Synopsis: A JavaScript module in Ventus Grid Engine. - What it achieves (comment): The fail-closed gate. - What it does: It lists and searches its content. Uses libraries node:fs, node:url, node:path, node:child_process. Side effects: reads or writes files; starts processes. - Downstream impact: Used directly by 5 files: Dashboard Review Workflow (ventus-grid-engine); Deeplink Receiver Audit Workflow (ventus-grid-engine); Genome Workflow (ventus-grid-engine); Spider Features Workflow (ventus-grid-engine); and 1 more. - Signatures: `out(run.stdout || '')` - domain_stage: unknown · commercial_user: none · canonical_status: production_core · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 5; mentioned by 0 ### Geometry Audit - File: wire-frame-scanner/audit/geometry_audit.py (Python, 381 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/wire-frame-scanner/blob/43b27be73afab3c2563701b9534bfc30959804ee/audit/geometry_audit.py#L1-L381 - Page: https://code.globalgrid2050.com/explore-code/s/2024.html#f1 - Synopsis: A Python command-line tool in Wire Frame Scanner that reads scanner rows farms, AC trenches and cables, using EPSG:3857 and Web Mercator. - What it achieves (comment): It audits precision (`audit_precision`), exports tables (`export_tables`) and audits tables (`audit_tables`). Geometry CI audit for the Energy Transition Simulator, on the GPU (CuPy) with a NumPy witness. It accepts `--repo` and `--out`. - What it does: It loads scanner rows farms, AC trenches and cables. Defines 12 functions or classes, including to_np, mercator, audit_precision, export_tables, audit_tables. Uses libraries argparse, hashlib, json, math, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: JSON file scanner-rows.farms.json; JSON file audit.json; JSON file ac-trenches-6502.json; command-line arguments. Coordinate systems named: OSGB36 / EPSG:27700 (British National Grid), Web Mercator / EPSG:3857. - Downstream impact: Used directly by 1 file: Geometry Audit Workflow (wire-frame-scanner). - Signatures: `to_np(a)`; `mercator(xp, lon, lat)`; `audit_precision(rows_lonlat, lat0)`; `export_tables(repo)`; `audit_tables(T, cell=0.25)`; `audit_bends(trench)`; `audit_join(lat0, lon0, half_m=2000.0, step_m=1.0)`; `at(err, r)`; `size_for(err, tol)`; `audit_code(repo)`; `report(res, path)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file scanner-rows.farms.json; JSON file audit.json; JSON file ac-trenches-6502.json; command-line arguments]; out []; crs [OSGB36 / EPSG:27700 (British National Grid); Web Mercator / EPSG:3857]; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Next Weekend Spec - File: wire-frame-scanner/docs/next-weekend.spec.mjs (JavaScript, 631 lines) · role test · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/wire-frame-scanner/blob/43b27be73afab3c2563701b9534bfc30959804ee/docs/next-weekend.spec.mjs#L1-L631 - Page: https://code.globalgrid2050.com/explore-code/s/2025.html#f1 - Synopsis: A test in Wire Frame Scanner that checks GlobalGrid2050 — Cable Geometry Page and Energy Transition Simulator — Latest Page using data from the graphics-engines-open-source repository. - What it achieves (comment): It is built from the foundations per m wp helper (`foundationsPerMWp`), the table assembly helper (`tableAssembly`) and the base step (`base`). The construction simulator scope as code. Its code works with 400 kV, 0.760 kW and 10 MVA. - What it does: It tests cables, the REPD register, transformers and substations. Defines 8 functions or classes, including m, foundationsPerMWp, tableAssembly, base, t. Side effects: changes the web page (DOM); starts processes. - Why it exists in the grid workflow: Domain stage upstream_foresight (voltage levels 400kV, 132kV (all 132kV or above)): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: cables, the REPD register, transformers, substations, 400kV, 132kV. - Inputs & outputs: In: command-line arguments. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 400kV, 132kV. - Signatures: `export foundationsPerMWp({ postsPerFrame, modulesUpSlope, faces = 1, modulesAlongPerBay, moduleKW })`; `export tableAssembly(p, groundAt = () => 0)`; `m(value, unit, label, source, extra = {})`; `base(y)`; `t(name, cmd, threshold)`; `f(id, repro, observed, expected)`; `walk(o, p)`; `slope(x, y)` - domain_stage: upstream_foresight · commercial_user: IPP_developer, ICP_grid_engineer · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [command-line arguments]; out []; crs [WGS84 / EPSG:4326]; voltages [400kV, 132kV] - Edges: uses 2 estate files (estate-url 2); used by 0; mentioned by 0 ### Wire Frame Scanner — Scanner - File: wire-frame-scanner/scanner/core.py (Python, 105 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/wire-frame-scanner/blob/43b27be73afab3c2563701b9534bfc30959804ee/scanner/core.py#L1-L105 - Page: https://code.globalgrid2050.com/explore-code/s/2026.html#f1 - Synopsis: A Python module that labels blocks (`label_blocks`) and calculates angles. It is built from the panel mask helper (`panel_mask`), the row normal helper (`row_normal`) and the row pitch helper (`row_pitch`). - What it achieves (comment): Wire Frame Scanner core: measured, deterministic maths that runs on the GPU (CuPy) and the CPU (NumPy) alike. - What it does: It calculates its inputs. Defines 6 functions or classes, including panel_mask, label_blocks, row_normal, row_pitch, row_lines. Uses libraries math. - Why it exists in the grid workflow: README: "scanner/core.py: deterministic rules R1–R4, which run on the GPU (CuPy) or the CPU (NumPy)." - Downstream impact: Used directly by 3 files: Test Fictional Loop (wire-frame-scanner); Test Known Answer (wire-frame-scanner); Test Vlidar Loop (wire-frame-scanner). - Signatures: `panel_mask(xp, rgb)`; `label_blocks(xp, mask, ndimage, min_px=400)`; `row_normal(xp, block)`; `row_pitch(xp, block, theta, mpp)`; `row_lines(xp, block, theta, pitch, phase, lo, min_px=6)`; `refine_normal(xp, block, theta0, mpp, span_deg=8.0, step_deg=0.1)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 3; mentioned by 0 ### Fictional - File: wire-frame-scanner/scanner/fictional.py (Python, 159 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/wire-frame-scanner/blob/43b27be73afab3c2563701b9534bfc30959804ee/scanner/fictional.py#L1-L159 - Page: https://code.globalgrid2050.com/explore-code/s/2026.html#f2 - Synopsis: A Python module in Wire Frame Scanner that works with solar block (`solar_block`) and solar block heights (`solar_block_heights`) and calculates planar distances and angles (units: MW). - What it achieves (comment): It is built from the val step (`val`), the box step (`box`) and the fenced compound helper (`fenced_compound`). Fictional parametric design proposals: deterministic site models built from stated parameters only. - What it does: It calculates its inputs. Defines 9 functions or classes, including val, _dir, box, solar_block, pt. Uses libraries math, numpy. - Downstream impact: Used directly by 2 files: Test Fictional (wire-frame-scanner); Test Fictional Loop (wire-frame-scanner). - Signatures: `val(v, unit)`; `_dir(bearing_deg)`; `box(w, d, h, origin=(0.0, 0.0, 0.0))`; `solar_block(mw, module_w_wp, module_len_m, module_wid_m, modules_per_table, pitch_m, tilt_deg, azimuth_deg, table_rows=2, tables_...)`; `pt(u, v, z)`; `solar_block_heights(model, extent, cell)`; `fenced_compound(w, d, fence_h, post_spacing, origin=(0.0, 0.0))`; `cable_route(start, end, trench_depth_m, trench_width_m)`; `pylon_row(start, bearing, span_m, count, height_m=50.0)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Pylon - File: wire-frame-scanner/scanner/pylon.py (Python, 148 lines) · role transform · stage transform · not reached (candidate for review) - Source: https://github.com/Ventusltd/wire-frame-scanner/blob/43b27be73afab3c2563701b9534bfc30959804ee/scanner/pylon.py#L1-L148 - Page: https://code.globalgrid2050.com/explore-code/s/2026.html#f3 - Synopsis: A Python module in Wire Frame Scanner that works with overhead lines (OHL), using BS EN 50341. - What it achieves (comment): It is built from the half width helper (`half_width`), the leg point helper (`leg_point`) and the panel levels helper (`panel_levels`). Deterministic lattice-pylon wireframe skeleton (procedural fill, not a measurement). Its code works with 1 kV, 132 kV and 400 kV. - What it does: It calculates overhead lines (OHL). Defines 6 functions or classes, including half_width, leg_point, panel_levels, arm_levels, lattice_pylon. - Why it exists in the grid workflow: Domain terms in the code: overhead lines (OHL), 400kV, 132kV, 1kV. - Inputs & outputs: Voltage levels named: 400kV, 132kV, 1kV. - Downstream impact: Used directly by 1 file: Test Pylon (wire-frame-scanner). - Signatures: `half_width(z, d)`; `leg_point(i, z, d)`; `panel_levels(d)`; `arm_levels(d, n)`; `lattice_pylon(voltage_class, bracing='K', n_arms_per_side=3, dims=None)`; `f(v)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [400kV, 132kV, 1kV] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Structures - File: wire-frame-scanner/scanner/structures.py (Python, 122 lines) · role render · stage output - Source: https://github.com/Ventusltd/wire-frame-scanner/blob/43b27be73afab3c2563701b9534bfc30959804ee/scanner/structures.py#L1-L122 - Page: https://code.globalgrid2050.com/explore-code/s/2026.html#f4 - Synopsis: A Python module in Wire Frame Scanner that renders png (`render_png`). - What it achieves (comment): It is built from the pchip slopes helper (`pchip_slopes`), the pchip eval helper (`pchip_eval`) and the ring heights helper (`ring_heights`). Tower skeleton from a few measured pins, rule-shaped between them. - What it does: It lists and searches its content. Defines 6 functions or classes, including pchip_slopes, pchip_eval, ring_heights, line_count, tower_skeleton. Uses libraries math, numpy, matplotlib, matplotlib.pyplot. - Inputs & outputs: Out: figure image. - Downstream impact: Used directly by 1 file: Test Structures (wire-frame-scanner). - Signatures: `pchip_slopes(x, y)`; `pchip_eval(x, y, m, z)`; `ring_heights(total_h, spacing)`; `line_count(n_rings, n_diagrid)`; `tower_skeleton(pins, ring_spacing_m, n_diagrid)`; `render_png(lines, model, path)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [figure image]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Vlidar - File: wire-frame-scanner/scanner/vlidar.py (Python, 60 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/wire-frame-scanner/blob/43b27be73afab3c2563701b9534bfc30959804ee/scanner/vlidar.py#L1-L60 - Page: https://code.globalgrid2050.com/explore-code/s/2026.html#f5 - Synopsis: A Python module in Wire Frame Scanner that works with tables height (`tables_height`). It is built from the survey step (`survey`) and the rasterise step (`rasterise`). - What it achieves (comment): Virtual LiDAR: simulate an airborne laser survey of a wireframe site model, on the GPU (CuPy) or the CPU (NumPy). - What it does: It calculates its inputs. Defines tables_height, survey, rasterise. Uses libraries math, numpy, cupyx. - Downstream impact: Used directly by 2 files: Test Fictional Loop (wire-frame-scanner); Test Vlidar Loop (wire-frame-scanner). - Signatures: `tables_height(xp, x, y, rows_bearing_deg, pitch_m, depth_m, front_m=0.8, back_m=2.4, mask=None)`; `survey(xp, extent_m, ground_fn, object_fn, ppsm=8.0, noise_m=0.05, seed=1)`; `rasterise(xp, x, y, z, extent_m, cell_m=0.5, how='max')` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### All Gates - File: worlds-/src/all_gates.py (Python, 233 lines) · role other · stage unknown · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/all_gates.py#L1-L233 - Page: https://code.globalgrid2050.com/explore-code/s/2027.html#f1 - Synopsis: A Python command-line tool in Worlds. It is built from the run step (`run`) and the cases in helper (`cases_in`). - What it achieves (comment): EVERY GATE, ON THE CARD, IN ONE RUN - and what each one is actually worth. It accepts `--run` and `--budget`. - What it does: Defines run, cases_in, main. Uses libraries argparse, io, json, os, subprocess. Side effects: starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gates'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file all-gates.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `run(cmd, cwd, budget)`; `cases_in(text)`; `main()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file all-gates.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 5 estate files (script-call 5); used by 0; mentioned by 0 ### Annihilate - File: worlds-/src/annihilate.py (Python, 384 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/annihilate.py#L1-L384 - Page: https://code.globalgrid2050.com/explore-code/s/2027.html#f2 - Synopsis: A Python command-line tool in Worlds that converts to strict (`to_c_strict`), using SHA-256. - What it achieves (comment): It is built from the sheets step (`sheets`), the parse step (`parse`) and the to c helper (`to_c`). Every predicate at once. Two channels a case, two photons back. It accepts `--run` and `--watch`. - What it does: It loads data. Defines 7 functions or classes, including sheets, parse, to_c, to_c_strict, namespace. Uses libraries argparse, hashlib, io, json, math. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file annihilate.json; command-line arguments. - Downstream impact: Used directly by 3 files: All Gates (worlds-); Watch Collapse (worlds-); Watch Refused (worlds-). - Signatures: `sheets()`; `parse(sentence)`; `to_c(pred)`; `to_c_strict(pred)`; `namespace(expr, axes)`; `build(specs)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file annihilate.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 3; mentioned by 0 ### Arc Break - File: worlds-/src/arc_break.py (Python, 218 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/arc_break.py#L1-L218 - Page: https://code.globalgrid2050.com/explore-code/s/2028.html#f1 - Synopsis: A Python command-line tool in Worlds. It is built from the bins step (`bins`) and the reference step (`reference`). - What it achieves (comment): Does the arc suppressor survive its own disconnection? Its code works with 3 kV, 2 kV and 15.2 kV. It accepts `--run`. - What it does: It loads data. Defines bins, g, reference, main. Uses libraries argparse, io, json, os, sys. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 15.2kV, 3kV, 2kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 15.2kV, 3kV, 2kV. - Inputs & outputs: In: JSON file arc-break.json; command-line arguments. Voltage levels named: 15.2kV, 3kV, 2kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `bins()`; `g(k)`; `reference(idx)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file arc-break.json; command-line arguments]; out []; crs []; voltages [15.2kV, 3kV, 2kV] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Bifacial Chain - File: worlds-/src/bifacial_chain.py (Python, 424 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/bifacial_chain.py#L1-L424 - Page: https://code.globalgrid2050.com/explore-code/s/2028.html#f2 - Synopsis: A Python command-line tool in Worlds that reads cables. It is built from the bins step (`bins`) and the reference step (`reference`). - What it achieves (comment): Bifaciality is not one axis. It is the same axis three times. It accepts `--run`. - What it does: It loads cables. Defines bins, g, reference, main. Uses libraries argparse, io, json, math, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: cables. - Inputs & outputs: In: JSON file bifacial-chain.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `bins()`; `g(k)`; `reference(idx)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file bifacial-chain.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Furnace - File: worlds-/src/furnace.py (Python, 303 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/furnace.py#L1-L303 - Page: https://code.globalgrid2050.com/explore-code/s/2029.html#f1 - Synopsis: A Python command-line tool in Worlds that uses SHA-256. It is built from the bins step (`bins`) and the reference step (`reference`). - What it achieves (comment): A BILLION-CASE CERTIFICATE, to replace one that could not have caught anything. It accepts `--run` and `--ci`. - What it does: It loads data. Defines bins, g, reference, main. Uses libraries argparse, hashlib, io, json, math. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file furnace.json; command-line arguments. - Downstream impact: Used directly by 1 file: All Gates (worlds-). - Signatures: `bins()`; `g(k)`; `reference(cp, idx, col)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file furnace.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### GB Study - File: worlds-/src/gb_study.py (Python, 190 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/gb_study.py#L1-L190 - Page: https://code.globalgrid2050.com/explore-code/s/2029.html#f2 - Synopsis: A Python command-line tool in Worlds that reads transformers. It is built from the load step (`load`). - What it achieves (comment): This repository is public and an absolute path names a machine and an account. Its code works with 100 MVA. - What it does: It loads transformers. Defines load, main. Uses libraries io, json, os, sys, time. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain terms in the code: transformers. - Inputs & outputs: In: JSON file gb-study.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `load()`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file gb-study.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Geometry - File: worlds-/src/geometry.py (Python, 309 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/geometry.py#L1-L309 - Page: https://code.globalgrid2050.com/explore-code/s/2030.html#f1 - Synopsis: A Python command-line tool in Worlds that uses SHA-256. It is built from the bins step (`bins`). - What it achieves (comment): LOGIC AS GEOMETRY. A rule is not a verdict; it is a shape. It accepts `--run`. - What it does: It loads data. Defines bins, g, main. Uses libraries argparse, hashlib, io, json, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 1500V (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 1500V. - Inputs & outputs: In: JSON file geometry.json; command-line arguments. Voltage levels named: 1500V. - Downstream impact: Used directly by 1 file: All Gates (worlds-). - Signatures: `bins()`; `g(k)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file geometry.json; command-line arguments]; out []; crs []; voltages [1500V] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Harvest Crunch - File: worlds-/src/harvest_crunch.py (Python, 1207 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/harvest_crunch.py#L1-L1207 - Page: https://code.globalgrid2050.com/explore-code/s/2030.html#f2 - Synopsis: A Python command-line tool in Worlds that reads worksheet, using SHA-256. It builds h1 (`build_h1`), builds h2 (`build_h2`) and builds h3 (`build_h3`). - What it achieves (comment): This repository is public and an absolute path names a machine and an account. It accepts `--list`, `--run` and `--ci`. - What it does: It loads worksheet. Defines 37 functions or classes, including refuse, module_bins, g, dot_budget, h1_values. Uses libraries argparse, hashlib, inspect, io, json. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 1500V (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 1500V. - Inputs & outputs: In: JSON file harvest-crunch.json; GeoJSON file worksheet.geojson; command-line arguments. Voltage levels named: 1500V. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `refuse(name, reason)`; `module_bins()`; `g(k)`; `dot_budget()`; `h1_values()`; `build_h1()`; `ref(idx)`; `make(cp)`; `report(c)`; `build_h2()`; `crossings()`; `mispair()`; `build_h3()`; `thresholds()`; `build_h4()`; `sheet_row()`; `translate(fid, maths)`; `to_c(pred)`; `build_translated(fid, feature, where)`; `_vectorise(e)`; `read_worksheets()`; `registry()`; `run_one(cp, spec)`; `describe(specs, stats)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file harvest-crunch.json; GeoJSON file worksheet.geojson; command-line arguments]; out []; crs []; voltages [1500V] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Hundred Billion - File: worlds-/src/hundred_billion.py (Python, 257 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/hundred_billion.py#L1-L257 - Page: https://code.globalgrid2050.com/explore-code/s/2032.html#f2 - Synopsis: A Python command-line tool in Worlds. It is built from the bins step (`bins`) and the reference step (`reference`). - What it achieves (comment): A hundred billion ways to build one 500MW plant. Its code works with 500 MW, 295 kVA and 352 kVA. It accepts `--run`. - What it does: It loads data. Defines bins, g, reference, main. Uses libraries argparse, io, json, os, sys. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file hundred-billion.json; command-line arguments. - Downstream impact: Used directly by 1 file: To Kuiper (worlds-). - Signatures: `bins()`; `g(*names)`; `reference(idx)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: duplicate_candidate (duplicate of worlds-/src/furnace.py) · essay_status: readme_derived - data_contracts: in [JSON file hundred-billion.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Layout Gate - File: worlds-/src/layout_gate.py (Python, 314 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/layout_gate.py#L1-L314 - Page: https://code.globalgrid2050.com/explore-code/s/2032.html#f3 - Synopsis: A Python command-line tool in Worlds. It is built from the reference step (`reference`). - What it achieves (comment): A GATE ON THE LAYOUT: does the workspace ever crowd the dots? It accepts `--run`. - What it does: Defines reference, main. Uses libraries argparse, io, json, math, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file layout-gate.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `reference(idx)`; `main()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file layout-gate.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Logic Loop - File: worlds-/src/logic_loop.py (Python, 404 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/logic_loop.py#L1-L404 - Page: https://code.globalgrid2050.com/explore-code/s/2033.html#f1 - Synopsis: A Python command-line tool in Worlds that loads bins (`load_bins`). It is built from the build step (`build`), the cupy hist helper (`cupy_hist`) and the cupy order helper (`cupy_order`). - What it achieves (comment): Every gate in this estate answers ONE question about ONE predicate. - What it does: It loads data. Defines 7 functions or classes, including load_bins, build, cupy_hist, cupy_order, counts_from_hist. Uses libraries json, os, sys, cupy. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 1500V (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 1500V. - Inputs & outputs: In: JSON file logic-loop.json. Out: JSON file. Voltage levels named: 1500V. - Downstream impact: Used directly by 1 file: All Gates (worlds-). - Signatures: `load_bins()`; `build(nbins)`; `cupy_hist(bins)`; `cupy_order(bins, axis)`; `counts_from_hist(h)`; `pattern_name(c)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file logic-loop.json]; out [JSON file]; crs []; voltages [1500V] - Edges: uses 1 estate file (import 1); used by 1; mentioned by 0 ### Loop Geometry - File: worlds-/src/loop_geometry.py (Python, 166 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/loop_geometry.py#L1-L166 - Page: https://code.globalgrid2050.com/explore-code/s/2033.html#f2 - Synopsis: A Python command-line tool in Worlds covering cables. It is built from the conductor m helper (`conductor_m`) and the inductance h helper (`inductance_h`). - What it achieves (comment): Inductance from geometry, not from a guess. Its code works with 3 kV and 2 kV. It accepts `--run`. - What it does: Defines conductor_m, inductance_h, main. Uses libraries argparse, io, json, math, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 3kV, 2kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: cables, 3kV, 2kV. - Inputs & outputs: In: JSON file loop-geometry.json; command-line arguments. Voltage levels named: 3kV, 2kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `conductor_m(routing, n, pitch, home)`; `inductance_h(d, r, length)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file loop-geometry.json; command-line arguments]; out []; crs []; voltages [3kV, 2kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Paths - File: worlds-/src/paths.py (Python, 69 lines) · role transform · stage transform - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/paths.py#L1-L69 - Page: https://code.globalgrid2050.com/explore-code/s/2033.html#f3 - Synopsis: A Python module in Worlds that works with require any (`require_any`). It is built from the require step (`require`). - What it achieves (comment): Where the data lives, without saying where the data lives. - What it does: It calculates its inputs. Defines require, require_any. Uses libraries os. - Inputs & outputs: In: JSON file MODULES.json. - Downstream impact: Used directly by 14 files: Substation (worlds-); Atlas Lattice (worlds-); Check No Private Paths (worlds-); Annihilate (worlds-); and 10 more. Reached from 6 other entry points, including Weekly Gates Workflow (worlds-); All Gates (worlds-); To Kuiper (worlds-). - Signatures: `require(path, what)`; `require_any(paths, what)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file MODULES.json]; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 14; mentioned by 0 ### Plant500 - File: worlds-/src/plant500.py (Python, 245 lines) · role ingest · stage unknown · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/plant500.py#L1-L245 - Page: https://code.globalgrid2050.com/explore-code/s/2034.html#f1 - Synopsis: A Python command-line tool in Worlds. It is built from the decode step (`decode`), the plant step (`plant`) and the reference step (`reference`). - What it achieves (comment): A 500MW DC plant, anonymised, with the module rating as a swept axis. Its code works with 500 MW, 0.8 kV and 33 kV. It accepts `--run`. - What it does: Defines decode, plant, reference, main. Uses libraries argparse, io, json, os, sys. Side effects: starts processes. - Why it exists in the grid workflow: Domain terms in the code: 400kV, 33kV, 0.8kV. - Inputs & outputs: In: JSON file plant500.json; command-line arguments. Voltage levels named: 400kV, 33kV, 0.8kV. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `decode(i)`; `plant(ci, wi, ti, si, ni, ii)`; `reference(idx)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file plant500.json; command-line arguments]; out []; crs []; voltages [400kV, 33kV, 0.8kV] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Provenance Gate - File: worlds-/src/provenance_gate.py (Python, 498 lines) · role storage · stage output · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/provenance_gate.py#L1-L498 - Page: https://code.globalgrid2050.com/explore-code/s/2034.html#f2 - Synopsis: A Python command-line tool in Worlds that loads evidence (`load_evidence`) and absent numbers (`load_absent_numbers`) and scans python (`scan_python`). - What it achieves (comment): It is built from the walk step (`walk`), the lookup step (`lookup`) and the classify step (`classify`). The gate that asks WHERE A NUMBER CAME FROM. - What it does: It loads data. Defines 11 functions or classes, including load_evidence, walk, load_absent_numbers, lookup, classify. Uses libraries __future__, ast, json, os, re. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. - Inputs & outputs: In: JSON file MODULES.json; JSON file provenance.json. Out: JSON file. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `load_evidence()`; `walk(node, path)`; `load_absent_numbers()`; `lookup(value, table)`; `classify(value, is_limit, ev, runtime_read, note)`; `const_value(node)`; `scan_python(ev, findings)`; `scan_json(ev, findings)`; `scan_markdown(ev, findings)`; `main()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: supporting_data · essay_status: readme_derived - data_contracts: in [JSON file MODULES.json; JSON file provenance.json]; out [JSON file]; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Thread Truth - File: worlds-/src/thread_truth.py (Python, 719 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/thread_truth.py#L1-L719 - Page: https://code.globalgrid2050.com/explore-code/s/2035.html#f2 - Synopsis: A Python command-line tool in Worlds that derives card (`derive_on_card`) and host (`derive_on_host`) and rates table (`rate_table`) (units: kV), using SHA-256. - What it achieves (comment): It records text (`record_text`) and is built from the numbers in helper (`numbers_in`) and the said step (`said`). This repository is public and an absolute path names a machine and an account. It accepts `--run`. - What it does: Defines 16 functions or classes, including numbers_in, _block_text, record_text, said, artefacts. Uses libraries argparse, hashlib, io, json, os. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file thread-truth.json; command-line arguments. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `numbers_in(text)`; `_block_text(c)`; `record_text(msg)`; `said()`; `artefacts()`; `near_pool(v, pos, rec, have)`; `derive_on_card(cp, vals, pools)`; `derive_on_host(vals, pools)`; `band(v)`; `rate_table(vals, absorbed, kinds)`; `pct(hit, n)`; `band_verdict(row)`; `print_table(title, rows, note)`; `informative(rows)`; `main()`; `table_json(rows)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file thread-truth.json; command-line arguments]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Verdict Gate - File: worlds-/src/verdict_gate.py (Python, 673 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/verdict_gate.py#L1-L673 - Page: https://code.globalgrid2050.com/explore-code/s/2036.html#f2 - Synopsis: A Python command-line tool in Worlds that marks specimens (`mark_specimens`). It is built from the tokens step (`tokens`), the polarity step (`polarity`) and the is limit helper (`is_limit`). - What it achieves (comment): A GATE ON THIS REPOSITORY'S VERDICTS - not on IEEE arithmetic. It accepts `--run`, `--ci` and `--self-test`. - What it does: It lists and searches its content. Defines 26 functions or classes, including tokens, polarity, is_limit, is_pure, bearing_limit. Uses libraries argparse, ast, io, json, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage field_execution (path word 'gate'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work. Domain terms in the code: 1500V. - Inputs & outputs: In: JSON file verdict-gate.json; command-line arguments. Voltage levels named: 1500V. - Downstream impact: Used directly by 2 files: Weekly Gates Workflow (worlds-); All Gates (worlds-). - Signatures: `tokens(name)`; `polarity(name)`; `is_limit(node)`; `is_pure(n)`; `bearing_limit(cmp_node)`; `widest_pure(cmp_node, parents)`; `class Feed`; `__init__(self, probe)`; `visit_UnaryOp(self, node)`; `visit_BinOp(self, node)`; `visit_Compare(self, node)`; `feed(expr_node, probe_name)`; `finding(path_label, line, name, pol, expr_node, origin)`; `module_constants(mod)`; `from_python(path_label, text)`; `c_to_python(expr)`; `from_embedded(path_label, text)`; `mark_specimens(findings)`; `scan(root)`; `defects(findings)`; `verdict(v, i)`; `self_test(verbose=True)`; `arithmetic()`; `show(findings, skipped, files, root_label)`; `main()` - domain_stage: field_execution · commercial_user: EPC_contractor, landowner_planner · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file verdict-gate.json; command-line arguments]; out []; crs []; voltages [1500V] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Watch Breakpoint - File: worlds-/src/watch_breakpoint.py (Python, 267 lines) · role storage · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/watch_breakpoint.py#L1-L267 - Page: https://code.globalgrid2050.com/explore-code/s/2037.html#f2 - Synopsis: A Python module in Worlds that works with biggest steps (`biggest_steps`). It is built from the diam step (`diam`), the agree step (`agree`) and the profile step (`profile`). - What it achieves (comment): This repository is public and an absolute path names a machine and an account. - What it does: It loads data. Defines 6 functions or classes, including _diam_array, _diam_kernel, diam, agree, profile. Uses libraries json, os, cupy. Side effects: reads or writes files. - Inputs & outputs: Out: JSON file. - Signatures: `_diam_array(w, cd, brk)`; `_diam_kernel(w, cd, brk)`; `diam(w, cd, brk)`; `agree(x, y, tag)`; `profile(brk)`; `biggest_steps(prof)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out [JSON file]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Watch Collapse - File: worlds-/src/watch_collapse.py (Python, 379 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/watch_collapse.py#L1-L379 - Page: https://code.globalgrid2050.com/explore-code/s/2037.html#f3 - Synopsis: A Python command-line tool in Worlds that converts to py strict (`to_py_strict`), using SHA-256. - What it achieves (comment): It is built from the build step (`build`), the decode step (`decode`) and the on the line helper (`on_the_line`). Not how many pairs parted - WHICH ones. - What it does: It loads data. Defines build, to_py_strict, decode, on_the_line, main. Uses libraries ast, hashlib, io, json, math. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file collapse.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `build(specs)`; `to_py_strict(pred)`; `decode(spec, r)`; `on_the_line(pred, vals)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file collapse.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Watch Refused - File: worlds-/src/watch_refused.py (Python, 446 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/watch_refused.py#L1-L446 - Page: https://code.globalgrid2050.com/explore-code/s/2038.html#f1 - Synopsis: A Python command-line tool in Worlds that works with axes stated (`axes_stated`) and cpu count (`cpu_count`), using SHA-256. - What it achieves (comment): It is built from the forgive step (`forgive`), the predicate of helper (`predicate_of`) and the strays step (`strays`). An instrument for the sentences the grid refused. - What it does: It loads data. Defines 10 functions or classes, including forgive, axes_stated, predicate_of, strays, classify. Uses libraries collections, hashlib, io, json, os. Side effects: reads or writes files; starts processes. - Inputs & outputs: In: JSON file refused.json. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `forgive(text)`; `axes_stated(text)`; `predicate_of(text)`; `strays(pred, axis_names)`; `classify(text)`; `template(entry_id, text, cat, ax, bad)`; `geometry(entry_id, ax)`; `cpu_count(spec)`; `gpu_count(spec)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file refused.json]; out []; crs []; voltages [] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Watch Ulp - File: worlds-/src/watch_ulp.py (Python, 441 lines) · role other · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/watch_ulp.py#L1-L441 - Page: https://code.globalgrid2050.com/explore-code/s/2039.html#f1 - Synopsis: A Python command-line tool in Worlds covering substations, using IEEE 754. - What it achieves (comment): It is built from the cpu pass a helper (`cpu_pass_a`), the cpu case helper (`cpu_case`) and the p miss binomial helper (`p_miss_binomial`). THE PHOTON THAT DID NOT RETURN - how much is a "0 differ" certificate worth? It accepts `--run`. - What it does: Defines 6 functions or classes, including cpu_pass_a, cpu_case, p_miss_binomial, p_miss_hypergeom, p_miss_decimal. Uses libraries argparse, io, json, math, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 1500V (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: substations, 1500V. - Inputs & outputs: In: JSON file ulp.json; command-line arguments. Voltage levels named: 1500V. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `cpu_pass_a()`; `cpu_case(i)`; `p_miss_binomial(f, n)`; `p_miss_hypergeom(k, m, n)`; `p_miss_decimal(k, m, n)`; `main()` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file ulp.json; command-line arguments]; out []; crs []; voltages [1500V] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Worked Examples - File: worlds-/src/worked_examples.py (Python, 382 lines) · role ingest · stage ingest · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/worked_examples.py#L1-L382 - Page: https://code.globalgrid2050.com/explore-code/s/2040.html#f1 - Synopsis: A Python command-line tool in Worlds that finds the worked examples worth showing, by enumerating where the answer TURNS. - What it achieves (name): It is built from the temp of helper (`temp_of`), the fresh step (`fresh`) and the launch step (`launch`). Defines `bins`, `reference`, `rear_of` and 4 more. It accepts `--run`. - What it does: It loads data. Defines 9 functions or classes, including bins, g, reference, rear_of, temp_of. Uses libraries argparse, io, json, math, os. Side effects: reads or writes files; starts processes. - Why it exists in the grid workflow: Domain stage sub33kv_design (voltage levels 1500V (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: 1500V. - Inputs & outputs: In: JSON file worked-examples.json; command-line arguments. Voltage levels named: 1500V. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `bins()`; `g(k)`; `reference(idx)`; `rear_of(i)`; `temp_of(i)`; `main()`; `fresh()`; `launch(base, count, arrs)`; `sharpness(r)` - domain_stage: sub33kv_design · commercial_user: EPC_contractor, ICP_grid_engineer · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [JSON file worked-examples.json; command-line arguments]; out []; crs []; voltages [1500V] - Edges: uses 1 estate file (import 1); used by 0; mentioned by 0 ### Worlds - File: worlds-/src/worlds.py (Python, 261 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/worlds-/blob/83817c34790800d4af5057629121d83d0d67a332/src/worlds.py#L1-L261 - Page: https://code.globalgrid2050.com/explore-code/s/2040.html#f2 - Synopsis: A Python command-line tool. It is built from the tables step (`tables`), the reference step (`reference`) and the page step (`page`). - What it achieves (comment): The same points, rearranged, on the card. - What it does: It draws its content. Defines tables, reference, page, main. Uses libraries io, os, sys, time, numpy. Side effects: changes the web page (DOM); starts processes. - Inputs & outputs: In: form fields (user input). Out: canvas drawing. - Downstream impact: It is itself an entry point (Python CLI); no other file was found loading it. - Signatures: `tables(xp)`; `reference(n)`; `page(code, gx, gy, px, py, path)`; `main()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [canvas drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Youengineer Code Review — Index Page - File: youengineer-code-review/index.html (HTML, 161 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/index.html#L1-L161 - Page: https://code.globalgrid2050.com/explore-code/s/2041.html#f1 - Published at: https://ventusltd.github.io/youengineer-code-review/ - Synopsis: A web page that reads inputs for myth and myth group. Published at https://ventusltd.github.io/youengineer-code-review/. - What it achieves (comment): Medusa's Time Temple. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "Download or clone the repo, then open `index.html` or `civilisation-atlas-v8/index.html` in a browser." - Inputs & outputs: In: form fields (user input). Out: web page. - Downstream impact: Used directly by 1 file: Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [form fields (user input)]; out [web page]; crs []; voltages [] - Edges: uses 7 estate files (script-src 3, stylesheet 2, link 2); used by 1; mentioned by 0 ### Myth Reader - File: youengineer-code-review/myth-reader.js (JavaScript, 168 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/myth-reader.js#L1-L168 - Page: https://code.globalgrid2050.com/explore-code/s/2041.html#f2 - Published at: https://ventusltd.github.io/youengineer-code-review/ - Synopsis: A JavaScript file in Youengineer Code Review that gets searchable (`getSearchableText`) and filtered myths (`getFilteredMyths`) and renders empty (`renderEmptyState`). Served with the page at https://ventusltd.github.io/youengineer-code-review/. - What it achieves (name): It normalises text (`normaliseText`), gets searchable text (`getSearchableText`) and gets filtered myths (`getFilteredMyths`). Defines `normaliseText`, `getSearchableText`, `getFilteredMyths` and 6 more. It responds to change, input and click events. - What it does: It draws its content. Defines 9 functions or classes, including normaliseText, getSearchableText, getFilteredMyths, populateGroupSelect, populateMythSelect. Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Youengineer Code Review — Index Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/). Reached from 1 other entry point, including Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/. - Signatures: `normaliseText(value)`; `getSearchableText(myth)`; `getFilteredMyths()`; `populateGroupSelect()`; `populateMythSelect(preferredId)`; `renderEmptyState()`; `renderMyth(myth)`; `selectRandomMyth()`; `initialiseMythLibrary()` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Myths - File: youengineer-code-review/myths.css (CSS, 195 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/myths.css#L1-L195 - Page: https://code.globalgrid2050.com/explore-code/s/2041.html#f3 - Published at: https://ventusltd.github.io/youengineer-code-review/ - Synopsis: A style sheet in Youengineer Code Review. Served with the page at https://ventusltd.github.io/youengineer-code-review/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Youengineer Code Review — Index Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/). Reached from 1 other entry point, including Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Myths - File: youengineer-code-review/myths.js (JavaScript, 90 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/myths.js#L1-L90 - Page: https://code.globalgrid2050.com/explore-code/s/2041.html#f4 - Published at: https://ventusltd.github.io/youengineer-code-review/ - Synopsis: A JavaScript file in Youengineer Code Review. Served with the page at https://ventusltd.github.io/youengineer-code-review/. - What it does: It lists and searches its content. Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Youengineer Code Review — Index Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/). Reached from 1 other entry point, including Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Youengineer Code Review — Script - File: youengineer-code-review/script.js (JavaScript, 114 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/script.js#L1-L114 - Page: https://code.globalgrid2050.com/explore-code/s/2042.html#f1 - Published at: https://ventusltd.github.io/youengineer-code-review/ - Synopsis: A JavaScript file that updates clock (`updateClock`) and renders calendar (`renderCalendar`). Served with the page at https://ventusltd.github.io/youengineer-code-review/. It updates clock (`updateClock`) and renders calendar (`renderCalendar`). - What it achieves (name): Defines `updateClock` and `renderCalendar`. It responds to click events. - What it does: It draws its content. Defines updateClock, renderCalendar. Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Youengineer Code Review — Index Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/). Reached from 1 other entry point, including Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/. - Signatures: `updateClock()`; `hourDegrees(hours % 12)`; `renderCalendar()`; `emptyDaysBeforeMonth(firstDayOfMonth.getDay() + 6)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Youengineer Code Review — Styles Style Sheet - File: youengineer-code-review/styles.css (CSS, 415 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/styles.css#L1-L415 - Page: https://code.globalgrid2050.com/explore-code/s/2042.html#f2 - Published at: https://ventusltd.github.io/youengineer-code-review/ - Synopsis: A style sheet. Served with the page at https://ventusltd.github.io/youengineer-code-review/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 2 files: Youengineer Code Review — Index Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/); Youengineer Code Review — World Cup Knockout V5 Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/world-cup-knockout-v5/). Reached from 1 other entry point, including Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 2; mentioned by 0 ### Youengineer Code Review — World Cup Knockout V5 Page - File: youengineer-code-review/world-cup-knockout-v5/index.html (HTML, 37 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/world-cup-knockout-v5/index.html#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/2042.html#f3 - Published at: https://ventusltd.github.io/youengineer-code-review/world-cup-knockout-v5/ - Synopsis: A web page. Published at https://ventusltd.github.io/youengineer-code-review/world-cup-knockout-v5/. - What it achieves (readme): The README says: Download or clone the repo, then open `index.html` or `civilisation-atlas-v8/index.html` in a browser. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "Download or clone the repo, then open `index.html` or `civilisation-atlas-v8/index.html` in a browser." - Inputs & outputs: Out: web page. - Downstream impact: It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/world-cup-knockout-v5/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 0; mentioned by 0 ### Script Grid - File: youengineer-code-review/world-cup-knockout-v5/script-grid.js (JavaScript, 93 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/world-cup-knockout-v5/script-grid.js#L1-L93 - Page: https://code.globalgrid2050.com/explore-code/s/2042.html#f4 - Published at: https://ventusltd.github.io/youengineer-code-review/world-cup-knockout-v5/ - Synopsis: A JavaScript file in Youengineer Code Review that cleans invalid picks (`cleanInvalidPicks`), sets focus (`setFocus`) and draws SVG graphics. Served with the page at https://ventusltd.github.io/youengineer-code-review/world-cup-knockout-v5/. - What it achieves (name): It cleans invalid picks (`cleanInvalidPicks`) and sets focus (`setFocus`). Defines `load`, `save`, `esc` and 19 more. It responds to fullscreenchange, scroll and resize events. - What it does: It draws its content. Defines 24 functions or classes, including m, load, save, esc, team. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: browser storage (getItem). Out: browser storage (setItem); SVG drawing. - Downstream impact: Used directly by 1 file: Youengineer Code Review — World Cup Knockout V5 Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/world-cup-knockout-v5/). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/world-cup-knockout-v5/. - Signatures: `m(home,away,date,status,score,winner,events=[],note=null,source="r32",confidence=0.82)`; `load()`; `save()`; `esc(v)`; `team(k)`; `resultFor(r,i)`; `winner(r,i)`; `entrants(r,i)`; `clearAfter(r)`; `officialCount()`; `activePickCount()`; `cleanInvalidPicks()`; `pick(r,i,t)`; `css(n,f)`; `geometry()`; `a(label,href)`; `tools(t)`; `flag(t)`; `eventMinute(e)`; `eventType(e)`; `eventText(e)`; `eventBlock(result,teamId)`; `sourceBlock(result)`; `teamRow(r,i,t,sel,score,result)`; `card(r,i)` (and 5 more) - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [browser storage (getItem)]; out [browser storage (setItem); SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Flags - File: youengineer-code-review/world-cup-knockout/flags.css (CSS, 29 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/world-cup-knockout/flags.css#L1-L29 - Page: https://code.globalgrid2050.com/explore-code/s/2042.html#f5 - Published at: https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/ - Synopsis: A style sheet in the world cup knockout folder of Youengineer Code Review. Served with the page at https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/. - What it does: Side effects: changes the web page (DOM). - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Youengineer Code Review — World Cup Knockout Page - File: youengineer-code-review/world-cup-knockout/index.html (HTML, 37 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/world-cup-knockout/index.html#L1-L37 - Page: https://code.globalgrid2050.com/explore-code/s/2043.html#f1 - Published at: https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/ - Synopsis: A web page. Published at https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/. - What it achieves (readme): The README says: Download or clone the repo, then open `index.html` or `civilisation-atlas-v8/index.html` in a browser. - What it does: It draws its content. Side effects: changes the web page (DOM). - Why it exists in the grid workflow: README: "Download or clone the repo, then open `index.html` or `civilisation-atlas-v8/index.html` in a browser." - Inputs & outputs: Out: web page. - Downstream impact: Used directly by 1 file: Youengineer Code Review — Index Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/). Reached from 1 other entry point, including Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out [web page]; crs []; voltages [] - Edges: uses 2 estate files (stylesheet 1, script-src 1); used by 1; mentioned by 0 ### Script Grid - File: youengineer-code-review/world-cup-knockout/script-grid.js (JavaScript, 35 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/world-cup-knockout/script-grid.js#L1-L35 - Page: https://code.globalgrid2050.com/explore-code/s/2043.html#f2 - Published at: https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/ - Synopsis: A JavaScript file in the world cup knockout folder of Youengineer Code Review that sets focus (`setFocus`) and draws SVG graphics. Served with the page at https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/. - What it achieves (name): It sets focus (`setFocus`) and is built from the clear after helper (`clearAfter`) and the pick step (`pick`). Defines `key`, `team`, `entrants` and 7 more. It responds to fullscreenchange, scroll and resize events. - What it does: It draws its content. Defines 11 functions or classes, including key, team, entrants, clearAfter, pick. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Inputs & outputs: In: browser storage (getItem). Out: browser storage (setItem); SVG drawing. - Downstream impact: Used directly by 1 file: Youengineer Code Review — World Cup Knockout Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/). Reached from 2 other entry points, including Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html); Youengineer Code Review — Index Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/. - Signatures: `key(k)`; `team(k)`; `entrants(r,i)`; `clearAfter(r)`; `pick(r,i,t)`; `css(n,f)`; `geometry()`; `a(label,href)`; `tools(t)`; `flag(t)`; `teamRow(r,i,t,sel,score)`; `card(r,i)`; `lines(br,g)`; `render()`; `nav()`; `scrollRound(id)`; `setFocus(v)` - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in [browser storage (getItem)]; out [browser storage (setItem); SVG drawing]; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0 ### Youengineer Code Review — World Cup Knockout - File: youengineer-code-review/world-cup-knockout/script.js (JavaScript, 291 lines) · role render · stage output · not reached (candidate for review) - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/world-cup-knockout/script.js#L1-L291 - Page: https://code.globalgrid2050.com/explore-code/s/2043.html#f3 - Published at: https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/ - Synopsis: A JavaScript file that loads picks (`loadPicks`), saves picks (`savePicks`) and gets official winner (`getOfficialWinnerKey`). Served with the page at https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/. - What it achieves (readme): It matches id (`matchId`), loads picks (`loadPicks`) and saves picks (`savePicks`). The README says: Update `script.js` when official fixtures, teams and match times are required. It responds to click, fullscreenchange and scroll events. - What it does: It draws its content. Defines 18 functions or classes, including matchId, teamKey, loadPicks, savePicks, teamFromKey. Side effects: changes the web page (DOM); uses storage (browser storage, DuckDB or Parquet). - Why it exists in the grid workflow: README: "Update `script.js` when official fixtures, teams and match times are required." - Inputs & outputs: In: browser storage (getItem). Out: browser storage (setItem). - Signatures: `matchId(roundIndex, matchIndex)`; `teamKey(team)`; `loadPicks()`; `savePicks()`; `teamFromKey(key)`; `getOfficialWinnerKey(roundIndex, matchIndex)`; `getWinnerKey(roundIndex, matchIndex)`; `getTeamsForMatch(roundIndex, matchIndex)`; `pruneAfter(roundIndex)`; `selectWinner(roundIndex, matchIndex, team)`; `makeLink(label, href)`; `renderTeamTools(team)`; `renderTeamButton(roundIndex, matchIndex, team, selectedKey, score)`; `renderMatch(roundIndex, matchIndex)`; `render()`; `updateNavState()`; `scrollToRound(roundId)`; `setFocusMode(active)` - domain_stage: unknown · commercial_user: none · canonical_status: unreached_review · essay_status: readme_derived - data_contracts: in [browser storage (getItem)]; out [browser storage (setItem)]; crs []; voltages [] - Edges: uses 0 estate files; used by 0; mentioned by 0 ### Youengineer Code Review — World Cup Knockout Style Sheet - File: youengineer-code-review/world-cup-knockout/styles.css (CSS, 362 lines) · role render · stage output · entry point - Source: https://github.com/Ventusltd/youengineer-code-review/blob/929a6d4a955524122e4fd18bd3c85ceaf1a86c56/world-cup-knockout/styles.css#L1-L362 - Page: https://code.globalgrid2050.com/explore-code/s/2044.html#f1 - Published at: https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/ - Synopsis: A style sheet. Served with the page at https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/. - What it does: Side effects: changes the web page (DOM). - Downstream impact: Used directly by 1 file: Youengineer Code Review — World Cup Knockout Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/). Reached from 2 other entry points, including Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html); Youengineer Code Review — Index Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/. - domain_stage: unknown · commercial_user: none · canonical_status: unknown · essay_status: readme_derived - data_contracts: in []; out []; crs []; voltages [] - Edges: uses 0 estate files; used by 1; mentioned by 0